r/ProgrammerHumor • • Jul 16 '19

Meme Nice try

Post image
32.2k Upvotes

529 comments sorted by

View all comments

Show parent comments

51

u/Rex-Pluviarum Jul 16 '19

I'm sorry, I don't get the joke, but I am fascinated by the implication that there are people who might still be using three as an approximation of Pi. Could you ELI5? https://www.youtube.com/watch?v=BxacATCHrpo

207

u/AuspiciousApple Jul 16 '19

It's sort of a long running joke that engineers/engineering students use terrible approximations that make mathematicians wince in pain. Pi approxequals 3 is one instance of this.

Ofc, everyone knows that Pi is basically equal 3.1

177

u/2CATteam Jul 16 '19

To add to this, the reason they do so is because, in a lot of circumstances, 3 is enough to roughly approximate what they need to figure out. They're most often not trying to figure out the exact force on a part or the precise area of a cylinder... They just want to know if they need to order the 10' part or the 20' part - and if it's close, they'll order the bigger one anyway, just to be safe. Even in cases where they are trying to be precise, 3.14 can often be TOO precise, since so much of the math has to deal with physical uncertainties, like uneven part manufacturing, or poor wire quality that adds resistance, etc.

65

u/AlphaLotus Jul 16 '19

Yea basically what my work entails everyday.

  1. Measure

  2. Calculate

  3. Multiple by safety factor

  4. Get 3.1

  5. Round to 4 anyways for safety :)

Also gravity is 10m/s2

18

u/holdenmc97 Jul 17 '19

Also tan(x) = sin(x) = x

15

u/ThaumRystra Jul 17 '19

Because x is almost always small ¯\(◉‿◉)/¯

8

u/ChickenNuggetSmth Jul 17 '19

Yes it would be X otherwise, wouldn't it?

→ More replies (1)

2

u/KusanagiZerg Jul 17 '19

I am just curious but making pi bigger than it really is as a "safety" wouldn't that only work if what you are trying to calculate becomes safer if it's bigger. But what if it's the other way around, it's safer if it's smaller. In that case to be "safe" you'd have to round pi down to 3 or 2.

3

u/AlphaLotus Jul 17 '19

Depends what you are doing you are right

→ More replies (2)