Function Math.nRoot
Compute the nth root of x
-
Syntax
Number Math.nRoot(Number x , Number n )
This function will calculate the nth root of x. -
Parameters
Number x- The number to take the root of
Number n- The root you wish to find
- Return value A new number computed as the nth root of x
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
