Problem 56135. Ordinary Annuity : Rate (Future Value)
- F : Future value
- A : Periodic payment
- r : Rate per period
- n : Number of periods (payments)
Solution Stats
Problem Comments
-
5 Comments
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.
Thanks for the catch. I have updated the test suite.
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
I fixed the errors. I also updated the assert statements.
Good problem.
Solution Comments
Show commentsProblem Recent Solvers17
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5630 Solvers
-
13984 Solvers
-
Project Euler: Problem 3, Largest prime factor
1428 Solvers
-
Duplicate each element of a vector.
604 Solvers
-
Matlab Basics II - 3 Dimensional Arrays
117 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!