next up previous contents index
suivant: fourier_cn monter: Fourier coefficients : fourier_an précédent: fourier_an   Table des matières   Index


fourier_bn

fourier_bn takes four or five arguments : an expression expr depending of a variable, the name of this variable (for example x), the period T, an integer n and a real a (by default a = 0).
fourier_bn(expr,x,T,n,a) returns the Fourier coefficient bn of a function f of variable x defined on [a, a + T[ by f (x) = expr and periodic of period T:

bn = $\displaystyle {\frac{{2}}{{T}}}$$\displaystyle \int_{a}^{{a+T}}$f (x)sin($\displaystyle {\frac{{2\pi
nx}}{{T}}}$)dx

To simplify the computations, one should input assume(n,integer) before calling fourier_bn to specify that n is an integer.
Examples



giac documentation written by Renée De Graeve and Bernard Parisse