Question: MatLab code for compund interest Use for loops if possible Consider the difference equation pn)p(n-+100(n-x Where p(n) is the principal owed at time nT, T
MatLab code for compund interest
Use for loops if possible

Consider the difference equation pn)p(n-+100(n-x Where p(n) is the principal owed at time nT, T is one payment period, ris the interest rate in percent for the payment period, and X is the periodic loan payment. Typically, T is one month. It can be shown that at the end of Lth period, the remaining principle is: 1-? where P is the initial loan amount and ? (1 + r/100]. If the loan is to be completely repaid in N time periods, then 1-? Assume you want to design the loans for a variety of situation. One possibility is to obtain plots that display trends. 84 months with annual interest rates of 5% 6%, and 7%, respectively, (r:0.05/12. 0.06/12, and 0.07/121. Make sure that your plots contain proper title, axis-labels, and legend
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
