beautypg.com

HP Prime Graphing Calculator User Manual

Page 410

background image

404

Functions and commands

order_size

Returns the remainder (O term) of a series expansion:

limit(x^a*order_size(x),x=0)=0 if a>0.

order_size(Expr)

pa2b2

Takes a prime integer n congruent to 1 modulo 4 and returns

[a,b] such that a^2+b^2=n.

pa2b2(Integer)

Example:

pa2b2(17)

gives

[4 1]

pade

Returns the Pade approximation of an expression, i.e. a

rational fraction P/Q such that P/Q=Expr mod x^(n+1) or

mod N with degree(P)

pade(Expr, Var, Integern, Integerp)

Example:

pade(exp(x), x, 5, 3) returns

PI

Inserts .

PIECEWISE

Used to define a piecewise-defined function. Takes as

arguments pairs consisting of a condition and an expression.

Each of these pairs defines a sub-function of the piecewise

function and the domain over which it is active.

PIECEWISE

Example:

PIECEWISE

Note that the syntax varies if the Entry setting is not set to

Textbook:

PIECEWISE(Case1, Test1, ...[ Casen, Testn])

plotinequation

Shows the graph of the solution of inequations with 2

variables.

plotinequation(Expr,[x=xrange,y=yrange],[xste
p],[ystep])

3

x

2

24 x

60

x

3

9 x

2

36 x

60

+

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

Case1 if Test1
Case2 if Test2

...

x

if x 0

x

2

if x 0