blob: 66232cc7838f1151e7a754d19561b1b78898b6d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Variable declaration:
//From example 17.10:
Qf = 64 //Fin heat transfer rate (W)
Q1 = 1.48 //Total heat transfer rate without the fin (W)
//Calculation:
E = Qf/Q1 //Fin effectiveness
//Result:
printf("The fin effectiveness is : %.1f",E)
if E>2 then
printf("Hence, the use of the fin is justified.")
end
|