flies_simulation


flies_simulation, an Octave code which simulates an experiment in which two flies land on a plate of radius 1. By repeating the experiment many times, the average distance between the flies is to be estimated.

Licensing:

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

Languages:

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

Related Data and codes:

flies_simulation_test

octave_simulation, an Octave 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.

Reference:

  1. Paul Nahin,
    Dueling Idiots and Other Probability Puzzlers,
    Princeton, 2012,
    ISBN: 978-0691155005.

Source Code:


Last revised on 17 November 2022.