document.write( "Question 335954: A group of math teachers went to a restaurant. They agreed to split the bill equally. When the bill arrived, two of them discovered they had forgotten their money. The others agreed to make up the difference by paying an extra $1.30 each. If the total bill was $78, how many teachers were in the group? \r
\n" ); document.write( "\n" ); document.write( "I figured out the answer is 12 teachers but i can't figure out the equation.
\n" ); document.write( "

Algebra.Com's Answer #240935 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A group of math teachers went to a restaurant.
\n" ); document.write( "They agreed to split the bill equally.
\n" ); document.write( "When the bill arrived, two of them discovered they had forgotten their money. The others agreed to make up the difference by paying an extra $1.30 each. If the total bill was $78, how many teachers were in the group?
\n" ); document.write( "----
\n" ); document.write( "Let x be the expected number payers.
\n" ); document.write( "Average charge would be 78/x.
\n" ); document.write( "-----------------------------------
\n" ); document.write( "x-2 actually shared the bill.
\n" ); document.write( "Average charge would be 78/(x-2)
\n" ); document.write( "-----------------------------------
\n" ); document.write( "Equation:
\n" ); document.write( "New average - old average = 1.30
\n" ); document.write( "78/(x-2) - 78/x = 1.30
\n" ); document.write( "Multiply thru by x(x-2) to get:
\n" ); document.write( "78x -78(x-2) = 1.3x(x-2)
\n" ); document.write( "78*2 = 1.3x^2 - 2.6x
\n" ); document.write( "--------------------------
\n" ); document.write( "Multiply thru by 10 to get rid of the decimals:
\n" ); document.write( "13x^2 - 26x - 1560 = 0
\n" ); document.write( "---
\n" ); document.write( "x^2 - 2x - 120 = 0
\n" ); document.write( "(x-12)(x+10) = 0
\n" ); document.write( "Positive solution:
\n" ); document.write( "x = 12 (original number of payers before 2 reneged)
\n" ); document.write( "======================================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "============ \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );