summaryrefslogtreecommitdiff
path: root/2063/CH9/EX9.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2063/CH9/EX9.20
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2063/CH9/EX9.20')
-rwxr-xr-x2063/CH9/EX9.20/9_20.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2063/CH9/EX9.20/9_20.sce b/2063/CH9/EX9.20/9_20.sce
new file mode 100755
index 000000000..24af179af
--- /dev/null
+++ b/2063/CH9/EX9.20/9_20.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//Input data
+P1=1;//Initial pressure of a 3 stage compressor in bar
+P4=40;//Final pressure in bar
+T1=293;//Initial temperature in K
+n=1.3;//Polytropic index
+V1=15;//Air delivered per minute in m^3/min
+
+//Calculations
+W=((3*n)/(n-1))*P1*10^5*V1*(((P4/P1)^((n-1)/(3*n)))-1);//Work done by the compressor in kJ/min
+P=W/(60*1000);//Power required to deliver 15 m^3/min air in kW
+P2=P1*(P4/P1)^(1/3);//Intermediate pressure after stage 1 in bar
+P3=P2*(P4/P1)^(1/3);//Intermediate pressure after stage 2 in bar
+
+//Output
+printf('(a)Power required to deliver 15 m^3/min air at suction condition is %3.1f kW\n (b)Intermediate pressures are P2 = %3.3f bar P3 = %3.3f bar',P,P2,P3)