Problem:
Approximate the function

f(x) = xn

by the tangent line at x = a for various values of a and n. For a collection of numbers near a, compare the values given by f and the estimates given by the linear approximation.


Visualization:
Enter a value for n:

Enter a value for a:

Enter a number x for which you want to estimate f(x):