Solve this application problem using a system of equations: A grocery store recently sold a
bag of peanuts for $0.76 and a bag of pistachios for $3.68. At the end of that day, 50 bags of
peanuts and pistachios were sold for a total of $128.52. How many bags of each were sold?

Respuesta :

Answer:

19 bags of peanuts and 31 bags of pistachios were sold.

Step-by-step explanation:

This question is solved by a system of equations.

I am going to say that:

x is the number of bags of peanuts sold.

y is the number of bags of pistachios sold.

50 bags of  peanuts and pistachios were sold

This means that [tex]x + y = 50[/tex], that is: [tex]x = 50 - y[/tex]

A grocery store recently sold a  bag of peanuts for $0.76 and a bag of pistachios for $3.68. Were sold for a total of $128.52.

This means that:

[tex]0.76x + 3.68y = 128.52[/tex]

Since [tex]x = 50 - y[/tex]

[tex]0.76(50 - y) + 3.68y = 128.52[/tex]

[tex]2.92y = 90.5[/tex]

[tex]y = \frac{90.5}{2.92}[/tex]

[tex]y = 31[/tex]

[tex]x = 50 - y = 50 - 31 = 19[/tex]

19 bags of peanuts and 31 bags of pistachios were sold.