Samir buys x cans of soda at 30 cents each and (x+4) cans of soda at 35 cents each. The total cost was $3.35. Find x

Respuesta :

0.30is the cost of the first type of soda. 0.35(x+4) is the cost of the second type of soda. Put these into an equation looking like:

Cost of Soda A + Cost of Soda B = Total Cost
0.30+ 0.35(x+4)=3.35 --> Expand 0.35(x+4)
0.30x + 0.35x + 1.4 = 3.35 --> Add the x's and subtract 1.4
0.65x = 1.95 --> Divide by 0.65
x = 3

Samir buys 3 cans of soda at 30 cents each and 7 (3+4) cans of soda at 35 cents each. Samir buys a total of 10 cans of soda.

An equation is formed of two equal expressions. The value of x is 3.23.

What is an equation?

An equation is formed when two equal expressions are equated together with the help of an equal sign '='.

The cost of x cans can be written as [tex]=x \times 0.30[/tex]

The cost of (x+4) cans can be written as,

[tex](x+4) \times 0.35\\= 0.35 x+ 1.4[/tex]

Now, the total cost of the cans is given to us like $3.35, therefore, the value of x can be written as,

[tex](0.30x) + 0.35x+ 1.4 = 3.35\\\\0.65x = 3.5-1.4\\\\x = \dfrac{2.1}{0.65}\\\\x = 3.23[/tex]

Hence, the value of x is 3.23.

Learn more about Equation:

https://brainly.com/question/2263981