beautypg.com

HP Prime Graphing Calculator User Manual

Page 179

background image

Geometry

175

Example

rhombus(GA, GB, angle(GC, GD, GE)) draws a

rhombus on segment AB such that the angle at vertex A has
the same measure as ∡ DCE.

right_triangle

Draws a right triangle given two points and a scale factor.

One leg of the right triangle is defined by the two points, the

vertex of the right angle is at the first point, and the scale

factor multiplies the length of the first leg to determine the

length of the second leg.

right_triangle(point1, point2, realk)

Example:

right_triangle(GA, GB, 1) draws an isosceles right

triangles with its right angle at point A, and with both legs
equal in length to segment AB.

square

Draws a square, given two consecutive vertices as points.

square(point1, point2)

Example:
Example: square(0, 3+2i, p, q) draws a square with vertices
at (0, 0), (3, 2), (1, 5), and (-2, 3). The last two vertices are
computed automatically and are saved into the CAS variables
p and q.

triangle

Draws a triangle, given its three vertices.

triangle(point1, point2, point3)

Example:

triangle(GA, GB, GC) draws ΔABC.