Central scheme
Consider the one-dimensional advection equation, \[ u_t=cu_x, \] where \(c\in \mathbb {R}\) is the wavespeed. Use von Neumann stability analysis to determine the values of \(c\) for which the following the central difference, forward Euler scheme is stable: \[ \frac {u_j^{n+1}-u_j^n}{\Delta t} = c\frac {u_{j+1}^{n}-u_{j-1}^{n}}{2h}. \]