document.write( "Question 125815: 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( "
Algebra.Com's Answer #92276 by ankor@dixie-net.com(22740)\"\" \"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 x = no. of students that attended
\n" ); document.write( "then
\n" ); document.write( "(x+5) = no. of students anticipated to attend
\n" ); document.write( ":
\n" ); document.write( "The original cost per student for food: \"500%2F%28%28x%2B5%29%29\"
\n" ); document.write( "Actual cost per student: \"500%2Fx\"
\n" ); document.write( ":
\n" ); document.write( "The equation
\n" ); document.write( "Actual cost - original cost = $5
\n" ); document.write( "\"500%2Fx\" - \"500%2F%28%28x%2B5%29%29\" = 5
\n" ); document.write( ":
\n" ); document.write( "Multiply each term by x(x+5) to get rid of the denominators. cancel them & you have:
\n" ); document.write( "500(x+5) - 500x = 5*x(x+5)
\n" ); document.write( ":
\n" ); document.write( "500x + 2500 - 500x = 5x^2 + 25x
\n" ); document.write( ":
\n" ); document.write( "5x^2 + 25x - 2500 = 0; 500x's cancel, arrange as a quadratic equation
\n" ); document.write( ":
\n" ); document.write( "Simplify divide eq by 5:
\n" ); document.write( "x^2 + 5x - 500 = 0
\n" ); document.write( ":
\n" ); document.write( "Factors to:
\n" ); document.write( "(x + 25) (x - 20) = 0
\n" ); document.write( ":
\n" ); document.write( "Positive solution is what we want:
\n" ); document.write( "x = +20 students actually attended
\n" ); document.write( ";
\n" ); document.write( ":
\n" ); document.write( "Check solution by finding the cost per student
\n" ); document.write( "original 500/25 = 20
\n" ); document.write( "actual: 500/20 = 25
\n" ); document.write( "---------------------
\n" ); document.write( "difference cost = 5
\n" ); document.write( "
\n" );