input geometriesyr.mp ; %---------------------------------------------------------------------------- %Problème : partie I %---------------------------------------------------------------------------- u:=0.5cm; figure (-u,-u,13u,10u); pair L,A,H,C; A=(0,0); C=(12u,0); L=(0,9u); H=projection(A,L,C); draw L--A--C--cycle; draw A--H; trace codeperp(A,H,C,5); trace codeperp(L,A,C,5); nomme.top(L); nomme.bot(A); nomme.bot(C); nomme.urt(H); fin; %---------------------------------------------------------------------------- %Problème : partie II %---------------------------------------------------------------------------- u:=0.5cm; figure (-u,-u,13u,10u); pair L,A,H,C; A=(0,0); C=(12u,0); L=(0,9u); H=projection(A,L,C); draw L--A--C--cycle; draw A--H; trace codeperp(A,H,C,5); trace codeperp(L,A,C,5); nomme.top(L); nomme.bot(A); nomme.bot(C); nomme.urt(H); pair M; M=0.3[C,L]; nomme.urt(M); draw A--M; fin; %---------------------------------------------------------------------------- %Exercice : espace %---------------------------------------------------------------------------- u:=1cm; figure (-u,-u,7u,7u); pair A,B,C,D,E,F,G,H; pair V; V=(1.5u,u); A=(0,0); D=(3u,0); H=(3u,4u); E=(0,4u); F= E shifted V; G= H shifted V; C= D shifted V; B= A shifted V; draw A--D--H--E--cycle; draw E--F--G--H; draw G--C--D; draw D--G; draw A--B--C dashed evenly; draw B--F dashed evenly; draw A--G dashed evenly; draw B--G dashed evenly; nomme.bot(A); nomme.lrt(B); nomme.rt(C); nomme.bot(D); nomme.lft(E); nomme.top(F); nomme.top(G); nomme.ulft(H); fin; %---------------------------------------------------------------------------- % Exercice 1 géométrie %---------------------------------------------------------------------------- u:=0.5cm; figure (-4u,-3u,10u,5u); pair A,B,C,L,R,T,E; L=(0,0); T=(9u,0); E=(-3u,0); path ll,tt; ll=cercles(L,6u); tt=cercles(T,5u); tt:=subpath(0,length tt /2)of tt; C= ll intersectionpoint tt; A=0.8[L,C]; R=0.8[L,T]; B=4/3[C,L]; trace droite(L,C); trace droite(L,T); trace droite(C,T); trace droite(A,R); trace droite(E,B); nomme.ulft(L); nomme.top(A); nomme.top(B); nomme.top(C); nomme.urt(E); nomme.urt(R); nomme.urt(T); fin; %--------------------------------------------------------------------------- end ;