!set title=Volumen del tetraedro
!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=10000

ansorder=r
varcnt=28
prevarcnt=27
postvarcnt=0
replycnt=1
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

val6=$[rint(5)]
val7=$[rint($val6*2)]
tmp0=!randint -$val6, $val6-2

val8=$[rint(2*$(tmp0)+1)]
tmp0=!randint -$val6, $val6

val9=$[rint(2*$(tmp0))]
tmp0=!randint -$val7, $val7

val10=$[rint($(tmp0))]
tmp0=!randint -$val7, $val7

val11=$[rint($(tmp0))]
tmp0=!randint -$val6, $val6-2

val12=$[rint(2*$(tmp0)+1)]
tmp0=!randint -$val7, $val7

val13=$[rint($(tmp0))]
tmp0=!randint -$val7, $val7

val14=$[rint($(tmp0))]
tmp0=!randint -$val7, $val7

val15=$[rint($(tmp0))]
tmp0=!randint -$val6, $val6-2

val16=$[rint(2*$(tmp0)+1)]
tmp0=!randint -$val7, $val7

val17=$[rint($(tmp0))]
tmp0=!randint -$val7, $val7

val18=$[rint($(tmp0))]
tmp0=!randint -$val7, $val7

val19=$[rint($(tmp0))]
val20=$[rint($val17+$val8)]
val21=$[rint($val18+$val9)]
val22=$[rint($val19+$val10)]
val23=$[rint($val17+$val11)]
val24=$[rint($val18+$val12)]
val25=$[rint($val19+$val13)]
val26=$[rint($val17+$val14)]
val27=$[rint($val18+$val15)]
val28=$[rint($val19+$val16)]
val29=$[$val8*$val12-$val11*$val9]
val30=$[$val9*$val13-$val12*$val10]
val31=$[$val10*$val11-$val13*$val8]
val32=$[abs($val8*$val12*$val16+$val11*$val15*$val10+$val14*$val9*$val13	  -$val8*$val15*$val13-$val11*$val9*$val16-$val14*$val12*$val10)/6]
replyname1=Volumen
replygood1=$val32
question=__EXECUTED_1692754_EXERCISE__
hint=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Calcular el volumen del tetraedro cuyos 4 vértices son	<p><center>	  <i>A</i> = ($val17,$val18,$val19) ,	  <i>B</i> = ($val20,$val21,$val22) ,	  <i>C</i> = ($val23,$val24,$val25) ,	  <i>D</i> = ($val26,$val27,$val28) .	</center> <p>	
$()
!exit

:hint
$()Un tetraedro es un poliedro del espacio con 4 vértices.	<p>	Si se toman 4 vértices adyacentes de un paralelepípedo, el tetraedro generado por esos 4 vértices tiene de volumen 1/6 del volumen del paralelepípedo.	<p>	El volumen del paralelepípedo puede obtenerse mediante el producto mixto de tres vectores.	
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=17,18,19,20,21,22,23,24,25,26,27,28
embedcnt=0
