Guys, we know that for a function with period $2\pi$, it holds that
$$
c_n=\frac{1}{2\pi}\int_{-\pi}^\pi f(t)\exp(-int)\,dt.
$$
I would like to show that for a function with period $T$, it holds that
$$
c_n=\frac{1}{T}\int_{-T/2}^{T/2} f(t)\exp\left(\frac{-2\pi int}{T}\right)\,dt.
$$
I was considering the following substitution: $u(t)=\frac{2\pi}{T}t$. It seems to me that the only way for this to work is if we have the following:
$$
c_n=\frac{1}{2\pi}\int_{-\pi}^\pi f\left(\frac{T}{2\pi}u\right)\exp(-inu)\,du=\frac{1}{T}\int_{-T/2}^{T/2} f(t)\exp\left(\frac{-2\pi int}{T}\right)\,dt.