Triangle area by Heron's law

20/10/2024
Hideki Miki, Ph.D. (Engineering), JICA Expert


Calculation
Note1: Error handling is minimal.
Note2: Tested with Chrome. (blocks must be removed.)

Fomula
S^2 = s x (s - A) x (s - B) x (s - C) : Heron's law
S:Area[m2]
A:Length of side 1[m]
B:Length of side 2[m]
C:Length of side 3[m]
s:(A + B + C) / 2[m]