proot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


psqrt

square root of a polynomial

proot

nth root of a polynomial

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

psqrt(p)

proot(p, n)

Parameters

p

-

multivariate rational coefficients polynomial

n

-

integer

Description

• 

If p is a perfect square, psqrt returns a square root of p.  Otherwise it returns the name _NOSQRT.

• 

If p is an nth power, proot(p, n) returns a nth root of p.  Otherwise proot returns the name _NOROOT.

Examples

psqrt9

3

(1)

proot9,2

3

(2)

proot27,3

3

(3)

psqrtx2+2xy+y2

x+y

(4)

psqrt9x2+12xy+4y2

3x+2y

(5)

prootx3+3x2+3x+1,3

x+1

(6)

psqrtx2y2

_NOSQRT

(7)

proot81x4+108x3+54x2+12x+1,4

3x+1

(8)

psqrtx+y

_NOSQRT

(9)

prootx+y,3

_NOROOT

(10)

prootx3+y3,3

_NOROOT

(11)

See Also

iroot

isqrt

sqrt