input geometriesyr.mp ; %---------------------------------------------------------------------------- % Exercice 1 %---------------------------------------------------------------------------- u:=0.25cm; figure (-22u,-8u,30u,18u); pair I,J,K,H,A,B,G,P; G=(0,0); B=(3.66u,0); A=symetrie(B,G); P=(0,9u); K=(20.16u,0); H=symetrie(K,G); J= K shifted (0,16.5u); I= H shifted (0,16.5u); draw droite(H,K); draw H--I--J--K; draw A--P--B; draw P--G dashed evenly; draw A--J dashed evenly; draw G--J dashed evenly; trace codesegments(A,G,G,B,2); trace codeperp(P,G,A,5); trace codeperp(J,K,H,5); cotation(J,K,10mm,5mm,btex 16,5m etex rotated 90); cotation(B,A,5mm,2mm,btex 7,32m etex rotated 180); cotation(K,H,10mm,2mm,btex 40,32m etex rotated 180); nomme.top(I); nomme.top(J); nomme.lrt(K); nomme.llft(H); nomme.llft(A); nomme.bot(G); nomme.lrt(B); nomme.top(P); fin; %--------------------------------------------------------------------------- %---------------------------------------------------------------------------- % Exercice 1 géométrique %---------------------------------------------------------------------------- u:=0.75cm; figure (-8u,-8u,8u,8u); pair L,M,N,R,S,T,U; R=(0,0); S=(0,-7.5u); L=(0,-4.5u); T=(-3u,u); U=(5u,2u); M=3/7.5[S,T]; N=3/7.5[S,U]; draw R--T--U--cycle; draw R--S; draw T--S; draw S--U; draw M--L--N; draw M--N dashed evenly; trace codeperp(T,R,S,5); trace codeperp(T,R,U,5); trace codeperp(S,R,U,5); nomme.lrt(L); nomme.llft(M); nomme.lrt(N); nomme.top(R); nomme.ulft(T); nomme.urt(U); nomme.bot(S); fin; %--------------------------------------------------------------------------- %--------------------------------------------------------------------------- end ;