diff options
Diffstat (limited to '2063/CH9/EX9.5/9_5.sce')
-rwxr-xr-x | 2063/CH9/EX9.5/9_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2063/CH9/EX9.5/9_5.sce b/2063/CH9/EX9.5/9_5.sce new file mode 100755 index 000000000..8f8f894d4 --- /dev/null +++ b/2063/CH9/EX9.5/9_5.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+P1=1;//Initial pressure of a single acting compressor in bar
+P2=12;//Final pressure in bar
+N=500;//Operating speed of the compressor in rpm
+T1=308;//Inlet air temperature in K
+n=1.3;//Polytropic index
+
+//Calculations
+T2=T1*(P2/P1)^((n-1)/n);//Temperature of air delivered by the compressor in K
+
+//Output
+printf('Temperature of air delivered by the compressor is %3.2f K',T2)
|