summaryrefslogtreecommitdiff
path: root/3685/CH8/EX8.1/Ex8_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH8/EX8.1/Ex8_1.sce')
-rw-r--r--3685/CH8/EX8.1/Ex8_1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3685/CH8/EX8.1/Ex8_1.sce b/3685/CH8/EX8.1/Ex8_1.sce
new file mode 100644
index 000000000..3088a8fed
--- /dev/null
+++ b/3685/CH8/EX8.1/Ex8_1.sce
@@ -0,0 +1,8 @@
+clc
+T0 = 35 // Heat rejection temperature in degree Celsius
+T1 = 420 // Vapor condensation temperature in degree Celsius
+T1_ = 250 // water vapor temperature in degree Celsius
+printf("\n Example 8.1")
+f = ((T0+273)*((T1+273)-(T1_+273)))/((T1_+273)*((T1+273)-(T0+273)))// fraction of energy lost
+printf("\n The fraction of energy that becomes unavailable due to irreversible heat transfer is %f ",f)
+//The answers vary due to round off error