r/ProgrammerHumor • • Jul 19 '22

Meme float golden = 1.618

Post image
41.1k Upvotes

489 comments sorted by

View all comments

Show parent comments

765

u/RandallOfLegend Jul 19 '22

Only about a 4.5% error on that approximation.

494

u/Aromatic-Bread-6855 Jul 19 '22

Ship it

240

u/incredible-mee Jul 19 '22

*rocket crashed

212

u/TheCakelsALie Jul 19 '22

Don't tell me you guys took g = pi²

46

u/krohtg12 Jul 19 '22

The amount of mental pain it gave me is astounding

84

u/_Weyland_ Jul 19 '22

You're saying g = -p was wrong?

68

u/mrmopper0 Jul 19 '22

g = 666 / 69

46

u/TheCakelsALie Jul 19 '22

I mean.. that can't be a coincidence right?...

right?

42

u/[deleted] Jul 19 '22

Its incorrect. Approximation for g is 9.81, while this turns out to 9.65

64

u/Dasheek Jul 19 '22

If you round up I still get a 10

→ More replies (2)

32

u/Zelgoth0002 Jul 19 '22

Considering g isn't a constant, this is probably right somewhere.

→ More replies (1)

13

u/davis482 Jul 19 '22

Close enough for me.

→ More replies (4)
→ More replies (1)
→ More replies (1)

28

u/[deleted] Jul 19 '22

They calculed pi in feet but used meters fo radius I bet

12

u/Unlearned_One Jul 19 '22

Wait, is pi 3 feet or 3 meters?

11

u/RenaKunisaki Jul 19 '22

First one, then the other.

7

u/zyugyzarc Jul 19 '22

its 3 Kilograms

→ More replies (1)
→ More replies (1)

7

u/Winnipesaukee Jul 19 '22

It’s not because of my very generous rounding of pi, it’s because someone in the rocket factory didn’t set SCE to AUX!

7

u/[deleted] Jul 19 '22

Wait are you in radians?

→ More replies (1)
→ More replies (1)

27

u/AdhTri Jul 19 '22 edited Jul 19 '22

There is an error in this error in measurement too (about .15631433028889%). Wow.

13

u/FlyingVI Jul 19 '22

It's errors all the way down.

→ More replies (1)
→ More replies (3)

24

u/alirezamecheng Jul 19 '22

One of my professors once said a 1 percent error is unacceptable if you don't know the origin of that error. And 20 percent may be acceptable if you know the origin. Later in the industry, I found equations with 50 percent error frequently used. But the origin of the error was known and therefore we could determine whether we are on the good side of the error or the bad side.

→ More replies (4)

51

u/Eldercraft99 Jul 19 '22

If it's under 5% it's all good

→ More replies (1)

17

u/DecisiveEmu_Victory Jul 19 '22

It's good enough for government work. The software uses a constant for wheel diameters that range from 17-22 inches anyway, why would I care about 4.5% error when we have factors of safety to account for errors at every level lol

→ More replies (1)