I am trying to solve for T2 and t2
How would I solve for the two unknowns with 3 equations
조회 수: 4 (최근 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
댓글 수: 3
채택된 답변
Sulaymon Eshkabilov
2021년 4월 2일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!