atan_return_arctangent_.htm
Navigation: Language Reference > 13 - Built-in Functions >====== ATAN (return arctangent) ====== | |
ATAN(expression)
ATAN | Returns inverse tangent. |
expression | A numeric constant, variable, or expression for the value of the tangent. |
The ATAN procedure returns the inverse tangent. The inverse of a tangent is the angle that produces the tangent. The return value is the angle in radians. p is a constant which represents the ratio of the circumference and radius of a circle. There are 2p radians (or 360 degrees) in a circle.
Return Data Type | REAL |
Example:
PI EQUATE(3.1415926535898) !The value of PI
Rad2Deg EQUATE(57.295779513082) !Number of degrees in a radian
Deg2Rad EQUATE(0.0174532925199) !Number of radians in a degree
CODE
InvTangent = ATAN(TangentAngle) !Get the Arctangent
See Also:
atan_return_arctangent_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1