atan2()

Calculates the two parameter inverse tangent using the given values.

Synopsis

atan2(y, x)

Description

This function calculates the two parameter inverse tangent, and returns the principal value of the inverse tangent of \(y/x\) using the signs of both arguments to determine the quadrant of the returned value.

Parameters

y

a numeric expression.

x

a numeric expression.

Returns

The arc tangent of y/x, using the signs of both arguments to determine the quadrant of the return value.

See Also

sin(), sinh(), asin(), asinh(), cos(), cosh(), acos(), acosh(), tan(), tanh(), atan(), atanh()