Distance between two boats (cosine rule)
Two boats leave the same harbor at the same time. The first sails 8 km in a straight line and the second sails 5 km in a straight line. The angle between their two routes, measured at the harbor, is \(120^\circ\).
How far apart are the boats now? Give the answer in km, rounded to 2 decimal places.
Show a hint
You know two sides and the angle between them, so use the cosine rule. Watch the sign of \(\cos 120^\circ\).
Show the step-by-step solution
- The harbor and the two boats form a triangle with sides 8 and 5 and the angle \(120^\circ\) between them. Let \(d\) be the distance between the boats.
- Cosine rule: \(d^2 = 8^2 + 5^2 - 2 \cdot 8 \cdot 5 \cos 120^\circ\).
- \(\cos 120^\circ = -\tfrac12\), so \(d^2 = 64 + 25 + 40 = 129\).
- \(d = \sqrt{129} \approx 11.3578\), which rounds to 11.36.
Answer: about 11.36 km.
All 10 trigonometry problems and the topic guide
Learn the method: SOHCAHTOA — Sin, Cos and Tan in Right Triangles, with Examples
Learn the method: Law of Sines and Law of Cosines — Formulas, When to Use, Examples
Learn the method: Radians to Degrees — Converting Angles and Radian Measure Explained