10. The relative humidity, RH, at sea level can be calculated from measured values of the dry-bulb...

Question:

10. The relative humidity, RH, at sea level can be calculated from measured values of the dry-bulb temperature, , and the wet-bulb temperature by

(temperatures in degrees Celsius):

where VP is the vapor pressure given by:

and SVP is the saturated vapor pressure given by:

Write a user-defined function for calculating RH for given and . 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 temperatures, 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 temperature from Cesius to Fahrenheit. Use the function to determine the relative humidity for the following conditions:

(a) F, F.

(b) F, F.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: