Hacker News new | ask | show | jobs
by borlox 828 days ago
a) 3/14 = 0.21428571428 b) If I take reasonable date formats, it's date 2024-03-14 = 2007 today

But kudos for only taking the first three digits, 3.14, as approximation for pi, which is in nearly all cases enough. Some friends in automotive engineering even tried using pi = 3 and 2*pi = 7 for a while, and the results were good enough.

3 comments

You also have 22nd July the pi approximation day, which is also mentioned in Wikipedia and much more accurate.
And November 10th (November 9th, this year), as the 314th day of the year.

You can find quite a few excuses to eat pie.

I generally do not need an excuse to eat pie.

Your mileage may vary.

Much more? Or slightly more.

If the number of digits in x/y and number in a decimal version are the same, the accuracy is approximately equal

You are correct. In hindsight I was quite tired back then and probably thinking of 355/113 or an average between 3.14 and 22/7 (~= 3.14143) instead...
6 digits vs 6 digits, works again
2*pi = 7 is impressive, given that 6 would be closer. Thats dedication to having bad approximations haha.
> Some friends in automotive engineering even tried using pi = 3

Did they end up with engine cylinders that were hexagonal in cross-section?