Math Problem.

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Math Problem.

Post by s.dot »

Someone posted this on my forums, and I solved it.

Then she found a link to the math problem and it was a different answer

The Problem:
Pipe A fills a tank in 30 minutes. Pipe B can fill the same tank 5 times as fast as pipe A. If both the pipes were kept open when the tank is empty, how much time will it take for the tank to overflow?
MY Logic:

Pipe A fills the tank in 30 minutes.
Pipe B = 5 times faster, so it will fill it in 6 minutes.

If you put them together, pipe A is helping out by 1/5th.

6 minutes in seconds is 360 seconds.
1/5th of 360 is 72.

360 seconds - 72 seconds = 288 seconds.

288 seconds = 4.8 minutes.

And 4.8 minutes = 4 minutes and 48 seconds

Thus, my answer = 4 minutes and 48 seconds

This page does it differently.

Their answer: 5 minutes

If I'm wrong, how so?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

1x + 5x = 6x
30 / 6 = 5
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

So where did I go wrong in my logic?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

You were subtracting in your logic. 'A' helping 'B' is additive...

Pipe{a} = 1 Tank / 30 Minutes
Pipe{b} = Pipe{a} * 5
Pipe{b} = 1/30 * 5
Pipe{b} = 1 Tank / 6 Minutes

Pipe{a} + Pipe{b} = 1/30 + 1/6
=> 1/30 + 5/30
=> 6/30
=> 1 Tank / 5 Minutes
Post Reply