a train traveling at 100 kmph overtakes a motorbike traveling at 64 kmph in 12 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 = 12 seconds distance = speed * time 36000 * 12 / 3600 = 120 meters . b is the answer ."
multiply(multiply(subtract(100, 64), const_0_2778), 12)