Walk graph Distribution graph

Description

The experiment is to run the simple, symmetric random walk for \(n\) steps. The random variable of interest is the maximum position \( M \). The random walk is shown in red in the left graph on each update. A red dot is shown at \((0, M)\). The value of \( M \) is recorded in the data table on each run. The probability density function and moments of \( M \) is shown in blue in the distribution graph and are recorded in the distribution table. On each run, the empirical density function and moments are shown in red in the distribution graph and are recorded in the distribution table. The parameter \(n\) can be varied with the input control.