\(f(x)=\left\{\begin{array}{lcl}1&\mbox{if}&0\le x\le\pi\\-1&\mbox{if}&\pi\le x\le2\pi\end{array}\right.\;\;\mbox{and periodic continuation}\) |
![]() |
![]() due to the factor \(1/(2n+1)\) the series is slowly converging (best with \(n\to\infty\)) |
The following animation shows the Fourier-approximation for \(f(x)=\left\{\begin{array}{cl}\sin x&0\le x\lt\pi\\0&\pi\le x\lt2\pi\end{array}\right.\;\;\mbox{and periodic continuation}\) up to 13.
© J. Carstensen (Math for MS)