| 1 |
input geom2d; |
| 2 |
|
| 3 |
labeloffset := 6; |
| 4 |
gddU:=1.2cm; |
| 5 |
|
| 6 |
vardef f(expr t) = sin(2*t+Pi/3) enddef; |
| 7 |
vardef g(expr t) = sin(3*t) enddef; |
| 8 |
|
| 9 |
beginfig(1); |
| 10 |
Repere(8,8,4,4,3,3); |
| 11 |
Axes; |
| 12 |
Debut; |
| 13 |
Graduations; Unites(1); |
| 14 |
|
| 15 |
drawoptions(withcolor LightSlateGrey); |
| 16 |
trace ((-1,-1)--(-1,1)--(1,1)--(1,-1)--cycle); |
| 17 |
trace ((-1,-1)--(1,1)); |
| 18 |
trace (1,-1)--(-1,1); |
| 19 |
trace Cercle(origine,1); |
| 20 |
trace ((-1,0.5)--(1,0.5)); |
| 21 |
trace ((-1,-0.5)--(1,-0.5)); |
| 22 |
trace ((0.5,-1)--(0.5,1)); |
| 23 |
trace ((-0.5,-1)--(-0.5,1)); |
| 24 |
trace ((-1,sqrt(3)/2)--(1,sqrt(3)/2)); |
| 25 |
trace ((-1,-sqrt(3)/2)--(1,-sqrt(3)/2)); |
| 26 |
trace ((sqrt(3)/2,-1)--(sqrt(3)/2,1)); |
| 27 |
trace ((-sqrt(3)/2,-1)--(-sqrt(3)/2,1)); |
| 28 |
|
| 29 |
trace Courbe(f,g,0,2*Pi,500) avecCrayon(1.5,Orchid); |
| 30 |
|
| 31 |
pointe Point(0,0); |
| 32 |
|
| 33 |
Fin; |
| 34 |
endfig; |
| 35 |
end |