blob: e473badcce7d229be9376b34d63bf49038955dd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc;
//for part (i)
hf=89.8;//kJ/kg
x=0.95;
h_fg=(1420-89.8);//kJ/kg
hi=hf+x*h_fg;//kJ/kg
disp("enthalpy of part (i)");
disp("kJ/kg",hi);
//for part (ii)
//ammonia heated by (60-20) K
x=40/50;
hf=1462.6;//kJ/kg
h_fg=(1597.2-1462.6);//kJ/kg
hii=hf+x*h_fg;
disp("enthalpy of part (ii)");
disp("kJ/kg",hii);
|