ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   RATE - what is the internal function? (https://www.excelbanter.com/excel-worksheet-functions/146239-rate-what-internal-function.html)

RDph

RATE - what is the internal function?
 
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

RATE - what is the internal function?
 
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.



"RDph" wrote:

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[_2_]

RATE - what is the internal function?
 
RDph 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.



All times are GMT +1. The time now is 07:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com