two trains a and b are 175 m and 150 m long and are moving at one another at 54 km / hr and 36 km / hr respectively . arun is sitting on coach b 1 of train a . calculate the time taken by arun to completely cross train b .
detailed solution speed of a = 54 ∗ 1000 / 60 ∗ 60 = 15 m / s speed of b = 36 ∗ 1000 / 60 ∗ 60 = 10 m / s relative speed = s 1 + s 2 = 15 + 10 m / s = 25 m / s the length that needs to be crossed = length of train b = 150 m . therefore time taken = 150 / 25 = 6 s . what is the time taken for trains to completely cross each other ? the length that needs to be crossed = 175 + 150 = 325 m . time taken = 325 / 25 = 13 s . correct answer e .
divide(add(175, 150), add(divide(multiply(54, const_1000), const_3600), divide(multiply(36, const_1000), const_3600)))