The cos() function of math object return cosine of a given number. Use it for example to get cosine of a number.
Syntax