a train traveling at 100 kmph overtakes a motorbike traveling at 64 kmph in 18 seconds . what is the length of the train in meters ?
"train overtakes a bike means that we are talking about total length of the train . ( train ' s head is close to bike when it started and its tail crosses the bike when it overtakes the bike ) relative speed = 100 - 64 = 36 km / h = 36000 m / h time = 18 seconds distance = speed * time 36000 * 18 / 3600 = 180 meters . a is the answer ."
multiply(multiply(subtract(100, 64), const_0_2778), 18)