source:
trunk/Jgraph/sin.c@
426
Last change on this file since 426 was 420, checked in by , 17 years ago | |
---|---|
File size: 187 bytes |
Rev | Line | |
---|---|---|
[420] | 1 | #include <stdio.h> |
[418] | 2 | #include <math.h> |
[420] | 3 | int main(void) |
[418] | 4 | { |
5 | double x; | |
6 | for (x = -10.0; x < 10.0; x += .03) | |
7 | printf("%f %f\n", x, sin(x)); | |
[420] | 8 | return 0; |
[418] | 9 | } |
Note:
See TracBrowser
for help on using the repository browser.