!set title=Relazioni
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
author=Marina, Cazzola
email=marina.cazzola@unimib.it
language=it
leftrange=-5.000000
rightrange=5.000000
computeanswer=no
precision=10000

ansorder=c
varcnt=41
prevarcnt=40
postvarcnt=0
replycnt=0
choicecnt=1
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 1, 12

val6=$[rint($(tmp0))]
tmp0=!randint 1, 4

val7=$[rint($(tmp0))]
val8=1,2,3,4,5,6
tmp0=!shuffle $val8

val9=$(tmp0)
tmp0=!item 1 of $val9

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

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

val12=$(tmp0)
tmp0=!item 4 of $val9

val13=$(tmp0)
tmp0=!item 5 of $val9

val14=$(tmp0)
tmp0=!item 6 of $val9

val15=$(tmp0)
val16=($val10,$val10),($val11,$val11),($val12,$val12),($val13,$val13),($val14,$val14),($val15,$val15)
val17=($val10,$val10),($val11,$val11),($val12,$val12),($val13,$val13),($val14,$val14),($val15,$val15),($val13,$val14),($val14,$val13)
val18=($val10,$val10),($val11,$val11),($val12,$val12),($val13,$val13),($val14,$val14),($val15,$val15),($val12,$val11),($val11,$val15),($val15,$val12),($val13,$val14),($val14,$val13)
val19=($val10,$val10),($val11,$val11),($val12,$val12),($val15,$val15),($val13,$val14),($val14,$val13)
val20=($val11,$val11),($val12,$val12),($val11,$val12),($val12,$val11),($val13,$val14),($val14,$val15),($val13,$val15)
val21=($val10,$val10),($val11,$val11),($val12,$val12),($val13,$val13),($val14,$val14),($val15,$val15),($val11,$val12),($val12,$val15)
val22=($val10,$val11),($val10,$val12),($val11,$val12),($val12,$val14),($val12,$val15),($val15,$val14),($val14,$val13)
val23=($val10,$val10),($val11,$val11),($val12,$val12),($val13,$val13),($val14,$val14),($val15,$val15),($val13,$val10),($val12,$val15)
val24=($val10,$val11),($val10,$val12),($val11,$val12),($val12,$val15),($val15,$val14),($val14,$val13),($val13,$val13)
val25=($val10,$val13),($val10,$val14),($val13,$val14),($val11,$val12),($val11,$val15),($val12,$val15),($val15,$val12)
val26=($val10,$val10),($val11,$val11),($val13,$val13),($val14,$val14),($val15,$val15),($val13,$val14),($val14,$val13)
val27=($val10,$val10),($val11,$val11),($val12,$val12),($val13,$val13),($val14,$val14),($val15,$val15),($val12,$val11),($val15,$val11),($val15,$val12),($val13,$val14),($val14,$val13)
val28=1,1,1,1, 	1,1,1,0,	1,0,0,0,	0,1,0,0,	0,0,1,0,	1,0,0,1,	0,0,0,1,	1,0,1,1,	0,0,0,1,	0,0,1,0,	0,1,1,0,	1,0,1,0	
val29=riflessiva,simmetrica,transitiva,antisimmetrica
tmp0=!item $val7 of $val29

val30=$(tmp0)

!ifval $val6=1
val31= $val16
!endif

!ifval $val6=2
val31= $val17
!endif

!ifval $val6=3
val31= $val18
!endif

!ifval $val6=4
val31= $val19
!endif

!ifval $val6=5
val31= $val20
!endif

!ifval $val6=6
val31= $val21
!endif

!ifval $val6=7
val31= $val22
!endif

!ifval $val6=8
val31= $val23
!endif

!ifval $val6=9
val31= $val24
!endif

!ifval $val6=10
val31= $val25
!endif

!ifval $val6=11
val31= $val26
!endif

!ifval $val6=12
val31= $val27
!endif
tmp0=!sort items $val31

val32=$(tmp0)
tmp0=!item 4*($val6-1)+$val7 of $val28

val33=$(tmp0)

!ifval $val33=1
val34= si
!else
val34=no
!endif
choicename1=$val30
choicegood1=$val34
choicebad1=si,no
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Si consideri l'insieme 
!insmath A=\{$val8\}
$(). 	Dire se la seguente relazione su 
!insmath A
$() è $val30	<div class="wimscenter">	
!insmath R=\{$val32\}
$()	</div>
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:latex
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=8,30,32
embedcnt=0
