home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / snip1292.zip / WINDCHIL.C < prev    next >
C/C++ Source or Header  |  1991-09-23  |  210b  |  8 lines

  1. #include <math.h>
  2.  
  3. float wind_chill(int wind_speed, int temp)
  4. {
  5.       return (((10.45 + (6.686112 * sqrt((double) wind_speed))
  6.             - (.447041 * wind_speed)) / 22.034 * (temp - 91.4)) + 91.4);
  7. }
  8.