beautypg.com

Linear explorer functions, Quadratic explorer functions, Common app functions – HP Prime Graphing Calculator User Manual

Page 375

background image

Functions and commands

371

Linear Explorer functions

SolveForSlope

Input: enter two coordinates of the line: x2, x1, y2, y1

Output: Slope of the line: m = (y2–y1)/(x2–x1)

Example: SolveForSlope(3,2,4,2) yields 2

SolveForYIntercept

Input: x, y, m (that is, slope)

Output: y-intercept of the line: c = y–mx

Example: SolveForYIntercept(2,3,–1) yields 5

Quadratic Explorer functions

SOLVE

Input: a, b, c where a, b, c are the constants in ax

2

+bx+c=0

Output: Solves the equation to determine the value of x:
(–b+-d)/2a where d = √(b

2

–4ac)

Example: SOLVE(1,0,–4) yields {–2,2}

DELTA

Input: a, b, c where a, b, c are the constants in ax

2

+bx+c=0

Output: Discriminant/Delta of the equation: D = b

2

–4ac

Example: DELTA(1,0,–4) yields 16

Common app functions

In addition to the app functions specific to each app, there are
two functions common to the following apps:

Function

Solve

Parametric

Polar

Sequence

Advanced Graphing