Question

you can do by handQuestion 8: Compute the Laplace Transform Ts, then use the final value theorem to find the limiting temperature in each room

0 0
Add a comment Improve this question Transcribed image text
Answer #1


&Part Bmatrix form solution using eigenvalues and eigenvectors %Question 6-7 clear all close all clc Heating/Cooling constantfprintf( Value for T final-\n) disp(Tinf(:,1)) 3X3 Matrix A- [-0.7, 0.2,01 [ 0.2,-0.5, 0.2) I0 0.2,-0.31 Matrix f- 20 16 Va32.82 exp (-0.5*t) (cosh (0.3464*t) 0.2706*sinh (0.3464*t)) - 33.33*exp (-0.5*t) ] [ 61.54 - 21.54 *exp(-0.5*t)*(cosh(0.3464*

%%Part B : matrix form solution using eigenvalues and eigenvectors
%Question 6 - 7
clear all
close all
clc

%Heating/Cooling constants

k1 = 0.2; k2 = 0.1; k3 = 0.2; %Cooling constant for the main room
k0 = 0.5; k4 = 0.1;           %Cooling constants for attic and basement

%Temperature and the heater

TE = +40;
TS = -40;
H = 20;

T0 = [20.0 ; 0.0 ; -20.0]'; %Initial temperature in each room

%Question 6.a.

A = [-(k0+k1) k1 0; k1 -(k1+k2+k3) k3; 0 k3 -(k3+k4)];

fprintf('3X3 Matrix A= \n\n')
disp(vpa(A,4))

%Question 6.b.

f = [k0*TE; k2*TS+H; k4*TS];

fprintf('Matrix f= \n')
disp(f)

syms s
I=eye(3);

Ts=(inv(s*I-A))*(T0+f/s);
fprintf('Value for Ts=\n')
disp(Ts)

Tinf=vpa(limit(s*Ts,0),4);
fprintf('Value for Tinf=\n')
disp(Tinf)

Tt=vpa(ilaplace(Ts),4);
fprintf('Value for Tt=\n')
disp(Tt)

Tt=vpa(simplify(rewrite(Tt,'exp')),4);
fprintf('Value for Tt after simplyfication=\n')
disp(Tt)

fprintf('Value for T final=\n')
disp(Tinf(:,1))

Add a comment
Know the answer?
Add Answer to:
you can do by hand Question 8: Compute the Laplace Transform Ts, then use the final value theorem to find the limiting t...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT