fourier transform[cos(t)*Heaviside(t)/2-cos(t)*Heaviside(-t)/2]