summaryrefslogtreecommitdiff
path: root/2175/CH2/EX2.2/2_2.sce
blob: a4033f9726c2d928d95e08314d699d036d39629f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clc;

p=7;//bar
h=2600;//kJ/kg
hf=697;//kJ/kg
h_fg=2067;//kJ/kg
x=(h-hf)/h_fg;
disp("dryness fraction is:");
disp(x);

vg=0.2728;
v=x*vg;
disp("specific volume is:");
disp("m^3/kg",v);

uf=696;
ug=2573;
u=(1-x)*uf+x*ug;
disp("specific internal energy is:");
disp("kJ/kg",u)