Need a quick chart or graph for your blog? Try our reStructured Text renderer.
Join Siafoo Now
or
Learn More

# Calculate Wind Chill 0

Updated over 10 years ago (22 Jan 2010 at 01:13 AM)
recent activity

In Brief | Find the wind chill for a given wind speed (in MPH) and temperature (in Fahrenheit) |

Language | C |

# 's

1/*

2** Wind Chill for exposed human skin, expressed as a function of wind

3** speed in Miles per Hour and temperature in degrees Fahrenheit.

4**

5** Public domain from numerous published references.

6*/

7

8#include <math.h>

9

10double wind_chill(int wind_speed, int temp)

11{

12 if (4 > wind_speed)

13 return (double)temp;

14 else

15 {

16 return (((10.45 + (6.686112 * sqrt((double) wind_speed))

17 - (.447041 * wind_speed)) / 22.034 * (temp - 91.4)) + 91.4);

18 }

19}

Find the wind chill for a given wind speed (in MPH) and temperature (in Fahrenheit)

## Comments