input geometriesyr12;
figure(0,0,8u,6u);
pair A,B,C,M,N;
A=u*(1,1);
B=u*(7,2);
C=u*(3,5);
trace triangle(A,B,C);
M=3/5[A,B];
N=3/5[A,C];
trace droite(M,N);
trace droite(B,C);
trace marque_para(droite(M,N),droite(C,B),0.7) withcolor vert;
nomme.llft(A);
nomme.bot(B);
nomme.urt(C);
nomme.llft(M);
nomme.top(N);
fin;
figure(0,0,8u,6u);
pair A,B,C,M,N;
A=u*(1,2);
B=u*(5,1);
C=u*(2,4);
M=7/5[A,B];
N=7/5[A,C];
trace droite(M,N);
trace droite(B,C);
trace demidroite(A,C);
trace demidroite(A,B);
trace marque_para(droite(M,N),droite(C,B),0.85) withcolor vert;
nomme.llft(A);
nomme.bot(B);
nomme.rt(C);
nomme.llft(M);
nomme.rt(N);
fin;
figure(0,0,8u,6u);
pair P,S,R,T,M;
P=u*(1,2);
R=u*(6,1);
M=u*(4,5);
trace triangle(P,R,M);
S=9/13[P,R];
T=9/13[P,M];
trace droite(S,T);
trace droite(R,M);
trace marque_para(droite(S,T),droite(M,R),0.7) withcolor vert;
nomme.llft(P);
nomme.lrt(R);
nomme.rt(M);
nomme.lft(T);
nomme.bot(S);
trace appelation(P,S,-3mm,btex 9 etex);
trace cotationmil(P,R,-1cm,10,btex 13 etex);
trace appelation(T,S,2mm,btex 7 etex);
fin;
end