summaryrefslogtreecommitdiff
path: root/2870/CH9/EX9.7/Ex9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH9/EX9.7/Ex9_7.sce')
-rwxr-xr-x2870/CH9/EX9.7/Ex9_7.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2870/CH9/EX9.7/Ex9_7.sce b/2870/CH9/EX9.7/Ex9_7.sce
new file mode 100755
index 000000000..e04eac5cd
--- /dev/null
+++ b/2870/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,18 @@
+clc;clear;
+//Example 9.7
+
+//from 9.6
+h2a=605.39;
+h4a=880.36;
+h3=1395.97;
+Wnet=210.41;
+
+//given data
+n=0.80;
+
+//calculations
+// n = (h5 - h2a) / (h4a - h2a)
+h5=(h4a - h2a)*n+h2a;
+qin=h3-h5;
+nth=Wnet/qin;
+disp(nth,'thermal efficiency is')