# Definition of an exercise ruler & compass.
# syntax of the file.
# points:  each line defines a point.  x,y
# lines:   each line defines two points on a line.   x1,y1,x2,y2,type
#          type: 1 (segment), 2 (line), 3 (semiline direct), 4 (semiline inverse)
#	   type is facultative, defaulting to 1.
# circles: each line defines a circle. x,y,r,n
#	   where (x,y) is the center, r=radius,
#          n is the number of point for the center (if n>0).
# goal: each line defines an object. First item is the type of the object
# (point,line or circle), the rest are parameters (same as above).
# goal_text: text explaining the goal. (language-dependent)

title=Trisection d'un angle arbitraire
boundary=circles
theta=!random pi*0.2,pi*0.6
points=-0.5,0.5\
1,0.5
lines=-0.5,0.5,1,0.5,3\
-0.5,0.5,cos($theta)-0.5,-sin($theta)+0.5,3

goal=line,-0.5,0.5,cos($theta/3)-0.5,-sin($theta/3)+0.5,3\
line,-0.5,0.5,cos(2*$theta/3)-0.5,-sin(2*$theta/3)+0.5,3
goal_text=diviser l'angle de dpart par 3. Il est mathmatiquement \
prouv que c'est impossible; mais si vous pensez que vous avez une\
combine pour contredire ce thorme, rien ne vous empche de la tester\
ici sur cet angle
hint=Je n'ai pas d'indication  vous donner, car moi, je crois que\
c'est impossible.

