document.write( "Question 984761: 45% of the students in a class are girls and the number of boys exceeds the number of girls by 30. How many students are there in the class? \n" ); document.write( "
Algebra.Com's Answer #605579 by vleith(2983)\"\" \"About 
You can put this solution on YOUR website!
Let the total number of students be given by T
\n" ); document.write( "Let the number of girls be G and the number of boys be B
\n" ); document.write( "You are told
\n" ); document.write( "\"0.45T+=+G\"
\n" ); document.write( "You are also told \"G+%2B+30+=+B\"\r
\n" ); document.write( "\n" ); document.write( "You are asked to find T\r
\n" ); document.write( "\n" ); document.write( "\"G+%2B+B+=+T\"
\n" ); document.write( "\"G+%2B+%28G%2B30%29+=+T\"
\n" ); document.write( "\"2G+%2B+30+=+T\"\r
\n" ); document.write( "\n" ); document.write( "now substitute in for G
\n" ); document.write( "\"2%2A%280.45T%29+%2B+30+=+T\"
\n" ); document.write( "\"0.9T+%2B+30+=+T\"
\n" ); document.write( "\"30+=+0.1T\"
\n" ); document.write( "\"300+=+T\"
\n" ); document.write( "Thats a huge class.
\n" ); document.write( "There are \"0.45+%2A+300+=+135\" girls
\n" ); document.write( "There are \"300+-+135+=+165\" boys
\n" ); document.write( "SO there are 30 more boys that girls
\n" ); document.write( "
\n" );