Nerdamer
Documentation Playground Showcase GitHub
DocumentationPlaygroundShowcaseGitHub
OverviewGetting startedChoosing how to use NerdamerMigrating from Nerdamer 1.xx
Expression syntaxFunction reference
Overview & referenceScripting examplesUser-defined functions
API overviewnerdamer APISettings & configurationText output & public helpersAPI examples
ArchitectureExpression modelParser internalsCodebase mapInternals inspectorHow to developCode conventions
Documentation moved.

This entry is now part of the unified function reference. Open the unified page →

API/nerdamer API
Function

nerdamer.nthroot

src/index.ts:776
nerdamer.nthroot(x: ExpressionInput, n: ExpressionInput): Expression

Computes the nth root of an expression as its principal power.

Parameters

NameTypeDescription
xExpressionInputThe expression whose root is requested.
nExpressionInputThe root degree.

Returns

Expression — `x^(1/n)`.

Nerdamer

Symbolic mathematics for JavaScript and TypeScript.

DocumentationNerdamer NotationNerdamer Scriptingnerdamer APIJavaScript / TypeScript API
ProjectPlaygroundInternalsGitHub
Copyright © 2013–2026 Martin Donk · Licensed under the Apache License 2.0