Manual

324 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 378.
Note that the Geometry functions appear on the App menu.
They are described in “Geometry functions and commands,
beginning on page 165.
The result of a CAS command may vary depending on the
CAS settings. The examples in this chapter assume the default
CAS settings unless otherwise noted.
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)