Differentiation Self Discovery

Change the position of the tangent to the curve using the right and left arrow keys. Record the Gradient at the different values of x. What is the Function that describes the gradient at any point of the curve?

Alter the value of 'n' to repeat this investigation with differeing powers of x. What connects the Original fuinction and the Gradient function?