beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 212

background image

208

Functions and commands

spline

Given two lists or vectors (one for the x-values and one for the

y-values), as well as a variable and an integer degree, returns

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

polynomials in the spline are in terms of the given variable and

are of the given degree.

spline(ListX, ListY, Var, Integer) or
spline(VectorX, VectorY, Var, Integer)

Example:

spline({0,1,2},{1,3,0},x,3) returns

sqrt

Returns the square root of an expression.

sqrt(Expr)

Example:

sqrt(50)

gives

5*sqrt(2)

stddev

Returns the standard deviation of the elements of a list or a list

of the standard deviations of the columns of a matrix. The

optional second list is a list of weights.

stddev(List1, [List2]) or
stddev(Vector1, [Vector2]) or stddev(Matrix)

Example:

stddev({1,2,3})

returns

stddevp

Returns the population standard deviation of the elements of a list

or a list of the population standard deviations of the columns of a

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

stddevp(List1, [List2]) or
stddevp(Vector1, [Vector2]) or
stddevp(Matrix)

Example:

stddevp({1,2,3})

gives

1

sto

Stores a real or string in a variable.

sto((Real or Str),Var)

sturmseq

Returns the Sturm sequence for a polynomial or a rational

fraction.

sturmseq(Poly,[Var])

5

4

------

x

3

13

4

-------

x

1 5

4

---

x 1

(

)

3

15

4

----------

x 1

(

)

2

1

2

---

x 1

(

)

3

+

+

+

+

6

3

-------