ATAN2

Your Ad Here


The ATAN2 function expression returns the arc tangent of the expression a1/a2. a1 and a2 themselves can be expressions.

- < ATAN2(a1,a2) <
ATAN2(a1,a2) > 0 if a1 > 0
ATAN2(a1,a2) = 0 if a1 = 0, a2 > 0
ATAN2(a1,a2) = if a1 = 0, a2 < 0
ATAN2(a1,a2) < 0 if a1 < 0
ABS(ATAN2(a1,a2))= /2 if a2 = 0
ATAN2(a1,a2) undefined if a1 = 0, and a2 = 0

Format

ATAN2(a1,a2)

Arguments

a1 Any valid function expression.
a2 Any valid function expression.

Examples

ATAN2(DY(21,31,41), DX(21,31,41))

This function shows the arc tangent (in radians) of the expression a/b.

Your Ad Here