blob: e2f3bc290a7e4c07649f28f95af85f89a303e8ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
//initialisation of variables
p2=150//lbf/in^2
v=20 //f
h1=79.385 //lbf/in^2
g=144//in^2/ft^3
T=778//F
p=35.736//lbf/in^2
s1=0.16719 //btu/lbm-R
T2=122.9 //F
h2=90.330 //lbf/in^2
v2=0.28270 //Btu/lbm
//CALCULATIONS
u1=h1-(p*g*1.0988/T)//Btu/lbmu
u2=h2-(p2*g*v2/T//Btu/lbm
W=u1-u2 //Btu/lbm
//RESULTS
printf('the work per pound =% f Btu/lbm',W)
|