Suppose we have a nice young couple who borrow $700000 from the bank, at an annual interest rate of 3.124%. The mortgage is a 30 year loan, so they need to pay it off within 360 months total. Our happy couple decide to set their monthly mortgage payment at $2000 per month. Will they pay off the loan in time or not? Note that the monthly balance will be calculated as balance = (im × previous balance) - monthly payment where the convert annual interest to a monthly multiplier im is calculated as im = (1 +i) 1/12 and i = annual interest rate. Write a loop for track the total payment in 360 months so that we can evaluate if the couple can pay off the loan. Write in R Please and thank you.
Suppose we have a nice young couple who borrow $700000 from the bank, at an annual interest rate of
3.124%. The mortgage is a 30 year loan, so they need to pay it off within 360 months total. Our happy
couple decide to set their monthly mortgage payment at $2000 per month. Will they pay off the loan in
time or not?
Note that the monthly balance will be calculated as
balance = (im × previous balance) - monthly payment
where the convert annual interest to a monthly multiplier im is calculated as im = (1 +i)
1/12 and i = annual
interest rate.
Write a loop for track the total payment in 360 months so that we can evaluate if the couple can pay off the
loan.
Write in R Please and thank you.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)