integrate cos(pi*f/2)*e^(i*2pi*f*x) df from -1 to 1