{{Percolation Simulation}}
Given an rectangular array of cells numbered assume is horizontal and is downwards.
Assume that the probability of any cell being filled is a constant where
:
;The task:
Simulate creating the array of cells with probability and then
testing if there is a route through adjacent filled cells from any on row to any on row , i.e. testing for site percolation.
Given repeat the percolation times to estimate the proportion of times that the fluid can percolate to the bottom for any given .
Show how the probability of percolating through the random grid changes with going from to in increments and with the number of repetitions to estimate the fraction at any given as .
Use an grid of cells for all cases.
Optionally depict a percolation through a cell grid graphically.
Show all output on this page.