input geometriesyr.mp ; %---------------------------------------------------------------------------- %Exercice : espace %---------------------------------------------------------------------------- u:=1cm; figure (-4u,-3u,4u,6u); pair O,A,B,C; path cc; O=(0,0); B=(-3u,0); C=(3u,0); A=(0,4u); cc := cercles(O,3u); draw subpath(length cc /2, length cc) of cc; cc := cc yscaled 0.2; draw subpath(0,length cc /2) of cc dashed evenly; draw subpath(length cc /2, length cc) of cc; draw B--A--C; draw B--C dashed withdots scaled 0.5; draw A--O dashed withdots scaled 0.5; trace codeperp(C,O,A,5); nomme.top(A); nomme.lft(B); nomme.rt(C); nomme.bot(O); fin; %---------------------------------------------------------------------------- % Exercice 2 géométrique %---------------------------------------------------------------------------- u:=0.5cm; figure (-2u,-2u,9u,7u); pair A,B,C,E,F; B=(0,0); C=(7u,u); A=(4u,4u); E=1.5[B,A]; F=1.5[C,A]; draw droite(A,B); draw droite(A,C); draw droite(B,C); marque_p := "croix"; MarquePoint(F); MarquePoint(E); nomme.rt(A); nomme.lrt(B); nomme.llft(C); nomme.ulft(E); nomme.urt(F); fin; %--------------------------------------------------------------------------- end ;