2026 · 03 · 01
Your friend plays two losing games at the casino, switches between
them at random, and starts winning. Parrondo's paradox — where two
individually losing strategies combine into a winner — explained
through simulation, mod-3 ratchet dynamics, and a parameter sweep.
python
monte-carlo
statistics
2026 · 02 · 20
When the zombie apocalypse breaks out and civilisation has collapsed you need π. But all you have is a shotgun.
A look at importance sampling through the lens of a gloriously
absurd 2014 paper — and a Python simulation showing how you can
estimate π with any distribution.
monte-carlo
statistics
python