summaryrefslogtreecommitdiff
path: root/746/DEPENDENCIES/4_16.sci
blob: 3bc2cc9a10bfa6db0eb51f02c386e601e8954afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Pressure at entry(in psia):
p1=14.7;
//Temperature at entry(in F):
T1=70;
//Pressure at exit(in psia):
p2=50;
//Temprature a exit(in F):
T2=100;
//Cross sectional area of the pipe at exit(in ft^2):
A2=1;
//Mass flow rate(in lbf/sec):
m=20;
//Power input to the compressor(in hp):
Ws=-600;
//Value of cp(in Btu/lbm-R):
cp=0.24;
//Value of gas constant(in ft-lbf/(lbm-R))
R=53.3;