File:LF-Solution.png

Summary
The Lax-Friedrichs solution at time $$t = 1$$ for the illustration problem in the Lax–Friedrichs method article modified to have periodic boundary conditions with the discontinuous initial condition shown in the article. With the choice of $$a = 1$$, the exact solution at time $$t = 1$$ is identical to the initial condition:



Thus this solution displays both dispersion and dissipation error.

Author: Jeff Steward Created using MATLAB 7.6.0.324 (R2008a)