Can someone may help me with solving system of solving equations plz

A small soda costs $0.45 and a large soda costs $0.65. 35 sodas were sold for a total of $18.55. How many of each size soda were sold?



Answer :

let number of small sodas sold be x
# of large sodas sold be y
so
x + y =35
x=35 - y {equation1}
now next equation
0.65x + 0.45y = 18.55 { divide all by 0.50}
1.3x + 0.9y = 37.1 { put x = 35 - y (from eq 1)}
1.3 (35 - y) +0.9y = 37.1
45.5 - 1.3y + 0.9y = 37.1 {subtract 45.5  from both sides}
-0.4y = -8.4 { divide both by -0.4}
y = 21
so #of large sodas sold is 21
# of small sodas sold is 35 -21 = 14


Other Questions