Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do in matlab only. Thank you The relative humidity, RH, at sea level can be calculated from measured values of the dry-bulb temperature, T_db,

Please do in matlab only. Thank you image text in transcribed
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_db - 116.9/T_db + 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 = TFtoC (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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions