Post Reply 
Can you calculate Pi using a Solver?
12-09-2019, 03:35 PM
Post: #5
RE: Can you calculate Pi using a Solver?
(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

Regards.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website 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? - Valentin Albillo - 12-09-2019 03:35 PM



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