Post Reply 
Happy Pi Day!
12-13-2021, 12:41 AM
Post: #12
RE: Happy Pi Day!
(12-12-2021 06:44 PM)DM48 Wrote:  Gerson, below is part of a python spigot algo my son uses to calculate PI. The range 10,000,000 would need to be reduced a lot for the HP48G. Any thoughts on the best way to program this up in RPL?
...

Hi,

Pi Day 2022 is still a bit away, but this is not a problem. The problem is I do not understand Python. Anyway, I may give it a try later if I figure out how it works.
In Pi Day 2009 Egan Ford presented a comprehensive collection of programs to calculate Pi, including "HP-71B Spigot Forth" (1000 digits in 6720.22 seconds). Perhaps it should be easier to convert that one to RPL.

https://www.hpmuseum.org/cgi-sys/cgiwrap...ead=148399

Regarding the formula in the OP, I've found a nicer one. An RPL program is also offered in the vein "it's slow but it's mine" :-) (357 decimal digits in 3820.207 seconds)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Happy Pi Day! - Gerson W. Barbosa - 03-14-2020, 02:08 AM
RE: Happy Pi Day! - pinkman - 03-14-2020, 06:19 AM
RE: Happy Pi Day! - Gerson W. Barbosa - 03-14-2020, 02:53 PM
RE: Happy Pi Day! - rprosperi - 03-14-2020, 05:04 PM
RE: Happy Pi Day! - Jim Horn - 03-14-2020, 05:15 PM
RE: Happy Pi Day! - Gerson W. Barbosa - 03-14-2020, 12:17 PM
RE: Happy Pi Day! - Dave Britten - 03-14-2020, 12:47 PM
RE: Happy Pi Day! - BruceH - 03-15-2020, 11:32 AM
RE: Happy Pi Day! - Eddie W. Shore - 03-15-2020, 07:29 PM
RE: Happy Pi Day! - DM48 - 12-12-2021, 06:44 PM
RE: Happy Pi Day! - Albert Chan - 12-12-2021, 11:04 PM
RE: Happy Pi Day! - Gerson W. Barbosa - 12-13-2021 12:41 AM
RE: Happy Pi Day! - DM48 - 12-13-2021, 01:54 AM
RE: Happy Pi Day! - Gil - 12-13-2021, 01:21 AM
RE: Happy Pi Day! - Gerson W. Barbosa - 12-13-2021, 03:57 AM



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