This week I watch an interesting live coding video from Stephen Wolfram:
Right at the beginning of this video Wolfram shows how to use some simple Mathematica commands to make a simple model of how a virus spreads through a network. I thought it would be fun to share this idea with the boys for several common networks.
I introduced the idea on a 2d grid:
Then we moved to a 3d grid:
Then we moved to a type of network called a Delaunay triangulation:
Now we moved away from these relatively simple graph networks and looked at a completely random one:
With these examples out of the way, we moved to two types of networks that more more commonly used to model a network of human interactions. The first was a Watts-Strogatz network:
Finally we looked at a
This was a really fun project and I was really excited to hear how the boys thought about the different types of networks. The math to properly describe what’s going on in these networks is over my head but I am really happy that Mathematica makes it so easy to explore.
Finally, the idea for looking at these 6 different graphs comes from Christopher Wolfram’s fantastic agent based modeling example. In that program he dives into these different networks much more deeply than we do here – this program is definitely worth checking out if you’ve not see it already: