((x+d)^n - x^n)/d beside the derivative n x^(n-1).
Arguments
- x
evaluation point.
- n
power, >= 0.
- delta
step, nonzero.
Value
list(quotient, derivative, abs_error).
References
Morin, D. J. (2016). Probability: For the Enthusiastic
Beginner. Createspace. Eq (7.33).
Examples
DiffQuotN(3, 5, 1e-6)$abs_error
#> [1] 0.0002700637