Computer Program Detail Page
Galton Board Model
written by Wolfgang Christian
content provider: Anne Cox
A Galton board is a vertical board with n rows of pegs onto which a ball is dropped. Each time a ball hits a peg, it has a probability p of bouncing to the left and a probability of 1-p of bouncing to the right. The simulation's histogram shows the distribution of x-coordinates as the balls leave the board and are collected into bins.
The simulation gives rise to the binomial distribution if the probabilities of left and right bounces are equal. At first there does not seem to be any pattern but after many trials the familiar "bell curve" shape begins to emerge.
The Galton Board model was created using the Easy Java Simulations (Ejs) modeling tool. It is distributed as a ready-to-run (compiled) Java archive. Double clicking the ejs_stp_GaltonBoard.jar file will run the program if Java is installed. Ejs is a part of the Open Source Physics Project and is designed to make it easier to access, modify, and generate computer models. Additional Ejs models for statistical and thermal physics are available. They can be found by searching ComPADRE for Open Source Physics, OSP, or Ejs.
Please note that this resource requires at least version 1.5 of Java (JRE).
View the source code document attached to this resource
ComPADRE is beta testing Citation Styles!
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.
Citation Source Information
The APA Style presented is based on information from APA Style.org: Electronic References.
The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.
The MLA Style presented is based on information from the MLA FAQ.
Statistical and Thermal Physics