diff options
Diffstat (limited to '1775/CH2/EX2.11/Chapter2_Example11.sce')
-rwxr-xr-x | 1775/CH2/EX2.11/Chapter2_Example11.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/1775/CH2/EX2.11/Chapter2_Example11.sce b/1775/CH2/EX2.11/Chapter2_Example11.sce new file mode 100755 index 000000000..687920f54 --- /dev/null +++ b/1775/CH2/EX2.11/Chapter2_Example11.sce @@ -0,0 +1,26 @@ +//Chapter-2, Illustration 11, Page 68
+//Title: Gas Power Cycles
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+rv=21;//Compression ratio
+re=10.5;//Expansion ratio
+y=1.4;//Ratio of specific heats
+
+//CALCULATIONS
+rc=rv/re;//Cut-off ratio
+nth=(1-(((rc^y)-1)/((rv^(y-1))*y*(rc-1))))*100;//Air standard efficiency
+
+//OUTPUT
+mprintf('Cut-off ratio is %3.0f \n Air standard efficiency is %3.2f percent',rc,nth)
+
+
+
+
+
+
+
+
+//==============================END OF PROGRAM=================================
|