In mathematics, the Nth harmonic number is defined to be 1 + 1/2 + 1/3 _ 1/4 + … + 1/n.   So, the first harmonic number is 1, the second is 1.5, the third is 1.833… and so on.  Write an expression whose value is the 8th harmonic number.

LANGUAGE: Visual Basic

CHALLENGE:

In mathematics, the Nth harmonic number is defined to be 1 + 1/2 + 1/3 _ 1/4 + … + 1/n.  
So, the first harmonic number is 1, the second is 1.5, the third is 1.833… and so on.  

Write an expression whose value is the 8th harmonic number.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?