beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 187

background image

Functions and commands

183

eigVl

Returns the Jordan matrix associated with a matrix when the

eigenvalues are calculable.

eigVl(Matrix)

EVAL

Evaluates an expression.

eval(Expr)

Example:

eval(2+3) returns 5

evalc

Returns a complex expression written in the form
real+i*imag.

evalc(Expr)

Example:

evalc

returns

evalf

Given an expression and a number of significant digits,

returns the numerical evaluation of the expression to the given

number of significant digits. With just an expression, returns

the numerical evaluation based on the CAS settings.

evalf(Expr,[Integer])

Example:

evalf(2/3)

gives

0.666666666667

even

Tests whether or not an integer is even. Returns 1 if it is and 0

if it is not.
Example:

even(1251) returns 0

exact

Converts a decimal expression to a rational or real

expression.

exact(Expr)

Example:

exact(1.4141)

gives

14141/10000

EXP

Returns the solution to the mathematical constant e to the

power of an expression.

exp(Expr)

Example:

exp(0)

gives

1

1

x y i

+

------------------

x

x

2

y

2

+

-------------------

i y

x

2

y

2

+

-------------------