Part A:
Let x be the number of packets of vanilla wafers purchased and y be the number of packets of chocolate wafers purchased.
From the given information:
1. $4x + $1y = $45
2. x + y = 27
Part B:
To solve the system of equations, I will use the substitution method.
From equation 2: x = 27 - y
Substitute x = 27 - y into equation 1:
$4(27 - y) + $1y = $45
$108 - $4y + $y = $45
$108 - $3y = $45
$3y = $63
y = 21
Substitute y = 21 back into x = 27 - y:
x = 27 - 21
x = 6
Therefore, they bought 6 packets of vanilla wafers and 21 packets of chocolate wafers at the carnival.
Josh and his friends bought vanilla wafers for $4 per packet and chocolate wafers for $1 per packet at a carnival. They spent a total of $45 to buy a total of 27 packets of wafers of the two varieties.
Part A: Write a system of equations that can be solved to find the number of packets of vanilla wafers and the number of packets of chocolate wafers that Josh and his friends bought at the carnival. Define the variables used in the equations. (5 points)
Part B: How many packets of chocolate wafers and vanilla wafers did they buy? Explain how you got the answer and why you selected a particular method to get the answer. (5 points)
1 answer