blob: cf6bc68f1d340d8d4e43ccd276bcf9eed19acb03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
clc
//initialisation of variables
p1=100 //lbf/in^2
t=500//F
v=200 //ft/sec
p2=20 //lbf/in^2
v1=600//ft/sec
hi=1279.1 //Btu/lbm
si=1.7085 //Btu/lbm-R
Pe=20 //lbf/in^2
Se=1.7085 //Btu/lbm
x=0.01676 //Btu/lbm
hg=1156.3 //Btu/lbm
hf=960.1 //Btu/lbm
g=32.17//in^2/ft^3
T=778//F
//CALCULATIONS
he=hg-x*hf //Btu/lbm
W=hi-he+[(v^2)-(v1^2)]/(2*g*T)//Btu/lbm
//RESULTS
printf('The work per pound of steam for this isentropic process=% f Btu/lbm',W)
|