The gradient of a curve using a tangent

Move the point P and look at the value of the gradient of the tangent.[br]How is the gradient of the tangent related to the x-coordinate P?[br]Change the graph using the slider and repeat.[br]Try to find a general formula for the gradient of the tangent at a point on the graph [math]y = x^{n}[/math]

Information: The gradient of a curve using a tangent