cos


Purpose
Get the cosine of a value.
Synopsis
function cos(r:real):real
Argument
Real number to which to apply the trigonometric function
Return value
Cosine value of the argument.
Example
The function tangent can be implemented as follows:
function tangent(x:real):real
 returned:=sin(x)/cos(x)
end-function
Related topics
arctan, sin.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.