Week 4 - Linear Convection
Objective: Objective:- To solve the 1D wave equation for one grid size and multiple time steps. And to study the effect of time step on the stability of the curve., CFL number's significance.Inputs:-Length of the domain given is L=1,The initial velocity profile is a step function. It is equal to 2m/s between x= 0.1 and 0.3 and…