SOLUTION: A vendor sells h hot dogs and s sodas. If a hot dog costs twice as much as a soda, and if the vendor takes in a total of d dollars, how many cents does a soda cost?

Algebra ->  Complex Numbers Imaginary Numbers Solvers and Lesson  -> Lesson -> SOLUTION: A vendor sells h hot dogs and s sodas. If a hot dog costs twice as much as a soda, and if the vendor takes in a total of d dollars, how many cents does a soda cost?      Log On


   



Question 1103892: A vendor sells h hot dogs and s sodas. If a hot dog costs twice as much as a soda, and if the vendor takes in a total of d dollars, how many cents does a soda cost?
Answer by josgarithmetic(39617) About Me  (Show Source):
You can put this solution on YOUR website!
Prices are p and 2p.

Using the variables in your description and the assigned variable p, the soda price,
h%2A%282p%29%2Bs%2Ap=d
Solve this for p.
Most important is to be able to make the equation just shown.

p%282h%2Bs%29=d

highlight_green%28highlight%28highlight%28p=d%2F%282h%2Bs%29%29%29%29


(price for hot dogs and soda were not specified in either dollars or cents; only as price without which denomination. Result for p is therefore not clear if for cents or dollars per soda).
(d DOLLARS taken in by sales of h and s. Question was how many CENTS for one soda.)