Function: allsolve - find list of floating-point approximations to all roots of an equation or expression on a real interval.

Calling sequence:

allsolve( expr, x = a .. b);

Parameters:

expr - the equation or expression, involving one variable

x - the variable (a name)

a, b - endpoints of the interval (real constants).

Description:

Examples:

> allsolve( tan(sin(x))=1, x = 0 .. 2*Pi );

[.9033391108, 2.238253543]

> allsolve((x-Pi)^2, x = 0 .. 4);

[3.141592654]

> allsolve(sin(x) + x^2, x = -infinity .. infinity);

[-.8767262154, .7168429e-16]

> allsolve(abs(sin(x)+x) = 1, x = -2 .. 2);

[-.5109734294, .5109734294]

> allsolve(Int(sin(s),s=0..x) = 1, x = 1 .. 2);

[1.570796327]

See also:

convert(pwlist) , evalr , fsolve , gmin , greatestroot , leastroot

Maple Advisor Database R. Israel 1998