Hi
I know the parameters you feed to the RATE function, but does anyone know
what the RATE function does internally - how does it work?
RDph
Duke Carey - 12 Jun 2007 19:11 GMT
Calculates an internal rate of return that converts the payment stream into
the present value. It is an iterative function, meaning it tries successive
guesses until an interest rate works.
From the Help file
Returns the interest rate per period of an annuity. RATE is calculated by
iteration and can have zero or more solutions. If the successive results of
RATE do not converge to within 0.0000001 after 20 iterations, RATE returns
the #NUM! error value.
> Hi
>
> I know the parameters you feed to the RATE function, but does anyone know
> what the RATE function does internally - how does it work?
>
> RDph
Harlan Grove - 12 Jun 2007 23:18 GMT
RDph <R...@discussions.microsoft.com> wrote...
>I know the parameters you feed to the RATE function, but does anyone
>know what the RATE function does internally - how does it work?
It almost certainly uses a Newton-Raphson iterative approach since
it's easy to calculate the necessary derivatives. Every numerical
programming text I've seen covers solving polynomials in one variable
using that algorithm.