!set title=Combinación lineal
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=en
leftrange=-5.000000
rightrange=5.000000
author=Gang XIAO
email=xiao@unice.fr
computeanswer=no
precision=1000000

ansorder=r,r,r,r
varcnt=13
prevarcnt=12
postvarcnt=0
replycnt=4
choicecnt=0
conditioncnt=2
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, 10

tmp1=!randitem -1,1

val6=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val7=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val8=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

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

tmp1=!randitem -1,1

val10=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

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

tmp1=!randitem -1,1

val12=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val13=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val14=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val15=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val16=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint 2, 10

tmp1=!randitem -1,1

val17=$[rint($(tmp0)*$(tmp1))]
replyname1=a
replygood1=?analyze 18
replyname2=b
replygood2=?analyze 19
replyname3=c
replygood3=?analyze 20
replyname4=d
replygood4=?analyze 21
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Tenemos 4 vectores del espacio:	<p><center>	 v<sub>1</sub> = ($val6,$val10,$val14) ,	 v<sub>2</sub> = ($val7,$val11,$val15) ,	 v<sub>3</sub> = ($val8,$val12,$val16) ,	 v<sub>4</sub> = ($val9,$val13,$val17) .	</center> <p>		Hallar 4 enteros a,b,c,d tal que	<p><center>	 a v<sub>1</sub> + b v<sub>2</sub> + c v<sub>3</sub> + d	 v<sub>4</sub> = 0 ,	</center> <p>	con la condición de que  los enteros a,b,c,d no sean todos nulos.	
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!ifval abs($val18)+abs($val19)+abs($val20)+abs($val21)>0 and	abs(round($val18)-($val18))<=0 and	abs(round($val19)-($val19))<=0 and	abs(round($val20)-($val20))<=0 and	abs(round($val21)-($val21))<=0	
 condtest1=1
!else
 condtest1=0
!endif
condname1=a,b,c son enteros y no todos nulos

!ifval ($val6)*($val18)+($val7)*($val19)+($val8)*($val20)+($val9)*($val21)=0 and	($val10)*($val18)+($val11)*($val19)+($val12)*($val20)+($val13)*($val21)=0 and	($val14)*($val18)+($val15)*($val19)+($val16)*($val20)+($val17)*($val21)=0	
 condtest2=1
!else
 condtest2=0
!endif
condname2=La suma algebraica de los vectores es cero

!exit

:stat
vsavelist=6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21
embedcnt=0
