Computes the magnitude of a 2-dimensional vector. The magnitude of a vector is the distance from the origin of a graph to the tip of the vector, just as the absolute value of a number is the distance from 0 on a number line to that number. The equation can be stated as: mag = squareroot(x^2+y^2).
Inputs: 3
Input Name:
Description:
Enabled
Boolean input of 1 or 0, ON or OFF, enabling or disabling computation on the provided inputs. Default is ON.
x
The input value of type double that is the x component of the 2D vector.
y
The input value of type double that is the y component of the 2D vector.
Outputs: 1
Output Name:
Description:
Magnitude (m)
The output of type double that is the computed magnitude of the provided xy 2D Vector.