source: trunk/Jgraph/sin.c@ 498

Last change on this file since 498 was 420, checked in by Nicholas Riley, 17 years ago

Jgraph: my changes - ANSIfication, few minor bug fixes; works on OS X 10.5 now

File size: 187 bytes
Line 
1#include <stdio.h>
2#include <math.h>
3 int main(void)
4 {
5 double x;
6 for (x = -10.0; x < 10.0; x += .03)
7 printf("%f %f\n", x, sin(x));
8 return 0;
9 }
Note: See TracBrowser for help on using the repository browser.