Differentiation as the gradient function

Differentiation as a gradient function

Input the values for x and observe the change in gradient value. What happens when the two points are closer?