How would I solve for the two unknowns with 3 equations

5 vues (au cours des 30 derniers jours)
Kevin Santos
Kevin Santos le 2 Avr 2021
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 commentaires
Sulaymon Eshkabilov
Sulaymon Eshkabilov le 2 Avr 2021
Do you have the values of LMTD, qlmtd, del1, del2?
Kevin Santos
Kevin Santos le 2 Avr 2021
sorry, I forgot to mention that qr = qw = qlmtd

Connectez-vous pour commenter.

Réponse acceptée

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 2 Avr 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.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by