Professional Documents
Culture Documents
T. H. Pulliam
Stanford University
1
Wave Equation
2
Discussion of BC: Non-Periodic
3
Discussion of BC: Periodic
4
Periodic Wave Equation
5
Periodic Wave Form
6
Examples of Periodic Fourier Functions
1. Simple Sine
eix − e−ix
sin(x) =
2i
M, N = 1, κ1 = 1, κ−1 = −1
1 −1
f1 (0) = , f−1 (0) =
2i 2i
2. Sum of Sine and Cosine
e3ix − e−3ix e5ix + e−5ix
2.0sin(3x) + 0.1cos(5x) = 2.0 + 0.1
2i 2
M, N = 5, κ3 = 3, κ−3 = −3, κ5 = 5, κ−5 = −5,
2.0 −2.0 0.1 0.1
f3 (0) = , f−3 = , f5 (0) = , f−5 =
2i 2i 2 2
7
Linear Superposition Theory
8
Generalize Solution
9
Separation of Variable Solution of Wave Equation
(arbitrary κ)
∂ u(x,t)
2. Apply the general result ∂x = iκ u(x, t) to Eq.2,
∂ u(x, t) ∂ u(x, t)
+a =0
∂t ∂x
∂ eiκx f (t)
+ aiκeiκx f (t) = 0
∂t
10
PDE - ODE
11
General Solution
X
u(x, t) = cm eiκ(x−a t) (6)
m
1. This will be the exact solution which we will use to evaluate the
effects of
∂u
(a) Approximating ∂x with Numerical Finite Differences.
∂u
(b) Approximating ∂t with Various Time Advance Schemes.
12