Hello Everyone! Could anyone help me plot the following Fourier Cosine series,
,
where the fourier cosine coefficients are
,
, .
I tried the following code for a specific value of n=8 just to check it but it does not give me the correct results.
clear all, clcsyms x t k for t=0:0.5 bo=1.40985; bl=-0.443179; t1=exp(-(k^2)*(pi^2)*t); t2=k*sin(k*pi*x); t3=cos(k*pi*x); S1=symsum((bl*t1*t2),k,1,8); S2=symsum((bl*t1*t3),k,1,8); S3=bo+S2; S4=S1/S3; u=((-pi)*S4); endfplot(u)
Best Answer