Consider the following two saving schemes. Option 1: 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 An 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 Bn 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 An. (draw a timeline.) (b) Find a recursive definition for Bn. (draw a timeline.)
Unitary Method
The word “unitary” comes from the word “unit”, which means a single and complete entity. In this method, we find the value of a unit product from the given number of products, and then we solve for the other number of products.
Speed, Time, and Distance
Imagine you and 3 of your friends are planning to go to the playground at 6 in the evening. Your house is one mile away from the playground and one of your friends named Jim must start at 5 pm to reach the playground by walk. The other two friends are 3 miles away.
Profit and Loss
The amount earned or lost on the sale of one or more items is referred to as the profit or loss on that item.
Units and Measurements
Measurements and comparisons are the foundation of science and engineering. We, therefore, need rules that tell us how things are measured and compared. For these measurements and comparisons, we perform certain experiments, and we will need the experiments to set up the devices.
Consider the following two saving schemes.
Option 1: 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 An 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 Bn 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 An. (draw a timeline.)
(b) Find a recursive definition for Bn. (draw a timeline.)
(c) Write a MATLAB program that computes An and Bn for n = 0, 1, 2, . . . , 12, and that displays the values in three columns: n, An, Bn with appropriate headings. Include a printout of the output with your solution.
(d) Use MATLAB to create a plot showing An and Bn as a function of n for years 1 to 12. Label axes appropriately. Include a printout of the plot with the solution.
(e) Adapt 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 isthat is paid for each scheme per year over the years n ≤ 12. Provide the average amount of yearly interest for each of the two schemes.
Step by step
Solved in 3 steps with 8 images