summaryrefslogtreecommitdiff
path: root/3685/CH13/EX13.2/Ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH13/EX13.2/Ex13_2.sce')
-rw-r--r--3685/CH13/EX13.2/Ex13_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3685/CH13/EX13.2/Ex13_2.sce b/3685/CH13/EX13.2/Ex13_2.sce
new file mode 100644
index 000000000..07037446e
--- /dev/null
+++ b/3685/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,9 @@
+clc
+rk = 14 // Compression ratio
+k = 6 // cutoff percentage ratio
+rc = k/100*(rk-1)+1
+g = 1.4 // Heat capacity ratio
+n_diesel = 1-((1/g))*(1/rk^(g-1))*((rc^(g-1))/(rc-1)) // Cycle efficiency
+printf("\n Example 13.2\n")
+printf("\n Air standard efficiency is %f percent",n_diesel*100)
+//The answers vary due to round off error