advection_ftcs_pde: MATLAB/Octave version 9.9.0.1467703 (R2020b) Solve the constant-velocity advection PDE in 1D, du/dt + c du/dx = 0 over the interval: 0.0 <= x <= 1.0 with periodic boundary conditions: u(0) = u(1) and advection velocity c = constant and initial condition u(0,x) = (10x-6)^2 (8-10x)^2 for 0.6 <= x <= 0.8 = 0 elsewhere. and NX equally spaced nodes in X, and NT equally spaced points in T, using the FTCS method: FT: Forward Time : du/dt = (u(t+dt,x)-u(t,x))/dt CS: Centered Space: du/dx = (u(t,x+dx)-u(t,x-dx))/2/dx Number of nodes NX = 101 Space ranges from 0 to 1 Number of time steps NT = 201 Time ranges from 0 to 1 Constant velocity C = 0.5 Graphics saved as "advection_ftcs_pde_initial.png" Graphics saved as "advection_ftcs_pde_final.png" Movie saved as "advection_ftcs_pde.avi" Graphics saved as "advection_ftcs_pde_conserved.png" advection_ftcs_pde Normal end of execution.