two trains travel in opposite directions at 36 kmph and 45 kmph and a man sitting in slower train passes the faster train in 8 seconds . the length of the faster train is
"relative speed = 81 km / h = 81 x 5 / 18 m / sec = 22.5 m / sec length of slower train = speed x time = 36 x 8 km / hr = 288 x 5 / 18 m / sec = 80 m / sec let length of faster train = b time cross to each other 8 = ( 80 + b ) x 18 / ( 81 x 5 ) = 3240 - 1440 = 18 b 1800 / 18 = b b = 100 m answer : b"
multiply(multiply(add(36, 45), const_0_2778), 8)