Problem 56343. Partial Pressure of Water Vapor from Relative Humidity
Buck (1996, 1981) published the following constants for the saturation pressure of water*:
- 6.1121 (mb)
The saturation pressure, , in millibars, can be found the Atmospheric Temperature, T, given in Celcius:
The vapor pressure of water (partial pressure of water), , in millibars, can be found from the Relative Humidity, , as a percentage value, and the saturation pressure, , in millibars, using:
Write a function to calculate the vapor pressure of water given temperature in Celcius and Relative Humidity as a percentage value. The dimensions of input values (either both scalar or both vector) should be the same. If they are not, return a value of -1.
* Note: For humidifiers and other devices that make conversions, use the vendor contants.
According to (https://www.engineeringtoolbox.com/relative-humidity-air-d_687.html) Relative humidity (RH) should be within certain limits for control of the health aspect.
- Bacteri : 20 - 70% RH
- Viruses : 40 - 80% RH
- Fungi : 0 - 70% RH
- Mites : 0 - 60% RH
- Respiratory infections : 40 - 50% RH
- Allergic Rhinitis and Asthma : 40 - 60% RH
- Chemical interactions : 0 - 40% RH
- Ozone production : 75 - 100% RH
- Combined Health Conditions : 40 - 60% RH
Buck, A. L. (1981), "New equations for computing vapor pressure and enhancement factor", J. Appl. Meteorol., 20: 1527–1532
Buck (1996), Buck Research CR-1A User's Manual, Appendix 1.
Solution Stats
Problem Comments
-
1 Comment
Armando Longobardi
on 18 Oct 2022
Typo: 'Celcius'-->'Celsius'
Solution Comments
Show commentsProblem Recent Solvers107
Suggested Problems
-
4247 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1099 Solvers
-
Back to basics 11 - Max Integer
785 Solvers
-
571 Solvers
-
Check that number is whole number
4322 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!