HP Prime Graphing Wireless Calculator User Manual

Page 36

Advertising
background image

32

Geometry

Example:

plotseq(1-x/2, x={3 -1 6}, 5) plots y=x and
y=1–x/2 (from x=–1 to x=6), then draws the first 5 terms of

the cobweb plot for u(n)=1-(u(n–1)/2, starting at
u(0)=3

Implicit

Syntax: plotimplicit(Expr, [XIntrvl, YIntrvl])
Plots an implicitly defined curve from Expr (in x and y).
Specifically, plots Expr=0. Note the use of lowercase x and y.
With the optional x-interval and y-interval, this command plots
only within those intervals.
Example:

plotimplicit((x+5)^2+(y+4)^2-1) plots a circle,

centered at the point (-5, -4), with a radius of 1

Slopefield

Syntax: plotfield(Expr, [x=X1..X2 y=Y1..Y2],
[Xstep, Ystep], [Option])
Plots the graph of the slopefield for the differential equation
y’=f(x,y) over the given x-range and y-range. If Option is
normalize, the slopefield segments drawn are equal in

length.
Example:

plotfield(x*sin(y), [x=-6..6, y=-
6..6],normalize) draws the slopefield for
y'=x*sin(y), from -6 to 6 in both directions, with

segments that are all of the same length

ODE

Syntax: plotode(Expr, [Var1, Var2, ...],
[Val1, Val2. ...])
Draws the solution of the differential equation y’=f(Var1, Var2,
...) that contains as initial condition for the variables Val1,
Val2,... The first argument is the expression f(Var1, Var2,...),
the second argument is the vector of variables, and the third
argument is the vector of initial conditions.
Example:

plotode(x*sin(y), [x,y], [–2, 2]) draws the

graph of the solution to y’=x*sin(y) that passes through

the point (–2, 2) as its initial condition

Advertising