Problem 57422. Harmonic series counting
The function takes a positive limit as input,
And counts how many terms must be summed in the harmonic series:
1/1, 1/2, 1/3, 1/4, ..., 1/N
until the sum of the terms in the series is greater than the given limit.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers31
Suggested Problems
-
Return the largest number that is adjacent to a zero
5422 Solvers
-
5993 Solvers
-
349 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12305 Solvers
-
Multiples of a Number in a Given Range
775 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!