Steady and unsteady 2D heat conduction problem
Objective: STEADY STATE: Matlab Code: clear all close all clc %% Initial and Boundary conditions L = 1; nx = 81; ny = nx; dx = L/(nx-1); dy = dx; %w = 1.1; T = 298* ones(nx,ny); T(1,:) = 900; % Bottom (1st row is being counted from bottom) T(:,1) = 400; % Left T(:,end) = 800; % Right T(end,:) = 600; % Top % Corner points T (1,1)…