The ATAN function returns the arctangent (in radians) of a given Number.
ATAN(number) -> arctangent
- number (required, type: Number)
- Any number.
- arctangent (type: Number)
- The arctangent, in radians, of the given number.
The following example returns the arctangent of 1. Note that the arctangent of one is forty-five degrees, or 0.25π radians, but the ATAN function doesn't output an angle in degrees or in radians in terms of pi. Rather, it provides a numerical estimation of the angle in radians:
ATAN(1) -> 0.7853981633974483
DEGREES(ATAN(1)) -> 45
ATAN can also be used in tandem with the PI function to provide insight into how the angle in radians relates to terms of pi, such as in the following example:
ATAN(1)/PI() -> 0.25