beautypg.com

Line – HP Prime Graphing Calculator User Manual

Page 172

background image

168

Geometry

point2d

Randomly re-distributes a set of points such that, for each

point, x ∈ [–5,5] and y ∈ [–5,5]. Any further movement of

one of the points will randomly re-distribute all of the points

with each tap or direction key press.

point2d(point1, point2, …, pointn)

trace

Begins tracing of a specified point.

trace(point)

stop trace

Stops tracing of a specified point, but does not erase the
current trace. This command is only available in Plot view. In
Symbolic view, uncheck the trace object to erase the trace and
stop further tracing

erase trace

Erases the trace of a point, but does not stop tracing. Any
further movement of the point will be traced. In Symbolic view,
uncheck the trace object to erase the trace and stop further
tracing.

Line

DrawSlp

Given three real numbers m, a, b, draws a line with slope m

that passes through the point (a, b).

DrawSlp(a,b,m)

Example: DrawSlp(2,1,3) draws the line given by

y=3x–5

altitude

Given three non-collinear points, draws the altitude of the

triangle defined by the three points that passes through the

first point. The triangle does not have to be drawn.

altitude(point1, point2, point3)

Example: altitude(A, B, C) draws a line passing

through point A that is perpendicular to BC.