Can you calculate Pi using a Solver?
|
12-10-2019, 09:07 PM
(This post was last modified: 12-10-2019 09:36 PM by jthole.)
Post: #10
|
|||
|
|||
RE: Can you calculate Pi using a Solver?
(12-10-2019 07:45 PM)JurgenRo Wrote:(12-09-2019 03:35 PM)Valentin Albillo Wrote: If your Solver has Square Root and Factorial, this one from Ramanujan converges very fast and it's quite simple, few bytes to program it and only a few terms to add up for full precision... Converges much more slowly though. I just let it run from n=0 to 1 million (on the 17Bii simulator on my iPhone), and the difference with the Pi constant is still -9,5x10E-7. In contrast, the one suggested by Valentin already equals the Pi constant for n=2. I'll test it on the 17Bii later, to see how much slower than the iPhone 7 it is Edit: in order not to pollute this thread, I posted the results here: https://www.hpmuseum.org/forum/thread-14101.html 11C, 12C, 17Bii, DM42 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)