beautypg.com

HP Prime Graphing Calculator User Manual

Page 424

background image

418

Functions and commands

sylvester

Returns the Sylvester matrix of two polynomials.

sylvester(Poly1, Poly2, Var)

Example:

sylvester(x

2

-1,x

3

-1,x)

gives

table

Defines an array where the indexes are strings or real

numbers.

table(SeqEqual(index_name=element_value))

tail

Given a list, string, or sequence of objects, returns a vector

with the first element deleted.

tail(List) or tail(Vector) or tail(String) or
tail(Obj1, Obj2,…)

Example:

tail([3 2 4 1 0]) gives [2 4 1 0]

tan2cossin2

Returns an expression with tan(x) rewritten as (1–cos(2*x))/

sin(2*x).

tan2cossin2(Expr)

Example:

tan2cossin2(tan(x))

gives

(1-cos(2*x))/sin(2*x)

tan2sincos2

Returns an expression with tan(x) rewritten as sin(2*x)/

(1+cos(2*x)).

tan2sincos2(Expr)

Example:

tan2sincos2(tan(x))

gives

sin(2*x)/(1+cos(2*x)

transpose

Returns a matrix transposed (without conjugation).

transpose(Matrix)

Example:

transpose

returns

1 0 1

0 0

0 1 0 1

0

0 0 1 0 1

1 0 0 1

0

0 1 0 0 1

1 2
3 4

1 3
2 4