The sys sub-menu, The tvm sub-menu – HP 49g+ User Manual

Page 228

Advertising
background image

Page 6-31

Function PROOT
This function is used to find the roots of a polynomial given a vector
containing the polynomial coefficients in decreasing order of the powers of
the independent variable. In other words, if the polynomial is a

n

x

n

+ a

n-1

x

n-1

+ … + a

2

x

2

+ a

1

x + a

0

, the vector of coefficients should be entered as [a

n

, a

n-

1

, …

, a

2

, a

1

, a

0

]. For example, the roots of the polynomial whose

coefficients are [1, -5, 6] are [2, 3].

Function PCOEF
This function produces the coefficients [a

n

, a

n-1

, …

, a

2

, a

1

, a

0

] of a

polynomial a

n

x

n

+ a

n-1

x

n-1

+ … + a

2

x

2

+ a

1

x + a

0

, given a vector of its roots

[r

1

, r

2

, …, r

n

]. For example, a vector whose roots are given by

[-1, 2, 2, 1, 0], will produce the following coefficients: [1, -4, 3, 4, -4, 0].
The polynomial is x

5

- 4x

4

+ 3x

3

+ 4x

2

- 4x.


Function PEVAL
This function evaluates a polynomial, given a vector of its coefficients, [a

n

, a

n-

1

, …

, a

2

, a

1

, a

0

], and a value x

0

, i.e., PEVAL calculates a

n

x

0

n

+ a

n-1

x

0

n-1

+ …

+ a

2

x

0

2

+ a

1

x

0

+ a

0

. For example, for coefficients [2, 3, -1, 2] and a value of

2, PEVAL returns the value 28.

The SYS sub-menu

The SYS sub-menu contains a listing of functions used to solve linear systems.
The functions listed in this sub-menu are:

These functions are presented in detail in Chapter 11.

The TVM sub-menu

The TVM sub-menu contains functions for calculating Time Value of Money.
This is an alternative way to solve FINANCE problems (see Chapter 6). The
functions available are shown next:


Advertising
This manual is related to the following products: