2 pipes can separately fill a tank in 20 hrs and 30 hrs respectively . both the pipes are opened to fillthe tank , a leak develops in the tank through which one - third of water supplied by both the pipes goes out . what is the total time taken to fill the tank ?
n0 = 2.0
n1 = 20.0
n2 = 30.0
t0 = 1.0 / 3.0
t1 = 1 / n1
t2 = 1 / n2
t3 = t0 + 1.0
t4 = t1 + t2
answer = t3 / t4
print(answer)