how to find discount rate