summaryrefslogtreecommitdiff
path: root/914/CH4/EX4.2/ex4_2.sce
blob: 05b9dd0e4068f3b1ec739d8fdd2a9ec6fe585156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
warning('off');
printf("\n\n example4.2 - pg100");
// given
T1=0;  //[degC]
T2=10;  //[degC]
km=17.17;  //[W/m*K]
l=1;  //[m]
r2=1.1875;
r1=1.0335;
deltaT=T1-T2;
// using the formula Qr=-km*((2*pi*l)/ln(r2/r1))*deltaT;
Qr=-km*((2*%pi*l)/log(r2/r1))*deltaT;
printf("\n\n qr=%fW\n the plus sign indicates that the heat flow is radially out from the center",Qr);