WRITE A MATLAB CODE TO SOLVE THE FOLLOWING PROBLEM Solve the problem with THE SE
ID: 3111237 • Letter: W
Question
WRITE A MATLAB CODE TO SOLVE THE FOLLOWING PROBLEM
Solve the problem with
THE SECANT METHOD
Suggestions:
1- Use interpolation code
2- Modify the code
3- 6 iterations are needed
in a pin fin. Solving a second-order UDE Example 11-1: Temperuture distrlibution (BVP) using the shooting method. A pin fin is a slender extension attached to a surface in order to increase the surface area and enable greater heat transfer. When con- vection and radiation are included in the analysis, the steady-state temperature distribution, T(x), along a pin fin can be calculated from the solution of the equation: Ts s)kA TB with the boundary conditions: T(0) T, and T(L)-7, In Eq (11.15), he is the convective heat transfer coefficient, P is the perimeter bounding the cross section of the fin, is the radiative emissivity of the surface of the fin, k is the thermal conductivity of the fin m aterial, A, is the cross-sectional area of the fin, Ts is the temperature of the surrounding air, and s,-5.67 × 10-8 W/m2K4) is the Stefan-Boltzmann constant. Determine the temperature distribution if L= 0.1 m, T(0) = 473 K, T(0.1 ) = 293 K, and T,-293 K. Use the following values for the parameters in Eq. (): 40 Wim/K, P 0.016 m, -0.4 , k 240 W/m/K, and Ac = 1.6 × 10-5 m2.Explanation / Answer
Solution :-
Close all
Clear all
Theta = dsolve('D2THETA-5.67x10^-8*THETA= 0','THETA(0)=40,DTHETA(0.25)=0.016','x');
pretty(THETA)
ezplot(THETA, [0,0.25])
hold on
THETA1= ('D2THETA-5.67x10^-8*THETA= 0.1','THETA(0)=1.6x10^-5,DTHETA(0.25)=0','x');
pretty(THETA)
ezplot(THETA, [0,0.25])
hold on
grid on
drag on
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.