Linear Convection - Solving 1D linear convection equation for different values of time steps (dt)
Objective: Objective:- Effect of time step size on the solution Write a function that accepts time step as an argument and solves the same problem. You will compare the effect of 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 1. In a single graph compare the numerical…