Your friends in class want you to make a run to the vending machine for the whole group. Everyone pitched in to make a total of $12.50 to buy snacks. The fruit drinks are $1.50 and the chips are $1.00. Your friends want you to buy a total of 10 items. How many drinks and how many chips were you able to purchase?
Let c be the number of chips. Let f be the number of fruit drinks. We're given two equations:
10 - f + 1.5f = 12.50
To solve for f, we type this equation into our search engine and we get:
f = 5
Now, substitute this f = 5 value back into modified equation (1) above:
c = 10 - 5
c = 5
Let c be the number of chips. Let f be the number of fruit drinks. We're given two equations:
- c + f = 10
- c + 1.5f = 12.50
- c = 10 - f
- c + 1.5f = 12.50
10 - f + 1.5f = 12.50
To solve for f, we type this equation into our search engine and we get:
f = 5
Now, substitute this f = 5 value back into modified equation (1) above:
c = 10 - 5
c = 5