- Function Cos(x)¶
Cos¶
Cos(
x ! (input) numerical expression
)
Arguments¶
- x
A scalar numerical expression in radians.
Return Value¶
The
Cos
function returns the cosine of x in the range \(-1\) to 1.
Note
The function Cos
can be used in constraints of nonlinear
mathematical programs.
See also
The functions Sin
, Tan
, ArcCos
. Arithmetic functions are
discussed in full detail in Arithmetic Functions of the Language Reference.