Answered Same DayOct 14, 2021

Answer To: matlab

Nishchay answered on Oct 15 2021
128 Votes
function Phase = Water(P,T)
PS = 1.4405e-6*T^4 - 1.6092e-4*T^3 + 0.01536*T^2 - 0.40831*T + 5.54347;

if (P > 1.01*PS)
Phase = 'Compressed Liquid';
elseif (P >= 0.99*PS && P <= 1.01*PS)
Phase = 'Saturated Mixture';
else
Phase = 'Superheated Vapor';
end
end
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here