blob: 2e23c70f644dc95657a1d0dad58eb7459bc3e400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//Temperature at section 1(in R):
T1=600;
//Pressure at section 1(in psia):
p1=20;
//Pressure at section 2(in psia):
p2=10;
//Velocity at section 1(in ft/s):
V1=360;
//Cross-sectional area of the duct(in ft^2):
A=0.25;
//Gas Constant(in ft-lbf/lbm-R):
R=53.3;
//Value of k:
k=1.4;
//Specific heat at constant presure(in Btu/lbm-R):
Cp=0.24;
//Specific heat at constant volume(in Btu/lbm-R):
Cv=0.171;
|