How would I solve for the two unknowns with 3 equations

5 次查看(过去 30 天)
syms t2 T2
mr = 73.74
hfgr= 171.82e3
cpgr= 1040
t1=31.3
T1= 228.6
mw= 9
hfgw = 2173.7e3
cpgw = 2158
F = 1
Uo = 3712.385
Ao = 255.849
format short
% qr = qw = qlmtd
qr = mr*(hfgr + (.68*cpgr* (t2-t1)))
qw = mw*(hfgw + (.68*cpgw *(T1-T2)))
del1 = T1-t2
del2 = (T2-t1)
LMTD = (del1 - del2) / log(del1/del2)
qlmtd = F*Ao*Uo*LMTD

采纳的回答

Sulaymon Eshkabilov
Here is the simple solution:
SOL = solve(mr*(hfgr + (.68*cpgr* (t2-t1)))==mw*(hfgw + (.68*cpgw *(T1-T2))), F*Ao*Uo*LMTD==mr*(hfgr + (.68*cpgr* (t2-t1))))
t2 = double(SOL.t2);
T2 = double(SOL.T2);
Good luck.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by