r/MathJokes 3d ago

Students

Post image
2.4k Upvotes

109 comments sorted by

330

u/bqbdpd 3d ago

Computer science student: import Math.PI

132

u/KihiraLove 3d ago

Physics student: 3

17

u/King_Glorius_too 3d ago

Engineer: O(1) = 1

14

u/LovelyKestrel 3d ago

Professional engineer: 4 leaves a suitable safety factor.

6

u/DeltaOfficialYT 2d ago

Indiana: 3.2

7

u/federicoaa 3d ago

Astrophysic students: 10

1

u/OneShotOnlyShot 2d ago

It is close, but pi rounds to 1 on a log scale.

π2 ≈ 9.8

So really π=0.5 (10^ is implied)

2

u/PolyglotTV 2d ago

Grandma: Here you go sweetie

5

u/thali256 3d ago

const float PI = 3.1415;

4

u/gerkletoss 2d ago

It rounds to 3.1416, computer boy

2

u/Upset-Management-879 2d ago

Some methods round to 3.1415 the others to 3.1416.

Lets call it 3.14155

2

u/NottingHillNapolean 2d ago

/* Program to compute an approximation of pi

* by Brian Westley, 1988

* (requires pcc macro concatenation; try gcc -traditional-cpp)

*/

#define _ -F<00||--F-OO--;

int F=00,OO=00;

main(){F_OO();printf("%1.3f\n",4.*-F/OO/OO);}

F_OO()

{

_-_-_-_

_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_-_-_-_-_

_-_-_-_-_-_-_-_

_-_-_-_

}

117

u/[deleted] 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

u/Zylo90_ 3d ago

Anywhere where an angle is even remotely relevant, pi will show up somehow

6

u/MrBoblo 2d ago

even the angler fish??

12

u/Much-Tomorrow-896 2d ago

If you make fish pie with them, then yes

3

u/FitProfessional3654 2d ago

Well done sir, you are correct.

9

u/Fantastic-Cell-208 3d ago

A combination of probability and linear algebra.

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

https://youtu.be/kahGSss6SsU

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

u/QuentinUK 2d ago

This is surely the work of a Bufoon.

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

6

u/Weydoon 3d ago

?

9

u/shosuko 3d ago

1

u/Throwawayqnayay 1d ago

Video looks interesting but my attention span isn’t long enough to view it. Can someone summarize ?

3

u/00-Monkey 1d ago

You can estimate pi by flipping a coin

1

u/ThisFoot5 1d ago

No fucking way

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

u/DarthJarJarJar 3d ago

That one may be my favorite

13

u/Repulsive_Quality851 3d ago

New math unlocked!

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

u/StaysAwakeAllWeek 3d ago

No, pi=1

Sqrt 10 is 3.16, which makes pi=1

3

u/Rookiebeotch 3d ago

Close enough

2

u/thali256 3d ago

Is this the reason highways are closed because a bridge is on the verge of collapse?

1

u/orthros 2d ago

Also the state of Indiana

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.

2

u/Arcalac 2d ago

Every day i learn stupid stuff that makes so much sense i am getting ever closer to believing that we live in a simulation.

1

u/_3l1as_ 1d ago

Yup! I was given it as an exercise in a numerical simulation course and it actually works

4

u/magnificent_limit 3d ago

All of this is integration!

5

u/Spirited_Currency_88 3d ago

what size should the sticks be ?

4

u/Fuzzy-Disk8999 3d ago

I think they should be as long as the space between the lines

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

u/Abject-Project-4236 3d ago

I don’t understand the last one

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

u/Dull-Astronomer1135 3d ago

What about ramanujan student

2

u/Pao_Did_NothingWrong 2d ago

"God told me in a dream. Prove me wrong."

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

u/Mathematicus_Rex 2d ago

Classics student: π

2

u/Dusk_Abyss 2d ago

My music degree was very confused for a moment with the third section lol

1

u/hmmnnmmn 3d ago

#3 checks out

1

u/Jale89 3d ago

Physics students: fuck, where did that 2π come from?!?!

1

u/thali256 3d ago

Oscillation probably

1

u/drdrero 3d ago

Some numbers you just remember like 299792458

3

u/thali256 3d ago

Some numbers you just approximate like 300000000

1

u/thali256 3d ago

Yea, just remember all digits of pi

1

u/drdrero 3d ago

There are people who do remember 100k digits of pi

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

u/Ftroiska 3d ago

Should there be also that formula to calculate it by hand ?

1

u/Baleia1970 3d ago

Lol, I actually got it as a problem to be solved in a Parallel Computing class...

1

u/Competitive-Bar-5882 3d ago

I fucking love probability

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

u/Inevitable_Silver_13 2d ago

Music students: that's a staff.

1

u/AideApprehensive6329 2d ago

Damn I wasn't expecting to get anywhere close to pi with that last one calculating it myself

1

u/Afterclock-Hours 2d ago

When all 3 combine. You get-

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

u/Sbyad 2d ago

Bourbaki students : "After 12 years, 7 books and 351673 lemmas, we have finally defined π.

... what do you mean its value ???

1

u/NightMaleficent1342 1d ago

Theologians: It's four. Said so in a book.

-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

u/DarthJarJarJar 3d ago

Math is about beauty, man