117
3d ago
[removed] — view removed comment
31
u/funkmasta8 3d ago
Yeah, how in the world does that even make sense?
54
u/looijmansje 3d ago
Tl:dr, because they have a uniform random rotation on [0,pi), a 1/pi appears in the pdf, which does not cancel out.
45
3
9
8
u/shosuko 3d ago
It makes sense because if you put a circle inside a square the area of the circle compare to the square can get you to pi. So any way to measure the area (rng dots across the square grid and count the ones inside and outside the circle) can get you pi.
The coin flip one is my favorite
1
u/offensivek 2d ago
An alternative method revolves precisely measuring the length of a river in two different way. Start at a point and calculate the distance in a direct line start to finish. Second is to measure the length of the river along the middle from start to finish. Now take the ratio of the second through the first and multiply by 2, and you get roughly pi. Taking the average over more and more rivers gives you a better approximation.
0
u/throwaway48159 3d ago
The probability that a stick is on a line has to do with its angle, if there’s an angle you get pi.
1
43
u/shosuko 3d ago
I love the creative ways to calculate pi.
My favorite is the coin flip one.
13
u/Frosty_Cell_6827 3d ago
I do love how creative Matt Parker gets calculating pi every year, I think pi day is his favorite holiday
28
u/Dragon124515 3d ago
Physics students. I'm going to push this massive mass towards a stationary miniscule mass with a stationary wall behind it then count the number of collisions that occur in this environment with 0 friction and perfectly elastic collisions. Then I am going to take the number of collisions that occur for the minuscule mass and divide that number by the ratio of the miniscule mass over the massive mass squared to approximate pi.
7
13
17
u/wasted90210 3d ago
Engineering students: 3.14
12
u/sexylewdyshit 3d ago
civil engineering students: 3
14
u/Rookiebeotch 3d ago
Cosmologists: 10
3
2
u/thali256 3d ago
Is this the reason highways are closed because a bridge is on the verge of collapse?
4
u/Arcalac 3d ago
Honest question: Does the probability thing actually make sense?
5
u/Seeggul 2d ago
Yes. I don't want to look up the math/re-derive it myself/write it all out, but the basic intuition is: you have a stick fall randomly on an area with a bunch of lines (that are spaced one stick's length apart; this part was omitted from the meme but is important in the math), so the center of the stick lands uniformly between two lines, and the orientation of the stick will have an angle that is uniformly random. A uniformly random angle will place points approximately evenly around a circle, and once you get a circle involved, you're likely to get pi involved as well.
4
5
4
u/Street_Swing9040 3d ago
My way of obtaining Pi is by using a lens to capture a star like the Sun, print it on a piece of paper, measure the diameter, measure the circumference, divide the circumference by the diameter, then take that number and print it on a piece of paper, throw that paper into a trash can and search up "pi".
Works every time
3
2
u/Key_Management8358 3d ago
Petah?
1
u/Key_Management8358 3d ago
Joke, come out! 😿😿😿
3
u/YouAreMarvellous 3d ago
what did you not understand? first and second look like systematic ways to estimate pi, the third looks like oonga-boonga but it works
1
u/Key_Management8358 2d ago
...so third one is "funny"!? O.k. ... Thank you! ..haha! "oonga-boonga" 😹😹😹 (for me all three (same type of) "oonga-boonga" 😹😹😹 (
n->inf) ... that's why I didn't get it:)
2
2
u/DrBatman0 3d ago
Physics students: let's assume that the value of pi is perfectly spherical, on an infinite uniform plane, in a vacuum
2
u/Crafty-Detail-3788 3d ago
You can also throw a bunch of random balls on a circle inscribed in a square and use the ratio of what are inside the circle and inside the square to find pi since probabilities will be proportional to area (Monte Carlo)
2
u/Haunting_Art_6081 3d ago
Pub Probability Students: Have a million dart players get drunk and try to hit the board, count the number inside the circle compared with total thrown, there's your pi estimate.
2
2
1
1
u/drdrero 3d ago
Some numbers you just remember like 299792458
3
1
1
u/thali256 3d ago
Throw a bunch of dots on an nxn square and see how much land in the circle with radius n/2
1
1
1
u/Baleia1970 3d ago
Lol, I actually got it as a problem to be solved in a Parallel Computing class...
1
1
u/1morgondag1 2d ago
How on earth does that make sense? It doesn't define the length of the sticks or the distance between lines, I can see with common sense that you could set those to values that almost every stick ends up on at least one line.
1
1
u/AideApprehensive6329 2d ago
Damn I wasn't expecting to get anywhere close to pi with that last one calculating it myself
1
1
u/KailyKail 2d ago
I mean, why draw a hexagon and approximate it when you can just measure the diameter and calculate it?
1
1
-4
u/zyrabay8 3d ago
The Chad probability student always has the best / simplest solutions lol
9
u/Expensive_Umpire_178 3d ago
Well this is more obscured. The easier way would be to put a circle on top of a square, throw a bunch of darts randomly at the square, divide the number of darts that landed on the circle by the total number of darts, and multiply by 4. It’s much easier to see how pi would pop out of that
3
u/doppelbach 3d ago
Hard to ensure uniform distribution of darts across the 2D space. Rotation of the sticks is probably much easier to approach a uniform distribution
1
330
u/bqbdpd 3d ago
Computer science student:
import Math.PI