cm0002@lemmy.world to Funny@sh.itjust.works · 1 year agoLife Hacklemmy.mlimagemessage-square62linkfedilinkarrow-up1866
arrow-up1857imageLife Hacklemmy.mlcm0002@lemmy.world to Funny@sh.itjust.works · 1 year agomessage-square62linkfedilink
minus-squarestebo@lemmy.dbzer0.comlinkfedilinkarrow-up74·1 year agoyou can trucate it and it still only a slightly worse approximation: 987/123 = 8.024 98/12 = 8.167 9/1 = 9.000 The last one is pretty bad you should probably not use it
minus-squareOutlierBlue@lemmy.cadeleted by creatorlinkfedilinkEnglisharrow-up38·1 year ago9/1 is approximately 8, for extremely large values of 8.
minus-squaresomedev@aussie.zonedeleted by creatorlinkfedilinkarrow-up17·1 year agoFor that last one, how bad are we talking? I need to know soon, I have some important banking software I need to develop.
minus-squarestebo@lemmy.dbzer0.comlinkfedilinkarrow-up14·1 year agoI wouldn’t use it for precise calculations at NASA, but for banking stuff I think it would be fine :)
minus-squareprole@lemmy.blahaj.zonelinkfedilinkarrow-up3·1 year agoIt depends on the scale of the thing you’re using it for.
minus-squarepacology@lemmy.worldlinkfedilinkEnglisharrow-up12·1 year agoHave you considered running for Indiana governor? You have the right mindset. https://en.wikipedia.org/wiki/Indiana_pi_bill
minus-squareNeverclear@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up8·1 year agoNah, the engineer probably designed it with a safety factor. You could probably even go 9/0 and be perfectly safe ;)
minus-squarestebo@lemmy.dbzer0.comlinkfedilinkarrow-up8·edit-21 year agoBy the way guys, a very similar approximation for 8, which also starts at 9.000 for n=1, but quickly gets much closer to 8 for increasing n, is: exp{-2(n-1)} + 8 It approaches 8 about as fast as the above method but this one has a simple formula that is usable in python etc.
minus-squarehumanspiral@lemmy.calinkfedilinkarrow-up4arrow-down1·1 year ago16/2 is an almost exact replacement for 8. OP’s name includes Fermat, and so he’s probably smarter than me though.
you can trucate it and it still only a slightly worse approximation:
987/123 = 8.024
98/12 = 8.167
9/1 = 9.000
The last one is pretty bad you should probably not use it
9/1 is approximately 8, for extremely large values of 8.
Hello, fellow old nerd.
9/1 ≈ 8
For that last one, how bad are we talking? I need to know soon, I have some important banking software I need to develop.
I wouldn’t use it for precise calculations at NASA, but for banking stuff I think it would be fine :)
It depends on the scale of the thing you’re using it for.
Have you considered running for Indiana governor? You have the right mindset.
https://en.wikipedia.org/wiki/Indiana_pi_bill
Nah, the engineer probably designed it with a safety factor. You could probably even go 9/0 and be perfectly safe ;)
what about 8/1 would that be save?
Don’t cut corners
By the way guys, a very similar approximation for 8, which also starts at 9.000 for n=1, but quickly gets much closer to 8 for increasing n, is:
exp{-2(n-1)} + 8It approaches 8 about as fast as the above method but this one has a simple formula that is usable in python etc.
16/2 is an almost exact replacement for 8. OP’s name includes Fermat, and so he’s probably smarter than me though.