Professional Documents
Culture Documents
Question 3 Answer
Question 3 Answer
1 1 1
a 0=
L ∑ y an= ∑ y cos nx bn= ∑ y sin nx
L L
In Fourier Series, period = 2L, therefore 2L=12,L=6
1
a 0= ( 16.15 ) =2.692
6
1 1
a 1= (−0.254 )=−0.04 2 a 2= ( 2.675 )=0.446
6 6
1 1
b 1= (−2.876 ) =−0.479 b 2= (−2.259 ) =−0.377
6 6
a0 ∞
Substituting these values into the Fourier Series: f(x) = +∑ ( an cos nx +bn sin nx ¿) ¿
2 n=1
2.692
y= + (−0.042 cos x+ 0.446 cos 2 x +… )+ ¿
2
¿ 1.346−0.042cos x−0.479 sinx+ 0.446 cos 2 x+0.377 sin 2 x
a0 an
c n= √ an + bn
2 2 −1
c 0= α n=tan
2 bn
49.79°
c 2= √ ( 0.446 ) + (−0.377 ) =0.584
2 2
5.01
−0.042 −1
°
Basic angle for α 1=tan =5.01 °
−0.479
So, α 1=180 °+ 5.01°=185.01 °
−1 0.446
Basic angle for α 2=tan =49.79 °
0.377
α 2=180 °−49.79° =130.21 °
a0 ∞ nπx nπx
f(x) = +∑ ( an cos +b n sin ¿ )¿
2 n=1 L L
Since L= π , therefore
a0 ∞ nπx nπx
f(x) = +∑ ( an cos +b n sin ¿ )¿
2 n=1 π π
a0 ∞
f (x)= + ∑ (a cos nx +b n sin nx ¿ )¿
2 n=1 n
L
1
a 0= ∫ f ( x ) dx
L −L
L L
1 nπx 1
a n= ∫ f ( x ) cos dx= ∫ f ( x ) cos nx dx
L −L L L −L
−1
b n=
n
Given: f ( x )=
x 0≤x ≤π {
π−π ≤ x ≤ 0 , period 2 π
[ ]
π 0 π
1
¿ ∫ f ( x ) dx=¿ 1π
π −π
∫ π dx +∫ x dx ¿
−π 0
[ ( ) ]= π1 ¿
2 π
1 0 x
¿ ( πx )−π +
π 2 0
L
1
a n= ∫ f ( x ) cos nx dx
L −L
[∫ ]
π 0 π
1 1
¿ ∫ f ( x ) cos nx dx= π cos nx dx+∫ x cos nx dx
π −π π −π 0
( )
0
π
Direct : ∫ π cos nx dx= sin nx =0−0=0
−π n −π
u dv
x cos nx
1 1
sin nx
n
0 −1
cos nx
n2
[ ]
π π
(
∫ x cos nx dx= nx sin nx+ n12 cos nx = ( 0−0 )+ n12 cos nπ− n12 cos 0 = n12 (cos nπ−1)
0 0
)
a n=
π (
1 cos nπ −1
n
2 )
a 0=
3π
2
an =
π (
1 cos nπ−1
n
2 )
b n=
−1
n
a0 ∞
f ( x)= + ∑ (a n cos nx +b n sin nx ¿ ) ¿
2 n=1
3π
∞
2 cos nπ−1 1
¿ +∑ ( cos nx− sin nx ¿ )¿
2 n=1 πn
2
n
∞
3π cos nπ −1 1
f ( x)= +∑ ( cos nx− sin nx ¿ )¿
4 n=1 πn 2
n