Money begets money Dr. Anna Karls Graduate Coordinator Dept. Microbiology UGA.
Does the Wave Equation Really Work? Michael A. Karls Ball State University November 5, 2005.
-
date post
20-Dec-2015 -
Category
Documents
-
view
216 -
download
2
Transcript of Does the Wave Equation Really Work? Michael A. Karls Ball State University November 5, 2005.
Does the Wave Equation Really Work?
Michael A. Karls
Ball State University
November 5, 2005
Modeling a Vibrating String
Donald C. Armstead
Michael A. Karls
3
The Harmonic Oscillator Problem
A 20 g mass is attached to the bottom of a vertical spring hanging from the ceiling.
The spring’s force constant has been measured to be 5 N/m.
If the mass is pulled down 10 cm and released, find a model for the position of the mass at any later time.
4
Newton’s Second Law
The (vector) sum of all forces acting on a body is equal to the body’s mass times it’s acceleration, i.e. F = ma.*
*The form F=ma was first given by Leonhard Euler in 1752, sixty-five years after Newton published his Principia.
5
Hooke’s Law
A body on a smooth surface is connected to a helical spring. If the spring is stretched a small distance from its equilibrium position, the spring will exert a force on the body given by F = -kx, where x is the displacement from equilibrium. We call k the force constant.
*This law is a special case of a more general relation, dealing with the deformation of elastic bodies, discovered by Robert Hooke (1678).
6
The Harmonic Oscillator Model
Using Newton’s Second Law and Hooke’s Law, a model for a mass on a spring with no external forces is given by the following initial value problem:
where proportionality constant 2 = k/m depends on the mass m and spring’s force constant k, u0 is the initial displacement, v0 is the initial velocity, and u(t) is the position of the mass at any time t.
We find that the solution to (1) - (3) is given by
7
Verifying the Harmonic Oscillator Model Experimentally
Using a Texas Instruments Calculator Based Laboratory (CBL) with a motion sensor, a TI-85 calculator, and a program available from TI’s website (http://education.ti.com/) , position data can be collected, plotted, and compared to solution (3).
8
The Vibrating String Problem
A physical phenomenon related to the harmonic oscillator is the vibrating string.
Consider a perfectly flexible string with both ends fixed at the same height.
Our goal is to find a model for the vertical displacement at any point of the string at any time after the string is set into motion.
9
The Vibrating String Model
Let u(x,t) be the vertical displacement of the string at any point of the string, at any time.
Let x = 0 and x = a correspond to the left and right end of the string, respectively.
Assume that the only forces on the string are due to gravity and the string's internal tension.
Assume that the initial position and initial velocity at each point of the string are given by sectionally smooth functions f(x) and g(x), respectively.
x=0 x=a
10
The Vibrating String Model (cont.)
Applying Newton's Second Law to a small piece of the string, we find that a model for the displacement u(x,t) is the following initial value-boundary value problem:
Equation (5) is known as the one-dimensional wave equation with proportionality constant c2 = T/ related to the string’s linear density and tension T.
Equations (6) - (8) specify boundary and initial conditions.
11
The Wave Equation
Solving the wave equation was one of the major mathematical problems of the 18th century.
First derived and studied by Jean d’Alembert in 1746, it was also looked at by Euler (1748), Daniel Bernoulli (1753), and Joseph-Louis Lagrange (1759).
12
The Vibrating String Model (cont.)
Using separation of variables, we find
where
13
Checking the Vibrating String Model Experimentally
To test our model, we stretch a piece of string between two fixed poles.
Tape is placed at seven positions along the string so displacement data can be collected at the same x-location’s over time.
The center of the string is displaced, released, and allowed to move freely.
Using a stationary digital video camera, we film the vibrating string.
World-in-Motion software is used to record string displacements at each of the seven marked positions.
Data is collected every 1/30 of a second.
14
Assigning Values to Coefficients in Our Model
We need to specify the parameters in our model. Length of string: a = 0.965 m. String center: xm= 0.485 m. Initial center displacement:
d = -0.126 m. To find c, we use the fact that
in our solution, the period P in time is related to coefficient c by c = 2a/P. From Figure 1, which shows
the displacement of the center of the string over time, we find that P is approximately 0.165 seconds.
It follows that c should be about 11.70 m/sec.
0.1 0.2 0.3 0.4 0.5 0.6
-0.1
-0.05
0
0.05
0.1
tsecDisplacement at x 0.485 m
Figure 1
15
Initial String Displacement and Velocity
For initial displacement we choose the piecewise linear function:
For initial velocity, we take g(x)≡0.
16
Determining the Number of Terms in Our Model
Using (10) and (11), we can compute the coefficients an and bn of our solution (9).
Graphically comparing the nth partial sum of (9) at t = 0 to the initial position function f(x), we find that fifty terms in (9) appear to be enough.
17
Model vs. Experimental Results
Figure 2 compares model and actual center displacement over time.
Clearly, the model and actual data appear to have the same period.
However, our model does not attain the same amplitude as the measured data over time.
In fact, the measured amplitude decreases over time.
This physical phenomenon is known as damping.
The next slide compares our model and experiment at each of the seven points on the string over time!
Model: ------
Actual: ------
0.1 0.2 0.3 0.4 0.5 0.6
-0.1
-0.05
0
0.05
0.1
tsecDisplacement at x 0.485 m
Figure 2
18
Model vs. Experimental Results (cont.)
Model: ------
Actual: - - - -
String Model
0.120.225
0.350.485
0.60.725
0.83x
0
0.2
0.4
0.6
t
-0.1
0
0.1
u
0.120.225
0.350.485
0.60.725
0.83x
Figure 3
19
Model vs. Experimental Results (cont.)
The next 21 slides show our results as “snapshots” in time at 1/30 second intervals.
Dots represent tape positions along the string.
The solid curve represents the model.
20
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0
21
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.0333333 sec
22
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.0666667 sec
23
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.1 sec
24
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.133333 sec
25
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.166667 sec
26
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.2 sec
27
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.233333 sec
28
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.266667 sec
29
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.3 sec
30
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.333333 sec
31
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.366667 sec
32
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.4 sec
33
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.433333 sec
34
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.466667 sec
35
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.5 sec
36
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.533333 sec
37
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.566667 sec
38
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.6 sec
39
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.633333 sec
40
Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.666667 sec
41
Vibrating String
That was the last frame!
42
Vibrating String Model Error
How far are we off? One measure of the error is the mean of the
sum of the squares for error (MSSE) which is the average of the sum of the squares of the differences between the measured and model data values.
We find that over four periods, the MSSE is 0.000890763 m2 or 0.0298457 m.
43
Revising Our Model
From our first experiment, it is clear that there is some damping occurring.
As is done for the harmonic oscillator, we can assume that the damping force at a point on the string is proportional to the velocity of the string at that point.
This leads to a new model with an extra term in the wave equation.
44
Revised Model with Damping
Equation (12) is known as the one-dimensional wave equation with damping, with damping factor .
Coefficient c, initial values, and boundary values are the same as before.
45
Solution to the Revised Model
Again, using separation of variables, we find that the solution to (12)-(15) is
where
46
Solution to the Revised Model (cont.)
with
Note that if g(x)≡0, the RHS of (18) is zero for all n, it follows that
47
Assigning Values to Coefficients in the Revised Model
For our revised model, we keep the same values for a, c, and initial position and velocity functions f(x) and g(x).
The only parameter we still need to find is the damping coefficient . Using the string center’s period in time of P = 0.165 seconds,
c = 11.70 m/sec, and the fact that 2 = P1, we guess that should be approximately 0.0127 sec/m2.
Once we know , the coefficients in our solution (16) can be found with (17) - (19). Again we use fifty terms in (16).
Unfortunately, our choice of does not produce enough damping in our model.
Through trial and error, we find that = 0.0253 sec/m2 gives reasonable results!
48
Revised Model vs. Experimental Results
Figure 4 compares model and actual center displacement over time.
With damping included, there appears to be much better agreement between model and experiment!
The next slide compares our model and experiment at each of the seven points on the string over time!
Model: ------
Actual: ------
0.1 0.2 0.3 0.4 0.5 0.6
-0.1
-0.05
0
0.05
0.1
tsecDisplacement at x 0.485 m
Figure 4
49
Revised Model vs. Experimental Results (cont.)
Model: ------
Actual: - - - -
String With Damping Model
0.120.225
0.350.485
0.60.725
0.83x
0
0.2
0.4
t
-0.1-0.05
00.050.1
u
0.120.225
0.350.485
0.60.725
0.83x
Figure 5
50
Revised Model vs. Experimental Results (cont.)
The next 21 slides show our results as “snapshots” in time at 1/30 second intervals.
Dots represent tape positions along the string.
The solid curve represents the model.
51
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0
52
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.0333333 sec
53
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.0666667 sec
54
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.1 sec
55
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.133333 sec
56
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.166667 sec
57
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.2 sec
58
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.233333 sec
59
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.266667 sec
60
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.3 sec
61
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.333333 sec
62
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.366667 sec
63
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.4 sec
64
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.433333 sec
65
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.466667 sec
66
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.5 sec
67
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.533333 sec
68
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.566667 sec
69
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.6 sec
70
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.633333 sec
71
Damped Vibrating String
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
xm0.666667 sec
72
Damped Vibrating String
That was the last frame!
73
Damped Model Error
We find that over approximately four periods, the MSSE is 0.000296651 m2 or 0.0172236 m.
74
Modeling a Vibrating Spring
In order to see if there is any other way to reduce the amount of error we are seeing in our models, we repeat our experiment with a long thin spring in place of our string.
Since the spring is “hollow”, we assume damping due to air resistance is negligable.
Therefore, the classic wave equation IVBVP may be a reasonable model.
75
Assigning Values to Coefficients in the Spring Model
For our spring model, we choose the same initial position and initial velocity functions f(x) and g(x).
For this experiment, a = 1 m, xm = 0.5 m, d = -0.135 m.
The spring’s period in time is about 0.263 seconds, so using the relationship c = 2 a/P, we find c = 7.6 m/sec.
76
Spring Model vs. Experimental Results
Figure 6 compares model and actual center displacement over time, after shifting our model in time by -0.02 seconds.
There appears to be even better agreement than in the damped case!
The next slide compares our model and experiment at each of the seven points on the string over time!
Model: ------
Actual: ------
0.2 0.4 0.6 0.8
-0.1
-0.05
0
0.05
0.1
tsecDisplacement at x 0.500 m
Figure 6
77
Spring Model vs. Experimental Results (cont.)
Model: ------
Actual: ------
Spring Model
0.110.24
0.370.50.615
0.7450.87
x
0
0.2
0.4
0.6
0.8
t
-0.1
0
0.1u
0.110.24
0.370.50.615
0.7450.87
x
Figure 7
78
Spring Model vs. Experimental Results (cont.)
The next 26 slides show our results as “snapshots” in time at 1/30 second intervals.
Dots represent tape positions along the string.
The solid curve represents the model.
79
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0
80
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.0333333 sec
81
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.0666667 sec
82
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.1 sec
83
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.133333 sec
84
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.166667 sec
85
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.2 sec
86
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.233333 sec
87
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.266667 sec
88
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.3 sec
89
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.333333 sec
90
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.366667 sec
91
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.4 sec
92
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.433333 sec
93
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.466667 sec
94
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.5 sec
95
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.533333 sec
96
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.566667 sec
97
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.6 sec
98
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.633333 sec
99
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.666667 sec
100
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.7 sec
101
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.733333 sec
102
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.766667 sec
103
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.8 sec
104
Vibrating Spring
0.2 0.4 0.6 0.8 1
-0.1
-0.05
0
0.05
0.1
xm0.833333 sec
105
Vibrating Spring
That was the last frame!
106
Spring Model Error
We find that over approximately three periods, the MSSE is 0.000174036 m2 or 0.0130551 m.
107
Conclusions and Further Questions
Using “inexpensive”, modern equipment (rope, spring, video camera, and computer software), we’ve been able to show that the wave equation works!
As is often the case in modeling, we had to revise our initial model or experimental setup to get a model that matches reality.
108
Conclusions and Further Questions (cont.)
How would the model work without “wobbly” poles?
Would a thinner string reduce damping?
What is really going on with the spring?
Would adding an external force to the models reduce error?
109
Conclusions and Further Questions (cont.)
One Final Question! Did d’Alembert, Euler, Bernoulli, or
Lagrange ever verify these models via experiment?
If so, how?
110
References
William E. Boyce and Richard C. Diprima, Elementary Differential Equations and Boundary Value Problems (8th ed).
David Halliday and Robert Resnick, Fundamentals of Physics (2cd ed).
David L. Powers, Boundary Value Problems (3rd ed).
Raymond A. Serway, Physics for Scientists and Engineers with Modern Physics (3rd ed).
St. Andrews History of Math Website: http://www-groups.dcs.st-and.ac.uk/~history/