HP Prime Graphing Calculator User Manual

Page 402

Advertising
background image

398

Functions and commands

list2mat

Returns a matrix of n columns made by splitting a list into rows

each containing n terms. If the number of elements in the list

is not divisible by n, then the matrix is completed with zeros.

list2mat(Lst(l),Intg(n))

Example:

list2mat([1,8,4,9],1)

gives

[[1],[8],[4],[9]]

LN

Returns the natural logarithm of an expression.

ln(Expr)

lname

Returns a list of the variables in an expression.

lname(Expr)

Example:

lname(exp(x)*2*sin(y))

gives

[x,y]

lnexpand

Returns the expanded form of a logarithmic expression.

lnexpand(Expr)

Example:

lnexpand(ln(3*x))

gives

ln(3)+ln(x)

LOCAL

Used in programming to define local variables.

LOCAL var1,var2,…varn

locus

locus(M,A) draws the locus of M.
locus(d,A) draws the envelope of d.
A:=element(C) (C is a curve).

locus(Pnt,Elem)

LOG

Returns the natural logarithm of an expression.

LOG(Expr)

log10

Returns the log base 10 of an expression.

log10(Expr)

Example:

log10(10)

gives

1

Advertising