summaryrefslogtreecommitdiff
path: root/2510/CH17/EX17.14/Ex17_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH17/EX17.14/Ex17_14.sce')
-rwxr-xr-x2510/CH17/EX17.14/Ex17_14.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2510/CH17/EX17.14/Ex17_14.sce b/2510/CH17/EX17.14/Ex17_14.sce
new file mode 100755
index 000000000..aa51305e2
--- /dev/null
+++ b/2510/CH17/EX17.14/Ex17_14.sce
@@ -0,0 +1,13 @@
+//Variable declaration:
+//From example 17.13:
+Qf = 108.9 //Fin heat transfer rate (W)
+Qw = 18.4 //Total heat transfer rate without the fin (W)
+
+//Calculation:
+E = Qf/Qw //Fin effectiveness
+
+//Result:
+printf("The fin effectiveness is : %.2f .",E)
+if E>2 then
+ printf("Hence, the use of the fin is justified.")
+end