lecture 23 - Fourier 2

advertisement
Announcements 10/22/10





Prayer
Exam starts next week on Thursday
Exam review session, results of voting:
a. Wed Oct 27, 5:30 – 7 pm. Room: C295 (next door)
Unknown HW 13 – missing CID/name (turned in ~Oct 11)
What are some applications of Fourier transforms?
a. Electronics: circuit response to non-sinusoidal signals (last
lecture)
b. Data compression (as mentioned in PpP)
c. Acoustics: guitar string vibrations (PpP, today’s lecture)
d. Acoustics: sound wave propagation through dispersive
medium
e. Optics: spreading out of pulsed laser in dispersive medium
f. Optics: frequency components of pulsed laser can excite
electrons into otherwise forbidden energy levels
g. Quantum: “particle in a box” situation, aka “infinite square
well”--wavefunction of an electron



Q&A with Dean
Sommerfeldt
Info about the
college, upcoming
events, changes,
concerns
Refreshments and
prizes!
Summary of last time

 2 nx 
f ( x)  a0 
an cos 


 L 
n1

a0 
1
L
2
an 
L
bn 
2
L

 2 nx 
bn sin 

L


n1

The series
L
 f ( x)dx
0
L

0
L

0
 2 nx 
f ( x) cos 
dx

 L 
 2 nx 
f ( x)sin 
dx

 L 
How to find the coefficients
Fourier Transform (review)
20
10
600
400
200
200
400
Do the transform (or
have a computer do it)
600
10
Cos 0.9 x
20
Cos 0.91 x
Cos 0.92 x
Cos 0.93 x
Cos 0.94 x
Cos 0.95 x
Cos 0.96 x
Cos 0.97 x
Cos 0.98 x
Cos 0.99 x
Cos 1. x
Cos 1.03 x
Cos 1.04 x
Cos 1.05 x
Cos 1.06 x
Cos 1.07 x
Cos 1.08 x
Cos 1.09 x
Cos 1.1 x
Cos 1.01 x
Cos 1.02 x
How does computer know all
components will be multiples of
k=0.01?
Answer from computer: “There
are several components at
different values of k; all are
multiples of k=0.01.
k = 0.01: amplitude = 0
k = 0.02: amplitude = 0
…
…
k = 0.90: amplitude = 1
k = 0.91: amplitude = 1
k = 0.92: amplitude = 1
…”
Periodic?

“Any function periodic on a distance L can be
written as a sum of sines and cosines like this:”

 2 nx 
f ( x)  a0 
an cos 


 L 
n1



 2 nx 
bn sin 

L


n1

What about nonperiodic functions?
a. “Fourier series” vs. “Fourier transform”
b. Special case: functions with finite domain
HW 23-1


Find y(x) as a sum of the harmonic modes of the string
Why?
 Because you know how the string behaves for each
harmonic—for fundamental mode, for example:
y = Asin(x/L)cos(w1t)
 Asin(x/L) is the initial shape
 It oscillates sinusoidally in time at frequency w1
 If you can predict how each frequency component will
behave, you can predict the overall behavior!
(You don’t actually have to do that for the HW problem, though.)
HW 23-1, cont.



So, how do we do it?
Turn it into part of an infinite repeating function!
Thought question: Which of these two infinite
repeating functions would be the correct choice?
(a)
(b)
…and what’s the repetition period?
Reading Quiz

Section 6.6 was about the motion of a guitar
string. What was the string’s initial shape?
a. Rectified sine wave
b. Sawtooth wave
c. Sine wave
d. Square wave
e. Triangle wave
What was section 6.6 all about, anyway?
initial shape: h
L


What will guitar string look like at some later time?
Plan:
a. Figure out the frequency components in terms of
“harmonic modes of string”
b. Figure out how each component changes in time
c. Add up all components to get how the overall string
changes in time
Step 1: figure out the frequency components
h
2
h
L



a0 = ?
an = ?
bn = ?
3
L
1
integrate from –L to L:
three regions
2
bn 
" L"
L

L
 2 nx 
f ( x)sin 
dx

 " L" 
L2
L
L 2

2 
2

nx


 2 nx 
 2 nx  
bn 
dx 
dx   mx  b region 3 sin 
dx
 mx  b region1 sin 
 mx  b region 2 sin 
2L 
2 L 
2 L 
2 L  



L 2
L2
 L




L2
L
L 2

1
 2h
   nx 
 2h
   nx 
 2h
   nx  
bn 
 L x  2h  sin  L  dx 
 L x  0  sin  L  dx   L x  2h  sin  L  dx 
L

 


 


 

L 2
L2
 L




Step 1: figure out the frequency components
h
h
L
L
 n  3  n 
32h cos 
sin 

4 
4 


bn 
n 2 2
1 ( n 1)
8h
bn  2 2  1 2
; odd n
n
Step 2: figure out how each component changes
h
L





Fundamental: y = Asin(x/L)cos(w1t)
3rd harmonic: y = Asin(3x/L)cos(w3t)
5th harmonic: y = Asin(5x/L)cos(w5t)
w1 = ? (assume velocity and L are known)
= 2f1 = 2(v/l1) = 2v/(2L) = v/L
wn = ?
Step 3: put together

L

1 ( n 1) 
 8h
 n x 
2
f ( x, t  0) 
 2 2  1
 sin  L 
 

n 1  n 

h
odd
Each harmonic has
y(x,t) = Asin(nx/L)cos(nw1t)
= Asin(nx/L)cos(nvt/L)

1 ( n 1) 
 8h
 n x 
 n vt 
2
f ( x, t ) 
 2 2  1
 sin  L  cos  L 
 



n 1  n 

odd
What does this look like?  Mathematica!
http://www.physics.byu.edu/faculty/colton/courses/phy123-fall10/trianglestring.gif
How about the pulse from HW 23-1?

Any guesses as to what will happen?
http://www.physics.byu.edu/faculty/colton/courses/phy123-fall10/squarestring.gif
Download