From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,291a053a531b5b8f,start X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Ada routine to compute Internal Rate Of Return Date: 1998/12/09 Message-ID: <366EC73C.1BF26A8E@pwfl.com>#1/1 X-Deja-AN: 420518528 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: diespammer@pwfl.com Newsgroups: comp.lang.ada Date: 1998-12-09T00:00:00+00:00 List-Id: Does anybody have an Ada function to compute Internal Rate of Return (IRR)? I've got a Net Present Value (NPV) function that takes an array of cash flows & and interest rate. I could build something that tries to converge this on zero, which would result in IRR, but I'm not sure about developing an algorithm that will converge quickly. If someone has solved this problem in Ada, I'd appreciate seeing some source code. Thanks. MDC -- Marin David Condic Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 Ph: 561.796.8997 Fx: 561.796.4669 "Transported to a surreal landscape, a young girl kills the first woman she meets and then teams up with three complete strangers to kill again." -- TV listing for the Wizard of Oz