HP Prime Graphing Calculator User Manual

Page 405

Advertising
background image

Functions and commands

401

median_line

Draws the median line through A of the triangle ABC.

median_line((Pnt or Cplx(A)),(Pnt or
Cplx(B)),(Pnt or Cplx(C)))

Example:

median_line(0,8i,4)

draws the line whose equation

is y=2x; that is, the line through (0,0) and (2,4), the

midpoint of the segment whose endpoints are (0, 8) and

(4, 0).

member

Tests if an element is in a list or set. If the element is in the list

or set, returns 1+ the index of the first occurrence of the

element. If the element is not in the list or set, returns 0.

member(Elem(e),(Lst(l) or Set(l)))

Example:

member(1,[4,3,1,2]) gives 3

midpoint

Draws the midpoint of the line segment AB.

midpoint((Pnt or Cplx(A)),(Pnt or Cplx(A)))

Example:

midpoint(0,6+6i)

returns

point(3,3)

MINREAL

Returns the minimum real number that the HP Prime is capable

of representing: 1E4–99.

MKSA

Converts a unit object into a unit object written with the

compatible MKSA base unit.

mksa(Unit)

Example:

mksa(32_yd)

returns

29.2608_m

modgcd

Uses the modular algorithm to return the greatest common

divisor of two polynomials.

modgcd(Poly,Poly)

Example:

modgcd(x^4-1,(x-1)^2)

gives

x-1

Advertising