Galton Board and Binomial Distribution

Galton Board and Binomial Distribution
Loading the math board and drawing, please wait…
2012-05-31 12:49
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

  1. Sequence(RandomUniform[0, 1], i, 1, n) → L1
  2. Sequence(If[Element[L1, i] < p, 1, -1], i, 1, n) → L2
  3. Append(0, Sequence[Sum[Sequence[Element[L2, i], i, 1, k]], k, 1, n]) → L3
  4. Sequence(Text[k, (2 * k, -0.3), true], k, 0, n) → Liste1
  5. Text("1", (n - 0.65, n - 0.5)) → T1
  6. Text("0", (n + 0.65, n - 0.5)) → T2
  7. BarChart(-1, 2 * n + 1, Sequence[10 * Binomial[n, k] * p^(k) * (1 - p)^(n - k), k, 0, n]) → a
  8. Sequence(Sequence[(2 * i + j, j + 3), i, 0, n - j], j, 0, n) → L5
  9. Sequence(PolyLine[(n + Element[L3, i], n - i + 1 + 3), (n + Element[L3, i + 1], n - i + 3)], i, 1, n) → L4