Roots
Square and non-square roots.
Example
$ sqrt(3 - 2 sqrt(2)) = sqrt(2) - 1 $
$ root(3, x) $

Function
root
ElementElementElement functions can be customized with set
and show
rules.
Element
Element
Element functions can be customized with
set
and show
rules.A general root.
$ root(3, x) $

index
Which root of the radicand to take.
Default value: none
radicand
RequiredRequiredRequired parameters must be specified when calling the function.PositionalPositionalPositional parameters can be set by specifying them in order, omitting the parameter name.
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
The expression to take the root of.
sqrt
A square root.
$ sqrt(3 - 2 sqrt(2)) = sqrt(2) - 1 $

radicand
RequiredRequiredRequired parameters must be specified when calling the function.PositionalPositionalPositional parameters can be set by specifying them in order, omitting the parameter name.
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
The expression to take the square root of.