<aside> 📌 By Dr. Nir Regev
</aside>
<aside> 📌 Sign up to Circuit of Knowledge blog for unlimited tutorials and content
</aside>
<aside> 📌 If it’s knowledge you’re after, join our growing Slack community!
</aside>
In probability theory, Buffon's needle problem is a problem first posed in the 18th century by Georges-Louis Leclerc, Comte de Buffon. It is a classic problem in geometric probability that can be used to estimate the value of $\pi$.
Consider a floor with equally spaced parallel lines a distance $D$ apart. A needle of length $L$ (with $L \le D$) is dropped randomly onto the floor. We aim to calculate the probability $P$ that the needle will cross one of the lines.
Figure: Consider a floor with equally spaced parallel lines a distance $D$ apart. A needle of length $L$ (with $L \le D$) is dropped randomly onto the floor. We aim to calculate the probability $P$ that the needle will cross one of the lines.