File: sin2.c

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