summaryrefslogtreecommitdiff
path: root/2870/CH8/EX8.2/Ex8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH8/EX8.2/Ex8_2.sce')
-rwxr-xr-x2870/CH8/EX8.2/Ex8_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2870/CH8/EX8.2/Ex8_2.sce b/2870/CH8/EX8.2/Ex8_2.sce
new file mode 100755
index 000000000..b736c74cb
--- /dev/null
+++ b/2870/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,13 @@
+clc;clear;
+//Example 8.2
+
+//given values
+TH=2000;
+T0=77+460;//in R
+Qin=3000;
+
+//calculation
+nth=1-(T0/TH);
+Wmax=nth*Qin;
+Wmax=round(Wmax)
+disp(Wmax,'the rate of energy flow in Btu/s')