Constant Velocity Wave on Lax Method

Please enter the CFL number in the box.
(u)_t + c(u)_x = 0
u(n+1)=(u(n,j+1)+u(n,j-1))/2 - dt*[u(n,j+1) - u(n,j-1)]/(2*dx)


Last updated: