Calculate the hypotenuse of a right-angled triangle using the Pythagorean theorem.
Formula: c = \sqrt{a^2 + b^2}