BOUNDS _ _ _ _ _ _ _ _ _ _ _ _ operator
Upper and lower bounds of a real valued function over an interval or a rectangular multivariate domain are comp uted by the operator bounds. The algorithmic basis is the computation with inequalities: starting from the interval(s) of the variables, the bounds are propagated in the expression using the rules for inequality computation. Some knowledge about the behavior of special functions like ABS, SIN, COS, EXP, LOG, fractional exponentials etc. is integrated and can be evaluated if the operator bounds is called with rounded mode on (otherwise only algebraic evaluation rules are available).
If bounds finds a singularity within an interval, the evaluation is stopped with an error message indicating the problem part of the expression.
or
bounds(<exp>,{<var>=(<l> .. <u>) [,<var>=(<l> .. <u>) ...]})
where <exp> is the function to be investigated, <var> are the variables of <exp>, <l> and <u> specify the area as set of intervals.
boundscomputes upper and lower bounds for the expression in the given area. An interval is returned.
bounds(sin x,x=(1 .. 2)); -1 .. 1 on rounded; bounds(sin x,x=(1 .. 2)); 0.84147098481 .. 1 bounds(x**2+x,x=(-0.5 .. 0.5)); - 0.25 .. 0.75