HP Prime Graphing Wireless Calculator User Manual
Page 203
![background image](/manuals/397843/203/background.png)
Functions and commands
199
polygonplot
Used in the Geometry app Symbolic view. Given an n × m
matrix, draws and connects the points (xk, yk), where xk is the
element in row k and column 1, and yk is the element in row
k and column j (with j fixed for k=1 to n rows). Thus, each
column pairing generates its own figure, resulting in m–1
figures.
polygonplot(Matrix)
Example:
polygonplot
draws two figures, each with three
points connected by segments.
polygonscatterplot
Used in the Geometry app Symbolic view. Given an n × m matrix,
draws and connects the points (xk, yk), where xk is the element in
row k and column 1, and yk is the element in row k and column j
(with j fixed for k=1 to n rows). Thus, each column pairing
generates its own figure, resulting in m-– figures.
polygonscatterplot(Matrix)
Example:
polygonscatterplot
draws two figures, each
with three points connected by segments.
polynomial_
regression
Given a set of points defined by two lists, and a positive
integer n, returns a vector containing the coefficients (a
n
, a
n–1
... a
0
) of y = a
n
*x
n
+ a
n–1
x
n–1
+ ... a
1
*x + a
0
), the nth order
polynomial which best approximates the given points.
polynomial_regression(List1, List2, Integer)
Example:
polynomial_regression({1, 2, 3, 4}, {1, 4, 9,
16},3) returns [0 1 0 0]
POLYROOT
Returns the zeros of the polynomial given as a vector of
coefficients.
POLYROOT(Vector)
Example:
POLYROOT([1 0 -1]) returns {-1, 1}
1 2 3
2 0 1
1
–
2 3
1 2 3
2 0 1
1
–
2 3