Hypotenuse formula: √(base² + height²)