WEEK 5 CHALLENGE
Objective: close all clear all clc %initital declarations nx=10; ny=0; ny=nx; x=linspace(0,1,nx) y=linspace(0,1,ny) t=ones(nx,ny) %boundary conditions t(nx,:)=900 t(1,:)= 600 t(:,1)=400 t(:,ny)=800 told=t; %solving the pde %Steady state Equation % error tolerance tolerance=1e-4; error=100 %no.of iterations iter=1 %computing x and…