@Tan (Formula Language)

Given an angle in radians, returns the tangent of the angle. In a right triangle the tangent of an acute angle is the ratio of the length of the opposite side to the length of the adjacent side.

Syntax

@Tan( angle )

Parameters

angle

Number or number list. Any angle, expressed in radians.

Return value

tangent

Number or number list. The tangent of angle.

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 1 (approximately).
    @Tan( @Pi/4 )
  2. This example returns 1 and 1.7 (approximately) in a list.
    @Tan( (@Pi/4) : (@Pi/3) )