Find the n-th root of real numbers
nthroot(a, n, tol = 1/1000)| a | a positive real number |
|---|---|
| n | n |
| tol | the permitted error tolerance |
the root
The nthroot function finds the nth root of a via
an iterative process.
Other algebra:
bilinear(),
cubicspline(),
division,
fibonacci(),
horner(),
isPrime(),
linterp(),
polyinterp(),
pwiselinterp(),
quadratic()
nthroot(100, 2)
#> [1] 10
nthroot(65536, 4)
#> [1] 16
nthroot(1000, 3)
#> [1] 10