The abs command takes as argument either a complex number or a vector defined by two points.
abs returns the absolute value of the complex number or the length of the vector. Input:
or:
Output: