Define a periodic DT signal and compute its Fourier series coefficients.
For CT,
$ x(t)=\sum_{k=-\infty}^{\infty}a_ke^{jk\omega_0t} $
where
$ a_k=\frac{1}{T}\int_0^Tx(t)e^{-jk\omega_0t}dt $.
Let the signal be
For CT,
$ x(t)=\sum_{k=-\infty}^{\infty}a_ke^{jk\omega_0t} $
where
$ a_k=\frac{1}{T}\int_0^Tx(t)e^{-jk\omega_0t}dt $.
Let the signal be