summaryrefslogtreecommitdiff
path: root/3821/CH14/EX14.12/Example14_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3821/CH14/EX14.12/Example14_12.sce')
-rw-r--r--3821/CH14/EX14.12/Example14_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3821/CH14/EX14.12/Example14_12.sce b/3821/CH14/EX14.12/Example14_12.sce
new file mode 100644
index 000000000..001098e9a
--- /dev/null
+++ b/3821/CH14/EX14.12/Example14_12.sce
@@ -0,0 +1,19 @@
+////Chapter No 14 Air Standard Cycles
+////Example No 14.12 Page No 317
+///Find cut-off ratio
+//Input Data
+clc;
+clear;
+r=22; //compression ratio of diesel engine r=v1/v2
+r1=11; //expansion ratio r1=v4/v3
+gamma1=1.4;
+rho=1.4;
+
+//Calculation
+rho=r/r1; //cut-off ratio
+//diesel engine air standard efficiency
+eta=100*((1-(1/r^(gamma1-1)))*(1/gamma1*(rho^(gamma1-1)/(rho-1))));
+
+//Output
+printf('cut-off ratio= %f \n',rho);
+printf('diesel engine air standard efficiency= %f percent \n',eta);