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

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

> 

psqrt⁡9

3

(1)
> 

proot⁡9,2

3

(2)
> 

proot⁡27,3

3

(3)
> 

psqrt⁡x2+2⁢x⁢y+y2

x+y

(4)
> 

psqrt⁡9⁢x2+12⁢x⁢y+4⁢y2

3⁢x+2⁢y

(5)
> 

proot⁡x3+3⁢x2+3⁢x+1,3

x+1

(6)
> 

psqrt⁡x2−y2

_NOSQRT

(7)
> 

proot⁡81⁢x4+108⁢x3+54⁢x2+12⁢x+1,4

3⁢x+1

(8)
> 

psqrt⁡x+y

_NOSQRT

(9)
> 

proot⁡x+y,3

_NOROOT

(10)
> 

proot⁡x3+y3,3

_NOROOT

(11)

See Also

iroot

isqrt

sqrt