HP (Hewlett-Packard) NW280AAABA Calculator User Manual


 
Functions and commands 337
Polynomial
Find Roots Returns all computed roots of a polynomial given by its
coefficients. (It may not work if roots are not simple.)
proot(Vect||Poly)
Example:
proot([1,0,-2]) gives
[-1.41421356237,1.41421356237]
Coefficients With an integer as third argument, returns the coefficient of a
polynomial of degree given in the third argument. With no
third argument, returns the list of coefficients of the
polynomial.
coeff(Expr,[Var],degree)
Example:
coeff(x*3+2) gives poly1[3,2]
Divisors Returns the list of divisors of a polynomial or a list of
polynomials.
divis(Poly or LstPoly)
Example:
divis(x^2-1) gives [1,x-1,x+1,(x-1)*(x+1)]
Factor List Returns the list of prime factors of a polynomial or a list of
polynomials. Each factor is followed by its multiplicity.
factors(Poly or LstPoly)
Example:
factors(x^4-1) gives [x-1,1,x+1,1,x^2+1,1]
GCD Returns the greatest common divisor of two or more
polynomials.
gcd(Poly1,Poly2...Polyn)
LCM Returns the lowest common multiple of two or more
polynomials.
lcm(Poly1,Poly2...Polyn)
Example:
lcm(x^2-2*x+1,x^3-1) gives (x-1)*(x^3-1)