Fourier Cosine Example