Basic Examples 
(3)
 

Calculate a numerical approximation to a Fourier cosine coefficient:
In[43]:=
[◼]
NFourierCosCoefficient
[Abs[t],t,5]
Out[43]=
-0.0509296
Compare with the answer from symbolic evaluation:
In[28]:=
FourierCosCoefficient[Abs[t],t,n]
Out[28]=
π
n0
-
2
(-1+
n
(-1)
)
2
n
π
True
In[29]:=
%/.{n5.}
Out[29]=
-0.0509296
Repeat the calculation, using a different definition for the Fourier cosine transform:
In[26]:=
[◼]
NFourierCosCoefficient
[Abs[t],t,5,FourierParameters{1,-2π}]
Out[26]=
-0.00810569