Respuesta :
Answer:
x (Falafel) = $5.50
y (Turkey BLT) = $7.50
z (Paninis) = $6.00
Step-by-step explanation:
Step 1: Write out systems of equations
5x + 15y + 20z = 260
8x + 18y + 14z = 263
12x + 16y + 12z = 258
There are multiple ways to solve for this systems of equations. I will use an augmented matrix for this:
Top row: [5 15 20 | 260]
Middle row: [8 18 14 | 263}
Bottom row: [12 16 12 | 258]
We find RREF form of the augmented matrix to find our answers:
Top row: [1 0 0 | 11/2]
Middle row: [0 1 0 | 15/2]
Bottom row: [0 0 1 | 6]
And we have our answer!
Answer:
The falafel wrap costs $5.50, the turkey BLT costs $7.50, and the ham and swiss panini costs $6.00
Step-by-step explanation:
Let us first write a system of equations to write equations to represent each of the situations. Let the variables were
f=cost of falafel wrap
t=cost of Turkey BLT
h=cost of ham and swiss panini
5f+15t+20h=260
8f+18t+14h=263
12f+16t+12h=258
Next, we will solve these system of equations.
-8/5(5f+15t+20h=260)
multiply equation by -8/5
-8f-24t-32h=-416 multiply
8f+18t+14h=263 add to another equation to remove a variable
-6t-18h=-153
-12/8(8f+18t+14h=263) repeat procedure for another equation
-12f-27t-21h=-394.5 multiply
12f+16t+12h=258 combine with another equation
-11t-9h=-136.5
-2(-11t-9h=-136.5) repeat again by multiplying by -2
22t+18h=273
-6t-18h=-153 combine the two equations
16t=120
t=7.5
Now we can replace the value of t into the previous equation to find the cost of the ham and swiss panini
22(7.5)+18h=273
165+18h=273
18h=108
h=6
Now that we have the cost of two sandwiches, we can find the cost of the falafel wrap by substituting the costs of the sandwiches into the equation.
5f+15(7.5)+20(6)=260
5f+112.5+120=260
5f+232.5=260
5f=27.5
f=5.5
Therefore the falafel wrap costs $5.50, the turkey BLT costs $7.50, and the ham and swiss panini costs $6.00