Question: Can you please explain how to execute it on the matlab command window please The relative humidity, RH, at sea level can be calculated from

 Can you please explain how to execute it on the matlab

Can you please explain how to execute it on the matlab command window please

The relative humidity, RH, at sea level can be calculated from measured values of the dry-bulb temperature, T_db, and the wet-bulb temperature, T_wb, by: RH = VP/SP times 100 where VP is the vapor pressure given by: Vp = e^16.78 T_wb - 116.9/T_wb + 237.3 - 0.066858(1 + 0.00115T_wb)(T_db - T_wb) and SVP is the saturated vapor pressure given by: SVP = e^16.78 T_wb - 116.9/T_wb + 237.3 (temperatures in degrees Celsius). Write a user-defined function for calculating RH for given T_db and T_wb. For the function name and arguments, use RH = RelHum(Tdb, Twb). The input arguments Tdb and Twb are the dry-bulb and wet-bulb temperatures, respectively in degree F. The output argument RH is the relative humidity in percent (rounded to the nearest integer). Another function to convert the temperature entered from Fahrenheit to Celsius must be written and called by the main function RelHum. For the function name and arguments of the temperature unit conversion, use TC = TF to C (TF). Use the function to determine the relative humidity for the following conditions: a. T_db = 75 degree F and T_wb = 69 degree F b. T_db = 93 degree F and T_wb = 90 degree F The relative humidity, RH, at sea level can be calculated from measured values of the dry-bulb temperature, T_db, and the wet-bulb temperature, T_wb, by: RH = VP/SP times 100 where VP is the vapor pressure given by: Vp = e^16.78 T_wb - 116.9/T_wb + 237.3 - 0.066858(1 + 0.00115T_wb)(T_db - T_wb) and SVP is the saturated vapor pressure given by: SVP = e^16.78 T_wb - 116.9/T_wb + 237.3 (temperatures in degrees Celsius). Write a user-defined function for calculating RH for given T_db and T_wb. For the function name and arguments, use RH = RelHum(Tdb, Twb). The input arguments Tdb and Twb are the dry-bulb and wet-bulb temperatures, respectively in degree F. The output argument RH is the relative humidity in percent (rounded to the nearest integer). Another function to convert the temperature entered from Fahrenheit to Celsius must be written and called by the main function RelHum. For the function name and arguments of the temperature unit conversion, use TC = TF to C (TF). Use the function to determine the relative humidity for the following conditions: a. T_db = 75 degree F and T_wb = 69 degree F b. T_db = 93 degree F and T_wb = 90 degree F

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!