Post Reply 
Another Ramanujan Trick
10-03-2019, 09:44 PM
Post: #18
RE: Another Ramanujan Trick
(10-03-2019 07:58 PM)Gerson W. Barbosa Wrote:  
(10-02-2019 11:14 PM)Valentin Albillo Wrote:  You forgot to include the <justjoking> ... </justjoking> tags.

No need to. I knew I could count on your sense of humor.

Of course you can count on it. Smile

Quote:I thought the associated polynomial is interesting just the same. It arises from noticing that the 34th power of pi is 8.00010471505E16, whose underlined digits match the first digits of pi/3.

Nice find, indeed. Did you mention it in the past ? I seem to remember having read about it in one of your old posts but I may just be mistaken.

Quote:I forgot to mention that it take more than 3 minutes for the HP-71B to show the result.

To be fair, you must consider that it's not simply computing just the one root you're interested in for your approximation to Pi, but rather it's simultaneously computing all 34 complex roots to full accuracy (using 15 digits internally). By the time the 3 minutes have elapsed you have the 68 components of the 34 complex roots readily stored in complex array B(), though you then go and use just one of them.

Considering this fact, 3 minutes doesn't seem that long, it comes to less than 5.3 seconds per 12-digit root. And, perhaps, using FNROOT instead to compute just the one root you're interested in would be much faster than using PROOT to compute all 34 roots. Did you try ?

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
Another Ramanujan Trick - ttw - 09-29-2019, 06:45 AM
RE: Another Ramanujan Trick - Thomas Okken - 09-29-2019, 09:17 AM
RE: Another Ramanujan Trick - ijabbott - 10-03-2019, 07:21 AM
RE: Another Ramanujan Trick - ijabbott - 10-03-2019, 08:23 PM
RE: Another Ramanujan Trick - Valentin Albillo - 10-03-2019 09:44 PM
RE: Another Ramanujan Trick - ttw - 09-29-2019, 01:28 PM
RE: Another Ramanujan Trick - Albert Chan - 09-29-2019, 03:23 PM
RE: Another Ramanujan Trick - ttw - 09-29-2019, 05:09 PM
RE: Another Ramanujan Trick - Helix - 10-19-2019, 11:59 PM
RE: Another Ramanujan Trick - grsbanks - 10-19-2019, 05:46 PM
RE: Another Ramanujan Trick - rprosperi - 10-19-2019, 11:43 PM



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