!set title=Distancia de punto a recta I
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=es
leftrange=-5.000000
rightrange=5.000000
author=Gang XIAO
email=xiao@unice.fr
computeanswer=no
precision=1000

ansorder=r
varcnt=9
prevarcnt=8
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

tmp0=!randint 2, 20

tmp1=!randitem -1,1

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

tmp1=!randitem -1,1

val7=$[rint($(tmp0)*$(tmp1))]
tmp0=!randint -20, 20

val8=$[rint($(tmp0))]
tmp0=!randint -20, 20

val9=$[rint($(tmp0))]
tmp0=!randint -20, 20

val10=$[rint($(tmp0))]
val11=$[rint($val6*($val9) + ($val7)*($val10))]
val12=$val6*x + $val7*y = $val8
val13=$[abs(($val11-($val8))/sqrt(($val6)^2+($val7)^2))]
replyname1=La distancia
replygood1=$val13
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Sea 
!insmath L
$()  la recta del plano definida por la ecuación	<p><center>
!insmath $val12
$() &nbsp;.</center> <p>	Calcular la distancia entre 
!insmath L
$() y el punto	
!insmath ($val9 ,$val10)
$()&nbsp;.	
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=9,10,12
embedcnt=0
