Replies:
ne way is to iterate:
Make a guess, square it, compare it with the value you're taking
the root of, and refine your guess based on this comparison.
Repeat until you're as close as you need to be, or until your
guess-refining procedure fails to improve the guess.
A more general way is to take advantage of a property of the
logarithm function:
a ln(x) = ln(x^a)
so
x^a = e^(a ln(x))
The advantage of this approach is that you can use it to do all
kinds of roots and raise numbers to non-integral powers. This
is how slide rules took roots.
NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.