Function reference · Math
cbrt
Returns the cube root of an expression.
The result stays as cbrt(...), so no approximation or choice of root is made. Call evaluate for a number: a negative real number gets its real cube root, and a complex number its principal cube root.
Notation
cbrt(x)
Write it in an expression: nerdamer('cbrt(8)'), or in the Playground.
nerdamer.cbrt
nerdamer.cbrt(x: ExpressionInput): Expression
A method on the default import. Arguments can be strings, as in Notation.
Examples
The real cube root of a negative number; compare nthroot.
evaluate(cbrt(-27))
// → -3Open in Playground