Approximating instantaneous rate of change