Advertisement
MasWag

tetens.el

May 11th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ;; Tetens's formula
  2. (defun E (T)
  3. (* 6.11
  4. (expt 10
  5. (/ (* T 7.5)
  6. (+ T 237.3)))))
  7.  
  8. (defun invE (e)
  9. (let ((a (/ (log10 (/ e 6.11)) 7.5)))
  10. (/ (* a 237.3) (- 1 a))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement