I have the following formula for the Fourier series of a integrable function $g:[0,N] \to \mathbb{C}$
$$ g(x) = \sum_{n=-\infty}^\infty c_n e^{in2\pi x/N}. $$
I was able to derive the formula for the coefficients $c_n$, but what if a want to show that any integrable function can be actually approximated by the formula given above? Is there something like a theorem?