HP Prime Graphing NW280AAABA manual DegreePoly, FactorxnPoly, ContentPoly,Var, SturmabPoly,Var,a,b

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 349
Image 349

Degree Returns the degree of a polynomial.

degree(Poly)

Example:

degree(x^3+x) gives 3

Factor by Degree For a given polynomial in x of degree n, factors out xn and returns the resulting product.

factor_xn(Poly)

Example:

factor_xn(x^4-1) gives x^4*(1-x^-4)

Coef. GCD Returns the greatest common divisor (GCD) of the coefficients of a polynomial.

content(Poly,[Var])

Example:

content(2*x^2+10*x+6) gives 2

Zero Count If a and b are real, this returns the number of sign changes in the specified polynomial in the interval [a,b]. If a or b are non- real, it returns the number of complex roots in the rectangle bounded by a and b. If Var is omitted, it is assumed to be x.

sturmab(Poly[,Var],a,b)

Examples:

sturmab(x^2*(x^3+2),-2,0) returns 1

sturmab(n^3-1,n,-2-i,5+3i) returns 3

Chinese Given a matrix whose 2 rows each contain the coefficients of Remainder a polynomial, returns the Chinese remainder of the

polynomials, also written as a matrix.

chinrem([LstExpr,LstExpr],[LstExpr,

LstExpr])

Example:

 

 

 

1 2 0

 

1 1 0

 

 

 

 

 

 

 

 

 

 

chinrem

 

,

 

returns

 

1 0 1

1 1 1

 

 

 

 

 

 

 

 

 

 

 

 

[[2

2

1]

[1

 

1

2

 

 

1

1]]

Functions and commands

343

Page 349
Image 349
HP Prime Graphing NW280AAABA manual DegreePoly, FactorxnPoly, ContentPoly,Var, SturmabPoly,Var,a,b