Error, (in RootOf) the input range 2 .. 1 is invalid - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Error, (in RootOf) the input range 2 .. 1 is invalid

Error, (in RootOf) the input range ... is invalid

 

Description

Examples

See Also

Description

The RootOf command can accept a root selector as an optional argument. Selectors are meant to specify a particular root of an equation or a subset of the roots. They can also be used for working with several (not necessarily specified) roots of the same polynomial. One of the types of selectors supported is a bounding box defined by two complex numbers a and b. The numbers should be given in the order of the lower-left corner of the box to the upper-right corner of the box (or left and right endpoints, in the case of a real interval), otherwise, an error will be raised. Moreover, if there is no root contained in the range, an error will be raised.

Examples

Example 1
  

RootOfx2x1,2..1

Error, (in RootOf) the input range 2 .. 1 is invalid

 

Solution

 

Provide correct interval to the RootOf command.

RootOfx2x1, 1..2

RootOf_Z2_Z1,1..2

(2.1)

Example 2

RootOfx2x1,1+2I..2I

Error, (in RootOf) the input range 1+2*I .. 2-I is invalid

Solution

Provide correct interval to the RootOf command.

RootOfx2x1,1I..2+2I

RootOf_Z2_Z1,1I..2+2I

(2.2)

See Also

examples,RootOf