The dew point temperature Tdand the relative humidity RH can be calculated (approximately) from the dry-bulb T and wet-bulb Twtemperatures by (http//www.wikipedia.org):
e = ew− Psta(T − Tw)0.00066(1 + 0.00115Tw)
where the temperatures are in degrees Celsius, RH is in %, and pstais the barometric pressure in units of millibars.
Write a user-defined MATLAB
Use the user-defined function DewptRhum for calculating the dew point temperature and relative humidity for the following cases:
(a) T = 78 °F, Tw= 66 °F, psta= 29.09 inHg
(b) T= 97 °F, Tw= 88 °F, psta= 30.12 mbar
Want to see the full answer?
Check out a sample textbook solutionChapter 7 Solutions
MATLAB: An Introduction with Applications
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageAlgebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellCalculus For The Life SciencesCalculusISBN:9780321964038Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.Publisher:Pearson Addison Wesley,