coin_simulation, a Python code which looks at ways of simulating or visualizing the results of many tosses of a fair or biased coin.


The computer code and data files described and made available on this web page are distributed under the MIT license


coin_simulation is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:


python_simulation, a Python code which uses simulation to study card games, contests, and other processes which have a random element. Usually, the purpose is to try to predict the average behavior of the system over many trials.

Source Code:

Last modified on 26 November 2022.