Figure File
Figure File
0.9
1
0.8
0.8 0.7
Numerical solution
0.6 0.6
0.5
0.4
0.4
0.2
0.3
0
2
0.2
1.5 1
0.8
1 0.1
0.6
0.5 0.4
0.2 0
t 0 0
x
Fig 2.Physical behaver Exact solution of Example 1 for h=k=1/20 and v=1/48
0.8
0.9 0.7
0.8
0.7 0.6
Exactl solution
0.6
0.5
0.5
0.4
0.4
0.3
0.2
0.3
0.1
0
2 0.2
1.5 1
0.8 0.1
1
0.6
0.5 0.4
0.2 0
t 0 0
x
Fig 3. Comparing the Numerical vs exact solution of burger equation for h=k=1/20 v = 1/48
0.35
Numerical solution
Exact solution
0.3
0.25
0.2
t
0.15
0.1
0.05
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x
Fig 4. Maximum Absolute Error at each time step for h=k=1/20 and v=1/48
0.8
0.7
0.6
0.5
error
0.4
0.3
0.2
0.1
0
-3 -2 -1 0 1
10 10 10 10 10
gridpoint
Fig. 5. Physical behaver numerical solution of Example 1 for h=k=1/40 and v=1/48
1
0.9
1
0.8
0.8 0.7
Numerical solution
0.6 0.6
0.5
0.4
0.4
0.2
0.3
0
2
0.2
1.5 1
0.8
1 0.1
0.6
0.5 0.4
0.2 0
t 0 0
x
Fig 6.Physical behaver Exact solution of Example 1 for h=k=1/40 and v=1/48
0.8
0.9 0.7
0.8
0.7 0.6
0.6
Exactl solution
0.5
0.5
0.4
0.4
0.3
0.2
0.3
0.1
0
2 0.2
1.5 1
0.8 0.1
1
0.6
0.5 0.4
0.2 0
t 0 0
x
Fig 7. Comparing the Numerical vs exact solution of burger equation for h=k=1/80 v = 1/48
0.35
0.3
0.25
0.2
t
0.1
0.05
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x
0
Fig 8. Maximum Absolute Error at each time step for h=k=1/160 and v=1/48
10
Maximum Absolute error
60
50
40
error
-1
10
30
20
10
-2
10
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
gridpoint
-13
Fig. 9. Physical behaver numerical solution of Example 2 for h=0.1, k=0.001 and v=0.002 x 10
3.5
-13
x 10
3
4
2.5
3
Numerical solution
2
2
1.5
1
1
0
0.5
-1
3
2.5 0
1
2
0.8
1.5
0.6
1 -0.5
0.4
0.5 0.2
t 0 0
x
-13
Fig 10.Physical behaver Exact solution of Example 2 for h=0.1, k=0.001 and v=0.002 x 10
3
-13
x 10
2.5
3.5
2.5 2
Exactl solution
1.5 1.5
0.5 1
0
-0.5
0.5
-1
3
2.5 0
1
2
0.8
1.5
0.6
1 0.4 -0.5
0.5 0.2
t 0 0
x
-14
Figx 12.
10 Comparing the Numerical vs exact solution of burger equation In Exaple 2 for v = 0.002
1.8 1
0.8
1.4
0.7
1.2
0.6
1
0.5
t
0.8
0.4
0.6
0.3
0.4
0.2
0.2 0.1
0 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x
Fig 11. Maximum Absolute Error of Example 2 at each time step for h=0.1, k=0.001 and v=0.002
0.025 1
Maximum Absolute error
0.9
0.02 0.8
0.7
0.015 0.6
error
0.5
0.01 0.4
0.3
0.005 0.2
0.1
0 0
-2 -1 0 1
10 10 10 10
gridpoint