Skip to contents

((x+d)^2 - x^2)/d, cross-checked against the closed form 2x + d, and the limit 2x.

Usage

DiffQuot2(x, delta)

Arguments

x

evaluation point.

delta

step, nonzero.

Value

list(quotient, derivative_limit).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eq (7.31).

Examples

DiffQuot2(3, 0.001)$quotient
#> [1] 6.001