Let x represent the number of hamburgers and y represent the number of milkshakes purchased.
The cost equation for the total bill is:
1.50x + 2.00y = 21.50
The number of items equation is:
x + y = 12
Therefore, the system of equations is:
1.50x + 2.00y = 21.50
x + y = 12
To solve this system of equations using the substitution method, we can solve the second equation for x:
x = 12 - y
Now substitute x = 12 - y into the first equation:
1.50(12 - y) + 2.00y = 21.50
18 - 1.50y + 2.00y = 21.50
0.50y = 3.50
y = 7
Now, substitute y = 7 back into x = 12 - y:
x = 12 - 7
x = 5
Therefore, your group bought 5 hamburgers and 7 milkshakes.
You and some friends buy hamburgers and milkshakes for lunch. A hamburger costs $1.50 and a milkshake costs $2.00.The total bill for 12 items is $21.50.How many hamburgers and how many milkshakes did your group buy? Write a system of equations to model this situation. Solve by any method. (even if you use graphing, make sure to write the equations in the system).
1 answer