Given the two legs of a right triangle, calculate the length of the hypotenuse using the Pythagorean theorem.
Formula
c = √(a² + b²)