summaryrefslogtreecommitdiff
path: root/2510/CH17/EX17.18/Ex17_18.sce
blob: d87459d371ee2ee2d3a0508dd790c2d0a75ddee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Variable declaration:
//From example 17.18:
T = 250                         //Base temperature of fin ( F)
h = 15                          //Convection coefficient of heat transfer (Btu/h.ft. F)
w = 1                           //Base width of fin (ft)
t = 1                           //Thickness of fin (in)
H = 1/8                         //Height of fin (in)
l = 1                           //Length of fin (in)
Q = 357.2                       //Heat transfer rate (Btu/h.ft)

//Calculation:
A = (l*w+t*w+H*w)/12            //Heat transfer area of fin (ft^2)
Qm = h*A*(T-70)                 //Maximum heat transfer rate (Btu/h.ft)
n = Q/Qm*100                    //Fin efficiency

//Result:
printf("The fin efficiency is : %.1f %%",n)