beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 56

background image

52

Geometry

Example:

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

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

Slopefield

Plots the graph of the slopefield for the differential equation
y’=f(x,y), where f(x,y) is contained in Expr. VectorVar is a
vector containing the variables. If VectorVar is of the form
[x=Interval, y=Interval], then the slopefield is plotted over the
specified x-range and y-range. Given xstep and ystep values,
plots the slopefield segments using these steps. If Option is
normalize, then the slopefield segments drawn are equal in

length.
Syntax: plotfield(Expr, VectorVar, [xstep=Val,
ystep=Val, Option])
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

Draws the solution of the differential equation y’=f(Va1, 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.
Syntax: plotode(Expr, [Var1, Var2, ...],
[Val1, Val2. ...])
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

List

Plots a set of n points and connects them with segments. The
points are defined by a 2xn matrix, with the abscissas in the
first row and the ordinates in the second row.
Syntax: plotlist(Matrix 2xn)