結果 : which function calculate the net present value of an investment