Question: what is the formula for solving a triangle?
Answer: It says that c2, the square of one side of the triangle, is equal to a2 + b2, the sum of the squares of the the other two sides, minus 2ab cos C, twice their product times the cosine of the opposite angle. When the angle C is right, it becomes the Pythagorean formula.