Amortization is the process by which a loan is repaid by a sequence of periodic payments, each of which is part payment of interest and part payment to reduce the outstanding principal.Let p(n) represent the outstanding principal after the nth payment g(n). Suppose that interest charges compound at the rate r per payment period. The formulation of our model here is based on the fact that the outstanding principal p(n + 1) after the (n + 1)st payment is equal to the outstanding principal p(n) after the nth payment plus the interest rp(n) incurred during the (n + 1)st period minus the nth payment g(n).Write the first-order difference equation and solve for p(n), initial debt p(0) = p0.p(n) = (1 + r)n p0 - S (1 + r)n-k-1 g(k)Find p(n) if the monthly payments are constant, i.e. g(n) = T and solve for T.3. Solve for constant monthly payment for 30-year, $250,000 mortgage with 5% APR (Note: interest = APR/12) (HELP)
4. If the borrower will pay additional $100/month after first 2 years, by how many months will the 30-year mortgage be shortened? (HELP)
5. Plot relationship of additional payments after 2 years from $0-$1000 vs length of the mortgage period. (MATLAB Code) (HELP)