Discounting each period
A cash flow in period t contributes CF(t) / (1 + r)^t, where r is the discount rate per period. The initial investment belongs at period zero, so it retains its full value. Positive and negative flows are added with their signs. The resulting NPV expresses the entire schedule's value at the beginning of the investment period.