cos/2—return the cosine of an angle
The cos/2 function returns the cosine of the angle specified in the $NUMBER argument in the $RESULT argument.
$RESULT=cos($NUMBER)
cos/2 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$NUMBER | Input | INTEGER|REAL | Specifies the angle (expressed in radians) for which the cosine is to be returned |
$RESULT | Output | REAL | The cosine of the angle, returned as a real value |
cos/2 example
$COS = cos( $ANGLE );
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*