The monthly payment, P, of a N years mortgage of an amount L that with a yearly
Question:
where r is in % (e.g., 7.5% entered as 7.5). Write a MATLAB program in a script file that calculates P. When the program is executed it asks the user to enter the mortgage amount, the number of years, and the interest rate. The output is displayed in the following format: " The monthly payment of a XX years: XXX:XXX.XX mortgage with interest rate of :XX.XX percent is $X:XXX.:XX", where XXX stands for the corresponding quantities. Use the program for determining the monthly payment of a $250,000 mortgage for 30 years and 4.5% yearly interest rate.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: