if a car went the first third of the distance at 80 kmh , the second third at 24 kmh , and the last third at 60 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 80 , 24 and 60 ) so : 240 = 80 * t 1 = 3 hrs 240 = 24 * t 2 = 10 hrs 240 = 60 * t 3 = 4 hrs t = t 1 + t 2 + t 3 = 17 hrs d = rt ( 240 * 3 ) = r * 17 r = 42.35 answer : c"
divide(const_3, add(add(divide(const_1, 80), divide(const_1, 24)), divide(const_1, 60)))