Question: Finding the Fourier Series for a function

Find the Fourier Series for the function f(x) defined as follows, and compare the graphs of some truncated Fourier series (try 1,2,3,5,6,30, terms) with the graph of f(x).

 

f(x)= min(|x|, pi/2), -pi less than or equal to x less than or equal to pi.

 

Also, let f(x) be periodic with a period of 2*pi. Thanks.

Please Wait...