summaryrefslogtreecommitdiff
path: root/3831/CH15/EX15.7/Ex15_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH15/EX15.7/Ex15_7.sce')
-rw-r--r--3831/CH15/EX15.7/Ex15_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3831/CH15/EX15.7/Ex15_7.sce b/3831/CH15/EX15.7/Ex15_7.sce
new file mode 100644
index 000000000..808af3edc
--- /dev/null
+++ b/3831/CH15/EX15.7/Ex15_7.sce
@@ -0,0 +1,14 @@
+// Example 15_7
+clc;funcprot(0);
+// Given data
+m=0.160;// kg of liquid water
+T=25.0;// °C
+p=0.100;// MPa
+
+// Calculation
+h_f_H2O=285.838;// MJ/kg mole
+q_f_H2O=285.838;// MJ/kg mole
+q_r=q_f_H2O;// MJ/kg mole
+M=18.016;// kg/kgmole
+Q_r=m*(-q_r/M);// MJ
+printf("\nThe total heat transfer required,Q_r=%1.2f MJ",Q_r);