Tangent Line to Function
As you move the points closer together, the resulting line will move closer and closer to being a tangent line until, when the two points coincide, the line will be the tangent line.
Change f(x) to try different functions.