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