f(x)=\sum^{\infty}_{k=-\infty}C_k=\frac{1}{L}g(\frac{k}{L})e^{\frac{2\pi ik}{L}x}