FOURIER SERIES 程序包 符号

# 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 .

## 更多信息更多信息

• To use , you first need to load the Fourier Series Package using Needs["FourierSeries`"].
• The numerical approximation to the n coefficient in the Fourier exponential series expansion of expr is by default defined to be NIntegrate[expr -nt, {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->{a, b}, expr is assumed to have a period of , and the n coefficient computed by is .
• The parameter b in the setting FourierParameters->{a, b} must be numeric.
• In addition to the option FourierParameters, can also accept the options available to NIntegrate. These options are passed directly to NIntegrate.

## 范例范例打开所有单元关闭所有单元

### 基本范例 (1)基本范例 (1)

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]=

## 教程教程

New to Mathematica? Find your learning path »
Have a question? Ask support »