Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

Does anyone know how to plot Fourier series coefficent expansions in Maple?

I do have Matlab. Unfortunetly, Vista fucking sucks and the program wouldn't transfer to my laptop.

And this is our room, dammit! :D



:cow:

Macs > All.

Now that I'm a UT student <snicker>, I get Matlab for free too!
 
> periodic:= (x,a,b) -> x - (b-a)*floor((x-a)/(b-a));

> g:= x -> piecewise(x<0, Pi+x, x>0, Pi-x); plot(g(periodic(x,-Pi,Pi)), x=-5..7);

example3.gif


> f:= (x,N) -> (Pi/2)+(4/Pi)*sum(cos((2*k+1)*x)/(2*k+1)^2,k=0..N);

example4.gif


> plot([seq(f(x,n),n=0..3)],x=-5..7); # This draws the graph of the partial sums S_k (k=1,3,5,7) of the given Fourier series

example5.gif
 
Top Bottom