oh that would be stuff like this https://en.wikipedia.org/wiki/Fourier_series
Fourier series
In mathematics, a Fourier series () is a periodic function composed of harmonically related sinusoids, combined by a weighted summation. With appropriate weights, one cycle (or period) of the summation can be made to approximate an arbitrary function in that interval (or the ...
en.wikipedia.org