summaryrefslogtreecommitdiff
path: root/3821/CH14/EX14.11/Example14_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3821/CH14/EX14.11/Example14_11.sce')
-rw-r--r--3821/CH14/EX14.11/Example14_11.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3821/CH14/EX14.11/Example14_11.sce b/3821/CH14/EX14.11/Example14_11.sce
new file mode 100644
index 000000000..207b49291
--- /dev/null
+++ b/3821/CH14/EX14.11/Example14_11.sce
@@ -0,0 +1,17 @@
+////Chapter No 14 Air Standard Cycles
+////Example No 14.11 Page No 316
+///Find diesel engine air standard efficiency
+//input data
+clc;
+clear;
+r=18; //compression ratio of diesel engine
+K=6; //cut-off ratio of the stroke in%
+rho=2.02;
+gamma1=1.4;
+
+///Calculation
+//diesel engine air standard efficiency
+eta=100*((1-(1/r^(gamma1-1)))*(1/gamma1*(rho^(gamma1-1)/(rho-1))));
+
+//Output
+printf('diesel engine air standard efficiency %f percent \n',eta);