simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

nthRoot.js (403B)


      1 export var nthRootDocs = {
      2   name: 'nthRoot',
      3   category: 'Arithmetic',
      4   syntax: ['nthRoot(a)', 'nthRoot(a, root)'],
      5   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".',
      6   examples: ['4 ^ 3', 'nthRoot(64, 3)', 'nthRoot(9, 2)', 'sqrt(9)'],
      7   seealso: ['nthRoots', 'pow', 'sqrt']
      8 };