Answer:
The number of bottles of soda purchased are 3 and the number of bottles of juice purchased are 10.
Step-by-step explanation:
Given:
Julian went to the grocery store and bought bottles of soda and bottles of juice. Each bottle of soda has 25 grams of sugar and each bottle of juice has 40 grams of sugar. Julian purchased a total of 13 bottles of juice and soda which collectively contain 475 grams of sugar.
Now, to determine the number of bottles of soda and the number of bottles of juice purchased.
Let the number of bottles of soda be [tex]x.[/tex]
And the the number of bottles of juice be [tex]y.[/tex]
So, the total number of bottles:
[tex]x+y=13[/tex]
[tex]x=13-y\ ......( 1 ).[/tex]
As, each bottle of soda has 25 grams of sugar and each bottle of juice has 40 grams of sugar.
Now, the total grams of sugar total bottles contain:
[tex]25x+40y=475[/tex]
Substituting the value of [tex]x[/tex] from equation (1) we get:
[tex]25(13-y)+40y=475[/tex]
[tex]325-25y+40y=475[/tex]
[tex]325+15y=475[/tex]
Subtracting both sides by 325 we get:
[tex]15y=150[/tex]
Dividing both sides by 15 we get:
[tex]y=10.[/tex]
The number of juice bottles = 10.
Now, to get the number of bottle of soda by substituting the value of [tex]y[/tex] in equation (1):
[tex]x=13-y\\x=13-10\\x=3.[/tex]
The number of soda bottles = 3.
Therefore, the number of bottles of soda purchased are 3 and the number of bottles of juice purchased are 10.