document.write( "Question 58821: Some students planned for 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( "This is what I have...Let x=original cost per student. Then 500/x is the original number of students. Five students failed to come. So first get the expression for the number of students that came from this information. Also, cost for each student that came increased by $5. So the x+5=new cost per student; and 500/(x+5) is the number of students that came. Set the two expressions that represent the number of that came equal and solve for x.
\n" ); document.write( "

Algebra.Com's Answer #40356 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
EQUATION:
\n" ); document.write( "original average = new average + $5
\n" ); document.write( "500/x = 500/(x+5) +5
\n" ); document.write( "100/x = 100/(x+5) + 1
\n" ); document.write( "100(x+5)= 100x +x(x+5)
\n" ); document.write( "100x+500 = 100x + x^2+5x
\n" ); document.write( "x^2+5x-500=0
\n" ); document.write( "(x+25)(x-20)=0
\n" ); document.write( "x=20 (original number of students)
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );