Calculate payback period for investments with even or uneven cash flows. Includes discounted payback period with cumulative cash flow analysis.