zeta function inaccuracies

Bonnie Saunders shared this question 1 week ago
Needs Answer

I have been computing values of the zeta function and getting discrepancies between geogebra and python.

See attach ggb for Geogebra. Below see python computation using mpmath in python 3.6.1


The python results seem better to me. since zeta values seem to agree to better accuracy on the critical line I think the results off that line could be corrected.


>>> from mpmath import *

>>> zeta(.5+600*j)

mpc(real='1.8257511786980125', imag='1.9503775878011067')

>>> zeta(.51+600*j)

mpc(real='1.8223204155405195', imag='1.8715562026408541')

>>>

Comments (3)

photo
1

Do you know which algorithm Python uses? Maybe we can adapt that

photo
1

I do not know python but maxima is open code

/IPQb5QVnfwEAAF4FvwUNAABQAAQYAACgAAgwAABAARBgAACAAiDAAAAABUCAAQAACoAAAwAAFAABBgAAKAACDAAAUAAEGAAAoAAIMAAAQAEQYAAAgAIgwAAAAAVAgAEAAAqAAAMAABQAAQYAACgAAgwAAFAABBgAAKAACDAAAEABEGAAAIACIMAAAAAFQIABAAAKgAADAAAUAAEGAAAoAAIMAABQAAQYAACgAAgwAABAARBgAACAAvwfUNGSfYuS3UoAAAAASUVORK5CYII=

photo
© 2020 International GeoGebra Institute