contestada

A vending machine sells chips at $0.65 and candy at $0.75. Last month, the vending machine yielded $243.80 with the sale of 350 items.
Let x be the number of chips sold and y the number of candies. How many packages of chips were purchase last month?

Respuesta :

The first thing we need to do is to assign variables. Let [tex]x[/tex] represent the number of chips sold and let [tex]y[/tex] represent the number of candies sold. Now we can write two equations.

[tex]0.65x+0.75y=243.80[/tex]
[tex]x+y=350[/tex]

Let's simplify our first equation by multiplying the whole equation by 100.

[tex]65x+75y=24380[/tex]

We can solve for [tex]x[/tex] in the second equation and we get [tex]x=350-y[/tex].

Now we can substitute the value of [tex]x[/tex] into the first equation.

[tex]65(350-y)+75y=24380[/tex]
[tex]22750-65y+75y=24380[/tex]
[tex]22750+10y=24380[/tex]
[tex]10y=1630[/tex]
[tex]y=163[/tex]

Now we can substitute the value of [tex]y[/tex] into the second equation.

[tex]x+163=350[/tex]
[tex]x=187[/tex]

Therefore the number of chips sold is 187.


RELAXING NOICE
Relax