a train overtakes two persons who are walking in the same direction in which the train is going , at the rate of 2 kmph and 4 kmph and passes them completely in 9 and 10 seconds respectively . find the length of train ?
"explanation : first person speed = 2 * ( 5 / 18 ) = 5 / 9 m / sec second person speed = 4 * ( 5 / 18 ) = 10 / 9 m / sec let the length of train is x metre and speed is y m / sec then , x / y − 5 / 9 = 9 = > 9 y − 5 = x = > 9 y − x = 5 . . . . . ( i ) also , x / y − 10 / 9 = 10 90 y − 9 x = 100 . . . . . ( ii ) from ( i ) and ( ii ) , we get , x = 50 so length of train is 50 metre option b"
multiply(multiply(subtract(divide(subtract(multiply(2, divide(9, const_3600)), multiply(4, divide(10, const_3600))), subtract(divide(9, const_3600), divide(10, const_3600))), 2), divide(9, const_3600)), const_1000)