2.0k views
1 vote
PLEASE HELP!!

Melanie is raising money for a school trip by selling candy bars and bags of chips. The price of each candy bar is $1.50 and the price of each bag of chips is $1.25. Yesterday Melanie made $33.25 and sold 13 more candy bars than bags of chips. Determine the number of candy bars sold and the number of bags of chips sold.

User Sherece
by
4.4k points

1 Answer

4 votes

Answer:

18 candy bars sold.

5 bag of chips sold.

Explanation:

To determine the number of candy bars sold and the number of bags of chips sold, we can set up and solve a system of equations.

Define the variables:

  • Let x be the number of candy bars sold.
  • Let y be the number of bags of chips sold.

Given the price of each candy bar is $1.50, the price of each bag of chips is $1.25, and the total Melanie made was $33.25:


1.50x+1.25y=33.25

Given Melanie sold 13 more candy bars than bags of chips:


x=y+13

Therefore, the system of equations is:


\begin{cases}1.50x+1.25y=33.25\\x=y+13\end{cases}

To solve the system of equations, substitute the second equation into the first equation to eliminate x:


1.50(y+13)+1.25y=33.25

Solve for y:


\begin{aligned}1.50(y+13)+1.25y&=33.25\\1.50y+19.5+1.25y&=33.25\\2.75y+19.5&=33.25\\2.75y&=13.75\\y&=5\end{aligned}

Therefore, Melanie sold 5 bags of chips.

To find the number of candy bars sold, we can substitute the found value of y = 5 into the second equation and solve for x:


x=5+13


x=18

Therefore, Melanie sold 18 candy bars.

User Archna
by
4.4k points