dos33fsprogs/demos/dni/sin.c
2024-06-19 10:23:20 -04:00

14 lines
175 B
C

#include <stdio.h>
#include <math.h>
int main(int argc, char **argv) {
double x;
for(x=0;x<25;x++) {
printf("%.2lf %.2lf\n",x,5.0+5.0*sin(x*6.28/25));
}
return 0;
}