Construction in GCLC language


dim 120 120

point M_{a} 65 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_b M_{a}
cmark_lt H_{c}
color 0 0 0
fontsize 10


% point B is given by the problem setting, but it has to belong to the circle k(M_{a},B) which is constructible from the others objects given 
% NDG:  points H_{c} and M_{a} are not the same
% Constructing a circle k(M_{a},B) whose center is at point M_{a} and which passes through point H_{c}
circle k(M_{a},B) M_{a} H_{c} 

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




% Generating number V[_G21944] with value 0.8422965455277319
number V[_G21944] 0.8422965455277319 


% Calculating value V[_G21965] using formula V[_G21944]*360
expression V[_G21965]  { V[_G21944]*360  } 


% Constructing a point B which is an image of the point V[_G21965] in a rotation around the point M_{a} for the angle H_{c}
rotate B M_{a} V[_G21965] H_{c} 
color 220 0 0
fontsize 11
cmark_b B
color 0 0 0
fontsize 10

color 200 200 200
drawarc_p M_{a} H_{c} V[_G21965] 
color 0 0 0



% Constructing a point C such that BC/BM_{a}=2
towards C B M_{a} 2 
cmark_b C
color 200 200 200
drawsegment B C 
color 0 0 0


% DET:  points B and H_{c} are not the same
% Constructing a line c which passes through point B and point H_{c}
line c B H_{c} 

color 200 200 200
drawline c
color 0 0 0




% Constructing a point A such that BA/BH_{c}=0.8422965455277319
towards A B H_{c} 0.8422965455277319 
cmark_t A
color 200 200 200
drawsegment B H_{c} 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  points H_{c} and M_{a} are not the same
% Determination conditions:  points B and H_{c} are not the same