The Fourier series is given by:
$$
y(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty} [a_n \cos(\frac{2\pi nx}{T}) + b_n \sin(\frac{2\pi nx}{T})]
$$
where $T$ is the period of the function, $a_n$ and $b_n$ are the Fourier coefficients, and $a_0$ is the average value of
Show more…