summaryrefslogtreecommitdiff
path: root/965/CH2/EX2.28/28.sci
blob: 6e6100f18a7df4fc8095c8e10c3c28291549f8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear all;
disp("Heat transfer flux")
L=0.2;//m
t1=1350;// degree C
tcf=40;// degree C
k=1.35;// W/(m*C)
//q=(t1-t2)/(L/k)=(t2-tcf)/(1/h)
//(1350-t2)/(0.2/1.35)=(t2-40)*(7.85+0.08*(t2-40))
//t2^2+102.5*t2-116231=0
t2=(-102.5+(102.5^2+4*116231)^0.5)/2;
q=(t1-t2)/(L/k);
disp("W/m^2",q,"rate of heat transfer = ")