You are on page 1of 16

Fourier Series - QUIZ

Team A questions in white Team B questions in red

1. What is 1  (1) n when n = 3 ? 1  (1)3  0

2. What is 1  (1) n when n = 52 ? 1  (1)52  2

3. What is 1  (cos 2n) when n = 1 ? 1  (1)  2

4. What is 1  (cos 2n) when n = 17 ? 1  (1)  2

5. What is 1  (cos 2n) when n = 52 ? 1  (1)  2

6. What is 1  (cos n) when n = 1 ? 1  (cos  )  1  (1)  0

7. What is 1  (cos n) when n = 4 ? 1  (cos 4 )  1  (1)  2


Fourier Series - QUIZ
10 10

 
10
8. Team B: What is I  4 x dx ? I    200  200
2
4 x dx 2 x
10 10 10

40

y axis
30

20
y=4x
10

0
-20 -15 -10 -5 0 5 10 15 20
-10 x axis

-20

-30

-40
Fourier Series - QUIZ
10 10

I   (2 x  5) dx ? I   (2 x  5) dx  x 2  5 x   150
10
9. Team A: What is
0 0 0

60
50

y axis
40
30
y=2x+5 20
10
0
x axis
-30 -20 -10 -10 0 10 20 30

-20
-30
-40
Fourier Series - QUIZ

10. Team B: Describe the following step function in terms of f(x) and x ?
when x  0 f ( x)  0
when x  0 f ( x)  50
100

y axis
80

step
60

40

20
x axis
0
-30 -20 -10 0 10 20 30
-20

-40
Fourier Series - QUIZ
10
11. Team A: What is I   f ( x) dx ?
10
10 0 10
I  f ( x) dx   0 dx   50 dx  0 x10  50 x0  500
0 10

10 10 0
100

y axis
80

step
60

40

20
x axis
0
-30 -20 -10 0 10 20 30
-20

-40
Fourier Series - QUIZ

12. Team B: Describe the following step function over one period in
terms of f(x) and x ?
when 5  x  0 f ( x)  0
when 10  x  5 f ( x)  50
100

80

y axis
step periods

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20

-40
Fourier Series - QUIZ

13. Team A: What is the integral of f(x) over one period ?


10 5 10
I   f ( x) dx   0 dx   50 dx  0 x0  50 x5  250
5 10

0 0 5

100

80

y axis
step periods

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20

-40
Fourier Series - QUIZ

14. Team B: Describe the following step function over one period in
terms of f(x) and x ?
when 5  x  0 f ( x)  20
when 10  x  5 f ( x)  70
100

y axis
80

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20
step period raised

-40
Fourier Series - QUIZ

15. Team A: What is the integral of f(x) over one period ?


10 5 10
I   f ( x) dx   20 dx   70 dx  20 x0  70 x5  450
5 10

0 0 5

100

y axis
80

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20
step period raised

-40
Fourier Series - QUIZ
1 
2nx 2nx
Fourier series f ( x)  a0   an cos  bn sin
2 n 1 L L

16. Team B: If we were to represent the function below as a Fourier


series what could you say about the value of a0 ?
a0 is baseline shifter. Half way between 20 and 70 is 45. So ao = 90
100

y axis
80

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20
2 step period raised 2
period 5 2 10 1 1
a0   f ( x)dx 
10 0
20dx     5  20  70  90
5 10
70 dx [ 20 x ]0 [ 70 x ]
period 0 10
-40 5 5 5
Fourier Series - QUIZ
1 
2nx 2nx
Fourier series f ( x)  a0   an cos  bn sin
2 n 1 L L

17. Team A: If we were to represent the function below as a Fourier


series what could you say about the values of the an terms ?

odd function so all an terms are zero


100

y axis 80

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20
step period raised

-40
Fourier Series - QUIZ
1 
2nx 2nx
Fourier series f ( x)  a0   an cos  bn sin
2 n 1 L L

18. Team B: If we were to represent the function below as a Fourier


series what could you say about the sign of the b1 term ?

100

y axis
80

60

40

20

0
-30 -20 -10 0 10 x axis 20 30
-20
step period raised

-40
Fourier Series - QUIZ
1 
2nx 2nx
Fourier series f ( x)  a0   an cos  bn sin
2 n 1 L L

18. Team B: If we were to represent the function below as a Fourier


series what could you say about the value of the b1 term ?
It would have a negative amplitude
100

y axis
80

60

40

20

0
-30 step period
-20 raised -10 0 10 x axis 20 30
-20
1st sine harmonic (fundamental)
-40
Finding coefficients of the Fourier Series - QUIZ

Find Fourier series to represent this repeat pattern.

Steps to calculate coefficients of Fourier series

1. Write down the function f(x) in terms of x. What is period? f ( x)   x 0 x 



0   x  2
Period is 2
2. Use equation to find a0?

2 L 2 2 1  1 2 1  x2  
L 0   
a0  f ( x ) dx  f ( x)dx  xdx  0dx    
2 0  0    2 0 2

3. Team A find coefficients an?

4. Team B find coefficients bn?


Finding coefficients of the Fourier Series - QUIZ

Find Fourier series to represent this repeat pattern.


2 L 2nx x 0 x 
an   f ( x) cos dx f ( x)  
  x  2
L 0 L 0
Period is 2
3. Team A find coefficients an?
2 L 2nx 2 2 1  1 2
an   f ( x) cos    
dx  f ( x) cos nx dx  x cos nx dx  0 cos nx dx
L 0 L 2 0 0

Integrate by parts  udv  uv   vdu so set u = x and cos (nx) dx = dv



1
v   cos nxdx  sin nx 1  1 x  1 1
n
and du = dx an 
  0
x cos nx dx   sin nx   sin nxdx
 n 0  0 n
 
x   1  1 1   1 
an   sin nx   2 cos nx   sin n  2 cos n    0  2 
n  0 n 0  n n   n 

n=1 n=2 n=3 n=4 n=5


 1 1 2    1     1     1 
a4  0
1 1 2 1 2
a1   0        a2   0     0 a3   0    a5   0   
       4   4   9   9  9  25   25  25
Finding coefficients of the Fourier Series - QUIZ

Find Fourier series to represent this repeat pattern.


2 L 2nx x 0 x 
bn 
L 0
f ( x ) sin
L
dx f ( x)  
0   x  2
Period is 2
4. Team B find coefficients bn?
2 L 2nx 2 2 1  1 2
bn   f ( x) sin    
dx  f ( x) sin nx dx  x sin nx dx  0 sin nx dx
L 0 L 2 0 0

Integrate by parts  udv  uv   vdu so set u = x and sin (nx) dx = dv



1
v   sin nxdx   cos nx 1  1 x  1 1
n
du = dx bn 
 
0
x sin nx dx    cos nx   cos nxdx
 n 0  0 n
 
 x   1   1 1 
bn   cos nx   2 sin nx    cos n  2 sin n 
 n  0  n 0  n n 

n=1 n=2 n=3 n=4 n=5


b1  1 b2  
1
2
b3 
1
3
b4  
1
4
b5 
1
5

You might also like