Burgers Equation on Lax Method

Please enter the coefficient of dissipative term and CFL number in the boxes, respectively.
(u)_t + (uu/2)_x = b (u)_xx
u(n+1)=(u(n,j+1)+u(n,j-1))/2 - dt*[u(n,j+1)**2 - u(n,j-1)**2]/(2*dx) + dt*b*[u(n,j+1) - 2*u(n,j) + u(n,j-1)]/(dx*dx)


Last updated: