This function is odd, thus its Fourier expansions contains only sin(nx) terms, i.e. a_n=0, ngt=0. This expansion has the form sum_(n=1)^(oo) b_n sin(nx) where b_n = 1/pi int_(-pi)^(pi) f(x) sin(nx) dx.
Find these coefficients:
b_n = 1/pi int_(-pi)^(pi) f(x) sin(nx) dx = 2/pi int_0^(pi) f(x) sin(nx) dx =
= 2/pi int_0^(pi/2) f(x) sin(nx) dx + 2/piint_(pi/2)^(pi) f(x) sin(nx) dx) =
= 2/pi int_0^(pi/2) x sin(nx) dx + 2/piint_(pi/2)^(pi) pi/2 sin(nx) dx.
The second integral is obviously
-(cos(nx))|_(x=pi/2)^pi = -1/n (cos(n pi)-cos((n pi)/2)).
To find the second, use integration by parts:
2/pi int_0^(pi/2) x sin(nx) dx =
= |u=x, du=dx, dv=sin(nx)dx, v=-1/n cos(nx)| =
= -2/(n pi) (x cos(nx))|_(x=0)^(pi/2) + 2/(n pi) int_0^(pi/2) cos(nx) dx =
= -1/n cos((n pi)/2) + 2/(n^2 pi) (sin(nx))|_(x=0)^(pi/2) =
= 2/(n^2 pi)sin((n pi)/2)-1/n cos((n pi)/2).
This way b_n =2/(n^2 pi)sin((n pi)/2)-1/n cos(n pi). Therefore b_1=1+2/pi, b_3=1/3 -2/(9 pi), b_5=1/5+2/(25 pi).
The graphs are attached (the function is in blue, the approximation is in green). They are not so close but are somewhat similar. Note that on (-4pi,4pi) the function is 2pi -periodic.
http://tutorial.math.lamar.edu/Classes/DE/FourierSineSeries.aspx
Sunday, May 20, 2018
a) showing details of the work, write an expansion in Fourier series of the signal f(x) which is assumed to have the period 2pi f(x) = "Please refer to the attached image" Use Integration by parts show detailed work for each calculation of a0,an,bn. also show the values of all coefficients a1, b1, a2, b2, a3, b3, a4, b4, a5, b5 b) Graph both the f(x) and the partial sums up to that including cos 5x and sin 5x, for the interval −4pi
Subscribe to:
Post Comments (Atom)
Why is the fact that the Americans are helping the Russians important?
In the late author Tom Clancy’s first novel, The Hunt for Red October, the assistance rendered to the Russians by the United States is impor...
-
The poem contrasts the nighttime, imaginative world of a child with his daytime, prosaic world. In the first stanza, the child, on going to ...
-
There are a plethora of rules that Jonas and the other citizens must follow. Again, page numbers will vary given the edition of the book tha...
-
The given two points of the exponential function are (2,24) and (3,144). To determine the exponential function y=ab^x plug-in the given x an...
-
Robinson Crusoe, written by Daniel Defoe, is a novel. A novel is a genre defined as a long imaginative work of literature written in prose. ...
-
Hello! This expression is already a sum of two numbers, sin(32) and sin(54). Probably you want or express it as a product, or as an expressi...
-
The title of the book refers to its main character, Mersault. Only a very naive reader could consider that the stranger or the foreigner (an...
-
The only example of simile in "The Lottery"—and a particularly weak one at that—is when Mrs. Hutchinson taps Mrs. Delacroix on the...
No comments:
Post a Comment