
2.6.2.24 Trigonometric Fourier series
condition: Expand the elementary function \( f(x) \) on a given interval into a Fourier series: 1) in terms of sines; 2) by cosines; 3) obtain one of the general expansions; for each case, construct graphs of the periodic continuation \( f(x) \) and the sum of the Fourier series. \[ f(x)=2 x-4, \quad x \in[0, \pi] \]
Trigonometric Fourier series - calculation of Fourier coefficients, expansion of functions in cosines and sines, plotting graphs of the sum of the Fourier series using the Dirichlet theorem, as well as graphs of partial sums.