- #1
Name15
- 30
- 1
Homework Statement
Wave equation: ytt=yxx
Initial conditions: Y(x,0) =f(x) =
x (0 ≤ x < 1)
2.5(5-x) (1 ≤ x < 3)
0 (Otherwise)
and yt(x,0) = 0
Boundary condition: y(0,t) =0
Semi infinite domain: 0 ≤ x < infinity
Homework Equations
d'Alembert solution
The Attempt at a Solution
I can plot the solution of a wave equation on an infinite domain. However I don't understand how to change f(x) in order to plot the solution on a semi infinite domain.
For the above example, would the initial conditions for a semi-infinite domain be:
Y(x,0) =f(x) =
x (0 ≤ x < 1)
2.5(5-x) (1 ≤ x < 3)
-x (-1 <x ≤ 0)
2.5(x-5) (-3 <x ≤ -1)
0 (Otherwise)