Example 1. Assume
that
is periodic with period
, i.e.
, and
is defined by
for
.
Find the Fourier polynomial of degree n = 5.
Solution 1.
We need to define this function individually in each sub-interval.
![[Graphics:../Images/FourierSeriesMod_gr_47.gif]](../Images/FourierSeriesMod_gr_47.gif)
Now plot the function and the Fourier polynomial.
![[Graphics:../Images/FourierSeriesMod_gr_58.gif]](../Images/FourierSeriesMod_gr_58.gif)
Remark.
Observe that the Fourier polynomial has
period
.
![[Graphics:../Images/FourierSeriesMod_gr_64.gif]](../Images/FourierSeriesMod_gr_64.gif)
(c) John H. Mathews 2004