nthroot {cmna}R Documentation

The n-th root formula

Description

Find the n-th root of real numbers

Usage

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

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


[Package cmna version 1.0.5 Index]