geometry
AreConcurrent
test if three lines are concurrent
Calling Sequence
Parameters
Description
Examples
AreConcurrent(l1, l2, l3, cond)
l1, l2, l3
-
three lines
cond
(optional) name
Three straight lines l1, l2, and l3 are said to be concurrent if they lie in a plane and pass through a common point.
The routine returns true if l1, l2, and l3 are concurrent; false if they are not; and FAIL if it is unable to determine if the three lines are concurrent.
In case of FAIL, if the optional fourth argument cond is given, the condition that makes the lines concurrent is assigned to this argument.
The command with(geometry,AreConcurrent) allows the use of the abbreviated form of this command.
with⁡geometry:
line⁡l1,3⁢b−6=0,a,b:line⁡l2,−312⁢a+b+312−2=0,a,b:
line⁡l3,312⁢a+b−312−2=0,a,b:
AreConcurrent⁡l1,l2,l3
true
line⁡l4,sqrt⁡3⁢b−2⁢sqrt⁡3=11,a,b:
AreConcurrent⁡l1,l2,l4
false
line⁡l5,m⁢b+312⁢a−2=0,a,b:
AreConcurrent⁡l1,l2,l5,cond
AreConcurrent: "unable to determine if 6*3^(1/2)*m-6*3^(1/2)+9 is zero"
FAIL
6⁢3⁢m−6⁢3+9=0
make necessary assumption:
assume⁡cond
AreConcurrent⁡l1,l2,l5
See Also
geometry[AreCollinear]
geometry[line]
Download Help Document