Question: Problem 2: The interest, i, on a principle, P0, is a payment for allowing the bank to use your money. Compound interest is accumulated according
Problem 2: The interest, i, on a principle, P0, is a payment for allowing the bank to use your money. Compound interest is accumulated according to the formula Pn = (1+i)Pn-1, where n is a subscript indicating is the compounding period in years. Write a function (in MATLAB) with header [years] = mySavingPlan(P, i, goal) Where years is the number of years it will take the principle, P, to become goal at i% interest compounded annually.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
