Lesson 6: The cosine rule
The distance between two farm gates
SkillThe cosine rule
Worked example
Two straight roads leave a town at an angle of . One farm gate is 5.2 km along the first road and another is 7.9 km along the second. Calculate the straight-line distance between the two gates, correct to two decimal places.
Step 1: Choose the rule
You know two sides and the angle between them, with no complete pair: use the cosine rule.
Step 2: Substitute
Step 3: Evaluate
is worked out as one term and subtracted.
Step 4: Take the square root
Answer
The gates are about 7.66 km apart.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Two sides and the included angle → cosine rule.
Substitute into .
Evaluate in one go on the calculator, then take the square root.
Watch out for
Giving as the answer.
Calculating .