summaryrefslogtreecommitdiff
path: root/530/CH2/EX2.7/example_2_7.sce
blob: 8c51f856791eec5c796d0c9d44d9fc99dfa6b9cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clear;
clc;

// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 2
// Heat Conduction in Solids

// Example 2.7
// Page 43
printf("Example 2.7, Page 43 \n\n")

H = 5 ; // Height, [m]
L = 10 ; // Length, [m]
t = 1 ; // thickness, [m]
b = t/2;
k = 1.05 ; // [W/m K]
q = 58 ; // [W/m^3]
T = 35 ; // [C]
h = 11.6 ; // Heat transfer coefficient, [W/m^2 K]
// Substituting the values in equation 2.5.6
T_max = T + q*b*(b/(2*k)+1/h);
printf("Maximum Temperature = %f degree C",T_max);