Previous Up Next

12.14.11  The angle of a vector: arg

The abs command takes as argument a complex number or a vector defined by two points.

abs returns the argument of the complex number or the angle between the positive x direction and the vector.
Input:

arg(1+i)

Output:

pi/4

Previous Up Next