document.write( "Question 266451: In a math class a grade was assigned for a combination of homework and quizzes. A student had an overall homework/quiz average of 84.3. His quiz average was 78 and his homework average was 87. There were a total of 20 homework and quizzes assigned. How many were homework and how many were quizzes? \n" ); document.write( "
Algebra.Com's Answer #195776 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
In a math class a grade was assigned for a combination of homework and quizzes. A student had an overall homework/quiz average of 84.3. His quiz average was 78 and his homework average was 87. There were a total of 20 homework and quizzes assigned. How many were homework and how many were quizzes?
\n" ); document.write( "---------------
\n" ); document.write( "Let h = # of homeworks ; Let q be # of quizzes
\n" ); document.write( "Quantity Equation: h + q = 20
\n" ); document.write( "Points Equation: 87h + 78q = 84.3*20
\n" ); document.write( "-------------------------------------------
\n" ); document.write( "Multiply thru 1st equation by 87 to get:
\n" ); document.write( "87h + 87q = 87*20
\n" ); document.write( "87h + 78q = 84.3*20
\n" ); document.write( "----------------------
\n" ); document.write( "Subtract 2nd from 1st and solve for \"q\":
\n" ); document.write( "9q = 2.7*20
\n" ); document.write( "q = 6 (# of quizzes)
\n" ); document.write( "-----
\n" ); document.write( "Since h_+ q = 20, h = 14 (# of homeworks)
\n" ); document.write( "===========================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );