Mwnci hypot() Function

Syntax

hypot(number,number)

Description

The hypot() function returns the Euclidean norm. The Euclidian norm is the distance from the origin to the coordinates given. I.e The longest line of a right-angled triangle.

Example

include("math")
println(hypot(10, 5))


11.18034