Reference: Griffiths, David J. (2005), Introduction to Quantum Mechanics, 2nd Edition; Pearson Education – Problems 1.11-12.

This exercise in continuous probability distributions actually precedes the problem on Buffon’s needle, so it uses the same logic.

Suppose we have a needle mounted on a pivot so that the needle is free to swing anywhere in the top semicircle, so that when it comes to rest, its angular coordinate is equally likely to be any value between 0 and . In that case, the probability density is a constant in this range, and zero outside it. That is

From normalization, we must have

The statistics of the distribution are

We now want the probability that the projection of the needle onto the axis lies between and . If the needle is at angle , then its coordinate is (where is the length of the needle). If the angle changes by , its coordinate changes by so for the probability density, we take absolute values and get

As a check:

Since , we can get and from 8 and 9, but we can also calculate it the hard way, using :