make hypotenuse method show work