Uploaded by Nurzazila Humaira

Question 4

advertisement
Question 4: Numerical solution of wave equation using finite difference method
(a)
(b)
Write down the formula of finite difference method for solving wave equation.
Solve the following problems.
Problem 3: Wave equation
Given the wave equation
2u
2u

14
 0.
t 2
x 2
with conditions
u  0, t   u 1, t   0
t 0
3
 5x
,0  x 
 2
5
u  x, 0   
15  15 x , 3  x  1
 4
5
u  x, 0 
 2x
t
By taking x  h  0.2 and t  k  0.04 , solve the wave equation using
finite difference method up to second level.
Download