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 JavaScript 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 JavaScript Model was developed using version 5 of the Easy Java/JavaScript Simulations (EjsS) modeling tool and is distributed as a ready-to-run html page and requires only a browser or tablet with JavaScript support.
Galton Board Source Code This source code zip archive contains an XML representation of the Galton Board JavaScript Model. Unzip this archive in your EJS workspace to compile and run this model using EjsS ver 5.1. Although EjsS is a Java program, it creates a platform independent stand-alone …
This source code zip archive contains an XML representation of the Galton Board JavaScript Model. Unzip this archive in your EJS workspace to compile and run this model using EjsS ver 5.1. Although EjsS is a Java program, it creates a platform independent stand-alone JavaScript program that runs on most browsers from this source code.
W. Christian, Computer Program GALTON BOARD JS MODEL (2014), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13383&DocID=3965).
Christian, W. (2014). Galton Board JS Model [Computer software]. Retrieved December 5, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13383&DocID=3965
%A Wolfgang Christian %T Galton Board JS Model %D 2014 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13383&DocID=3965 %O application/javascript
%0 Computer Program %A Christian, Wolfgang %D 2014 %T Galton Board JS Model %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13383&DocID=3965
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.