// Macros : $macros={}; $macros["2CT a 1C par 2 pts"]={ name:"2CT a 1C par 2 pts", parameters:["circle","point","point"], exec: function (C2,A,B){ P2=Center("P2",C2); R1=Ray("R1",P2,A); R2=Ray("R2",P2,B); L2=Line("L2",A,B); P4=OrderedIntersection("P4",R1,C2,0); P5=OrderedIntersection("P5",R2,C2,0); S1=Segment("S1",A,P5); S2=Segment("S2",P5,P4); Par1=Parallel("Par1",S1,P4); P6=OrderedIntersection("P6",R2,Par1,0); Par2=Parallel("Par2",S2,P6); A1=OrderedIntersection("A'",R1,Par2,0); C1=Circle3pts("C1",A,B,A1); P1=OrderedIntersection("P1",C2,C1,1); P3=OrderedIntersection("P3",C2,C1,0); L1=Line("L1",P1,P3); P7=OrderedIntersection("P7",L2,L1,0); M1=MidPoint("M1",P2,P7); C3=Circle("C3",M1,P2); P8=OrderedIntersection("P8",C2,C3,0); P9=OrderedIntersection("P9",C2,C3,1); C4=Circle3pts("C4",A,B,P9); C5=Circle3pts("C5",A,B,P8); return [C4,C5]; }}; $macros["Axe radical"]={ name:"Axe radical", parameters:["circle","circle"], exec: function (C1,C2){ P1=Center("P1",C1); P2=Center("P2",C2); L1=Line("L1",P2,P1); P3=OrderedIntersection("P3",L1,C1,0); P4=OrderedIntersection("P4",L1,C2,1); C3=Circle("C3",P4,P3); C4=Circle("C4",P3,P4); P5=OrderedIntersection("P5",C3,C4,1); C5=Circle("C5",P5,P3); P6=OrderedIntersection("P6",C1,C5,1); P7=OrderedIntersection("P7",C2,C5,0); L2=Line("L2",P3,P6); L3=Line("L3",P4,P7); P8=OrderedIntersection("P8",L2,L3,0); Perp1=Perpendicular("Perp1",L1,P8); return [Perp1]; }}; $macros["Centre Homo 2C"]={ name:"Centre Homo 2C", parameters:["circle","circle"], exec: function (C2,C1){ P2=Center("P2",C2); P1=Center("P1",C1); L1=Line("L1",P2,P1); Perp1=Perpendicular("Perp1",L1,P1); Perp2=Perpendicular("Perp2",L1,P2); P3=OrderedIntersection("P3",Perp2,C2,0); P4=OrderedIntersection("P4",Perp1,C1,0); Symc1=Symmetry("Symc1",P2,P3); L2=Line("L2",P3,P4); L3=Line("L3",P4,Symc1); P5=OrderedIntersection("P5",L1,L2,0); P6=OrderedIntersection("P6",L1,L3,0); return [P5,P6]; }}; // Coordinates System : SetCoords(455.6648338883927,238.5057116365861,1.1894123615172707); // Geometry : P2=Point("P2",-91.36010134430981,-120.64301078926553); A=Point("A",126.39448771142133,102.99683743013401); P1=Point("P1",283.26426788521155,-80.48095894985846); C2=Circle1("C2",P2,171.5918866300762); R2=Ray("R2",P2,A); C1=Circle1("C1",P1,80.08120878208564); L1=Line("L1",P2,P1); L11=Line("L11",P2,P1); R1=Ray("R1",P2,A); R11=Ray("R11",P2,A); R12=Ray("R12",P2,A); R13=Ray("R13",P2,A); P5=OrderedIntersection("P5",R2,C2,0); P3=OrderedIntersection("P3",L1,C1,0); P4=OrderedIntersection("P4",L1,C2,1); P6=OrderedIntersection("P6",L1,C2,0); P7=OrderedIntersection("P7",L1,C1,1); Perp1=Perpendicular("Perp1",L11,P1); Perp2=Perpendicular("Perp2",L11,P2); P42=OrderedIntersection("P42",R1,C2,0); P43=OrderedIntersection("P43",R11,C2,0); P44=OrderedIntersection("P44",R12,C2,0); P45=OrderedIntersection("P45",R13,C2,0); P31=OrderedIntersection("P31",Perp2,C2,0); P41=OrderedIntersection("P41",Perp1,C1,0); C3=Circle3pts("C3",P7,P6,A); L4=PerpendicularBisector("L4",P7,P6); Acacher=PerpendicularBisector("Acacher",P7,A); L7=PerpendicularBisector("L7",P7,P4); L6=PerpendicularBisector("L6",P7,A); Center1=Center("Center1",C3); Symc1=Symmetry("Symc1",P2,P31); L2=Line("L2",P31,P41); P8=OrderedIntersection("P8",L4,Acacher,0); P10=OrderedIntersection("P10",L7,L6,0); L3=Line("L3",P41,Symc1); P51=OrderedIntersection("P51",L11,L2,0); C6=Circle("C6",P10,P4); P61=OrderedIntersection("P61",L11,L3,0); R3=Ray("R3",A,P51); Perp3=Perpendicular("Perp3",R3,P8); S3=Segment("S3",A,P61); B=Reflection("B",Perp3,A); Perp4=Perpendicular("Perp4",S3,P10); R21=Ray("R21",P2,B); L21=Line("L21",A,B); Syma1=Reflection("Syma1",Perp4,A); P52=OrderedIntersection("P52",R21,C2,0); R22=Ray("R22",P2,Syma1); L22=Line("L22",A,Syma1); S1=Segment("S1",A,P52); S2=Segment("S2",P52,P44); P53=OrderedIntersection("P53",R22,C2,0); Par1=Parallel("Par1",S1,P44); S11=Segment("S11",A,P53); S21=Segment("S21",P53,P45); P62=OrderedIntersection("P62",R21,Par1,0); Par11=Parallel("Par11",S11,P45); Par2=Parallel("Par2",S2,P62); P63=OrderedIntersection("P63",R22,Par11,0); A1=OrderedIntersection("A'",R12,Par2,0); Par21=Parallel("Par21",S21,P63); C11=Circle3pts("C11",A,B,A1); A11=OrderedIntersection("A'1",R13,Par21,0); Center2=Center("Center2",C11); P11=OrderedIntersection("P11",C2,C11,1); P32=OrderedIntersection("P32",C2,C11,0); C12=Circle3pts("C12",A,Syma1,A11); Center3=Center("Center3",C12); L12=Line("L12",P11,P32); P12=OrderedIntersection("P12",C2,C12,1); P33=OrderedIntersection("P33",C2,C12,0); P71=OrderedIntersection("P71",L21,L12,0); L13=Line("L13",P12,P33); M1=MidPoint("M1",P2,P71); P72=OrderedIntersection("P72",L22,L13,0); C31=Circle("C31",M1,P2); M11=MidPoint("M11",P2,P72); P81=OrderedIntersection("P81",C2,C31,0); P9=OrderedIntersection("P9",C2,C31,1); C32=Circle("C32",M11,P2); C4=Circle3pts("C4",A,B,P9); C5=Circle3pts("C5",A,B,P81); P82=OrderedIntersection("P82",C2,C32,0); P91=OrderedIntersection("P91",C2,C32,1); Center4=Center("Center4",C4); Center5=Center("Center5",C5); C41=Circle3pts("C41",A,Syma1,P91); C51=Circle3pts("C51",A,Syma1,P82); Center6=Center("Center6",C41); Center7=Center("Center7",C51); // Styles : STL(P2,"c:#0000b2;s:6;f:20"); STL(A,"c:#0000b2;o:1;s:6;sn:true;f:20"); STL(P1,"c:#0000b2;s:6;f:30"); STL(C2,"c:#0000b2;s:2;f:30;p:0"); STL(R2,"c:#993300;h:1;s:1;f:30;p:0"); STL(C1,"c:#0000b2;s:2;f:30;p:0"); STL(L1,"c:#780013;h:1;s:1;f:30;p:0"); STL(L11,"c:#780013;h:1;s:1;f:30;p:0"); STL(R1,"c:#993300;h:1;s:1;f:30;p:0"); STL(R11,"c:#993300;h:1;s:1;f:30;p:0"); STL(R12,"c:#993300;h:1;s:1;f:30;p:0"); STL(R13,"c:#993300;h:1;s:1;f:30;p:0"); STL(P5,"c:#0000b2;h:1;s:6;f:20"); STL(P3,"c:#0000b2;h:1;s:6;f:30"); STL(P4,"c:#0000b2;h:1;s:6;f:30"); STL(P6,"c:#0000b2;h:1;s:6;f:30"); STL(P7,"c:#0000b2;h:1;s:6;f:30"); STL(Perp1,"c:#780013;h:1;s:1;f:30;p:0"); STL(Perp2,"c:#780013;h:1;s:1;f:30;p:0"); STL(P42,"c:#0000b2;h:1;s:6;f:30"); STL(P43,"c:#0000b2;h:1;s:6;f:30"); STL(P44,"c:#0000b2;h:1;s:6;f:30"); STL(P45,"c:#0000b2;h:1;s:6;f:30"); STL(P31,"c:#0000b2;h:1;s:6;f:30"); STL(P41,"c:#0000b2;h:1;s:6;f:30"); STL(C3,"c:#cc66cc;h:1;s:1;f:30;p:0"); STL(L4,"c:#780013;h:1;s:1;f:30;p:0"); STL(Acacher,"c:#780013;h:1;s:1;sn:true;f:20;p:0"); STL(L7,"c:#780013;h:1;s:1;f:30;p:0"); STL(L6,"c:#780013;h:1;s:1;f:30;p:0"); STL(Center1,"c:#0000b2;h:1;s:6;f:30"); STL(Symc1,"c:#0000b2;h:1;s:6;f:30"); STL(L2,"c:#780013;h:1;s:1;f:30;p:0"); STL(P8,"c:#0000b2;h:1;s:6;f:30"); STL(P10,"c:#0000b2;h:1;s:6;f:30"); STL(L3,"c:#780013;h:1;s:1;f:30;p:0"); STL(P51,"c:#0000b2;h:1;s:6;f:30"); STL(C6,"c:#cc66cc;h:1;s:1;f:30;p:0"); STL(P61,"c:#0000b2;h:1;s:6;f:30"); STL(R3,"c:#993300;h:1;s:1;f:30;p:0"); STL(Perp3,"c:#780013;h:1;s:1;f:30;p:0"); STL(S3,"c:#006633;h:1;s:1;f:24"); STL(B,"c:#0000b2;h:1;s:6;sn:true;f:20"); STL(Perp4,"c:#780013;h:1;s:1;f:30;p:0"); STL(R21,"c:#993300;h:1;s:1;f:30;p:0"); STL(L21,"c:#780013;h:1;s:1;f:30;p:0"); STL(Syma1,"c:#0000b2;h:1;s:6;f:30"); STL(P52,"c:#0000b2;h:1;s:6;f:30"); STL(R22,"c:#993300;h:1;s:1;f:30;p:0"); STL(L22,"c:#780013;h:1;s:1;f:30;p:0"); STL(S1,"c:#006633;h:1;s:1;f:24"); STL(S2,"c:#006633;h:1;s:1;f:24"); STL(P53,"c:#0000b2;h:1;s:6;f:30"); STL(Par1,"c:#780013;h:1;s:1;f:30;p:0"); STL(S11,"c:#006633;h:1;s:1;f:24"); STL(S21,"c:#006633;h:1;s:1;f:24"); STL(P62,"c:#0000b2;h:1;s:6;f:30"); STL(Par11,"c:#780013;h:1;s:1;f:30;p:0"); STL(Par2,"c:#780013;h:1;s:1;f:30;p:0"); STL(P63,"c:#0000b2;h:1;s:6;f:30"); STL(A1,"c:#0000b2;h:1;s:6;f:30"); STL(Par21,"c:#780013;h:1;s:1;f:30;p:0"); STL(C11,"c:#cc66cc;h:1;s:1;f:30;p:0"); STL(A11,"c:#0000b2;h:1;s:6;f:30"); STL(Center2,"c:#0000b2;h:1;s:6;f:30"); STL(P11,"c:#0000b2;h:1;s:6;f:30"); STL(P32,"c:#0000b2;h:1;s:6;f:30"); STL(C12,"c:#cc66cc;h:1;s:1;f:30;p:0"); STL(Center3,"c:#0000b2;h:1;s:6;f:30"); STL(L12,"c:#780013;h:1;s:1;f:30;p:0"); STL(P12,"c:#0000b2;h:1;s:6;f:30"); STL(P33,"c:#0000b2;h:1;s:6;f:30"); STL(P71,"c:#0000b2;h:1;s:6;f:30"); STL(L13,"c:#780013;h:1;s:1;f:30;p:0"); STL(M1,"c:#0000b2;h:1;s:6;f:30"); STL(P72,"c:#0000b2;h:1;s:6;f:30"); STL(C31,"c:#cc66cc;h:1;s:1;f:30;p:0"); STL(M11,"c:#0000b2;h:1;s:6;f:30"); STL(P81,"c:#0000b2;h:1;s:6;f:30"); STL(P9,"c:#0000b2;h:1;s:6;f:30"); STL(C32,"c:#cc66cc;h:1;s:1;f:30;p:0"); STL(C4,"c:#007c00;s:2;f:30;p:0"); STL(C5,"c:#007c00;s:2;f:30;p:0"); STL(P82,"c:#0000b2;h:1;s:6;f:30"); STL(P91,"c:#0000b2;h:1;s:6;f:30"); STL(Center4,"c:#0000b2;h:1;s:6;f:30"); STL(Center5,"c:#0000b2;h:1;s:6;f:30"); STL(C41,"c:#b40000;s:2;f:30;p:0"); STL(C51,"c:#b40000;s:2;f:30;p:0"); STL(Center6,"c:#0000b2;h:1;s:6;f:30"); STL(Center7,"c:#0000b2;h:1;s:6;f:30"); SetCoordsStyle("isAxis:false;isGrid:true;isOx:true;isOy:true;isLockOx:false;isLockOy:false;color:#111111;fontSize:18;axisWidth:1;gridWidth:0.1");