Galton Board Probability Distribution Simulation

Galton Board Probability Distribution Simulation
Loading the math board and drawing, please wait…
2014-11-13 19:12
In collections S5 Normal Distribution
This GeoGebra applet simulates the classic Galton Board (quincunx) experiment, demonstrating how balls falling through a triangular array of pegs distribute into bins at the bottom. As the number of balls increases, the frequency distribution across bins converges to a normal distribution, illustrating the binomial distribution's approximation to the normal curve. Users can adjust parameters such as the number of balls released, the probability of deflection at each peg, the number of rows of pegs, and the simulation speed using interactive sliders. The animation shows each ball bouncing through the peg array and landing in one of the slots at the bottom, with a real-time histogram tracking the accumulated distribution. The applet also overlays the theoretical normal curve to allow direct visual comparison between the empirical frequency distribution and the expected theoretical model. Through this interactive visualization, students gain an intuitive understanding of the Central Limit Theorem, as the aggregation of many independent binary deflection events produces a bell-shaped distribution regardless of the underlying Bernoulli process. The adjustable probability parameter further allows learners to explore how asymmetry in deflection probabilities affects the shape and center of the resulting distribution, reinforcing the connection between the binomial distribution and its normal approximation. This hands-on exploration helps students internalize core probability and statistics concepts including random variation, distribution convergence, parameter effects, and the foundational role of the Galton Board as a physical manifestation of statistical laws.

GeoGebra Commands & Parameters

  1. Sequence(Sequence[Random[0, 1] - 0.5, i, 1, taille - 1], j, 1, max) → M
  2. Sequence(Sum[Element[M, nbres], i], i, 1, taille - 1) → pomak_x
  3. Sequence((Element[pomak_x, i], p - i), i, 1, taille - 1) → putanja
  4. Sequence(Sum[Element[M, i]], i, 1, max) → ishodi
  5. Sequence(CountIf[x ≟ i, Take[ishodi, 1, nbres]], i, ((-taille)) / 2 + 0.5, taille / 2 - 0.5) → frekvencije
  6. Sequence(i, i, ((-taille)) / 2 + 0.5, taille / 2 - 0.5) → pretinci
  7. Sequence(Text[Element[frekvencije, k], (k - taille / 2 + 0.5 - 1.1, (-1 * 1.5))], k, 1, taille + 1) → txtrez
  8. Sequence(Segment[(i, 0), (i, p - taille)], i, ((-taille)) / 2, taille / 2) → pregrade
  9. Sequence(Sequence[(i, j), i, (j - p) / 2 - 0.5, 1 + (p - j) / 2], j, p - taille + 1, p) → č
  10. BarChart(pretinci, (40 / max * frekvencije), 0.8) → dijagram
  11. Sequence(((Binomial[taille - 1, i] * 0.5^(taille - 1)) * nbres), i, 0, taille - 1) → tfrek
  12. BarChart(pretinci, (40 / max * tfrek)) → tdijagram
  13. Sequence(Text[Element[tfrek, k], (k - taille / 2 + 0.5 - 1.1, (-1 * 1.5))], k, 1, taille + 1) → txttfrek
  14. OrthogonalLine(B, xAxis) → c
  15. Point(c) → D

AI Drawing Prompt Reference

Draw a Galton Board probability distribution simulation graph. The graph includes a triangular arrangement of pegs and multiple vertical slots at the bottom. Balls drop from the top, bouncing off the pegs and landing in the slots. A real-time histogram shows the count in each slot, with a theoretical normal curve overlaid for comparison. The layout should clearly illustrate the ball paths and the convergence of the distribution.
The prompt above was compiled from the original drawing commands and is for reference only.