HP Forums

Full Version: Harmonic numbers on the HP 50g
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently discovered that the HP 50g function Psi (in MTH NXT SPECIAL) delivers the nth harmonic number:

Hn = Psi(n + 1) – Psi(1)

[and that, by the way, –Psi(1) = 0.577215664902, the Euler constant].

This observation, together with the numerical SOLVE command, allows quick disposal of (say) the problem of finding the smallest integer k for which Hk > 7.6, and it might more generally be useful in mathematics teaching.
I implemented the digamma function for the 34S but it didn't make it in Sad

But where to stop including useful functions....


- Pauli
(06-02-2014 10:07 PM)Paul Dale Wrote: [ -> ]I implemented the digamma function for the 34S but it didn't make it in Sad
But where to stop including useful functions....

Digamma (Psi) is also useful to obtain the inverse Gamma using Newton's method, there was a thread in the old forum about that but can't find it now.

edit: here's the link

The SandMath has both the harmonic number and Psi functions - the accuracy limited to 10 digits of course.

Cheers,
'AM
Reference URL's