Calculate hypotenuse of a triangle

We are using the Pythagoras theorem to calculate the hypotenuse