Article View: bit.listserv.graph-ti
Article #1966Re: Wind chill formula
From: Edward Bertsch
Date: Thu, 20 Jan 1994 19:03
Date: Thu, 20 Jan 1994 19:03
48 lines
2063 bytes
2063 bytes
>so if we denote the wind-chill index by te (for temp. equiv.), we
>merely need to solve
>
>(a+b*sqrt(v)-c*v)*(s-t)=(a+b*sqrt(4)-4*c)*(s-te)
>
>for te.
>
>have fun, george tintera
my apologies, George. You are absolutely right. I did the
algebra wrong.
here's the result:
sk:/home/alpha/sysop/eab/junk 112 % chill -10 10
The wind chill is -33.41 for a temp of -10.00 and a wind of 10.00 mph.
Here's my c program:
#include <math.h>
#include <stdlib.h>
main(argc,argv)
int argc;
char *argv[];
{
double temp,wind,chill;
if (argc!=3) {
printf("Usage: %s temp wind\n",argv[0]);
exit(-1);
}
temp=atof(argv[1]);
wind=atof(argv[2]);
chill=48.07 + .4741 * temp + 1.855 * wind - .0203 * temp * wind
- 27.74 * sqrt(wind) + .3035 * temp * sqrt(wind);
printf("The wind chill is %.2f for a temp of %.2f and a wind of %.2f mph.\n",chi
ll,temp,wind);
}
Edward A. Bertsch (eab@msc.edu) Minnesota Supercomputer Center, Inc.
Operations/User Services 1200 Washington Avenue South
+1 (612) 337-0200 work Minneapolis, Minnesota 55415
+1 (612) 645-0168 voice mail FAX: +1 (612) 624-6550
Technical Details
Message-ID:
<9401201842.AA19216@wc.msc.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!auvm!msc.edu!eabShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 104512,37ee65f8d5832ff9 X-Google-Attributes: gid104512,public X-Google-ArrivalTime: 1994-01-20 18:19:34 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!auvm!msc.edu!eab Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: bit.listserv.graph-ti Return-Path: <@AUVM.AMERICAN.EDU:graph-ti@LISTS.ACS.OHIO-STATE.EDU> Date: Thu, 20 Jan 1994 14:03:18 -0500 Message-ID: <9401201842.AA19216@wc.msc.edu> Errors-To: gregt@math.ohio-state.edu Reply-To: graph-ti@lists.acs.ohio-state.edu Originator: graph-ti@lists.acs.ohio-state.edu Sender: graph-ti@lists.acs.ohio-state.edu Precedence: bulk From: eab@msc.edu (Edward Bertsch) Subject: Re: Wind chill formula X-Listprocessor-Version: 6.0a -- ListProcessor by Anastasios Kotsikonas X-Comment: Texas Instruments Graphing Calculators Lines: 47