• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mathematical Expressions for Wind Chill Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mathematical Expressions for Wind Chill Script


  • Subject: Re: Mathematical Expressions for Wind Chill Script
  • From: David Lloyd <email@hidden>
  • Date: Fri, 01 Mar 2002 17:43:40 +1100

Hello Rob,

> I'd like to make a simple script which calculates wind chill, but I'm
> not strong in math terminology and such. For instance, the (V 0.16)
> in following formula is greek to me, and is not expressed correctly
> in this message.
>
> Wind Chill F = 35.74 + 0.6215T - 35.75(V 0.16) + 0.4275T(V 0.16)
> V = Wind Speed (MPH) T = Temperature (degrees F)
> To see what I mean, look at:
> <http://www.srh.noaa.gov/ftproot/ssd/images/windchill_new.gif>
> Is it even possible to use AppleScript to perform this calculation?
> If so, I'd appreciate an example of the proper mathematical syntax
> for the (V 0.16) part.

It appears that V= velocity, and V 0.16 represents the wind velocity
(or speed) to the power of 0.16.

So if for example the wind speed (V) = 50 mph,
and the temperature (T) = -10 degrees then:

Wind Chill F = 35.74 + 0.6215 * -10 - 35.75(50 ^ 0.16)
+ 0.4275* -10 (50 ^ 0.16)

(the ' ^ ' character here is shift-6)

-----

so then as a script routine:

where V = Wind Speed (MPH) and T = Temperature (degrees F)

on getWindChillFactor(V, T)
35.74 + (0.6215 * T) - 35.75 * (V ^ 0.16) + 0.4275 * T * (V ^ 0.16)
end getWindChillFactor

which = -45.32064601873.

----

And this does indeed corresspond with the table Rob pointed us at:
http://www.srh.noaa.gov/ftproot/ssd/images/windchill_new.gif

-----

Did you have a good holiday in Canada Rob? :)

Best regards,

David Lloyd

---------------------------------
email: email@hidden
web: http://www.kanzu.com
---------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Mathematical Expressions for Wind Chill Script
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: Mathematical Expressions for Wind Chill Script
  • Next by Date: Wind Chill
  • Previous by thread: Re: Mathematical Expressions for Wind Chill Script
  • Next by thread: Re: Mathematical Expressions for Wind Chill Script
  • Index(es):
    • Date
    • Thread