Temperature (and humidity) measurement: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
<pre>public static double DewPoint(double tempC, double humidity)
{
//return tempC + ((0.13*tempC) + 13.6)*Math.Log(humidity/100.0);
// Davis algorithm
double lnVapor = Math.Log(ActualVapourPressure(tempC, (int) humidity));
return ((243.12 * lnVapor) - 440.1) / (19.43 - lnVapor);
5,838

edits

Navigation menu