Heron's formula allows us to calculate the area of ​​the triangle (S) on its sides a, b, c:
S=\sqrt{p(p-a)(p-b)(p-c)},

where p — semiperimeter of ​​the triangle: p = \frac{a + b + c}2