beautypg.com

HP Prime Graphing Calculator User Manual

Page 400

background image

396

Functions and commands

Example:

isosceles_triangle(GA,GB,angle(GC,GA,GB)

defines an isosceles triangle such that one of the two

sides of equal length is AB, and the angle between the

two sides of equal length has a measure equal to that of

angle ACB.

jacobi_symbol

Returns the Jacobi symbol of the given integers.

jacobi_symbol(Intg,Intg)

Example:

jacobi_symbol(132,5)

gives

-1

KILL

Used in programming to stop a step-by-step execution with

debugging.

laplacian

Returns the Laplacian of an expression with respect to a list of

variables.

laplacian(Expr,LstVar)

Example:

laplacian(exp(z)*cos(x*y),[x,y,z])

gives

-

x^2*cos(x*y)*exp(z)-
y^2*cos(x*y)*exp(z)+cos(x*y)*exp(z)

lcoeff

Returns the coefficient of the term of highest degree of a

polynomial. The polynomial can be expressed in symbolic

form or as a list.

lcoeff(Poly||Lst)

Example:

lcoeff(-2*x^3+x^2+7*x)

gives

-2

legendre_symbol

Returns the Legendre symbol of the given integers.

legendre_symbol(Intg,Intg)

Example:

legendre(4)

gives

35*x^4/8+-15*x^2/4+3/8

length

Returns the length of a list, string or sequence.

length(Lst or Str or Seq)

Example:

length([1,2,3])

gives

3