if a car went the first third of the distance at 60 kmh , the second third at 24 kmh , and the last third at 48 kmh , what was the average speed of the car for the entire trip ?
"assume d / 3 = 240 ( this number is convenient because it is divisible by 60 , 24 and 48 ) so : 240 = 60 * t 1 = 4 hrs 240 = 24 * t 2 = 10 hrs 240 = 48 * t 3 = 5 hrs t = t 1 + t 2 + t 3 = 19 hrs d = rt ( 240 * 3 ) = r * 19 r = 38 answer : a"
divide(const_3, add(add(divide(const_1, 60), divide(const_1, 24)), divide(const_1, 48)))