  Calculating Wind Cooling Factor (WCF) or Wind Cooling Index (WCI) in Python

Python Methods and Functions

W ind-chill or W indchill — it is a perceptible decrease in air temperature felt by the body on exposed skin due to the air flow. The effect of wind chilling is to increase the rate of heat loss and to reduce the temperature of any warm object to ambient temperature more quickly.
Here is a standard formula that was adopted in 2001 by Canada, the United Kingdom and the United States to calculate and analyze the Wind Chill Index:

T wc (WCI) = 13.12 + 0.6215T a - 11.37v +0.16 + 0.3965T a v +0.16
where

T wc = Wind Chill Index (Based on Celsius temperature scale)
T a = Air Temperature (in degree Celsius)
v = Wind Speed ​​(in miles per hour)

Examples:

Input : Air Temperature = 28 Wind Speed ​​= 80  Output : 30 Calculation done using the above formula: WCI = 13.12 + 0.6215 * (28) - 11.37 * (80) ** 0.16 + 0.3965 * 28 * 80 ** 0.16
Input : Air Temperature = 42 Wind Speed ​​= 150  Output : 51 Calculation done using the above formula: WCI = 13.12 + 0.6215 * (42) - 11.37 * (150) * * 0.16 + 0.3965 * 42 * 150 ** 0.16

Output:

The Wind Chill Index is 51

This article is courtesy of Chinmoy Lenka . If you are as Python.Engineering and would like to contribute, you can also write an article using contribute.python.engineering or by posting an article contribute @ python.engineering. See my article appearing on the Python.Engineering homepage and help other geeks.