document.write( "Question 58636This question is from textbook
\n" ); document.write( ": Some students planned a get-together. The budget for food was $500. Five of the students failed to come because of the distance and therefore the cost of food for each member increased by $5. How many students attended the get-together?\r
\n" ); document.write( "\n" ); document.write( "I did my equation like this: x = he number of students
\n" ); document.write( "(x-5) + 5 = 500
\n" ); document.write( "x=500\r
\n" ); document.write( "\n" ); document.write( "Am I even close?
\n" ); document.write( "

Algebra.Com's Answer #40168 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The budget for food was $500. Five of the students failed to come because of the distance and therefore the cost of food for each member increased by $5. How many students attended the get-together? \r
\n" ); document.write( "\n" ); document.write( "Let original number of students be \"x\".
\n" ); document.write( "At $500 for the food each student would have paid 500/x dollars.
\n" ); document.write( "----------
\n" ); document.write( "When 5 did not show up there were \"x-5\" students
\n" ); document.write( "The average cost would now be 500/(x-5) dollars.
\n" ); document.write( "---------------
\n" ); document.write( "EQUATION:
\n" ); document.write( "new average = old average +5
\n" ); document.write( "500/(x-5) = 500/x +5
\n" ); document.write( "100/(x-5) = 100/x + 1
\n" ); document.write( "100x = 100(x-5)+x(x-5)
\n" ); document.write( "100x = 100x-500+x^2-5x
\n" ); document.write( "x^2-5x-500=0
\n" ); document.write( "x=[5+-sqrt(25-4*-500)]/2
\n" ); document.write( "x=[5+-45]/2
\n" ); document.write( "x=25 or x=-20
\n" ); document.write( "Only the positive solution applies.
\n" ); document.write( "x=25 (original number of students)
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );