Calculates the present value of a future sum of money, considering a discount rate and the time period.