SOLUTION: Josh was in charge of bringing bags of chips to a homecoming party the doritos cost $1.79 per bag and the cheetos cost $2.01 per bag he bought 15 bags of chips together how many of

Algebra ->  Test -> SOLUTION: Josh was in charge of bringing bags of chips to a homecoming party the doritos cost $1.79 per bag and the cheetos cost $2.01 per bag he bought 15 bags of chips together how many of      Log On


   



Question 672830: Josh was in charge of bringing bags of chips to a homecoming party the doritos cost $1.79 per bag and the cheetos cost $2.01 per bag he bought 15 bags of chips together how many of each type did he buy if he spent a total of $28.17?
Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
Let +a+ = bags of Doritos bought
Let +b+ = bags of Cheetos bought
given:
(1) +a+%2B+b+=+15+
(2) +1.79a+%2B+2.01b+=+28.17+
---------------------------
(2) +179a+%2B+201b+=+2817+
Multiply both sides of (1) by +179+
and subtract (1) from (2)
(2) +179a+%2B+201b+=+2817+
(1) +-179a+-+179b+=+-2685+
+22b+=+132+
+b+=+6+
and
(1) +a+%2B+6+=+15+
(1) +a+=+9+
9 bags of Doritos were bought
6 bags of Cheetos were bought
check:
(2) +1.79%2A9+%2B+2.01%2A6+=+28.17+
(2) +16.11+%2B+12.06+=+28.17+
(2) +28.17+=+28.17+
OK