Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

cos float

cos is undoable, NOT queryable, and NOT editable.

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

floatCosine value

Related

sin, tan

MEL examples

cos 3.14159;
// Result: -1 //