document.write( "Question 88840: A total of 50 juniors and seniors were given a mathematics test. The 35 juniors attained an average score of 80 while the 15 seniors attained an average of 70. What was the average score for all 50 students who took the test? \n" ); document.write( "
Algebra.Com's Answer #64545 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
Let x=sum of the group who scored an average of 80 \r
\n" ); document.write( "\n" ); document.write( "and y=sum of the group who scored an average of 70\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "First lets find the sum of the 35 junior's test scores who scored an average of 80\r
\n" ); document.write( "\n" ); document.write( "\"x%2F35=80\" Start with the given average\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=2800\" Multiply both sides by 35\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the sum of the group who scored an average of 80 is 2,800\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now lets find the sum of the 15 junior's test scores who scored an average of 70\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%2F15=70\" Start with the given average\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=1050\" Multiply both sides by 15\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the sum of the group who scored an average of 70 is 1,050\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now lets average the 2 groups:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%282800%2B1050%29%2F50=77\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the average score for all 50 is 77
\n" ); document.write( "
\n" );