sin

Computes the sine of the argument (in radians)

Local Servers:nonblocking
Remote Servers:N/A
Classification:ANSI
Service:Mathematical Computation

Syntax

  #include <math.h>  
   
  double sin  (  
     double   x);
  

Parameters

x
(IN) Specifies the argument whose sine is to be computed.

Return Values

The sin function returns the sine value.

Remarks

The sin function computes the sine of x (measured in radians). A large magnitude argument can yield a result with little or no significance.

See Also

acos, asin, atan, atan2, cos, tan

Example

  #include <math.h>  
  #include <stdio.h>  
   
  main ()  
  {  
      printf ("%f\n", sin (.5) );  
  }
  

produces the following:

  0.479426