beautypg.com

HP Prime Graphing Calculator User Manual

Page 423

background image

Functions and commands

419

slopeat

Displays the value at point z0 of the slope of the line or

segment d. A legend is provided.

slopeat(Line,Pnt||Cplx(z0))

slopeatraw

Displays the value at point z0 of the slope of the line or

segment d.

slopeatraw(Line,Pnt||Cplx(z0))

sphere

With two points as arguments, draws the sphere of diameter

made by the line from one point to another. With a point and

a real as arguments, draws the sphere with center at the point

and radius given by the real.

sphere((Pnt or Vect),(Pnt or Real))

spline

Returns the natural spline through the points given by two lists.

The polynomials in the spline are in variable x and of degree d.

spline(Lst(lx),Lst(ly),Var(x),Intg(d))

Example:

spline([0,1,2],[1,3,0],x,3)

gives

[-5*x^3/

4+13*x/4+1,5*(x-1)^3/4+-15*(x-1)^2/4+(x-1)/-
2+3]

sqrt

Returns the square root of an expression.

sqrt(Expr)

Example:

sqrt(50)

gives

5*sqrt(2)

square

Draws the square of side AB in the plane ABP.

square((Pnt(A) or Cplx),(Pnt(B) or
Cplx),[Pnt(P),Var(C),Var(D)])

Example:

square(0, 3+2i,p,q)

draws a square with vertices at

(0,0), (3,2), (1,5), and (-2,3). The last two vertices are

computed automatically and are saved into the CAS

variables p and q.

stddev

Returns the standard deviance of the elements in a list with the

or returns the list of standard deviances of the columns of a

matrix. The optional second list is a list of weights.

stddev(Lst||Mtrx,[Lst])

Example:

stddev([1,2,3])

gives

(sqrt(6))/3