ATAN
The ATAN function returns the arctangent (in radians) of a given number.
This function takes a single Number as input. It outputs another Number: the arctangent, in radians, of the given number.
Declaration
Parameters
number (required, type: Number) Any number.
Return Values
arctangent (type: Number) The arctangent, in radians, of the given number.
Examples
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:
To calculate the arctangent in degrees, the ATAN function must be used in tandem with the DEGREES function, such as in the following example:
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:
Last updated