Construction in GCLC language


dim 120 120

point M_{a} 65 40
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

cmark_b M_{a}
cmark_rt H_{b}
color 0 0 0
fontsize 10


% point C 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_{b} 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_{b}
circle k(M_{a},B) M_{a} H_{b} 

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




% Generating number V[_G23624] with value 0.41723760511733476
number V[_G23624] 0.41723760511733476 


% Calculating value V[_G23645] using formula V[_G23624]*360
expression V[_G23645]  { V[_G23624]*360  } 


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

color 200 200 200
drawarc_p M_{a} H_{b} V[_G23645] 
color 0 0 0



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


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

color 200 200 200
drawline b
color 0 0 0




% Constructing a point A such that CA/CH_{b}=0.41723760511733476
towards A C H_{b} 0.41723760511733476 
cmark_t A
color 200 200 200
drawsegment C H_{b} 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

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