Post Reply 
Can you calculate Pi using a Solver?
12-10-2019, 07:45 PM
Post: #9
RE: Can you calculate Pi using a Solver?
(12-09-2019 03:35 PM)Valentin Albillo Wrote:  
(12-09-2019 01:12 PM)EdS2 Wrote:  I'm wondering what approaches there might be for computing Pi using one of the Solvers on the various HP calculators. Of course, no trig functions allowed!

Let's call this a mini-challenge, unless it turns out to be so easy and obvious that it's a nano-challenge.

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...

[Image: 0993bfb34b91c895c4a55899e71b875dc8d4dd3b]

... and no trigs used, as requested, just basic arithmetic. Once you get 1/Pi just invert it with 1/x


(Pi^2)/6=sum_{n=1}^{infinity}1/n^2 might fall into the same category.
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? - JurgenRo - 12-10-2019 07:45 PM

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