this post was submitted on 12 Mar 2024
129 points (94.5% liked)

Asklemmy

43847 readers
696 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

This article says that NASA uses 15 digits after the decimal point, which I'm counting as 16 in total, since that's how we count significant digits in scientific notation. If you round pi to 3, that's one significant digit, and if you round it to 1, that's zero digits.

I know that 22/7 is an extremely good approximation for pi, since it's written with 3 digits, but is accurate to almost 4 digits. Another good one is √10, which is accurate to a little over 2 digits.

I've heard that 'field engineers' used to use these approximations to save time when doing math by hand. But what field, exactly? Can anyone give examples of fields that use fewer than 16 digits? In the spirit of something like xkcd: Purity, could you rank different sciences by how many digits of pi they require?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 8 months ago

I can't say "professionally" but I learned CAD design with FreeCAD, and know the topological naming issue thoroughly.

Almost all "mystery" problems in CAD are due to a combination of the hacks that get around the Topological Naming Issue and Ο€.

In CAD, you cookie, you brownie, you might even salad, but you stay the hell away from importing Ο€ as a reference on anything complex. For 3D printing, I never need better than 0.05mm so 3.1416.

[–] [email protected] 3 points 8 months ago

Embedded engineer, working in education. I use 3 for mental estimations and whatever is stored in the calculator, I have happened to grab, for "precision" work. Sometimes I'll even round pi to 4, to build in some tolerance when calculating materials.

[–] [email protected] 4 points 8 months ago

Mechanical engineer here - Matlab uses 16 digits for pi(), so that's my go-to. When doing some larger thermodynamic simulations, I sacrifice some digits of pi to get more computational headroom. But that's only after I get really annoyed at the code, and it almost never helps (but rarely hurts, as well)

[–] [email protected] 1 points 8 months ago (1 children)

Well, I have two answers. If it is mental math I use 3.1 and round up. If I am calculating something I care about I use my TI-86 which has pi to 14 digits.

Practically speaking, I don't often need to convert diameter to circumference but I do occasionally need to calculate area or volume and in those cases I have way more error in other measurements or assumptions (2 or 3 digits) so 5 digits of pi is more than enough.

[–] [email protected] 1 points 8 months ago (1 children)

So you round up 3.1 to 3.2?

[–] [email protected] 1 points 8 months ago

No I round the result to compensate for the error.

[–] [email protected] 7 points 8 months ago

Back in middle school I memorized this much of pi (for no good reason):

3.14159265358979323846264338327950288419716939937510

That’s far more accurate than I’ll ever need.

[–] [email protected] 9 points 8 months ago (1 children)

I'm a programmer and I remember 33 digits, but in practice I never use pi because I never have to deal with geometry

[–] [email protected] 1 points 8 months ago

Game programmer here, lots of geometry. Usually 16 digits after the dot is ok. In graphics programming is also useful to define and use Tau (π×2), also defined to 16 digits

[–] [email protected] 2 points 8 months ago

I'm a nothing in particular, and I used to remember 100 digits. I could probably remember again in an hour.

[–] [email protected] 11 points 8 months ago (1 children)

I'm British, not American, so I use 7/22.

[–] [email protected] 2 points 8 months ago

Rub it in, metric Ο€, you imperialist rebel.

[–] [email protected] -2 points 8 months ago
[–] [email protected] -2 points 8 months ago
[–] [email protected] -2 points 8 months ago
[–] [email protected] 8 points 8 months ago* (last edited 8 months ago) (1 children)

Prototyping. I just checked and my slide rule has a notch for pi. So, all of them.

[–] [email protected] 1 points 8 months ago (1 children)

But how many digits of the result do you use?

[–] [email protected] 2 points 8 months ago

None of them! Numbers are a poor way to communicate with most of my clients.

On the rare exception, it depends on the number of significant digits of the measurement I (for example) multiply it with. Digits past that don't communicate any useful information.

[–] [email protected] 17 points 8 months ago* (last edited 8 months ago)

I'm an auditor. Zero digits is the norm if I have to use Pi there is something VERY wrong

[–] [email protected] 35 points 8 months ago

baker. I measure pie based on how much I can fit in my mouth

[–] [email protected] 7 points 8 months ago* (last edited 8 months ago) (1 children)

Mechatronics student. If your not using 3.1416 at a minimum, then your doing it wrong.

[–] [email protected] 10 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months ago
[–] [email protected] 8 points 8 months ago (1 children)

Mostly I'll just go with M_PI.

355/113 = 3.14159292035398 is close enough for my needs.

[–] [email protected] 1 points 8 months ago

That is pretty good, accurate to 3.141592.

[–] [email protected] 5 points 8 months ago (1 children)

I don't use Pi but I do use GPS fairly often and try to get down to 7 digits after the decimal point. Our equipment probably isn't quite that accurate though lol so the seventh digit is likely a guess. Probably even the 6th digit.

[–] [email protected] 6 points 8 months ago

Well I’m an uber driver and I’m requesting you start using 9 or 10 digits because my passengers are all over the place when I’m supposed to be able to see where they are.

[–] [email protected] 11 points 8 months ago

As a pilot I can't think of a time I've ever done numbers math with pi. Private pilots are taught to use an E6B flight computer, which is basically a device for accurately drawing and measuring the triangle you're looking to solve instead of doing algebra and arithmetic.

In the wood shop, if I do have to do algebra rather than just drawing a circle with a compass, I'll use 3.14, and I still have to round to the nearest 32nd of an inch.

[–] [email protected] 21 points 8 months ago (1 children)

I am a farmer who has to graft pipe cuts at various angles. i use 3.14159. which is plenty since i am measuring my cuts to the nearest eighth of an inch and i am not sending this ish to the moon.

[–] [email protected] 10 points 8 months ago (1 children)

I would like to hear more about rice farming and if the rice is tall or you are.

[–] [email protected] 8 points 8 months ago

hmm rice can get pretty tall. i guess my username should be talltallricefarmer

load more comments
view more: next β€Ί