cos
Computes the cosine of the argument
#include <math.h>
double cos (
double x)
The cos function returns the cosine value.
The cos function computes the cosine of x (measured in radians). A large magnitude argument can yield a result with little or no significance.
#include <math.h> #include <stdio.h> main () { double value; value = cos (3.1415278); }