a train 108 m long moving at a speed of 50 kmph crosses a train 112 m long coming from opp direction in 6 seconds . the speed of the second train is
both trains are moving in opposite direction means we need to add their speeds . i . e : 1 st train speed is = 50 kmph let the 2 nd train speed = x kmph relative speed = ( 50 + x ) kmph = ( 50 + x ) * 5 / 18 = ( 250 + 5 x ) / 18 m / sec distance covered by two trains = 108 + 112 = 220 m therefore , 220 / ( ( 250 + 5 x ) / 18 ) = 6 = > 250 + 5 x = 660 = > x = 82 km / hr . answer : d
subtract(multiply(const_3_6, divide(add(108, 112), 6)), 50)