MathTop

root 函数

返回表达式的主 n 次根。

语法

  • root(expr, n)

参数与选项

expr要变换或求值的表达式。
n根指数。

示例

  1. 立方根root(8, 3)返回 2。
  2. 符号主根root(x, 3)返回 x^(1/3)。