Question: You are asked to develop code using Matlab functions to determine the equivalent thermal resistance of an aircraft. You can approximate shape as a long
You are asked to develop code using Matlab functions to determine the equivalent thermal resistance of an aircraft. You can approximate shape as a long cylinder as shown below. The first function reads in the overall fuselage (cylinder) measurements (length, diameter) as well as average air density at cruising speed. It calculates total surface area A_total, and volume V. It then determines mass of air M (density times volume) and returns M and A_total to the base workspace. Use input validation for all inputted values. Formulae for Area and Volume are as follows: Area A_total = 2 pi rl + 2 pi r^2, where r = radius and I = length Volume V = pi r^2l The second function is passed the total area A_total. It reads in number of windows (presumed circular and identical) and radius of windows. Use input validation for all values. It then determines total window area A_window, and fuselage body area A_fuselage and returns both values to base workspace. The third function uses the 2 area values to determine the overall thermal resistance. It asks the user for U-values, one for the fuselage body and other for the airplane windows, and returns Requiv to base workspace. Use input validation as above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
