!set title=Numerador ignorado inverso
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=fr
author=XIAO, Gang
email=xiao@unice.fr
computeanswer=no
precision=10000

ansorder=r
varcnt=32
prevarcnt=31
postvarcnt=0
replycnt=1
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=numerador
tmp0=!randitem 1,3

val7=$(tmp0)
val8=&times;
val9=1,2,3,4,5,6,8,10
tmp0=!itemcnt $val9

val10=$[rint($(tmp0))]
val11=1/2,3/2,5/2,1/3,2/3,4/3,5/3,	1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6
val12=
!for val13  in $val11 
tmp0=!translate / to , in $val13

val14=$(tmp0)
tmp0=!values $(val14[1])*x for x in $val9

val15=$(tmp0)
tmp0=!values $(val14[2])*x for x in $val9

val16=$(tmp0)
val17=
!for val18 =1 to $val10 
tmp0=!append item $(val15[$val18])/$(val16[$val18]) to $val17

val17=$(tmp0)
!next
tmp0=!shuffle $val17

tmp=!trim $val12	$(tmp0)
val12=!translate internal $	\
$ to ;; in $tmp
!next
tmp=!translate internal $	$ to ; in $val12

tmp=!nonempty rows $tmp
tmp=!randrow $tmp
tmp0=!translate internal $\
$ to ; in $tmp
val11=$(tmp0)
tmp0=!translate internal / to , in $(val11[1])

val19=$(tmp0)
tmp0=!translate internal / to , in $(val11[2])

val20=$(tmp0)
!if $val8 issametext &times; 
val20=$(val20[2,1])
!endif
!if $val8 issametext + 
val21=$[rint(min($(val19[1]),$(val19[2])))]
val22=$[rint(max($(val19[1]),$(val19[2])))]
val23=$[rint(max($(val20[1]),$(val20[2])))]
val24=$[rint(($val22-$val21)*$val23/$val22)]
val19=$val21,$val22
val20=$val24,$val23
!endif
tmp0=!item $val7 of $val19,$val20

val25=$(tmp0)
val26=<HR noshade size=2>
val27=60
val28=<font size=+2>
val29=</font>
val30=2
replytype1=numeric
replyname1=El $val6
replygood1=$[$val25]
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Rellena el $val6 siguiente para establecer la igualdad:	<p><center><table border=0>	<tr>	<td align=center>$val28	 
!if $val7=1 
$() 
!read oef/embed.phtml reply 1,$val30 
$() 
!else
$() $(val19[1]) 
!endif
$()$val29</td>		<td align=center rowspan=3>$val28&nbsp;&nbsp;$val8&nbsp;&nbsp;$val29</td>	<td align=center>$val28	 
!if $val7=3 
$() 
!read oef/embed.phtml reply 1,$val30 
$() 
!else
$() $(val20[1]) 
!endif
$()$val29</td>	<td align=center rowspan=3>$val28&nbsp;&nbsp;=&nbsp;&nbsp;1$val29</td>	</tr><tr>	<td align=center width=$val27>$val26</td>	<td align=center width=$val27>$val26</td>	</tr><tr>	<td align=center>$val28	 
!if $val7=2 
$() 
!read oef/embed.phtml reply 1,$val30 
$() 
!else
$() $(val19[2]) 
!endif
$()$val29</td>	<td align=center>$val28	 
!if $val7=4 
$() 
!read oef/embed.phtml reply 1,$val30 
$() 
!else
$() $(val20[2]) 
!endif
$()$val29</td>	</tr></table></center>	
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=6,7,8,19,20,26,27,28,29,30
embedcnt=4
