document.write( "Question 214840: Please try your best to explain your steps...THANK YOU!!!\r
\n" ); document.write( "\n" ); document.write( "A class had lunch, and the bill totalled $239.25. 4 students had their birthday, therefore, they didn't need to pay. The other students had to pay $1 more than if all the students had paid. How many students had lunch?\r
\n" ); document.write( "\n" ); document.write( "Thank you for your time! :) Answer is 33 students.
\n" ); document.write( "

Algebra.Com's Answer #162307 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
A class had lunch, and the bill totalled $239.25. 4 students had their birthday, therefore, they didn't need to pay. The other students had to pay $1 more than if all the students had paid. How many students had lunch?
\n" ); document.write( "-------------------
\n" ); document.write( "n = total # of students
\n" ); document.write( "p = price of lunch per student
\n" ); document.write( "-------------
\n" ); document.write( "p = 23925/n what they would have paid if all had contributed
\n" ); document.write( "p+100 = 23925/(n-4) what they had to pay without 4 chipping in
\n" ); document.write( "Sub for p into 2nd eqn
\n" ); document.write( "(23925/n) + 100 = 23925/(n-4)
\n" ); document.write( "Now it's just arithmetic
\n" ); document.write( "(23925 + 100n)/n = 23925/(n-4)
\n" ); document.write( "Cross multiply
\n" ); document.write( "(23925+100n)*(n-4) = 23925n
\n" ); document.write( "Divide by 25 (makes the numbers smaller)
\n" ); document.write( "(957+4n)(n-4) = 957n
\n" ); document.write( "4n^2 + 941n - 3828 = 957n
\n" ); document.write( "4n^2 - 16n - 3828 = 0
\n" ); document.write( "n^2 - 4n - 957 = 0
\n" ); document.write( "(n-33)*(n+29) = 0
\n" ); document.write( "n = -29 students (Ignore)
\n" ); document.write( "n = 33
\n" ); document.write( "
\n" ); document.write( "
\n" );