Cal11 calculator

How to Put Law of Cosine in Calculator

Reviewed by Calculator Editorial Team

The Law of Cosines is a fundamental trigonometric relationship that extends the Pythagorean theorem to non-right triangles. This guide explains how to use the Law of Cosine in a calculator, including step-by-step instructions, formula examples, and practical applications.

What is the Law of Cosine?

The Law of Cosines is a theorem in Euclidean geometry that relates the lengths of the sides of a triangle to the cosine of one of its angles. It generalizes the Pythagorean theorem, which only applies to right-angled triangles.

The Law of Cosines is particularly useful in solving triangles where you know:

  • Two sides and the included angle (SAS)
  • Two sides and a non-included angle (SSA)
  • Three sides (SSS)

It's widely used in navigation, engineering, astronomy, and computer graphics.

How to Use the Law of Cosine Calculator

Using the Law of Cosine calculator is straightforward. Follow these steps:

  1. Enter the lengths of two known sides of the triangle
  2. Enter the included angle between these two sides
  3. Click "Calculate" to find the length of the third side
  4. Review the result and any additional information provided

The calculator will display the length of the third side based on your inputs. You can also use the calculator to verify your manual calculations or explore different scenarios.

The Law of Cosine Formula

The Law of Cosines formula is:

c² = a² + b² - 2ab cos(C)

Where:

  • c is the length of the side opposite angle C
  • a and b are the lengths of the other two sides
  • C is the included angle between sides a and b

This formula allows you to calculate the length of any side when you know two sides and the included angle, or to find an angle when you know all three sides.

Worked Example

Let's solve a triangle with sides a = 5, b = 7, and included angle C = 60°.

  1. Convert the angle to radians if your calculator uses radians (60° = π/3 radians)
  2. Apply the formula: c² = 5² + 7² - 2 × 5 × 7 × cos(60°)
  3. Calculate each part: 25 + 49 - 70 × 0.5 = 74 - 35 = 39
  4. Take the square root of 39 to find c ≈ 6.245

The length of the third side is approximately 6.245 units.

Practical Applications

The Law of Cosines has numerous practical applications in various fields:

  • Navigation: Calculating distances and directions between points on a map
  • Engineering: Designing structures and calculating forces in trusses
  • Astronomy: Determining distances between celestial bodies
  • Computer Graphics: Calculating lighting and shading in 3D models
  • Surveying: Measuring distances in irregular terrain

Understanding how to apply the Law of Cosines in these contexts can help professionals make accurate calculations and informed decisions.

Frequently Asked Questions

What is the difference between the Law of Cosines and the Pythagorean theorem?
The Pythagorean theorem only applies to right-angled triangles, while the Law of Cosines applies to any triangle. The Law of Cosines extends the Pythagorean theorem to non-right triangles by including the cosine of an angle.
When should I use the Law of Cosines instead of the Pythagorean theorem?
Use the Law of Cosines when you have a triangle that is not right-angled, or when you need to find a side or angle that isn't directly opposite a right angle. The Pythagorean theorem is a special case of the Law of Cosines.
Can the Law of Cosines be used to find angles as well as sides?
Yes, the Law of Cosines can be rearranged to find angles when you know all three sides of the triangle. This is particularly useful in solving triangles where you have three sides but need to determine the angles.
What units should I use when entering values into the Law of Cosines calculator?
The calculator accepts any consistent units (e.g., meters, inches, kilometers). Ensure all side lengths are in the same units and the angle is in degrees or radians, depending on your calculator's settings.
Is the Law of Cosines only used in geometry, or does it have applications in other fields?
The Law of Cosines is primarily a geometric concept, but its applications extend to various fields such as navigation, engineering, astronomy, and computer graphics, where understanding spatial relationships is essential.