beautypg.com

Line – HP Prime Graphing Wireless Calculator User Manual

Page 46

background image

42

Geometry

Center

Syntax: center(Circle)
Plots the center of a circle. The circle can be defined by the
circle command or by name (for example, GC).
Example: center(circle(x^2+y2–x–y)) plots
point(1/2,1/2)

Intersection

Syntax: single_inter(Curve1, Curve2, [Point])
Plots the intersection of Curve1 and Curve2 that is closest to
Point.
Example:

single_inter(line(y=x), circle(x^2+y^2=1),
point(1,1)) plots point((1+i)*√2/2)

Intersections

Returns the intersection of two curves as a vector.

inter(Curve1, Curve2)

Example:

inter(8-x^2/6, x/2-1) returns [[6 2],[-9 -11/2]]

Line

Segment

Draws a segment defined by its endpoints.

segment(point1, point2)

Examples:

segment(1+2i, 4) draws the segment defined by the

points whose coordinates are (1, 2) and (4, 0).

segment(GA, GB) draws segment AB.

Ray

Given 2 points, draws a ray from the first point through the

second point.

half_line((point1, point2)