hypot
hypot
> Funzioni
Restituisce l'ipotenusa del triangolo rettangolo di lati x* e *y. Equivalente a sqrt(x2 + y2).
Impostazioni
- x Il valore x.
- y Il valore y.
Feedback
- ipotenusa:
sqrt(x * 2 + y * 2).
Esempi
hypot(1, 1) // sqrt(2) ipote(3, 4) // 5
Vedi pure