document.write( "Question 956681: A man bought 42 stamps, some 13¢ and some 18¢. How many of each kind did he buy if the cost was $6.66? \n" ); document.write( "
Algebra.Com's Answer #584493 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
Let's call the 13¢ stamps a and the 18¢ stamps b:
\n" ); document.write( "a+b = 42 and therefore a= 42-b (formula 1)
\n" ); document.write( "0.13a+0.18b= 6.66 In this formula, substitute the value of a according to formula 1:
\n" ); document.write( "0.13(42-b)+0.18b= 6.66 Multiply on the left to get rid of the parenthesis:
\n" ); document.write( "5.46-0.13b+0.18b= 6.66 Subtract 5.46 from both sides:
\n" ); document.write( "-0.13b+0.18b= 1.20 Add on the left:
\n" ); document.write( "0.05b= 1.20 Divide both sides by 0.05
\n" ); document.write( "b= 24 You have 24 18¢ stamps and:
\n" ); document.write( "42-24= 18 13¢ stamps
\n" ); document.write( "Check: (24 x 0.18) + (18 x 0.13)= 6.66 Correct.
\n" ); document.write( "
\n" ); document.write( "
\n" );