It MUST be a right triangle for this formula to work, please comment if it is not a RIGHT triangle
[tex] c=\sqrt{a^{2}+b^{2} }
[/tex]
a and b being the lengths of the legs of the triangle (the 2 sides that are not the hypotenuse) and c being the hypotenuse's length.