Construction in GCLC language


dim 120 120

point M_{c} 50 67.5
point H_{a} 80 40

color 220 0 0
fontsize 11

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


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

color 200 200 200
drawcircle k(M_{c},A)
color 0 0 0




% Generating number V[_G28247] with value 0.695961066957191
number V[_G28247] 0.695961066957191 


% Calculating value V[_G28268] using formula V[_G28247]*360
expression V[_G28268]  { V[_G28247]*360  } 


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

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



% Constructing a point A such that BA/BM_{c}=2
towards A B M_{c} 2 
cmark_t A
color 200 200 200
drawsegment B A 
color 0 0 0


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

color 200 200 200
drawline a
color 0 0 0




% Constructing a point C such that BC/BH_{a}=0.695961066957191
towards C B H_{a} 0.695961066957191 
cmark_b C
color 200 200 200
drawsegment B H_{a} 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

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