summaryrefslogtreecommitdiff
path: root/2063/CH9/EX9.18
diff options
context:
space:
mode:
Diffstat (limited to '2063/CH9/EX9.18')
-rwxr-xr-x2063/CH9/EX9.18/9_18.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2063/CH9/EX9.18/9_18.sce b/2063/CH9/EX9.18/9_18.sce
new file mode 100755
index 000000000..be5aa8331
--- /dev/null
+++ b/2063/CH9/EX9.18/9_18.sce
@@ -0,0 +1,14 @@
+clc
+clear
+//Input data
+P1=1;//Initial pressure of air entering a two stage air compressor with complete intercooling in bar
+P3=25;//Delivery pressure of air toe the mains in bar
+T1=303;//Initial temperature in K
+n=1.35;//Compression index
+
+//Calculations
+P2=(P1*P3)^(0.5);//Inter cooler pressure for perfect intercooling in bar
+R=(P2/P1)^(0.5);//Ratio of cylindrical diameters
+
+//Output
+printf('The ratio of cylinder diameters for the efficiency of compression to be maximum is %3.3f',R)