document.write( "Question 586416: The town recreation department ordered a total of 100 balls and bats and hats for the summer baseball camp. Balls cost $4.50 each, and bats cost $20.00 each. The total purchase was $822. How many of each item were ordered? \n" ); document.write( "
Algebra.Com's Answer #373739 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The town recreation department ordered a total of 100 balls and bats and hats for the summer baseball camp. Balls cost $4.50 each, and bats cost $20.00 each. The total purchase was $822. How many of each item were ordered?
\n" ); document.write( "--------
\n" ); document.write( "Equations:
\n" ); document.write( "b + h = 100
\n" ); document.write( "4.5b + 20h = 822
\n" ); document.write( "------
\n" ); document.write( "Multiply thru 1st by 200
\n" ); document.write( "Multiply thru 2nd by 10.
\n" ); document.write( "--------
\n" ); document.write( "200b + 200h = 200*100
\n" ); document.write( "45b + 200h = 8220
\n" ); document.write( "------------------------
\n" ); document.write( "Subtract and solve for \"b\":
\n" ); document.write( "155b = 11780
\n" ); document.write( "# of balls = 76
\n" ); document.write( "----
\n" ); document.write( "# of bats = 100-76 = 24
\n" ); document.write( "--------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "===================
\n" ); document.write( "
\n" ); document.write( "
\n" );