summaryrefslogtreecommitdiff
path: root/1304/CH1/EX1.4/1_4.sce
blob: 9c150f08e3659f38a93d2eb6504bcf2f3e1071dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear;
clc;
printf("\t\t\tExample Number 1.4\n\n\n");
// calculating heat flow from plate to the air flowing aboe it 
// solution

Tw =40 ;//[degree celsius] temperature of the plate

Tf =10 ;//[degree celsius] temperature of the air
hm=30;//[W/m^2 degree celcius] mean heat transfer coefficient
A = 2;//[m^2]area of the plate
qm=hm*(Tw-Tf);//[W/m^2] heat flux
Q=(qm*A)/1000;//[kW] Heat flow
printf("The heat flow through the area is %f kW",Q);