Go to:
Return value. Related commands. Examples.
Synopsis
cos <float>
Returns the cosine of the given value.
Also available:
acos : Returns the arc cosine in the range 0 to PI.
cosh : Hyperbolic function.
acosh : Inverse hyperbolic function.
cosd : Returns value in degrees.
acosd : Returns value in degrees.
Return value
float
Related commands
sin, tanExamples
cos 3.14159;
// Result: -1 //