406 Functions and commands
perpen_bisector Draws the bisection (line or plane) of the segment AB.
perpen_bisector((Pnt or Cplx(A)),(Pnt or
Cplx(B)))
Example:
perpen_bisector(3+2i,i) draws the perpendicular
bisector of a segment whose endpoints have coordinates
(3, 2) and (0, 1); that is, the line whose equation is y=x/
3+1.
perpendicular With a point and a line as arguments, returns the line that is
orthogonal to the given line and that passes through the given
point. With a line and a plane as arguments, draws the plane
that is orthogonal to the given plane and that contains the
given line.
perpendicular((Pnt or Line),(Line or Plane))
Example:
perpendicular(3+2i,line(x-y=1)) draws a line
through the point whose coordinates are (3, 2) that is
perpendicular to the line whose equation is x – y = 1;
that is, the line whose equation is y=-x+5.
PI Inserts pi.
PIECEWISE Takes as arguments pairs consisting of a condition and an
expression. Each of these pairs defines a sub-function of the
piecewise function and the domain over which it is active. The
syntax depends on the entry mode and working view:
• When textbook entry is enabled, the syntax (for both non-
CAS and CAS) is:
{ case1 if test1
{ ...
{ casen [if testn]
Example:
{“Even” if (324 MOD 2) == 0
{“Odd” if
returns “Even”
• When textbook entry is disabled, the syntax for non-CAS is:
PIECEWISE(test1, case1, ...[, testn], casen)
• When textbook entry is disabled, the syntax for CAS is:
piecewise(test1, case1, ...[, testn], casen)