summaryrefslogtreecommitdiff
path: root/3685/CH5/EX5.4/Ex5_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH5/EX5.4/Ex5_4.sce')
-rw-r--r--3685/CH5/EX5.4/Ex5_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3685/CH5/EX5.4/Ex5_4.sce b/3685/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..99e9fb68b
--- /dev/null
+++ b/3685/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,12 @@
+clc
+h1 = 313.93 // Enthalpy of water at heater inlet in kJ/kg
+h2 = 2676 // Enthalpy of hot water at temperature 100.2 degree Celsius
+h3 = 419 //Enthalpy of water at heater inlet in kJ/kg
+w1 = 4.2 // mass flow rate in kg/s
+
+printf("\n Example 5.4")
+w2 = w1*(h3-h1)/(h2-h3)// Steam rate
+printf("\n The amount of heat that should be supplied is %d Kg/h", w2*3600)
+
+//The answers vary due to round off error
+