Internal rate of return calculation