原帖由 kwan_kwan3 於 11-9-27 09:14 發表
假設x是行了多少天平路而y行了多少天山路,得出以下公式
38x + 23y = 450------(1)
x + y = 15------------(2)
x = y - 15 from (2)------(3)
38(15-y) +23y = 450 ---sub (3) in (1)
570-38y +23y = 450
...
Alternatively, if it were all 平路 for the 15 days, the man would have travelled 38 x 15 = 570 km. But the actual journey is 570 - 450 = 120 km less. For each day of 山路 instead of 平路, the distance travelled is 38 - 23 = 15 km less. Hence the man have travelled 120/15 = 8 days of 山路 and the total distance of 山路 travelled is 23 x 8 = 184 km.