Ship A is moving west at a speed of , and ship B is moving north at a speed of south of A. The time at which the distance between them becomes shortest is:
Let the shortest distance between Ship A and B is PQ.
Therefore,
Or,
Also
Thus, time is taken to reach the shortest path:
Or,