Problem 56135. Ordinary Annuity : Rate (Future Value)
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
William
on 1 Oct 2022
The "correct" values of r used in these tests all appear to have errors greater than the tolerance of 1e-4, as you can verify by plugging them in to the formula for Future Value.
Mehmet OZC
on 1 Oct 2022
Thanks for the catch. I have updated the test suite.
William
on 1 Oct 2022
Thanks Mehmet, but there are still big errors. The correct answers are:
Test 1: r = 0.08837372469
Test 2: r = 0.06774487509
Test 3: r = 0.01422142597
Mehmet OZC
on 1 Oct 2022
I fixed the errors. I also updated the assert statements.
Rafael S.T. Vieira
on 3 Nov 2022
Good problem.
Problem Recent Solvers14
Suggested Problems
-
Return the 3n+1 sequence for n
7353 Solvers
-
16563 Solvers
-
find the roots of a quadratic equation
209 Solvers
-
Add a row of zeros on top of a matrix
234 Solvers
-
566 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!