1D linear convection equation solution using matlab
Objective: We have to solve the one dimention convection equation and plot the data by comparing the velocities at different number of grid points. the 1D convection equation is given below `(du)/(dt)+c*(du)/(dx)=0` On discritizing using forward differencing for time derivative(time marching) and backward differencing for space…