Here is the riddle: We have a bathtub that can hold 100 gallons of water. If "A" can fill it at a rate of 20 gallons per minute and "B" can fill at a rate of 10 gallons per minute and there is a hole ing the tub which drains the water at a rate of 5 gallons per minute, how long will it take to fill the tub??
I asked my physics teacher and math professor, they say you can't solve it due to the lack of data.
Lack of data? Why? It is extremely simple math. Every minute you can fill the tub A + B - C (drainage) gallons, so 20 + 10 - 5 = 25 gallons per minute. If the tub can hold 100 gallons, it will fill up in 4 minutes (100/25).
It wasn't a riddle. It was a mathematical calculation. And a simple one at that. All the necessary data is provided. No intelligent teacher seriously claimed otherwise.
As the other poster said, the answer is 4 minutes. A 100 gallon tub is filled at a rate of 30 gallons (20+10) per minute and drains at a rate of 5 gallons per minute. As a result, it's filling at a rate of 25 gallons per minute. 25 goes into 100, 4 times. 4 minutes to get 100 gallons.
Yeah, once you hit that four minute mark, you will have a continually full tub of 100 gallons where it loses 5 gallons through the hole each minute and the excess 25 gallons spilling out from the top until someone shuts off the water.