An equation

matthew

::

19 nov 2006 :: 12:28am

fp = pp*(1+ppct)^(yrs * (9*4*7))
pp = 2
ppct = 1.5
yrs = 1/365

fp=?

Here's the LISP solution:

(setq pp 2)
(setq ppct 1.5)
(setq yrs (float (/ 1 365)))
(setq fp (floor (* pp (expt (+ 1 ppct) (* yrs (* 9 4 7))))))
(print fp)

Crazy, ain't it. Four names, I'm thinking. Three just doesn't seem enough.