(12C) Find the Nth Harmonic number
|
04-20-2022, 01:03 PM
(This post was last modified: 04-20-2022 01:14 PM by Gamo.)
Post: #1
|
|||
|
|||
(12C) Find the Nth Harmonic number
Information about Harmonic Number
https://en.wikipedia.org/wiki/Harmonic_number Instead of calculating the sum of the reciprocals of the first N natural numbers n 1 + Σ (1/x) with this summation its easy to do on some calculator that already x=2 have this Summation Function with this program the computation speed is fast since it doesn't have to continue sum up all the needed reciprocals from 2 up to N ---------------------------------------------------- Example: Find 50th of the Harmonic Number 50 [R/S] display answer ≈ 4.499 ---------------------------------------------------- Program: Code:
Gamo Remark: The Summation Formular above can be use to test on Casio fx-911ex as shown above. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Find the Nth Harmonic number - Gamo - 04-20-2022 01:03 PM
RE: (12C) Find the Nth Harmonic number - Albert Chan - 04-20-2022, 07:04 PM
|
User(s) browsing this thread: 1 Guest(s)