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:
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