Function: greatestroot - find floating-point approximation to greatest root of an equation or expression on a real interval.

Calling sequence:

greatestroot( 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:

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

2.238253543

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

3.141592654

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

.7168429e-16

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

.5109734294

See also:

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

Maple Advisor Database R. Israel 2000