beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 206

background image

202

Functions and commands

quartile1

Given a list or vector, returns the first quartile of the elements

of the list or vector. Given a matrix, returns the first quartile of

the columns of the matrix.

quartile1(List) or quartile1(Vector) or
quartile1(Matrix)

Example:

quartile1([1,2,3,5,10,4]) gives 2

quartile3

Given a list or vector, returns the third quartile of the elements

of the list or vector. Given a matrix, returns the third quartile

of the columns of the matrix.

quartile3(List) or quartile3(Vector)

or

quartile3(Matrix)

Example:

quartile3([1,2,3,5,10,4]) returns 5

quartiles

Returns a matrix containing the minimum, first quartile,

median, third quartile, and maximum of the elements of a list

or vector. With a matrix as argument, returns the 5-number

summary of the columns of the matrix.

quartiles(List) or quartiles(Vector) or
quartiles(Matrix)

Example:

quartiles([1,2,3,5,10,4])

returns

quorem

Returns the Euclidean quotient and remainder of the quotient
of two polynomials, each expressed either in symbolic form
directly or as a vector of coefficients. If the polynomials are
expressed as vectors of their coefficients, this command
returns a similar vector of the quotient and a vector of the
remainder.

quorem(Poly1, Poly2) or quorem(Vector1,
Vector2)

Examples:

quorem(x^3+2*x^2+3*x+4,-x+2) returns [-x^2-4*x-
11, 26]

quorem([1,2,3,4],[-1,2]) returns [[-1, -4, -11]
[26]]

1
2
3
5

10