maleger
04-10-2003, 09:28 AM
I'm using the rtsafe algorithm to calculate a financial Internal Return Rate but I don't get the exact same return as an other function, so my problem must be in my Derivation function "funcd"
I'm doing f' (x) = f (x+dx) - f(x) / dx
where dx is the precision, f(x) is the sommation of all my cashflow in time.
With my Newton-Raphson function I get -0.100644 and with an XIRR function in Excel I get -0.100791
Can someone help me, Please :)
Can someone give me a good funcd function ?
Marc-Andre
I'm doing f' (x) = f (x+dx) - f(x) / dx
where dx is the precision, f(x) is the sommation of all my cashflow in time.
With my Newton-Raphson function I get -0.100644 and with an XIRR function in Excel I get -0.100791
Can someone help me, Please :)
Can someone give me a good funcd function ?
Marc-Andre