26.03.2019, 10:33
Dew point calculation:
Code:
hum = 60 -- 0..100% range
temp = 10 -- temperature in deg C
dew = ((hum / 100) ^ (1 / 8)) * (112 + (0.9 * temp)) + 0.1 * temp - 112
log(dew)