summaryrefslogtreecommitdiff
path: root/2510/CH17/EX17.3/Ex17_3.sce
blob: 9556ddecd0de3fba5cdda28c293ef26d3b1bda23 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Variable declaration:
rf = 6.0/12.0               //Outside radius of fin (ft)
ro = 4.0/12.0               //Outside radius of %pipe (ft)
t = 0.1/12.0                //Thickness of fin (ft)

//Calculation:
Af = 2*%pi*(rf**2-ro**2)     //Face area of fin (ft^2)
At = Af + 2*%pi*rf*t         //Total area of fin (ft^2)

//Result:
printf("The total fin area is : %.3f ft^2 .",At)