Question: (b) Write a similar function (interestWith Deposits.m) that accepts all values as above, but now allows the user to deposit a set amount every year

(b) Write a similar function (interestWith Deposits.m) that accepts all values as above, but now allows the user to deposit a set amount every year (assume the deposit is one lump sum once per year). Again, display a table with annual values and plot the accumulated amount vs the time in years. Run your function with the following values: principal rate time frequency annual deposit $10,000 9% 30 years quarterly $5,000 $10,000 9% annually $5,000 $1,000 12% annually $500 $100,000 4% semi-annually $10,000 30 years 20 years 10 years (b) Write a similar function (interestWith Deposits.m) that accepts all values as above, but now allows the user to deposit a set amount every year (assume the deposit is one lump sum once per year). Again, display a table with annual values and plot the accumulated amount vs the time in years. Run your function with the following values: principal rate time frequency annual deposit $10,000 9% 30 years quarterly $5,000 $10,000 9% annually $5,000 $1,000 12% annually $500 $100,000 4% semi-annually $10,000 30 years 20 years 10 years
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
