Solve for Soda Cost given Hot Dog Price and Total Income

  • Thread starter Thread starter Monique
  • Start date Start date
AI Thread Summary
The discussion revolves around a mathematical problem involving a vendor selling hot dogs and sodas, where a hot dog costs twice as much as a soda. Participants analyze the equation derived from the total earnings (d dollars) and the relationship between the prices of hot dogs and sodas. The key equation established is that the total earnings can be expressed as 100d = x(s + 2h), where x is the cost of a soda in cents, s is the number of sodas sold, and h is the number of hot dogs sold. There is some confusion among participants regarding the interpretation of variables and the formulation of the problem. Ultimately, the solution is clarified, emphasizing that the cost of a soda can be calculated directly from the total earnings and the quantities sold. The discussion highlights the importance of understanding the problem's structure and the relationships between the variables involved.
Monique
Staff Emeritus
Science Advisor
Gold Member
Messages
4,211
Reaction score
68
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?



Good luck :biggrin: keep in mind, this is a question taken from an actual test that should be solved in 60-90 seconds..
 
Physics news on Phys.org
100d = h(2x) + s(x) = x(2h + s)
So, x = 100d/(2h+s).

Surely, there's a catch somewhere, that I'm missing !
 
Monique, its me from the IQ post. hell, i figured that out, i thought there would have had to have been a catch to it more complex than that. if that's all you were looking for then i got that. sorry.
 
hey monique
although i am trying to figure it out, i would like to know if you are an indian, or do you have an indian connection, coz, that signature line is in hindi. which is not very common.
 
Hey vikasj007, aap kaise hai? :smile: I'm not really indian.

Goluk has the right solution!
 
Monique said:
Goluk has the right solution!

if this is the right solution, then i don't get it that how is it a brain teaser. :confused: all he did was to form an equation,. and took all but one variable on one side. i thought there was something more to it than that.
even gokul feels that there is a catch. :smile:
 
soda cost

Whatever your prepared to pay for it ---- when your thirsty. Ray
 
Monique said:
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?

Good luck :biggrin: keep in mind, this is a question taken from an actual test that should be solved in 60-90 seconds..

s = 2h
Σs + Σh = d
1/3d ≈ s (not likely)
2/3d ≈ h (not likely)


What more can be got from the question? There is no price or capacity of the vendor and no number of people that used it. Gokul used 100d as an approx but it is right. How?

The Bob (2004 ©)
 
The Bob said:
s = 2h
Σs + Σh = d
1/3d ≈ s (not likely)
2/3d ≈ h (not likely)


What more can be got from the question? There is no price or capacity of the vendor and no number of people that used it. Gokul used 100d as an approx but it is right. How?

The Bob (2004 ©)

Not sure what you mean by this, but ...

It does not say anuwhere, that s= 2h. How did you arrive at this ?
100d is not an approximation. It is exactly the amount taken in (measured in cents).
Let x be the cost of the soda. Then the cost of a hot dog is 2x (in cents).
 
  • #10
Gokul43201 said:
Not sure what you mean by this, but ...

It does not say anuwhere, that s= 2h. How did you arrive at this ?
100d is not an approximation. It is exactly the amount taken in (measured in cents).
Let x be the cost of the soda. Then the cost of a hot dog is 2x (in cents).

Sorry it is h = 2s as a hot dog is twice as much as a soda. I still don't get it though. Sorry.

The Bob (2004 ©)
 
  • #11
The Bob, s and h are the number of sodas and hot dogs, not the price.
 
  • #12
EFischer said:
The Bob, s and h are the number of sodas and hot dogs, not the price.

Yes I know. Ok my bad. But I still don't get it.

The Bob (2004 ©)
 
  • #13
Let x (cents) be the cost of one soda. Then, if s number of sodas are sold, the amount made is xs (in cents).

Now, the cost of one hotdog will be 2x, since it is twice as expensive as a soda. The number of hotdogs sold is h. So, the earnings from hotdogs is 2xh.

Total earnings = xs + 2xh = x(s+2h).

But we are told that the total earnings is d dollars, which is the same as 100d cents.

Thus, 100d = x(s+2h). Rearranging, we get : x = 100d/(s+2h), which is what we want to find out.
 
  • #14
Oh I get it. Sorry Gokul. I am as thick as a two by four.

The Bob (2004 ©)
 
Back
Top