That's the Buffon's needle problem. For a more general discussion see
http://en.wikipedia.org/wiki/Buffon%27s_needle
And for an interesting simulation (to use the result in order to obtain an estimate of pi), see
http://www.angelfire.com/wa/hurben/buff.html
(the simulation is at the bottom and you can see the result converging quite fast to pi)