beautypg.com

HP Prime Graphing Calculator User Manual

Page 425

background image

Functions and commands

421

sylvester

Returns the Sylvester matrix of two polynomials.

sylvester(Poly,Poly,Var)

Example:

sylvester(x^2-1,x^3-1,x)

gives

[[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]]

table

Defines an array where the indexes are strings or real

numbers.

table(SeqEqual(index_name=element_value))

tail

Returns a list or sequence or string without its first element.

tail(Lst or Seq or Str)

Example:

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

gives

[2,4,1,0]

TAN

Tangent: tan(x).

tan(value)

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)

tangent

With a curve as argument, draws the tangent line to the curve

at point A. With a surface as argument, draws the tangent

plane to the surface at point A.

tangent(Curve or surface(C),Pnt(A))

Example:

tangent(plotfunc(x^2),GA)

draws the tangent to the

graph of y=x^2 through point A

THEN

Used in programming to introduce a statement dependent on

a conditional statement.