The heat flow into or out-of a system, q, can be defined by Equation 1, based on
ID: 3857561 • Letter: T
Question
The heat flow into or out-of a system, q, can be defined by Equation 1, based on the thermal resistance, R, interface area, A, and the temperature difference, (T_1 - T_1), with heat moving from hot to cold. q = A(T_2 - T_1)/R (Equation 1) Your supervisor has asked you to create a MATLAB program to calculate the energy requirements to heat a house which contains a known number and sue of windows, and doors, using the R values listed in Table 1. Table 1. Temperature Resistance, R values, for a Typical Residential Structure To solve the problem, the external temperature, T_ext, in degrees C will be modeled using Equation 2 T_ext = 2 cos(t/10 + 3) + 3 sin(t/4 + 7) + 8 (Equation 2) where t represents the time, in hours. Your program needs to ask a user (as input commands) to enter the total length of wall, the height of the wall, as well as the number, and size of windows and doors. Your individual submission must include: 1. A flowchart to describe the process. 2. Plot T_ext versus time, for values of t between 0 and one month. Use an fprintf command to display the maximum external temperature reached. 3. Write Matlab Code that calculates the energy requirement to heat a house. Test your program with a house that is 50 ft by 50 ft with a nine foot height. This house has 8 windows (all same dimensions) and 2 doors (one main door and one back door) as listedExplanation / Answer
Answer for 2 )
syms t,Text;
Text = 2* cos (t/10*3)+ 3*sin(t/4+7)+8;
fprintf('The naximum external temperature is : %.4f',Text);
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.