formulas to calculate area of triangle code example Example: what is the formula to find the area of a triangle A=hbb 2=5·5 2=12.5