document.write( "Question 919777: A mathematics teacher bought a $45 calculator for class use. Each student donated the same amount of money. If there had been 5 more students in te class, each would have had to pay 30 cents less. How many students were in the class? \n" ); document.write( "
Algebra.Com's Answer #557964 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
45/n -45/(n+5) = .30
\n" ); document.write( "45(n+5) - 45n = .3n(n+5)
\n" ); document.write( ".3n^2 + 1.5n - 225 = 0
\n" ); document.write( "n^2 + 5n - 750 = 0 (Tossing out the negative solution for unit measure)
\n" ); document.write( "(n + 30)(n - 25) = 0
\n" ); document.write( "n = \"+highlight_green%2825%29\" students were in the class
\n" ); document.write( "And...checking
\n" ); document.write( "45/25 = $1.80
\n" ); document.write( "45/30 = $1.50
\n" ); document.write( "
\n" );