Name

mag()

Examples
x1 = 20
x2 = 80
y1 = 30
y2 = 70
line(0, 0, x1, y1)
print(mag(x1, y1))  # Prints "36.05551"
line(0, 0, x2, y1)
print(mag(x2, y1))  # Prints "85.44004"
line(0, 0, x1, y2)
print(mag(x1, y2))  # Prints "72.8011"
line(0, 0, x2, y2)
print(mag(x2, y2))  # Prints "106.30146"
Description
Syntax
Parameters
x
y
Related magSq()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License