Maxima/Fourier Series

From Mamin LAB
Jump to navigation Jump to search

Fourier Series with Maxima (Fourier Series consideration)[edit | edit source]


Main_Page > Maxima > Fourier Series with Maxima



Example of Fourier (Sawtooth wave)[edit | edit source]

kill (F) $;
f(m,x):= -sum((2/n)*(-1)^n*sin(n*x),n,1,m);
for m:1 while m<=10 step 1 do (
    F[m]:f(m, x)
    );
plot2d(listarray(F),[x,-4*%pi,4*%pi]);

Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(m,x) = \sum_{n=1}^m \frac{2}{n} (-1)^n \sin(n x))}

Fourier Series Sawtooth waves.png