Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago