document.write( "Question 513355: Forty students bought caps at the baseball game. Plain caps cost $4 each and deluxe ones cost $6 each. If the total bill was $236, how many students bought the deluxe cap? \n" ); document.write( "
Algebra.Com's Answer #342975 by oberobic(2304)![]() ![]() ![]() You can put this solution on YOUR website! p = number of plain caps \n" ); document.write( "4p = price of plain caps \n" ); document.write( "d = number of deluxe caps \n" ); document.write( "6d = price of deluxe caps \n" ); document.write( ". \n" ); document.write( "p + d = 40 \n" ); document.write( "so \n" ); document.write( "p = 40-d \n" ); document.write( ". \n" ); document.write( "4p + 6d = 236 \n" ); document.write( ". \n" ); document.write( "substitute p = 40-d \n" ); document.write( ". \n" ); document.write( "4*(40-d) + 6d = 236 \n" ); document.write( ". \n" ); document.write( "160 -4d + 6d = 236 \n" ); document.write( ". \n" ); document.write( "2d = 76 \n" ); document.write( ". \n" ); document.write( "d = 38 \n" ); document.write( ". \n" ); document.write( "p = 40-d \n" ); document.write( "p = 40-38 \n" ); document.write( "p = 2 \n" ); document.write( ". \n" ); document.write( "They appear to have bought 38 deluxe caps and 2 plain caps. \n" ); document.write( ". \n" ); document.write( "But always check your answer! (I got it wrong the first time myself, and I've been doing algebra for 45 years.) \n" ); document.write( "You used the first equation to find p, so you need to use the other equation to check the solution. \n" ); document.write( "(Don't fall into the trap of using the same equation twice.) \n" ); document.write( ". \n" ); document.write( "4p + 6d = 236 \n" ); document.write( "4(2) + 6(38) = ?? \n" ); document.write( "8 + 228 = 236 \n" ); document.write( "Correct. \n" ); document.write( ". \n" ); document.write( "Answer: 38 students bought deluxe caps. \n" ); document.write( ". \n" ); document.write( "Done. \n" ); document.write( " |