beautypg.com

HP Prime Graphing Calculator User Manual

Page 422

background image

418

Functions and commands

similarity

With two points (B and A), a real (k) and an angle (a1) as

arguments, returns a point that is the point similar to A across

center B with angle a1 and with scaling coefficient k. With an

axis (Dr3), a real (k) an angle (a1) and a point (A) as

arguments, returns a point that is the point similar to A across

the axis given by the line with angle a1 and with scaling

coefficient k.

similarity(Pnt(B) or
Dr3,Real(k),Angle(a1),Pnt(A))

Example:

similarity(0,3,angle(0,1,i),point(2,0))

dilates

the point at (2,0) by a scale factor of 3 (a point at (6,0)),

then rotates the result 90° counterclockwise to create a

point at (0,6)

simult

Returns the solution to a system of linear equations or several

systems of linear equations presented in matrix form. In other

words, in the case of one system of linear equations, takes a

matrix A and a column matrix B, and returns column matrix X

such A*X=B.

simult(Mtrx(A),Mtrx(B))

Example:

simult([[3,1],[3,2]],[[-2],[2]])

gives

[[-

2],[4]]

SIN

Sine: sinx.

SIN(value)

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)

single_inter

With two curves or two surfaces as arguments, returns one of

the intersections of the two curves or surfaces. With to curves

or surfaces and a point or list of points as arguments, returns

an intersection of the curves or surfaces that is nearest to the

point or not in the list of points.

single_inter(Curve,Curve,[Pnt(A)||LstPnt(L)])