Question

SOLVE WITH MATLAB

We would like to find the temperature of the glass for the wall shown in the image. From heat transfer theory we know that I

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSWER

GIVEN THAT

Create the following function and save it by file name, "Temp_g.m"

%-------------------------------- Code begins------------------------

function T_g_new = Temp_g(T_g)

T_inf = 38;
g = 9.81;
v = 1.562*10^(-5);
k_air = 0.0255;
A = 3*4;
Q_dot = -700;
L = 3;

T_f = (T_g+T_inf)/2;

Pr = 0.65+0.1*sin(T_f-100);

T_f = T_f + 273; % Change in Kelvins
beta = 1/T_f;

Ra = abs(g*beta*(T_g-T_inf)*L^3*Pr/v^2);
h = 0.59*k_air*Ra^0.25/L;

% Q_dot = hA(T_g-T_inf)
% Rearrange the equation to calculate T_g
% and name it T_g_new
T_g_new = T_inf + Q_dot/(h*A);

%------------------------Code Ends---------------------------------

Now, use the following recursive code to determine the Temperature, T_g

Use any initial guess value for T_g. I have taken 18 C. You can try with any other value.

% -----------------------Code starts---------------

T_g = 18;
error = 10; % any initial value just to enter while loop.
while error > 0.001
T_g_new = Temp_g(T_g); % Calculate the new T_g value using the function Temp_g
error = abs(T_g_new-T_g); % Calculate the error
T_g = T_g_new; % Store the new value of T_g for use in next iteration.
end
T_g % Prints the value of T_g in command window

% ------------------------Code Ends----------------------

The following are two code executions with initial guess values of 18 and 25.

T_g = 18; error = 10; while error > 0.001 T_g_new = Temp_g(T_g); error = abs(T_g_new-T_g); T_g = t_g_new; end T_g T_g = 14.77

Please rate the answer if you liked it by clicking on thumbs-Up. Thank-you

Add a comment
Know the answer?
Add Answer to:
SOLVE WITH MATLAB We would like to find the temperature of the glass for the wall...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 5: How would dust and oil on the glass plates affect the results? EXPERIMENT 10 THIN FILM I...

    Question 5: How would dust and oil on the glass plates affect the results? EXPERIMENT 10 THIN FILM INTERFERENCE Light from a monochromatic source is shined downward on two glass plates that are separated at one end by a hair. Light that is reflected from the top and bottom surfaces of the wedge-shaped thin film of air undergoes interference, and a series of dark and light lines are seen. By counting the number of dark or light lines over a...

  • Please show claer solve for ( a,c,d,e ) of this qustion. mm, electrical resistance per unit...

    Please show claer solve for ( a,c,d,e ) of this qustion. mm, electrical resistance per unit length An electrical transmission line (diameter: D=5 r=0.002 Ω/m) carries an electric current (1-100 A), dissipating an electrical power per unit length inr. On a windy day, the line is subjected to air flow (air temperature: T. -10C, air velocity V 50 km/hr) T, 10°C V 50 km/hr T, =? 1 -100 A air elec electrical line We would like to determine the surface...

  • Heat Transfer problem, ch9 Will give instant thumbs up! Problem 14: Also, after going over example...

    Heat Transfer problem, ch9 Will give instant thumbs up! Problem 14: Also, after going over example problem 9-2, determine the heat transfer by natural convection for the hot plate facing down with 0 = 30°. Cooling of a Plate in Different Orientations Consider a 0.6-m x 0.6-m thin square plate in a room at 30°C. One side of the plac is maintained at a temperature of 90°C, while the other side is insulated, as shown in Fig. 9-18. Determine the...

  • Question 6: What percentage error would result from miscounting the bars by one? EXPERIMENT 10 THIN...

    Question 6: What percentage error would result from miscounting the bars by one? EXPERIMENT 10 THIN FILM INTERFERENCE Light from a monochromatic source is shined downward on two glass plates that are separated at one end by a hair. Light that is reflected from the top and bottom surfaces of the wedge-shaped thin film of air undergoes interference, and a series of dark and light lines are seen. By counting the number of dark or light lines over a known...

  • #5 is only I need in which we need to plot it on Matlab and I...

    #5 is only I need in which we need to plot it on Matlab and I don't know how to plot it. Project 1 A Vibration Insulation Problem Passive isolation systems are sometimes used to insulate delicate equipment from unwanted vibrations. For example, in order to insulate electrical monitoring equipment from vibrations present in the floor of an industrial plant, the equipment may be placed on a platform supported by flexible mountings resting on the floor. A simple physical model...

  • please solve 17 for me thanks~~ :) ! temperature f(x) °C, where 5. f(x) = sin 0.1 x 6 f(x) = 4 - 08 |x - 5 7. fix) =x(1...

    please solve 17 for me thanks~~ :) ! temperature f(x) °C, where 5. f(x) = sin 0.1 x 6 f(x) = 4 - 08 |x - 5 7. fix) =x(10 - x) 8 Arbitrarytemperatures at ends. If the ends x = 0 and x= Lof the bar in the text are kept at constant 20. CAS PROJECT. Isotherms. Fim solutions (tempe rature s) in the squa with a 2 satisfying the followin tions. Graph isotherms. (a) u80 sin Tx on...

  • Please answer question 6. thanks 1. A 7 kg lead sphere that has 35 °C temperature...

    Please answer question 6. thanks 1. A 7 kg lead sphere that has 35 °C temperature falls through the air. When the sphere is 15 m above the ground, its speed is 20 m/s. Suppose that when the sphere hits the ground, 75% of its kinetic energy converts to heat that raises its temperature. Specific heat capacity of lead c = 128 J/kg.°C, g=9.8 m/s. A. Setup with a labeled diagram. b. Write down in symbols the energy equation. c....

  • 1. At an outdoor lot, there is a black-colored solar heat collection copper pipe. It is 50 meters...

    Please answer question 2. Quastion 1 answer is already provided in the photos. 1. At an outdoor lot, there is a black-colored solar heat collection copper pipe. It is 50 meters long, 10 cm in inner diameter and 10.2 cm in outer diameter. The pipe is set horizontally. Assume that solar radiation in 1.0 kW/m2 shines on the entire surface of the pipe and convert 90% of the solar energy on the pipe into heat. There is water in 25...

  • some context Problem 3: Use simple kinetic theory of gases discussed in section 1.3.2 as well...

    some context Problem 3: Use simple kinetic theory of gases discussed in section 1.3.2 as well as Fourer's law of condustion to prove: 2 R373 D11 = 3113/202pm Dal We were unable to transcribe this imageof a nes. the xed the led negligible The following assumptions about the structure of the cases are made in order to investigate the statistical rules of the random motion of the molecules: The size of the gas molecules is negligible compared with the distance...

  • Ur thhe spécific for shear, u, and the specific heat of the material. Hence, temperature risc ene...

    ur thhe spécific for shear, u, and the specific heat of the material. Hence, temperature risc ene machining materials with high strengt cates. The temperature rise at the tool-chip interface is, of course, also a fiu cocfficient of friction. Flank wear (see Section 8.3 and Fig. 8.20a) isction of source of heat, caused by rubbing of the tool on the machined surface. those of the workpiece. generated in the shear plane is a functioll UI material. Hence, temperature rise is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT