Construction in GCLC language


dim 120 120

point M_{a} 65 40
point N 72.5 61.93

color 220 0 0
fontsize 11

cmark_b M_{a}
cmark_r N
color 0 0 0
fontsize 10


% point E_{b} is given by the problem setting, but it has to belong to the circle k(N,M_{a}) which is constructible from the others objects given 
% DET:  points M_{a} and N are not the same
% Constructing a line m(H_{b}H_{c}) which passes through point M_{a} and point N
line m(H_{b}H_{c}) M_{a} N 

color 200 200 200
drawline m(H_{b}H_{c})
color 0 0 0



% NDG:  points M_{a} and N are not the same
% Constructing a circle k(N,M_{a}) whose center is at point N and which passes through point M_{a}
circle k(N,M_{a}) N M_{a} 

color 200 200 200
drawcircle k(N,M_{a})
color 0 0 0




% Generating number V[_G38800] with value 0.8973842957758738
number V[_G38800] 0.8973842957758738 


% Calculating value V[_G38821] using formula V[_G38800]*360
expression V[_G38821]  { V[_G38800]*360  } 


% Constructing a point E_{b} which is an image of the point V[_G38821] in a rotation around the point N for the angle M_{a}
rotate E_{b} N V[_G38821] M_{a} 
color 220 0 0
fontsize 11
cmark_r E_{b}
color 0 0 0
fontsize 10

color 200 200 200
drawarc_p N M_{a} V[_G38821] 
color 0 0 0


% DET:  points E_{b} and N are not the same
% Constructing a line m(H_{a}H_{c}) which passes through point E_{b} and point N
line m(H_{a}H_{c}) E_{b} N 

color 200 200 200
drawline m(H_{a}H_{c})
color 0 0 0



% NDG:  line m(H_{b}H_{c}) and circle k(N,M_{a}) intersect% DET:  points M_{a} and E_{a} must be different
% Constructing a point E_{a} which is an image of the point M_{a} in the symmetry to point/line N
sim E_{a} N M_{a} 
cmark_r E_{a}


% NDG:  line m(H_{a}H_{c}) and circle k(N,M_{a}) intersect% DET:  points E_{b} and M_{b} must be different
% Constructing a point M_{b} which is an image of the point E_{b} in the symmetry to point/line N
sim M_{b} N E_{b} 
cmark_rt M_{b}



% Constructing a free point A
point A 80 95

cmark_t A



% Constructing a point H such that AH/AE_{a}=2
towards H A E_{a} 2 
cmark_rt H
color 200 200 200
drawsegment A H 
color 0 0 0



% Constructing a point C such that AC/AM_{b}=2
towards C A M_{b} 2 
cmark_b C
color 200 200 200
drawsegment A C 
color 0 0 0



% Constructing a point B such that E_{b}B/E_{b}H=-1
towards B E_{b} H -1 
cmark_b B
color 200 200 200
drawsegment H B 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line m(H_{a}H_{c}) and circle k(N,M_{a}) intersect; line m(H_{b}H_{c}) and circle k(N,M_{a}) intersect; points M_{a} and N are not the same
% Determination conditions:  points E_{b} and M_{b} must be different; points M_{a} and E_{a} must be different; points E_{b} and N are not the same; points M_{a} and N are not the same