comp.lang.ada
 help / color / mirror / Atom feed
From: Keith Thompson <kst@cts.com>
Subject: Re: School Assignment--Can this be simplified?
Date: 2000/08/30
Date: 2000-08-30T00:00:00+00:00	[thread overview]
Message-ID: <yecem36pk7z.fsf@king.cts.com> (raw)
In-Reply-To: 39AD5DBD.972C97CA@brandonsd.mb.ca

N J Chackowsky <chackowsky@brandonsd.mb.ca> writes:
[...]
>    	-- Calculate vapour pressure and saturated vapour pressure
>       vp := float(pow(2.7183, double(-5438.0 / dewk + 21.72)));
>       svp := float(pow(2.7183,double(-5438.0 / tempk + 21.72)));

I think you want Exp(...), not Pow(2.7183, ...).

-- 
Keith Thompson (The_Other_Keith) kst@cts.com  <http://www.ghoti.net/~kst>
San Diego Supercomputer Center           <*>  <http://www.sdsc.edu/~kst>
Welcome to the last year of the 20th century.




  parent reply	other threads:[~2000-08-30  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30  0:00 School Assignment--Can this be simplified? N J Chackowsky
2000-08-30  0:00 ` tmoran
2000-08-30  0:00 ` Keith Thompson [this message]
2000-08-30  0:00 ` Pascal Obry
2000-08-31  0:00 ` Martin Dowie
2000-08-31 11:31   ` Simon Wright
2000-08-31 11:51     ` Martin Dowie
2000-08-31 18:35   ` N J Chackowsky
2000-08-31 19:19     ` N J Chackowsky
2000-08-31 19:33       ` Pascal Obry
2000-08-31 23:03         ` Nick J Chackowsky
2000-09-01  1:02         ` tmoran
2000-09-01  4:14           ` Robert Dewar
2000-09-01 17:51             ` tmoran
2000-09-02  3:12               ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox