beautypg.com

Cas menu, Algebra – HP Prime Graphing Calculator User Manual

Page 326

background image

322

Functions and commands

CAS menu

Press

D

to open the

Toolbox menus (one of which
is the CAS menu). The
functions on the CAS menu
are those most commonly
used. Many more functions
are available. See “Ctlg
menu”, beginning on page
372
.
Note that the Geometry functions appear on the CAS menu
when the Geometry app is currently active or was the last-
used app. They are described in “Geometry functions and
commands”, beginning on page 165.

Algebra

Simplify

Returns an expression simplified.

simplify(Expr)

Example:

simplify(4*atan(1/5)-atan(1/239))

yields

(1/

4)*pi

Collect

Returns a polynomial or list of polynomials factorized over the

field of the coefficients.

collect(Poly

or

LstPoly)

Example:

collect(x^2-4)

gives

(x-2)*(x+2)

Expand

Returns an expression expanded.

expand(Expr)

Example:

expand((x+y)*(z+1))

gives

y*z+x*z+y+x

Factor

Returns a polynomial factorized.

factor(Poly)

Example:

factor(x^4-1)

gives

(x-1)*(x+1)*(x^2+1)