Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

SOLVE USING MATLAB ONLY, PROVIDE ANSWER AS MATLAB CODE SOLVE USING MATLAB ONLY,

ID: 701609 • Letter: S

Question

SOLVE USING MATLAB ONLY, PROVIDE ANSWER AS MATLAB CODE

SOLVE USING MATLAB ONLY, PROVIDE ANSWER AS MATLAB CODE

SOLVE USING MATLAB ONLY, PROVIDE ANSWER AS MATLAB CODE

SOLVE USING MATLAB ONLY, PROVIDE ANSWER AS MATLAB CODE

In a certain application involving parallel airflow over a flat plate of length 2 m (L), the spatial variation of temperatures measured in the boundary layer is accurately correlated by the following expression: T 30+47exp -500 where x is the distance parallel to the plate measured from the leading edge [in m] and y is the distance normal to the plate measured from the plate surface [in m] a. Estimate the free stream air temperature (I), i.e., at large y, and the surface temperature (T;) b, what is the local heat flux at x = 1 m (assume thermal con- ductivity k 0.03 W/(mK))? What is the average heat flux from this surface? c. The local heat flux is given bv: 01 oy The average heat flux is given by where h is the average convection heat transfer coefficient ob- tained from oy 0 0

Explanation / Answer

Please refer to the following MATLAB code,

syms x y;
T = 30+47*exp((-500*y)/sqrt(x)); % T [=] C, x [=] m, y [=] m
T_inf = subs(T,{x,y},{1,Inf}); % x arbitrarily taken 1 to avoid division by 0 complications
fprintf("The free stream air temperature is %d%cC ",T_inf,char(176));
T_s = subs(T,{x,y},{1,0}); % x arbitrarily taken 1 to avoid division by 0 complications
fprintf("The surface temperature is %d%cC ",T_s,char(176));
dT_dy = diff(T,y);
k = 0.03; % k [=] W/(m.K)
qdot_x = -k*(subs(dT_dy,{x,y},{1,0}));
fprintf("The local heat flux at x = 1m is %d W/m^2 ",qdot_x);
h_x = (-k*(subs(dT_dy,y,0)))/(T_s-T_inf);
L = 2; % L [=] m
hbar = (1/L)*(int(h_x,x,0,L));
qdot_av = hbar*(T_s-T_inf);
fprintf("The average heat flux from the surface is %.2f W/m^2 ",qdot_av);