Ethan went to the grocery store and bought bottles of soda and bottles of juice. Each bottle of soda has 45 grams of sugar and each bottle of juice has 35 grams of sugar. Ethan purchased a total of 19 bottles of juice and soda which collectively contain 755 grams of sugar. Determine the number of bottles of soda purchased and the number of bottles of juice purchased.

Respuesta :

9 bottles of soda and 10 juice bottles are purchased

Solution:

Given that,

Sugar contained by each soda bottle = 45 grams

Sugar contained by each juice bottle = 35 grams

Let,

x be the number of soda bottles

y be the number of juice bottles

Given that,

Ethan purchased a total of 19 bottles of juice

Therefore, we get,

x + y = 19 ---------- eqn 1

Ethan purchased a total of 19 bottles of juice and soda which collectively contain 755 grams of sugar

Therefore, we frame a equation as:

[tex]45 \times x + 35 \times y = 755[/tex]

45x + 35y = 755 --------- eqn 2

Let us solve eqn 1 and eqn 2

From eqn 1,

x = 19 - y --------- eqn 3

Substitute eqn 3 in eqn 2

45(19 - y) + 35y = 755

855 - 45y + 35y = 755

10y = 100

y = 10

Substitute y = 10 in eqn 3

x = 19 - 10

x = 9

Thus 9 bottles of soda and 10 juice bottles are purchased