sin() and sinf()

Syntax

  #include <math.h>

  
  double sin(double x);

  
  float sinf(float x);

  
Description

sin() computes the sine of x.

Return

The sine sin(x) of x in radians.

See also

asin() and asinf()

acos() and acosf()

atan() and atanf()

atan2() and atan2f()

cos() and cosf()

tan() and tanf()