Question on hw1 #10
Replies: 8 comments 11 replies
|
My bad, I think I should probably modify that to say "durations." try running those cells as is and it should calculate those statistics; here's the abridged code that does it |
|
Okay cool, thank you! |
|
During the avalanche portion, how can one grain go into each of the nearest eight sandpiles if the toppling sandpile has only four grains? It seems like we'd either end up spontaneous creating more grains than we started with or there wouldn't be enough grains to go to around. Is the avalanche only supposed to go into the four corner adjacent cells or maybe the four side adjacent cells? |
|
0 and 1 are flipped in percolation |
|
The last question on the percolation problem suggests we watch videos of the simulation on the class website but I can't seem to locate them. Could you point out where the videos are? |
|
In the second part of the Percolation problem, when it asks "how the probability of percolation changes as a function of N?", is it referring to the plot that we created of the probability of percolation changes vs the fraction of open sites p? Or do we need to create a separate plot analyzing the probability as a function of the lattice size too? |
|
I had this question about the vectorized implementation of Abelian sandpile. |

Uh oh!
There was an error while loading. Please reload this page.
I mentioned after class that I'm confused about a part of the Abelian sandpile question, specifically:
I think I don't understand what we mean by waiting time. My initial understanding was that we wanted to look at how many steps went by between avalanches (so if we had an avalanche at step j and another at step k, we'd look at the difference of those two as the waiting time), but when I did this those waiting times just appeared random. Am I misunderstanding what I'm supposed to look at here? I see now that your code includes arrays with avalanche times, sizes, and durations, was the plan to do something with these?
All reactions