def vapor_pressure(T, RH):
    """Vapor pressure at temperature T (Kelvin) relative humidity RH (%)."""
    exponent = 7.5*(T - 273.15) / (237.3 + (T - 273.15))
    return RH/100 * 6.11 * 10**exponent