UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

14 lines (13 loc) 528 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.nthRootDocs = void 0; var nthRootDocs = exports.nthRootDocs = { name: 'nthRoot', category: 'Arithmetic', syntax: ['nthRoot(a)', 'nthRoot(a, root)'], description: 'Calculate the nth root of a value. ' + 'The principal nth root of a positive real number A, ' + 'is the positive real solution of the equation "x^root = A".', examples: ['4 ^ 3', 'nthRoot(64, 3)', 'nthRoot(9, 2)', 'sqrt(9)'], seealso: ['nthRoots', 'pow', 'sqrt'] };