Quoting Scott Touchton : > How about just using a look up table? This might be a stupid question, but what exactly is a lookup table. Recently, I have been reading a lot of posts dealing with lookup tables. Is it just a table basically stored in RAM/EEPROM that can be used to obtain a value from a calculation instead of coding math routines? At the expense of code space of course... Correct me if I'm wrong please. Jai > ----- Original Message ----- > > > I wonder if any one has come across a quick and dirty way of > > calculating dew point. > > > > > > logEx = 0.66077+(7.5 * t_C) / (237.3 + t_C) + (log (RH) -2) > > > > DewPoint = (logEx - 0.66077) * 237.3 / (0.66077 + 7.5 - logEx) > > > > Where t_C = temperature in celsius > > RH = true relative humidity > > > > > > Colin > > > > > > > > > > -- > > cdb, cdb@barnard.name on 31/03/2002 > > > > -- > > http://www.piclist.com hint: To leave the PICList > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > ---------------------------------------- This mail sent through www.mywaterloo.ca -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu