Cosine
[Classification]
Mathematical library
[Syntax]
#include <math.h>
double cos(double x);
[Return value]
Returns the cosine of x.
If inputting +, cos returns a Not a Nuber(NaN) and sets macro EDOM to global variable errno.
[Description]
This function calculates the cosine of x. Specify the angle in radian.