Linear Convection (Multiple time-steps)
Objective: Theory: Effect of time step size on the solution of 1D Linear Convection Equation To write a function that accepts the time step as an argument and solves the same problem. You will compare the effect of the time step on the numerical solution. 1. Set n = 80 2. Time steps to use = 1e-4, 1e-3, 1e-2, and 1e-1 Expected output…