MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / humidex

Function humidex

libraries/Temperature/temperature.cpp:69–74  ·  view source on GitHub ↗

https://en.wikipedia.org/wiki/Humidex

Source from the content-addressed store, hash-verified

67
68// https://en.wikipedia.org/wiki/Humidex
69float humidex(float celsius, float dewPoint)
70{
71 float e = 19.833625 - 5417.753 /(273.16 + dewPoint);
72 float h = celsius + 3.3941 * exp(e) - 5.555;
73 return h;
74}
75
76
77// 0.3.0 => https://www.wpc.ncep.noaa.gov/html/heatindex_equation.shtml

Callers 1

unittestFunction · 0.85

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.68