You are given $f(x)$ on an interval, say $0< x< b$. Sketch several periods of the even function $f_{c}$ of period $2 b,$ the odd function $f_{s}$ of period $2 b,$ and the function $f_{p}$ of period $b$, each of which equals $f(x)$ on $0< x< b$. Expand each of the three functions in an appropriate Fourier series.
$$f(x)=|\cos x|, \quad 0< x< \pi$$