psqrt
square root of a polynomial
proot
nth root of a polynomial
Calling Sequence
Parameters
Description
Examples
psqrt(p)
proot(p, n)
p
-
multivariate rational coefficients polynomial
n
integer
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.
psqrt9
3
proot9,2
proot27,3
psqrtx2+2xy+y2
x+y
psqrt9x2+12xy+4y2
3x+2y
prootx3+3x2+3x+1,3
x+1
psqrtx2−y2
_NOSQRT
proot81x4+108x3+54x2+12x+1,4
3x+1
psqrtx+y
prootx+y,3
_NOROOT
prootx3+y3,3
See Also
iroot
isqrt
sqrt
Download Help Document