comp.lang.ada
 help / color / mirror / Atom feed
From: Marin David Condic <condicma@bogon.pwfl.com>
Subject: Re: Ada routine to compute Internal Rate Of Return
Date: 1998/12/10
Date: 1998-12-10T00:00:00+00:00	[thread overview]
Message-ID: <366FE025.EF3F9EBF@pwfl.com> (raw)
In-Reply-To: 366ef5e9.13971466@news.pacbell.net

Tom Moran wrote:
> 
> Do you have a polynomial zero finder about?
> As for speed, for realistic projects you can probably make a pretty
> good initial guess, and for the real world your coefficients are such
> guesses that it's not worth computing to much accuracy.
> (And NPV is a better indicator than IRR anyway.)

No I do not have a polynomial zero finder. Got one of those lying around
on the workbench somewhere? Probably right next to stud finder if your
workbench is well organized.

Speed is not usually much of a concern for this sort of thing since you
typically only need to calculate it once for a given set of
wild-ass-guesses about future cash flows. However, one wouldn't want to
be grotesque about it either - just on principal if not because of
unknown future uses.

Yes, yes, yes, yes. NPV is a better indicator. But there are a lot of
senior bozos who have gotten used to IRR and want to see that number
too. It can be kind of handy in capital budgeting decisions. And yes,
IRR can be both misleading and misinterpreted, but you kind of have to
spit it out anyway - so I need a routine to do it. I'm also aware that
the precision of a computed IRR far exceeds the precision of the
rectally-extracted numbers on which it is based. But as an exercise in
Computer Science, we could have some fun computing it to the precision
of a Long_Long_Float, couldn't we?

And while I'm out begging for someone to solve my problems for me, how
about a routine to compute Modified Internal Rate Of Return? ;-)

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
***To reply, remove "bogon" from the domain name.***

"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




  reply	other threads:[~1998-12-10  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-09  0:00 Ada routine to compute Internal Rate Of Return Marin David Condic
1998-12-09  0:00 ` Tom Moran
1998-12-10  0:00   ` Marin David Condic [this message]
1998-12-10  0:00     ` Tom Moran
1998-12-10  0:00 ` Michael F Brenner
1998-12-10  0:00   ` Marin David Condic
1998-12-11  0:00   ` dennison
1998-12-12  0:00 ` Al Christians
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox