home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
SNPD9404.ZIP
/
WINDCHIL.C
< prev
next >
Wrap
Text File
|
1994-04-03
|
477b
|
19 lines
.I 0 7
/*
** Wind Chill for exposed human skin, expressed as a function of wind
** speed in Miles per Hour and temperature in degrees Fahrenheit.
**
** Public domain from numerous published references.
*/
.I 4 8
if (4 > wind_speed)
return (double)temp;
else
{
return (((10.45 + (6.686112 * sqrt((double) wind_speed))
- (.447041 * wind_speed)) / 22.034 * (temp - 91.4)) + 91.4);
}
}
.D 5 3