document.write( "Question 69989: Desparate need of help. Thank you in advance!\r
\n" ); document.write( "\n" ); document.write( "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 #49843 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
\n" ); document.write( " the students failed to come because of the distance and therefore the cost of
\n" ); document.write( " food for each member increased by $5. How many students attended the
\n" ); document.write( " get-together?\"
\n" ); document.write( ":
\n" ); document.write( "Let x = Number of actual students that attended
\n" ); document.write( "(x+5) = number that planned to attend
\n" ); document.write( ":
\n" ); document.write( "Original cost per student: 500/(x+5)
\n" ); document.write( "Actual cost per student: 500/x
\n" ); document.write( ":
\n" ); document.write( "Actual cost = anticipated cost + $5
\n" ); document.write( "500/x = (500/(x+5)) + 5
\n" ); document.write( ":
\n" ); document.write( "Mult 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( "0 = 5x^2 + 25x + 500x - 500x - 2500
\n" ); document.write( ":
\n" ); document.write( "A quadratic equation:
\n" ); document.write( "5x^2 + 25x - 2500 = 0
\n" ); document.write( ":
\n" ); document.write( "Simplify, divide equation by 5
\n" ); document.write( "x^2 + 5x - 500 = 0
\n" ); document.write( ":
\n" ); document.write( "Factor this to:
\n" ); document.write( "(x+25)(x-20) = 0
\n" ); document.write( ":
\n" ); document.write( "x = 20 actually made it (positive solution is what we want here)
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check our solution using the cost:
\n" ); document.write( "Actual cost: 500/20 = $25 each
\n" ); document.write( ":
\n" ); document.write( "Anticipated cost: 500/25 = $20 each\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );