Professional Documents
Culture Documents
%%%%% Define The Matrix %%%%
%%%%% Define The Matrix %%%%
%%%%% Define The Matrix %%%%
X1 +X2 + X3 +3X4 =6
Ans:
b=[1;6;4]
x=A\b
x1=x(1);
x2=x(2);
x3=x(3);
x4=x(4);
b_verify=A*x
####### Results############
x1= 0
x2= 1.4444
x3= 3.2222
x4=0.4444
3.Assume that an ordinary mercury-in-glass thermometer follows first order dynamics with a time
constant of
10s. It is at a steady state temperature of 0°C. At time t = 0, the thermometer is suddenly immersed
in a
constant temperature bath at 100°C. The time required (in s) for the thermometer to read 95°C,
approximately
is
Ans= A(60)
T_fin=T_in+Delta_T(1-exp(t/tau))