Haskell Quiz/Internal Rate of Return

From HaskellWiki
Jump to: navigation, search

The objective of this quiz was to compute the internal rate of return of a business given a list of its yearly cash flow (note: though the quiz doesn't specifically say so, the wikipedia article states that the IRR is found by solving the given equation when the NPV is 0).

The Problem