Riemann's Zeta Function - another approach (RPL)
|
08-01-2017, 11:46 AM
(This post was last modified: 08-01-2017 12:04 PM by Dieter.)
Post: #73
|
|||
|
|||
RE: Riemann's Zeta Function - another approach (RPL)
(07-31-2017 06:31 PM)Gerson W. Barbosa Wrote: I wonder what might have caused these differences. The coefficients were copied from your HP-41C listing: I just found that this might be the reason why your result for x=0 is not exactly –0,5 and others may be slightly off as well: for instance Zeta(0,5) and Zeta(2) should return the exact 12-digit values -1.46035450881 and 1,64493406685, actually Free42 returns even 13 correct digits here. On Free42 (and I suppose on a real hardware 42s) you cannot enter line 60 resp. 140 as the numbers are too long and the last digit is omitted. Could you check this please and try 7.215664988 E-3 resp. 7.215664464 E-3 here? BTW, I am now testing a Free42 version, essentially your code but with a new approximation for 0,5...1. The only problem is x=0 as the reflection formula would cause an attempt at calculating Zeta(1). Anyway, the results look quite promising once the number of terms for x>2 is sufficiently large. With about 200/x terms (a very rough estimate) the largest error I noticed for your examples above was 2 ULP. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)