Solving 1D linear convective equation for different number of grid points
Objective: Objective: To solve the One dimensional linear convection equation numerically by the numerical schemes using program. 1D Linear convection Equation: `(du)/dt+c(du)/dx=0` The above equation is a partial differential equation. `(du)/dt` - Time derivative term `(du)/dx`- Convective term `u_i^(n+1) =u_i^n - c(Deltat)/(Deltax)…