Suppose you will be able to deposit the following monthly amounts into a savings account for a period of five years. The account initially has no money in it.

At the end of each year, you withdraw $2000 to buy a certificate of deposit (CD) which pays 6% interest compounded annually.

a/ Write a function that takes savings interest rate as input and outputs how much money will be accumulated over five years, both in the account and in any CDs purchased.

b/ Write an M-file that uses your function in part (a) to compute how much money will be accumulated in five years in the account and in any CDs purchased for the savings interest rates of 4% and 5%.