A collection of Monte Carlo simulations of the Buffon's Needle problem.
-
buffon_with_loops.py
Basic simulation using a for-loop and matplotlib.
-
buffon_with_functions.py
More complete simulation with inline functions.
-
buffon_with_class.py
Simulation utilizing a needle class.
-
buffons_notebook.ipynb
A Jupyter Notebook with inline discussion.