What is the probability of a needle hitting a line on graph paper?

  • Context: Undergrad 
  • Thread starter Thread starter daniel_i_l
  • Start date Start date
  • Tags Tags
    Needle Variation
Click For Summary
SUMMARY

The probability of a needle hitting a line on graph paper, as derived from the Buffon's Needle problem, is calculated to be 3/π, approximately 95%. This result not only confirms that π is greater than 3 but also suggests that the needle's likelihood of hitting a line is quite high, indicating that π is relatively close to 3. A simulation program was developed to empirically approximate π by dropping a needle 10,000,000 times, yielding a value of π at approximately 3.14067, highlighting the slow convergence of this method for calculating π.

PREREQUISITES
  • Understanding of Buffon's Needle problem
  • Basic knowledge of probability theory
  • Familiarity with π (pi) and its significance in mathematics
  • Experience with simulation programming techniques
NEXT STEPS
  • Explore the mathematical derivation of Buffon's Needle problem
  • Learn about Monte Carlo simulations for probability estimation
  • Investigate other methods for approximating π
  • Study the convergence rates of various numerical methods
USEFUL FOR

Mathematicians, statisticians, computer scientists, and anyone interested in probability theory and numerical methods for approximating constants like π.

daniel_i_l
Gold Member
Messages
864
Reaction score
0
In the "buffons needle" riddle you have a paper with horizontal lines in it all 1 unit apart and you drop a needle 1 unit long - you have to calculate the chance that the needle will hit a line. but i remembered the riddle wrong so instead i tried to solve the same question with both horizontal and vertical lines (graph paper). all of the cells are 1X1 unit. i got that the chance of hitting a line is:
3/pi which is about 95%
is that right?
Thanks.
 
Physics news on Phys.org
I get the same answer. Also, note the result proves pi>3, and since it's obviously pretty likely the needle will hit a line, it shows pi is pretty close to 3. Maybe you can get other approximations for pi using a similar method, which is ironic considering the point of the original problem was to empirically approximate pi.
 
Last edited:
I wrote a program that simulates a needle falling 10000000 times and counts the times that it hits a line. using that i got that
3/pi = 0.95521 or pi = 3.14067 - ok but i guess that this method of calculating pi doesn't converge very fast.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 57 ·
2
Replies
57
Views
7K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 6 ·
Replies
6
Views
13K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K