summaryrefslogtreecommitdiff
path: root/2510/CH10/EX10.1/Ex10_1.sce
blob: 1360cb293321b2a08e31f4bdfa0f689b2948de11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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