Live data from Hacker News

How Many Decimals of Pi Do We Really Need?

jpl.nasa.gov

41–50 of 134 posts

Re: How Many Decimals of Pi Do We Really Need?

#41
post #37
post #22

Earlier quoted context omitted.

A branch of physics used to be taught a long time ago called "numerical analysis" to deal with this issue. We even used to be careful about the difference between 'precise and exact'. Pi = acos(0) is absolutely exact. But computer don't know about symbolic calculus. So to put the value in a register we used tricks. Pi as a the converging value at the infinite of the Taylor development is awesome. But computer don't k…

I can't speak for other nations, but they still teach numeric analysis in Chinese universities as an undergraduate course. In my university it is a required subject. Many of us have countless dreadful memories of Runge-Kutta method, Euler's method, Newton's method, rate of convergence, numerical stability and error margins, just to name a few of the dreads...

Same in Portugal

Re: How Many Decimals of Pi Do We Really Need?

#42

If you know the diameter of the observable Universe and you want to calculate its circumference with the accuracy of the diameter of a proton, the number of digits of pi that you need is 43.

I think this assumes the order of magnitude of the size of the observable universe.

Clearly if the diameter of the universe is smaller than a proton then you don't need 43 digits of pi to calculate its circumference to smaller than the diameter of a proton. So if the diameter of the universe is 10^1000000^100000000 proton wide the precision you need for pi would be way higher than 43?

Re: How Many Decimals of Pi Do We Really Need?

#43
post #27

Earlier quoted context omitted.

Hand-held calculators might have been carried on many NASA missions, but not the early ones. The first missions started in 1961 and hand-held HP calculators weren't invented until more than ten years later. By that time we had already been to the moon 6 or 7 times. The first actual hand-held calculator I every saw was a Bowman Brain (simple 4 function calculator) it was for sale in 1971 at the MIT COOP (the bookstore…

Did the astronauts use slide rules? I know the E6B is pretty common for pilots still.

> I know the E6B is pretty common for pilots still.

I've used that before. It is not a standard logarithm stick but a vector addition tool. Does one thing very quickly.

Re: How Many Decimals of Pi Do We Really Need?

#44

If you know the diameter of the observable Universe and you want to calculate its circumference with the accuracy of the diameter of a proton, the number of digits of pi that you need is 43.

The smallest possible distance is the Plank lenght, 1,610^-35 (110^-15 is the diameter of a proton). And for that you only need around 60 digits of pi to calculate the circumference of the universe.

Of course, that is just for the simple operation of calculate the circumference given the diameter, more complex operations with pi may require more precision.

Re: How Many Decimals of Pi Do We Really Need?

#45
post #42

If you know the diameter of the observable Universe and you want to calculate its circumference with the accuracy of the diameter of a proton, the number of digits of pi that you need is 43.

I think this assumes the order of magnitude of the size of the observable universe. Clearly if the diameter of the universe is smaller than a proton then you don't need 43 digits of pi to calculate its circumference to smaller than the diameter of a proton. So if the diameter of the universe is 10^1000000^100000000 proton wide the precision you need for pi would be way higher than 43?

It does depend on the size of the observable universe, which we do know because, well, it's observable.

Re: How Many Decimals of Pi Do We Really Need?

#46
post #38

If you know the diameter of the observable Universe and you want to calculate its circumference with the accuracy of the diameter of a proton, the number of digits of pi that you need is 43.

I've always heard the number is around 50, but do you have any references to show that as being correct?

This [1] puts it at 44.

[1] http://www.wolframalpha.com/input/?i=observable+universe+dia...

Re: How Many Decimals of Pi Do We Really Need?

#47
post #37
post #22

Earlier quoted context omitted.

A branch of physics used to be taught a long time ago called "numerical analysis" to deal with this issue. We even used to be careful about the difference between 'precise and exact'. Pi = acos(0) is absolutely exact. But computer don't know about symbolic calculus. So to put the value in a register we used tricks. Pi as a the converging value at the infinite of the Taylor development is awesome. But computer don't k…

I can't speak for other nations, but they still teach numeric analysis in Chinese universities as an undergraduate course. In my university it is a required subject. Many of us have countless dreadful memories of Runge-Kutta method, Euler's method, Newton's method, rate of convergence, numerical stability and error margins, just to name a few of the dreads...

And this ? https://zh.wikipedia.org/wiki/%E6%91%84%E5%8A%A8%E7%90%86%E8... (pt https://pt.wikipedia.org/wiki/Teoria_de_perturba%C3%A7%C3%B5...) (fr https://fr.wikipedia.org/wiki/Th%C3%A9orie_des_perturbations)

Re: How Many Decimals of Pi Do We Really Need?

#48
post #22

This overlooks the issue that for repeated calculations, such as numerical integration, the trouble comes from accumulated roundoff errors. Even 16 digits of precision can become 0 digits pretty quickly if you're not very careful.

A branch of physics used to be taught a long time ago called "numerical analysis" to deal with this issue. We even used to be careful about the difference between 'precise and exact'. Pi = acos(0) is absolutely exact. But computer don't know about symbolic calculus. So to put the value in a register we used tricks. Pi as a the converging value at the infinite of the Taylor development is awesome. But computer don't k…

Physics? Numerical analysis is Mathematics. It's still active and very important, e.g., in solving PDEs using the finite element method.
Post reply on HN