Functions

atan2

Supported By

Syntax

[the] atan2 of ( expression , expression )

atan2 ( expression , expression )

Expression yields an integer or a number.

Example

put atan2(steve, bill) into andy

Description

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.

Note

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.

See Also

atan, arg, theta