7 lblPreambule := "\usepackage[frenchb]{babel}" &
8 "\usepackage[garamond]{mathdesign}" &
9 "\usepackage{amsmath}";
17 vardef f(expr t) = 2*sin(t) enddef;
18 vardef g(expr t) = 2*cos(t)*cos(t)/(2-cos(t)) enddef;
19 vardef h(expr t) = -t*(1+f(t)) enddef;
21 def avecCrayon(expr t,c) = withpen pencircle scaled t withcolor c enddef;
23 def traceDoubleVecteur(expr o,d)= drawdblarrow ((o-d)--(o+d)) gddEnPlace enddef;
26 bicorne = Courbe(f,g,-Pi,Pi,200)--cycle;
33 Repere(9,6,4.5,1,2,2);
37 Graduations; Unites(1);
39 ColorieAvecTransparence(bicorne,CadetBlue,0.2);
41 traceDoubleVecteur((0,2),(0.5,0)) avecCrayon(1,Crimson);
42 traceDoubleVecteur((0,2/3),(0.5,0)) avecCrayon(1,Crimson);
43 trace Vecteur((2,0),(1.6,0.4)) avecCrayon(1,Crimson);
44 trace Vecteur((-2,0),(-1.6,0.4)) avecCrayon(1,Crimson);
46 trace bicorne avecCrayon(1.5,CadetBlue);