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 Mozilla Firefox.

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
  

> 

RootOf⁡x2−x−1,2..1

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

 

Solution

 

Provide correct interval to the RootOf command.

> 

RootOfx2−x−1, 1..2

RootOf⁡_Z2−_Z−1,1..2

(2.1)

Example 2

> 

RootOf⁡x2−x−1,1+2⁢I..2−I

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

Solution

Provide correct interval to the RootOf command.

> 

RootOf⁡x2−x−1,1−I..2+2⁢I

RootOf⁡_Z2−_Z−1,1−I..2+2⁢I

(2.2)

See Also

examples,RootOf