This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# NFourierCoefficient

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