The n-th root formula

Description

Find the n-th root of real numbers

Usage

1
nthroot(a, n, tol = 1/1000)

Arguments

a

a positive real number

n

n

tol

the permitted error tolerance

Details

The nthroot function finds the nth root of a via an iterative process.

Value

the root

See Also

Other algebra: bilinear, cubicspline, division, fibonacci, horner, isPrime, linterp, polyinterp, pwiselinterp, quadratic

Examples

1
2
3
nthroot(100, 2)
nthroot(65536, 4)
nthroot(1000, 3)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.