In heat transfer, the temperature profile for steady conduction disseminated ver
ID: 2074619 • Letter: I
Question
In heat transfer, the temperature profile for steady conduction disseminated vertically througha solid surface of thickness 3 mm, with constant heat generation (egen) and constant thermal conductivity (k), is governed by: dT -egen If heat generation is 22 MW/m and thermal conductivity is 78 W/m-K, and bottom temperature T(y-0) 380 K, use Euler's method to approximate the temperature profile, T(y), throughout the surface using 100 points. Determine the temperature (in K) of the top surface using your approximate Euler solutionExplanation / Answer
% MATHCAD CODE FOR EULERS METHOD OF APPROXIMATION %
egen=22*10^6;
t0=0;
y0=380;
h=0.00003;
n=100;
for(i=1:n)
m=fun(t0);
y1=y0+h*m;
t1=t0+h;
t0=t1;
y0=y1;
end
function [f]=fun(z)
f=-22*10^6*z/78;
end
fprintf('Temperature of the top surface in K:%d ',y0);
OUTPUT: