summaryrefslogtreecommitdiff
path: root/2510/CH17/EX17.14/Ex17_14.sce
blob: aa51305e2acdb5fe034a0b1e531fc6b353fb8d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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