Question: On 31 December of year 0, a grandmother opens a bank account with 1,700$ for her daughter. On 31 December of each year (excluding

On 31 December of year 0, a grandmother opens a bank account 

On 31 December of year 0, a grandmother opens a bank account with 1,700$ for her daughter. On 31 December of each year (excluding year 0), she pays 'interest', that is, she deposits an amount that corresponds to 2.5% of the account balance on that day into the account. Further, in each year (excluding year 0), immediately after the 'interest payment on 31 December, she deposits an additional 130$ to the account. Let A, denote the amount of money in the account on 31 December of year n (after interest payment and deposit). Option 2: On 31 December of year 0, a grandmother opens a bank account with 1,700$ for her granddaughter. Starting in year 1, she deposits 125$ into this account on 1 January of every year. On 31 December of each year (excluding year 0), she pays 'interest', that is, she deposits an amount that corresponds to 2.5% of the account balance on that day to the account. Let B, denote the amount of money in the account on 31 December of year n (at close of business, that is, after the interest was paid). (a) Find a recursive definition for A. (You may find it helpful to draw a timeline.) (b) Find a recursive definition for B. (You may find it helpful to draw a timeline.) (c) Write a MATLAB program that computes A, and B, for n - 0,1,2,..., 12, and that displays the values in three columns: n, An, B, with appropriate headings. Include a printout of the output with your solution. (d) Use MATLAB to create a plot showing A,, and B, as a function of n for years 1 to 12. Label your axes appropriately. Include a printout of the plot with your solution. (e) Adapt your MATLAB program so that it computes how much total interest is accrued for each of the two schemes in the years n 12, and what the average amount of interest is that is paid for each scheme per year over the years 12. Provide the average amount of yearly interest for each of the two schemes.

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer Step 1 Part a Calculate the first 2 terms and then ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!