cos

Cosine

double cos (
        double x
)

Arguments

x Argument in radians

Return value

The cosine of x (cos(x)) is returned.

Explanation

The cosine of x is calculated and its value is returned.

See Also

sin(), tan(), acos()