Question: TwoDTemp.m Temp.m X + 1 2 function TwoDT = Temp (x,y) 3 4 5 Given that a=5, b=4 a=5; b=4; 6 7 8 9 -


TwoDTemp.m Temp.m X + 1 2 function TwoDT = Temp (x,y) 3 4 5 Given that a=5, b=4 a=5; b=4; 6 7 8 9 - 10 11 for n=1:5 Pl=sin((2*n-1) + ((pi*x) /a)); P2=sinh ((2*n-1) * ((pi*) /a)); P3=sinh ((2*n-1) * ((pi*b)(a)); P4= (2*n-1); TWODT (x, y) =TwoDT (x, y) + ((P1*P2)/(P4*P3)); end 12 13 14 - 15 Command Window Error in Temp (line 15) TwoDT (x,y) =TwoDT (x,y)+((P1*P2)/(P4*P3)); Error in TwoDTemp (line 10) T(x,y) =Temp (x,y); fx >> TwoDTemp.m* * Temp.m X + 1 w N 3 4. Trzeros ([5,4]); Given that T1=85 degc, a=5, b=4 T1=85; 6 7 8 9 33 - TILL | for x=1:5 for y=1:4 T(x,y) =Temp (x,y); T(x,y) =T (x, y) + ((4*11)/pi); end 10 11 end disp (T); Command Window Error in Temp (line 15) TwoDT (x, y) =TwoDT (x,y)+((P1*P2)/(P4*P3)); Error in TwoDTemp (line 10) T(x, y) =Temp (x,y); fx >> UTF-8 scrint In 1 Col1 TwoDTemp.m Temp.m X + 1 2 function TwoDT = Temp (x,y) 3 4 5 Given that a=5, b=4 a=5; b=4; 6 7 8 9 - 10 11 for n=1:5 Pl=sin((2*n-1) + ((pi*x) /a)); P2=sinh ((2*n-1) * ((pi*) /a)); P3=sinh ((2*n-1) * ((pi*b)(a)); P4= (2*n-1); TWODT (x, y) =TwoDT (x, y) + ((P1*P2)/(P4*P3)); end 12 13 14 - 15 Command Window Error in Temp (line 15) TwoDT (x,y) =TwoDT (x,y)+((P1*P2)/(P4*P3)); Error in TwoDTemp (line 10) T(x,y) =Temp (x,y); fx >> TwoDTemp.m* * Temp.m X + 1 w N 3 4. Trzeros ([5,4]); Given that T1=85 degc, a=5, b=4 T1=85; 6 7 8 9 33 - TILL | for x=1:5 for y=1:4 T(x,y) =Temp (x,y); T(x,y) =T (x, y) + ((4*11)/pi); end 10 11 end disp (T); Command Window Error in Temp (line 15) TwoDT (x, y) =TwoDT (x,y)+((P1*P2)/(P4*P3)); Error in TwoDTemp (line 10) T(x, y) =Temp (x,y); fx >> UTF-8 scrint In 1 Col1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
