Usually called the "side angle side" method, the area of a triangle is given by the formula below. Although it uses the trigonometry Sine function, it works on any triangle, not just right triangles. where a and b are the lengths of two sides of the triangle C is the included angle (the angle between the two known sides) Calculator
Write a program to calculate the area of a triangle with sides a, b, and c. The formula for the area of a triangle is side x height, as shown in the graph below: There are different starting measurements from which one can solve a triangle, calculate the length of a side and height to it, and finally calculate a triangle's area. There are 4 common rules for solving a triangle, as explained below.