@ATan (Formula Language)

Calculates the arc (inverse) tangent using the tangent of an angle.

Syntax

@ATan( tangent )

Parameters

tangent

Number or number list. The tangent of an angle.

Return value

angle

Number or number list. An angle, in radians, from -pi/2 through pi/2. This represents an angle between -90 and 90 degrees.

Usage

If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.

Examples

  1. This example returns pi/4.
    @ATan( 1 )
  2. This example returns -pi/4.
    @ATan( -1 )
  3. This example returns 1.10715 radians (63.4 degrees).
    @ATan( 2 )
  4. This example returns pi/4, -pi/4, and 1.10715 radians in a list
    @ATan( 1 : (-1) : 2 )