Question: PROBLEM 4 . Suppose that ( $ 1 , 0 0 0 ) is deposited into an account that pays (
PROBLEM
Suppose that $ is deposited into an account that pays interest each year. Therefore, at the end of each year, the "new" amount in the account is times the "old" amount ie the amount of the previous year Write a MATLAB program to determine the amount accumulated in the account after years.
HINTS:
checkmark Follow a very similar approach as in Problem Tutorial # Note that the "number" parameter should now be replaced by the "year", and the "sum" parameter should be replaced by the "amount".
checkmark The initial value of the "year" should be set to zero and the initial value of the "amount" should be set to $
Attach a copy of your MATLAB script and Command Window output.
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
