Riemann's Zeta Function - another approach (RPL)
|
07-31-2017, 03:59 PM
Post: #69
|
|||
|
|||
RE: Riemann's Zeta Function - another approach (RPL)
(07-30-2017 10:18 PM)Dieter Wrote: I tried Free42 BCD where Gamma seems to be good for 30+ digits. So the results should only be limited by the approximation error. However, for x>2 the number of terms (cf. line 38 ff. in the 42s Zeta program) of course has to be adjusted in a higher precision environment. ;-) This should improve the results for x>2 resp. x<–1. I've tested it on Emu42 set to "Authentic Calculator Speed". The number of terms hasn't been adjusted yet, thus accuracy differences between both can be highlighted: 3 XEQ "ZETA" --> 1.20205690313 (6) (4.0 s) 2.001 R/S --> 1.64399751259 (24) (4.4 s) 2 R/S --> 1.64493406684 (5) (1.2 s) 1.5 R/S --> 2.61237534867 (9) (1.2 s) 0.5 R/S --> -1.46035450879 (81) (1.1 s) 0 R/S --> -0.500000000004 (0) (1.1 s) -0.5 R/S --> -0.207886224976 (7) (1.6 s) -1 R/S --> -0.0833333333333 (33) (1.5 s) -1.001 R/S --> -0.0831680372464 (281) (4.8 s) -1.5 R/S --> -0.0254852018936 (898) (4.7 s) -2 R/S --> 0.0000000000000 (4.4 s) -3 R/S --> 0.00833333333194 (333) (3.7 s) -5 R/S --> -0.00396825396798 (825) (3.3 s) -7 R/S --> 0.00416666666664 (7) (3.1 s) Code:
Your code (lines 027-159) is still intact :-) Gerson. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)