beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 50

background image

46

Geometry

Quadrilateral

Draws a quadrilateral from a set of four points.

quadrilateral(point1, point2, point3, point4)

Example:

quadrilateral(GA, GB, GC, GD) draws quadrilateral

ABCD.

Parallelogram

Draws a parallelogram given three of its vertices. The fourth

point is calculated automatically but is not defined

symbolically. As with most of the other polygon commands,

you can store the fourth point’s coordinates into a CAS

variable. The orientation of the parallelogram is

counterclockwise from the first point.

parallelogram(point1, point2, point3)

Example:

parallelogram(0,6,9+5i) draws a parallelogram

whose vertices are at (0, 0), (6, 0), (9, 5), and (3,5). The
coordinates of the last point are calculated automatically.

Rhombus

Draws a rhombus, given two points and an angle. As with

many of the other polygon commands, you can specify

optional CAS variable names for storing the coordinates of

the other two vertices as points.

rhombus(point1, point2, angle)

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.

Rectangle

Draws a rectangle given two consecutive vertices and a point

on the side opposite the side defined by the first two vertices

or a scale factor for the sides perpendicular to the first side.

As with many of the other polygon commands, you can

specify optional CAS variable names for storing the

coordinates of the other two vertices as points.