//chapter-9,Example9_2,pg 502 N=22//no. of acquistioned data delt=2*10^-3//time period n=4//4th DFT coeff. q=3//no. of discrete points //An=(2/N)*V(n)*cos((2*%pi*n*q)/N) printf("A4=(1/11)V(4)cos(12pi/11)\n") //Bn=(2/N)*V(n)*sin((2*%pi*n*q)/N) printf("B4=(1/11)V(4)sin(12pi/11)\n")