Basic Examples (3)
Basic Examples
(3)
Calculate a numerical approximation to a Fourier cosine coefficient:
In[43]:=
Out[43]=
-0.0509296
Compare with the answer from symbolic evaluation:
In[28]:=
FourierCosCoefficient[Abs[t],t,n]
Out[28]=
|
In[29]:=
%/.{n5.}
Out[29]=
-0.0509296
Repeat the calculation, using a different definition for the Fourier cosine transform:
In[26]:=
Out[26]=
-0.00810569