The n-th root formula

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.