a person travels equal distances with speeds of 3 km / hr , 4 km / hr and 5 km / hr and takes a total time of 40 minutes . the total distance is ?
"e 3 km let the total distance be 3 x km . then , x / 3 + x / 4 + x / 5 = 40 / 60 47 x / 60 = 40 / 60 = > x = 0.85 . total distance = 3 * 0.85 = 2.55 km ."
multiply(multiply(divide(divide(40, const_60), add(add(divide(const_1, 3), divide(const_1, 4)), divide(const_1, 5))), const_3), const_1000)