Experiment 10
Experiment 10
OBJECTIVE:
Write a script file to solve and plot the solution of
one-dimensional wave equation with given initial-
boundary conditions:
2u 2u x x u
c2
2 ; u (0, t ) 0, u ( L, t ) 0; u ( x, 0) (1 ), ( x, 0) x
x 2
t L L t