blob: 311ec769a08b9b6b179dc4af0a750b92e739b7ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
//initialization of varaibles
s=1.7050 //B/lb R
//calculations
disp("From table 2,")
sx=1.7050
sg=1.7549
sfg=1.4415
dx=(sg-sx)/sfg
hg=1150.8
hfg=969.7
hx=hg-dx*hfg
vg=26.29
vfg=26.27
vx=vg-dx*vfg
//results
printf("Specific volume = %.3f cu ft/lb",vx)
printf("\n Enthalpy = %.1f B/lb",hx)
|