![]() |
VOOZH | about |
Wind Chill Factor (WCF) or Wind Chill Index (WCI) is a meteorological concept that quantifies the cooling effect of the wind on the perceived temperature. It represents the apparent temperature felt by the human body when exposed to both cold temperatures and wind. In essence, the Wind Chill Factor takes into account not only the actual air temperature but also the impact of wind speed on the rate of heat loss from the body.
Examples:
Input: temperature=50, windSpeed=100
Output: 62
Explanation: 13.12 + 0.6215 * (50) - 11.37 * (100)^0.16 + 0.3965 * (50) *(100)^0.16Input: temperature=25, windSpeed=120
Output: 26
Explanation: 13.12 + 0.6215 * (25) - 11.37 * (120)^0.16 + 0.3965 * (25) *(120)^0.16
Formula:
WCI = 13.12 + 0.6215 * (temperature) - 11.37 * (windSpeed)^0.16 + 0.3965 * (temperature) *(windSpeed)^0.16
Step-by-step algorithm:
Below is the implementation of the approach:
The Wind Chill Index is 62
Time Complexity: O(1)
Auxiliary Space: O(1)
Related Article:Calculating Wind Chill Factor(WCF) or Wind Chill Index(WCI) in Python