blob: 35ba629654a5998c510d08a5e01ab4dc6ee4cfc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
input geom2d;
labeloffset := 6;
gddU:=1.5cm;
vardef r(expr t) = 4*cos(t/3)*cos(t/3)*cos(t/3) enddef;
vardef rp(expr t) = (r(t)*cos(t),r(t)*sin(t)) enddef;
def traceDoubleVecteur(expr o,d)= drawdblarrow ((o-d)--(o+d)) gddEnPlace enddef;
beginfig(1);
Repere(8,8,2,4,1,1);
Axes;
Debut;
Graduations; Unites(1);
drawoptions(withcolor Gainsboro);
trace CourbeEnPolaires(r,0,3Pi,450)
avecCrayon(1.5,Crimson);
drawoptions(withcolor LightGoldenrod);
pointe Point(0,0);
Fin;
endfig;
end
|