The effect of time step on the linear conduction is solved by Matlab
Objective: The matlab code is written below for seeing the effect of the different time step on the velocity pattern in the domain. This is the function code of the matlab programming to plot the graph between different time step and velocity pattern. function [x,uold] = timestepFun(dt) % Input parameter for the given…