#include #include #include #define POL 100000 int main (int a,char *kerej[]){ int i,j; float dT,U=atof(kerej[1]),f=atof(kerej[2]),t=atof(kerej[3]),y[POL],y1z,y2z,ys,ts,s,c; dT=0.000125; ts=0; s=sin(2*M_PI*f/8000); c=2*cos(2*M_PI*f/8000); y[0]=0; j=0; if(kerej[4]) {printf ("KOLIK MAS PARAMETRU?!?!?!!?!?!?!?!!?!?!?!\n");return 0;} if(f<0) {printf ("JSES SILENEJ KOLIK MAS KMITOCET?!?!?!?!!?!?!?!!?!?!?!\n");return 0;} if(t<0) {printf ("ZAPORNEJ CAS HMMMMMMMMMMMMMM?!?!?!?!!?!?!?!!?!?!?!\n");return 0;} for (i=0;i