SOLUTION: Alex stocks up for winter. He buys 32 cans of vegetables. He pays $0.80 cents per can for tomatoes and $0.40 per can for corn. The total cost is $18. How many cans of tomatoes

Algebra ->  Systems-of-equations -> SOLUTION: Alex stocks up for winter. He buys 32 cans of vegetables. He pays $0.80 cents per can for tomatoes and $0.40 per can for corn. The total cost is $18. How many cans of tomatoes       Log On


   



Question 1079769: Alex stocks up for winter. He buys 32 cans of vegetables. He pays $0.80 cents per can for tomatoes and $0.40 per can for corn. The total cost is $18. How many cans of tomatoes does he buy?
Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
Let +a+ = number of cans of tomatoes he buys
Let +b+ = number of cans of corn he buys
-----------------------------------------------
(1) +a+%2B+b+=+32+
(2) +.8a+%2B+.4b+=+18+
--------------------------
(2) +8a+%2B+4b+=+180+
(2) +2a+%2B+b+=+45+
-----------------------
Subtract (1) from (2)
(2) +2a+%2B+b+=+45+
(1) +-a+-+b+=+-32+
-----------------------
+a+=+13+
He bought 13 cans of tomatoes
-------------------------------
check:
(1) +a%2B+b+=+32+
(1) +13+%2B+b+=+32+
(1) +b+=+19+
and
(2) +.8a+%2B+.4b+=+18+
(2) +.8%2A13+%2B+.4%2A19+=+18+
(2) +10.4+%2B+7.6++=+18+
(2) +18+=+18+
OK