HP Forums
Problem evaluating Zeta function - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Problem evaluating Zeta function (/thread-5623.html)



Problem evaluating Zeta function - retoa - 02-01-2016 08:43 AM

Hello all!

I was trying to evaluate the Riemann Zeta function.
Both in home and CAS it works when the imaginary part is an integer, I can evaluate Zeta(0.5+14i).
When the imaginary part is not an integer I become an answer containing the Eta function, I have found no way to have an approximate (real+imaginary) result. So for Zeta(0.5+14.1i) I can not find any usable evaluation.

How should I do it?

Thank you very much

Reto


RE: Problem evaluating Zeta function - retoa - 02-01-2016 08:36 PM

Same behavior in xcad pad (with Eta function).
xcas on the PC (linux) evaluate it correctly and gives a complex number as a result.


RE: Problem evaluating Zeta function - Tim Wessman - 02-01-2016 08:45 PM

Haven't looked at the source, but I'm guessing the numerical evaluation is tied in with one of the gpl license libraries and there is no alternate evaluation path... hence the ios one and also prime don't evaluate there.


RE: Problem evaluating Zeta function - parisse - 02-02-2016 07:25 AM

That's correct, PARI/GP is used on the PC... but there is giac code to handle Zeta computation as you can check with Xcas in your browser
http://www-fourier.ujf-grenoble.fr/~parisse/xcasen.html
It was probably not available when the last publicly available firmware was released.


RE: Problem evaluating Zeta function - retoa - 02-02-2016 01:37 PM

Thank you Parisse,

I saw that xcas can compute it.

Does this mean that after the next firmware update the HP Prime will be able to compute Zeta function?


RE: Problem evaluating Zeta function - Tim Wessman - 02-02-2016 03:18 PM

(02-02-2016 01:37 PM)retoa Wrote:  Does this mean that after the next firmware update the HP Prime will be able to compute Zeta function?

When/if there is another firmware update, then yes it would compute. I'd suspect that the ios one will right now, but I don't have a device handy to test.


RE: Problem evaluating Zeta function - douganc - 02-02-2016 06:32 PM

Yes, it works on the iOS prime app. I checked it against Wolfram Alpha. Both give the same result. Colm.