MATLAB Answers

How would I solve for the two unknowns with 3 equations

22 views (last 30 days)
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

Accepted Answer

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 2 Apr 2021
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by