Facebook Pixel
Mathos
Geometry

Two Ships Navigation Distance Problem

Solve navigation problems using the law of cosines to find the distance between two ships given their bearings and distances from port.

Master Math with AI

Stuck on a problem? Mathos AI provides step-by-step solutions, instant visualizations, and personalized tutoring for any math concept.


Learning Resources

This content is part of the Mathos AI open learning library. Designed to help students visualize and understand complex mathematical problems.

Trusted & Recognized


Backed by

Y Combinator

Featured on

Forbes

Problem

Two ships leave a port: Ship 1 travels due north for 77 nautical miles, and Ship 2 travels 6060^\circ east of north for 99 nautical miles. Find the distance between the ships and the area of the triangle formed by the two ships and the port.

Step 1: Use the law of cosines for the ship-to-ship distance

The two travel paths form a triangle with sides 77 and 99 and included angle 6060^\circ. Using the law of cosines,

c2=72+922(7)(9)cos60.c^2 = 7^2 + 9^2 - 2(7)(9)\cos 60^\circ.

Since cos60=12\cos 60^\circ = \dfrac{1}{2},

c2=49+8163=67.c^2 = 49 + 81 - 63 = 67.

So the distance between the ships is

c=678.19.c = \sqrt{67} \approx 8.19.

Step 2: Use the area formula for the triangle

With two sides and the included angle, the area is

A=12(7)(9)sin60.A = \frac{1}{2}(7)(9)\sin 60^\circ.

Because sin60=32\sin 60^\circ = \dfrac{\sqrt{3}}{2},

A=633427.28.A = \frac{63\sqrt{3}}{4} \approx 27.28.

Answer

The ships are 678.19\sqrt{67} \approx 8.19 nautical miles apart, and the triangle's area is 633427.28\dfrac{63\sqrt{3}}{4} \approx 27.28 square nautical miles.

Concepts

Law of Sines and Cosines

The Law of Sines and Law of Cosines extend trigonometry to non-right (oblique) triangles. They allow you to find unknown sides and angles in any triangle and to compute triangle area using the sine formula.

More videos

© 2026 Mathos. All rights reserved

Two Ships Navigation Distance Problem