summaryrefslogtreecommitdiff
path: root/2870/CH16/EX16.7/Ex16_7.sce
blob: 3875a0abd7a928f2c290eb917a6e38c338c99cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clc;clear;
//Example 16.7

//given data
T=120+273.15;//in K

//from Table A-4
hf=503.81;
hg=2706;
sf=1.5279;
sg=7.1292;

//calculations
disp('liquid phase');
gf=hf-T*sf;
disp(gf,'gf value in kJ/kg');
disp('vapour phase');
gg=hg-T*sg;
disp(gg,'gg value in kJ/kg');