!if $al=1

temp1=!randint 1,2
temp2=!randint -3,3
temp3=!randint -6,6

fonc=$temp1*(x-$temp2)^2-(y-$temp3)^2

xm=-5
xM=5

ym=-5
yM=5

!endif

!if $al=2

temp1=!randint 1,2
temp2=!randint 0,3
temp3=!randint 0,6

fonc=$temp1*x*y+(x*$temp2)+(y*$temp3)

xm=0
xM=10

ym=0
yM=10

!endif


!if $al=3

temp1=!randint 2,3
temp2=!randint -3,3
temp3=!randint 0,6

fonc=10*sqrt($temp1*(x-$temp2)^2+(y-$temp3)^2+10)

xm=-5
xM=5

ym=-5
yM=5

!endif

!if $al=4

temp1=!randint 1,5
temp2=!randint 1,5
temp3=!randitem x,y
temp4=!randint 0,1


fonc=x*y*$temp3+$temp1*x+$temp2*y+$temp3*$temp3*$temp4

xm=0
xM=10

ym=0
yM=10


!endif