Solving the steady and unsteady 2D heat conduction problem
Objective: A. Solving Steady State 2D heat conduction equation.Driver script for program. %Script for solving 2d steady state heat conduction equation clear all close all clc nx= 50; ny = nx; x=linspace(0,1,nx); y=linspace(0,1,ny); dx= x(2)-x(1); dy= y(2)-y(1); u = 400*ones(nx,ny); u(2:end-1,1)=400; u(1,2:end-1)=600; u(2:end-1,ny)=800;…