Two towns A and B are 100 km apart on a highway. One car starts from A and another from B at the same time. If the cars travel in the same direction, they meet in 5 hours. If they travel towards each other, they meet in 1 hour. Find the speeds of both the cars.
60 km/h, 40 km/h
Let the speed of the first car be u km/h and that of the second car be v km/h. (Assuming u > v)
Respective speed of both the cars when they are travelling in the same direction = (u - v) km/h
Respective speed of both the cars when they are travelling in opposite directions i.e., travelling towards each other = (u + v) km/h
According to the question,
5(u - v) = 100
⇒ u - v = 20 ... (i)
1(u + v) = 100 ... (ii)
Adding both the equations, we get
2u = 120
u = 60 km/h ... (iii)
Putting this value in equation (ii), we obtain
v = 40 km/h
Hence, the speed of the first car is 60 km/h and the speed of the second car is 40 km/h.