Question: Plese solve using matlab Q2. The relative humidity, RH, at sea level can be calculated from measured val- ues of the dry-bulb temperature, T and
Plese solve using matlab

Q2. The relative humidity, RH, at sea level can be calculated from measured val- ues of the dry-bulb temperature, T and the wet-bulb temperature Twb by (temperatures in degrees Celsius) TP ST P RH- 100 where VP is the vapor pressure given by: 16.78Twb-116.9 -eTwb+237.3-0.066858( 1 + 0.00 1 15T,vb)(T,1b-T,vb) and VP is the saturated vapor pressure given by: 6 787 1-1169 SVP e Tdb+237.3 Write a user-defined function for calculating RH for given T and Twb. For the function name and arguments, use RH -RelHum (Tdb, Twb). The input arguments are Tdb and Twb are the dry-bulb and wet-buld tempera- tures, respectively in F. The output argument RH is the relative humidity in percent (rounded to the nearest integer). Inside the user-defined function use a subfunction, or an anonymous function to convert the unit of the tem perature from Celsius to Fahrenheit. Use the function to determine the rela- tive humidity for the following conditions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
