Slope of secant line

The sliders move the points A and B on the graph of the function. The slope of the line through A and B is calculated.