Post Reply 
Can you calculate Pi using a Solver?
01-11-2020, 12:34 AM (This post was last modified: 01-11-2020 12:39 AM by Namir.)
Post: #44
RE: Can you calculate Pi using a Solver?
(01-11-2020 12:21 AM)Valentin Albillo Wrote:  
(01-10-2020 05:25 PM)Namir Wrote:  Using the series developed by the Chudnovsky formula published in 1987, I can calculate pi to 14 digits using just ONE TERM!: [...]
pi = 640320^1.5/(12*13591409)

Namir

Your expression includes 640320, 1.5, 12 and 13591409, which means you're using 18 digits to get just 14 digits of Pi.

That's highly inefficient: using 18 digits to output 14 digits => 18-14 = -4 digits "gained" (lost, more like).

Far better woould be:

          3*Ln(640320)/√163 = 3,1415926535897930+

which gives 17 digits (save 2 ulps) while using just 10 digits, i.e., 17-10 = +7 digits gained.

Besides, nothing of this has anything to do with getting Pi using a Solver, as the OP requested.

V.

Thanks for your version. I don't see the logic in using Solve to calculate pi. Curiosity to use Solve? Maybe? Using recursive formulas or even integrals comes across as more sensical.

Your version, based on a single-term of the the Chudnovsky formula, leaves 355/113 in the dust!!!

Namir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can you calculate Pi using a Solver? - Namir - 01-11-2020 12:34 AM



User(s) browsing this thread: 1 Guest(s)