Calculates the n:th sum in the harmonic series. For explanations of how this is done, click the link above.
Number of terms:Calculates the inverse harmonic number, i.e. how many terms we need to reach a given sum.
May be off by one. But you can always test it by copying it to the above and adjusting it there.