document.write( "Question 511780: The average grade of two classes is 88. One class has 30 students with an average grade of 84. If the average of the second class is 96, how many students does the second class have? \n" ); document.write( "
Algebra.Com's Answer #342396 by oberobic(2304)\"\" \"About 
You can put this solution on YOUR website!
The arithmetic average = total of all students' scores / number of students.
\n" ); document.write( "avg = total/count
\n" ); document.write( "so
\n" ); document.write( "count*avg = total
\n" ); document.write( ".
\n" ); document.write( "We do not know the count in the second class, but we know the average, so we can use the average.
\n" ); document.write( "The count in the second class = x.
\n" ); document.write( "So the combined count in the two classes = 30+x.
\n" ); document.write( ".
\n" ); document.write( "30*84 + x*96 = (30+x)*88
\n" ); document.write( ".
\n" ); document.write( "2520 + 96x = 2640 +88x
\n" ); document.write( "8x = 120
\n" ); document.write( "x = 15
\n" ); document.write( "There are 15 students in the second class.
\n" ); document.write( ".
\n" ); document.write( "Done.
\n" ); document.write( "
\n" );