If you have a piece of striped paper and some sticks, you can estimate the value of pi through a simple experiment.
Remember Rudolf Wolf, the Swiss astronomer who created the numbering system for solar cycles? Some time around 1850, Wolf was one of a few people to conduct a compellingly strange experiment: he dropped a needle onto a striped plate five thousand times and recorded where it landed. The result, improbably enough, can be used to estimate the value of pi.
The experiment is known as Buffon’s needle. This is how it works: take a bunch of needles and drop them onto a two-colour striped surface. Count all of the needles that are touching two stripes of different colours – the ones that fall across the stripe barrier. Do this often enough, and you can plug all your data into a formula that produces a reasonable approximation of pi. The more needles you drop, the more accurate it is.
l = length of the needle (assuming it is shorter than the width of the stripes)
n = total number of needles
t = width of each stripe
h = number of needles touching more than one stripe
pi ≈ 2ln / th
I went ahead and did a short version of this experiment myself. I snapped six wooden kebab skewers in half (l=12.5cm) and dropped them on my striped kitchen floor (t=25cm). I dropped twelve half skewers thirteen times over (n=156) and I recorded how many of those skewers crossed stripes (h=49). Plug all those numbers into the formula above, and the result was 3.18 (to two decimal places). That’s pretty damn close to pi’s 3.14.
So what’s going on here? How did pi get involved in this probability calculation anyway? Well, the first link below gets into the math in great detail, but it may help if you think of each needle as forming a little circle of probability. Say that this hypothetical needle lands close to the line between stripes. If the needle lines up with the stripes (e.g. both are vertical), then that needle won’t cross the line. But if the needle lands askew, it might cross the line. It all depends where on the circle it lands:
That black line is an edge between stripes. The blue needle doesn’t cross stripes, but the red needle (rotated a few degrees) does. In this diagram, any needle in the grey zone crosses the stripes but any needle in the white zone does not. To calculate the probability of a needle crossing the line, you need pi. And, therefore, if you already know the approximate probability… well, then you can approximate pi.