Problem 46873. Sum of terms in a series 2 (★★★)
Solution Stats
Problem Comments
-
2 Comments
Please, do not use isqual with floats, instead use abs(x1-x2) < 1e-10 for instance. A number like 0.1 is infinite and periodic in base 2.
The test suite is updated to use a tolerance check.
Problem Recent Solvers25
Suggested Problems
-
11309 Solvers
-
Find nearest prime number less than input number
439 Solvers
-
Matlab Basics II - Log and natural log
151 Solvers
-
4792 Solvers
-
77 Solvers
More from this Author52
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!