File: sin2.c

package info (click to toggle)
jgraph 83-19
  • links: PTS
  • area: main
  • in suites: woody
  • size: 624 kB
  • ctags: 445
  • sloc: ansic: 4,728; makefile: 186; sh: 106; awk: 104
file content (7 lines) | stat: -rw-r--r-- 142 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#include <math.h>
     main()
     {
       double x;
       for (x = 0.1; x < 100.0; x += .03)
         printf("%f %f\n", x, sin(x));
     }