Issue with ode solver for solving burgers equation using spectral method
using DifferentialEquations using LinearAlgebra function burgers!(du, u, p, t) N = length(u) du[1] = 0.0 du[N] = 0.0 for i in 2:N-1 du[i] = -u[i]*(u[i+1] – u[i-1])/2 end end N = 100