Can you calculate Pi using a Solver?
12-10-2019, 07:45 PM
Post: #9
 JurgenRo Member Posts: 181 Joined: Jul 2015
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...

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

Regards.
V.

(Pi^2)/6=sum_{n=1}^{infinity}1/n^2 might fall into the same category.
Juergen
 « Next Oldest | Next Newest »

 Messages In This Thread Can you calculate Pi using a Solver? - EdS2 - 12-09-2019, 01:12 PM RE: Can you calculate Pi using a Solver? - SlideRule - 12-09-2019, 01:44 PM RE: Can you calculate Pi using a Solver? - toml_12953 - 12-09-2019, 01:56 PM RE: Can you calculate Pi using a Solver? - Csaba Tizedes - 12-09-2019, 03:53 PM RE: Can you calculate Pi using a Solver? - toml_12953 - 12-11-2019, 11:50 AM RE: Can you calculate Pi using a Solver? - Albert Chan - 12-11-2019, 01:09 PM RE: Can you calculate Pi using a Solver? - jthole - 12-09-2019, 01:50 PM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 12-09-2019, 03:35 PM RE: Can you calculate Pi using a Solver? - jthole - 12-09-2019, 06:38 PM RE: Can you calculate Pi using a Solver? - JurgenRo - 12-10-2019 07:45 PM RE: Can you calculate Pi using a Solver? - jthole - 12-10-2019, 09:07 PM RE: Can you calculate Pi using a Solver? - mfleming - 12-10-2019, 02:48 AM RE: Can you calculate Pi using a Solver? - Albert Chan - 12-10-2019, 09:35 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-11-2019, 10:29 AM RE: Can you calculate Pi using a Solver? - Roland57 - 12-11-2019, 05:49 PM RE: Can you calculate Pi using a Solver? - Albert Chan - 12-11-2019, 08:00 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-12-2019, 08:18 AM RE: Can you calculate Pi using a Solver? - EdS2 - 12-12-2019, 11:24 AM RE: Can you calculate Pi using a Solver? - SlideRule - 12-12-2019, 02:12 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-12-2019, 03:02 PM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 12-12-2019, 05:49 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-13-2019, 06:35 PM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 12-13-2019, 11:30 PM RE: Can you calculate Pi using a Solver? - SlideRule - 12-14-2019, 12:34 AM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 12-14-2019, 12:56 AM RE: Can you calculate Pi using a Solver? - Werner - 12-16-2019, 12:31 PM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 12-17-2019, 01:22 AM RE: Can you calculate Pi using a Solver? - Stevetuc - 12-17-2019, 07:42 AM RE: Can you calculate Pi using a Solver? - EdS2 - 12-12-2019, 06:03 PM RE: Can you calculate Pi using a Solver? - SlideRule - 12-12-2019, 09:40 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-12-2019, 10:07 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-14-2019, 10:51 AM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 12-14-2019, 09:03 PM RE: Can you calculate Pi using a Solver? - J-F Garnier - 12-15-2019, 10:39 AM RE: Can you calculate Pi using a Solver? - Moggul - 12-16-2019, 09:54 PM RE: Can you calculate Pi using a Solver? - J-F Garnier - 12-17-2019, 08:01 AM RE: Can you calculate Pi using a Solver? - EdS2 - 12-15-2019, 11:28 AM RE: Can you calculate Pi using a Solver? - EdS2 - 12-16-2019, 11:44 AM RE: Can you calculate Pi using a Solver? - EdS2 - 01-07-2020, 06:37 PM RE: Can you calculate Pi using a Solver? - EdS2 - 12-17-2019, 09:36 AM RE: Can you calculate Pi using a Solver? - Gamo - 01-09-2020, 12:10 PM RE: Can you calculate Pi using a Solver? - Namir - 01-10-2020, 05:25 PM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 01-11-2020, 12:21 AM RE: Can you calculate Pi using a Solver? - Namir - 01-11-2020, 12:34 AM RE: Can you calculate Pi using a Solver? - Valentin Albillo - 01-11-2020, 01:01 AM RE: Can you calculate Pi using a Solver? - EdS2 - 01-11-2020, 09:11 AM RE: Can you calculate Pi using a Solver? - Paul Dale - 01-11-2020, 09:49 AM

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