TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: JASEN BETTS
from: DAVID WILLIAMS
date: 2004-08-29 18:55:00
subject: windchill

Here's what Pat wrote at the start of this thread: 
  
-> Case "M"    'metric 
 
->  T = Val(txtTemp.Text) 
->  V = Val(txtSpeed.Text) 
 
-> W = 13.13 + 0.62 * T - 13.95 * V ^ 0.16 + 0.486 * T + V ^ 0.16 
 
->   If W > T Then W = T 
 
->   txtChill.Text = Format$(W, "00.00") + " degs C" 
 
-> Case "E"     'english 
 
->  T = Val(txtTemp.Text) 
->  V = Val(txtSpeed.Text) 
 
 
-> W = 35.74 + 0.6215 * T - 35.75 * V ^ 0.16 + 0.4275 * T * V ^ 0.16 
 
->   If W > T Then W = T 
 
 
->   txtChill.Text = Format$(W, "00.00") + " degs F" 
  
If you look at the two equations for W, you'll see that they are both 
of the same *form*. Just the coefficients are changed, to take account 
of the difference between metric and (what the Yanks are pleased to 
call) "English" units. But there is one exception. Near the end of the 
formula, there's a "+" sign in the metric equation, but a
"*" sign in 
the same position in the English equation. 
  
I've seen these kinds of equations before. I am sure that Pat's English 
one is correct, and he made a typo in the metric one. That "+" *should 
have been* a "*". 
  
So I corrected this typo, than rearranged the equation so that the 
exponentiation is done only once. 
  
Sergei, on the other hand, rearranged Pat's erroneous version, and came 
up with an equation that is mathematically equivalent to it. You have 
simplified his equation further. 
  
My equation is, I am sure, correct. Pat's would have been correct if he 
hadn't made the typo. Sergei's and yours are essentially meaningless. 
  
Sergei is Russian. Maybe he hasn't come across the abbreviation "typo" 
before. (Sergei: It's short for "typographical error". Basically, it's 
a mistake that has been made while using a typewriter-type keyboard.) 
But I'm surprised that you haven't come across it in New Zealand! 
  
                        dow 
--- Platinum Xpress/Win/WINServer v3.0pr5
* Origin: The Bayman BBS,Toronto, (416)698-6573 - 1:250/514 (1:250/514)
SEEN-BY: 633/267 270
@PATH: 250/514 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.