Cosine Rule Formula:
From: | To: |
The cosine rule (also known as the law of cosines) relates the lengths of the sides of a triangle to the cosine of one of its angles. It's particularly useful for finding:
The calculator uses the cosine rule formula:
Where:
Explanation: The formula calculates the cosine of angle θ using the side lengths, then takes the inverse cosine (arccos) to find the angle in radians, which is then converted to degrees.
Details: The cosine rule is most useful when:
Tips:
Q1: What if I get an error message about invalid triangle?
A: This means your side lengths don't satisfy the triangle inequality theorem. Check your measurements.
Q2: How accurate is this calculation?
A: The calculation is mathematically exact (given precise inputs). Rounding occurs only in the final display.
Q3: Can I use this for any triangle?
A: Yes, the cosine rule works for all triangles - acute, right, and obtuse.
Q4: What units should I use?
A: Any consistent units (cm, m, inches, etc.), but all sides must be in the same units.
Q5: Can I find a side length instead of an angle?
A: Yes, the cosine rule can be rearranged to find side c: \( c = \sqrt{a^2 + b^2 - 2ab\cos(\theta)} \)