Calculate sine: sin
#include <stdio.h> #include <math.h> #define PI 3.14159265 int main () { double param, result; param = 60; result = sin (param * PI / 180); printf ("Sine of %lf degrees is %lf\n", param, result ); return 0; }