Calculate the length of the hypotenuse in a right-angled triangle.