Research Article

Numerical Solution of In-Viscid Burger Equation in the Application of Physical Phenomena: The Comparison between Three Numerical Methods

Table 1

Comparison of point average absolute error, root mean square error, and pointwise maximum absolute error for problem give in example one with computations domain carried out until final time with different mesh size h and time step .

Applied numerical schemeSpecified mesh sizeEstimated errors by using specified mesh size

Upwind methods0.0250.012.5000E − 031.1291E − 035.1980 E − 04
0.01250.0021.2500E − 033.5557E − 041.0230E − 04
0.010.011.0000E − 037.0898E − 45.0495E − 04
0.010.0051.0000E − 035.0187E − 042.5373E − 04

Lax–Friedrichs scheme0.0250.012.5000E − 031.1117E − 035.5122E − 04
0.01250.021.2500E − 033.4930E − 041.1185E − 04
0.010.011.0000E − 037.0736E − 045.0775e − 04
0.010.0051.0000E − 034.9905E − 042.5837E − 04

Lax–Wendroff scheme0.0250.013.2196E − 041.3774E − 046.2141E − 05
0.01250.021.7711E − 034.6476E − 041.3230E − 04
0.010.011.1205E − 037.8888E − 045.5965E − 04
0.010.0051.2586E − 036.0864E − 043.0534E − 04