beautypg.com

HP Prime Graphing Calculator User Manual

Page 407

background image

Functions and commands

403

normal

Returns the expanded irreducible form of an expression.

normal(Expr)

Example:

normal(2*x*2)

gives

4*x

normalize

Returns a vector divided by its l

2

norm (where the l

2

norm is the

square root of the sum of the squares of the vector’s

coordinates).

normalize(Lst||Cplx)

Example:

normalize(3+4*i)

gives

(3+4*i)/5

NOT

Returns the logical inverse of a Boolean expression.

not(Boolean)

NTHROOT

Gives the expression for calculating the nth root of a number.

octahedron

Draws an octahedron with center A and vertex B and such

that the plane ABC contains four vertices.

octahedron(Pnt(A),Pnt(B),Pnt(C))

odd

Returns 1 if a given integer is odd, and returns 0 otherwise.

odd(Intg(n))

Example:

odd(6)

gives

0

open_polygon

Draws a polygonal line with vertices at the elements of the

given list.

open_polygon(LstPnt||LstCplx)

OR

Logical Or.

expr1

OR expr2

Example:

3 +1==4 OR 8 < 5

returns

1

.

order_size

Returns the remainder (O term) of a series expansion:

limit(x^a*order_size(x),x=0)=0 if a>0.

order_size(Expr)