Galton Board and Binomial Distribution
Loading the math board and drawing, please wait…
In collections
Statistics and Probability with Mr Downes
This example demonstrates the Galton board experiment, showing the probability distribution of the binomial distribution. Key mathematical concepts include binomial distribution and probability & statistics. Using GeoGebra commands such as Sequence, Append, Text, and BarChart, users can dynamically adjust parameters to observe changes in the binomial distribution.
GeoGebra Commands & Parameters
Sequence(RandomUniform[0, 1], i, 1, n) → L1Sequence(If[Element[L1, i] < p, 1, -1], i, 1, n) → L2Append(0, Sequence[Sum[Sequence[Element[L2, i], i, 1, k]], k, 1, n]) → L3Sequence(Text[k, (2 * k, -0.3), true], k, 0, n) → Liste1Text("1", (n - 0.65, n - 0.5)) → T1Text("0", (n + 0.65, n - 0.5)) → T2BarChart(-1, 2 * n + 1, Sequence[10 * Binomial[n, k] * p^(k) * (1 - p)^(n - k), k, 0, n]) → aSequence(Sequence[(2 * i + j, j + 3), i, 0, n - j], j, 0, n) → L5Sequence(PolyLine[(n + Element[L3, i], n - i + 1 + 3), (n + Element[L3, i + 1], n - i + 3)], i, 1, n) → L4