document.write( "Question 1086340: Lee spent $1200 on holiday. If he had spent $50 less per day, he would have been able to stay an extra two days. How long was his holiday? \n" ); document.write( "
Algebra.Com's Answer #700523 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
I think this problem is assuming Lee
\n" ); document.write( "spends the same amount each day
\n" ); document.write( "Let \"+d+\" = the number of days he actually stays
\n" ); document.write( "\"+1200%2Fd+\" = the amount he actully spent each day
\n" ); document.write( "--------------------------------------------------
\n" ); document.write( "\"+1200+=+%28+1200%2Fd+-+50+%29%2A%28+d+%2B+2+%29+\"
\n" ); document.write( "\"+1200+=+1200+-+50d+%2B+2400%2Fd+-+100+\"
\n" ); document.write( "\"+2400%2Fd+=+50d+%2B+100+\"
\n" ); document.write( "\"+2400+=+50d%5E2+%2B+100d+\"
\n" ); document.write( "\"+48+=+d%5E2+%2B+2d+\"
\n" ); document.write( "complete the square
\n" ); document.write( "\"+d%5E2+%2B+2d+%2B+1+=+48+%2B+1+\"
\n" ); document.write( "\"+%28+d+%2B+1+%29%5E2+=+49+\"
\n" ); document.write( "\"+d+%2B+1+=+7+\"
\n" ); document.write( "\"+d+=+6+\"
\n" ); document.write( "\"+d+=+6+\"
\n" ); document.write( "His holiday was 6 days
\n" ); document.write( "-------------------------
\n" ); document.write( "check:
\n" ); document.write( "\"+1200+=+%28+1200%2Fd+-+50+%29%2A%28+d+%2B+2+%29+\"
\n" ); document.write( "\"+1200+=+%28+1200%2F6+-+50+%29%2A%28+6+%2B+2+%29+\"
\n" ); document.write( "\"+1200+=+%28+200+-+50+%29%2A8+\"
\n" ); document.write( "\"+1200+=+150%2A8+\"
\n" ); document.write( "\"+1200+=+1200+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );