document.write( "Question 1202789: Sarah secured a bank loan of $150,000 for the purchase of a house. The mortgage is to be amortized through monthly payments for a term of 15 years, with an interest rate of 3%/year compounded monthly on the unpaid balance. She plans to sell her house in 5 years. How much will Sarah still owe on her house? (Round your answer to the nearest cent.)
\n" ); document.write( "$\r
\n" ); document.write( "\n" ); document.write( "When I did the work myself, I got 2330.30, but it is wrong. I am not sure how I messed up.
\n" ); document.write( "

Algebra.Com's Answer #837885 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "I'll be using the 2nd formula mentioned at this link
\n" ); document.write( "https://www.mtgprofessor.com//formulas.htm\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That formula is
\n" ); document.write( "B = L*( (1+c)^n - (1+c)^p )/( (1+c)^n - 1 )
\n" ); document.write( "it calculates the remaining balance.
\n" ); document.write( "It's the amount still owed at any given month p.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We have a giant single fraction
\n" ); document.write( "numerator = L*((1+c)^n - (1+c)^p)
\n" ); document.write( "denominator = (1+c)^n - 1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Variables
\n" ); document.write( "L = loan amount
\n" ); document.write( "c = monthly interest rate in decimal form
\n" ); document.write( "n = number of months of entire mortgage
\n" ); document.write( "p = current month number\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We have
\n" ); document.write( "L = 150,000
\n" ); document.write( "c = 0.03/12 = 0.0025 exactly
\n" ); document.write( "n = 12*15 = 180 months (equivalent to 15 years)
\n" ); document.write( "p = 12*5 = 60 months (equivalent to 5 years)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's calculate the remaining balance
\n" ); document.write( "B = L*( (1+c)^n - (1+c)^p )/( (1+c)^n - 1 )
\n" ); document.write( "B = 150000*( (1+0.0025)^180 - (1+0.0025)^60 )/( (1+0.0025)^180 - 1 )
\n" ); document.write( "B = 107276.767971557
\n" ); document.write( "B = 107276.77\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The amortization table on this calculator
\n" ); document.write( "https://www.calculator.net/loan-calculator.html
\n" ); document.write( "can be used to verify the answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: $107,276.77
\n" ); document.write( "
\n" ); document.write( "
\n" );