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:

 

3 1

 

,

 

2

 

returns

 

 

 

 

simult

 

 

 

 

 

3 2

 

 

 

2

 

 

2

4

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

5

x

3

+

13

x + 1

5

⋅ (x 1)

3

+

15

⋅ (x 1)

2

1

⋅ (x 1) + 3

---4---

 

--4----

---

 

-----4----

 

2---

 

 

 

 

4

 

 

 

 

 

 

 

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

6

3

 

-------

 

 

416

Functions and commands

Page 422
Image 422
HP Prime Graphing NW280AAABA manual Sqrt Returns the square root of an expression