#probability #cli #json #coin-flipping

bin+lib coin_flip_simulation

A coin flipping simulation, in preperation for an upcoming probability crate. Intended to be used as a binary to run a simualtion of Bernoulli coin flips. Prints results in JSON.

3 releases

0.2.2 Jun 25, 2023
0.2.1 Jun 23, 2023
0.1.2 Jun 23, 2023

#211 in Simulation

MIT license

11KB
236 lines

coin_flip_simulation

A crate for a coin flipping simulation


lib.rs:

Libary for a coin flipping simulation.

Calculates the expected and empirical counts and probabilities of coin flips for a specified number of iterations and flips per iteration.

Dependencies

~310KB