Multiple Coin Toss Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Multiple Coin Toss Model 

written by Wolfgang Christian and Mario Belloni

The Ejs Multiple Coin Toss model displays the result of the flipping of N coins.  The result of each set of coin tosses is shown by the image of the pennies on the screen and the complete results of the tossing experiment is shown on a graph of the cumulative probability of heads.  The number of coins tossed, N, and change the "fairness" of the coin by setting the probability of a "heads" result, p, can be set via text boxes.  You can modify this simulation if you have Ejs installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.  

Ejs Multiple Coin Toss 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_MultipleCoinToss.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 classical mechanics are available.  They can be found by searching ComPADRE for Open Source Physics, OSP, or Ejs.

Published November 15, 2008
Last Modified June 10, 2014

This file has previous versions.

Source Code Documents

Multiple Coin Toss Model Source Code 

The source code zip archive contains an XML representation of the Multiple Coin Toss Model.   Unzip this archive in your Ejs workspace to compile and run this model using Ejs.

Published November 15, 2008
Last Modified November 15, 2008

This file has previous versions.