Numerical Solution to 1-D Linear Convection
Objective: Here we need to solve the 1-D linear convection Equation which is given by: `frac(partialu)(partialt) + cfrac(partialu)(partialx) =0` Now to solve it numerically, we need to implement some finite differencing schemes of the numerical techniques to discretize the governing equation. The discretization for the first-order…