$RM3GFU6
$RM3GFU6
EMT 2100
Assignment #1
1
Title Page
Assignment #1
Complete questions 1-6
2
Task sheet
Members Task
3
Contents
Title page …………………………………………………………………………………… 2
Task sheet …………………………………………………………………………………... 3
Fourier Series
Question 1 …………………………………………………………………………………...5
Question 2 …………………………………………………………………………………... 6
Question 3 …………………………………………………………………………………... 8
Question 4 …………………………………………………………………………………... 9
Question 5 …………………………………………………………………………………... 11
Question 6 …………………………………………………………………………………... 12
Reference …………………………………………………………………………………... 14
4
Question 1
1. If 𝑓 𝑥 is defined in the interval−𝜋 < 𝑥 < 𝑥 and 𝑓(𝑥 + 2𝑥)=𝑓 𝑥, state whether or not each of
the following functions can be represented by a Fourier series,
a) 𝑓 𝑥 = 𝑥 4
b) 𝑓 𝑥 = 3 − 2𝑥
c) c)𝑓 𝑥 = 1 𝑥
d) d)𝑓 𝑥 = ⅇ 2𝑥
e) e) 𝑓 𝑥 = 𝑐𝑜𝑠ⅇ𝑐 𝑥
f) f) 𝑓 𝑥 = ± 4𝑥.
Answer
a) yes
b) yes
c) No infinite discontinuity at 𝑥 = 0
d) Yes
1
e) cosec 𝑥 = sin 𝑥 No infinite discontinuity at 𝑥 = 0
5
Question 2
Determine the Fourier series for the function defined by
F(x)=2x 0<X<2π
f(X+2π)=fx
f(x)= a0 + ∞Σ(ancosnx +bnsinx)-------------------1
a0 = 1/2π ∫ 02π f(x) dx
6
2x=2π+n=1∞Σ [0+(-4/n)sinx]
2x=2π-4 n=1∞Σ 1/n sin nx
2x=2π-4[sinx+1/2sin2x -1/3 sin 3x +1/4 sin 4x]
∴x=π-2[sinx+1/2sin2x+1/3sin3x+1/4sin4x
7
Question 3
8
Question 4
Solution (a)
Step 1
𝑎0 =2/ 𝜋 ʃ 𝜋 0 . d𝑥
=2/ 𝜋 ʃ 𝜋 0 (𝜋 -x) d𝑥
= 2/ 𝜋 (𝜋 x-x2/2)
= 2/ 𝜋 [(𝜋 2 − 𝜋 2 /2 ]−( 𝑂 2 − 0 2/ 2)]
= 2/ 𝜋 [(𝜋 2 − 𝜋 2 /2 ]= 2 ( 𝜋 − 𝜋 /2) = 2( 𝜋/ 2) = 𝜋
𝑎𝑛 = 2/ 𝜋 ʃ 0 𝜋 𝑓𝑥 𝐶𝑜𝑠 𝑛𝑥 . ⅆ𝑥
= 2/ 𝜋 ʃ 0 𝜋 (𝜋 – 𝑥) 𝐶𝑜𝑠 𝑛𝑥 . ⅆ𝑥 = 2/𝜋 ʃ 0 𝜋 𝜋𝐶𝑜𝑠 𝑛𝑥 . ⅆ𝑥 – 2/𝜋 ʃ 0 𝜋 𝑥𝐶𝑜𝑠 𝑛
=2/𝜋 [(𝜋𝑠𝑖𝑛 𝑛𝑥/ 𝑛) – (𝑥𝑠𝑖𝑛 𝑛𝑥 /𝑛) – 1/𝑛 ʃ 0 𝜋 sin 𝑛𝑥. ⅆx]
=2/ [(𝜋 sin 𝑛𝑥/ 𝑛) – (𝑥𝑠𝑖𝑛 𝑛𝑥/ 𝑛) 0 𝜋 − 1/𝑛2 (cos 𝑛𝑥) 0 𝜋 = 2/𝜋 ( 𝜋 – 𝑥) 0 𝜋 sin 𝑛𝑥/𝑛 – 1/
𝑛2 (cos 𝑛 𝑥) 0 π]
9
Solution 4(B)
Step 1
𝑏𝑛 = 2/𝜋 ʃ 0 𝜋 (𝜋 − 𝑥 )𝑠𝑖𝑛𝑛𝑥. ⅆ𝑥 = 2/𝜋 ʃ 0 𝜋 𝜋 sin 𝑛𝑥. ⅆ𝑥 − ʃ 0 𝜋 𝑥𝑠𝑖𝑛 𝑛𝑥. ⅆx)
10
Question 5
(a) F(x) # F (x + t) / F(x) ‡ -F (x + t) The Fourier series consists of cosine terms only hence
F(x) is an even function
(b) F(x) = -F (x + t), the Fourier series contains odd harmonics only. F(x) is odd since the
series contains sine terms only.
(c) F(x) = F(x + r), the Fourier series contains even harmonics only. F(x) is neither odd nor
even since the series contains
sine and cosine terms.
(d) F(x) = -F (x + ), the Fourier series contains odd harmonics only. F(x) is neither odd nor
even since the series contains
sine and cosine terms.
11
Question 6
Period of 𝒇(𝒕)(𝑻) = 𝟒
Calculate the DC coefficient:
𝟐 𝑻/𝟐
a0 = 𝑻 ∫−𝑻/𝟐 𝒇(𝒕)𝒅𝒕
𝟏 𝟐
=𝟐 ∫−𝟐 𝒇(𝒕)𝒅𝒕
𝟏 𝟎 𝟐
= 𝟐 [∫−𝟐 𝒇(𝒕)𝒅𝒕 + ∫𝟎 𝒇(𝒕)𝒅𝒕]
𝟏 𝟎 𝟐
=𝟐 [∫−𝟐 𝟎 𝒅𝒕 + ∫𝟎 𝒕 𝒅𝒕]
=1
Calculate the coefficients of cosine terms
𝟐 𝑻/𝟐 𝟐𝝅𝒏𝒕
an = 𝑻 ∫−𝑻/𝟐 𝒇(𝒕) 𝐜𝐨𝐬 ( ) 𝒅𝒕
𝑻
𝟏 𝟐 𝝅𝒏𝒕
= 𝟐 ∫−𝟐 𝒇(𝒕) 𝐜𝐨𝐬 ( ) 𝒅𝒕
𝑻
𝟏 𝟎 𝝅𝒏𝒕 𝟐 𝝅𝒏𝒕
= 𝟐 [∫−𝟐 𝒇(𝒕) 𝐜𝐨𝐬( ) 𝒅𝒕 + ∫𝟎 𝒇(𝒕)𝐜𝐨𝐬 ( ) 𝒅𝒕]
𝟐 𝟐
𝟏 𝟎 𝝅𝒏𝒕 𝟐 𝝅𝒏𝒕
= 𝟐 [∫−𝟐 𝟎 . 𝐜𝐨𝐬( ) 𝒅𝒕 + ∫𝟎 𝒕 𝐜𝐨𝐬 ( ) 𝒅𝒕]
𝟐 𝟐
𝟒((−𝟏)𝒏 −𝟏)
= 𝝅𝟐 𝒏𝟐
So
𝟎
an = { −𝟖
𝝅𝟐 𝒏𝟐
n is odd
n is even
12
1 2 𝜋𝑛𝑡
= 2 ∫−2 𝑓(𝑡) sin ( ) 𝑑𝑡
𝑇
1 0 𝜋𝑛𝑡 2 𝜋𝑛𝑡
= 2 [∫−2 𝑓(𝑡) sin( ) 𝑑𝑡 + ∫0 𝑓(𝑡)sin ( ) 𝑑𝑡]
2 2
1 0 𝜋𝑛𝑡 2 𝜋𝑛𝑡
= 2 [∫−2 0 . sin( ) 𝑑𝑡 + ∫0 𝑡 sin ( ) 𝑑𝑡]
2 2
4(−1)𝑛+1
= 𝜋𝑛
So
−4
bn = {𝜋𝑛
4
𝜋𝑛
n is odd
n is even
So, the Fourier series of 𝑓(𝑡) is:
∞
1 4((−1)𝑛 −1) 2𝜋𝑛𝑡 4(−1)𝑛+1 2𝜋𝑛𝑡
𝑓(𝑡) = 2 + ∑ ( cos + sin( ))
𝑛=1 𝜋2 𝑛 2 𝑇 𝜋𝑛 𝑇
13
Reference
• Stroud, K. A. and Booth, D.J. (2001). Engineering Mathematics. 5th ed. New York:
Industrial Press, Inc..
14