Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Simplify Question

8 views
Skip to first unread message

Thomas D. Dean

unread,
Mar 23, 2013, 11:54:33 PM3/23/13
to
restart;with(geometry):
pointpoint:= proc(p1,p2)
c:=coordinates(p1);
y-c[2]=slope(p1,p2)*(x-c[1])
end proc;
assume(x1<>x2, y1<>y2);
point(p1,x1,y1):point(p2,x2,y2):
pointpoint(p1,p2);
%*(x2-x1);

How do I fix the rhs of the result to get the '-' inside the first ()?

(x2~ - x1~) (y - y1~) = -(-y2~ + y1~) (x - x1~)

But, I want

(x2~ - x1~) (y - y1~) = (y2~ - y1~) (x - x1~)

Tom Dean
0 new messages