pub fn pv_prime2_r(rate: Decimal, n: Decimal, cash_flow: Decimal) -> Decimal
Expand description

PV’’(r) - Second derivative of the present value of a cash flow with respect to the rate.

§Arguments

  • rate - The interest rate per period
  • n - The nth period
  • cash_flow - The cash flow at period n

§Returns

  • The second derivative of the present value (PV) with respect to the rate