document.write( "Question 94570: 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 #68959 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 = Number of students, who actually attended
\n" ); document.write( "Then
\n" ); document.write( "(x+5) = Original number of students expected
\n" ); document.write( ":
\n" ); document.write( "Actual cost per person: = \"500%2Fx\"
\n" ); document.write( ":
\n" ); document.write( "Expected cost per person = \"500%2F%28%28x%2B5%29%29\"
\n" ); document.write( ":
\n" ); document.write( "It said the cost increased by $5, because of of 5 less students:
\n" ); document.write( "Actual cost - expected cost = $5
\n" ); document.write( "\"500%2Fx\" - \"500%2F%28%28x%2B5%29%29\" = 5
\n" ); document.write( ":
\n" ); document.write( "multiply equation by x(x+5) to get rid of the denominators, resulting in:
\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( "Arrange as a quadratic equation:
\n" ); document.write( "5x^2 + 25x - 2500 = 0
\n" ); document.write( ":
\n" ); document.write( "Simplify divide 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( "x = +20, the positive solution is what we want here.
\n" ); document.write( ":
\n" ); document.write( "20 Students actually attended
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check our solution. Actual = 20, Expected no. of student = 25
\n" ); document.write( "500/20 - 500/25 =
\n" ); document.write( " 25 - 20 = $5\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );