summaryrefslogtreecommitdiff
path: root/2510/CH14/EX14.4/Ex14_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH14/EX14.4/Ex14_4.sce')
-rwxr-xr-x2510/CH14/EX14.4/Ex14_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2510/CH14/EX14.4/Ex14_4.sce b/2510/CH14/EX14.4/Ex14_4.sce
new file mode 100755
index 000000000..22b0d7621
--- /dev/null
+++ b/2510/CH14/EX14.4/Ex14_4.sce
@@ -0,0 +1,9 @@
+//Variable declaration:
+Ts = 100.0 //Steam temperature at 1 atm (°C)
+Tl = 25.0 //Fluid temperature (°C)
+
+//Calculation:
+DTlm = Ts - Tl //Log mean temperature difference (°C)
+
+//Result:
+printf("The LMTD is : %f °C.",DTlm)