Has anybody needed more than 3.14?
Has anybody needed more than 3.14?
These sorts of problems are actually very common in a lot of scientific computing and simulation contexts, which is why many in the scientific computing community look aghast at the rise of FP16 (and even fp32) in machine learning applications. Of course, those algorithms are often of a _very_ different nature from (say) the large-scale linear algebra or PDE solvers we're using, but still it's pretty shocking if you're used to worrying about machine precision!
https://en.wikipedia.org/wiki/Bfloat16_floating-point_format
If you keep your feet on the ground, that's probably enough for most things. But your grandchildren will probably need more, as spaceflight becomes commoditized. A couple of decimal places might mean the difference between landing on Mars, and icy death in the vacuum of space.
Source? If you make that big of an error you're gonna fail your orbital insertion at the other end entirely when going to places like Mars, let alone any farther.
So I'll reiterate, I want to see a source that NASA uses only 3.14 as the value for pi in making their trajectory calculations. And I want to point out the absurdity of even so much as having this debate in the very comment thread for an article on nasa.gov where NASA itself is saying that they use 3.141592653589793 for pi. We already have as good as a source as we're going to find, and there's a lot more sig figs in it than 3!
So how much uncertainty comes from other sources when deciding on an initial burn for your trip to Mars? Contributing factors could be your fine control over the thrust from the rocket engine, but also solar radiation, gravity or - I suspect this is biggest - attitude control.
I'd guess NASA can achieve a precision of better than 1/500 but probably not 1/50,000, so they'd need about 5 or 6 digits of pi. But I'm interested in hearing a more educated guess!
[0] https://en.m.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_samp...
The book "Inventing Accuracy" is about missile guidance (which has mostly the same issues) and discusses the various sources of error in detail and the various contributions to the "error budget".
For example: I don't think rockets start on course with a precision of 1e-3, and even if they do, small atmospheric changes will probably cause errors greater than that. I assume the feedback loop of the guidance systems easily smooth over errors this small. So while the theoretical trajectory calculations need more precision, the real world guidance might do not.
Another consideration: Is e.g. the length of the rocket know this precise? If temperature on a day changes over a range of e.g. 10 degrees, the materials might expand and contract more than 1e-3.
Now that's NASA. There are clearly things requiring much smaller errors. My CPU litography being off a factor 1e-3 will not end well.
I meant the quest in my everyday life. If I build a round table for my home, 3.14 will probably serve me well enough on the drawing table. At what point will random Joe Shmoe notice when pi is not exactly 3.14