law of cosines
\(c\): \[ c^2 = a^2 + b^2 - 2ab \cos C \] Similarly, for the other sides and angles: \[ a^2 = b^2 + c^2 - 2bc \cos A \] \[ b^2 = a^2 + c^2 - 2ac \cos B \] This formula relates the lengths of sides to the cosine of an included angle, enabling the calculation of unknown sides or angl