document.write( "Question 1160735: A group of friends go out for supper one evening. They decide to share the bill which comes to R960. However, two of them forget their wallets and cannot pay. The remaining friends each now have to pay an extra R40 to cover the cost. How many friends are in the group? \n" ); document.write( "
Algebra.Com's Answer #784130 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A group of friends go out for supper one evening.
\n" ); document.write( " They decide to share the bill which comes to R960.
\n" ); document.write( " However, two of them forget their wallets and cannot pay.
\n" ); document.write( " The remaining friends each now have to pay an extra R40 to cover the cost.
\n" ); document.write( " How many friends are in the group?
\n" ); document.write( ":
\n" ); document.write( "let x = no. of friends
\n" ); document.write( "then
\n" ); document.write( "(x-2) = no. that paid
\n" ); document.write( "and
\n" ); document.write( "\"960%2Fx\" = amt paid if each paid their share
\n" ); document.write( ":
\n" ); document.write( "\"960%2F%28x-2%29\" - 40 = \"960%2Fx\"
\n" ); document.write( "multiply by x(x-2)
\n" ); document.write( "960x - 40x(x-2) = 960(x-2)
\n" ); document.write( "960x - 40x^2 + 80x = 960x - 1920
\n" ); document.write( "subtract 960x from both side
\n" ); document.write( "-40x^2 + 80x + 1920 = 0
\n" ); document.write( "simplify, divide by -40
\n" ); document.write( "x^2 - 2x - 48 = 0
\n" ); document.write( "Factors to
\n" ); document.write( "(x-8)(x+6) = 0
\n" ); document.write( "positive solution
\n" ); document.write( "x = 8 friends
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check this
\n" ); document.write( "If all paid: 960/8 = 120
\n" ); document.write( "If six paid: 960/6 = 160
\n" ); document.write( "-------------------------
\n" ); document.write( "6 friends ea pd more: 40, total of 240 to cover 2 unpaying friends
\n" ); document.write( "-
\n" ); document.write( "
\n" ); document.write( "
\n" );