Program that computes and compares difference between initial and final velocity profile with varying time steps
Objective: Program to compute and compare difference between initial and final velocity profile with varying time steps such as 1e-4, 1e-3, 1e-2, and 1e-1. clear all close all clc %Time steps to use = 1e-4, 1e-3, 1e-2, and 1e-1 %input for the linear convection problem L=1; %Make the comparison for n=20,40,80 and 160 n=80; c=0.1;…