summaryrefslogtreecommitdiff
path: root/2510/CH10/EX10.1
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH10/EX10.1')
-rwxr-xr-x2510/CH10/EX10.1/Ex10_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2510/CH10/EX10.1/Ex10_1.sce b/2510/CH10/EX10.1/Ex10_1.sce
new file mode 100755
index 000000000..1360cb293
--- /dev/null
+++ b/2510/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,13 @@
+//Variable declaration:
+Gr = 100.0 //Grashof number
+Re = 50.0 //Reynolds number
+
+//Calculation:
+LT = Gr/Re**2 //Measure of influence of convection effect
+
+//Result:
+if (LT<1.0) then
+ printf("The free convection effects can be neglected.")
+elseif (LT>1.0) then
+ printf("The free convection effects can not be neglected.")
+end