Question: I need to know how to properly enter this into matlab and be able to run it. Just show the first test case and i
I need to know how to properly enter this into matlab and be able to run it. Just show the first test case and i should be able to do the rest!
Pad 10:21 PM ProgrammingAssignment1.pdf CSCI 251 Section 3 Mortgage Monthly Payment Calculator Problem Statement You are looking for a perfect house that is also affordable. Every month you should pay for your house, the interest of the money that you borrow from bank and the property tax. Notice that your monthly payment should keep the same and you should have zero balance after your last payment. Design a program down payment, interest rate, loan length and property tax rate. that will calculate your monthly payment b ased on the house price, Input House price in dollars (from user input) Down payment in dollars (from user input) Annual interest rate in percentage (from user input) Loan length in years (from user input) Annual property tax rate (from user input) Output Your monthly payment in dollars, keeping two decimal points. Hints The following formula may be helpful for you. 1-(1m where Pis your monthly payment before tax, L is the loan amount, r is annual interest rate and is the number of monthly payments. The amount of tax you need to pay monthly is house pricexannual tax rate * Sample Output Enter house price: $384000 Enter down payment:$76800 Enter annual interest rate (%): 4.625 Enter loan length (years): 30 Enter annual property tax rate (%):1 Your monthly payment is: $1899.44 Open With Print
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
