◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: <math.h> Syntax: double cos( double x ); double sin( double x ); double tan( double x ); Returns: (cos) the cosine of <x> if successful, or 0 if not. (sin) the sine of <x> if successful, or 0 if not. (tan) the tangent of <x> if successful, or 0 if not. See also: acos, asin, atan, atan2, matherr, sinh, tanh -♦-