Sum of Harmonic Series of natural numbers
Versione 1.0.14 (1,13 KB) da
Dr. Manotosh Mandal
Matlab code for the sum of Harmonic Series (1+1/2+1/3+....+1/n, n is a natural number)
For details watch the lecture: https://youtu.be/A6hq2Wd87kA
Sum of the Harmonic Series.
Find sum of 1+1/2+1/3+....+1/n, n is a natural number.
Example:
Enter the number of terms: 5
The sum is 2.283 >>
Cita come
Dr. Manotosh Mandal (2024). Sum of Harmonic Series of natural numbers (https://www.mathworks.com/matlabcentral/fileexchange/72542-sum-of-harmonic-series-of-natural-numbers), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Time Series in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.