The classic probability experiment known as Buffon’s needle produces a statistical estimate of the value of pi, the ratio of a circle’s circumference to its diameter.
The experiment consists of randomly dropping a needle over and over again onto a wooden floor made up of parallel planks. If the needle’s length is no greater than the width of the boards, the probability of the needle meeting or crossing a seam between boards is twice the needle’s length, l, divided by the plank width, d, times pi: 2l/dp.