Computes the cosine of the argument.
#include <math.h> double cos ( double x)
(IN) Specifies the argument whose cosine is to be computed.
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.