{{keywords>wiki library source code example reference}} ===== sin ===== double sin(double); return the sinus ===== C Sourcecode Example ===== compile in linux with: gcc sin.c -o sin **-lm** -Wall #include /* including standard library */ //#include /* uncomment this for Windows */ #include /* including math library */ int main (void) { double x; x = 42.0; printf ("sine of %lf° is %lf\n", x, sin(x*3.1415/80) ); return 0; } ==== output ==== output: user@host:~$ ./sin sine of 42.000000° is 0.996921