beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 68

background image

64

Geometry

Example:

is_harmonic(point(0, 0), point(3, 0),
point(4, 0), point(12/5, 0)) returns 1

is_harmonic_circle_bundle

Returns 1 if the circles build a beam, 2 if they have the same

center, 3 if they are the same circle and 0 otherwise.

is_harmonic_circle_bundle({circle1, circle2,
…, circlen})

is_harmonic_line_bundle

Returns 1 if the lines are concurrent, 2 if they are all parallel,

3 if they are the same line and 0 otherwise.

is_harmonic_line_bundle({line1, line2, …,
linen}))

is_orthogonal

Tests whether or not two lines or two circles are orthogonal

(perpendicular). In the case of two circles, tests whether or not

the tangent lines at a point of intersection are orthogonal.

Returns 1 if they are and 0 otherwise.

is_orthogonal(line1, line2)

or

is_orthogonal(circle1, circle2)

Example:

is_orthogonal(line(y=x),line(y=-x)) returns 1.

is_rectangle

Tests whether or not a set of four points are vertices of a

rectangle. Returns 0 if they are not, 1 if they are, and 2 if they

are vertices of a square.

is_rectangle(point1, point2, point3, point4)

Examples:

is_rectangle(point(0,0), point(4,2),
point(2,6), point(-2,4)) returns 2.
With a set of only three points as argument, tests whether or

not they are vertices of a right triangle. Returns 0 if they are

not. If they are, returns the number order of the common point

of the two perpendicular sides (1, 2, or 3).

is_rectangle(point(0,0), point(4,2),
point(2,6)) returns 2.