summaryrefslogtreecommitdiff
path: root/3718/CH13/EX13.5/Ex13_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH13/EX13.5/Ex13_5.sce')
-rw-r--r--3718/CH13/EX13.5/Ex13_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3718/CH13/EX13.5/Ex13_5.sce b/3718/CH13/EX13.5/Ex13_5.sce
new file mode 100644
index 000000000..d63d3f8cd
--- /dev/null
+++ b/3718/CH13/EX13.5/Ex13_5.sce
@@ -0,0 +1,16 @@
+//Chapter 13: Fuel and Combustions
+//Problem: 5
+clc;
+
+//Declaration of Variables
+V = 0.1 // metre cube
+W = 25 // kg
+t1 = 20 // C
+t2 = 33 // C
+m = 0.025 // kg
+
+// Solution
+HCV = W * (t2 - t1) / V
+LCV = HCV - (m / V) * 580
+mprintf("HCV is %d kcal / metre cube\n", HCV)
+mprintf(" LCV is %d kcal / metre cube", LCV)