a jogger running at 9 km / hr along side a railway track is 250 m ahead of the engine of a 120 m long train running at 45 km / hr in the same direction . in how much time will the train pass the jogger ?
n0 = 9.0
n1 = 250.0
n2 = 120.0
n3 = 45.0
t0 = n1 + n2
t1 = 10.0 / 2.0
t2 = n3 - n0
t3 = t2 / 2.0
t4 = t1 / t3
t5 = t4 * t2
answer = t0 / t5
print(answer)