summaryrefslogtreecommitdiff
path: root/1775/CH2/EX2.6/Chapter2_Example6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1775/CH2/EX2.6/Chapter2_Example6.sce')
-rwxr-xr-x1775/CH2/EX2.6/Chapter2_Example6.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1775/CH2/EX2.6/Chapter2_Example6.sce b/1775/CH2/EX2.6/Chapter2_Example6.sce
new file mode 100755
index 000000000..90217347d
--- /dev/null
+++ b/1775/CH2/EX2.6/Chapter2_Example6.sce
@@ -0,0 +1,25 @@
+//Chapter-2, Illustration 6, Page 61
+//Title: Gas Power Cycles
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+rv=14;//Compression ratio
+c=0.06;//Cut-off percentage
+y=1.4;//Ratio of specific heats
+
+//CALCULATIONS
+rc=1.78;//Cut-off ratio
+nth=(1-(((rc^y)-1)/((rv^(y-1))*y*(rc-1))))*100;//Thermal efficiency
+
+//OUTPUT
+mprintf('Air standard efficiency is %3.1f percent',nth)
+
+
+
+
+
+
+
+//==============================END OF PROGRAM=================================