Answer:
The cost of a can of popcorn is $10.
The cost of a box of cookies is $5.
The cost of a can of popcorn is $20
Step-by-step explanation:
First you must propose a system of equations, a set of two or more equations with several unknowns in which you want to find the value of each unknown so that all the equations of the system are fulfilled.
Defining the variables:
- x: cost of one pound of candy
- y: cost of a box of cookies
- z: cost of a can of popcorn
Amy sold 2 pounds of candy, 3 boxes of cookies and 1 can of popcorn for a total sale of $65. Then:
2*x + 3*y + 1*z=65 Equation 1
Brian sold 4 pounds of candy, 6 boxes of cookies and 3 cans of popcorn for a total sale of $140. So:
4*x + 6*y + 3*z=140 Equation 2
Paulina sold 8 pounds of candy, 8 boxes of cookies and 5 cans of popcorn for a total sales of $250. Then:
8*x + 8*y + 5*z=250 Equation 3
Then the system of equations is formed by these three equations.
A method to solve a system of equations is by means of the substitution method, which consists of isolating one of the two unknowns in an equation to substitute it in the other equation.
Isolating z from Equation 1:
Equation 4
Replacing in Equation 2:
4*x + 6*y + 3*(65 -2*x-3*y)=140
4*x + 6*y + 195 - 6*x - 9*y= 140
-2*x - 3*y=140-195
-2*x - 3*y=-55
2*x + 3*y= 55
and isolating x:
Equation 5
Replacing in Equation 4:
z=65 - (55-3*y) - 3*y
z= 65 -55 + 3*y - 3*y
<u><em>z= 10</em></u>
<u><em>So the cost of a can of popcorn is $10.</em></u>
Replacing equation 5 and the value of z in equation 3:
8* + 8*y + 5*10=250
*(55 -3*y)+ 8*y + 5*10=250
4*(55 -3*y)+ 8*y + 5*10=250
4*55 - 4*3*y + 8*y + 50=250
220 - 12*y + 8*y + 50=250
-12*y + 8*y= 250 -220 - 50
-4*y= -20
<u><em>y= 5</em></u>
<u><em>So the cost of a box of cookies is $5.</em></u>
Finally replacing the value of y in Equation 5 you get the value of x:
<u><em>x=20</em></u>
Finally,<u><em> the cost of a can of popcorn is $20</em></u>