Re: applescript-users digest, Vol 3 #199 - 6 msgs
Re: applescript-users digest, Vol 3 #199 - 6 msgs
- Subject: Re: applescript-users digest, Vol 3 #199 - 6 msgs
- From: "John S. Baltutis" <email@hidden>
- Date: Fri, 1 Mar 2002 18:08:57 -0800
The 0.16 is a power function. Check out the essential subroutines in
the AppleScript Guidebook. There you'll find raising numbers to
powers is, for example, "number x raised to a power a" written as
"(x^a)" where ^ is the caret (shift 6) keystroke. For your example:
third term is 35.75*(V^0.16).
HTH
Rob Jorgensen recently wrote:
1 Mar 2002 00:06:43 -0500
To: AppleScript Users List <email@hidden>
From: Rob Jorgensen <email@hidden>
Subject: Mathematical Expressions for Wind Chill Script
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.
Thanks for any help you might offer.
--
Rob Jorgensen
Ohio, USA
_______________________________________________
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.