beautypg.com

Example, Polynomial functions, Polycoef polyeval polyform polyroot – HP 39g Graphing Calculator User Manual

Page 150

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

Polynomial functions

POLYCOEF

POLYEVAL

POLYFORM

POLYROOT

Polynomials are products of constants

{coefficients)

and

variables raised to powers

{terms).

Polynomial coefficients. Returns the coefficients of the
polynomial with the specified

roots.

POLYCOEF

{[roots])

Example

To find the polynomial with roots 2, -3, 4, -5:

POLYCOEF ( [ 2 , - 3 , 4 , - 5 ] ) returns [ 1 , 2 , - 2 5 ,

- 2 6 , 1 2 0 ] , representing

y

'*+2

y

^“25

y

^-26

y

+120.

Polynomial evaluation. Evaluates a polynomial with the
specified

coefficients

for the

value

of .r.

POLYEVAL { [

coefficients

] ,

value)

Example

For x^+'h?~25.x^~26x+120:

POLYEVAL ( [ 1 , 2 , - 2 5 , - 2 6 , 1 2 0 1 , 8 ) returns

3432.

Polynomial fonn. Creates a polynomial in

variahlel

from

expression.

POhYFOBMlexpression.variablel)

Example

POLYFORM( (X+1) ^2 + 1 , X )

returns

X"-2+2*X+2.

Polynomial roots. Returns the roots for the ;jth-order

polynomial with the specified

n+\ coefficients.

¥0'hYROO’Y{[coefficients])

Example

For /+2

a

-3-25

y

2-26

y

+120:

P O L Y R O O T ( [ 1 , 2 , - 2 5 , - 2 6 , 1 2 0 ]

[ 2 , - 3 , 4 , - 5 ] .

returns

10-12

Using mathematical functions