Calculate the simple and discounted payback period — how long until your initial investment is recovered from cash inflows.