geometry
IsOnCircle
test if a point, a list, or set of points is on a circle
Calling Sequence
Parameters
Description
Examples
IsOnCircle(f, c, cond)
f
-
a point, a list or a set of points
c
a circle
cond
(optional) a name
The routine returns true if the point f or the list/set of points f is on circle c; false if it is not; and FAIL if it is unable to reach a conclusion.
In case of FAIL, if the third optional argument is given, the condition that makes f on circle c is assigned to this argument. It will be either of the form expr=0 or of the form &andexpr_1=0,...,expr_n=0 where expr, expr_i are Maple expressions.
The command with(geometry,IsOnCircle) allows the use of the abbreviated form of this command.
withgeometry:
circlec1,x2+y2=1,x,y,circlec2,x−22+y2=1,x,y,pointA,−1,0:
IsOnCircleA,c1
true
IsOnCircleA,c2
false
pointA,a,12,pointB,35,b:
IsOnCircleA,B,c2,cond
IsOnCircle: "hint: the following conditions must be satisfied: {24/25+b^2 = 0, 13/4+a^2-4*a = 0}"
FAIL
2425+b2=0&and134+a2−4a=0
assumeopcond
IsOnCircleA,B,c2
See Also
geometry[IsOnLine]
Download Help Document