the
atan2
of
(
expression ,
expression )
atan2
(
expression ,
expression )
Expression yields an integer
or a number
.
put atan2(steve, bill) into andy
The atan2
function returns the angle, in radians, of the specified coordinates from the positive x-axis. The first argument is the y coordinate, and the second argument is the x coordinate.
This function is similar to the theta
function, but the arguments are in opposite order. It is also similar to the arg
function, but it takes two arguments rather than one, and the elements are in opposite order.