Question: Using mathlab programme The formula for calculating the equated monthly installment due on a loan is given below. This is the amount paid every month
The formula for calculating the equated monthly installment due on a loan is given below. This is the amount paid every month while the loan is outstanding and goes towards repaying both the principal and the interest. Ml = P.r. (1 + r)^n/((1 + r)^n - 1) Where P is the principal loan amount. r is the rate of interest calculated on a monthly basis. n is the tenure in months. Create a Matlab function called calMI with three inputs: the principal amount, the interest rate and time period in months to calculate equal monthly payment. Use the function to calculate what monthly payment would be made for an amount of RM 4 million to be repaid in 30 years at an interest rate of 6 % per year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
