Respuesta :
Answer:
The cost of a soda is [tex]\dfrac{100d}{(2h+s)}[/tex] cents.
Explanation:
It is given that a hot dog costs twice as much as a soda.
Let x be the cost of a soda in cents.
Cost of a hot dog = 2x cents.
It is given that a vendor sells h hot dogs and s sodas. So, the total cost s
[tex]Cost=2x(h)+x(s)[/tex]
The vendor takes in a total of d dollars.
1 dollar = 100 cents
d dollars = 100d cents.
It means total cost is 100d.
[tex]2x(h)+x(s)=100d[/tex]
[tex]x(2h+s)=100d[/tex]
Divide both sides by (2h+s).
[tex]x=\dfrac{100d}{2h+s}[/tex]
Therefore, cost of a soda is [tex]\dfrac{100d}{(2h+s)}[/tex] cents.