geniusalexey пишет:
Самая распространенная формула известна, она есть здесь
planetcalc.ru/248/, пример кода от thingspeak в сообщении #21319, с программированием дела не имел, но уже скачал учебник по си.
Пишут, что можно проще, без плавающей точки и логарифмов
Simply put, for every one degree Celsius decrease in the dew point temperature, the relative humidity decreases by 5%, starting at a relative humidity of 100% when the dew point equals the normal air temperature. This holds well for moist air, that is, as long as the relative humidity is above about 50%.
Putting this to use, it's easy to figure out the dew point, and thus the expected comfort level, directly from the relative humidity and the temperature: for instance, if it is 30 °C outside, and the relative humidity is 75%, then the dew point temperature will be about 25 °C.
Отсюда
www.sciencedaily.com/releases/2005/03/050329133131.htm
То есть грубо, считаем, сколько пятипроцентных интервалов между текущей относительной влажностью и 100% и отнимаем столько градусов от температуры - это и будет точка росы.
АБ