!set title=Calculer un produit.
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=fr
author=Guerimand Fabrice
email=fwguerima@free.fr
computeanswer=no
precision=10000

ansorder=r,r
varcnt=22
prevarcnt=21
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=!randitem 2,3,5,6,7,10,11

val6=$[rint($(tmp0))]
tmp0=!randitem 2,3,5,6,7,10,11

val7=$[rint($(tmp0))]
val8=$[rint($val6*$val7^2)]
tmp0=!randitem 2,3,5

val9=$[rint($(tmp0))]
val10=$[rint($val6*$val9)]
val11=$[rint($val8*$val9)]
val12=$[rint($val6*$val7)]
tmp=!trim \sqrt{$val6}\times\sqrt{$val8},$val12	\sqrt{$val6}\times\sqrt{$val6},$val6	\sqrt{$val6}\times\sqrt{$val11},$val12*sqrt($val9)	\sqrt{$val10}\times\sqrt{$val8},$val12*sqrt($val9)	\sqrt{$val10}\times\sqrt{$val6},$val6*sqrt($val9)	\sqrt{$val6}\times\sqrt{$val10},$val6*sqrt($val9)
val13=!translate internal $	\
$ to ;; in $tmp
tmp=!translate internal $	$ to ; in $val13

tmp=!nonempty rows $tmp
tmp=!randrow $tmp
tmp0=!translate internal $\
$ to ; in $tmp
val14=$(tmp0)
tmp0=!item 1 of $val14

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

val16=$(tmp0)
tmp0=!randint 1, 3

val17=$[rint($(tmp0))]
val18=$[rint($val16*10^($val17))]
val18=$[$val18/10^($val17)]
val18=$val18
val19=dixième,centième,millième
tmp0=!item $val17 of $val19

val20=$(tmp0)
val20=au $val20
val21=$[10^(-$val17)]
val21=à \($val21)
tmp0=!randitem $val20,$val21

val22=$(tmp0)
replytype1=algexp
replyname1=Ecriture simplifiée
replygood1=$val16
replytype2=litexp
replyname2=Valeur approchée
replygood2=$val18
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Simplifier puis calculer la valeur approchée $val22 près du nombre 
!insmath $val15
$().<br>	(vous devez taper sqrt(2) pour 
!insmath \sqrt{2}
$() )
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=15,22
embedcnt=0
