Two data packets are sent sequentially across a network line. Packet 1 travels at a constant simulated speed of 40 ms per hop. 2 hours later, Packet 2 is sent along the identical path traveling at 60 ms per hop. How long will it take for Packet 2 to overtake Packet 1?
Explanation:
In the 2 hours before Packet 2 starts, Packet 1 has already traveled: Distance = Speed Time = 40 2 = 80 units.
The relative speed of Packet 2 with respect to Packet 1 is 60 - 40 = 20 units/hour.
Time to overtake = Initial Distance Separating Them/Relative Speed = 80/20 = 4 hours.