tan

Tangent

double tan (
        double x
)

Arguments

x Argument in radians

Return value

The tangent of x (tan(x)) is returned.

Explanation

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

See Also

sin(), cos(), atan()