Template:Heat index

{{documentation|content=

Heat index - Calculated by temperature & relative humidity

Purpose
The Template:Heat_index calculates the heat index, for a specified temperature and relative humidity (parameters 1 & 2), using a formula from the U.S. National Weather Service (NWS).

Science
Formula from U.S. National Weather Service (NWS): HI = 16.923 + 1.85212·10-1·T + 5.37941·RH - 1.00254·10-1·T·RH + 9.41695·10-3·T^2 + 7.28898·10-3·RH^2 + 3.45372·10-4·T^2·RH - 8.14971·10-4·T·RH^2 + 1.02102·10-5·T^2·RH^2 - 3.8646·10-5·T^3 + 2.91583·10-5·RH^3 + 1.42721·10-6·T^3·RH + 1.97483·10-7·T·RH^3 - 2.18429·10-8·T^3·RH^2 + 8.43296·10-10·T^2·RH^3 - 4.81975·10-11·T^3·RH^3 where "HI" is 'heat index', "RH" is 'relative humidity', "T" is 'temperature'

Parameters
The mandatory parameters are:
 * 1 &mdash; the air temperature in degrees Fahrenheit
 * 2 &mdash; the relative humidity as a percentage

The optional parameters are:
 * r=2 (round=2) &mdash; to show 2 decimal places
 * disp=out &mdash; to show only the output number

Examples
The following are some typical examples:
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;