Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

how to find output when ve have two inputs but two inputs are not single values but series of data?

1 view (last 30 days)
Hi all:
i hope you all well be fine and doing well , i want to find Tg T1 T2 Tb Tc Tw2 variables which are unknowns by using these series of data I and Ta ...
find?
Tg T1 T2 Tb Tc Tw2 for first value of I and Ta
Tg T1 T2 Tb Tc Tw2 for second value of I and Ta
and os on up to the last values of I and Ta.
syms Tg T1 T2 Tb Tc Tw2
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
Ta=[29.164 30.256 31.186 32.237 33.127 34.137 35.148 37.129 36.119 35.148 34.137 33.127];
m=100;
n=40;
k=4180;
E1=I+k*I+k(Tc-T2)==4*k*(T2-Tb);
E2=m.*I+4.*I+(T2-Tb)==m*(Tb-Tw1);
E3=2*m.*I+(T1-Tc)==(Tc-Ta)))*I+(Tc-T2);
E4=3*n*I+(Tg-T1)==(T1-Tc);
E5=3*I==(Tg-Ta)+(Tg-T1);
E6=(Tb-Tw1)==(40*k*m*(Tw2-Tw1));
sol = solve([E1, E2, E3,E4,E5,E6],[T2,Tb,T1,Tc,Tg,Tw2]);
T2 = sol.T2
Tb = sol.Tb
Tg = sol.Tg
T1 = sol.T1
Tc = sol.Tc

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!