Created
October 4, 2017 19:03
-
-
Save Hexagon/7a987d7c00331afe055531ebc0fea1e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function relativeToAbsoluteHumidity(celsius,rh) { | |
var ah = 4.7815706 | |
+0.34597292*celsius | |
+0.0099365776*Math.pow(celsius,2) | |
+0.00015612096*Math.pow(celsius,3) | |
+0.0000019830825*Math.pow(celsius,4) | |
+0.000000015773396*Math.pow(celsius,5); | |
return ah * rh / 100; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment