Question: Converting Piecewise function to Fourier Series

I have a piecewise function which I require to be transformed to a fourier series.

The function to be transformed is:

         velocity:=piecewise(t<=6, 3*sin(t*Pi/6), t>6, 0);

How can I change this to a fourier series in a simple manner.


Thanks for your advice.

Please Wait...