At first, I didn’t know when to use cosine law and which formula was for solving a side or an angle. My light-bulb moment was realizing that the cosine law is used when you know two sides and the angle between them, or when you know all three sides. The cosine law formula for finding a side length is c² = a² + b² − 2ab cos C. For a simple example, if a triangle has sides a = 6, b = 7, and the angle between them, C = 60 degrees, you plug the values into the formula. That gives c² = 6² + 7² − 2(6)(7)cos60. which is c² = 165. To finish, you take the square root to get c ≈ 12.8. Once I understood when and how to use the cosine law, it made it a whole lot easier to solve for triangles.
For the other instance of cosine law, when you are trying find an angle, lets use the same side angles of a=6, b=7, and now c=8. and if we want to find the biggest side angle which would be side c, because it is opposite from the biggest side. the formula for cosine law for an angle is cosA=b² + c² – a²/2bc. so plugging in the values, we will have cosC= 7² + 6² – 8²/2(7)(6). after plugging those into our calculator, we get cosC= 0.25. and now we got to isolate C, by moving the cos over which gives us an inverse cosine, which we will have C = cos⁻¹(0.25). which gives us around 75 degrees.











