Hypot
- 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Hypot
- Updated on 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Calculate the hypotenusea of a list of numbers, i.e. the square root of the sum of squares of the numbers.
Function signature
HYPOT(values: Array) => Number
Parameter | Description |
---|---|
Values | List of numeric values |
Examples
Formula | Return value |
---|---|
HYPOT([10, 20, 30]) | 37.416573867739416 |
HYPOT([3, 4]) | 5 |
HYPOT([]) | 0 |
Was this article helpful?