This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Fourier Series Package Symbol Tutorials »| See Also »|More About »

# NFourierCosCoefficient

 NFourierCosCoefficient[expr, t, n]gives a numerical approximation to the n coefficient in the Fourier cosine series expansion of expr, where expr is a periodic function of t with period 1.
• The numerical approximation to the n coefficient in the Fourier cosine series expansion of expr is by default defined to be for n>0 and for n0.
• Different choices for the definition of the Fourier cosine series expansion can be specified using the option FourierParameters.
• With the setting FourierParameters->{a, b}, expr is assumed to have a period of , and the n coefficient computed by NFourierCosCoefficient is for n>0 and for n0.
Needs["FourierSeries`"]
Use different definitions to calculate numerical approximations for a Fourier cosine coefficient:
 Out[2]=
 Out[3]=
Compare with the answer from symbolic evaluation:
 Out[4]=
 Out[5]=
 Out[6]=