beautypg.com

Linear explorer functions – HP Prime Graphing Wireless Calculator User Manual

Page 174

background image

170

Functions and commands

Example:

SSA(1, 2, 30)

returns

{1.732…, 90, 60}

SSS

Side-Side-Side Takes as arguments the lengths of the three
sides of a triangle and returns the measures of the angles
opposite them, in order.

SSS(side,side,side)

Example:

SSS(3, 4, 5)

in degree mode returns

{36.8…, 53.1…,

90}

DoSolve

Solves the current problem in the Triangle Solver app. The
Triangle Solver app must have enough data entered to ensure
a successful solution; that is, there must be at least three values
entered, one of which must be a side length. Returns a list
containing the unknown values in the Numeric view, in their
order of appearance in that view (left to right and top to
bottom).

DoSolve()

Linear Explorer functions

SolveForSlope

Solve for slope. Takes as input the coordinates of two points
(x

1

, y

1

) and (x

2

, y

2

) and returns the slope of the line containing

those two points.

SolveForSlope(x

1

, x

2

, y

1

, y

2

)

Example:

SolveForSlope(3,2,4,2)

returns

2

SolveForYIntercept

Solve for y-intercept. Takes as input the coordinates of a point
(x, y), and a slope m, and returns the y-intercept of the line
with the given slope that contains the given point.

SolveForYIntercept(x, y, m)

Example:

SolveForYIntercept(2,3,-1)

returns

5