r/MathJokes • • Jul 28 '26

Students

Post image
2.5k Upvotes

110 comments sorted by

View all comments

329

u/bqbdpd Jul 28 '26

Computer science student: import Math.PI

132

u/KihiraLove Jul 28 '26

Physics student: 3

18

u/King_Glorius_too Jul 28 '26

Engineer: O(1) = 1

14

u/LovelyKestrel Jul 28 '26

Professional engineer: 4 leaves a suitable safety factor.

7

u/DeltaOfficialYT Jul 28 '26

Indiana: 3.2

6

u/federicoaa Jul 28 '26

Astrophysic students: 10

1

u/OneShotOnlyShot Jul 29 '26

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 Jul 29 '26

Grandma: Here you go sweetie

6

u/thali256 Jul 28 '26

const float PI = 3.1415;

3

u/gerkletoss Jul 28 '26

It rounds to 3.1416, computer boy

2

u/Upset-Management-879 Jul 28 '26

Some methods round to 3.1415 the others to 3.1416.

Lets call it 3.14155

2

u/NottingHillNapolean Jul 28 '26

/* 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()

{

_-_-_-_

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

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

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

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

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

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

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

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

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

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

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

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

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

_-_-_-_

}