!set title=Tableau de proportion
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=fr
leftrange=-5.000000
rightrange=5.000000
author=Bernadette PERRIN-RIOU
email=bpr@math.u-psud.fr
computeanswer=yes
precision=10000

ansorder=r,r
varcnt=12
prevarcnt=11
postvarcnt=0
replycnt=2
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=!randint 2, 9

tmp1=!randitem 3/2,1/2,5/2

tmp2=!randitem $(tmp0), $(tmp1)

t_=!rawmath $(tmp2)
val6=!exec pari print($t_)
tmp0=!randint 3, 6

val7=$[rint($(tmp0))]
tmp0=!randint 4, 9

val8=$[rint($(tmp0))]

!ifval $val7=$val8
val8=$[rint( $val8+1)]
!endif
t_=!rawmath $val7*$val6
val9=!exec pari print($t_)
t_=!rawmath $val8*$val6
val10=!exec pari print($t_)
val11=$val6
tmp0=!randitem 1,2,3,4

val12=$(tmp0)

!ifval $val12=1
val13= $val7
!else
val13=$val9
!endif

!ifval $val12=2
val13= $val8
!endif

!ifval $val12=4
val13= $val10
!endif
replytype1=numeric
replyname1=
replygood1=$[$val13]
replytype2=numeric
replyname2=
replygood2=$[$val11]
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Complète le tableau de proportionnalité suivant :	<table align="center" border=1>	<tr align="center"><td>	 
!if $val12=1 
$() 
!read oef/embed.phtml reply 1,5 
$() 
!else
$() $val7 
!endif
$()</td><td> 
!if $val12=2 
$() 
!read oef/embed.phtml reply 1,5 
$() 
!else
$() $val8 
!endif
$()</td></tr>	<tr align="center"><td> 
!if $val12=3 
$() 
!read oef/embed.phtml reply 1,5 
$() 
!else
$() $val9 
!endif
$()</td><td>	 
!if $val12=4 
$() 
!read oef/embed.phtml reply 1,5 
$() 
!else
$() $val10 
!endif
$()</td>	</tr>	</table>	<p> Le coefficient de proportionnalité est   
!read oef/embed.phtml reply 2,6 
$().	
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=7,8,9,10,12
embedcnt=5
