Question: Fourier Coefficients

Hello,

 

if my Fourier coefficient b_n := 4/(n*pi) which is only true for n odd, how do I program this in Maple?

 

For[n=0,n<1000,n++,

   If[Mod[2, n],

      c = b_n Sin[n w_0 x]

]

 

 

That was my attempt, it's wrong of course. What do I need to add/change?

 

Thanks!

 

 

Please Wait...