Description
Tan returns a Number specifying the tangent of an angle given in radians.
Arguments
Number value that represents an angle in radians.
Action
Tan returns a Number specifying the tangent of an angle given in radians. It takes a right-angle triangle, and returns the length of the side opposite the specified angle divided by the length of the side adjacent to the angle.
Examples
Tan (1)
Returns 1.5574 (rounded to 4 decimals). This is the tangent of 1 radian.
Tan (45 * crPi / 180)
Returns 1. This is the tangent of 45 degrees. Before taking the tangent, the angle is converted to radians by multiplying by crPi / 180.