Question: ( 2 0 pt ) You deposit $ 1 0 , 0 0 0 initially and $ 5 , 0 0 0 at the end
pt You deposit $ initially and $ at the end of each year. The account pays annual interest.
a Use a while loop in MATLAB to determine how many years it will take to accumulate $ in your bank account
b How much will you have in your bank account at the end of th year?
c Write a function called fmillionaire' based on what you created for a which received inputs target amount of money, the annual interest rate, initial deposit, annual saving and provides output the years it takes to achieve the target money you select as the input
d Validate the function you created by running it and checking if you get the same result as what you got from a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
