Effect of grid spacing in 1D Linear convection equation
Objective: Objective: 1.To write a MatLab code to solve numerically 1D Linear convection equation. 2.Generate and plot the velocity profile of 1D Linear convection equation. 3.Compare the effect of the grid spacing on velocity profile by plotting the velocity profile for a varying number of nodes. Assumption: Numerical solution to…