tan/2—return the tangent of an angle


The tan/2 function returns the tangent of the angle specified in the $NUMBER argument in the $RESULT argument.

$RESULT=tan($NUMBER)

tan/2 arguments

Argument

Mode

Type

Description

$NUMBER

Input

INTEGER|REAL

Specifies the angle (expressed in radians) for which the tangent is to be returned

$RESULT

Output

REAL

The tangent of the angle, returned as a real value

tan/2 example

$TAN = tan( $ANGLE );

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*