The distance between P and R is equal to the net displacement of the ship in going from port P to port R
Vector P = 30 km North
Vector R = 20 km 30° east of north
Now, the angle between Vector P and vector R = 90° + 30 ° = 120°
Using the formula to find the addition of two vectors:
Resultant = [tex]= \sqrt{P^2+R^2 +2PR Cos 120}[/tex]
Plugging the values:
[tex]Resultant = \sqrt{30^2+20^2+2\times 20 \times 30 \times (-0.5)}[/tex]
[tex]Resultant = \sqrt{900 +400 -600 }[/tex]
Resultant = 26.457 Km
The distance from P to R is 26.457 km