!set title=Classer des fonctions (6 fonctions).
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=fr
leftrange=-5.000000
rightrange=5.000000
author=Guerimand Fabrice
email=fwguerima@free.fr
computeanswer=no
precision=10000

ansorder=r
varcnt=31
prevarcnt=25
postvarcnt=5
replycnt=1
choicecnt=0
conditioncnt=1
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(3)]
val7=175x50x4
tmp0=!randint 2, 10

val8=$[rint($(tmp0))]
tmp0=!randitem -1,1

tmp1=!randint 2, 10

val9=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 11

val10=$[rint($(tmp0))]
tmp0=!randitem -1,1

tmp1=!randint 2, 100

val11=$[rint($(tmp0)*$(tmp1))]
val11=$[$val11/10]
tmp0=!randint 2, 100

val12=$[rint($(tmp0))]
val12=$[$val12/10]
tmp0=!randitem -1,1

tmp1=!randitem 3,5,9,15

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

tmp1=!randitem 2,7,4,8,14

val14=$[rint($(tmp0)*$(tmp1))]
tmp=!trim \sqrt{$val8}x,$val9 x,$val12 x,\frac{$val13}{$val14}x,\frac{\sqrt{$val8}}{$val14}x	\sqrt{$val8}x+$val10,\sqrt{$val8}x-$val10,$val9 x+$val8,$val9 x-$val8,$val13 x+$val12,$val13 x-$val12,\frac{$val13}{$val14}x+$val8,\frac{\sqrt{$val8}}{$val14} x-$val10,\frac{$val13}{$val14}x+\frac{$val8}{$val10},$val9(x+$val10),\cos($val8 x),\sin($val9 x),tan($val10 x),$val9 x^2+$val8 x+$val10,\sqrt{$val8}x^2+$val12 x+$val10, \frac{$val13}{$val14}x^2+\frac{$val8}{$val9} x+$val10,$val9 x^2,(x+$val10)(x+$val8),(x+$val12)^2,(x-$val10)^2
val15=!translate internal $	\
$ to ;; in $tmp
tmp=!trim 
val16=!translate internal $	\
$ to ;; in $tmp
!for val17 =1 to 2 
tmp=!translate internal $	$ to ; in $val15

tmp=!row $val17 of $tmp
tmp0=!translate internal $\
$ to ; in $tmp
val18=$(tmp0)
tmp0=!shuffle $val18

val18=$(tmp0)
val19=
!for val20 =1 to $val6 
tmp0=!item $val20 of $val18

val21=$(tmp0)
val21=\(x\mapsto $val21)
tmp0=!append item $val21 to $val19

val19=$(tmp0)
!next
tmp0=!append line $val19 to $val16

val16=$(tmp0)
!next
tmp=!translate internal $	$ to ; in $val16

tmp=!row 1 of $tmp
tmp0=!translate internal $\
$ to ; in $tmp
val22=$(tmp0)
tmp=!translate internal $	$ to ; in $val16

tmp=!row 2 of $tmp
tmp0=!translate internal $\
$ to ; in $tmp
val23=$(tmp0)
val24=$val22,$val23
replytype1=clickfill
replyname1=Liste des fonctions linéaires
replygood1=?analyze 25;$val24
question=__EXECUTED_1692754_EXERCISE__
solution=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Parmi les fonctions suivantes lesquelles sont linéaires ? <br>	 
!read oef/embed.phtml r1,$val7 
$()
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()<ul>	<li>Fonctions linéaires : <br>	$val22</li>	</ul>
$()
!exit

:postdef
val26=$val25,$val22
tmp0=!listuniq $val26

val26=$(tmp0)
tmp0=!itemcnt $val26

val27=$[rint($(tmp0))]
tmp0=!listuniq $val25

val25=$(tmp0)
tmp0=!itemcnt $val25

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

!exit

:feedback

!exit

:test

!ifval $val27=$val6 and $val28=$val6
 condtest1=1
!else
 condtest1=0
!endif
condname1=Fonctions linéaires :

!exit

:stat
vsavelist=6,7,22,25
embedcnt=1
