Linear convection coding
Objective: For C = 1 and time = 0.4 econds,the original function is of step like function while the final velocity profile is of parabolic shape whose image is attached below . Moreover it is seen that initially the corners of step function are very sharp in nature but with progress in time this sharpness decreases gradually…