!set title=Regla y números relativos 
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=es
leftrange=-5.000000
rightrange=5.000000
author=Bernadette PERRIN-RIOU
email=bpr@math.u-psud.fr
computeanswer=no
precision=1000

ansorder=r,r,r,r
varcnt=19
prevarcnt=18
postvarcnt=0
replycnt=4
choicecnt=0
conditioncnt=0
feedbackcnt=0
format=html

val1=$imagedir
val2=$confparm1
val3=$confparm2
val4=$confparm3
val5=$confparm4

!if $testcondition=yes
 !goto test
!endif
!if $status=waiting
 !exit
!endif

val6=$[rint(5)]
val7=0
val8=
!for val9 =-$val6 to $val6 
val7=$[rint($val9*1)]
val10=$[rint($val9)]
val8=$val8	text  blue, $val10,-1,  medium,$val7
!next
val11=$val6
!for val9 =1 to 10*$val6 
val12=$[-$val6+2*$val9*0.1]
val11=$val11,$val12
!next
tmp0=!shuffle $val11

val11=$(tmp0)
tmp0=!item 1 of $val11

val13=$(tmp0)
tmp0=!item 2 of $val11

val14=$(tmp0)
tmp0=!item 3 of $val11

val15=$(tmp0)
tmp0=!item 4 of $val11

val16=$(tmp0)
!if $val13>=0 and $val14>=0 and $val15>=0 and $val16>=0 
val13=$[-$val13]
val16=$[-$val16]
!endif
replyname1=a
replygood1=$val13
replyname2=b
replygood2=$val14
replyname3=c
replygood3=$val15
replyname4=d
replygood4=$val16
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()En la siguiente recta graduada, dar el valor de los puntos anotados:	<center> 
!read oef/draw.phtml 600,50 \
xrange -$val6-0.1,$val6+0.1	yrange -2,2.2	hline black,0,0	arrow  2.5,0,$val6,0,10,black	parallel  -$val6,-0.8,-$val6,0.4,1/2,0, 40, blue	parallel  -$val6,-0.3,-$val6,0.3,1/10,0, 200, blue	parallel  -$val6,-0.8,-$val6,0.6,1,0, 40, red	$val8	text black, $val13+0.1,2.2,  medium,a	text black, $val14+0.1,2.2,  medium,b	text black, $val15+0.1,2.2,  medium,c	text black, $val16+0.1,2.2,  medium,d	arrow $val13,2,$val13,0, 8, black	arrow $val14,2,$val14,0, 8, black	arrow $val15,2,$val15,0, 8, black	arrow $val16,2,$val16,0, 8, black	 
$()	</center>	
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=6,8,13,14,15,16
embedcnt=0
