Answer:
clear, clc
prob3_5([1,2,3],[6,5,7],12,11,22,55,76)
function T=prob3_5(x,y,N,L,W,T1,T2)
w=zeros(1,length(x));
for n=1:2:N
for i=1:length(x)
w(i)=w(i)+(2/pi)*(2/n)*sin(n*pi*x(i)/L).*sinh(n*pi*y(i)/L)/sinh(n*pi*W/L);
end
end
T=(T2-T1)*w+T1;
end
Step-by-step explanation:
Please input the commands into MATLAB