HP Prime Graphing Wireless Calculator User Manual

Page 186

Advertising
background image

182

Functions and commands

Dirac

Returns the value of the Dirac delta function for a real number.

Dirac(Real)

Example:

Dirac(1)

gives

0

e

Enters the mathematical constant e (Euler’s number).

egcd

Given two polynomials, A and B, returns three polynomials U,

V and D such that:

U(x)*A(x)+V(x)*B(x)=D(x),

where D(x)=GCD(A(x),B(x)), the greatest common

divisor of polynomials A and B.
The polynomials can be provided in symbolic form or as lists

of coefficients in descending order.
Without a third argument, it is assumed that the polynomials

are expressions of x. With a variable as third argument, the

polynomials are expressions of it.

egcd((PolyA, PolyB, [Var]) or egcd(ListA,
ListB, [Var])

Example:

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

gives

[-x-2,1,3*x-3]

eigenvals

Returns the sequence of eigenvalues of a matrix.

eigenvals(Matrix)

Example:

eigenvals

returns [

3 -3 -3]

eigenvects

Returns the eigenvectors of a diagonalizable matrix.

eigenvects(Matrix)

Example:

eigenvects

returns

2

2

1

2

1 2

1 2

2

2

2

1

2

1 2

1 2

2

1 3

3

2

0 3

1 3 3

Advertising