!set title=Sustitución-prioridad
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=es
leftrange=-5.000000
rightrange=5.000000
author=Guerimand Fabrice
email=fwguerima@free.fr
computeanswer=no
precision=100

ansorder=r
varcnt=14
prevarcnt=13
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

tmp0=!randitem -1,1

tmp1=!randint 2, 15

val6=$[rint($(tmp0)*$(tmp1))]
tmp0=!randitem -1,1

tmp1=!randint 2, 15

val7=$[rint($(tmp0)*$(tmp1))]
tmp0=!randitem -1,1

tmp1=!randint 2, 15

val8=$[rint($(tmp0)*$(tmp1))]
tmp=!trim a,b,c	x,y,z	u,v,w
val9=!translate internal $	\
$ to ;; in $tmp
tmp0=!randitem 1,2,3

tmp=!translate internal $	$ to ; in $val9

tmp=!row $(tmp0) of $tmp
tmp1=!translate internal $\
$ to ; in $tmp
val9=$(tmp1)
tmp0=!item 1 of $val9

val10=$(tmp0)
tmp0=!item 2 of $val9

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

val12=$(tmp0)
tmp=!trim $val10$val11+$val12,($val6)*($val7)+($val8)	$val10+$val11$val12,($val6)+($val7)*($val8)	$val10($val11+$val12),($val6)*($val7+($val8))	($val10+$val11)$val12,($val6+($val7))*($val8)	$val10$val11-$val12,($val6)*($val7)-($val8)	$val10-$val11$val12,($val6)-($val7)*($val8)	$val10($val11-$val12),($val6)*($val7-($val8))	($val10-$val11)$val12,($val6-($val7))*($val8)
val13=!translate internal $	\
$ to ;; in $tmp
tmp0=!randint 1, 8

val14=$[rint($(tmp0))]
tmp=!translate internal $	$ to ; in $val13

tmp=!row $val14 of $tmp
tmp0=!translate internal $\
$ to ; in $tmp
val15=$(tmp0)
tmp0=!item 1 of $val15

val16=$(tmp0)
tmp0=!item 2 of $val15

val17=$[rint($(tmp0))]
replytype1=numexp
replyname1=Respuesta
replygood1=$[$val17]
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Para 
!insmath $val10=$val6 , $val11=$val7 , $val12=$val8
$(), calcular la expresión siguiente: <center>
!insmath $val16
$().</center>
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=6,7,8,10,11,12,16
embedcnt=0
