Looking for TVM formulas
|
04-05-2014, 09:58 PM
(This post was last modified: 04-05-2014 10:22 PM by Dieter.)
Post: #24
|
|||
|
|||
RE: Looking for TVM formulas
(04-04-2014 10:12 PM)Dave Britten Wrote: 3. Five "solve" routines - Three of these are direct solutions (PV, PMT, FV), and the other two prepare... Hm, why do you think that there is no direct solution for n and an iterative approach is required? Consider the basic TVM formula you already posted: PV * (1 + i)n + PMT * ((1 + i)n – 1)) * ((1 / i) + B) + FV = 0 Then (1 + i)n – 1 = –(PV + FV) / (PMT * (1 / i + B) + PV) And thus, using ln1+x for best accuracy: n = ln1+x(–(PV + FV) / (PMT * (1 / i + B) + PV)) / ln1+x(i) Or a bit more formal: \(\large n = ln (1 - \frac{PV + FV}{PV + PMT (\frac{1}{i} + B)}) : ln (1 + i)\) Try the Susan example: (1+i)n – 1 = (–(0 + -333783,35)) / ( 0,01 * (1/3,567351598 E-9 + 0) + 0) = 333783,35 / 2803200 = 0,1190722567 ln1+x(0,1190722567) / ln1+x(3,567351598 E-9) = 31536000 Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)