- Name
-
Hypot -- calculate the hypotenuse (V5.0)
- Synopsis
-
h = Hypot(x, y)
- Function
-
This function can be used to calculate the hypotenuse of a right triangle. You
have to pass the length of the two sides in
x
and y
. A call to Hypot()
is the
same as the square root of x*x + y*y.
- Inputs
-
- x
- length of triangle side
- y
- length of triangle side
- Results
-
- h
- hypotenuse of triangle
Show TOC