f.Farouq AlrahmouPERSONAL RESEARCH STUDIO
Experiment 001 / Probability

Random outcomes.
Recognizable patterns.

Flip a fair coin several times per trial. Count the heads, repeat, and watch the distribution emerge. Everything runs on your device.

The coin-flip laboratory

Same seed + same settings = same result. Change the seed to explore another run.

Observed counts / Expected distribution
Observed○ Expected
Choose your settings and run the experiment.

Horizontal axis: heads per trial. Vertical axis: number of trials. Circles show the exact fair-coin binomial expectation.

What am I seeing?

Each trial records how many heads appear in a fixed number of independent fair coin flips. Middle outcomes have more possible arrangements than extreme outcomes, so repeated trials tend to concentrate near half the number of flips.

Why isn't it a perfect curve?

The observed counts are a finite sample. The outlined circles show expected counts from the binomial distribution, not a fit to the simulated data. As trials increase, the observed proportions tend to approach those expectations.

Reproducibility & limits

This is an educational simulation using a seeded pseudorandom generator, not a cryptographic source of randomness. A CSV export records the seed, trial count, flip count, observed results, and expected results. No data is sent to a server.