Computer Program Detail Page
This ComPADRE record has not been chosen for inclusion into the PER-Central collection. If you feel this record should be included, you may contact the editor using our feedback form.
Coin Flip Equilibrium
written by Todd Timberlake
The EJS Coin Flip Equilibrium model simulates a a simple system of N coins arranged in ordered rows. The coins all begin heads up. At each step of the simulation one or more coins are chosen at random and flipped over. Separate windows show the set of coins, a plot of the number of heads/tails after each step, the entropy of the system after each step, and a histogram of the occurrences of a given number of heads. The user can change the number of coins and the number of coins flipped at each step of the simulation. A user can modify this simulation if EJS is installed locally by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.
EJS Coin Flip Equilibrium 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_CoinFlip.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 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).
1 source code document is available
The source code zip archive contains an XML representation of the EJS Coin Flip Equilibrium Model. Unzip this archive in your EJS workspace to compile and run this model using EJS.
download 74kb .zip
Published: June 14, 2010
Rights: This material is released under the GNU General Public License Version 2.
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 AJP/PRST-PER presented is based on the AIP Style with the addition of journal article titles and conference proceeding article titles.
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.
Coin Flip Equilibrium:
Is Based On Easy Java Simulations Modeling and Authoring Tool
The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Coin Flip Equilibrium.relation by Wolfgang Christian
Know of another related resource? Login to relate this resource to it.