beautypg.com

HP Prime Graphing Calculator User Manual

Page 422

background image

416

Functions and commands

simult

Returns the solution to a system of linear equations or several

systems of linear equations presented in matrix form. In the

case of one system of linear equations, takes a matrix of

coefficients and a column matrix of constants, and returns the

column matrix of the solution.

simult(Matrix1, Matrix2)

Example:

simult

returns

sincos

Returns an expression with the complex exponentials rewritten

in terms of sin and cos.

sincos(Expr)

Example:

sincos(exp(i*x))

gives

cos(x)+(i)*sin(x)

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

3 1
3 2

2

2

2

4

5

4

------

x

3

13

4

-------

x

1 54--- x 1

3

15

4

----------

x 1

2

1

2

---

x 1

3

+

+

+

+

6

3

-------