US
| 158 | |
| 159 | // US |
| 160 | float WindChill_F_mph(const float Fahrenheit, const float milesPerHour, const bool convert) |
| 161 | { |
| 162 | if ((milesPerHour < 3.0) || (Fahrenheit > 50)) return Fahrenheit; |
| 163 | float windSpeed = milesPerHour; |
| 164 | if (convert) windSpeed = pow(milesPerHour, 0.16); |
| 165 | return 35.74 + 0.6125 * Fahrenheit + (0.4275 * Fahrenheit - 35.75) * windSpeed; |
| 166 | } |
| 167 | |
| 168 | |
| 169 | // METRIC - standard wind chill formula for Environment Canada |