document.write( "Question 144567: the total of 50 juniors and seniors were given a math test. the 35 juniors averaged a score of 80, while the 15 seniors averaged a score of 70. What was the average score for all 50 students? \n" ); document.write( "
Algebra.Com's Answer #105323 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
The average is the sum of all the scores divided by the number of students
\n" ); document.write( "either junior or senior.
\n" ); document.write( "Let sum of junior scores = \"x%5Bj%5D\"
\n" ); document.write( "Let sum of senior scores = \"x%5Bs%5D\"
\n" ); document.write( "Let aveage score for all \"50\" students = \"a\"
\n" ); document.write( "\"x%5Bj%5D%2F35+=+80\"
\n" ); document.write( "\"x%5Bs%5D%2F15+=+70\"
\n" ); document.write( "\"x%5Bj%5D+=+35%2A80\"
\n" ); document.write( "\"x%5Bs%5D+=+15%2A70\"
\n" ); document.write( "\"a+=+%28x%5Bj%5D+%2B+x%5Bs%5D%29%2F+50\"
\n" ); document.write( "\"a+=+%2835%2A80+%2B+15%2A70%29%2F50\"
\n" ); document.write( "\"a+=+2800+%2B+1050%29%2F50\"
\n" ); document.write( "\"a+=+3850%2F50\"
\n" ); document.write( "\"a+=+77\"
\n" ); document.write( "The average score for all 50 students was 77
\n" ); document.write( "
\n" );