ATAN is one of the vital Numeric/Math functions of Oracle. It is used to get the arc TANGENT of a number. The ATAN function is supported in the various versions of the Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i and Oracle 8i.
Syntax:
ATAN ( number )
Parameters:
number: It is used to specify the number to get the arc tangent value of.
Example 1:
ATAN (1) |
Output:
0.78539816
Explanation:
The Arc tangent means the inverse of the tangent. The arc tangent value of 1 is 45 degrees i.e, 0.78539816 radians, and so is the result.
Example 2:
ATAN (0.5) |
Output:
0.46364761
Explanation:
The Arc tangent means the inverse of the tangent. The arc tangent value of 0.5 is 26.56505118 degrees i.e, 0.463647616 radians, and so is the result.
Example 3:
ATAN (-0.5) |
Output:
-0.46364761
Explanation:
The Arc tangent means the inverse of the tangent. The arc tangent value of 0.5 is -26.56505118 degrees i.e, -0.463647616 radians, and so is the result.