✔ 最佳答案
"A customer buys 3 hot dogs and 2 bags of potato chips for $9"
3h + 2p = 9
"Another customer buys 5 hot dogs and 4 bags of potato chips for $16"
5h + 4p = 16
the coefficients of p are 2 and 4.
4 is a multiple of 2, so the p terms can be easily eliminated.
multiply the first equation by -2 and add the result to the second equation:
-6h - 4p = -18
5h + 4p = 16
----------------
-h = -2
h = 2
hot dogs cost $2 each
3(2) + 2p = 9
2p = 3
p = 1.5
Potato chips cost $1.50 a bag.