Problem 46873. Sum of terms in a series 2 (★★★)
40.0% Correct | 60.0% Incorrect
Last Solution submitted on Oct 27, 2022
Rafael S.T. Vieira on 18 Oct 2020
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.
goc3 on 27 Oct 2020
The test suite is updated to use a tolerance check.
Problem Recent Solvers31
Who is the smartest MATLAB programmer?
Find the Nth Root of a Given Number
Sum of the Multiplication of Vectors
More from this Author52
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!