Example
Input temperature: -25
Input wind speed: 30
Output wind chill index: -39.09
If you go outside when it's cold (below 5°C) and windy, you probably noticed that it feels colder than what the temperature says it is. This is because cold air is passing around your body, lowering your body's temperature and making you feel colder. The wind chill index $T_{wc}$ quantifies the apparent temperature you feel using the formula $$ T_{wc} = 13.12 + 0.6215T_a - 11.37v^{0.16} + 0.3965T_av^{0.16} $$ where $T_a$ is the temperature of the air and the $v$ is the wind speed.
Input: The air temperature $T_a$ in Celcius (°C) and the wind speed $v$ in kilometers per hour.
Output: The wind chill factor $T_{wc}$.
Difficulty | Timesink | ||
---|---|---|---|
Function | wind_chill(T_a, v) |
You must be logged in to view your submissions.
Let us know what you think about this problem! Was it too hard? Difficult to understand? Also feel free to discuss the problem, ask questions, and post cool stuff on Discourse. You should be able see a discussion thread below. Would be nice if you don't post solutions in there but if you do then please organize and document your code well so others can learn from it.