Message Boards Message Boards

0
|
1560 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

How to prove Simson Line Theorem in Descarta2D?

Posted 1 year ago

This is what I have created so far

    <<Descarta2D`
    a := 4
    b := 5
    c := 8
pA = Point2D[{a, b}]

pB = Point2D[{0, 0}]

pC = Point2D[{c, 0}]

tABC = Triangle2D[pA, pB, pC]

cABC = Circle2D[tABC, Circumscribed2D]

pP = Point2D[{7.5, 4}]

sBP = Segment2D[{0, 0}, {7.5, 4}]
POSTED BY: Ale Alexa
Posted 11 months ago

I went through the horror of creating an account to post this. If anyone ever comes across this and wants the code for Simson's theorem in Descarta2D for a college project, here it is:

<< Descarta2D`;
ClearAll;


pA = Point2D[{Cos[a], Sin[a]}];
pB = Point2D[{Cos[b], Sin[b]}];
pC = Point2D[{Cos[c], Sin[c]}];

lAC = Line2D[pA, pC];
lAB = Line2D[pA, pB];
lBC = Line2D[pB, pC];

tABC = Triangle2D[pA, pB, pC];
cABC = Circle2D[{0, 0}, 1];
pM = Point2D[{Cos[m], Sin[m]}];
IsOn2D[pM, cABC]

lMA1 = Line2D[pM, lAC, Perpendicular2D];
pA1 = Point2D[lMA1, lAC];

lMB1 = Line2D[pM, lAB, Perpendicular2D];
pB1 = Point2D[lMB1, lAB];

lMC1 = Line2D[pM, lBC, Perpendicular2D];
pC1 = Point2D[pM, lBC];

IsCollinear2D[pA1, pB1, pC1]

lSimsonA = Line2D[pA1, pB1];
lSimsonB = Line2D[pB1, pC1];

Sketch2D[{pA, pB, pC, tABC, cABC, pM, lMA1, lMB1, lMC1, pA1, pB1, pC1,
    lBC1, lSimsonA, lSimsonB} //. {a -> 0, b -> 2*Pi/3, c -> 4*Pi/3, 
   m -> 3*Pi/6}]
POSTED BY: Alecsqq .
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract