Function: allroots( expr )
    Function: allroots( eqn )

    • Numerical approximations of the real and complex roots of the polynomial expr or polynomial equation eqn of one variable.

    Example:
        (%i1) f(x):= x^3+8*x-3;
        (%i2) allroots( f(x) = 0 );
        (%o2) [x = .3687331875693762, x = 2.846396515370145 %i - .1843665937846881, x = - 2.846396515370145 %i - .1843665937846881]

    See Also:

    EXAMPLE: