EXAMPLE Matlab Help

Growth of a Bank Account

Determine how long it will take to accumulate at least $10.000 in a bank account if you deposit $500 initially and $500 at the end of each year. if the account pays 5 percent annual interest.

Solution

Because we do not know how many years it will take, a while loop should be used. The ,
script file is the following.

Capture

The final results are amount 14 years.

Posted on July 30, 2015 in An Overview of MATLAB

Share the Story

Back to Top
Share This