ATAN2 Function
The ATAN2 function computes the angular component of the polar coordinates (r, q) associated with (x, y).
The following example compares angles to q for
the rectangular coordinates (4, 5):
WHERE angles > ATAN2(4,5) --determines q for (4,5) and --compares to angles
You can determine the length of the radial coordinate r using
the expression that the following example shows:
SQRT(POW(x,2) + POW(y,2)) --determines r for (x,y)
You can determine the length of the radial coordinate r for
the rectangular coordinates (4,5) using the expression that the following
example shows:
SQRT(POW(4,2) + POW(5,2)) --determines r for (4,5)