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

evalc(Expr)

Example:

evalc

1

returns

 

2

x

2

i y

2

x + y i

 

 

2

 

 

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

 

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

 

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

 

 

 

 

 

x

 

+ y

 

 

x

+ y

 

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

390

Functions and commands

Page 396
Image 396
HP Prime Graphing NW280AAABA manual EvalcExpr, EvalfExpr,Integer, Evalf2/3 gives, Even1251 returns, ExactExpr, ExpExpr