two pipes a and b can fill a tank in 30 and 60 minutes respectively . if both the pipes are used together , then how long will it take to fill the tank ?
"part filled by a in 1 min . = 1 / 30 part filled by b in 1 min . = 1 / 60 part filled by ( a + b ) in 1 min . = 1 / 30 + 1 / 60 = 1 / 20 . both the pipes can fill the tank in 20 minutes . answer : b"
add(multiply(30, const_100), multiply(multiply(subtract(const_1, multiply(add(divide(const_1, 30), divide(const_1, 60)), const_2)), 30), const_60))