Question

USING MATLAB: A simple mortgage calculator that will output the monthly payment, the remaining balance, and...

USING MATLAB:

A simple mortgage calculator that will output the monthly payment, the remaining balance, and plot graph

Homework Answers

Answer #1
function mortgage_calculator

years=10;

annual_rate=0.03; % 3% annual interest rate

house_value=100000;

downpayment=0.20; % 20% down

loan_size=house_value*(1-downpayment);

[P,In,Ba]=compute_mortgage(loan_size,annual_rate,years);

% close all

fprintf('Monthly payment: %1.2f \nTotal Interest Paid: %1.2f\n',P,sum(In));

figure;

Ps=P-In;

plot((1:len(Ps))/12,Ps/P,(1:len(In))/12,In/P);

title('Fractions of principal and interest paid at each period');

xlabel('Year');

ylabel('Fractions');

legend('Principal fraction','interest fraction');

figure;

plot((1:length(Ba))/12, Ba);

title('Remaining balance');

xlabel('Period');

ylabel('Remaining balance');
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance....
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance. Thirty​-year mortgage for ​$220,000 at 3.42​%; remaining balance after 12 years.
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance....
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance. Twenty-year mortgage for ​$250,000 at 3.66​%; remaining balance after 12 years.
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance....
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance. 5-year computer loan for ​$2856 at 7.3%; remaining balance after 2 years.
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance....
Find the monthly payment and estimate the remaining balance. Assume interest is on the unpaid balance. 4-year computer loan for ​$2853 at 5.8%; remaining balance after 2 years.
Using the Mortgage Payment Formula, calculate a monthly mortgage payment for a home with the price...
Using the Mortgage Payment Formula, calculate a monthly mortgage payment for a home with the price of $405,000 using pencil and paper. Your down payment is 10% of your own money apart from the loan. Calculate the total paid for your home after paying the monthly payment for 30 years factoring in the rate of 2.990%. You can use arithmetic. How much money will you pay in interest over 30 years? All Calculations must be shown.
Using the Mortgage Payment Formula, calculate a monthly mortgage payment for a home with the price...
Using the Mortgage Payment Formula, calculate a monthly mortgage payment for a home with the price of $405,000 using pencil and paper. Your down payment is 10% of your own money apart from the loan. Calculate the total paid for your home after paying the monthly payment for 15 years factoring in the rate of 2.500% and APR of 2.556%. You can use arithmetic. How much money will you pay in interest over 15 years? All Calculations must be shown.
1) What is the Monthly Mortgage Payment for a 30-yr fixed rate mortgage with an interest...
1) What is the Monthly Mortgage Payment for a 30-yr fixed rate mortgage with an interest rate of 4.25%, 1.5 points and $3000 in fees on a home with a value of $325,000 and an LTV of 93%?(Please explain using financial calculator)
A 25 year mortgage at 4.5% interest compounded monthly with a monthly payment of $258.96 has...
A 25 year mortgage at 4.5% interest compounded monthly with a monthly payment of $258.96 has an unpaid balance of $5,000 after 280 months. Find the unpaid balance after 281 months.
The average monthly mortgage payment including principal and interest is $982 in the United States. If...
The average monthly mortgage payment including principal and interest is $982 in the United States. If the standard deviation is approximately $180 and the mortgage payments are approximately normally distributed, find the probability that a randomly selected monthly payment is a) More than $1000 P(x >1000)= , Calcuator part = Answer= b) less than $1280 P(x < 1280)= , Calcuator part = Answer = c) Between $800 and $1150 P(800 < x < 1150)= , Calculator part = Answer =
What will be the mortgage balance remaining on a loan of $ 211722 with a 34-year...
What will be the mortgage balance remaining on a loan of $ 211722 with a 34-year term (monthly compounding) and k = 0.053 after 21 end-of-month payments have been made? Round your final answer to 2 decimal places.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT