Theorem : Future Value of an Ordinary Annuity
where;
- F : Future value
- A : Periodic payment
- r : Rate per period
- n : Number of periods (payments)
Calculate r, given, F, A and n. Assume interest rate is a positive real number.
Solution Stats
Problem Comments
5 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers19
Suggested Problems
-
Remove any row in which a NaN appears
8787 Solvers
-
Find the maximum number of decimal places in a set of numbers
3563 Solvers
-
Determine the length of a string of characters
268 Solvers
-
394 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 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!
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.