Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main (void)
- { float w,b,y;
- printf ("Sinustabelle:\n");
- for (w = 0; w<=360;w += 5)
- { b = (w/360)*2*M_PI;
- y = sin(b);
- printf ("%5.1f = %5.3f sin: %+5.3f\n",w,b,y);
- }
- }
Add Comment
Please, Sign In to add comment