document.write( "Question 95401: 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?
\n" ); document.write( "*note* I really would like some help as to how to setup this question. Thank you!
\n" ); document.write( "

Algebra.Com's Answer #69426 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
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?
\n" ); document.write( "-----------------
\n" ); document.write( "Let original # of students be \"x\".
\n" ); document.write( "Original cost per student = 500/x dollars
\n" ); document.write( "----------------------
\n" ); document.write( "New # of students is \"x-5\"
\n" ); document.write( "New cost per student = 500/(x-5) dollars
\n" ); document.write( "-------------------
\n" ); document.write( "EQUATION:
\n" ); document.write( "new cost per student - old cost per student = 5 dollars
\n" ); document.write( "500/x - 500/(x-5) = 5
\n" ); document.write( "100/x - 100/(x-5) = 1
\n" ); document.write( "Multiply thru by x(x-5) to get:
\n" ); document.write( "100(x-5) - 100x = x(x-5)
\n" ); document.write( "-500 = x(x-5)
\n" ); document.write( "x^2-5x+500 = 0
\n" ); document.write( "(x-25)(x+20)=0
\n" ); document.write( "Positive solution:
\n" ); document.write( "x= 25 students (original # of students)
\n" ); document.write( "==============
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );