How Can Pi Be Approximated Using a Coin and a Grid?

  • Thread starter Thread starter themadhatter1
  • Start date Start date
AI Thread Summary
The discussion explores how to approximate pi using a coin and a grid, drawing parallels to Buffon's needle experiment. Participants debate whether the problem requires an analytical solution or an experimental approach, concluding that both are necessary. The probability of the coin landing on a vertex is analyzed, with calculations involving the areas of circles and squares. It is noted that the probability must include pi, as it is essential for the final approximation. Ultimately, the experiment's success in estimating pi hinges on the ratio of hits on vertices to total drops.
themadhatter1
Messages
139
Reaction score
0

Homework Statement



attachment.php?attachmentid=26969&stc=1&d=1279214171.jpg


Homework Equations

The Attempt at a Solution



I found this interesting problem in my textbook. I have heard of Buffon's needle experiment which estimates pi through probability. This problem came from a pre-calc book out of the probability section. The problem seams similar to Buffon's needle in that d is the diameter of the coin as well as the distance in between each square. However, this is a coin and a grid, not parallel lines and a needle. I'm not sure whether the question is asking for an analytical solution to b or an actual experiment. Can it be determined analytically?

The probability for hitting a vertex would be the same for any d value chosen. I believe it would be much more likely to hit a vertex than to land exactly in between two parallel lines. Does finding the probability involve the area taken up if a coin were placed in each square grid, and the free space left?
 

Attachments

  • Pi.jpeg
    Pi.jpeg
    48.7 KB · Views: 1,178
Physics news on Phys.org
themadhatter1 said:
I found this interesting problem in my textbook. I have heard of Buffon's needle experiment which estimates pi through probability. This problem came from a pre-calc book out of the probability section. The problem seams similar to Buffon's needle in that d is the diameter of the coin as well as the distance in between each square. However, this is a coin and a grid, not parallel lines and a needle. I'm not sure whether the question is asking for an analytical solution to b or an actual experiment. Can it be determined analytically?
It's asking you to do an experiment, but you also need the analytical solution to know how to get the estimate for pi.
The probability for hitting a vertex would be the same for any d value chosen. I believe it would be much more likely to hit a vertex than to land exactly in between two parallel lines. Does finding the probability involve the area taken up if a coin were placed in each square grid, and the free space left?
Think about where the center of the coin can land so that the coin will cover a corner.
 
themadhatter1 said:
would be much more likely to hit a vertex than to land exactly in between two parallel lines. Does finding the probability involve the area taken up if a coin were placed in each square grid, and the free space left?

It doesn't need to land exactly in between two parallel lines

As an example I made a picture

http://img138.imageshack.us/img138/7943/circleinsquare.png

As for how to go about solving the probability exactly, vela has good advice
 
Last edited by a moderator:
vela said:
Think about where the center of the coin can land so that the coin will cover a corner.

Would this be true?: If you were to inscribe a circle of d diameter inside a square with sides length d, the center of a coin with diameter d tracing the circumference the circle would touch a corner at every position on the circle except when the coin is situated at angles 0,90,180,360 on the d diameter circle.
 
If I understand what you're saying, the answer is yes. In the four cases you mentioned, the coin would intersect with two corners simultaneously.
 
It does not matter if the circle lands on a gridline. What matters is when the circle lands on TWO gridlines simultaneously. (i.e. it will be covering a vertex where two lines intersect).

That is the crux of the experiment.
 
vela said:
Think about where the center of the coin can land so that the coin will cover a corner.
When you say a corner do you mean an intersection of only 2 lines or an intersection of 2 or more lines?
 
Where do more than 2 lines intersect on a grid?
 
O I see. I was considering each side of the square to be a line, but your considering the movement across the grid in the x and y directions as a whole to be lines.

Ok, so I thought I'd make some pictures to illustrate my thinking.

You can have intersection like this...
attachment.php?attachmentid=26998&stc=1&d=1279322023.jpg

You can move that circle anywhere on the x-axis and it will cover 2 intersecting lines. You can also have the same thing but on the y-axis and moving that up and down anywhere will cover 2 intersecting lines with every possible placement along that axis.

Then you can move the circle just a little bit in the x any y directions and it won't cover 2 intersecting lines
attachment.php?attachmentid=26999&stc=1&d=1279322023.jpg


Then you can move the circle diagonally and it will intersect.

attachment.php?attachmentid=27000&stc=1&d=1279322023.jpg


Am I making this more complicated than it is? Because is seams like there is a whole lot of possibilities for when it is touching and when it isn't.
 

Attachments

  • 1.JPG
    1.JPG
    1.7 KB · Views: 781
  • 2.JPG
    2.JPG
    1.6 KB · Views: 788
  • 3.JPG
    3.JPG
    1.6 KB · Views: 802
  • #10
Concentrate on the middle intersection in your pictures. Where does the center of the circle have to be in relation to it for it to lie within the circle?
 
  • #11
well if you drew a circle of d diameter around the center intersection

and had another circle of d diameter trace around the circle with it's center point, it would always touch the center point on the intersection no matter where along the circle it is.

attachment.php?attachmentid=27002&stc=1&d=1279325804.jpg
 

Attachments

  • 4.JPG
    4.JPG
    2.3 KB · Views: 758
  • #12
themadhatter1 said:
well if you drew a circle of d diameter around the center intersection

and had another circle of d diameter trace around the circle with it's center point, it would always touch the center point on the intersection no matter where along the circle it is.

attachment.php?attachmentid=27002&stc=1&d=1279325804.jpg

That's good. Now, given a square, where can the center be in that square so that the circle hits one of the corners of the square?
 
  • #13
Office_Shredder said:
That's good. Now, given a square, where can the center be in that square so that the circle hits one of the corners of the square?

It would look like this.
attachment.php?attachmentid=27004&stc=1&d=1279328097.jpg

The center of the circle would be able to travel along thoes lines and hit an intersection. In fact the only place it won't hit an intersection is in the center area in the square. If the center of the circle is in that center area it won't touch an intersection. Would you need to find the area of the center area verses the area of the outside parts and set up a ratio.

Well you can calculate the inside area to be d^2-\frac{(\frac{1}{2}d)^{2}\pi}{4}

so would the ratio of hits covering a vertex to hits not covering a vertex be \frac{(\frac{1}{2}d)^2\pi}{d^2-\frac{(\frac{1}{2}d)^{2}\pi}{4}} for the probability of where it would land

Man... you need ∏ to calculate the probability for an experiment designed to approximate ∏?
 

Attachments

  • 5.JPG
    5.JPG
    2.2 KB · Views: 761
  • #14
For any square that the centre of the coin lands in randomly, it must be within distance d or less with any of the four surrounding vertices. The area is therefore d^2 \frac{\pi }{4}. The total area of a square is d^2

There is a \frac{\pi}{4} chance that it will cover a vertex. Do the experiment 100 times and you'll most likely get \approx \frac{\pi}{4}
 
Last edited:
  • #15
The probability of it landing on a vertex will be the area where it will land on the vertex divided by the area of the whole square. What you have isn't quite right.

Once you know the probability of it landing on a vertex, drop a coin 100 times. If it lands on a vertex 75% of the time, you can set your expression for the probability to be equal to .75. Since you know d also, the only thing left to do is solve for pi
 
  • #16
themadhatter1 said:
Well you can calculate the inside area to be d^2-\frac{(\frac{1}{2}d)^{2}\pi}{4}
Almost. Your second term is the area of only one of the quarter circles.

Man... you need ∏ to calculate the probability for an experiment designed to approximate ∏?
Of course. Pi has to appear in the result otherwise you can't solve for it.
 
  • #17
vela said:
Almost. Your second term is the area of only one of the quarter circles.

oops. What I meant to say was.

<br /> d^2-(\frac{1}{2}d)^{2}\pi<br />

So the ratio would be

<br /> \frac{(\frac{1}{2}d)^2\pi}{d^2-(\frac{1}{2}d)^{2}\pi}<br />

So If we say that d=1 we would have

\frac{\frac{\pi}{4}}{1-\frac{\pi}{4}}
 
  • #18
That would work out to be about 3.66, which obviously can't be a probability.
 
  • #19
themadhatter1, read post #14. What do you think of that?
 
  • #20
vela said:
That would work out to be about 3.66, which obviously can't be a probability.

Sure you can have a numerical probability, a 1/4 chance is the same as '.25' or for that matter 25%. Why my particular probability is wrong I'm not sure.

Gregg said:
themadhatter1, read post #14. What do you think of that?

I'm not sure how you got d^{2}\frac{\pi}{4} from just knowing that "For any square that the centre of the coin lands in randomly, it must be within distance d or less with any of the four surrounding vertices."
 
  • #21
themadhatter1 said:
Sure you can have a numerical probability, a 1/4 chance is the same as '.25' or for that matter 25%. Why my particular probability is wrong I'm not sure.
A probability can't exceed 1.

Reread post #15.
 
  • #22
vela said:
A probability can't exceed 1.

Reread post #15.

Oh. Ok I see.

<br /> <br /> \frac{d^2-(\frac{1}{2}d)^{2}\pi}{d^2}<br /> <br />

so set d=1 and you'd get

<br /> <br /> \frac{d^2-(\frac{1}{2}d)^{2}\pi}{d^2}<br /> <br />

\frac{1-\frac{1}{4}\pi}{1}

so what does that tell me 21.4% of the time it will land hitting a vertex. That dosen't make much sense since the area for it to land hitting a vertex is bigger than the area it will land not hitting a vertex.
 
  • #23
themadhatter1 said:
Oh. Ok I see.

<br /> <br /> \frac{d^2-(\frac{1}{2}d)^{2}\pi}{d^2}<br /> <br />

so set d=1 and you'd get

<br /> <br /> \frac{d^2-(\frac{1}{2}d)^{2}\pi}{d^2}<br /> <br />

\frac{1-\frac{1}{4}\pi}{1}

so what does that tell me 21.4% of the time it will land hitting a vertex. That dosen't make much sense since the area for it to land hitting a vertex is bigger than the area it will land not hitting a vertex.

You calculated the probability of it not hitting a vertex, because you have the area where it can land and not hit a vertex in the numerator
 
  • #24
Office_Shredder said:
You calculated the probability of it not hitting a vertex, because you have the area where it can land and not hit a vertex in the numerator

Arrgg. I can't believe I did that. *slaps forehead*

Ok

so

\frac{1}{4}\pi

is the projected probability it should land hitting a vertex. So the closer my actual experiment probability comes out to %78.54 the more accurate my approximation of pi will be. All I would need to do is calculate the percentage I get from my experiment for the probability it should land on a vertex and set the ratio equal to that to solve for pi.
 
  • #25
themadhatter1 said:
Man... you need ∏ to calculate the probability for an experiment designed to approximate ∏?
It's not that you need to know it to solve it, it's that it needs to be in there, because that's the variable you're solving for. Eventually, your equation will boil down to nothing but a bunch of numbers and one unknown variable (pi):

pi = (an expression of variables)
when you plug your numbers into your variables, you'll get
pi = (an expression of numbers) which reduces to (one number)
pi = number
 
Back
Top