Problem:
Use Newton's method to find a root of the function
f(x) = x
n
- a
for various values of
n
and
a
.
Visualization:
Enter a positive integer value for
n
:
Enter a positive value for
a
:
Enter an estimate of the root: