Calculator Triangles that are not right-angled
Law of cosines side calculator
In one sentence
Law of cosines side: c² = a² + b² − 2ab cos C.
Last checked Source: own words Source: own words www.corestandards.org (opens in a new tab)
Key facts
Law of cosines side calculator
- Formula ref
- c² = a² + b² − 2ab cos C
- Topic
- Triangles that are not right-angled
Inputs
- Two sides a and b
- The included angle C in degrees
Worked input
- a = 9, b = 14, C = 120°: c = 20.07.
- Take sides 6 and 8 with an included angle of 60 degrees, an acute angle whose cosine is one half. Then c² = 36 + 64 − 2·6·8·(1/2) = 52, so c = 2√13, about 7.21. Check: with an acute angle the result 7.21 is shorter than 6 + 8 = 14 and longer than the difference 2, so the triangle inequality holds.
- Take sides 5 and 12 with a right included angle of 90 degrees, where the cosine term vanishes. Then c² = 25 + 144 − 2·5·12·(0) = 169, so c = 13. Check: with a zero cosine the law reduces to the Pythagorean theorem, and the result 13 is the familiar hypotenuse of a 5-12-13 triangle.
- Take sides 7 and 10 with an obtuse included angle of 120 degrees, so the cosine is negative and the term −2ab cos C adds to the sum. Then c² = 49 + 100 − 2·7·10·(−1/2) = 219, so c = √219, about 14.8. Check: the obtuse angle makes the side opposite it the longest, and 14.8 exceeds both 7 and 10 while staying below 17.
How to use it
- Enter two sides and the angle between them.
- Use degree mode.
- The tool evaluates the cosine and takes the root.
- For C = 90° the result matches the Pythagorean theorem.
Law of cosines side calculator in the Geometry Regents exam, set out with its source.
Related pages include Similar figures scale calculator, Law of sines side calculator, Triangle area from coordinates calculator and Polygon area (shoelace) calculator.
Study brief
- Students preparing for the geometry regents must understand how to apply trigonometry to general triangles. This includes proving the Law of Cosines and applying it in various cases. The Law of Cosines is a tool used to find unknown measurements in both right and non-right triangles. Such knowledge can be applied to solve problems involving resultant forces or surveying problems. Beyond basic application, students are expected to construct viable arguments to prove the Law of Cosines. To solve trigonometric equations, learners can use analytical methods with inverse functions or graphical methods using technology. Mathematically proficient students should know how to use appropriate tools strategically, such as a calculator, a ruler, a protractor, or dynamic geometry software. Using a calculator can help analyze solutions and detect errors through estimation. This helps in modeling periodic phenomena and solving equations that arise in different contexts. Understanding these trigonometric principles is essential for mastering the New York State Next Generation Mathematics Learning Standards, specifically within the similarity, right triangles, and trigonometry sections.
Practice for free
Test yourself with exam-style questions and see why each answer is right or wrong.
More from Triangles that are not right-angled
-
Law of cosines angle calculator
Law of cosines angle: cos C = (a² + b² − c²)/(2ab).
-
Law of sines side calculator
Law of sines side: b = a sin B / sin A.
-
Triangle area by Heron's formula calculator
Triangle area by Heron's formula: s = (a + b + c)/2, A = √(s(s − a)(s − b)(s − c)).
-
Triangle area from two sides and an angle calculator
Triangle area from two sides and an angle: A = ½ ab sin C.