wims-modules-es-3.64.orig/0000755000175000017500000000000010771742606015647 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/0000755000175000017500000000000011262660435017312 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/0000755000175000017500000000000011262660577017606 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/graph/0000755000175000017500000000000010603511343020667 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/graph/graphmod.es/0000755000175000017500000000000010603511343023076 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/graph/graphmod.es/.deleted/0000755000175000017500000000000010603511343024562 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/graph/graphmod.es/.deleted/names.phtml0000644000175000017500000000023210603511343026730 0ustar georgeskgeorgesk!set name1=l'existence d'une chaîne !set name2=l'existence d'une chaîne fermée !set name3=la connexité !set name4=l'existence de points d'articulation wims-modules-es-3.64.orig/modules/U1/analysis/0000755000175000017500000000000011164737610021423 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/0000755000175000017500000000000010315753134023337 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/.htaccess0000644000175000017500000000001606761750271025143 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/intro.phtml0000644000175000017500000000324310315753764025553 0ustar georgeskgeorgesk!header $module_title es un ejercicio de cálculo de manipulaciones algebraicas de desarrollos de Taylor de funciones reales. Dados 1 ó 2 desarrollos de Taylor junto con una fórmula, se le pide completar el desarrollo de Taylor de la función según dicha fórmula.

La fórmula puede ser de distintos tipos: suma, multiplicación, división, cuadrado, composición, inversa, derivación, integración, etc.


!read types/.index !set exocnt=!itemcnt $exolist !set qcnt=8 !if $qcnt>$exocnt !set qcnt=$exocnt !endif !form new
Elija los tipos de ejercicios :

(el número indica el nivel de dificultad)

!set selsize=$[min(6,$exocnt)] !set wims_formselect_switch=multiple size=$selsize !set exo=$special_parm !if $exo!=$empty !set exolist=!listuniq $exo,$exolist !set exolist=!replace , by , $ in $exolist !set dictionary=types/.types.dic !set translator_unknown=leave !set titlelist=!exec translator $exolist !endif !formselect types list $exolist prompt $titlelist !set wims_formselect_switch=
El centro del desarrollo será !formselect center list 0,1 prompt siempre 0 (más fácil), aleatorio (más difícil)
Orden del desarrollo = !set ORder=3 !formselect ORder from 2 to 8

Comentarios. Los ejercicios serán seleccionados aleatoriamente según la lista de su elección. Si no ha efectuado ninguna selección, se considerarán todos los ejercicios disponibles. !read related.phtml Taylor, funciones, derivada, integral !tail wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/var.init0000644000175000017500000000301410315753764025023 0ustar georgeskgeorgeskorder=$ORder !bound order between integer 2 and 8 default 3 !bound center within 0,1 default 0 !read types/.index types=!listintersect $types and $exolist !default types=$exolist range=9 random1=(random($[2*$range+1])-$range) random2=((random($range)+1)*(random(2)*2-1)) a0=$random1 b0=$random1 !if $center=0 x0=0 !else x0=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 !endif !distribute item 0,$x0,$x0,$x0 into shift,y0,z0,t0 type=!randitem $types !read types/$type sorder=$[$order+$shift] pari_header=vec1=concat([$a0],vector($sorder,i,$random2));\ vec2=concat([$b0],vector($sorder,i,$random2));\ ser1=Ser(vec1);ser2=Ser(vec2);\ poly1=$A0 Pol(ser1);poly2=$B0 Pol(ser2);\ $parisrc\ poly3=$C0 Pol(ser3) pariout=!exec pari print(ser1)\ print(ser2+O(x^$[$order+1]))\ print(ser3)\ print(poly1)\ print(poly2)\ print(poly3)\ print(vector($sorder+1,i,polcoeff(poly1,i-1)))\ print(vector($sorder+1,i,polcoeff(poly2,i-1)))\ print(vector($order+1,i,polcoeff(poly3,i-1))) !distribute lines $pariout into ser1,ser2,ser3,poly1,poly2,poly3,vec1,vec2,vec3 !if $center!=0 ser1=!mathsubst x=(x-$x0) in $ser1 ser2=!mathsubst x=(x-$y0) in $ser2 ser3=!mathsubst x=(x-$z0) in $ser3 rest=!htmlmath (x-$t0)^$[$order+1] !else rest=!htmlmath x^$[$order+1] !endif ser1=!htmlmath $A0$ser1 ser2=!htmlmath $B0$ser2 ser3=!htmlmath $C0$ser3 polh1=!htmlmath $poly1 polh2=!htmlmath $poly2 polh3=!htmlmath $poly3 !if $given!=$empty !read present !else present=$present !endif status=waiting replycnt=0 wims_module_log=$cmd: $type order $order, center=$center wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/var.proc0000644000175000017500000000226610315753764025033 0ustar georgeskgeorgesk !if $cmd!=help tit=!word 2 to -1 of $title module_title=$module_title: $tit !endif !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting !if $job=abandon error=abandon status=done wims_module_log=abandon module_score=0 !exit !endif P=!trim $P !if $P=$empty error=empty_data !exit !endif P=!lower $P P=!rawmath $P list=!varlist $P !if $list!=$empty and $list!=x error=not_poly !advance replycnt !goto testcnt !endif P=!translate , to . in $P !if . isin $P error=real_coefficient !exit !endif test=!evalsubst x=($t0) in $P !if NaN isin $test or Inf isin $test error=bad_poly !exit !endif pariout=!exec pari P=$P; print(poldegree(P,x))\ good=subst($(poly$sol),x,x-($t0));if(P==good,print("yes"),print("no")) !distribute line $pariout into deg,test !if $deg>$order error=bad_degree !advance replycnt !else !if yes notin $test error=wrong !advance replycnt !endif !endif :testcnt !if $error!=$empty and $replycnt<3 !exit !endif status=done !if $error=$empty module_score=$[rint(100/2^$replycnt)/10] !else module_score=0 !endif wims_module_log=score $module_score !endif wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/answer.phtml0000644000175000017500000000056510315753761025720 0ustar georgeskgeorgesk!if $error=abandon !exit !endif !if $error!=$empty Su respuesta $prompt = !htmlmath $P + O($rest) no es correcta. La solución es:

$prompt = $(ser$sol)

(Ha obtenido una nota de 0 sobre 10.) !exit !endif Usted ha respondido: $prompt = !htmlmath $P + O($rest)

Esta respuesta es exacta. Nota: $module_score sobre 10.wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/present0000644000175000017500000000133610315753761024753 0ustar georgeskgeorgesk given=!items2words $given givencnt=!wordcnt $given !distribute words $given into g1,g2 !default givenname1=$m_f(x) !default givenname2=$m_g(x) !default fname=la función !if $givencnt=1 present=Sea $m_f una función continua y\ derivable de orden $[$sorder+1], con desarrollo\ de Taylor:

\ $givenname1 = $($g1) .

\ Calcular el desarrollo de Taylor en un entorno de $t0 de $fname $calcname !else present=Sean $m_f y $m_g dos funciones continuas y\ derivables de orden $[$order+1], con desarrollos\ de Taylor:

\ $givenname1 = $($g1) ,

\ $givenname2 = $($g2) .

\ Calcular el desarrollo de Taylor en un entorno de $t0 de $fname $calcname !endif wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/about.phtml0000644000175000017500000000011310315753764025523 0ustar georgeskgeorgesk$module_about

Software usado por este ejercicio:
!exec pari about wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/present.phtml0000644000175000017500000000003610315753761026072 0ustar georgeskgeorgesk Ejercicio. $present wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/0000755000175000017500000000000010771700163024503 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/compo0000644000175000017500000000035710315753763025560 0ustar georgeskgeorgesk title=3. Composición f(g(x)) sol=3 prompt=$m_h(x) a0=0 y0=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 !if $center!=0 A0=$y0+ !endif parisrc=ser3=subst(ser2,x,ser1) given=ser2 ser1 calcname=

$m_h(x) = $m_f($m_g(x)) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/compinv20000644000175000017500000000051510315753762026173 0ustar georgeskgeorgesk title=4. Composición inversa II sol=2 prompt=$m_f(x) a0=0 !if $center!=0 y0=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 t0=$y0 A0=$y0+ !endif !ifval $x0!=$y0 tenemos=$y0 y $x0 respectivamente !else tenemos=$x0 !endif parisrc=ser3=subst(ser2,x,ser1) given=ser1 ser3 givenname1=$m_g(x) givenname2=$m_f($m_g(x)) calcname=$m_f(x) . wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/addmixed0000644000175000017500000000107310315753761026214 0ustar georgeskgeorgesk title=1. Suma mixta sol=2 sign=!randitem +,- prompt=$m_g(x) !ifval abs($z0)=1 sh_=2 !else sh_=1 !endif flist=1/(x+$sh_),1/(x-$sh_),sin(x),cos(x),exp(x),log(x+$sh_) !ifval $z0=0 Flist=$flist !else Flist=1/(x+$[$sh_-$z0]),1/(x-$[$sh_+$z0]),sin(x-$z0),cos(x-$z0),\ exp(x-$z0),log(x+$[$sh_-$z0]) !endif n_=!itemcnt $flist n_=!randint 1,$n_ exp=!item $n_ of $flist Exp=!item $n_ of $Flist explicite=!htmlmath $Exp parisrc=ser3=Ser($exp,x); ser2=ser1 $sign ser3; poly2=Pol(ser2); given=ser1 calcname=

$m_g(x) = $m_f(x) $sign $explicite .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/sumwderiv0000644000175000017500000000033010315753761026455 0ustar georgeskgeorgesk title=1. Suma con derivada f+f' sol=3 sign=!randitem +,- prompt=$m_h(x) shift=1 parisrc=ser3=ser1 $sign deriv(ser1,x) given=ser1 calcname=

$m_h(x) = $m_f(x) $sign $m_f'(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/multderiv0000644000175000017500000000027410315753763026454 0ustar georgeskgeorgesk title=2. Producto por derivada f*f' sol=3 prompt=$m_h(x) shift=1 parisrc=ser3=ser1*deriv(ser1,x); given=ser1 calcname=

$prompt = $m_f(x)$m_f'(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/.mkindex0000755000175000017500000000107410315753763026160 0ustar georgeskgeorgesk#! /bin/sh cd `dirname $0` list=`ls` echo >.types.dic titlist= for i in * do tit=`awk -F= 'NF>=2 && $1=="title" {print $2; exit}' $i` echo "$i:$tit" >>.types.dic titlist="$titlist$tit " done echo "$titlist" >tmp1 echo "$list" >tmp2 llist=`paste tmp1 tmp2 | sort -f` list=`echo "$llist" | awk -F'\11' 'length()>2 {print $2}' | tr '\n' ','` titlist=`echo "$llist" | awk -F'\11' 'length()>2 {print $1}' | tr '\n' ','` cat >.index <<@ !set exolist =!char 1 to -2 of $list !set titlelist=!char 1 to -2 of $titlist !set exototal =!itemcnt \$exolist @ rm -f tmp1 tmp2 wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/division0000644000175000017500000000024510315753761026261 0ustar georgeskgeorgesk title=3. División f/g sol=1 prompt=$m_h(x) b0=$random2 parisrc=ser3=ser1 * ser2 given=ser3 ser2 calcname=

$m_h(x) = $m_f(x)/$m_g(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/int0000644000175000017500000000066410315753762025235 0ustar georgeskgeorgesk title=2. Integral sol=3 prompt=$m_F(x) shift=-1 c0=!randint -7,7 parisrc=ser3=intformal(ser1,x)+($c0); present=!nosubst Sea $m_f una función continua\ y diferenciable de orden $[$order+1] en la proximidad de $x0, con una expansión de Taylor\

\ $m_f(x) = $ser1 ,

\ y sea $m_F(x) la antiderivada de $m_f con $m_F($t0)=$c0.\ Calcular la expansión de Taylor en la proximidad de $t0 de\ $prompt . wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/square0000644000175000017500000000017310315753763025737 0ustar georgeskgeorgesk title=2. Cuadrado f^2 sol=3 prompt=$m_h(x) parisrc=ser3=ser1^2 given=ser1 calcname=$m_h(x) = $m_f(x)2 . wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/inv0000644000175000017500000000062210315753762025231 0ustar georgeskgeorgesk title=4. Función inversa f^-1 sol=3 prompt=$m_f-1(x) a0=0 !if $center!=0 z0=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 t0=$z0 A0=$t0+ C0=$x0+ !endif parisrc=v=vector($order);w=vector($order,i,polcoeff(ser1,i));\ st1=1/w[1];v[1]=st1;\ for(i=2,$order,p=Ser(v)*x;v[i]=-st1*polcoeff(subst(ser1,x,p),i));\ ser3=Ser(v)*x given=ser1 calcname=$m_f-1(x) . fname=la función inversa wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/sumsquare0000644000175000017500000000034210315753762026461 0ustar georgeskgeorgesk title=2. Suma de cuadrados f^2+g^2 sol=3 sign=!randitem +,- prompt=$m_h(x) parisrc=ser3=ser1^2 $sign ser2^2 given=ser1 ser2 calcname=

$m_h(x) = $m_f(x)2 \ $sign $m_g(x)2 .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/deriv0000644000175000017500000000022210315753763025543 0ustar georgeskgeorgesk title=1. Derivada f' sol=3 prompt=$m_f'(x) shift=1 parisrc=ser3=deriv(ser1,x); given=ser1 calcname=$prompt . fname=su derivada wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/.index0000644000175000017500000000137110315753762025624 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of combin,derivsum,deriv,sumwderiv,addition,addmixed,squaresum,square,derivprod,int,polynomial,mult,multmixed,multderiv,sumsquare,compo,division,reciproc,compinv1,compinv2,linfrac,inv,CVS, !set titlelist=!char 1 to -2 of 1. Combinación linear af+bg,1. Derivada de la suma (f+g)',1. Derivada f',1. Suma con derivada f+f',1. Suma f+g,1. Suma mixta,2. Cuadrado de la suma (f+g)^2,2. Cuadrado f^2,2. Derivada del producto (f*g)',2. Integral,2. Polinomio de f,2. Producto f*g,2. Producto mixto,2. Producto por derivada f*f',2. Suma de cuadrados f^2+g^2,3. Composición f(g(x)),3. División f/g,3. Función 1/f,4. Composición inversa I,4. Composición inversa II,4. Fracción lineal,4. Función inversa f^-1,, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/multmixed0000644000175000017500000000204110315753763026443 0ustar georgeskgeorgesk title=2. Producto mixto sol=2 prompt=$m_g(x) sh_=!randint 1,4 !ifval abs($z0)=$sh_ sh_=$[abs($z0)+1] !endif coe=!randint 1,4 T0=!randitem -9,-8,-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7,8,9 t1=!randitem -9,-8,-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7,8,9 t2=!randitem -9,-8,-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7,8,9 t3=!randitem -9,-8,-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7,8,9 poly1=!rawmath $t2*x^2+$t1*x+$T0 poly2=!rawmath $t3*x^3+$poly1 !ifval $z0!=0 pol1=!mathsubst x=(x+$z0) in $poly1 pol2=!mathsubst x=(x+$z0) in $poly2 !else pol1=$poly1 pol2=$poly2 !endif flist=sin($coe*x),cos($coe*x),exp($coe*x),log(x+1),($pol1),($pol2) !ifval $z0=0 Flist=$flist !else Flist=sin($coe*x-$[$coe*$z0]),cos($coe*x-$[$coe*$z0]),exp($coe*x-$[$coe*$z0]),\ log(x+$[1-$z0]),($poly1),($poly2) !endif n_=!itemcnt $flist n_=!randint 1,$n_ exp=!item $n_ of $flist Exp=!item $n_ of $Flist explicite=!htmlmath $Exp parisrc=ser3=Ser($exp,x); ser2=ser1 * ser3 + O(x^$[$order+1]); poly2=Pol(ser2); given=ser1 calcname=

$m_g(x) = $explicite $m_f(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/.todo0000644000175000017500000000014110315753761025453 0ustar georgeskgeorgesk f,g => rational functions of f and g f => g*g'=f f => sin(f) f,g => atan(f/g) autres equadiffs wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/addition0000644000175000017500000000026310315753762026231 0ustar georgeskgeorgesk title=1. Suma f+g sol=3 sign=!randitem +,- prompt=$m_h(x) parisrc=ser3=ser1 $sign ser2 given=ser1 ser2 calcname=

$m_h(x) = $m_f(x) $sign $m_g(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/combin0000644000175000017500000000042710315753763025710 0ustar georgeskgeorgesk title=1. Combinación lineal af+bg sol=3 aa=!randitem -7,-6,-5,-4,-3,-2,2,3,4,5,6,7 bb=!randitem -7,-6,-5,-4,-3,-2,2,3,4,5,6,7 cc=!rawmath -$bb prompt=$m_h(x) parisrc=ser3=$aa*ser1 $cc*ser2 given=ser1 ser2 calcname=

$m_h(x) = $aa$m_f(x)$cc$m_g(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/linfrac0000644000175000017500000000067310315753764026063 0ustar georgeskgeorgesk title=4. Fracción lineal sol=3 prompt=$m_h(x) a0=!randint 1,$range a0=!randitem $a0,-$a0 :redo !for i in a_,b_,c_,d_ $i=!randint 1,$range $i=!randitem $($i),-$($i) !next i !ifval ($c_)*($a0)=-($d_) or ($b_)*($c_)=($a_)*($d_) !goto redo !endif name=!htmlmath ($a_*f(x)+$b_)/($c_*f(x)+$d_) name=!replace f by $m_f in $name parisrc=ser3=($a_*ser1+($b_))/($c_*ser1+($d_)) given=ser1 calcname=

$m_h(x) = $name .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/.remark0000644000175000017500000000016010315753763025772 0ustar georgeskgeorgeskLevels: 1. sum and combination 2. multiplication and square 3. division and composition 4. inverse composition wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/derivsum0000644000175000017500000000036510315753763026300 0ustar georgeskgeorgesk title=1. Derivada de la suma (f+g)' sol=3 prompt=$m_h(x) cc=!randitem +,- shift=1 parisrc=ser3=deriv(ser1 $cc ser2,x) given=ser1 ser2 calcname=

$m_h(x) = ($m_f(x)$cc$m_g(x))' .

fname=la función derivada wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/mult0000644000175000017500000000023010315753761025410 0ustar georgeskgeorgesk title=2. Producto f*g sol=3 prompt=$m_h(x) parisrc=ser3=ser1 * ser2 given=ser1 ser2 calcname=

$m_h(x) = $m_f(x)$m_g(x) .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/derivprod0000644000175000017500000000033710315753762026436 0ustar georgeskgeorgesk title=2. Derivada del producto (f*g)' sol=3 prompt=$m_h(x) shift=1 parisrc=ser3=deriv(ser1 * ser2,x) given=ser1 ser2 calcname=

$m_h(x) = ($m_f(x)$m_g(x))' .

fname=la función derivada wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/compinv10000644000175000017500000000051010315753762026165 0ustar georgeskgeorgesk title=4. Composición inversa I sol=1 prompt=$m_g(x) a0=0 !if $center!=0 y0=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 A0=$y0+ !endif !ifval $x0!=$y0 tenemos=$y0 y $x0 respectivamente !else tenemos=$x0 !endif parisrc=ser3=subst(ser2,x,ser1) given=ser2 ser3 givenname2=$m_f($m_g(x)) calcname=$m_g(x) (dado que $m_f es inyectiva). wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/polynomial0000644000175000017500000000045210315753761026620 0ustar georgeskgeorgesk title=2. Polinomio de f sol=3 prompt=$m_h(x) !for i in a_,b_,c_ t_=!randint 1,5 $i=!randitem -$t_,$t_ !next i name=!htmlmath $a_+$b_*f(x)+$c_*f(x)^2 name=!replace f by $m_f in $name parisrc=ser3=$a_+($b_)*ser1+($c_)*ser1^2 given=ser1 calcname=

$m_h(x) = $name .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/squaresum0000644000175000017500000000033010315753762026456 0ustar georgeskgeorgesk title=2. Cuadrado de la suma (f+g)^2 sol=3 sign=!randitem +,- prompt=$m_h(x) parisrc=ser3=(ser1 $sign ser2)^2 given=ser1 ser2 calcname=

$m_h(x) = ($m_f(x) $sign $m_g(x))2 .

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/.types.dic0000644000175000017500000000122610315753761026415 0ustar georgeskgeorgesk addition:1. Suma f+g addmixed:1. Suma mixta combin:1. Combinación linear af+bg compinv1:4. Composición inversa I compinv2:4. Composición inversa II compo:3. Composición f(g(x)) CVS: deriv:1. Derivada f' derivprod:2. Derivada del producto (f*g)' derivsum:1. Derivada de la suma (f+g)' division:3. División f/g int:2. Integral inv:4. Función inversa f^-1 linfrac:4. Fracción lineal mult:2. Producto f*g multderiv:2. Producto por derivada f*f' multmixed:2. Producto mixto polynomial:2. Polinomio de f reciproc:3. Función 1/f square:2. Cuadrado f^2 squaresum:2. Cuadrado de la suma (f+g)^2 sumsquare:2. Suma de cuadrados f^2+g^2 sumwderiv:1. Suma con derivada f+f' wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/types/reciproc0000644000175000017500000000017610315753763026250 0ustar georgeskgeorgesk title=3. Función 1/f sol=3 prompt=$m_h(x) a0=$random2 parisrc=ser3=1/ser1 given=ser1 calcname=$m_h(x) = 1/$m_f(x) . wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/main.phtml0000644000175000017500000000066310315753764025347 0ustar georgeskgeorgesk!header !read present.phtml


!if $status=waiting !if $error!=$empty !read msg.phtml


!endif !read form.phtml

!href cmd=reply&job=abandon Abandonar y ver la solución .  !href exo_Renew . !else !if $error!=$empty !read msg.phtml !endif !read answer.phtml

!href exo_Again . !if $worksheet=$empty !href exo_Init . !endif !endif :end !tail !distribute item $ into job wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/var.def0000644000175000017500000000051310315753764024617 0ustar georgeskgeorgeskcenter init ORder init types init P reply job reply order deny status deny replycnt deny poly1 deny poly2 deny poly3 deny polh1 deny polh2 deny polh3 deny ser1 deny ser2 deny ser3 deny vec1 deny vec2 deny vec3 deny title deny shift deny present deny sol deny prompt deny rest deny x0 deny y0 deny z0 deny t0 deny explicite deny wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/form.phtml0000644000175000017500000000045410315753764025364 0ustar georgeskgeorgesk !form reply su respuesta: el desarrollo de Taylor es
$prompt =  + O($rest)

Aviso. ¡Este ejercicio no acepta respuestas aproximadas! Escriba 1/3 en vez de 0.333333333.

wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/INDEX0000644000175000017500000000105010315753764024136 0ustar georgeskgeorgesktitle=Taylor # Commencez la description par minuscule! description=manipulaciones algebraicas de desarrollos de Taylor author=XIAO Gang address=xiao@unice.fr copyright=© 2000- (GNU GPL) translator=J. Rafael Rodríguez Galván translator_address=rafael.rodriguez(at)uca.es version=1.20 wims_version=3.01 language=es category=exercise level=U1, U2 domain=analysis #keywords=Taylor, function, derivative, integral, differential equation keywords=Taylor, función, derivada, integral, diferencial, ecuación require=pari scoring=yes wims-modules-es-3.64.orig/modules/U1/analysis/taylor.es/msg.phtml0000644000175000017500000000265310315753764025212 0ustar georgeskgeorgesk Error. !if $error=abandon Es una pena que haya abandonado. La solución es:

$prompt = $(ser$sol)

(Su renuncia le da una nota igual a 0.) !exit !endif !if $error=wrong !if $status=waiting Su respuesta no es correcta. Puede corregirla e intentarlo de nuevo. !endif !exit !endif !if $error=not_poly La parte principal del desarrollo de Taylor de $prompt debería ser un polinomio en !if $t0=0 x, !else !htmlmath x-$t0, !endif que no es el caso para la respuesta que ha enviado.

!if $status=waiting Por favor, corrija su error. !endif !exit !endif !if bad_poly=$error He fallado al evaluar su respuesta $P. ¿Se trata de un error al teclear? Por favor, corríjalo. !exit !endif !if $error=real_coefficient Parece haber introducido un polinoio con coeficientes en coma flotante.

Este ejercicio no admite respuestas aproximadas. Por favor, escriba todos sus coeficientes en forma de fracción. !exit !endif !if $error=bad_degree ¡Ha introducido un polinomio de grado $deg!

En un desarrollo de Taylor de orden $order, no tienen sentido los términos de grado >$order. Por lo tanto, su respuesta indica que no ha comprendido correctamente el signficado del desarrollo de Talor, y por ello es considerada como falsa.

considered as false.

!if $status=waiting Puede corregir su respuesta e intentarlo de nuevo. !endif !exit !endif !msg $error wims-modules-es-3.64.orig/modules/U1/analysis/estado-traduccion.txt0000644000175000017500000000070410603511343025563 0ustar georgeskgeorgeskMódulo | Estado[1] ----------------+------------------------------------------------------------ coincdev | T- dialderiv.es | T- grconv.es | T oefcont.es | T oefderiv.es | T oeftaylor.es | T taylor.es | T ----------------+------------------------------------------------------------ [1] N = no traducido T- = traducido, quizás con algún error T = traducido (pero no repasado) T+ = traducido y repasado wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/0000755000175000017500000000000010575503675023322 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/0000755000175000017500000000000010575503672024055 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/monotony.def0000644000175000017500000001034410575503662026420 0ustar georgeskgeorgesk!set title=Monotonía I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c,r,r,r,r varcnt=38 prevarcnt=37 postvarcnt=0 replycnt=4 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 val6=no val7=inf val8=siempre creciente val9=siempre decreciente val10=creciente a partir de algún valor val11=decreciente a partir de algún valor val12=indeterminado hacia el infinito val13=$val12,$val8,$val9,$val10,$val11 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))] tmp0=!randint 2, 10 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 10 val19=$[rint($(tmp0))] tmp0=!randint 2, 10 val20=$[rint($(tmp0))] tmp0=!randint 2, 10 val21=$[rint($(tmp0))] tmp0=!randint 2, 10 val22=$[rint($(tmp0))] tmp0=!randint 2, 10 val23=$[rint($(tmp0))] tmp0=!randitem 3,4,5 val24=$[rint($(tmp0))] tmp0=!randint 10, 90 tmp1=!randint 0, 5 tmp2=!randitem -1,1 val25=$[($(tmp0)/100+$(tmp1))*$(tmp2)] tmp0=!randint 10, 90 tmp1=!randint 0, 5 tmp2=!randitem -1,1 val26=$[($(tmp0)/100+$(tmp1))*$(tmp2)] tmp0=!randitem 1,2,3,5,8 tmp1=!randitem 1000,10000,100000 tmp2=!randitem -1,1 val27=$[rint($(tmp0)*$(tmp1)*$(tmp2))] tmp0=!randitem 1,2,3,5,8 tmp1=!randitem 1000,10000,100000 tmp2=!randitem -1,1 val28=$[rint($(tmp0)*$(tmp1)*$(tmp2))] tmp0=!randint 1, 20 val29=$[$(tmp0)/50+1] tmp0=!randint 1, 20 val30=$[$(tmp0)/50+1] tmp0=!randint 1, 10 val31=$[rint($(tmp0))] tmp0=!randitem n^2,n^3,sqrt(n),n! tmp1=!randitem n^2,n^3,sqrt(n),n! tmp=!trim $val14+$val19/n, $val31, $val9, $val14,$val14+$val19/$val31,$val6,same $val14-$val19/n, $val31, $val8, $val14-$val19/$val31,$val14,same,$val6 $val14+$val19/$(tmp0),1, $val9, $val14,$val14+$val19,$val6,same $val14-$val19/$(tmp1),1, $val8, $val14-$val19,$val14,same,$val6 $val14+(-1)^n*$val19/n, 1, $val12, $val14-$val19,$val14+$val19/2,same,same $val14-(-1)^n*$val19/n, 1, $val12, $val14-$val19/2,$val14+$val19,same,same n^2-$val19*n+$val15, 0, $val10, -floor($val19/2)*ceil($val19/2)+$val15,$val7,same,$val6 -n^2+$val19*n+$val15, 0, $val11, -$val7,floor($val19/2)*ceil($val19/2)+$val15,$val6,same val32=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val32 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val33=$(tmp0) tmp0=!item 1 of $val33 tmp1=!texmath $(tmp0) val34=$(tmp1) tmp0=!item 2 of $val33 val35=$[rint($(tmp0))] tmp0=!item 3 of $val33 val36=$(tmp0) tmp0=!item 4 of $val33 t_=!replace internal \( by ( in $(tmp0) tmp1=!exec pari $t_ val37=$(tmp1) tmp0=!item 5 of $val33 t_=!replace internal \( by ( in $(tmp0) tmp1=!exec pari $t_ val38=$(tmp1) tmp0=!item 6 of $val33 val39=$(tmp0) tmp0=!item 7 of $val33 val40=$(tmp0) !ifval $val39 iswordof same val39=$val37 !endif !ifval $val40 iswordof same val40=$val38 !endif replytype1=function replyname1=inf{un} replygood1=!rawmath $val37,$val6,$val7 replytype2=function replyname2=sup{un} replygood2=!rawmath $val38,$val6,$val7 replytype3=function replyname3=min{un} replygood3=!rawmath $val39,$val6,$val7 replytype4=function replyname4=max{un} replygood4=!rawmath $val40,$val6,$val7 choicename1=El crecimiento de la sucesión choicegood1=$val36 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Estudiar el crecimiento, sup, inf, min, max de la sucesión (un) para n $m_ge $val35, donde

!insmath u_n = $val34 \relax $() .

Escribir $val6 para indicar que determinado valor no existe, y $val7 o -$val7 para +$m_infty o -$m_infty. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,34,35 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/monotony2.def0000644000175000017500000001410610575503671026502 0ustar georgeskgeorgesk!set title=Monotonía II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c,r,r,r,r varcnt=49 prevarcnt=48 postvarcnt=0 replycnt=4 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 val6=no val7=inf val8=siempre creciente val9=siempre decreciente val10=creciente a partir de algún valor val11=decreciente a partir de algún valor val12=indeterminado hacia el infinito val13=$val12,$val8,$val9,$val10,$val11 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))] tmp0=!randint 2, 10 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 10 val19=$[rint($(tmp0))] tmp0=!randint 2, 10 val20=$[rint($(tmp0))] tmp0=!randint 2, 10 val21=$[rint($(tmp0))] tmp0=!randint 2, 10 val22=$[rint($(tmp0))] tmp0=!randint 2, 10 val23=$[rint($(tmp0))] tmp0=!randint 5, 15 val24=$[rint($(tmp0))] tmp0=!randint 10, 100 val25=$[rint($(tmp0))] tmp0=!randitem 3,4,5 val26=$[rint($(tmp0))] tmp0=!randint 10, 90 tmp1=!randint 0, 5 tmp2=!randitem -1,1 val27=$[($(tmp0)/100+$(tmp1))*$(tmp2)] tmp0=!randint 10, 90 tmp1=!randint 0, 5 tmp2=!randitem -1,1 val28=$[($(tmp0)/100+$(tmp1))*$(tmp2)] tmp0=!randint 1, 20 val29=$[$(tmp0)/50+1] tmp0=!randint 1, 20 val30=$[$(tmp0)/50+1] tmp0=!randint 1, 10 val31=$[rint($(tmp0))] tmp0=!randitem 2,4 tmp1=!randitem n,n^2,n^3 tmp2=!randitem 1,2,3 tmp3=!randitem 2,4 tmp4=!randitem n,n^2,n^3 tmp5=!randitem 1,2,3 tmp6=!randint 5, 15 tmp7=!randint 0, 2 tmp8=!randint 5, 15 tmp9=!randint 0, 2 tmp=!trim $val19*n/(n^2+$val25), 0, $val11, 0,diff,0,same $val19*n/(n^2+$val25), 1, $val11, 0,diff,$val6,same -$val19*n/(n^2+$val25), 0, $val10, diff,0,same,0 -$val19*n/(n^2+$val25), 1, $val10, diff,0,same,$val6 $val19*cos($(tmp0)*pi*n)/$(tmp1),$(tmp2),$val9, 0,start,$val6,same -$val19*cos($(tmp3)*pi*n)/$(tmp4),$(tmp5),$val8, start,0,same,$val6 $val19*cos(pi*n/2)/(n+$val20), 0, $val12, -$val19/(2+$val20),$val19/$val20,same,same -$val19*cos(pi*n/2)/(n+$val20), 0, $val12, -$val19/$val20,$val19/(2+$val20),same,same $val19*sin(pi*n/2)/(n+$val20), 0, $val12, -$val19/(3+$val20),$val19/(1+$val20),same,same -$val19*sin(pi*n/2)/(n+$val20), 0, $val12, -$val19/(1+$val20),$val19/(3+$val20),same,same $val24*ln($(tmp6)*n+$val26)-n, $(tmp7),$val11, -$val7,diff,$val6,same -$val24*ln($(tmp8)*n+$val26)+n, $(tmp9),$val10, diff,$val7,same,$val6 val32=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val32 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val33=$(tmp0) tmp0=!item 1 of $val33 val34=$(tmp0) tmp0=!texmath $val34 val35=$(tmp0) tmp0=!item 2 of $val33 val36=$[rint($(tmp0))] tmp0=!item 3 of $val33 val37=$(tmp0) tmp0=!item 4 of $val33 val38=$(tmp0) tmp0=!item 5 of $val33 val39=$(tmp0) !ifval $val38 notwordof start diff t_=!replace internal \( by ( in $val38 tmp0=!exec pari $t_ val38=$(tmp0) !endif !ifval $val39 notwordof start diff t_=!replace internal \( by ( in $val39 tmp0=!exec pari $t_ val39=$(tmp0) !endif !ifval start iswordof $val38 evaltmp=$val34 evaltmp=!mathsubst n=($val36) in $evaltmp tmp0=($evaltmp) val38=$[$(tmp0)] !endif !ifval start iswordof $val39 evaltmp=$val34 evaltmp=!mathsubst n=($val36) in $evaltmp tmp0=($evaltmp) val39=$[$(tmp0)] !endif !ifval diff iswordof $val38 tmp=!translate ;";': to $ $ in $val34,n tmp=!lower $tmp tmp0=!exec maxima diff($tmp); val40=$(tmp0) !endif !ifval diff iswordof $val38 tmp=!replace internal .. by , in $val40,n=$val36..100 !distribute items $tmp into tmp1,tmp2,tmp3 tmp2=!replace internal = by , in $tmp2 !distribute items $tmp2 into tmp4,tmp5 tmp0=!solve $tmp1 for $tmp4 = $tmp5 to $tmp3 val41=$(tmp0) !endif !ifval diff iswordof $val38 evaltmp=$val34 evaltmp=!mathsubst n=(floor($val41)) in $evaltmp tmp0=($evaltmp) evaltmp=$val34 evaltmp=!mathsubst n=(ceil($val41)) in $evaltmp tmp1=($evaltmp) val38=$[ min($(tmp0),$(tmp1)) ] !endif !ifval diff iswordof $val39 tmp=!translate ;";': to $ $ in $val34,n tmp=!lower $tmp tmp0=!exec maxima diff($tmp); val42=$(tmp0) !endif !ifval diff iswordof $val39 tmp=!replace internal .. by , in $val42,n=$val36..100 !distribute items $tmp into tmp1,tmp2,tmp3 tmp2=!replace internal = by , in $tmp2 !distribute items $tmp2 into tmp4,tmp5 tmp0=!solve $tmp1 for $tmp4 = $tmp5 to $tmp3 val43=$(tmp0) !endif !ifval diff iswordof $val39 evaltmp=$val34 evaltmp=!mathsubst n=(floor($val43)) in $evaltmp tmp0=($evaltmp) evaltmp=$val34 evaltmp=!mathsubst n=(ceil($val43)) in $evaltmp tmp1=($evaltmp) val39=$[ max($(tmp0),$(tmp1)) ] !endif tmp0=!item 6 of $val33 val44=$(tmp0) tmp0=!item 7 of $val33 val45=$(tmp0) !ifval $val44 iswordof same val44=$val38 !endif !ifval $val45 iswordof same val45=$val39 !endif replytype1=function replyname1=inf{un} replygood1=!rawmath $val38,$val6,$val7 replytype2=function replyname2=sup{un} replygood2=!rawmath $val39,$val6,$val7 replytype3=function replyname3=min{un} replygood3=!rawmath $val44,$val6,$val7 replytype4=function replyname4=max{un} replygood4=!rawmath $val45,$val6,$val7 choicename1=El crecimiento de la sucesión choicegood1=$val37 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Estudiar el crecimiento, sup, inf, min, max de la sucesión (un) para n $m_ge $val36, donde

!insmath u_n = $val35 \relax $() .

Escribir $val6 para indicar que determinado valor no existe, y $val7 o -$val7 para +$m_infty o -$m_infty. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,35,36 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/frac3b.def0000644000175000017500000000402410575503666025700 0ustar georgeskgeorgesk!set title=Fracción con 3 términos II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=15 prevarcnt=14 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=!shuffle 2,3,pi,e,(1/e),(1/pi),(sqrt(2)),(sqrt(5)),(sqrt(10)), (pi+1),(pi+2),(e+1),(e+2),(2*pi+1),(2*e+1) val6=$(tmp0) tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp0=!item 3 of $val6 val9=$(tmp0) tmp0=!randitem -1,1 !ifval $(tmp0)>0 val7=$val7 !else val7=(-$val7) !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val8=$val8 !else val8=(-$val8) !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val9=$val9 !else val9=(-$val9) !endif tmp0=!shuffle n,(n-1),(n-2),(n-3),(n-4),(n+1),(n+2),(n+3),(n+4) val10=$(tmp0) tmp0=!item 1 of $val10 val11=$(tmp0) tmp0=!item 2 of $val10 val12=$(tmp0) evaltmp=$val11-$val12 evaltmp=!mathsubst n=(0) in $evaltmp tmp0=($evaltmp) val13=$(tmp0) !ifval abs($val7)>abs($val8) val14=$val7 !else val14=$val8 !endif !ifval abs($val9)>abs($val14) val14=$val9 !endif t_=!replace internal \( by ( in ($val14)^($val13); tmp0=!exec maxima $t_ val15=$(tmp0) replytype1=formal replyname1=lim(un) replygood1=$val15 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el límite de la sucesión (un), donde

!insmath u_n=($val7^$val11 + $val8^$val11 + $val9^$val11) / ($val7^$val12 + $val8^$val12 + $val9^$val12) $()

WARNING En este ejercicio, las respuestas aproximadas serán consideradas falsas! Tomar pi en lugar de 3.14159265, por ejemplo. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,11,12 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/frac3.def0000644000175000017500000000342410575503667025542 0ustar georgeskgeorgesk!set title=Fracción con 3 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=15 prevarcnt=14 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=!shuffle 8 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$[rint($(tmp0)+1)] tmp0=!item 2 of $val6 val8=$[rint($(tmp0)+1)] tmp0=!item 3 of $val6 val9=$[rint($(tmp0)+1)] tmp0=!randitem -1,1 !ifval $(tmp0)>0 val7=$val7 !else val7=(-$val7) !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val8=$val8 !else val8=(-$val8) !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val9=$val9 !else val9=(-$val9) !endif tmp0=!shuffle n,(n-1),(n-2),(n+1),(n+2) val10=$(tmp0) tmp0=!item 1 of $val10 val11=$(tmp0) tmp0=!item 2 of $val10 val12=$(tmp0) evaltmp=$val11-$val12 evaltmp=!mathsubst n=(0) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] !ifval abs($val7)>abs($val8) val14=$[rint($val7)] !else val14=$[rint($val8)] !endif !ifval abs($val9)>abs($val14) val14=$[rint($val9)] !endif val15=$[($val14)^($val13)] replytype1=numeric replyname1=lim(un) replygood1=$[$val15] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el límite de la sucesión (un), donde

!insmath u_n=($val7^$val11 + $val8^$val11 + $val9^$val11) / ($val7^$val12 + $val8^$val12 + $val9^$val12) $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,11,12 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/2lim.def0000644000175000017500000000573310575503662025407 0ustar georgeskgeorgesk!set title=Dos limites !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=38 prevarcnt=37 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 val6=n val7=un tmp0=!randint 20, 50 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 12 tmp1=!randitem -1,1 val9=$[rint($val8+$(tmp0)*$(tmp1))] val10=$[rint(-$val8)] val11=$[rint(-$val9)] !ifval $val10>0 val12= + $val10 !else val12= - $val8 !endif !ifval $val11>0 val13= + $val11 !else val13= - $val9 !endif val14=| $val7 $val12 | val15=| $val7 $val13 | val16=    tmp0=!randitem 1/$val6,2/$val6,10/$val6,3/$val6,1/$val62,2/$val62 val17=$(tmp0) tmp0=!randitem 1/2,2/3,1/3,1/5,1/10,1/50,1/100,1/1000 val18=$(tmp0) tmp0=!randint 1, 8 tmp1=!randitem 100,1000,10000,100000 val19=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 8 tmp1=!randitem 100,1000,10000,100000 val20=$[rint($(tmp0)*$(tmp1))] val21=La convergencia no puede ser determinada val22=Converge hacia $val8 val23=Converge hacia $val9 val24=Es divergente val25=Esa sucesión no existe tmp0=!randitem $val6>$val20,$val6 val26=$(tmp0) val27=< $val17, < $val17, > $val19, < $val17, < $val17, < $val19, < $val19, > $val17, < $val17, < $val17, > $val17, < $val18, < $val18 val28=> $val17, < $val17, > $val19, < $val19, > $val19, < $val19, > $val19, > $val17, > $val18, < $val18, < $val18, < $val18, > $val18 val29=$val22,$val25,$val21,$val22,$val25, $val21,$val21,$val21,$val22,$val25, $val21,$val25,$val21, val30=$val23,$val22,$val24,$val23,$val22, $val22,$val22,$val24,$val24,$val22, $val24,$val22,$val22, tmp0=!itemcnt $val27 val31=$[rint($(tmp0))] tmp0=!randint 1, $val31 val32=$[rint($(tmp0))] tmp0=!item $val32 of $val27 val33=$(tmp0) tmp0=!item $val32 of $val28 val34=$(tmp0) tmp0=!item $val32 of $val29 val35=$(tmp0) tmp0=!item $val32 of $val30 val36=$(tmp0) val37=$val36,$val21,$val22,$val23,$val24,$val25 val38=$val14 $val33 val39=$val15 $val34 tmp0=!randitem 0,1 val40=$[rint($(tmp0))] !ifval $val40=1 val41=$val38 !else val41=$val39 !endif !ifval $val40=1 val42=$val39 !else val42=$val38 !endif choicename1=Su respuesta es choicegood1=$val35 choicebad1=$val37 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea ($val7) una sucesión infinita de números reales. Si se tiene

$val41 y $val42 para todo $val26 ,

¿Qué se puede decir acerca de la convergencia? (Debes elegir la mejor opción.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,26,41,42 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/cvdiff.def0000644000175000017500000000602610575503664026003 0ustar georgeskgeorgesk!set title=Convergencia y diferencia de términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c,c varcnt=22 prevarcnt=21 postvarcnt=0 replycnt=0 choicecnt=2 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=un+1-un val7=un+1/un val8=(un) tmp0=!randitem -5,-4,-3,-2,2,3,4,5 val9=$[rint($(tmp0))] tmp0=!randitem 1/2,2/3,1/3,1/4,3/4,-1/2,-2/3,-1/3,-1/4,-3/4 val10=$(tmp0) val11=converge hacia $val9, es convergente, es divergente, es convergente, es divergente, converge a 0 converge a 1, es convergente, es convergente val12=$val6 va hacia 0, $val6 va hacia 0, ($val6) converge hacia $val10, ($val6) es convergente, ($val6) es divergente, ($val6) converge hacia 0, ($val6) converge hacia 1, ($val6) es decreciente, (|$val6|) es decreciente val13=es convergente, es convergente, es divergente, es convergente, es divergente, converge a 0, converge a 1, es convergente, es convergente val14=1,1,0,1,0, 1,0,0,0 val15=0,0,1,0,1, 0,0,0,0 val16=Existen sucesiones divergentes para las que $val6 va hacia 0., Existen sucesiones divergentes para las que $val6 va hacia 0., Si $val6 no va a 0 entonces las sucesión $val8 es absolutamente divergente. Pero el recíproco no es cierto., Si ($val6) converge a un valor distinto de 0 entonces $val8 es divergente., Existen sucesiones divergentes para las que $val6 va hacia 0., Existen sucesiones divergentes para las que $val6 va hacia 0., Si ($val6) converge a 1 entonces $val8 es divergente., Pensar el caso en el que $val6 fuese negativo!, (|$val6|) puede converger hacia 0 sin ser decreciente. tmp0=!itemcnt $val11 val17=$[rint($(tmp0))] tmp0=!randint 1, $val17 val18=$[rint($(tmp0))] tmp0=!item $val18 of $val11 val19=$(tmp0) tmp0=!item $val18 of $val13 val20=$(tmp0) tmp0=!item $val18 of $val12 val21=$(tmp0) tmp0=!item $val18 of $val16 val22=$(tmp0) tmp0=!item $val18 of $val14 val23=$[rint($(tmp0))] tmp0=!item $val18 of $val15 val24=$[rint($(tmp0))] !ifval $val23=1 val25=Verdadera !else val25=Falsa !endif !ifval $val24=1 val26=Verdadera !else val26=Falsa !endif choicename1=A es choicegood1=$val25 choicebad1=Verdadera,Falsa choicename2=B es choicegood2=$val26 choicebad2=Verdadera,Falsa question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val8 una sucesión de números reales. Entre las siguientes afirmaciones, ¿cuál es verdadera?, ¿cuál es falsa?

  1. Si $val8 $val19, entonces $val21.

  2. Si $val21, entonces $val8 $val20.
$() !exit :hint $() $() !exit :help $() $() !exit :solution $()$val22 $() !exit :feedback !exit :test !exit :stat vsavelist=8,19,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/pow.def0000644000175000017500000000301710575503672025343 0ustar georgeskgeorgesk!set title=Potencia I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=10 prevarcnt=9 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 20, 80 val6=$[$(tmp0)/100] tmp0=!randitem 0,0,0,1 val7=$[rint($(tmp0))] !ifval $val7=1 tmp0=!randint 1, 5 val6=$[$val6+$(tmp0)] !endif !ifval $val7=0 tmp0=!randitem 0,1 val8=$[rint($(tmp0))] !else val8=$[rint(1)] !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val6=$val6 !else val6=(-$val6) !endif val9=1 + $val6 + $val6^2 + $val6^3 + ... + $val6^n !ifval $val8=1 val9=1/($val9) !endif !ifval $val8=0 val10=$[1/(1-$val6)] !else val10=$[(1-$val6)] !endif !ifval $val7=1 val10=$[0] !endif replytype1=numeric replyname1=lim(un) replygood1=$[$val10] question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el límite de la sucesión (un), donde

!insmath u_n = $val9 $()

$() !exit :hint $()One might use the formula

!insmath 1+x+x^2+...+x^n = (1-x^(n+1))/(1-x) $() .

$() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/.htaccess0000644000175000017500000000001610575503662025647 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/frac2.def0000644000175000017500000000307210575503665025536 0ustar georgeskgeorgesk!set title=Fracción con 2 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=12 prevarcnt=11 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=!shuffle 9 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$[rint($(tmp0)+1)] tmp0=!item 2 of $val6 val8=$[rint($(tmp0)+1)] tmp0=!randitem -1,1 !ifval $(tmp0)>0 val7=$val7 !else val7=(-$val7) !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val8=$val8 !else val8=(-$val8) !endif tmp0=!shuffle n,(n-1),(n-2),(n+1),(n+2) val9=$(tmp0) tmp0=!item 1 of $val9 val10=$(tmp0) tmp0=!item 2 of $val9 val11=$(tmp0) evaltmp=$val10-$val11 evaltmp=!mathsubst n=(0) in $evaltmp tmp0=($evaltmp) val12=$[rint($(tmp0))] !ifval abs($val7)>abs($val8) val13=$[rint($val7)] !else val13=$[rint($val8)] !endif val14=$[($val13)^($val12)] replytype1=numeric replyname1=lim(un) replygood1=$[$val14] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el límite de la sucesión (un), donde

!insmath u_n=($val7^$val10 + $val8^$val10) / ($val7^$val11 + $val8^$val11) $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,10,11 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/reclim.def0000644000175000017500000001012410575503663026006 0ustar georgeskgeorgesk!set title=Límite recursivo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=em leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=31 prevarcnt=30 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, 10 val6=$[rint($(tmp0))] tmp0=!randint 2, 10 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 11,13,17,19 val8=$[rint($(tmp0))] tmp0=!randint $val8-4, 2*$val8 val9=$[rint($(tmp0))] tmp0=!randitem 1/3,2/3,1/4,3/4,1/5,2/5,3/5,4/5 val10=$(tmp0) tmp0=!randitem +,- val11=$(tmp0) val12=$val8/($val9$val11 x), sqrt($val6$val11 x), atan($val6$val11 x), sin($val7$val11 x), cos($val7$val11 x), ($val6$val11 x)^($val10) tmp0=!itemcnt $val12 val13=$[rint($(tmp0))] tmp0=!randint 1, $val13 val14=$[rint($(tmp0))] tmp0=!item $val14 of $val12 val15=!rawmath $(tmp0) tmp0=!randint 1, 18 val16=$[$(tmp0)/10] tmp0=!item $val14 of {$val8 \over {$val9 $val11 $val16}}, \sqrt{$val6 $val11 $val16}, \arctan\left($val6 $val11 $val16\right), \sin\left($val7 $val11 $val16\right), \cos\left($val7 $val11 $val16\right), \left($val6 $val11 $val16 \right)^{$val10} val17=$(tmp0) tmp0=!item $val14 of {$val8 \over {$val9 $val11 $val17}}, \sqrt{$val6 $val11 $val17}, \arctan\left($val6 $val11 $val17\right), \sin\left($val7 $val11 $val17\right), \cos\left($val7 $val11 $val17\right), \left($val6 $val11 $val17 \right)^{$val10} val18=$(tmp0) tmp0=!item $val14 of {$val8 \over {$val9 $val11 $val18}}, \sqrt{$val6 $val11 $val18}, \arctan\left($val6 $val11 $val18\right), \sin\left($val7 $val11 $val18\right), \cos\left($val7 $val11 $val18\right), \left($val6 $val11 $val18 \right)^{$val10} val19=$(tmp0) evaltmp=$val15 evaltmp=!mathsubst x=($val16) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] evaltmp=$val15 evaltmp=!mathsubst x=($val20) in $evaltmp tmp0=($evaltmp) val20=$[$(tmp0)] val21=$[$val20-1] val22=$[$val20+1] tmp=!replace internal .. by , in $val15 - x,x=$val21..$val22 !distribute items $tmp into tmp1,tmp2,tmp3 tmp2=!replace internal = by , in $tmp2 !distribute items $tmp2 into tmp4,tmp5 tmp0=!solve $tmp1 for $tmp4 = $tmp5 to $tmp3 val20=$[$(tmp0)] replytype1=default replyname1=El limite replygood1=$val20 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Encontrar el límite de la sucesión recursiva !insmath (u_n) $() tal que

!insmath u_1=$val16\;,\;u_2=$val17\;, $()
!insmath u_3=$val18\;, $()
!insmath u_4=$val19\;,\; \cdots $()
$() !exit :hint $()Esta sucesión es una sucesión recursiva definida por un+1 = f(un), para cierta función !insmath f $(). ¿De qué función se trata? $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=16,17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/recfn.def0000644000175000017500000000506710575503657025645 0ustar georgeskgeorgesk!set title=Función recursiva !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=15 prevarcnt=14 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, 10 val6=$[rint($(tmp0))] tmp0=!randint 2, 10 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 11,13,17,19 val8=$[rint($(tmp0))] tmp0=!randitem 1/3,2/3,1/4,3/4,1/5,2/5,3/5,4/5 val9=$(tmp0) tmp0=!randitem +,- val10=$(tmp0) val11=$val8/($val6$val10 x), sqrt($val6$val10 x), atan($val6$val10 x), sin($val7$val10 x), cos($val7$val10 x), ($val6$val10 x)^($val9) tmp0=!itemcnt $val11 val12=$[rint($(tmp0))] tmp0=!randint 1, $val12 val13=$[rint($(tmp0))] tmp0=!item $val13 of $val11 val14=!rawmath $(tmp0) tmp0=!randint 1, 9 val15=$[rint($(tmp0))] !ifval $val15=$val6 val15=$[rint($val6-1)] !endif tmp0=!item $val13 of {$val8 \over {$val6 $val10 $val15}}, \sqrt{$val6 $val10 $val15}, \arctan\left($val6 $val10 $val15\right), \sin\left($val7 $val10 $val15\right), \cos\left($val7 $val10 $val15\right), \left($val6 $val10 $val15 \right)^{$val9} val16=$(tmp0) tmp0=!item $val13 of {$val8 \over {$val6 $val10 $val16}}, \sqrt{$val6 $val10 $val16}, \arctan\left($val6 $val10 $val16\right), \sin\left($val7 $val10 $val16\right), \cos\left($val7 $val10 $val16\right), \left($val6 $val10 $val16 \right)^{$val9} val17=$(tmp0) tmp0=!item $val13 of {$val8 \over {$val6 $val10 $val17}}, \sqrt{$val6 $val10 $val17}, \arctan\left($val6 $val10 $val17\right), \sin\left($val7 $val10 $val17\right), \cos\left($val7 $val10 $val17\right), \left($val6 $val10 $val17 \right)^{$val9} val18=$(tmp0) replytype1=default replyname1=f(x) replygood1=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()La sucesión !insmath (u_n) $() tal que
!insmath u_1=$val15\;,\;u_2=$val16\;, $()
!insmath u_3=$val17\;, $()
!insmath u_4=$val18\;,\; \cdots $()
es una sucesión recursiva definida por !insmath u_{n+1}=f\left(u_n\right) $() para cierta función !insmath f $(). Encontrar dicha funcion. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/growthcomp.def0000644000175000017500000000762410575503661026735 0ustar georgeskgeorgesk!set title=Comparación de crecimiento !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=34 prevarcnt=33 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 val6=Converge a 0 val7=Converge a un valor no nulo val8=Diverge hacia + o - infinito val9=$val6,$val7,$val8 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 val15=$[rint($(tmp0))] tmp0=!randint 2, 10 val16=$[rint($(tmp0))] tmp0=!randint 2, 10 val17=$[rint($(tmp0))] tmp0=!randint 2, 10 val18=$[rint($(tmp0))] tmp0=!randint 2, 10 val19=$[rint($(tmp0))] tmp0=!randitem 3,4,5 val20=$[rint($(tmp0))] tmp0=!randint 10, 90 tmp1=!randint 0, 5 tmp2=!randitem -1,1 val21=$[($(tmp0)/100+$(tmp1))*$(tmp2)] tmp0=!randint 10, 90 tmp1=!randint 0, 5 tmp2=!randitem -1,1 val22=$[($(tmp0)/100+$(tmp1))*$(tmp2)] tmp0=!randitem 1,2,3,5,8 tmp1=!randitem 1000,10000,100000 tmp2=!randitem -1,1 val23=$[rint($(tmp0)*$(tmp1)*$(tmp2))] tmp0=!randitem 1,2,3,5,8 tmp1=!randitem 1000,10000,100000 tmp2=!randitem -1,1 val24=$[rint($(tmp0)*$(tmp1)*$(tmp2))] tmp0=!randint 1, 20 val25=$[$(tmp0)/50+1] tmp0=!randint 1, 20 val26=$[$(tmp0)/50+1] tmp0=!randitem 2,3 tmp1=!randitem +,* tmp2=!randitem cos,sin tmp3=!randitem $val12,$val23 tmp4=!randitem cos,sin tmp5=!randitem $val15,$val23 tmp=!nonempty items $val16*n,n+$val16 tmp6=!randitem $tmp tmp7=!randitem $val23,$val10 tmp8=!randitem $val24,$val11 tmp=!trim $val10*n^2+$val11*n+$val12, sqrt($val15*n^$val20+$val16*n+$val17), 4-$val20 n^$val15+$val16^n, $val15^n, $val16-$val15 $val10*n^$val15+$val16^n, $val11*n^$val17+$val18^n, $val16-$val18 $val23*($val10*n^2+$val11*n), sqrt($val15*n^$(tmp0)+$val16)$(tmp1)$(tmp2)($val12*n!), 1 $val10*$val25^n, $(tmp3)*n^$val15+$val11, 1 n^(n+$val10)+$val12*n^$val15, n^(n+$val11)+$val13*n^$val16, $val10-($val11) n!+$val10*n^$val16, n^n+$val11*$(tmp4)($val12*n!), -1 (n+$val16)!, $(tmp5)^(n+$val17), 1 1+2+3+...+$val15*n, $val10*($(tmp6))^2, 0 ($val15*n)^n, n^($val16*n), -1 $val15^(n+$val16)+$val10*n^$val17, $val15^(n+$val18)+$val11*n^$val19, 0 $(tmp7)*ln($val15*n^$val16+$val17), $(tmp8)*n+$val12, -1 $val10*ln($val15^($val16*n+$val10)+$val18*n^$val17), $val12*n+$val13, 0 $val10*sqrt($val15*n+$val16), $val11*ln($val17*n^$val18+$val19), 1 val27=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val27 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val28=$(tmp0) tmp0=!shuffle 2 val29=$(tmp0) tmp0=!item 1 of $val29 val30=$[rint($(tmp0))] tmp0=!item 2 of $val29 val31=$[rint($(tmp0))] tmp0=!item $val30 of $val28 tmp1=!texmath $(tmp0) val32=$(tmp1) tmp0=!item $val31 of $val28 tmp1=!texmath $(tmp0) val33=$(tmp1) tmp0=!item 3 of $val28 val34=$(tmp0) !ifval $val30=2 val34=$[-($val34)] !endif !ifval $val34=0 val35=$val7 !endif !ifval $val34>0 val35=$val8 !endif !ifval $val34<0 val35=$val6 !endif choicename1=La respuesta ha sido choicegood1=$val35 choicebad1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la naturaleza de la sucesión (un), donde

!insmath u_n = \frac{$val32}{$val33} $()  ?

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=32,33 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/crborn.def0000644000175000017500000000427410575503660026026 0ustar georgeskgeorgesk!set title=Crecimiento y límite !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=25 prevarcnt=24 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 val6=n val7=un val8=    tmp0=!randint 1, 8 tmp1=!randitem 100,1000,10000,100000 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -20, 20 val10=$[rint($(tmp0))] val11=La convergencia no puede ser determinada val12=Converge hacia un valor mayor o iual que $val10 val13=Converge hacia un valor menor o igual que $val10 val14=Converge hacia $val10 val15=Es divergente val16=Es convergente val17=Diverge hacia + infinito val18=Divege hacia - infinito val19=Esa sucesión no existe tmp0=!randitem $val6>$val9,all $val6 val20=$(tmp0) val21=creciente y $val7<$val10 para $val20, decreciente y $val7>$val10 para $val20, creciente y $val7>$val10 para $val20, decreciente y $val7<$val10 para $val20, creciente y no acotada superiormente, creciente y no acotada inferiormente, decreciente y no acotada superiormente, decreciente y no acotada inferiormente val22=$val13,$val12,$val11,$val11,$val17, $val19,$val19,$val18, tmp0=!itemcnt $val21 val23=$[rint($(tmp0))] tmp0=!randint 1, $val23 val24=$[rint($(tmp0))] tmp0=!item $val24 of $val21 val20=$(tmp0) tmp0=!item $val24 of $val22 val25=$(tmp0) tmp0=!item $val24 of \bads val26=$(tmp0) val27=$val12,$val13,$val14,$val15,$val19 !ifval $val24>=5 and $val24<=8 val27=$val19,$val16,$val17,$val18 !endif choicename1=Su respuesta es choicegood1=$val25 choicebad1=$val27 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea ($val7) una sucesión de números reales. Si ($val7) es $val20, ¿Qué se puede decir acerca de la convergencia (después de su existencia)? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,20 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/pow2.def0000644000175000017500000000414610575503667025435 0ustar georgeskgeorgesk!set title=Potencia II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=18 prevarcnt=17 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 20, 80 val6=$[$(tmp0)/100] tmp0=!randint 20, 80 val7=$[$(tmp0)/100] tmp0=!randitem 0,1 val8=$[rint($(tmp0))] !ifval $val8=1 tmp0=!randint 1, 5 val6=$[$val6+$(tmp0)] !endif !ifval $val8=1 tmp0=!randint 1, 5 val7=$[$val7+$(tmp0)] !endif tmp0=!randint 0, 10 !ifval $val8=1 and $(tmp0)<3 val7= $val6 !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val6=$val6 !else val6=(-$val6) !endif tmp0=!randitem -1,1 !ifval $(tmp0)>0 val7=$val7 !else val7=(-$val7) !endif tmp0=!randitem n,n,n,(n-1),(n-2),(n-3),(n-4),(n-5),(n+1),(n+2),(n+3),(n+4),(n+5) val9=$(tmp0) tmp0=!randitem n,n,n,(n-1),(n-2),(n-3),(n-4),(n-5),(n+1),(n+2),(n+3),(n+4),(n+5) val10=$(tmp0) evaltmp=$val9-$val10 evaltmp=!mathsubst n=(0) in $evaltmp tmp0=($evaltmp) val11=$[rint($(tmp0))] val12=$[(1-$val7)/(1-$val6)] !ifval $val11>0 && $val8=1 val12=$[$val12*$val6^$val11] !endif !ifval $val11<0 && $val8=1 val12=$[$val12*$val7^($val11)] !endif !ifval $val8=1 and abs($val6) > abs($val7) val12= no !endif !ifval $val8=1 and abs($val6) < abs($val7) val12=$[ 0] !endif !ifval $val8=1 and $val6+($val7)=0 val12= no !endif replytype1=default replyname1=lim(un) replygood1=$val12,no question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el límite de la sucesión (un), donde

!insmath u_n=(1+$val6+$val6^2+$val6^3+...+$val6^$val9) /(1+$val7+$val7^2+$val7^3+...+$val7^$val10) $()

Introducir no si la sucesión es divergente. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/epsilon.def0000644000175000017500000000773010575503666026220 0ustar georgeskgeorgesk!set title=Epsilon !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=33 prevarcnt=32 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 val6=n val7=(un) val8=    tmp0=!randint 3, 10 val9=$[rint($(tmp0))] tmp0=!randitem 5,10,20,30,50,80,100,200,300,500,1000,2000,5000,10000 val10=$[rint($(tmp0))] tmp0=!randint 1, 9 tmp1=!randitem 1000,1000000 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 5,10,20,30,50,80,100,200,300,500,1000,2000,5000,10000 val12=$[rint($(tmp0))] tmp0=!randint 1, 9 tmp1=!randitem 1000,1000000 val13=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 5 tmp1=!randitem -1,1 val14=$[rint($(tmp0)*$(tmp1))] val15=$[rint(-($val14))] tmp0=!randitem 1/$val6,$val11/$val6,1/$val6!,$val11/$val6!, ($val6+1)/$val62,($val6+$val11)/$val62, 1/$val62,$val11/$val62, 1/$val6$val9,$val11/$val6$val9, exp(-$val6),exp(-2$val6),exp(-$val9$val6), 1/($val6+1),1/($val6+$val10),$val11/($val6+1),$val11/($val6+$val10) val16=$(tmp0) tmp0=!randitem $val6,$val62,$val6$val9, $val6/$val11,$val62/$val11,$val6$val9/$val11, exp($val6),exp(2$val6),exp($val9$val6), n!,n!/$val11 val17=$(tmp0) val18=Esta condición no determina la convergencia val19=Converge a $val14 val20=No converge a $val14 val21=Converge a $val15 val22=No converge a $val15 val23=Es divergente !ifval $val14<0 val24=+ $val15 !else val24=- $val14 !endif !ifval $val14>0 val25=+ $val14 !else val25=- $val15 !endif val26=| un $val24 | tmp0=!randitem para todo $val6>1, para algún $val6>$val12 val27=$(tmp0) tmp0=!randitem par,impar, divisible por 3, divisible por 5, divisible por 10, no divisible por 3, no divisible por 5, no divisible por 10 val28=$(tmp0) val29=$val26 < $val16$val8 $val27, $val26 < $val16$val8 $val27, $val26 < $val16$val8 $val27, $val26 < $val17$val8 $val27, $val26 > $val16$val8 $val27, $val26 > $val17$val8 $val27, $val26 > $val17$val8 $val27, $val26 > $val17$val8 $val27, $val26 < $val16$val8 para todo $val6<$val13, $val26 > $val17$val8 para todo $val6<$val13, $val26 < 1/$val11$val8 $val27, $val26 > 1/$val11$val8 $val27, $val26 < $val16$val8 para todo $val6 $val28, $val26 > $val17$val8 para todo $val6 $val28, $val26 < $val16 para $val6 par y | un $val25 | < $val16 para $val6 impar, $val26 < 1/$val11 para $val6 par y | un $val25 | < 1/$val11 para $val6 impar, $val26 < $val16 para $val6 par y $val26 < $val17 para $val6 impar, $val26 < $val16 para $val6 par y $val26 > $val17 para $val6 impar val30=$val19,$val19,$val19,$val18,$val18, $val23,$val23,$val23,$val18,$val18, $val18,$val20,$val18,$val23,$val23, $val23,$val18,$val23 val31=$val21,$val21,$val20,$val19,$val20, $val20,$val20,$val20,$val19,$val20, $val19,$val23,$val19,$val20,$val19, $val18,$val19,$val18 tmp0=!itemcnt $val29 val32=$[rint($(tmp0))] tmp0=!randint 1, $val32 val33=$[rint($(tmp0))] tmp0=!item $val33 of $val29 val34=$(tmp0) tmp0=!item $val33 of $val30 val35=$(tmp0) tmp0=!item $val33 of $val31 val36=$(tmp0) val37=$val36,$val19,$val21,$val20,$val23,$val18 choicename1=La respuesta ha sido choicegood1=$val35 choicebad1=$val37 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val7 una sucesión de números reales. ¿Qué implica la condición

$val34

a la convergencia de $val7? (Debes elegir la mejor opción.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,34 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/comp.def0000644000175000017500000000677110575503660025503 0ustar georgeskgeorgesk!set title=Comparación de sucesiones !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=35 prevarcnt=34 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 val6=n val7=un val8=vn tmp0=!randint 2, 25 val9=$[rint($(tmp0))] tmp0=!randint 2, 20 val10=$[rint($val9+$(tmp0))] val11=| $val7 - $val9 | val12=| $val8 - $val10 | val13=| $val7 - $val10 | val14=| $val8 - $val9 | tmp0=!randint 2, 9 val15=$[rint($(tmp0))] tmp0=!randint 2, 9 val16=$[rint($(tmp0))] !ifval $val16=$val15 val16=$[rint($val15+1)] !endif val17=$[rint($val9*$val15)] val18=$[rint($val10*$val16)] val19=    tmp0=!randint 1, 8 tmp1=!randitem 100,1000,10000,100000 val20=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem par,impar, divisible por 3, divisible por 5, divisible por 10, no divisible por 3, no divisible por 5, no divisible por 10 val21=$(tmp0) tmp0=!randitem $val6>$val20,todo $val6 val22=$(tmp0) val23=$val15$val12 < $val16$val11$val19 para $val22, $val15$val12 > $val16$val11$val19 para $val22, $val15$val14 < $val16$val13$val19 para $val22, $val15$val14 > $val16$val13$val19 para $val22, $val15$val12 < | $val16$val7 - $val17 |$val19 para $val22, | $val15$val8 - $val18 | < $val16$val11$val19 para $val22, -$val15$val12 < $val16$val11$val19 para $val22, $val15$val12 < -$val16$val11$val19 para $val22, -$val15$val12 < -$val16$val11$val19 para $val22, -$val15$val12 > -$val16$val11$val19 para $val22, $val16$val12 < | $val15$val7 - $val17 |$val19 para $val22, | $val16$val8 - $val18 | < $val15$val11$val19 para $val22, $val15$val12 < $val16$val11$val19 para $val6<$val20, $val15$val14 > $val16$val13$val19 para $val6<$val20, $val15$val12 < $val16$val11$val19 para todo $val6 $val21, $val15$val14 > $val16$val13$val19 para todo $val6 $val21 val24=$val10,$val10,$val9,$val9,$val10, $val10,$val10,$val10,$val10,$val10, $val10,$val10,$val10,$val9,$val10, $val9 tmp0=!itemcnt $val23 val25=$[rint($(tmp0))] tmp0=!randint 1, $val25 val26=$[rint($(tmp0))] tmp0=!item $val26 of $val24 val27=$[$(tmp0)] tmp0=!item $val26 of $val23 val28=$(tmp0) val29=La convergencia no puede ser determinada val30=Converge hacia $val27 val31=Converge hacia $val10 - $val9 val32=No converge hacia $val27 val33=($val8) no existe val34=$val30,$val29,$val29,$val32,$val29, $val32,$val29,$val33,$val29,$val30, $val30,$val30,$val29,$val29,$val29, $val32, val35=$val29,$val30,$val30,$val29,$val30, $val30,$val30,$val29,$val30,$val29, $val29,$val18,$val30,$val32,$val30, $val29, tmp0=!item $val26 of $val34 val36=$(tmp0) tmp0=!item $val26 of $val35 val37=$(tmp0) val38=$val37,$val29,$val30,$val32,$val31,$val33 choicename1=Su respuesta es choicegood1=$val36 choicebad1=$val38 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean ($val7) y ($val8) dos sucesiones de números reales donde ($val7) converge hacia $val9. Si tenemos

$val28 ,

¿Qué se puede decir acerca de la convergencia de ($val8)? (Debes elegir la mejor opción.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,28 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/def/cvratio.def0000644000175000017500000000663710575503672026220 0ustar georgeskgeorgesk!set title=Convergencia y proporción de términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-3.000000 rightrange=3.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c,c varcnt=21 prevarcnt=20 postvarcnt=0 replycnt=0 choicecnt=2 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=un+1/un val7=(un) tmp0=!randitem -5,-4,-3,-2,2,3,4,5 val8=$[rint($(tmp0))] tmp0=!randitem 1/2,2/3,1/3,1/4,3/4,-1/2,-2/3,-1/3,-1/4,-3/4 val9=$(tmp0) val10=converge hacia $val8, es convergente converge hacia $val8, converge hacia -1, es divergente, converge hacia 0, converge hacia 0, converge hacia 0, converge hacia un valor no nulo, converge hacia $val9, converge hacia 0 val11=$val6 converge a 1, $val6 converge a 1, $val6 converge a 1, $val6 converge a -1, $val6 converge a $val8, $val6 converge a $val9, |$val6| converge hacia un valor menor que 1, |$val6|<1 a partir de algún n, $val6 converge a 1, $val6 converge a $val9, |$val6|<1 a partir de algún n, val12=es convergente, es convergente, no converge a 0, es divergente, es divergente, converge a 0, converge a 0, converge a 0, puede ser divergente, converge a $val9, es convergente, val13=1,0,1,0,0, 0,0,0,1,0, 0, val14=0,0,0,0,1, 1,1,0,1,0, 0, val15=Existen sucesiones divergentes para las que $val6 converge a 1., Existen sucesiones divergentes para las que $val6 converge a 1 y sucesiones convergentes a 0 para las que $val6 no converge a 1., Existen sucesiones convergentes a 0 para las que $val6 converge a 1., Existen sucesiones convergentes a 0 para las que $val6 converge a -1., Existen sucesiones divergentes para las que $val6 no tiene límite., Existen sucesiones convergentes a 0 para las que $val6 no tiene límite., Existen sucesiones convergentes a 0 para las que $val6 no tiene límite., , Existen sucesiones divergentes para las que $val6 converge a 1., $val7 converge a 0 cuando $val6 converge a $val9., Nada impide que $val6 tome valores de distinto signo y la sucesión diverja. Por ejemplo, la sucesión (-1)n(1+1/n) es divergente., tmp0=!itemcnt $val10 val16=$[rint($(tmp0))] tmp0=!randint 1, $val16 val17=$[rint($(tmp0))] tmp0=!item $val17 of $val10 val18=$(tmp0) tmp0=!item $val17 of $val12 val19=$(tmp0) tmp0=!item $val17 of $val11 val20=$(tmp0) tmp0=!item $val17 of $val15 val21=$(tmp0) tmp0=!item $val17 of $val13 val22=$[rint($(tmp0))] tmp0=!item $val17 of $val14 val23=$[rint($(tmp0))] !ifval $val22=1 val24=Verdadera !else val24=Falsa !endif !ifval $val23=1 val25=Verdadera !else val25=Falsa !endif choicename1=A es choicegood1=$val24 choicebad1=Verdadera,Falsa choicename2=B es choicegood2=$val25 choicebad2=Verdadera,Falsa question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val7 una sucesión de números reales. Entre las siguientes afirmaciones, ¿cuál es verdadera?, ¿cuál es falsa?

  1. Si $val7 $val18, entonces $val20.

  2. Si $val20, entonces $val7 $val19.
$() !exit :hint $() $() !exit :help $() $() !exit :solution $()$val21 $() !exit :feedback !exit :test !exit :stat vsavelist=7,18,19,20,21 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/intro.phtml0000644000175000017500000000034410575503654025521 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene $exototal ejercicios sobre sucesiones infinitas: convergencia, límites, sucesiones recursivas, ... !read oef/intromenu.phtml !read related.phtml sucesiones, convergencia, límite !tail wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/Exindex0000644000175000017500000000103310575503674024645 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of growthcomp,comp,cvdiff,cvratio,crborn,2lim,epsilon,frac2,frac3,frac3b,recfn,reclim,monotony,monotony2,pow,pow2, !set titlelist=!char 1 to -2 of Comparación de crecimiento,Comparación de sucesiones,Convergencia y diferencia de términos,Convergencia y proporción de términos,Crecimiento y límite,Dos limites,Epsilon,Fracción con 2 términos,Fracción con 3 términos,Fracción con 3 términos II,Función recursiva,Límite recursivo,Monotonía I,Monotonía II,Potencia I,Potencia II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/Extitles0000644000175000017500000000066710575503673025055 0ustar georgeskgeorgesk2lim:Dos limites comp:Comparación de sucesiones crborn:Crecimiento y límite cvdiff:Convergencia y diferencia de términos cvratio:Convergencia y proporción de términos epsilon:Epsilon frac2:Fracción con 2 términos frac3:Fracción con 3 términos frac3b:Fracción con 3 términos II growthcomp:Comparación de crecimiento monotony:Monotonía I monotony2:Monotonía II pow:Potencia I pow2:Potencia II recfn:Función recursiva reclim:Límite recursivo wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/var.proc0000644000175000017500000000115110575503656024774 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/images/0000755000175000017500000000000010575503655024565 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/about.phtml0000644000175000017500000000005310575503675025500 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/content.html0000644000175000017500000000651510575503656025670 0ustar georgeskgeorgesk

Dos limites

Sea ($val7) una sucesión infinita de números reales. Si se tiene

$val41 y $val42 para todo $val26 ,

¿Qué se puede decir acerca de la convergencia? (Debes elegir la mejor opción.)


Comparación de sucesiones

Sean ($val7) y ($val8) dos sucesiones de números reales donde ($val7) converge hacia $val9. Si tenemos

$val28 ,

¿Qué se puede decir acerca de la convergencia de ($val8)? (Debes elegir la mejor opción.)


Crecimiento y límite

Sea ($val7) una sucesión de números reales. Si ($val7) es $val20, ¿Qué se puede decir acerca de la convergencia (después de su existencia)?

Convergencia y diferencia de términos

Sea $val8 una sucesión de números reales. Entre las siguientes afirmaciones, ¿cuál es verdadera?, ¿cuál es falsa?
  1. Si $val8 $val19, entonces $val21.

  2. Si $val21, entonces $val8 $val20.

Convergencia y proporción de términos

Sea $val7 una sucesión de números reales. Entre las siguientes afirmaciones, ¿cuál es verdadera?, ¿cuál es falsa?
  1. Si $val7 $val18, entonces $val20.

  2. Si $val20, entonces $val7 $val19.

Epsilon

Sea $val7 una sucesión de números reales. ¿Qué implica la condición

$val34

a la convergencia de $val7? (Debes elegir la mejor opción.)


Fracción con 2 términos

Calcular el límite de la sucesión (un), donde


Fracción con 3 términos

Calcular el límite de la sucesión (un), donde


Fracción con 3 términos II

Calcular el límite de la sucesión (un), donde

WARNING En este ejercicio, las respuestas aproximadas serán consideradas falsas! Tomar pi en lugar de 3.14159265, por ejemplo.


Comparación de crecimiento

¿Cuál es la naturaleza de la sucesión (un), donde

 ?


Monotonía I

Estudiar el crecimiento, sup, inf, min, max de la sucesión (un) para n $m_ge $val35, donde

.

Escribir $val6 para indicar que determinado valor no existe, y $val7 o -$val7 para +$m_infty o -$m_infty.


Monotonía II

Estudiar el crecimiento, sup, inf, min, max de la sucesión (un) para n $m_ge $val36, donde

.

Escribir $val6 para indicar que determinado valor no existe, y $val7 o -$val7 para +$m_infty o -$m_infty.


Potencia I

Calcular el límite de la sucesión (un), donde


Potencia II

Calcular el límite de la sucesión (un), donde

Introducir no si la sucesión es divergente.


Función recursiva

La sucesión tal que
es una sucesión recursiva definida por para cierta función . Encontrar dicha funcion.

Límite recursivo

Encontrar el límite de la sucesión recursiva tal que
wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/main.phtml0000644000175000017500000000003110575503637025304 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/INDEX0000644000175000017500000000101510575503653024105 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=(OEF) Sucesiones description=colección de ejercicios sobre sucesiones y límites. language=es category=exercise, oef domain=analysis, calculus level=H6,U1,U2 keywords=sucesión, límite, convergencia require=maxima scoring=yes copyright=© 2001- (GNU GPL) 2007 author=XIAO Gang address=xiao@unice.fr version=1.12 wims_version=3.52 vardef=oef/var.def translator=Pilar Ullán translator_address=pilar.ullan@ya.com data= wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/0000755000175000017500000000000010575503652024104 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/pow.oef0000644000175000017500000000131710575503642025405 0ustar georgeskgeorgesk\title{Potencia I} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \real{a=randint(20..80)/100} \integer{big=random(0,0,0,1)} \real{a=\big=1?\a+randint(1..5)} \integer{inverse=\big=0?random(0,1):1} \text{a=random(-1,1)>0?\a:(-\a)} \text{sum=1 + \a + \a^2 + \a^3 + ... + \a^n} \text{sum=\inverse=1?1/(\sum)} \real{lim=\inverse=0?1/(1-\a):(1-\a)} \real{lim=\big=1?0} \statement{Calcular el límite de la sucesión (un), donde

\( u_n = \sum )

} \answer{lim(un)}{\lim}{type=numeric} \hint{One might use the formula

\( 1+x+x^2+...+x^n = (1-x^(n+1))/(1-x) ) .

} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/reclim.oef0000644000175000017500000000400010575503651026043 0ustar georgeskgeorgesk\title{Límite recursivo} \language{em} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=random(2..10)} \integer{A=random(2..10)*random(-1,1)} \integer{b=random(11,13,17,19)} \integer{c=random(\b-4..2*\b)} \text{rat=random(1/3,2/3,1/4,3/4,1/5,2/5,3/5,4/5)} \text{pm=random(+,-)} \text{flist= \b/(\c\pm x), sqrt(\a\pm x), atan(\a\pm x), sin(\A\pm x), cos(\A\pm x), (\a\pm x)^(\rat) } \integer{cnt=items(\flist)} \integer{ch=random(1..\cnt)} \function{f=item(\ch, \flist)} \real{u1=randint(1..18)/10} \text{u2=item(\ch, {\b \over {\c \pm \u1}}, \sqrt{\a \pm \u1}, \arctan\left(\a \pm \u1\right), \sin\left(\A \pm \u1\right), \cos\left(\A \pm \u1\right), \left(\a \pm \u1 \right)^{\rat} )} \text{u3=item(\ch, {\b \over {\c \pm \u2}}, \sqrt{\a \pm \u2}, \arctan\left(\a \pm \u2\right), \sin\left(\A \pm \u2\right), \cos\left(\A \pm \u2\right), \left(\a \pm \u2 \right)^{\rat} )} \text{u4=item(\ch, {\b \over {\c \pm \u3}}, \sqrt{\a \pm \u3}, \arctan\left(\a \pm \u3\right), \sin\left(\A \pm \u3\right), \cos\left(\A \pm \u3\right), \left(\a \pm \u3 \right)^{\rat} )} \real{lim=evalue(\f,x=\u1)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{lim=evalue(\f,x=\lim)} \real{l1=\lim-1} \real{l2=\lim+1} \real{lim=solve(\f - x,x=\l1..\l2)} \statement{Encontrar el límite de la sucesión recursiva \((u_n)) tal que

\( u_1=\u1\;,\;u_2=\u2\;,)
\( u_3=\u3\;, )
\( u_4=\u4\;,\; \cdots )
} \hint{Esta sucesión es una sucesión recursiva definida por un+1 = f(un), para cierta función \(f). ¿De qué función se trata? } \answer{El limite}{\lim}{type=default} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/epsilon.oef0000644000175000017500000000563410575503650026256 0ustar georgeskgeorgesk\title{Epsilon} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{n=n} \text{seq=(un)} \text{spc=   } \integer{pow=random(3..10)} \integer{start=random(5,10,20,30,50,80,100,200,300,500,1000,2000,5000,10000)} \integer{big=random(1..9)*random(1000,1000000)} \integer{Start=random(5,10,20,30,50,80,100,200,300,500,1000,2000,5000,10000)} \integer{Big=random(1..9)*random(1000,1000000)} \integer{lim=random(1..5)*random(-1,1)} \integer{neg=-(\lim)} \text{epsilon=random(1/\n,\big/\n,1/\n!,\big/\n!, (\n+1)/\n2,(\n+\big)/\n2, 1/\n2,\big/\n2, 1/\n\pow,\big/\n\pow, exp(-\n),exp(-2\n),exp(-\pow\n), 1/(\n+1),1/(\n+\start),\big/(\n+1),\big/(\n+\start) )} \text{N=random(\n,\n2,\n\pow, \n/\big,\n2/\big,\n\pow/\big, exp(\n),exp(2\n),exp(\pow\n), n!,n!/\big )} \text{non=Esta condición no determina la convergencia} \text{cvlim=Converge a \lim} \text{nonlim=No converge a \lim} \text{cvneg=Converge a \neg} \text{nonneg=No converge a \neg} \text{dv=Es divergente} \text{Neg=\lim<0?+ \neg:- \lim} \text{Lim=\lim>0?+ \lim:- \neg} \text{diff=| un \Neg |} \text{cond1=random(para todo \n>1, para algún \n>\Start)} \text{ch=random(par,impar, divisible por 3, divisible por 5, divisible por 10, no divisible por 3, no divisible por 5, no divisible por 10)} \text{conds=\diff < \epsilon\spc \cond1, \diff < \epsilon\spc \cond1, \diff < \epsilon\spc \cond1, \diff < \N\spc \cond1, \diff > \epsilon\spc \cond1, \diff > \N\spc \cond1, \diff > \N\spc \cond1, \diff > \N\spc \cond1, \diff < \epsilon\spc para todo \n<\Big, \diff > \N\spc para todo \n<\Big, \diff < 1/\big\spc \cond1, \diff > 1/\big\spc \cond1, \diff < \epsilon\spc para todo \n \ch, \diff > \N\spc para todo \n \ch, \diff < \epsilon para \n par y | un \Lim | < \epsilon para \n impar, \diff < 1/\big para \n par y | un \Lim | < 1/\big para \n impar, \diff < \epsilon para \n par y \diff < \N para \n impar, \diff < \epsilon para \n par y \diff > \N para \n impar } \text{goods=\cvlim,\cvlim,\cvlim,\non,\non, \dv,\dv,\dv,\non,\non, \non,\nonlim,\non,\dv,\dv, \dv,\non,\dv } \text{bads=\cvneg,\cvneg,\nonlim,\cvlim,\nonlim, \nonlim,\nonlim,\nonlim,\cvlim,\nonlim, \cvlim,\dv,\cvlim,\nonlim,\cvlim, \non,\cvlim,\non } \integer{cnt=items(\conds)} \integer{t=random(1..\cnt)} \text{cond=item(\t,\conds)} \text{good=item(\t,\goods)} \text{bad1=item(\t,\bads)} \text{lims=\bad1,\cvlim,\cvneg,\nonlim,\dv,\non } \statement{Sea \seq una sucesión de números reales. ¿Qué implica la condición

\cond

a la convergencia de \seq? (Debes elegir la mejor opción.) } \choice{La respuesta ha sido}{\good}{\lims} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/recfn.oef0000644000175000017500000000275210575503652025702 0ustar georgeskgeorgesk\title{Función recursiva} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=random(2..10)} \integer{A=random(2..10)*random(-1,1)} \integer{b=random(11,13,17,19)} \text{rat=random(1/3,2/3,1/4,3/4,1/5,2/5,3/5,4/5)} \text{pm=random(+,-)} \text{flist= \b/(\a\pm x), sqrt(\a\pm x), atan(\a\pm x), sin(\A\pm x), cos(\A\pm x), (\a\pm x)^(\rat) } \integer{cnt=items(\flist)} \integer{ch=random(1..\cnt)} \function{f=item(\ch, \flist)} \integer{u1=random(1..9)} \integer{u1=\u1=\a?\a-1} \text{u2=item(\ch, {\b \over {\a \pm \u1}}, \sqrt{\a \pm \u1}, \arctan\left(\a \pm \u1\right), \sin\left(\A \pm \u1\right), \cos\left(\A \pm \u1\right), \left(\a \pm \u1 \right)^{\rat} )} \text{u3=item(\ch, {\b \over {\a \pm \u2}}, \sqrt{\a \pm \u2}, \arctan\left(\a \pm \u2\right), \sin\left(\A \pm \u2\right), \cos\left(\A \pm \u2\right), \left(\a \pm \u2 \right)^{\rat} )} \text{u4=item(\ch, {\b \over {\a \pm \u3}}, \sqrt{\a \pm \u3}, \arctan\left(\a \pm \u3\right), \sin\left(\A \pm \u3\right), \cos\left(\A \pm \u3\right), \left(\a \pm \u3 \right)^{\rat} )} \statement{La sucesión \((u_n)) tal que

\( u_1=\u1\;,\;u_2=\u2\;, )
\( u_3=\u3\;, )
\( u_4=\u4\;,\; \cdots )
es una sucesión recursiva definida por \(u_{n+1}=f\left(u_n\right)) para cierta función \(f). Encontrar dicha funcion. } \answer{f(x)}{\f}{type=default} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/monotony2.oef0000644000175000017500000000653410575503642026552 0ustar georgeskgeorgesk\title{Monotonía II} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{no=no} \text{Inf=inf} \text{inc=siempre creciente} \text{dec=siempre decreciente} \text{pinc=creciente a partir de algún valor} \text{pdec=decreciente a partir de algún valor} \text{incdec=indeterminado hacia el infinito} \text{growth=\incdec,\inc,\dec,\pinc,\pdec} \integer{c1=random(2..10)*random(-1,1)} \integer{c2=random(2..10)*random(-1,1)} \integer{c3=random(2..10)*random(-1,1)} \integer{c4=random(2..10)*random(-1,1)} \integer{c5=random(2..10)*random(-1,1)} \integer{C1=random(2..10)} \integer{C2=random(2..10)} \integer{C3=random(2..10)} \integer{C4=random(2..10)} \integer{C5=random(2..10)} \integer{C10=random(5..15)} \integer{CC1=random(10..100)} \integer{C345=random(3,4,5)} \real{d1=(randint(10..90)/100+randint(0..5))*random(-1,1)} \real{d2=(randint(10..90)/100+randint(0..5))*random(-1,1)} \real{s1=randint(1..20)/50+1} \real{s2=randint(1..20)/50+1} \integer{st=random(1..10)} # terme, debut, croiss, inf,sup,min,max \matrix{data= \C1*n/(n^2+\CC1), 0, \pdec, 0,diff,0,same \C1*n/(n^2+\CC1), 1, \pdec, 0,diff,\no,same -\C1*n/(n^2+\CC1), 0, \pinc, diff,0,same,0 -\C1*n/(n^2+\CC1), 1, \pinc, diff,0,same,\no \C1*cos(random(2,4)*pi*n)/random(n,n^2,n^3),random(1,2,3),\dec, 0,start,\no,same -\C1*cos(random(2,4)*pi*n)/random(n,n^2,n^3),random(1,2,3),\inc, start,0,same,\no \C1*cos(pi*n/2)/(n+\C2), 0, \incdec, -\C1/(2+\C2),\C1/\C2,same,same -\C1*cos(pi*n/2)/(n+\C2), 0, \incdec, -\C1/\C2,\C1/(2+\C2),same,same \C1*sin(pi*n/2)/(n+\C2), 0, \incdec, -\C1/(3+\C2),\C1/(1+\C2),same,same -\C1*sin(pi*n/2)/(n+\C2), 0, \incdec, -\C1/(1+\C2),\C1/(3+\C2),same,same \C10*ln(randint(5..15)*n+\C345)-n, randint(0..2),\pdec, -\Inf,diff,\no,same -\C10*ln(randint(5..15)*n+\C345)+n, randint(0..2),\pinc, diff,\Inf,same,\no } \text{line=randomrow(\data)} #text{line=row(rows(\data),\data)} \text{uu=item(1,\line)} \text{un=texmath(\uu)} \integer{start=item(2,\line)} \text{goodcr=item(3,\line)} \text{inf=item(4,\line)} \text{sup=item(5,\line)} \text{inf=\inf notwordof start diff?pari(\inf)} \text{sup=\sup notwordof start diff?pari(\sup)} \real{inf=start iswordof \inf?evalue(\uu,n=\start)} \real{sup=start iswordof \sup?evalue(\uu,n=\start)} \text{infd=diff iswordof \inf?diff(\uu,n)} \text{infe=diff iswordof \inf?solve(\infd,n=\start..100)} \real{inf=diff iswordof \inf? min(evalue(\uu,n=floor(\infe)),evalue(\uu,n=ceil(\infe))) } \text{supd=diff iswordof \sup?diff(\uu,n)} \text{supe=diff iswordof \sup?solve(\supd,n=\start..100)} \real{sup=diff iswordof \sup? max(evalue(\uu,n=floor(\supe)),evalue(\uu,n=ceil(\supe))) } \text{min=item(6,\line)} \text{max=item(7,\line)} \text{min=\min iswordof same?\inf} \text{max=\max iswordof same?\sup} \statement{Estudiar el crecimiento, sup, inf, min, max de la sucesión (un) para n \ge \start, donde

\( u_n = \un \relax ) .

Escribir \no para indicar que determinado valor no existe, y \Inf o -\Inf para +\infty o -\infty. } \choice{El crecimiento de la sucesión}{\goodcr}{\growth} \answer{inf{un}}{\inf,\no,\Inf}{type=function} \answer{sup{un}}{\sup,\no,\Inf}{type=function} \answer{min{un}}{\min,\no,\Inf}{type=function} \answer{max{un}}{\max,\no,\Inf}{type=function} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/cvdiff.oef0000644000175000017500000000434210575503643026043 0ustar georgeskgeorgesk\title{Convergencia y diferencia de términos} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{diff=un+1-un} \text{ratio=un+1/un} \text{seq=(un)} \integer{lim=random(-5,-4,-3,-2,2,3,4,5)} \text{half=random(1/2,2/3,1/3,1/4,3/4,-1/2,-2/3,-1/3,-1/4,-3/4)} \text{cvdvs=converge hacia \lim, es convergente, es divergente, es convergente, es divergente, converge a 0 converge a 1, es convergente, es convergente } \text{conds=\diff va hacia 0, \diff va hacia 0, (\diff) converge hacia \half, (\diff) es convergente, (\diff) es divergente, (\diff) converge hacia 0, (\diff) converge hacia 1, (\diff) es decreciente, (|\diff|) es decreciente } \text{cvdv2s=es convergente, es convergente, es divergente, es convergente, es divergente, converge a 0, converge a 1, es convergente, es convergente } \text{g1s=1,1,0,1,0, 1,0,0,0 } \text{g2s=0,0,1,0,1, 0,0,0,0 } \text{ans=Existen sucesiones divergentes para las que \diff va hacia 0., Existen sucesiones divergentes para las que \diff va hacia 0., Si \diff no va a 0 entonces las sucesión \seq es absolutamente divergente. Pero el recíproco no es cierto., Si (\diff) converge a un valor distinto de 0 entonces \seq es divergente., Existen sucesiones divergentes para las que \diff va hacia 0., Existen sucesiones divergentes para las que \diff va hacia 0., Si (\diff) converge a 1 entonces \seq es divergente., Pensar el caso en el que \diff fuese negativo!, (|\diff|) puede converger hacia 0 sin ser decreciente. } \integer{cnt=items(\cvdvs)} \integer{t=random(1..\cnt)} \text{cvdv=item(\t,\cvdvs)} \text{cvdv2=item(\t,\cvdv2s)} \text{cond=item(\t,\conds)} \text{an=item(\t,\ans)} \integer{g1=item(\t,\g1s)} \integer{g2=item(\t,\g2s)} \text{ch1=\g1=1?Verdadera:Falsa} \text{ch2=\g2=1?Verdadera:Falsa} \statement{Sea \seq una sucesión de números reales. Entre las siguientes afirmaciones, ¿cuál es verdadera?, ¿cuál es falsa?

  1. Si \seq \cvdv, entonces \cond.

  2. Si \cond, entonces \seq \cvdv2.
} \choice{A es}{\ch1}{Verdadera,Falsa} \choice{B es}{\ch2}{Verdadera,Falsa} \solution{\an} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/frac3b.oef0000644000175000017500000000206210575503653025740 0ustar georgeskgeorgesk\title{Fracción con 3 términos II} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{integers=shuffle(2,3,pi,e,(1/e),(1/pi),(sqrt(2)),(sqrt(5)),(sqrt(10)), (pi+1),(pi+2),(e+1),(e+2),(2*pi+1),(2*e+1))} \text{a=item(1,\integers)} \text{b=item(2,\integers)} \text{c=item(3,\integers)} \text{a=random(-1,1)>0?\a:(-\a)} \text{b=random(-1,1)>0?\b:(-\b)} \text{c=random(-1,1)>0?\c:(-\c)} \text{pp=shuffle(n,(n-1),(n-2),(n-3),(n-4),(n+1),(n+2),(n+3),(n+4))} \text{p1=item(1,\pp)} \text{p2=item(2,\pp)} \text{diff=evalue(\p1-\p2,n=0)} \text{max=abs(\a)>abs(\b)?\a:\b} \text{max=abs(\c)>abs(\max)?\c} \text{lim=maxima((\max)^(\diff);)} \statement{Calcular el límite de la sucesión (un), donde

\( u_n=(\a^\p1 + \b^\p1 + \c^\p1) / (\a^\p2 + \b^\p2 + \c^\p2) )

WARNING En este ejercicio, las respuestas aproximadas serán consideradas falsas! Tomar pi en lugar de 3.14159265, por ejemplo. } \answer{lim(un)}{\lim}{type=formal} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/frac3.oef0000644000175000017500000000146610575503646025607 0ustar georgeskgeorgesk\title{Fracción con 3 términos} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{integers=shuffle(8)} \integer{a=item(1,\integers)+1} \integer{b=item(2,\integers)+1} \integer{c=item(3,\integers)+1} \text{a=random(-1,1)>0?\a:(-\a)} \text{b=random(-1,1)>0?\b:(-\b)} \text{c=random(-1,1)>0?\c:(-\c)} \text{pp=shuffle(n,(n-1),(n-2),(n+1),(n+2))} \text{p1=item(1,\pp)} \text{p2=item(2,\pp)} \integer{diff=evalue(\p1-\p2,n=0)} \integer{max=abs(\a)>abs(\b)?\a:\b} \integer{max=abs(\c)>abs(\max)?\c} \real{lim=(\max)^(\diff)} \statement{Calcular el límite de la sucesión (un), donde

\( u_n=(\a^\p1 + \b^\p1 + \c^\p1) / (\a^\p2 + \b^\p2 + \c^\p2) )

} \answer{lim(un)}{\lim}{type=numeric} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/comp.oef0000644000175000017500000000525210575503641025537 0ustar georgeskgeorgesk\title{Comparación de sucesiones} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{n=n} \text{seq1=un} \text{seq2=vn} \integer{lim1=random(2..25)} \integer{lim2=\lim1+random(2..20)} \text{abs1=| \seq1 - \lim1 |} \text{abs2=| \seq2 - \lim2 |} \text{abs12=| \seq1 - \lim2 |} \text{abs21=| \seq2 - \lim1 |} \integer{coeff1=random(2..9)} \integer{coeff2=random(2..9)} \integer{coeff2=\coeff2=\coeff1?\coeff1+1} \integer{Lim1=\lim1*\coeff1} \integer{Lim2=\lim2*\coeff2} \text{spc=   } \integer{start=random(1..8)*random(100,1000,10000,100000)} \text{ch=random(par,impar, divisible por 3, divisible por 5, divisible por 10, no divisible por 3, no divisible por 5, no divisible por 10)} \text{cond1=random(\n>\start,todo \n)} \text{conds=\coeff1\abs2 < \coeff2\abs1\spc para \cond1, \coeff1\abs2 > \coeff2\abs1\spc para \cond1, \coeff1\abs21 < \coeff2\abs12\spc para \cond1, \coeff1\abs21 > \coeff2\abs12\spc para \cond1, \coeff1\abs2 < | \coeff2\seq1 - \Lim1 |\spc para \cond1, | \coeff1\seq2 - \Lim2 | < \coeff2\abs1\spc para \cond1, -\coeff1\abs2 < \coeff2\abs1\spc para \cond1, \coeff1\abs2 < -\coeff2\abs1\spc para \cond1, -\coeff1\abs2 < -\coeff2\abs1\spc para \cond1, -\coeff1\abs2 > -\coeff2\abs1\spc para \cond1, \coeff2\abs2 < | \coeff1\seq1 - \Lim1 |\spc para \cond1, | \coeff2\seq2 - \Lim2 | < \coeff1\abs1\spc para \cond1, \coeff1\abs2 < \coeff2\abs1\spc para \n<\start, \coeff1\abs21 > \coeff2\abs12\spc para \n<\start, \coeff1\abs2 < \coeff2\abs1\spc para todo \n \ch, \coeff1\abs21 > \coeff2\abs12\spc para todo \n \ch } \text{liml=\lim2,\lim2,\lim1,\lim1,\lim2, \lim2,\lim2,\lim2,\lim2,\lim2, \lim2,\lim2,\lim2,\lim1,\lim2, \lim1 } \integer{cnt=items(\conds)} \integer{t=random(1..\cnt)} \real{lim=item(\t,\liml)} \text{cond=item(\t,\conds)} \text{non=La convergencia no puede ser determinada} \text{cv=Converge hacia \lim} \text{cvdiff=Converge hacia \lim2 - \lim1} \text{dv=No converge hacia \lim} \text{vide=(\seq2) no existe} \text{goods=\cv,\non,\non,\dv,\non, \dv,\non,\vide,\non,\cv, \cv,\cv,\non,\non,\non, \dv, } \text{bads=\non,\cv,\cv,\non,\cv, \cv,\cv,\non,\cv,\non, \non,\Lim2,\cv,\dv,\cv, \non, } \text{good=item(\t,\goods)} \text{bad1=item(\t,\bads)} \text{lims=\bad1,\non,\cv,\dv,\cvdiff,\vide } \statement{Sean (\seq1) y (\seq2) dos sucesiones de números reales donde (\seq1) converge hacia \lim1. Si tenemos

\cond ,

¿Qué se puede decir acerca de la convergencia de (\seq2)? (Debes elegir la mejor opción.) } \choice{Su respuesta es}{\good}{\lims} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/monotony.oef0000644000175000017500000000510610575503645026465 0ustar georgeskgeorgesk\title{Monotonía I} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{no=no} \text{Inf=inf} \text{inc=siempre creciente} \text{dec=siempre decreciente} \text{pinc=creciente a partir de algún valor} \text{pdec=decreciente a partir de algún valor} \text{incdec=indeterminado hacia el infinito} \text{growth=\incdec,\inc,\dec,\pinc,\pdec} \integer{c1=random(2..10)*random(-1,1)} \integer{c2=random(2..10)*random(-1,1)} \integer{c3=random(2..10)*random(-1,1)} \integer{c4=random(2..10)*random(-1,1)} \integer{c5=random(2..10)*random(-1,1)} \integer{C1=random(2..10)} \integer{C2=random(2..10)} \integer{C3=random(2..10)} \integer{C4=random(2..10)} \integer{C5=random(2..10)} \integer{C345=random(3,4,5)} \real{d1=(randint(10..90)/100+randint(0..5))*random(-1,1)} \real{d2=(randint(10..90)/100+randint(0..5))*random(-1,1)} \integer{b1=random(1,2,3,5,8)*random(1000,10000,100000)*random(-1,1)} \integer{b2=random(1,2,3,5,8)*random(1000,10000,100000)*random(-1,1)} \real{s1=randint(1..20)/50+1} \real{s2=randint(1..20)/50+1} \integer{st=random(1..10)} # terme, debut, croiss, inf,sup,min,max \matrix{data= \c1+\C1/n, \st, \dec, \c1,\c1+\C1/\st,\no,same \c1-\C1/n, \st, \inc, \c1-\C1/\st,\c1,same,\no \c1+\C1/random(n^2,n^3,sqrt(n),n!),1, \dec, \c1,\c1+\C1,\no,same \c1-\C1/random(n^2,n^3,sqrt(n),n!),1, \inc, \c1-\C1,\c1,same,\no \c1+(-1)^n*\C1/n, 1, \incdec, \c1-\C1,\c1+\C1/2,same,same \c1-(-1)^n*\C1/n, 1, \incdec, \c1-\C1/2,\c1+\C1,same,same n^2-\C1*n+\c2, 0, \pinc, -floor(\C1/2)*ceil(\C1/2)+\c2,\Inf,same,\no -n^2+\C1*n+\c2, 0, \pdec, -\Inf,floor(\C1/2)*ceil(\C1/2)+\c2,\no,same } \text{line=randomrow(\data)} #text{line=row(rows(\data),\data)} \text{un=texmath(item(1,\line))} \integer{start=item(2,\line)} \text{goodcr=item(3,\line)} \text{inf=pari(item(4,\line))} \text{sup=pari(item(5,\line))} \text{min=item(6,\line)} \text{max=item(7,\line)} \text{min=\min iswordof same?\inf} \text{max=\max iswordof same?\sup} \statement{Estudiar el crecimiento, sup, inf, min, max de la sucesión (un) para n \ge \start, donde

\( u_n = \un \relax ) .

Escribir \no para indicar que determinado valor no existe, y \Inf o -\Inf para +\infty o -\infty. } \choice{El crecimiento de la sucesión}{\goodcr}{\growth} \answer{inf{un}}{\inf,\no,\Inf}{type=function} \answer{sup{un}}{\sup,\no,\Inf}{type=function} \answer{min{un}}{\min,\no,\Inf}{type=function} \answer{max{un}}{\max,\no,\Inf}{type=function} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/pow2.oef0000644000175000017500000000214410575503651025466 0ustar georgeskgeorgesk\title{Potencia II} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \real{a=randint(20..80)/100} \real{b=randint(20..80)/100} \integer{big=random(0,1)} \real{a=\big=1?\a+randint(1..5)} \real{b=\big=1?\b+randint(1..5)} \text{b=\big=1 and randint(0..10)<3 ? \a} \text{a=random(-1,1)>0?\a:(-\a)} \text{b=random(-1,1)>0?\b:(-\b)} \text{pa=random(n,n,n,(n-1),(n-2),(n-3),(n-4),(n-5),(n+1),(n+2),(n+3),(n+4),(n+5))} \text{pb=random(n,n,n,(n-1),(n-2),(n-3),(n-4),(n-5),(n+1),(n+2),(n+3),(n+4),(n+5))} \integer{diff=evalue(\pa-\pb,n=0)} \real{lim=(1-\b)/(1-\a)} \real{lim=\diff>0 && \big=1?\lim*\a^\diff} \real{lim=\diff<0 && \big=1?\lim*\b^(\diff)} \text{lim=\big=1 and abs(\a) > abs(\b) ? no} \real{lim=\big=1 and abs(\a) < abs(\b) ? 0} \text{lim=\big=1 and \a+(\b)=0 ? no} \statement{Calcular el límite de la sucesión (un), donde

\( u_n=(1+\a+\a^2+\a^3+...+\a^\pa) /(1+\b+\b^2+\b^3+...+\b^\pb) )

Introducir no si la sucesión es divergente. } \answer{lim(un)}{\lim,no}{type=default} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/.htaccess0000644000175000017500000000001610575503640025674 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/growthcomp.oef0000644000175000017500000000426310575503644026776 0ustar georgeskgeorgesk\title{Comparación de crecimiento} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{zero=Converge a 0} \text{nonz=Converge a un valor no nulo} \text{div=Diverge hacia + o - infinito} \text{limits=\zero,\nonz,\div} \integer{c1=random(2..10)*random(-1,1)} \integer{c2=random(2..10)*random(-1,1)} \integer{c3=random(2..10)*random(-1,1)} \integer{c4=random(2..10)*random(-1,1)} \integer{c5=random(2..10)*random(-1,1)} \integer{C1=random(2..10)} \integer{C2=random(2..10)} \integer{C3=random(2..10)} \integer{C4=random(2..10)} \integer{C5=random(2..10)} \integer{C345=random(3,4,5)} \real{d1=(randint(10..90)/100+randint(0..5))*random(-1,1)} \real{d2=(randint(10..90)/100+randint(0..5))*random(-1,1)} \integer{b1=random(1,2,3,5,8)*random(1000,10000,100000)*random(-1,1)} \integer{b2=random(1,2,3,5,8)*random(1000,10000,100000)*random(-1,1)} \real{s1=randint(1..20)/50+1} \real{s2=randint(1..20)/50+1} \matrix{data= \c1*n^2+\c2*n+\c3, sqrt(\C1*n^\C345+\C2*n+\C3), 4-\C345 n^\C1+\C2^n, \C1^n, \C2-\C1 \c1*n^\C1+\C2^n, \c2*n^\C3+\C4^n, \C2-\C4 \b1*(\c1*n^2+\c2*n), sqrt(\C1*n^random(2,3)+\C2)random(+,*)random(cos,sin)(\c3*n!), 1 \c1*\s1^n, random(\c3,\b1)*n^\C1+\c2, 1 n^(n+\c1)+\c3*n^\C1, n^(n+\c2)+\c4*n^\C2, \c1-(\c2) n!+\c1*n^\C2, n^n+\c2*random(cos,sin)(\c3*n!), -1 (n+\C2)!, random(\C1,\b1)^(n+\C3), 1 1+2+3+...+\C1*n, \c1*(randitem(\C2*n,n+\C2))^2, 0 (\C1*n)^n, n^(\C2*n), -1 \C1^(n+\C2)+\c1*n^\C3, \C1^(n+\C4)+\c2*n^\C5, 0 random(\b1,\c1)*ln(\C1*n^\C2+\C3), random(\b2,\c2)*n+\c3, -1 \c1*ln(\C1^(\C2*n+\c1)+\C4*n^\C3), \c3*n+\c4, 0 \c1*sqrt(\C1*n+\C2), \c2*ln(\C3*n^\C4+\C5), 1 } \text{line=randomrow(\data)} #text{line=row(rows(\data),\data)} \text{tt=shuffle(2)} \integer{t1=item(1,\tt)} \integer{t2=item(2,\tt)} \text{f1=texmath(item(\t1,\line))} \text{f2=texmath(item(\t2,\line))} \text{diff=item(3,\line)} \real{diff=\t1=2?-(\diff)} \text{good=\diff=0?\nonz} \text{good=\diff>0?\div} \text{good=\diff<0?\zero} \statement{¿Cuál es la naturaleza de la sucesión (un), donde

\( u_n = \frac{\f1}{\f2} )  ?

} \choice{La respuesta ha sido}{\good}{\limits} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/2lim.oef0000644000175000017500000000372710575503641025451 0ustar georgeskgeorgesk\title{Dos limites} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{n=n} \text{seq=un} \integer{lim1=random(20..50)*random(-1,1)} \integer{lim2=\lim1+random(2..12)*random(-1,1)} \integer{neg1=-\lim1} \integer{neg2=-\lim2} \text{Neg1=\neg1>0? + \neg1: - \lim1} \text{Neg2=\neg2>0? + \neg2: - \lim2} \text{abs1=| \seq \Neg1 |} \text{abs2=| \seq \Neg2 |} \text{spc=   } \text{epsilon=random(1/\n,2/\n,10/\n,3/\n,1/\n2,2/\n2)} \text{c=random(1/2,2/3,1/3,1/5,1/10,1/50,1/100,1/1000)} \integer{C=random(1..8)*random(100,1000,10000,100000)} \integer{start=random(1..8)*random(100,1000,10000,100000)} \text{non=La convergencia no puede ser determinada} \text{cv1=Converge hacia \lim1} \text{cv2=Converge hacia \lim2} \text{dv=Es divergente} \text{vide=Esa sucesión no existe} \text{cond1=random(\n>\start,\n)} \text{d1=< \epsilon, < \epsilon, > \C, < \epsilon, < \epsilon, < \C, < \C, > \epsilon, < \epsilon, < \epsilon, > \epsilon, < \c, < \c } \text{d2=> \epsilon, < \epsilon, > \C, < \C, > \C, < \C, > \C, > \epsilon, > \c, < \c, < \c, < \c, > \c } \text{goods=\cv1,\vide,\non,\cv1,\vide, \non,\non,\non,\cv1,\vide, \non,\vide,\non, } \text{bads=\cv2,\cv1,\dv,\cv2,\cv1, \cv1,\cv1,\dv,\dv,\cv1, \dv,\cv1,\cv1, } \integer{cnt=items(\d1)} \integer{t=random(1..\cnt)} \text{D1=item(\t,\d1)} \text{D2=item(\t,\d2)} \text{good=item(\t,\goods)} \text{bad1=item(\t,\bads)} \text{lims=\bad1,\non,\cv1,\cv2,\dv,\vide } \text{t1=\abs1 \D1} \text{t2=\abs2 \D2} \integer{mix=random(0,1)} \text{T1=\mix=1?\t1:\t2} \text{T2=\mix=1?\t2:\t1} \statement{Sea (\seq) una sucesión infinita de números reales. Si se tiene

\T1 y \T2 para todo \cond1 ,

¿Qué se puede decir acerca de la convergencia? (Debes elegir la mejor opción.) } \choice{Su respuesta es}{\good}{\lims} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/crborn.oef0000644000175000017500000000304610575503647026073 0ustar georgeskgeorgesk\title{Crecimiento y límite} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{n=n} \text{seq=un} \text{spc=   } \integer{start=random(1..8)*random(100,1000,10000,100000)} \integer{border=random(-20..20)} \text{non=La convergencia no puede ser determinada} \text{cvup=Converge hacia un valor mayor o iual que \border} \text{cvdn=Converge hacia un valor menor o igual que \border} \text{cveq=Converge hacia \border} \text{dv=Es divergente} \text{cv=Es convergente} \text{pinfty=Diverge hacia + infinito} \text{ninfty=Divege hacia - infinito} \text{vide=Esa sucesión no existe} \text{cond=random(\n>\start,all \n)} \text{conds=creciente y \seq<\border para \cond, decreciente y \seq>\border para \cond, creciente y \seq>\border para \cond, decreciente y \seq<\border para \cond, creciente y no acotada superiormente, creciente y no acotada inferiormente, decreciente y no acotada superiormente, decreciente y no acotada inferiormente } \text{goods=\cvdn,\cvup,\non,\non,\pinfty, \vide,\vide,\ninfty, } \integer{cnt=items(\conds)} \integer{t=random(1..\cnt)} \text{cond=item(\t,\conds)} \text{good=item(\t,\goods)} \text{bad1=item(\t,\bads)} \text{lims=\cvup,\cvdn,\cveq,\dv,\vide } \text{lims=\t>=5 and \t<=8?\vide,\cv,\pinfty,\ninfty} \statement{Sea (\seq) una sucesión de números reales. Si (\seq) es \cond, ¿Qué se puede decir acerca de la convergencia (después de su existencia)? } \choice{Su respuesta es}{\good}{\lims} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/cvratio.oef0000644000175000017500000000517410575503637026260 0ustar georgeskgeorgesk\title{Convergencia y proporción de términos} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{ratio=un+1/un} \text{seq=(un)} \integer{lim=random(-5,-4,-3,-2,2,3,4,5)} \text{half=random(1/2,2/3,1/3,1/4,3/4,-1/2,-2/3,-1/3,-1/4,-3/4)} \text{cvdvs=converge hacia \lim, es convergente converge hacia \lim, converge hacia -1, es divergente, converge hacia 0, converge hacia 0, converge hacia 0, converge hacia un valor no nulo, converge hacia \half, converge hacia 0 } \text{conds=\ratio converge a 1, \ratio converge a 1, \ratio converge a 1, \ratio converge a -1, \ratio converge a \lim, \ratio converge a \half, |\ratio| converge hacia un valor menor que 1, |\ratio|<1 a partir de algún n, \ratio converge a 1, \ratio converge a \half, |\ratio|<1 a partir de algún n, } \text{cvdv2s=es convergente, es convergente, no converge a 0, es divergente, es divergente, converge a 0, converge a 0, converge a 0, puede ser divergente, converge a \half, es convergente, } \text{g1s=1,0,1,0,0, 0,0,0,1,0, 0, } \text{g2s=0,0,0,0,1, 1,1,0,1,0, 0, } \text{ans=Existen sucesiones divergentes para las que \ratio converge a 1., Existen sucesiones divergentes para las que \ratio converge a 1 y sucesiones convergentes a 0 para las que \ratio no converge a 1., Existen sucesiones convergentes a 0 para las que \ratio converge a 1., Existen sucesiones convergentes a 0 para las que \ratio converge a -1., Existen sucesiones divergentes para las que \ratio no tiene límite., Existen sucesiones convergentes a 0 para las que \ratio no tiene límite., Existen sucesiones convergentes a 0 para las que \ratio no tiene límite., , Existen sucesiones divergentes para las que \ratio converge a 1., \seq converge a 0 cuando \ratio converge a \half., Nada impide que \ratio tome valores de distinto signo y la sucesión diverja. Por ejemplo, la sucesión (-1)n(1+1/n) es divergente., } \integer{cnt=items(\cvdvs)} \integer{t=random(1..\cnt)} \text{cvdv=item(\t,\cvdvs)} \text{cvdv2=item(\t,\cvdv2s)} \text{cond=item(\t,\conds)} \text{an=item(\t,\ans)} \integer{g1=item(\t,\g1s)} \integer{g2=item(\t,\g2s)} \text{ch1=\g1=1?Verdadera:Falsa} \text{ch2=\g2=1?Verdadera:Falsa} \statement{Sea \seq una sucesión de números reales. Entre las siguientes afirmaciones, ¿cuál es verdadera?, ¿cuál es falsa?

  1. Si \seq \cvdv, entonces \cond.

  2. Si \cond, entonces \seq \cvdv2.
} \choice{A es}{\ch1}{Verdadera,Falsa} \choice{B es}{\ch2}{Verdadera,Falsa} \solution{\an} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/src/frac2.oef0000644000175000017500000000130010575503646025571 0ustar georgeskgeorgesk\title{Fracción con 2 términos} \language{en} \range{-3..3} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{integers=shuffle(9)} \integer{a=item(1,\integers)+1} \integer{b=item(2,\integers)+1} \text{a=random(-1,1)>0?\a:(-\a)} \text{b=random(-1,1)>0?\b:(-\b)} \text{pp=shuffle(n,(n-1),(n-2),(n+1),(n+2))} \text{p1=item(1,\pp)} \text{p2=item(2,\pp)} \integer{diff=evalue(\p1-\p2,n=0)} \integer{max=abs(\a)>abs(\b)?\a:\b} \real{lim=(\max)^(\diff)} \statement{Calcular el límite de la sucesión (un), donde

\( u_n=(\a^\p1 + \b^\p1) / (\a^\p2 + \b^\p2) )

} \answer{lim(un)}{\lim}{type=numeric} wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/NEWS0000644000175000017500000000006210575503675024017 0ustar georgeskgeorgeskVersion 1.12 2005-11-24 bogue dans reclim.oef wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/endhook.phtml0000644000175000017500000000041410575503655026014 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting

Está disponible en línea la herramienta: !href target=wims_tool module=tool/analysis/function Calculadora de funciones. (Aparecerá en otra ventana de su navegador.) !endif wims-modules-es-3.64.orig/modules/U1/analysis/oefseq.es/help.phtml0000644000175000017500000000005210575503674025314 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/0000755000175000017500000000000010315753134023617 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/intro.phtml0000644000175000017500000000152710315753752026033 0ustar georgeskgeorgesk!header $module_title es un ejercicio gráfico.

Usted verá una curva que representa una función continua (y suficientemente regular). Su objetivo es encontrar el !pedia desarrollo de Taylor, desarrollo de Taylor de esta función en un entorno de 0.

Puede hacer varios intentos; cada vez que usted introduzca una resuesta, verá aparecer la curva asociada al `desarrollo de Taylor' al mismo tiempo que la de la función. Y podrá modificar su respuesta de tal forma que las dos curvas se ajusten entre si tanto como sea posible.

Elija el nivel que más le convenga: !href module=$module&cmd=new&Degree=2&range=3 Infantil . !href module=$module&cmd=new&Degree=3&range=5 Aprendiz . !href module=$module&cmd=new&Degree=4&range=8 Experto . !href module=$module&cmd=new&Degree=5&range=15 Campeón . !read related.phtml Taylor, Ajuste !tail wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/var.init0000644000175000017500000000114007071077250025273 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. wims_print_precision=5 !default Degree = 3 !default range = 8 !default zoom_factor = 0 !default size_factor = 0 :restart tot=0 !for i = 0 to 5 !ifval $i <= $Degree oc$i = !randint -$range, $range tot=$[$tot+abs($(oc$i))] !else oc$i = 0 !endif c$i = 0 !next i !if $tot<=0 !goto restart !endif !for i=1 to 3 reste$i=!randint -$range, $range !next i reste3=!eval $reste3/3 reste_fr=!random -10, 10 reste_fn=x^$Degree*($reste1*x+($reste2)*sin($reste_fr*x)+($reste3)*x*x)/(2.5*$Degree) reply_cnt=0 done= wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/var.proc0000644000175000017500000000250307274216537025307 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. wims_print_precision=5 wims_compare_precision=1000 x_range=!evalue 2^(-$zoom_factor) zoom_mm=!evalue $x_range*50 xy_size=!evalue sqrt(2)^($size_factor-1) !ifval $size_factor < 0 insplot_font=small !else insplot_font=medium !endif insplot_set=zeroaxis; size $xy_size,$xy_size; tmargin 1 !if $cmd=new or $cmd=renew wims_module_log=$cmd: degree=$Degree, range=$range !endif !for i=$Degree+1 to 5 c$i = 0 !next !if $cmd = reply and $abandon != yes reply_cnt=!evalue $reply_cnt+1 !endif try_cnt=!eval $reply_cnt+1 diff=0 !for i = 0 to 5 c$i =!evalue rint($(c$i)) diff=!evalue $diff+|$(c$i)-$(oc$i)| !next !if $abandon=yes and $done != yes abandon= wims_module_log=abandon after $reply_cnt tries !for i = 0 to $Degree c$i=$(oc$i) !next i diff=0 write_solution=yes !endif !if $[$diff] = 0 and $done != yes done=yes poly= !for i = $Degree to 0 step -1 poly=$poly $(oc$i) !next i poly=!trim $poly poly=!translate $ $ to , in $poly !read poly2html !if $cmd=reply and $write_solution != yes wims_module_log=success after $reply_cnt tries module_score=$[1.5*($Degree+1)*$range/$reply_cnt] !if $module_score>10 module_score=10 !endif !endif !endif wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/main.phtml0000644000175000017500000000430210315753752025616 0ustar georgeskgeorgesk!header !if $cmd=hint !if $special_parm != heavy !changeto hint.phtml !else !changeto hint2.phtml !endif !endif

!insplot [-$x_range:$x_range] \ ($oc0)+($oc1)*x+($oc2)*x^2+($oc3)*x^3+($oc4)*x^4+($oc5)*x^5+$reste_fn\ title "f(x)", \ ($c0) +($c1) *x+($c2) *x^2+($c3) *x^3+($c4) *x^4+($c5)*x^5 title "Mi desarrollo"
!if $write_solution=yes Es una lásitima que haya abandonado. La solución es:

f(x) = $poly_html + o(x$Degree)

!goto end_abandon !endif !if $[$diff] = 0 and $poly_html != $empty ¡Bravo! Ha encontrado el desarrollo adecuado después de $reply_cnt intentos:

f(x) = $poly_html + o(x$Degree)

Su puntuación: $module_score/10.

!goto end_form !endif $diff=0 !ifval $reply_cnt = 0 Aquí tiene la curva de una función f(x). Debe hallar su !else Busque el !endif desarrollo de Taylor

f(x) = !word 1 to 1+2*$Degree of\ c0 + c1x + c2x2\ + c3x3 + c4x4\ + c5x5 + o(x$Degree) ,

donde los coeficientes !word 1 to 1+$Degree of\ c0, c1, c2, c3, c4, c5 son números enteros comprendidos entre -$range y $range (inclusive).


Intento número $try_cnt: !form reply !for i = 0 to $Degree c$i= !next i :end_form
!ifval $diff != 0 !href cmd=hint Consejos . !href cmd=reply&abandon=yes Abandono; enséñeme la solución . !endif :end_abandon !href cmd=renew&worksheet=$wims_sheet&$module_init_parm Otra función . !form config Zoom: !for i = -2 to 2 !word $i+3 of 12.5mm 25mm 50mm 100mm 200mm    !next i
Tamaño del dibujo: !for i = -1 to 1 !word $i+2 of pequeño mediano grande    !next i !tail wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/var.def0000644000175000017500000000204706513464263025101 0ustar georgeskgeorgesk#This is the variable definition file of the wims module # `coincidence-polynome'. # Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim Degree init 10 2 5 range init 10 3 15 done deny 0 oc0 deny 2 oc1 deny 2 oc2 deny 2 oc3 deny 2 oc4 deny 2 oc5 deny 2 reste_fn deny 2 c0 reply 1 -$range $range c1 reply 1 -$range $range c2 reply 1 -$range $range c3 reply 1 -$range $range c4 reply 1 -$range $range c5 reply 1 -$range $range abandon reply 1 # difference between original and reply diff deny 1 reply_cnt deny 3 0 65535 hint_cnt deny 3 0 65535 zoom_factor any 0 -2 2 size_factor any 0 -1 1 wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/hint2.phtml0000644000175000017500000000422010315753752025715 0ustar georgeskgeorgesk!! C'est ici qu'on peut mettre les helpes intelligentes.

Ayuda

!ifval $Degree > 3 or $range > 8 Probablemente, ha elegido un nivel demasiado difícil para usted. Comience por !href cmd=renew&Degree=2&range=3 un nivel más fácil. !goto end !endif !ifval $diff=0 Ha encontrado todos los coeficientes; no me me falta nada más que felicitarle. !goto end !endif !ifval $reply_cnt = 0 Bien, estos son los efectos de los los coeficientes de menor grado:

!goto end !endif !ifval $oc0 != $c0 Intente primero determinar c0: este coeficiente es igual a f(0), y f(0) es la altura de la curva cuando corta el eje Y.

!ifval $zoom_factor <= 0 Utilice el teleobjetivo (100mm ó 200mm) para ver con detalle dónde corta la curva de f(X) a el eje Y. !endif !else !ifval $oc1 != $c1 Ya ha encontrado el c0 adecuado. Continúe adelante para c1.
c1=f'(0) es la pendiente de la recta tangente a la curva en el punto x=0.

!ifval $zoom_factor <= 0 El teleobjetivo (100mm ó 200mm) es siempre la mejor elección para ver con detalle la pendiente de la curva cuando ésta corta el eje Y. !endif !else !ifval $oc2 != $c2 Muy bien, c0 y c1 son ahor correctos.

Continúe: c2=f''(0)/2, mientras que f''(0) condiciona la curvatura de la curva en un entorno del punto x=0. Por lo tanto debería modificar c2, para torcer la curva de forma que se ajuste lo mejor posible a la de f(x) en un entorno del punto x=0. !else ¡Vaya! ¿Por qué sigue buscando indicaciones en este nivel? Estoy seguro de que puede terminar con éxito sin necesidad de más indicaciones. !ifval $diff <= 2

Ya está muy cerca de la meta; solamente falta un pequeño ajuste para terminar. !endif !endif !endif !endif :end


!homeref wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/INDEX0000644000175000017500000000156210315753752024423 0ustar georgeskgeorgesktitle=Coincidence-Dev description=búsqueda gráfica del desarrollo de Taylor de una función graphically find the Taylor expansion of a function. author=XIAO Gang address=xiao@unice.fr copyright=© 1997- (GNU GPL) version=1.20 # minimal version of wims server under which the module is running wims_version=3.01 language=es translator=J. Rafael Rodríguez Galván translator_address=rafael.rodriguez(at)uca.es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=U1 # e.g. algebra, analysis, geometry, etc. domain=analysis # Anything you like. keywords=función, curva, desarrollo, Taylor # Software packages required to run the module require=gnuplot # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/poly2html0000644000175000017500000000135406447741056025512 0ustar georgeskgeorgesk# Transforms vector-presented polynomial into html style. poly=!trim $poly n=!itemnum $poly poly_html= !for i from $n to 1 step -1 k=!item $i of $poly !if $k != 0 !ifval $i<$n and $k>=0 poly_html=$poly_html+ !endif !ifval $k=0 poly_html=$poly_html( !endif p=!eval $n-$i !if $k = -1 and $p != 0 poly_html=$poly_html- !else !if $k != 1 or $p=0 poly_html=$poly_html$k !endif !endif !ifval $k=0 poly_html=$poly_html) !endif !ifval $p>0 poly_html=$(poly_html)x !ifval $p>1 poly_html=$poly_html$p !endif !endif !endif !next i poly_html=!replace + by $ + $ in $poly_html poly_html=!replace - by $ - $ in $poly_html wims-modules-es-3.64.orig/modules/U1/analysis/coincdev.es/hint.phtml0000644000175000017500000000474710315753752025651 0ustar georgeskgeorgesk!! C'est ici qu'on peut mettre les helpes intelligentes.

Ayuda

!ifval $Degree > 4 or $range >10 Lo siento, no tiene derecho a recibir indicaciones si ha elegido un nivel de competición.

Si es nuevo en este ejercicio, intente primero !href cmd=renew&Degree=3&range=5 un nivel más fácil. !goto end !endif !ifval $diff=0 Usted ya ha encontrado el desarrollo correcto; sólo me queda felicitarle. !goto end !endif !ifval $reply_cnt = 0 Si usted es nuevo en este ejercicio, el método general es encontrar los coeficientes ci uno a uno, empezando por c0.

Al principio, nada le impide probar con algunos valores aleatorios; pero es mejor usar algún razonamiento.

Cada coeficiente actúa de una cierta forma en la curva. Debería empezar con c0, cuyo efecto en la curva es muy simple.

No olvide utilizar la opción de zoom: el teleobjetivo is particularmente eficiente para coeficientes de grado pequeño, mientras que el gran angular (panorama) permite determinar más fácilmente los coeficientes de alto grado. !goto end !endif !ifval $oc0 != $c0 Reflexión: mirando a la curva, uno debería ser capaz de recuperar el valor de f(0). Pero, ¿cuál es la relación entre f(0) y el desarrollo de f? !else !ifval $oc1 != $c1 ¡Sí! Veo que ha entendido que c0 es igual a f(0), que a su vez coincide con la altura de la curva cuando cruza el eje Y.

Ahora, continúe en la dirección adecuada: la derivada f'(0) tiene una interpretación geométrica. ¿Cuál es esta interpetación geométrica, y qué relación tiene f'(0) con los coeficientes del desarrollo? !else !ifval $oc2 != $c2 Muy bien, ha visto que c1=f'(0) es la pendiente de la recta tangente a la curva en el punto x=0.

Ahora puede continuar: f''(0) está relacionado con la curvatura de la curva en un entorno del punto x=0. !else ¡Excelente! c0, c1 y c2 son ahora correctos.

Ahora solamente tiene que continuar en la dirección correcta: determine los coeficientes 1 a 1, para los grados mayores. !ifval $diff <= 2

Observo que ahora está muy cerca de la meta; sólo falta un pequeño ajuste para terminar. !endif !endif !endif !endif :end


!href cmd=hint&special_parm=heavy Todavía no entiendo; por favor, sea más preciso
!homeref wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/0000755000175000017500000000000010771742577024007 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/def/0000755000175000017500000000000010771700313024523 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/def/.htaccess0000644000175000017500000000001610315753776026335 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/def/div.def0000644000175000017500000000465510315753776026016 0ustar georgeskgeorgesk!set title=División !goto $wims_read_parm :present Tenemos dos funciones derivables, $m_f y $m_g, con $m_f($cent) $m_ne 0 y $m_g($cent) $m_ne 0. Sea $m_h el cociente entre estas dos funciones: $m_h(x) = $m_f(x)/$m_g(x).

El objetivo es calcular $m_h'($cent). !exit :form $m_h'($cent) = . !exit :ans Usted piensa que $m_h'($cent) = $ans1. !ifval $ans1=$good1 Su respuesta es correcta. !else Su respuesta no es correcta: $m_h'($cent)=$good1. !endif !exit :init storename=cent,ncent,pos,neg pos=!randitem 1,2,3,4 neg=$[-($pos)] objname=las funciones parm1=$m_f($neg)\ $m_f($neg) = \ $m_f($neg) = ?? parm2=$m_f(0)\ $m_f(0) = \ $m_f(0) = ?? parm3=$m_f($pos)\ $m_f($pos) = \ $m_f($pos) = ?? parm4=$m_f '($neg)\ $m_f '($neg) = \ $m_f '($neg) = ?? parm5=$m_f '(0)\ $m_f '(0) = \ $m_f '(0) = ?? parm6=$m_f '($pos)\ $m_f '($pos) = \ $m_f '($pos) = ?? parm7=$m_g($neg)\ $m_g($neg) = \ $m_g($neg) = ?? parm8=$m_g(0)\ $m_g(0) = \ $m_g(0) = ?? parm9=$m_g($pos)\ $m_g($pos) = \ $m_g($pos) = ?? parm10=$m_g '($neg)\ $m_g '($neg) = \ $m_g '($neg) = ?? parm11=$m_g '(0)\ $m_g '(0) = \ $m_g '(0) = ?? parm12=$m_g '($pos)\ $m_g '($pos) = \ $m_g '($pos) = ?? !for i in 4,5,6, 10,11,12 val$i=!randitem -4,-3,-2,-1,0,0,0,0,0,1,2,3,4 !next i !for i in 1,2,3, 7,8,9 val$i=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 !next i parmcnt=12 anscnt=1 minask=4 t=!randitem 0,1 !if $t=1 !distribute item $neg,$pos into cent,ncent good1=$[(-($val1)*($val10)+($val4)*($val7))/($val7)^2] !distribute item 1,0,0, 1,0,0, 1,0,0, 1,0,0 into weight1, weight2,\ weight3, weight4, weight5, weight6, weight7, weight8,\ weight9, weight10, weight11, weight12 !ifval $val10=0 weight1=0 minask=$[$minask-1] !endif !ifval $val4=0 and $val10=0 weight7=0 minask=$[$minask-1] !endif !else !distribute item $pos,$neg into cent,ncent good1=$[(-($val3)*($val12)+($val6)*($val9))/($val9)^2] !distribute item 0,0,1, 0,0,1, 0,0,1, 0,0,1 into weight1, weight2,\ weight3, weight4, weight5, weight6, weight7, weight8,\ weight9, weight10, weight11, weight12 !ifval $val12=0 weight1=0 minask=$[$minask-1] !endif !ifval $val6=0 and $val12=0 weight9=0 minask=$[$minask-1] !endif !endif !exit :info !exit :final !bound ans1 between -10000 and 10000 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/def/mult.def0000644000175000017500000000541010315753776026203 0ustar georgeskgeorgesk!set title=Producto !goto $wims_read_parm :present Tenemos dos funciones derivables, $m_f y $m_g. Sea $m_h el producto de estas funciones: $m_h(x) = $m_f(x)$m_g(x) para todo $m_x.

El objetivo es calcular $m_h'($cent). (Indicación. La derivada de $m_f es distinta de cero en los puntos que le pueden interesar.) !exit :form $m_h'($cent) = . !exit :ans You think that $m_h'($cent) = $ans1. !ifval $ans1=$good1 Su respuesta es correcta. !else Su respuesta no es correcta: $m_h'($cent)=$good1. !endif !exit :init storename=cent,ncent,pos,neg pos=!randitem 1,2,3,4 neg=$[-($pos)] objname=las funciones hint=Recuerde la regla de Leibniz. parm1=$m_f($neg)\ $m_f($neg) = \ $m_f($neg) = ?? parm2=$m_f(0)\ $m_f(0) = \ $m_f(0) = ?? parm3=$m_f($pos)\ $m_f($pos) = \ $m_f($pos) = ?? parm4=$m_f '($neg)\ $m_f '($neg) = \ $m_f '($neg) = ?? parm5=$m_f '(0)\ $m_f '(0) = \ $m_f '(0) = ?? parm6=$m_f '($pos)\ $m_f '($pos) = \ $m_f '($pos) = ?? parm7=$m_g($neg)\ $m_g($neg) = \ $m_g($neg) = ?? parm8=$m_g(0)\ $m_g(0) = \ $m_g(0) = ?? parm9=$m_g($pos)\ $m_g($pos) = \ $m_g($pos) = ?? parm10=$m_g '($neg)\ $m_g '($neg) = \ $m_g '($neg) = ?? parm11=$m_g '(0)\ $m_g '(0) = \ $m_g '(0) = ?? parm12=$m_g '($pos)\ $m_g '($pos) = \ $m_g '($pos) = ?? !for i in 1,2,3, 7,8,9 val$i=!randitem -4,-3,-2,-1,0,0,0,0,0,1,2,3,4 !next i !for i in 4,5,6, 10,11,12 val$i=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 !next i parmcnt=12 anscnt=1 minask=4 t=!randitem 0,1 !if $t=1 !distribute item $neg,$pos into cent,ncent good1=$[($val1)*($val10)+($val4)*($val7)] !distribute item 1,0,0, 1,0,0, 1,0,0, 1,0,0 into weight1, weight2,\ weight3, weight4, weight5, weight6, weight7, weight8,\ weight9, weight10, weight11, weight12 !ifval $val1=0 weight10=0 minask=$[$minask-1] !endif !ifval $val10=0 and $val1!=0 weight1=0 minask=$[$minask-1] !endif !ifval $val4=0 weight7=0 minask=$[$minask-1] !endif !ifval $val7=0 and $val4!=0 weight4=0 minask=$[$minask-1] !endif !else !distribute item $pos,$neg into cent,ncent good1=$[($val3)*($val12)+($val6)*($val9)] !distribute item 0,0,1, 0,0,1, 0,0,1, 0,0,1 into weight1, weight2,\ weight3, weight4, weight5, weight6, weight7, weight8,\ weight9, weight10, weight11, weight12 !ifval $val3=0 weight12=0 minask=$[$minask-1] !endif !ifval $val12=0 and $val3!=0 weight1=0 minask=$[$minask-1] !endif !ifval $val6=0 weight9=0 minask=$[$minask-1] !endif !ifval $val9=0 and $val6!=0 weight6=0 minask=$[$minask-1] !endif !endif !exit :info !exit :final !bound ans1 between integer -100 and 100 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/def/comp.def0000644000175000017500000000441210315753776026161 0ustar georgeskgeorgesk!set title=Composición !goto $wims_read_parm :present Tenemos dos funciones derivables, $m_f y $m_g. Sea $m_h la función compuesta: $m_h(x) = $m_f($m_g(x)) para todo $m_x.

El objetivo es calcular $m_h'($cent). (Indicación. La derivada de $m_f es distinta de cero en los puntos que le pueden interesar.) !exit :form $m_h'($cent) = . !exit :ans Usted piensa que $m_h'($cent) = $ans1. !ifval $ans1=$good1 Su respuesta es correcta. !else Su respuesta no es correcta: $m_h'($cent)=$good1. !endif !exit :init storename=cent,c1,c2 range=5 ll=!shuffle $[2*$range+1] ll=!item 1 to 3 of $ll ll=!sort numeric item $ll !distribute item $ll into o1,o2,o3 !distribute item $[$o1-$range-1],$[$o2-$range-1],$[$o3-$range-1] into o1,o2,o3 t=!shuffle 3 !distribute item $t into t1,t2,t3 cent=!item $t1 of $o1,$o2,$o3 c1=!item $t2 of $o1,$o2,$o3 c2=!item $t3 of $o1,$o2,$o3 objname=las funciones parm1=$m_f($o1)\ $m_f($o1) = \ $m_f($o1) = ?? parm2=$m_f($o2)\ $m_f($o2) = \ $m_f($o2) = ?? parm3=$m_f($o3)\ $m_f($o3) = \ $m_f($o3) = ?? parm4=$m_f '($o1)\ $m_f '($o1) = \ $m_f '($o1) = ?? parm5=$m_f '($o2)\ $m_f '($o2) = \ $m_f '($o2) = ?? parm6=$m_f '($o3)\ $m_f '($o3) = \ $m_f '($o3) = ?? parm7=$m_g($o1)\ $m_g($o1) = \ $m_g($o1) = ?? parm8=$m_g($o2)\ $m_g($o2) = \ $m_g($o2) = ?? parm9=$m_g($o3)\ $m_g($o3) = \ $m_g($o3) = ?? parm10=$m_g '($o1)\ $m_g '($o1) = \ $m_g '($o1) = ?? parm11=$m_g '($o2)\ $m_g '($o2) = \ $m_g '($o2) = ?? parm12=$m_g '($o3)\ $m_g '($o3) = \ $m_g '($o3) = ?? !for i in 1,2,3, 7,8,9, 10,11,12 val$i=!randitem -5,-4,-3,-2,-1,0,0,0,0,0,0,1,2,3,4,5 !next i !for i in 4,5,6 val$i=!randitem -5,-4,-3,-2,-1,1,2,3,4,5 !next i val$[$t1+6]=$c1 parmcnt=12 anscnt=1 minask=3 good1=$[($(val$[$t2+3]))*($(val$[$t1+9]))] !distribute item 0,0,0, 0,0,0, 0,0,0, 0,0,0 into weight1, weight2,\ weight3, weight4, weight5, weight6, weight7, weight8,\ weight9, weight10, weight11, weight12 weight$[$t1+9]=1 !ifval $(val$[$t1+9])=0 minask=1 !else weight$[$t2+3]=1 weight$[$t1+6]=1 !endif !exit :info !exit :final !bound ans1 between integer -100 and 100 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/intro.phtml0000644000175000017500000000075710315753776026216 0ustar georgeskgeorgesk!header !read Exindex En un ejercicio de diálogo, el ordenador presenta un problema y a usted le corresponde el hacerle preguntas que puedan ayudarle a resolverlo. Una vez haya recogido suficiente información, puede intentar resolver el problema. Pero será penalizado si formula más preguntas que las absolutamente necesarias.

En este módulo, tiene $exototal ejercicios de diálogo sobre derivadas. !read proc/intromenu.phtml !read related.phtml Diálogo, derivadas, cálculo, análisis !tail wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/Exindex0000644000175000017500000000022607242702471025322 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of comp,div,mult, !set titlelist=!char 1 to -2 of Composition,Division,Multiplication, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/Extitles0000644000175000017500000000006207242702471025515 0ustar georgeskgeorgeskcomp:Composition div:Division mult:Multiplication wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/var.proc0000777000175000017500000000000011263403036030056 2proc/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/proc0000777000175000017500000000000011263403036030034 2../../../adm/dialog.enustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/about.phtml0000644000175000017500000000001710315753776026162 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/main.phtml0000777000175000017500000000000011263403036030650 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/var.def0000777000175000017500000000000011263403036027444 2proc/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/mkindex0000777000175000017500000000000011263403036027670 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/INDEX0000644000175000017500000000071310315753776024577 0ustar georgeskgeorgesktitle=Diálogo sobre derivadas description=formular preguntas para obtener información que le permita calcular derivadas de funciones. author=XIAO Gang address=xiao@unice.fr copyright=© 2001- (GNU GPL) translator=J. Rafael Rodríguez Galván translator_address=rafael.rodriguez(at)uca.es version=1.10 wims_version=3.01 language=es category=exercise level=H6, U1 domain=analysis, calculus keywords=función, derivada require= scoring=yes wims-modules-es-3.64.orig/modules/U1/analysis/dialderiv.es/help.phtml0000777000175000017500000000000011263403036030720 2proc/help.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/0000755000175000017500000000000010315753135023463 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/0000755000175000017500000000000010771700655024226 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/epsilon2.def0000644000175000017500000000317210315753753026445 0ustar georgeskgeorgesk!set title=Epsilon - Delta II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=15 prevarcnt=14 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, 50 val6=$[rint($(tmp0))] tmp0=!randitem 0,1 val7=$[rint($(tmp0))] tmp0=!randint 1, 3 val8=$[rint($(tmp0))] val9=x-$val6 val10=f(x)-f($val6) !ifval $val7=0 val11=\varepsilon !else val11=\delta !endif !ifval $val7=0 val12=\delta !else val12=\varepsilon !endif tmp0=!item $val8 of <,<,> val13=$(tmp0) tmp0=!item $val8 of <,>,> val14=$(tmp0) val15=Que f es continua en $val6 val16=Que f no es continua en $val6 val17=No determina si f es continua o no val18=$val15, $val16, $val17 tmp0=!item $val8 of $val15,$val16,$val17 val19=$(tmp0) choicename1=Significado choicegood1=$val19 choicebad1=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR \rightarrow \RR $() una función tal que:

Para todo !insmath $val11>0 $(), existe !insmath $val12>0 $() tal que !insmath |$val9| $val13 $val12 $() implica !insmath |$val10| $val14 $val11 $().

¿Qué significa esto respecto a la continuidad de f? !insmath f $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/power.def0000644000175000017500000000263110315753753026045 0ustar georgeskgeorgesk!set title=Potencias !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=10 prevarcnt=9 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 2, 19 val6=$[rint($(tmp0))] tmp0=!randitem 1,1,1,2 val7=$[rint($(tmp0))] val8=$[rint($val6%2)] tmp0=!randitem f(x^{$val6}), f(x)^{$val6} val9=$(tmp0) val10=la función \(x\rightarrow $val9) tmp0=!item $val7 of $val10,\( f) val11=$(tmp0) tmp0=!item $val7 of \(f), $val10 val12=$(tmp0) val13=Sí,No !ifval $val8=0 and $val7=1 val14=No !else val14=Sí !endif choicename1= choicegood1=$val14 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR\rightarrow\RR $() una función real. ¿Es cierta la siguiente afirmación?
Si $val11 es continua, entonces $val12 es continua.
$() !exit :hint $()La función !insmath x\rightarrow x^n $() es biyectiva si n>0 es impar, pero no lo es si n es par. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,12 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/contseq.def0000644000175000017500000000470110315753753026365 0ustar georgeskgeorgesk!set title=Continuidad y sucesiones !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c,c varcnt=31 prevarcnt=30 postvarcnt=0 replycnt=0 choicecnt=2 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 -9, 9 val6=$[rint($(tmp0))] val7=Sí val8=No val9=f val10=n val11=x$val10 val12=R val13= val14= val15=lim$val10->$val14 val16=es continua val17=no es continua val18=existe una sucesión val19=para todas las sucesiones val20=tal que val21=convergente val22=divergente val23=$val21 con $val15$val9($val11) = $val9($val6) val24=$val21 pero $val15$val9($val11) $val13 $val9($val6) tmp0=!randint 1, 8 val25=$[rint($(tmp0))] tmp0=!randitem 1,2 val26=$[rint($(tmp0))] !ifval $val25<=4 val27=$val16 !else val27=$val17 !endif !ifval $val25%2=0 val28=$val19 !else val28=$val18 !endif !ifval $val25%2=0 val29= !else val29=$val20 !endif tmp0=!item floor(($val25+1)/2) of $val21,$val23,$val22,$val24 val30=$(tmp0) val31=$val9 $val27 en $val6 !ifval $val26=1 val32= !else val32=$val11 $val13 $val6 and !endif val33=$val28 ($val11) con $val32 $val15 $val11 = $val6, $val29 la sucesión ($val9($val11)) is $val30 !ifval $val26=1 tmp0=!item $val25 of $val7,$val7,$val7,$val7, $val7,$val8,$val8,$val8 val34=$(tmp0) !else tmp1=!item $val25 of $val7,$val7,$val7,$val7, $val8,$val8,$val8,$val8 val34= $(tmp1) !endif !ifval $val26=1 tmp0=!item $val25 of $val8,$val7,$val8,$val7, $val7,$val7,$val7,$val7 val35=$(tmp0) !else tmp1=!item $val25 of $val8,$val8,$val8,$val7, $val7,$val7,$val7,$val7 val35= $(tmp1) !endif choicename1=Afirmación A choicegood1=$val34 choicebad1=$val7,$val8 choicename2=Afirmación B choicegood2=$val35 choicebad2=$val7,$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val9: $val12 -> $val12 una función real. ¿Están justificadas las siguientesa afirmaciones?

A. Si $val31, entonces $val33.

B. Si $val33, entonces $val31. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,31,33 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/.htaccess0000644000175000017500000000001606634516636026030 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/epsilon.def0000644000175000017500000000343310315753753026363 0ustar georgeskgeorgesk!set title=Epsilon - Delta !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=16 prevarcnt=15 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, 50 val6=$[rint($(tmp0))] tmp0=!randitem 0,1 val7=$[rint($(tmp0))] tmp0=!randitem 0,0,1 val8=$[rint($(tmp0))] tmp0=!randitem 0,0,1 val9=$[rint($(tmp0))] !ifval $val7=0 val10=\varepsilon !else val10=\delta !endif !ifval $val7=0 val11=\delta !else val11=\varepsilon !endif !ifval $val8=0 val12=$val11 !else val12=$val10 !endif !ifval $val8=0 val13=$val10 !else val13=$val11 !endif !ifval $val9=0 val14=x-$val6 !else val14=f(x)-f($val6) !endif !ifval $val9=0 val15=f(x)-f($val6) !else val15=x-$val6 !endif val16=Que f es continua en $val6 val17=Que f no es continua en $val6 val18=No determina si f es continua o no val19=$val16, $val17, $val18 !ifval $val8=0 and $val9=0 val20=$val16 !else val20=$val18 !endif choicename1=Significado choicegood1=$val20 choicebad1=$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR \rightarrow \RR $() una función tal que:

Para todo !insmath $val12>0 $(), existe !insmath $val13>0 $() tal que !insmath |$val14|<$val10 $() implica !insmath |$val15|<$val11 $().

¿Qué significa esto respecto a la continuidad de f? !insmath f $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,12,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/def/mixmult.def0000644000175000017500000000270010315753754026406 0ustar georgeskgeorgesk!set title=Producto mixto !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=10 prevarcnt=9 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 val6=Sí val7=No val8=x,(x+2),(x^2+2),x^2,(x^2-2), (x^3+2),exp(x),sin(x),cos(x),(sin(x)+2), (sin(x)-2),(cos(x)+2),(cos(x)-2) val9=$val7,$val7,$val6,$val7,$val7, $val7,$val6,$val7,$val7,$val6, $val6,$val6,$val6 tmp0=!itemcnt $val8 val10=$[rint($(tmp0))] tmp0=!randint 1, $val10 val11=$[rint($(tmp0))] tmp0=!item $val11 of $val8 val12=$(tmp0) val13=$val6,$val7 tmp0=!item $val11 of $val9 val14=$(tmp0) choicename1= choicegood1=$val14 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR\to \RR $() una función real. ¿Es cierta la siguiente afirmación?

Si !insmath $val12*f(x) $() es continua, entonces !insmath f(x) $() es continua.

$() !exit :hint $()Si h(x)=f(x)g(x), entonces f(x)=h(x)/g(x) cuando g(x) sea distinta de cero. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/intro.phtml0000644000175000017500000000041010315753753025665 0ustar georgeskgeorgesk!header !read Exindex Este módulo reune $exototal ejercicios relacionados con la continuidad (definición y propiedades fundamentales) de funciones de una variable real. !read oef/intromenu.phtml !read related.phtml continuity, differentiability, calculus !tail wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/Exindex0000644000175000017500000000034310060272134025002 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of contseq,epsilon,epsilon2,mixmult,power, !set titlelist=!char 1 to -2 of Continuity and sequences,Epsilon - Delta,Epsilon - Delta II,Mixed multiplication,Powers, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/Extitles0000644000175000017500000000017710060272134025204 0ustar georgeskgeorgeskcontseq:Continuity and sequences epsilon:Epsilon - Delta epsilon2:Epsilon - Delta II mixmult:Mixed multiplication power:Powers wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/var.proc0000644000175000017500000000024110060323401025117 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=0 # Change to 1 of you want all choices to be present allchoices=0 !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/images/0000755000175000017500000000000007356775453024752 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/images/contseq/0000755000175000017500000000000007356774273026425 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/images/contseq/ne.gif0000644000175000017500000000030206531513624027472 0ustar georgeskgeorgeskGIF89a„ÿÿÿ 555EEEMMM»»»ÆÆÆôôôÏÏÏ···ÄÄÄÕÕÕFFF===qqq‘‘‘êêê"""™™™îîî!ù,? ŽdiŽp–ÃJ„;¶2Pæì‰Ò.Œ†È1x< ‘Á@™ÐLO¥r²(¯X¥©B©¢+˜| \¼˜Œ+;wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/images/contseq/infty.gif0000644000175000017500000000027206531512545030230 0ustar georgeskgeorgeskGIF89a „ÿÿÿ»»»€€€bbb ÄÄĦ¦¦999hhhˆˆˆððð³³³[[[<<<ŠŠŠîîîFFF"""———†††(((°°°!ù, 7 ŽdI¦PD[ˆ„qÈH؉²Ø"ÓŒƒE$¤i"’Pl%ÌF°a„ C’ º_@;wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/about.phtml0000644000175000017500000000005310315753753025647 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/main.phtml0000644000175000017500000000003110315753752025454 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/INDEX0000644000175000017500000000067510315753752024272 0ustar georgeskgeorgesktitle=OEF continuidad description=colección de ejercicios sobre la continuidad de funciones de una variable real author=XIAO Gang address=xiao@unice.fr copyright=© 2001- (GNU GPL) translator=J. Rafel Rodríguez Galván translator_address= version=1.00 wims_version=3.37f language=es category=exercise, oef level=U1, H6 domain=analysis keywords=continuidad, límite, epsilon, delta, sucesión scoring=yes vardef=oef/var.def wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/completar-traduccion0000755000175000017500000000021610315753752027534 0ustar georgeskgeorgesk#!/bin/sh # Realizar las labores adicionales necesarias para la correcta traducción del # presente módulo: ../../../../scripts/oef/mkindex wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/0000755000175000017500000000000010060323401024234 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/contseq.oef0000644000175000017500000000312310011750606026411 0ustar georgeskgeorgesk\title{Continuity and sequences} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{center=random(-9..9)} \text{tyes=Yes} \text{tno=No} \text{if=f} \text{in=n} \text{xn=x\in} \text{BR=R} \text{ne=} \text{infty=} \text{lim=lim\in->\infty} \text{cont=is continuous} \text{noncont=is not continuous} \text{exist=there exists a sequence} \text{forall=for all sequences} \text{tq=such that} \text{cv=convergent} \text{dv=divergent} \text{goodlim=\cv with \lim\if(\xn) = \if(\center)} \text{badlim=\cv but \lim\if(\xn) \ne \if(\center)} \integer{r=random(1..8)} \integer{rr=random(1,2)} \text{v1=\r<=4?\cont:\noncont} \text{v2=\r%2=0?\forall:\exist} \text{v3=\r%2=0?:\tq} \text{v4=item(floor((\r+1)/2),\cv,\goodlim,\dv,\badlim)} \text{vfunc=\if \v1 on \center} \text{ceq=\rr=1?:\xn \ne \center and} \text{vseq=\v2 (\xn) with \ceq \lim \xn = \center, \v3 the sequence (\if(\xn)) is \v4} \text{gooda=\rr=1?item(\r,\tyes,\tyes,\tyes,\tyes, \tyes,\tno,\tno,\tno): item(\r,\tyes,\tyes,\tyes,\tyes, \tno,\tno,\tno,\tno)} \text{goodb=\rr=1?item(\r,\tno,\tyes,\tno,\tyes, \tyes,\tyes,\tyes,\tyes): item(\r,\tno,\tno,\tno,\tyes, \tyes,\tyes,\tyes,\tyes)} \statement{Let \if: \BR -> \BR be a real function. Are the following statements justified?

A. If \vfunc, then \vseq.

B. If \vseq, then \vfunc. } \choice{Statement A}{\gooda}{\tyes,\tno} \choice{Statement B}{\goodb}{\tyes,\tno} wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/epsilon.oef0000644000175000017500000000170410011750606026411 0ustar georgeskgeorgesk\title{Epsilon - Delta} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{center=random(1..50)} \integer{r1=random(0,1)} \integer{r2=random(0,0,1)} \integer{r3=random(0,0,1)} \text{D1=\r1=0?\varepsilon:\delta} \text{D2=\r1=0?\delta:\varepsilon} \text{E1=\r2=0?\D2:\D1} \text{E2=\r2=0?\D1:\D2} \text{C1=\r3=0?x-\center:f(x)-f(\center)} \text{C2=\r3=0?f(x)-f(\center):x-\center} \text{cont=That f is continuous on \center} \text{noncnt=That f is not continuous on \center} \text{unknown=Does not determine the continuity of f} \text{bad=\cont, \noncnt, \unknown} \text{good=\r2=0 and \r3=0?\cont:\unknown} \statement{Let \(f: \RR \rightarrow \RR) be a real function such that:

For all \(\E1>0), there exists a \(\E2>0) such that \(|\C1|<\D1) implies \(|\C2|<\D2).

What does this mean to the continuity of \(f)? } \choice{Signification}{\good}{\bad} wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/epsilon2.oef0000644000175000017500000000162510011750606026475 0ustar georgeskgeorgesk\title{Epsilon - Delta II} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{center=random(1..50)} \integer{r1=random(0,1)} \integer{r3=random(1..3)} \text{C1=x-\center} \text{C2=f(x)-f(\center)} \text{D1=\r1=0?\varepsilon:\delta} \text{D2=\r1=0?\delta:\varepsilon} \text{O1=item(\r3,<,<,>)} \text{O2=item(\r3,<,>,>)} \text{cont=That f is continuous on \center} \text{noncnt=That f is not continuous on \center} \text{unknown=Does not determine the continuity of f} \text{bad=\cont, \noncnt, \unknown} \text{good=item(\r3,\cont,\noncnt,\unknown)} \statement{Let \(f: \RR \rightarrow \RR) be a real function such that:

For all \(\D1>0), there exists a \(\D2>0) such that \(|\C1| \O1 \D2) implies \(|\C2| \O2 \D1).

What does this mean to the continuity of \(f)? } \choice{Signification}{\good}{\bad} wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/.htaccess0000644000175000017500000000001606634516636026061 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/mixmult.oef0000644000175000017500000000136710011750606026444 0ustar georgeskgeorgesk\title{Mixed multiplication} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{yes=Yes} \text{no=No} \text{mt=x,(x+2),(x^2+2),x^2,(x^2-2), (x^3+2),exp(x),sin(x),cos(x),(sin(x)+2), (sin(x)-2),(cos(x)+2),(cos(x)-2) } \text{gd=\no,\no,\yes,\no,\no, \no,\yes,\no,\no,\yes, \yes,\yes,\yes } \integer{N=items(\mt)} \integer{n=random(1..\N)} \text{mult=item(\n,\mt)} \text{bad=\yes,\no} \text{good=item(\n,\gd)} \statement{Let \(f: \RR\to \RR) be a real function, Is the following statement true?

If \(\mult*f(x)) is continuous, then \(f(x)) is continuous.

} \choice{}{\good}{\bad} \hint{If h(x)=f(x)g(x), then f(x)=h(x)/g(x) once g(x) is non-zero.} wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/src/power.oef0000644000175000017500000000131710011750606026074 0ustar georgeskgeorgesk\title{Powers} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{power=random(2..19)} \integer{r1=random(1,1,1,2)} \integer{p=\power%2} \text{ff=random(f(x^{\power}), f(x)^{\power})} \text{f=the function \(x\rightarrow \ff)} \text{F1=item(\r1,\f,\( f))} \text{F2=item(\r1,\(f), \f)} \text{bad=Yes,No} \text{good=\p=0 and \r1=1?No:Yes} \statement{Let \(f: \RR\rightarrow\RR) be a real function. Is the following statement true?
If \F1 is continuous, then \F2 is continuous.
} \choice{}{\good}{\bad} \hint{The function \(x\rightarrow x^n) is bijective if n>0 is odd, but it is not bijective if n is even. } wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/endhook.phtml0000644000175000017500000000010210315753753026157 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/U1/analysis/oefcont.es/help.phtml0000644000175000017500000000005210315753753025464 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/0000755000175000017500000000000010340567503023631 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/0000755000175000017500000000000010340567503024367 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/Contabs.def0000644000175000017500000000333510340567503026444 0ustar georgeskgeorgesk!set title=abs !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=c varcnt=7 prevarcnt=6 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 val6=Continuous but not differentiable, Differentiable but not continuous, Differentiable of order 1 but not 2, Differentiable of order 2 but not 3, Differentiable of order 3 but not 4, Differentiable of any order val7=|x|, |x2|, |x3|, |x2+1|, |x2-1|, |x3+1|, |x3-1|, x|x|, x2|x|, x|x2| val8=Continuous but not differentiable, Differentiable of any order, Differentiable of order 2 but not 3, Differentiable of any order, Continuous but not differentiable, Continuous but not differentiable, Continuous but not differentiable, Differentiable of order 1 but not 2, Differentiable of order 2 but not 3, Differentiable of any order, tmp0=!itemcnt $val7 tmp1=!randint 1, $(tmp0) val9=$[rint($(tmp1))] tmp0=!item $val9 of $val7 val10=$(tmp0) tmp0=!item $val9 of $val8 val11=$(tmp0) choicename1=f(x) is choicegood1=$val11 choicebad1=$val6 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()What is the differentiability of the function f(x) = $val10 over the interval [-10,10]? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/contder.def0000644000175000017500000000245010340567503026506 0ustar georgeskgeorgesk!set title=Continuity of derivative !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=4 prevarcnt=3 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 val6=f val7=R val8=$val6 ' choicename1=Reply choicegood1=No choicebad1=Yes question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let $val6: $val7 -> $val7 be a continuous function. If the derivative $val8(x) exists for any point x  $val7, is the derivative function $val8: $val7 -> $val7 always continuous? $() !exit :hint $()Do you know the function $val6 such that $val6(x)=x2sin(1/x) when x  0, and that $val6(0) = 0 ?

Compute the derivative $val8(0), and examine the limit of $val8(x) when x goes towards 0. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,6,7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/.htaccess0000644000175000017500000000001610340567503026162 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/sidedorder.def0000644000175000017500000000517510340567503027203 0ustar georgeskgeorgesk!set title=Sided order !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=23 prevarcnt=22 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=f val7=R val8=any tmp0=!randint 1, 5 tmp1=!randitem 1,-1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 5 tmp1=!randitem 1,-1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 200 tmp1=!randitem 1,-1 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 50 tmp1=!randitem 1,-1 val12=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 10 tmp1=!randitem 1,-1 val13=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 3 tmp1=!randitem 1,-1 val14=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 4 val15=$[rint($(tmp0))] tmp0=!item $val15 of $val14,-($val14)*($val9),($val14)*($val9)^2,0 val16=$[rint($(tmp0))] tmp0=!item $val15 of 0,$val14,-2*($val14)*($val9),0 val17=$[rint($(tmp0))] tmp0=!item $val15 of 0,0,$val14,0 val18=$[rint($(tmp0))] val19=$[rint(-($val9)^3*($val10)+($val11)-($val16))] val20=$[rint(3*($val9)^2*($val10)+($val12)-($val17))] val21=$[rint(-3*($val9)*($val10)+($val13)-($val18))] tmp0=!htmlmath $val10*x^3 + $val21*x^2 + $val20*x + $val19 val22=$(tmp0) tmp0=!htmlmath $val13*x^2 + $val12*x + $val11 val23=$(tmp0) tmp0=!randitem 1,2 val24=$[rint($(tmp0))] tmp0=!item $val24 of $val22,$val23 val25=$(tmp0) tmp0=!item $val24 of $val23,$val22 val26=$(tmp0) val27=$[rint($val15-2)] replyname1=Order of differentiability replygood1=$val27 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let $val6: $val7 -> $val7 be the function defined by

$val6(x) = $val25      si x < $val9 ;
$val26 si x $val9 .

What is the order of differentiability of $val6 ?

Instructions/Examples.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,6,7,8,9,25,26 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/absorder.def0000644000175000017500000000406210340567503026652 0ustar georgeskgeorgesk!set title=Absolute order !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=17 prevarcnt=16 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=f val7=R val8=any tmp0=!randint 1, 4 val9=$[rint($(tmp0)*2)] val10=$[rint($val9+1)] tmp0=!randint 1, 9 val11=$[rint($(tmp0))] tmp0=!randitem 1,2 val12=$[rint($(tmp0))] tmp0=!item $val12 of $val10,$val9 val13=$[rint($(tmp0))] val14=$[rint($val13-1)] val15=$val13 val16=2 val17=|x$val15|-$val11, (|x|)$val15-$val11, |x$val15-$val11|, |(x-$val11)$val15|, (|x-$val11|)$val15, |x(x-$val11)$val15|, |x$val15(x-$val11)|, |x$val16(x-$val11)$val15|, |x$val15(x-$val11)$val16|, |x-$val11|(x-$val11)$val15 tmp0=!itemcnt $val17 tmp1=!randint 1, $(tmp0) val18=$[rint($(tmp1))] tmp0=!item $val18 of $val17 val19=$(tmp0) !ifval $val12=1 tmp0=!item $val18 of $val14,$val14,0,$val14,$val14, 0,0,$val14,$val14,$val13 val20=$(tmp0) !endif !ifval $val12=2 tmp0=!item $val18 of $val8,$val8,0,$val8,$val8, 0,0,$val8,$val8,$val13 val20=$(tmp0) !endif replyname1=Order of differentiability replygood1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let $val6: $val7 -> $val7 be the function defined by $val6(x) = $val19. What is the order of differentiability of $val6 ?

Instructions/Examples.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/nonderrecip.def0000644000175000017500000000300110340567503027351 0ustar georgeskgeorgesk!set title=Non-differentiable inverse !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=r varcnt=12 prevarcnt=11 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=f val7=R val8=x0 tmp0=!randint 5, 20 tmp1=!randitem -1,1 val9=$[$(tmp0)*$(tmp1)/10] tmp0=!randint 1, 10 tmp1=!randitem -1,1 val10=$[$(tmp0)*$(tmp1)] val11=$[-3*($val10)*($val9)] val12=$[3*($val10)*($val9)^2] tmp0=!randint 5, 100 tmp1=!randitem -1,1 val13=$[$(tmp0)*$(tmp1)/10] val14=!rawmath $val10*x^3+$val11*x^2+$val12*x+$val13 tmp0=!htmlmath $val14 val15=$(tmp0) evaltmp=$val14 evaltmp=!mathsubst x=($val9) in $evaltmp tmp0=($evaltmp) val16=$[$(tmp0)] replyname1=$val8 replygood1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()The function $val6: $val7 -> $val7 defined by

$val6(x) = $val15

is bijective, but there is a point $val8  $val7 such that the inverse function $val6-1(x) is not differentiable on $val8. Find $val8. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,6,7,8,15 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/def/contder2.def0000644000175000017500000000356310340567503026576 0ustar georgeskgeorgesk!set title=Continuity of derivative II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-0.900000 rightrange=0.900000 author=Gang XIAO email=xiao@unice.fr computeanswer=yes precision=10000 ansorder=c varcnt=13 prevarcnt=12 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 val6=Yes val7=No val8=f val9=R val10=$val8 ' val11=   tmp0=!randitem increasing, decreasing, strictly increasing, strictly decreasing val12=$(tmp0) val13=$val8(x) is bounded, $val10(x) is bounded, $val8 is $val12, $val10 is $val12, limx->x0$val8(x) exists for any x0$val11$val9, limx->x0$val10(x) exists for any x0$val11$val9, |$val8(x)-$val8(y)| < |x-y| for all x and y$val11$val9, |$val10(x)-$val10(y)| < |x-y| for all x and y$val11$val9, $val8 is $val12 and bounded, $val10 is $val12 and bounded val14=$val7,$val7,$val7,$val6,$val7, $val6,$val7,$val6,$val7,$val6 tmp0=!itemcnt $val13 tmp1=!randint 1, $(tmp0) val15=$[rint($(tmp1))] tmp0=!item $val15 of $val13 val16=$(tmp0) tmp0=!item $val15 of $val14 val17=$(tmp0) choicename1=Reply choicegood1=$val17 choicebad1=$val6,$val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let $val8: $val9 -> $val9 be a continuous function. Suppose that the derivative $val10(x) exists for any point x$val11$val9.

If furthermore $val16, is the derivative function $val10: $val9 -> $val9 always continuous? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,16 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/intro.phtml0000644000175000017500000000040510340567503026031 0ustar georgeskgeorgesk!header !read Exindex Este módulo reune $exototal ejercicios relacionados con la derivabilidad (definición y propiedades fundamentales) de funciones de una variable real. !read oef/intromenu.phtml !read related.phtml derivabilidad, continuidad, cálculo !tail wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/Exindex0000644000175000017500000000041410340567503025157 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of Contabs,absorder,contder,contder2,nonderrecip,sidedorder, !set titlelist=!char 1 to -2 of abs,Absolute order,Continuity of derivative,Continuity of derivative II,Non-differentiable inverse,Sided order, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/Extitles0000644000175000017500000000025010340567503025352 0ustar georgeskgeorgeskContabs:abs absorder:Absolute order contder:Continuity of derivative contder2:Continuity of derivative II nonderrecip:Non-differentiable inverse sidedorder:Sided order wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/var.proc0000644000175000017500000000024110340567503025303 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=0 # Change to 1 of you want all choices to be present allchoices=0 !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/0000755000175000017500000000000010340567503025076 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/contder2/0000755000175000017500000000000010340567503026616 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/contder2/ne.gif0000644000175000017500000000030210340567503027702 0ustar georgeskgeorgeskGIF89a„ÿÿÿ 555EEEMMM»»»ÆÆÆôôôÏÏÏ···ÄÄÄÕÕÕFFF===qqq‘‘‘êêê"""™™™îîî!ù,? ŽdiŽp–ÃJ„;¶2Pæì‰Ò.Œ†È1x< ‘Á@™ÐLO¥r²(¯X¥©B©¢+˜| \¼˜Œ+;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/contder2/in.gif0000644000175000017500000000026310340567503027714 0ustar georgeskgeorgeskGIF89a „ÿÿÿÊÊÊ///€€€ùùù333†††ddd$$$ˆˆˆ½½½ÕÕÕ»»»ªªªÝÝÝ+++MMMðððýýý&&&UUUDDD™™™!ù, 0 Ž$(:Œ„PŽ…ûŠÆ1‹’(¼",8FÃAt< ¢ˆä†›0)‚ °°\®@;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/sidedorder/0000755000175000017500000000000010340567503027222 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/sidedorder/leftbrace3.gif0000644000175000017500000000040610340567503031723 0ustar georgeskgeorgeskGIF89a =„ÿÿÿ(((ÆÆÆBBBqqqYYY999QQQwwwnnn rrrMMMfffªªª...×××ÛÛÛ;;;†††ûûû€€€jjjIII!ù, =ƒ ŽdI‚)  ²*@E «†pĈØElUD!òhJÆ‚Ð1}FÊ&³ä\f¹[ÒCF€±ÈÍ$LTAý²ÄëWêž/õ.1}$ƒ#,1cXŒ^Z_$PRzV”`‘#]™Žzœ"=?8:|{*35t@.1(!;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/sidedorder/leftbrace4.gif0000644000175000017500000000047310340567503031730 0ustar georgeskgeorgeskGIF89a Z„ÿÿÿ(((ÆÆÆBBBqqqYYY999QQQwwwnnn rrrMMMfffªªª...×××ÛÛÛ;;;†††ûûû€€€jjjIII!ù, Z¸ ŽdI‚)  ²*@E «†pĈØElUD!òhb@0õHUN(ö ttcY£²É­zÍà²)™ÖšXç· ^ /Ç%ö]ÌW=@@17&*„/1‡U“”T*=1•%Ÿ$,1}kLyª$z©x$vrm¨«°#² s_[n·µhÂd¿­¬¹j»t¢¼¾¶Æ¸"®À{UÑ=?8:“¡#35@.1(!;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/sidedorder/le.gif0000644000175000017500000000027210340567503030312 0ustar georgeskgeorgeskGIF89a „ÿÿÿ(((ˆˆˆSSSWWWDDD^^^ªªªýýý}}}•••æææ®®®»»»¦¦¦333„„„!ù, 7 ŽdiŠpŠQ¬¬¼² ±“‚âXDÀ1l$Ÿ#ÇB­B"#É„ÂíR@;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/sidedorder/leftbrace2.gif0000644000175000017500000000033510340567503031723 0ustar georgeskgeorgeskGIF89a )„ÿÿÿ³³³LLL{{{***HHHYYYnnn‚‚‚ßßß„„„bbb ———ŸŸŸdddõõõ[[[sssfff›››•••;;;ÄÄÄ!ù, )Z ŽdI‚ ¡*†|Ä2‚«º ô¹ È–ˆC# yTŽÎYTXÈN(ãÚð‡ˆø°>I0Y3—î¸ï=¢‹ì?¹Œ²®,gkh>!;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/sidedorder/ge.gif0000644000175000017500000000027610340567503030311 0ustar georgeskgeorgeskGIF89a „ÿÿÿ777ŽŽŽÎÎΨ¨¨ýýý{{{ûûû}}}“““„„„yyySSS///&&&(((æææ®®®»»»¦¦¦333!ù, ; Ž$e:D‘–{¼$Â&4©K.2„ÍAxÐ -BpÐ$MßÄG%M(•¬¶b]0™°8C`B;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/nonderrecip/0000755000175000017500000000000010340567503027406 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/nonderrecip/in.gif0000644000175000017500000000026310340567503030504 0ustar georgeskgeorgeskGIF89a „ÿÿÿÊÊÊ///€€€ùùù333†††ddd$$$ˆˆˆ½½½ÕÕÕ»»»ªªªÝÝÝ+++MMMðððýýý&&&UUUDDD™™™!ù, 0 Ž$(:Œ„PŽ…ûŠÆ1‹’(¼",8FÃAt< ¢ˆä†›0)‚ °°\®@;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/contder/0000755000175000017500000000000010340567503026534 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/contder/ne.gif0000644000175000017500000000030210340567503027620 0ustar georgeskgeorgeskGIF89a„ÿÿÿ 555EEEMMM»»»ÆÆÆôôôÏÏÏ···ÄÄÄÕÕÕFFF===qqq‘‘‘êêê"""™™™îîî!ù,? ŽdiŽp–ÃJ„;¶2Pæì‰Ò.Œ†È1x< ‘Á@™ÐLO¥r²(¯X¥©B©¢+˜| \¼˜Œ+;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/images/contder/in.gif0000644000175000017500000000026310340567503027632 0ustar georgeskgeorgeskGIF89a „ÿÿÿÊÊÊ///€€€ùùù333†††ddd$$$ˆˆˆ½½½ÕÕÕ»»»ªªªÝÝÝ+++MMMðððýýý&&&UUUDDD™™™!ù, 0 Ž$(:Œ„PŽ…ûŠÆ1‹’(¼",8FÃAt< ¢ˆä†›0)‚ °°\®@;wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/about.phtml0000644000175000017500000000005310340567503026007 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/main.phtml0000644000175000017500000000003110340567503025615 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/INDEX0000644000175000017500000000071110340567503024422 0ustar georgeskgeorgesktitle=OEF derivabilidad description=colección de ejercicios de derivabilidad de funciones de una variable real. author=XIAO Gang address=xiao@unice.fr copyright=© 2001- (GNU GPL) translator=J. Rafel Rodríguez Galván translator_address= version=1.00 wims_version=3.37f language=es category=exercise, oef level=U1, H6 domain=análisis, cálculo keywords=derivada, orden, derivabilidad, diferenciabilidad scoring=yes vardef=oef/var.def wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/0000755000175000017500000000000010340567503024420 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/contder2.oef0000644000175000017500000000231710340567503026636 0ustar georgeskgeorgesk\title{Continuity of derivative II} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{tyes=Yes} \text{tno=No} \text{if=f} \text{BR=R} \text{fp=\if '} \text{in=  } \text{tone=random(increasing, decreasing, strictly increasing, strictly decreasing)} \text{condlist=\if(x) is bounded, \fp(x) is bounded, \if is \tone, \fp is \tone, limx->x0\if(x) exists for any x0\in\BR, limx->x0\fp(x) exists for any x0\in\BR, |\if(x)-\if(y)| < |x-y| for all x and y\in\BR, |\fp(x)-\fp(y)| < |x-y| for all x and y\in\BR, \if is \tone and bounded, \fp is \tone and bounded } \text{goodlist=\tno,\tno,\tno,\tyes,\tno, \tyes,\tno,\tyes,\tno,\tyes } \integer{n=random(1..items(\condlist))} \text{cond=item(\n,\condlist)} \text{good=item(\n,\goodlist)} \statement{Let \if: \BR -> \BR be a continuous function. Suppose that the derivative \fp(x) exists for any point x\in\BR.

If furthermore \cond, is the derivative function \fp: \BR -> \BR always continuous? } \choice{Reply}{\good}{\tyes,\tno} wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/sidedorder.oef0000644000175000017500000000315210340567503027240 0ustar georgeskgeorgesk\title{Sided order} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{if=f} \text{BR=R} \text{tany=any} \integer{c=random(1..5)*random(1,-1)} \integer{t=random(1..5)*random(1,-1)} \integer{a0=random(1..200)*random(1,-1)} \integer{a1=random(1..50)*random(1,-1)} \integer{a2=random(1..10)*random(1,-1)} \integer{r=random(1..3)*random(1,-1)} \integer{rd=random(1..4)} \integer{r0=item(\rd,\r,-(\r)*(\c),(\r)*(\c)^2,0)} \integer{r1=item(\rd,0,\r,-2*(\r)*(\c),0)} \integer{r2=item(\rd,0,0,\r,0)} \integer{b0=-(\c)^3*(\t)+(\a0)-(\r0)} \integer{b1=3*(\c)^2*(\t)+(\a1)-(\r1)} \integer{b2=-3*(\c)*(\t)+(\a2)-(\r2)} \text{F1=htmlmath(\t*x^3 + \b2*x^2 + \b1*x + \b0)} \text{F2=htmlmath(\a2*x^2 + \a1*x + \a0)} \integer{rr=random(1,2)} \text{f1=item(\rr,\F1,\F2)} \text{f2=item(\rr,\F2,\F1)} \integer{order=\rd-2} \statement{Let \if: \BR -> \BR be the function defined by

\if(x) = \f1      si x < \c ;
\f2 si x \c .

What is the order of differentiability of \if ?

Instructions/Examples.

} \answer{Order of differentiability}{\order} wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/contder.oef0000644000175000017500000000131210340567503026546 0ustar georgeskgeorgesk\title{Continuity of derivative} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{if=f} \text{BR=R} \text{fp=\if '} \statement{Let \if: \BR -> \BR be a continuous function. If the derivative \fp(x) exists for any point x  \BR, is the derivative function \fp: \BR -> \BR always continuous? } \choice{Reply}{No}{Yes} \hint{Do you know the function \if such that \if(x)=x2sin(1/x) when x  0, and that \if(0) = 0 ?

Compute the derivative \fp(0), and examine the limit of \fp(x) when x goes towards 0. } wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/absorder.oef0000644000175000017500000000232210340567503026713 0ustar georgeskgeorgesk\title{Absolute order} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{if=f} \text{BR=R} \text{tany=any} \integer{n2=random(1..4)*2} \integer{n1=\n2+1} \integer{c=random(1..9)} \integer{oe=random(1,2)} \integer{n=item(\oe,\n1,\n2)} \integer{m=\n-1} \text{sn=\n} \text{s2=2} \text{flist=|x\sn|-\c, (|x|)\sn-\c, |x\sn-\c|, |(x-\c)\sn|, (|x-\c|)\sn, |x(x-\c)\sn|, |x\sn(x-\c)|, |x\s2(x-\c)\sn|, |x\sn(x-\c)\s2|, |x-\c|(x-\c)\sn } \integer{take=random(1..items(\flist))} \text{f=item(\take,\flist)} \text{order=\oe=1?item(\take,\m,\m,0,\m,\m, 0,0,\m,\m,\n)} \text{order=\oe=2?item(\take,\tany,\tany,0,\tany,\tany, 0,0,\tany,\tany,\n)} \statement{Let \if: \BR -> \BR be the function defined by \if(x) = \f. What is the order of differentiability of \if ?

Instructions/Examples.

} \answer{Order of differentiability}{\order} wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/.htaccess0000644000175000017500000000001610340567503026213 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/Contabs.oef0000644000175000017500000000217610340567503026512 0ustar georgeskgeorgesk\title{abs} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{bad=Continuous but not differentiable, Differentiable but not continuous, Differentiable of order 1 but not 2, Differentiable of order 2 but not 3, Differentiable of order 3 but not 4, Differentiable of any order} \text{flist=|x|, |x2|, |x3|, |x2+1|, |x2-1|, |x3+1|, |x3-1|, x|x|, x2|x|, x|x2| } \text{glist=Continuous but not differentiable, Differentiable of any order, Differentiable of order 2 but not 3, Differentiable of any order, Continuous but not differentiable, Continuous but not differentiable, Continuous but not differentiable, Differentiable of order 1 but not 2, Differentiable of order 2 but not 3, Differentiable of any order, } \integer{itm=random(1..items(\flist))} \text{f=item(\itm,\flist)} \text{good=item(\itm,\glist)} \statement{What is the differentiability of the function f(x) = \f over the interval [-10,10]?} \choice{f(x) is}{\good}{\bad} wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/src/nonderrecip.oef0000644000175000017500000000140610340567503027424 0ustar georgeskgeorgesk\title{Non-differentiable inverse} \language{en} \range{-0.9..0.9} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{if=f} \text{BR=R} \text{x0=x0} \real{a=randint(5..20)*random(-1,1)/10} \real{c3=randint(1..10)*random(-1,1)} \real{c2=-3*(\c3)*(\a)} \real{c1=3*(\c3)*(\a)^2} \real{c0=randint(5..100)*random(-1,1)/10} \function{f=\c3*x^3+\c2*x^2+\c1*x+\c0} \text{ft=htmlmath(\f)} \real{v0=evalue(\f,x=\a)} \statement{The function \if: \BR -> \BR defined by

\if(x) = \ft

is bijective, but there is a point \x0  \BR such that the inverse function \if-1(x) is not differentiable on \x0. Find \x0. } \answer{\x0}{\v0} wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/endhook.phtml0000644000175000017500000000040010340567503026320 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting

Hay disponible una herramienta: !href target=wims_tool module=tool/analysis/function Cálculo de funciones . (Aparecerá en otra ventana de su navegador.) !endif wims-modules-es-3.64.orig/modules/U1/analysis/oefderiv.es/help.phtml0000644000175000017500000000005210340567503025624 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/0000755000175000017500000000000010315753134023323 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/intro.phtml0000644000175000017500000000201510315753755025533 0ustar georgeskgeorgesk!header Una función $m_f: $m_RR $m_to $m_RR puede definir una sucesión ($m_un) a partir de un valor inicial $m_u1, mediante la fórmula

$m_u$m_n+1 = $m_f($m_u$m_n) .

Esta sucesión se llama sucesión recursiva. La convergencia de esta sucesión depende de $m_f y de $m_u1 y es un problema muy interesante.

$module_title es un ejercicio gráfico de sucesiones recursivas. Aleatoriamente, se dibuja la gráfica de una función a partir de un valor inicial $m_u1 y a continuación se le pide que determine la convergencia de la sucesión de acuerdo con la gráfica.

!form new Por favor, elija el nivel de dificultad: !default level=1 !formradio level list 1,2,3,4
y el número de sucesiones en cada sesión: !default repeat=1 !formradio repeat from 1 to 8
then !read related.phtml sucesiones, convergencia, límite !tail wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/var.init0000644000175000017500000000025607244302665025011 0ustar georgeskgeorgesk !bound level between integer 1 and 4 default 1 !bound repeat between integer 1 and 8 default 1 cnt=0 status=next accu=0 wims_module_log=$cmd: level=$level, repeat=$repeat wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/var.proc0000644000175000017500000000177007244303505025005 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. insdraw_size=250,250 tolerance=0.05 !if $cmd=resume !exit !endif !if $status=next !changeto var.prep !endif !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting !if $click_x iswordof out1 out2 osci anstype=dv !else anstype=cv cx=$[$click_x*4/250-2] cy=$[$click_y*4/250-2] !if NaN isin $cx $cy !reset cx,cy anstype=er !endif !endif !if $good notwordof out out1 out2 osci isgood=yes !endif !if $anstype=dv and $click_x=$good or \ $isgood=yes and abs($cx-$good)<$tolerance sc=10 ans=good !else !if $isgood=yes and abs($cx-$good)<$tolerance*3 sc=!item $level of 7,6,4,4,3,3,3,2,2,2,2,2,2,2 ans=tolerance !endif !endif accu=$[$accu+$sc] !read anim.proc !if $cnt<$repeat status=next !exit !endif status=done module_score=$[$accu/$repeat] wims_module_log=score $module_score !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/answer.phtml0000644000175000017500000000230510315753754025700 0ustar georgeskgeorgesk Solución. !if $isgood=yes Converge hacia el límite mostrado por la animación. !else !if $good=out1 Tiende hacia +$m_infty. !endif !if $good=out2 Tiende hacia -$m_infty. !endif !if $good=osci Es divergente con un fenómeno de oscilación. !endif !endif !if $cmd!=reply !exit !endif

!if $ans=good Su respuesta es, por tanto, exacta. !else !if $ans=tolerance Ha señalado una posición más o menos correcta, pero no muy precisa. !else Su respuesta no es correcta: !if $anstype=cv !if $isgood=yes no ha hecho señalado el límite adecuado. !else la secuencia no es convergente. !endif !else !if $anstype=er hay un error en su respuesta !else !set d_out1=no tiende a +$m_infty. !set d_out2=no tiende a -$m_infty. !set d_osci=no presenta ningún fenómeno de oscilación la sucesión $(d_$click_x) !endif !endif !endif !endif !if $repeat=1

Puntuación: $module_score over 10. !else !! Puntuación en esta cuestión: $sc over 10. !if $cnt>=$repeat

Ha terminado una sesión de $repeat cuestiones con una puntuación de $module_score sobre 10. !else (Respuesta número $cnt dentro de una sesión de $repeat cuestiones.) !endif !endif

wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/0000755000175000017500000000000007243671676023746 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/110000644000175000017500000000160407244153752024102 0ustar georgeskgeorgesk !if random(1)>0.5 c1=!random 0.4,0.8 c3=!random -($c1-0.1)/12,(0.9-$c1)/4 t=$[max(0,1.8-2*$c1-8*($c3))] d=$[max(0,$c1+12*($c3)-0.05)] c2=!random -$d/4,$d/4 c0=!random -$t,$t f=$c0+$c1*x+($c2)*(x^2-4)+($c3)*x^3 point=!exec pari print(solve(x=-2,2,$f-x)) good=$point !distribute item -2,2 into neg,pos cent=$good !else c1=!random 1.2,1.8 c3=!random (2.1-2*$c1)/8, (4-2*$c1)/8 c2=!random -0.2,0.2 c0=0 f=$c0+$c1*x+($c2)*(x^2-4)+($c3)*x^3 point=!exec pari print(solve(x=-2,2,$f-x))\ print(solve(x=-2,2,$f+2))\ print(solve(x=-2,2,$f-2)) !distribute lines $point into bad,neg,pos good=out cent=$bad !endif !if $cent-$neg>2*$ecart u=!random $neg+$ecart,$cent-$ecart !else u=$[0.5*($neg)+0.5*($cent)] !endif !if $pos-$cent>2*$ecart w=!random $cent+$ecart,$pos-$ecart !else w=$[0.5*($pos)+0.5*($cent)] !endif !if random(1)>0.5 u1=$u out=minus !else u1=$w out=plus !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/130000644000175000017500000000140307244154073024076 0ustar georgeskgeorgesk cc=!random -0.4,0.4 !if random(1)>0.5 c1=!random -0.6,0.4 c2=!random -0.1,0.1 c3=!random -($c1*2.4+0.6)/14,-($c1*2.4-0.6)/14 f=!rawmath $cc+$c1(x-$cc)+$c2(x-$cc)^2+$c3(x-$cc)^3 good=$cc cent=$cc !else c0=!random 0.5,0.9 c1=!random 1.5,5 c2=!random -0.1,0.1 c3=!random 0.2,0.7 v=!random -0.2,0.2 f=!rawmath $cc-$c0*atan($c1*(x-$cc)/$c0)+$c2(x-$cc)^2+$c3(x-$cc)+$v point=!exec pari print(solve(x=-2,2,$f-x)) good=osci bad=$point cent=$bad !endif !distribute item -2,2 into neg,pos !if $cent-$neg>2*$ecart u=!random $neg+$ecart,$cent-$ecart !else u=$[0.5*($neg)+0.5*($cent)] !endif !if $pos-$cent>2*$ecart w=!random $cent+$ecart,$pos-$ecart !else w=$[0.5*($pos)+0.5*($cent)] !endif !if random(1)>0.5 u1=$u out=minus !else u1=$w out=plus !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/120000644000175000017500000000157007244154026024100 0ustar georgeskgeorgesk !if random(1)>0.5 c1=!random 0.3,0.7 c3=!random -($c1-0.1)/12,(0.9-$c1)/4 t=$[max(0,1.8-2*$c1-8*($c3))] d=$[max(0,$c1+12*($c3)-0.05)] c2=!random -$d/4,$d/4 c0=!random -$t/2,$t/2 f=$c0-$c1*x+($c2)*x^2-($c3)*x^3 point=!exec pari print(solve(x=-2,2,$f-x)) good=$point !distribute item -2,2 into neg,pos cent=$good !else c1=!random 1.3,1.8 c3=!random (2-2*$c1)/8, (3-2*$c1)/8 c2=!random -0.4,0.4 f=-$c1*x+($c2)*(x^2-4)-($c3)*x^3 point=!exec pari print(solve(x=-2,2,$f-x))\ print(solve(x=-2,2,$f+2))\ print(solve(x=-2,2,$f-2)) !distribute lines $point into bad,neg,pos good=out cent=$bad !endif !if $cent-$neg>2*$ecart u=!random $neg+$ecart,$cent-$ecart !else u=$[0.5*($neg)+0.5*($cent)] !endif !if $pos-$cent>2*$ecart w=!random $cent+$ecart,$pos-$ecart !else w=$[0.5*($pos)+0.5*($cent)] !endif !if random(1)>0.5 u1=$u out=minus !else u1=$w out=plus !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/220000644000175000017500000000211507244154330024073 0ustar georgeskgeorgesk !if random(1)>0.5 cc=!random 0.1,0.3 c2=!random 0.8,1 c0=!random 0.3,0.6 f=!rawmath $c2(x+$cc)^2-$c0-$cc f2=!rawmath -$c2(x-$cc)^2+$c0+$cc l=$[(1-sqrt(1+4*$c0*$c2))/(2*$c2)-$cc] r=$[(1+sqrt(1+4*$c0*$c2))/(2*$c2)-$cc] ll=$[-$r-2*$cc] h=$[max(-2,-sqrt((2+$c0+$cc)/$c2)-$cc)] e=0.05 u=!random $ll+$e,$l-$ecart v=$l+$ecart,$r-$ecart u1=!randitem $u,$u,$v good=$l !if random(1)>0.5 and $ll-$h>2*$e bad=$l good=out u1=!random $h+$e,$ll-$e !endif !else cc=!random 0.2,0.4 c2=!random 1.5,2 c0=!random 1.5/$c2,1.75/$c2 f=!rawmath $c2(x+$cc)^2-$c0-$cc f2=!rawmath -$c2(x-$cc)^2+$c0+$cc l=$[(1-sqrt(1+4*$c0*$c2))/(2*$c2)-$cc] r=$[(1+sqrt(1+4*$c0*$c2))/(2*$c2)-$cc] ll=$[-$r-2*$cc] rr=$[-($l)-2*$cc] h=$[max(-2,-sqrt((2+$c0+$cc)/$c2)-$cc)] e=0.03 u=!random $ll+$e,$l-$ecart v=$l+$ecart,$rr-$e w=$rr+$e,$r-$ecart u1=!randitem $u,$u,$u,$v,$w good=osci bad=$l !if random(1)>0.65 and $ll-$h>2*$e good=out u1=!random $h+$e,$ll-$e !endif !endif out=plus !if random(1)>0.5 out=minus f=$f2 u1=$[-($u1)] !if $good=$l good=$[-($l)] !else bad=$[-($l)] !endif !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/210000644000175000017500000000162607244154265024107 0ustar georgeskgeorgesk cx=!random 2,2.2 cy=!random 1.1,1.5 c4=!random 0.012,0.017 c2=!random 0.08,0.12 dir=!randint 1,2 !if $dir=1 out=minus f=-($c4*(x-$cx)^4+$c2*(x-$cx)^2)+$cy points=!exec pari print(solve(x=-2,0,$f-x))\ print(solve(x=0,2,$f-x))\ print(solve(x=-2,2,$f+2)) !else out=plus f=($c4*(x+$cx)^4+$c2*(x+$cx)^2)-$cy points=!exec pari print(solve(x=-2,0,$f-x))\ print(solve(x=0,2,$f-x))\ print(solve(x=-2,2,$f-2)) !endif !distribute lines $points into neg,pos,out !if $dir=1 bad=$neg good=$pos u=!random $neg+$ecart,0.4*$neg+0.6*$pos w=!random $pos+$ecart,1.9 !if $neg-$out>2*$ecart v=!random $out+$ecart,$neg-$ecart !endif !else bad=$pos good=$neg u=!random 0.6*$neg+0.4*$pos,$pos-$ecart w=!random -1.9,$neg-$ecart !if $out-$pos>@*$ecart v=!random $pos+$ecart,$out-$ecart !endif !endif u1=!randitem $u,$w !if $v!=$empty u1=!randitem $u1,$v !if $u1=$v bad=$bad,$good good=out !endif !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/fn/230000644000175000017500000000107207244154400024073 0ustar georgeskgeorgesk cc=!random 0,0.8 c2=!random 0.25,$[4/($cc+2)^2] f1=!rawmath x+$c2(x-$cc)^2 f2=!rawmath x-$c2(x+$cc)^2 tt=$[max(-2,$cc-1/$c2)] oo=$[(sqrt(1+4*$c2*(2-$cc))-1)/(2*$c2)+$cc] u=!random $tt+$ecart,$cc-$ecart !if $oo-$cc>2*$ecart w=!random $cc+$ecart,$oo-$ecart !else w=0.5*$cc+0.5*$oo !endif !if $tt>-1.9+$ecart v=!random -1.9,$tt-$ecart w=!randitem $w,$v,$v,$v !endif !if random(1)>0.5 !distribute item minus,$[-($cc)],$[-($u)],$[-($w)],$f2 into out,cc,u,w,f !else f=$f1 out=plus !endif !if random(1)>0.5 u1=$w good=out bad=$cc !else good=$cc u1=$u !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/var.prep0000644000175000017500000000154607244302673025016 0ustar georgeskgeorgesktype1=11 type2=12,13 type3=21,23 type4=22 type=!randitem $(type$level) pari_precision=8 axis=!random -1.5,1.5 ecart=0.2 !read fn/$type !if $out=plus good=!replace word out by out1 in $good !else good=!replace word out by out2 in $good !endif drawsrc1=xrange -2,2\ yrange -2,2\ line -2,-2,2,2,red\ arrow -2,$axis,2,$axis,10,lightgrey\ arrow $axis,-2,$axis,2,10,lightgrey\ dline $u1,-2,$u1,2,orange\ plot black,$f\ text orange,$u1+0.02,$axis-0.06,tiny,u1\ text red,1.65,1.98,tiny,y=x\ text lightgrey,1.85,$axis+0.22,small,x\ text lightgrey,$axis+0.1,1.95,small,y ulist=$u1 u=$u1 !if $good!=$empty and $good notwordof osci out out1 out2 isgood=yes !endif !for i=1 to 8 v=!evalsubst x=($u) in $f !if $v>2 or $v<-2 or NaN isin $v !break !endif ulist=$ulist,$v u=$v !if $isgood=yes and abs($good-$v)<0.04 !break !endif !next i status=waiting !advance cnt wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/about.phtml0000644000175000017500000000001710315753755025512 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/present.phtml0000644000175000017500000000232610315753754026064 0ustar georgeskgeorgesk!! Este fichero presente la cuestión a resolver Ejercicio. Tenemos una sucesión ($m_u1, $m_u2, ...), definida por la regla de recursión

$m_u$m_n+1=$m_f($m_u$m_n)

para $m_n=1,2,..., donde  $m_f: $m_RR $m_rightarrow $m_RR es una función continua cuya gráfica es la siguiente: (La gráfica de $m_f no corta a la recta y=x fuera de la figura.)

!form reply
!if $status=waiting !distribute items alt=Click,1,form click into ins_attr,ins_border,ins_tag !insdraw $drawsrc1 !else Result !endif     línea intermitente = valor de $m_u1
línea roja = la recta y=x
curva gris/negra = $m_f(x) !if $status!=waiting
línea verde = posición que ha señalado

la animación !endif

Cuestión. ¿Es ésta sucesión convergente? !if $repeat>1 and $status=waiting (Cuestión número $cnt dentro de una sesión de $repeat.) !endif wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/.htaccess0000644000175000017500000000001606761750271025127 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/main.phtml0000644000175000017500000000126610315753754025332 0ustar georgeskgeorgesk!header !read present.phtml !if $status=waiting !if $error!=$empty


!read msg.phtml


!endif !read form.phtml

!if $repeat>1 !href cmd=renew&worksheet=$worksheet&$module_init_parm Abandonar la sesión . !else !href exo_Renew . !endif !else !if $error!=$empty


!read msg.phtml


!else !read answer.phtml !endif

!if $repeat>1 and $cnt<$repeat !href cmd=next Continuar la sesión con la siguiente cuestión , or !href cmd=renew&worksheet=$worksheet&$module_init_parm abandonar la sesión . !else !href exo_Again . !endif !if $worksheet=$empty !href exo_Intro . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/var.def0000644000175000017500000000032207244303730024570 0ustar georgeskgeorgesklevel init repeat init status deny f deny drawsrc1 deny good deny bad deny axis deny u1 deny ulist deny llist deny cnt deny out deny accu deny anim deny anstype deny isgood deny click_x reply click_y reply wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/form.phtml0000644000175000017500000000106110315753754025342 0ustar georgeskgeorgesk

Para introducir su respuesta:

wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/anim.proc0000644000175000017500000000164407244154621025144 0ustar georgeskgeorgesk !if $good!=$empty and $good notwordof osci out out1 out2 isgood=yes !endif l=!itemcnt $ulist !if $anstype=cv drawsrc1=$drawsrc1\ line $cx,-2,$cx,2,green !endif !insdraw $drawsrc1 dcnt=1 !for i=1 to $l-1 u=!item $i of $ulist v=!item $i+1 of $ulist !if $i>1 llist=!append line line $u,$u,$u,$v,blue to $llist !insdraw $drawsrc1\ $llist !advance dcnt !else llist=fcircle $u,$v,6,orange !endif llist=!append line line $u,$v,$v,$v,blue to $llist !insdraw $drawsrc1\ text blue,$v+0.02,$axis-0.06,tiny,u$[$i+1]\ dline $v,-2,$v,2,blue\ $llist !advance dcnt !next i !if $isgood=yes llist=!append line dline $good,-2,$good,2,blue\ text blue,$good+0.02,$axis-0.06,tiny,lim\ fcircle $good,$good,6,blue to $llist !insdraw $drawsrc1\ $llist !advance dcnt !endif alist=!word 1 to $dcnt of 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 animate_delay=120 animate_loop=1 anim=!exec animate $alist wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/INDEX0000644000175000017500000000107010315753754024123 0ustar georgeskgeorgesktitle=Convergencia gráfica # Commencez la description par minuscule! description=determinar el límite de una sucesión recursiva según el gráfico de la función. author=XIAO Gang address=xiao@unice.fr copyright=© 2001- (GNU GPL) translator=J. Rafael Rodríguez Galván translator_address= version=1.20 # minimal version of wims server under which the module may run wims_version=3.30 language=es category=exercise level=U1, H6, U2 domain=análisis, cálculo keywords=función, sucesión, curva, límite, convergencia, gráfica require=pari scoring=yes wims-modules-es-3.64.orig/modules/U1/analysis/grconv.es/msg.phtml0000644000175000017500000000020710315753755025167 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !msg $error wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/0000755000175000017500000000000010771764554023637 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/answer.phtml0000644000175000017500000000231110771744323026171 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. !if $repeat>0 !ifval $click=0 !if $askshuf>0 No, la gráfica está ahí. Mire debajo. !else Cierto, la gráfica de $askname no está entre las figuras presentadas. Muy bien. !endif !else Ha hecho click en la gráfica de $(n$click) !ifval $click=$askshuf como se preguntaba. Muy bien. !else en vez de $askname. Error. !endif !endif !else Aquí está la solución (los nombres en rojo muestran sus respuestas). !set wims_texsize=-3 !endif !if $module_score!=$empty !if $repeat<=1 Puntuación = $module_score/10. !else

Ha obtenido un apuntuación de $module_score/10 en esta sesión de $repeat funciones. !endif !endif

!!set ins_border=1 !for j=1 to $present !endif !next j
!if $repeat>0 !if $j=$click !endif !if $j=$askshuf !endif $(n$j)
!else !if $(t$j)=0 $(n$j) !else !if $(t$j)=$(v$j) $(n$j) yes !else $(n$j)$m_ne$(nt$j) !endif !endif
!endif !insplot [-3:3] [-2:2] [-2:2] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2
wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/intro.phtml0000644000175000017500000000607210771744323026035 0ustar georgeskgeorgesk!header Este módulo es un ejercicio sobre reconocimiento gráfico de la derivada de una función.

Este servidor mostrará la curva de una función continua y diferenciable $m_f(x) en el intervalo [-2,2]. Esta función está generada aleatoriamente por el servidor y su expesión analítica está oculta para el usuario. Se le presentarán un cierto número de curvas para que reconozca entre ellas a la que es la gráfica de la función $m_f'(x) (o una de $m_f'(-x), -$m_f'(x) o -$m_f'(-x), de acuerdo con la configuración del ejercicio). Para elegir la respuesta, simplemente haga click en la curva que crea que es la correcta.


!if $special_parm != expert Elegir un nivel de dificultad: !href module=$module&cmd=new&repeat=1&asktype=1&present=3&list=3 1 . !href module=$module&cmd=new&repeat=1&asktype=1&present=4&list=4 2 . !href module=$module&cmd=new&repeat=1&asktype=1&present=3&list=4 3 . !href module=$module&cmd=new&repeat=1&asktype=1,2&present=4&list=6 4 . !href module=$module&cmd=new&repeat=2&asktype=1,2&present=4&list=6 5 . !href module=$module&cmd=new&repeat=3&asktype=1,2&present=6&list=7 6 . !href module=$module&cmd=new&repeat=4&asktype=1,2,3&present=6&list=7 7 . !href module=$module&cmd=new&repeat=0&asktype=1&present=6&list=7 8 . !href module=$module&cmd=new&repeat=0&asktype=1&present=8&list=8 9 .

También hay un !href cmd=intro&module=$module&special_parm=expert menú detallado para los parámetros de este ejercicio. !else !form new La dificultad de este ejercicio varía considerablemente con la elección de varios parámetros.

También puede realizar el ejercicio !href cmd=intro&module=$module eligiendo simplemente el nivel de dificultad. !endif expert?

!read related.phtml Gráficos,derivadas,funciones !tail wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/var.init0000644000175000017500000000111510771744323025302 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. wims_print_precision=5 !if $repeat notwordof 0 1 2 3 4 5 6 7 8 repeat= !endif !if $present notwordof 3 4 6 8 present= !endif !if $list notwordof 3 4 5 6 7 8 list= !endif !default repeat=1 !default present=4 !default list=4 !if $present>$list list=$present !endif !for i=1 to $list !if $i isin $asktype at=!append item $i to $at !endif !next i asktype=$at !default asktype=1,2,3 wims_module_log=$cmd: repeat $repeat, $present figs from $list, ask $asktype replycnt=0 fcnt=0 cumul=0 status=start wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/var.proc0000644000175000017500000000336710771744323025315 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !if $status notwordof waiting finish !read var.prep !endif insplot_set=zeroaxis; parametric;\ tmargin 1;rmargin 1;lmargin 3; bmargin 2;\ xtics 1; ytics 1 fx=t fy=$f !read definitions !for i=1 to $present j=!item $i of $shuf !if $j=$ask askshuf=$i !endif v$i =$j x$i =!item $j of $xlist y$i =!item $j of $ylist n$i =!item $j of $flist y$i=!mathsubst f=($f) in $(y$i) y$i=!mathsubst g=($g) in $(y$i) n$i=!htmlmath $(n$i) n$i=!mathsubst f=$m_f in $(n$i) !next i askname=!item $ask of $flist askname=!htmlmath $askname askname=!mathsubst f=$m_f in $askname !ifval $repeat=0 !for i=1 to $present !if $(t$i)>0 nt$i=!item $(t$i) of $flist nt$i=!htmlmath $(nt$i) nt$i=!mathsubst f=$m_f in $(nt$i) !endif !next i !endif !if $cmd=reply and $status=waiting replycnt=$[$replycnt+1] status=done !ifval $repeat>1 and (($click>0 and $click=$askshuf) or ($click=0 and $askshuf=$empty)) cumul=$[$cumul+1] !endif !if $replycnt>=$repeat status=finish !ifval $repeat=0 sc=0 !for i=1 to $present !if $(t$i)=$(v$i) sc=$[$sc+2] !else !if $(t$i)>0 sc=$[$sc-1] !endif !endif !next i !if $sc<0 module_score=0 !else module_score=$[rint(50*$sc/$present)/10] !endif !endif !if $repeat=1 !ifval ($click>0 and $click=$askshuf) or ($click=0 and $askshuf=$empty) module_score=10 !else module_score=0 !endif !endif !if $repeat>1 module_score=$[rint(100*($cumul*$list-$repeat)/($list-1)/$repeat)/10] !if $module_score<0 module_score=0 !endif !endif wims_module_log=score $module_score/10 !endif !endif !if $status=wait status=waiting !endif wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/present.phtml0000644000175000017500000000062310771744323026356 0ustar georgeskgeorgesk

Aquí está la gráfica de una función continua
y diferenciable $m_f(x). !if $repeat>1

(Función número $fcnt
en la sesión de
$repeat funciones) !endif
!set iset=$insplot_set !set insplot_set=$insplot_set; size 0.38,0.5 !insplot [-3:3] [-2:2] [-2:2] $fx,$fy title "f(x)" !set insplot_set=$iset; size 0.24,0.33
wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/var.prep0000644000175000017500000000065110771744323025311 0ustar georgeskgeorgesk fdata=!randfile functions fdata=!trim $fdata f=!line 1 of $fdata g=!line 2 of $fdata n=!linecnt $fdata !for i=1 to $n-2 step 1 c=!line $i+2 of $fdata c$i=!random $c f=!mathsubst c$i=$(c$i) in $f g=!mathsubst c$i=$(c$i) in $g !next i f=!rawmath $f g=!rawmath $g n=!randitem 0,1 !if $n=1 f=-($f) g=-($g) !endif shuf=!shuffle $list ask=!randitem $asktype fcnt=$[$fcnt+1] status=wait !for i=1 to 9 t$i= !next i click= wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/main.phtml0000644000175000017500000000126210771744323025622 0ustar georgeskgeorgesk!header !! La présentation de l'exercice. !read present.phtml

!if $status=waiting !! La forme de réponse !read form.phtml

!if $repeat>1 !set nn=Abandonar la sesión !else !set nn=Cambiar la función !endif !href cmd=renew&worksheet=$worksheet&$module_init_parm $nn . !else !! L'analyse de réponse !read answer.phtml

!if $status=finish !if $repeat>1 !set nn=Una nueva sesión !else !set nn=Una nueva sesión !endif !href cmd=renew&worksheet=$worksheet&$module_init_parm $nn . !else !href cmd=next Continuar la sesión con la siguiente función .   !href cmd=renew&worksheet=$worksheet&$module_init_parm Abandonar la sesión . !endif !endif :end !tailwims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/var.def0000644000175000017500000000135410771744323025102 0ustar georgeskgeorgesk#This is the variable definition file of the exercice module `test'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim repeat init asktype init present init list init status deny replycnt deny fcnt deny cumul deny f deny g deny shuf deny ask deny click reply t1 reply t2 reply t3 reply t4 reply t5 reply t6 reply t7 reply t8 reply t9 reply wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/form.phtml0000644000175000017500000000231610771744323025642 0ustar georgeskgeorgesk!! On pose les questions dans ce fichier. D'habitude, c'est par !! des forms. Voici un exemple de conception de la forme de réponse. !if $repeat>0 Pregunta. Entre las siguientes figuras, cuál de ellas representa la función $askname? Haga click en ella.

!!set ins_border=1 !for j=1 to $present !href cmd=reply&click=$j !insplot [-3:3] [-2:2] [-2:2] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2
!endif !next j
!href cmd=reply&click=0 Hacer click aquí si piensa que ninguna de las figuras correspponde a $askname. !else !form reply Pregunta. Determinar a qué función corresponde cada una de las figuras de abajo.

!!set ins_border=1 !for j=1 to $present !endif !next j

!insplot [-3:3] [-2:2] [-2:2] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2

Atención. Respuestas erróneas bajarán su puntuación. Si no estas seguro, elije "??". !endifwims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/INDEX0000644000175000017500000000075110771744323024424 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Gráfica de la derivada description=reconocimiento gráfico de la derivada de una función. language=es category=exercise domain=analysis level=H5,H6,U1 keywords=función, gráfica, derivada require= scoring=yes copyright=© 1998- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.30 wims_version=3.30 vardef= translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/definitions0000644000175000017500000000027010771744323026064 0ustar georgeskgeorgesk# possible stops: 4,6,8 # f: f(x). g: f'(x). flist=f '(x),-f '(x),f '(-x),-f '(-x), f '(x+1),f '(x-1),f '(x)+1,f '(x)-1 xlist=t,t,-t,-t, t-1,t+1,t,t ylist=g,-g,g,-g, g,g,g+1,g-1 wims-modules-es-3.64.orig/modules/U1/analysis/graphder.es/functions0000644000175000017500000000160310771744323025562 0ustar georgeskgeorgesk# List of functions used for infinitesimal approaching. # An item in this list will be picked randomly at each exercise. # Structure of item: multi-line. # line 1 is function description. # The rest is values for parameters c1, c2, etc. # Different items are separated by lines starting with `:'. :c1*t^3+(c2)*t^2+(c3)*t-c4 3*(c1)*t^2+2*(c2)*t+(c3) 0.1,0.3 0.3,0.7 -1,1 0.5,1.5 :c1*t^3+(c2)*t^2+(c3)*t+c4 3*(c1)*t^2+2*(c2)*t+(c3) 0.1,0.3 -0.3,-0.7 -1,1 0.5,1.5 :c1*(t+c2)*sin(c3*t+c4)+c5*t^2-c6*t c1*c3*(t+c2)*cos(c3*t+c4)+c1*sin(c3*t+c4)+2*c5*t-c6 0.15,0.4 -1.5,1.5 1,2.5 0,6.28 0.2,0.5 0.3,0.6 :c1*(t+c2)*sin(c3*t+c4)+c5*t^2-c6*t c1*c3*(t+c2)*cos(c3*t+c4)+c1*sin(c3*t+c4)+2*c5*t-c6 0.15,0.4 -1.5,1.5 1,2.5 0,6.28 0.2,0.5 0.3,0.6 :c1*(t+c2)*sin(c3*t+c4)+c5*t^2-c6*t c1*c3*(t+c2)*cos(c3*t+c4)+c1*sin(c3*t+c4)+2*c5*t-c6 0.15,0.4 -1.5,1.5 1,2.5 0,6.28 0.2,0.5 0.3,0.6 wims-modules-es-3.64.orig/modules/U1/algebra/0000755000175000017500000000000011262664444021200 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/bases.es/0000755000175000017500000000000010335067225022675 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/0000755000175000017500000000000010335067225023433 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/matcomm.def0000644000175000017500000000303210335067225025546 0ustar georgeskgeorgesktitle=Conmutatividad de matrices language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif type=matrix dire=!randitem -1,1 diag=!item $qcmlevel of 1,0,0,1,0,0,0 tria=!item $qcmlevel of 0,$dire,0,0,$dire,0,0 cols=!item $qcmlevel of 2,2,2,3,3,3,3 rows=$cols dim=$[$cols*$rows] :redo raw_matrix= start=0 !for i=1 to $rows l= !for j=1 to $cols s=$[sign($i-$j)] !ifval $s*$tria>0 or $s*$diag!=0 c=0 !else c=!randint -10,10 !endif !if $c!=0 start=1 !endif a$i$j=$c l=!append item $c to $l !next j raw_matrix=!append line $l to $raw_matrix !next i !if $start=0 !goto redo !endif !if $rows=2 eqn=3 eq1=0,-($a21),$a12,0 eq2=-($a12),$[$a11-($a22)],0,$a12 eq3=$a21,0,$[-($a11)+($a22)],-($a21) !endif !if $rows=3 eqn=9 eq1=0,-($a21),-($a31),$a12,0,0,$a13,0,0 eq2=-($a12),$[$a11-($a22)],-($a32),0,$a12,0,0,$a13,0 eq3=-($a13),-($a23),$[$a11-($a33)],0,0,$a12,0,0,$a13 eq4=$a21,0,0,$[-($a11)+($a22)],-($a21),-($a31),$a23,0,0 eq5=0,$a21,0,-($a12),0,-($a32),0,$a23,0 eq6=0,0,$a21,-($a13),-($a23),$[$a22-($a33)],0,0,$a23 eq7=$a31,0,0,$a32,0,0,$[-($a11)+($a33)],-($a21),-($a31) eq8=0,$a31,0,0,$a32,0,-($a12),$[-($a22)+($a33)],-($a32) eq9=0,0,$a31,0,0,$a32,-($a13),-($a23),0 !endif matrix_name=A !read mkmatrix question=Sea $m_M$rows \ el espacio vectorial de las matrices $rows×$cols, y sea\ $m_S el subespacio de $m_M$rows definido por\ las matrices que conmutan con\
$html_matrix

\ en la multiplicación de matrices. Encontrar una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/matmulright.def0000644000175000017500000000240410335067225026450 0ustar georgeskgeorgesktitle=Matrices multiplicadas por la derecha language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif type=matrix cols=!item $qcmlevel of 2,2,3,3,3,3,3 rows=!item $qcmlevel of 2,3,2,3,2,3,4 col2=!item $qcmlevel of 1,1,1,1,2,2,2 row2=$cols dim=$[$cols*$rows] :redo raw_matrix= start=0 !for i=1 to $row2 l= !for j=1 to $col2 c=!randint -10,10 !if $c!=0 start=1 !endif a$i$j=$c l=!append item $c to $l !next j raw_matrix=!append line $l to $raw_matrix !next i !if $start=0 !goto redo !endif eqn=$[$rows*$col2] zero=!items 1 to $cols of 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 !for i=1 to $col2 l= !for j=1 to $row2 l=!append item $(a$j$i) to $l !next j !for j=1 to $rows ll= !for k=1 to $j-1 ll=!append item $zero to $ll !next k ll=!append item $l to $ll !for k=$j+1 to $rows ll=!append item $zero to $ll !next k eq$[$j+($i-1)*$rows]=$ll !next j !next i matrix_name=$m_B !read mkmatrix question=Sea $m_M$rows×$cols \ el espacio vectorial de las matrices $rows×$cols\ ($rows filas and $cols columnas) y sea\ $m_S el subespacio de $m_M$rows×$cols definido por\ las matrices $m_A tales que $m_A$m_B=0, donde\

$html_matrix

\ Encontrar una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/polyder.def0000644000175000017500000000163210335067225025573 0ustar georgeskgeorgesktitle=Polinomios con derivadas language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif type=poly !read init.poly condition= shu=!shuffle 21 !for i=1 to $eqn r=!item $i of $shu r$i=$[$r-11] eq$i= t=!random 0,1 !if $t<0.75 !for j=$degree-1 to 0 step -1 eq$i=!append item $[($j+1)*($(r$i))^$j] to $(eq$i) !next j eq$i=$(eq$i),0 condition=!append item P'($(r$i)) to $condition !else !for j=$degree to 0 step -1 eq$i=!append item $[($(r$i))^$j] to $(eq$i) !next j condition=!append item P($(r$i)) to $condition !endif !next i condition=!replace , by  =  in $condition question=Sea $m_E el espacio vectorial de los polinomios de grado $m_le$degree\ de una variable X y sea $m_S el subespacio de $m_E\ definido por los polinomios P(X) tales que \

$condition = 0 .

\

Encontrar una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/kerV.def0000644000175000017500000000157310335067225025030 0ustar georgeskgeorgesktitle=Núcleo de una aplicación lineal language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif !read init.sys type=vector raw_matrix= !for i=1 to $eqn raw_matrix=!append line $(eq$i) to $raw_matrix !next i !read mkmatrix !if $eqn>1 hsup=$eqn hdef=la matriz

$html_matrix

!else hsup= vlist=!item 1 to $dim of x,y,z,u,v,w hdef=$m_f(($vlist))= start=0 !for i=1 to $dim v=!item $i of $vlist c=!item $i of $eq1 !ifval $c!=0 !ifval abs($c)=1 cc=!char 1 to -2 of $c !else cc=$c !endif !if $c>0 and $start>0 hdef=$hdef+$cc$v !else hdef=$hdef$cc$v !endif start=1 !endif !next i hdef=$hdef, !endif question=Sea $m_f: R$dim $m_rightarrow R$hsup\ la aplicación lineal definida por $hdef\ y sea $m_S el núcleo de $m_f. Encuentre una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/Makefile0000644000175000017500000000003010335067225025064 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/defsys.def0000644000175000017500000000125710335067225025415 0ustar georgeskgeorgesktitle=Subespacios definidos por ecuaciones language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif !read init.sys type=vector raw_sys= !for i=1 to $eqn raw_sys=!append line $(eq$i) to $raw_sys !next i !read mksystem !if $dim<=3 varlist=!item 1 to $dim of x,y,z !else varlist=!item 1 to $dim of x1,x2,x3,x4,x5,x6,x7,x8,x9,x10, !endif question=Sea $m_S el subespacio de R$dim\ consistente en los vectores v=($varlist) verificando las ecuaciones\

$html_sys\

Encuentre una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/def/matmulleft.def0000644000175000017500000000225710335067225026273 0ustar georgeskgeorgesktitle=Matrices multiplicadas por la izquierda language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif type=matrix cols=!item $qcmlevel of 2,3,2,3,2,3,4 rows=!item $qcmlevel of 2,2,3,3,3,3,3 row2=!item $qcmlevel of 1,1,1,1,2,2,2 col2=$rows dim=$[$cols*$rows] :redo raw_matrix= start=0 !for i=1 to $row2 l= !for j=1 to $col2 c=!randint -10,10 !if $c!=0 start=1 !endif a$i$j=$c l=!append item $c to $l !next j raw_matrix=!append line $l to $raw_matrix !next i !if $start=0 !goto redo !endif eqn=$[$row2*$cols] zero=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 !for i=1 to $row2 !for j=1 to $cols ll=$zero !for k=1 to $rows ll=!replace item number ($k-1)*$cols+$j by $(a$i$k) in $ll !next k eq$[$j+($i-1)*$cols]=!item 1 to $dim of $ll !next j !next i matrix_name=$m_B !read mkmatrix question=Sea $m_M$rows×$cols \ el espacio vectorial de las matrices $rows×$cols \ ($rows filas and $cols columnas) y sea\ $m_S el subespacio de $m_M$rows×$cols definido por\ las matrices $m_A tales que $m_B$m_A=0, donde\

$html_matrix

\ Encontrar una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/intro.phtml0000644000175000017500000000067110335067225025102 0ustar georgeskgeorgesk!header !read Exindex $module_title contiene actualmente $exototal ejercicios sobre bases de un subespacio vectorial: subespacios diferentes de varios espacios vectoriales son definidos de varias maneras. Se le pedirá encontrar una base para el subespacio presentado. Todas las respuestas correctas serán reconocidas y los errores analizados !read oef/intromenu.phtml !read related.phtml bases, vector spaces, linear algebra !tail wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/var.init0000644000175000017500000000006110335067224024346 0ustar georgeskgeorgesk !bound level between integer 1 and 6 default 1 wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/Exindex0000644000175000017500000000053610335067225024230 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of matcomm,matmulright,matmulleft,kerV,polyder,defsys, !set titlelist=!char 1 to -2 of Conmutatividad de matrices,Matrices multiplicadas por la derecha,Matrices multiplicadas por la izquierda,Núcleo de una aplicación lineal,Polinomios con derivadas,Subespacios definidos por ecuaciones, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/init.poly0000644000175000017500000000022710335067225024546 0ustar georgeskgeorgesk dim=!item $qcmlevel of 3,4,3,4,5,6,7 n1 =!item $qcmlevel of 1,1,2,2,2,2,2 n2 =!item $qcmlevel of 1,1,2,3,3,4,5 degree=$[$dim-1] eqn=!randint $n1,$n2 wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/show.vector.phtml0000644000175000017500000000023710335067225026226 0ustar georgeskgeorgesk !set hb={ !for i=1 to $saverank !set tmp=!htmlmath $(v$i) !set hb=$(hb)v$i=($tmp) !if $i<$saverank !set hb=$hb , $ !endif !next i $hb} wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/Extitles0000644000175000017500000000037210335067225024423 0ustar georgeskgeorgeskdefsys:Subespacios definidos por ecuaciones kerV:Núcleo de una aplicación lineal matcomm:Conmutatividad de matrices matmulleft:Matrices multiplicadas por la izquierda matmulright:Matrices multiplicadas por la derecha polyder:Polinomios con derivadas wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/var.proc0000644000175000017500000000461510335067225024360 0ustar georgeskgeorgesk !read names !read Exindex exocnt=!itemcnt $exolist !bound qnum between integer 1 and $exocnt !bound qcmlevel between integer 1 and 7 !bound random within 0,1 default 1 wims_backslash_insmath=yes !default format=tex !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $status=$empty rank= saverank= !read oef/exo.init !endif nn=!itemcnt $shufflelist thisexo=!item ($reply_cnt)%$nn+1 of $shufflelist imagedir=$module_dir/images/$thisexo deffile=def/$thisexo.def !if $nn>1 and $status!=waiting wims_module_log=$wims_module_log got $thisexo !endif !read $deffile !if $status!=waiting !read oef/var.prep !read clean !endif eqs= !for i=1 to $eqn eqs=!append line $(eq$i) to $eqs !next i eqpari=!translate $\ $ to ; in $eqs !if $cmd=reply and $status=waiting !if $rank=back rank=$saverank saverank= !exit !endif !if $saverank=$empty rank=!trim $rank !if $rank=$empty error=empty_data !exit !endif rank=$[rint($rank)] !if NaN isin $rank error=bad_data !exit !endif !if $rank<=0 error=rank_too_small !exit !endif !if $rank>$dim error=rank_too_big !exit !endif saverank=$rank !else # saverank!=empty !for i=1 to $saverank v$i=!trim $(v$i) !if $(v$i)=$empty error=empty_data empty_data=$i !exit !endif !next i base= !read proc.$type !if $error!=$empty !exit !endif basepari=!translate $\ $ to ; in $base pari_header=eqs=Mat([$eqpari]);base=Mat([$basepari]);ker=matker(eqs)~; pari_precision=8 pariout=!exec pari r1=matrank(eqs);print($dim-r1);\ print(ker);\ if(matrank(base)<$saverank,dep=matker(base~)~[1,];print(denominator(dep)*dep));\ for(i=1,$saverank,t=matrank(concat(ker~,base[i,]~));if(t>$dim-r1,print(i))); !distribute lines $pariout into shouldrank,paribase,dep,outer dep=!trim $dep outer=!trim $outer !if $outer!=$empty error=outer !exit !endif !if $dep!=$empty error=dep !exit !endif !ifval $shouldrank!=$saverank error=bad_rank !exit !endif severity=!item $qcmlevel of 0.5,0.7,1,1.4,2,3,4,5,6 score_got=$[$score_got+1/($severity*$errorcnt+1)] !advance score_should !advance reply_cnt status=done !if $reply_cnt>=$qnum !ifval $score_should=0 score_should=1 !endif score=$[max(0,min(10,rint(100*$score_got/$score_should)/10))] module_score=$score wims_module_log=score $module_score/10 status= !endif !endif saverank=empty? !endif wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/answer.phtml0000644000175000017500000000042410335067225025242 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. You have tried : !read show.$type.phtml

Yes! It is indeed a basis for $m_S. !if $errorcnt=0 Excellent. !else Found after correcting !if $errorcnt=1 one serious mistake. !else $errorcnt serious mistakes. !endif !endif wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/images/0000755000175000017500000000000010335067225024142 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/bases.es/mkdep0000644000175000017500000000062210335067225023720 0ustar georgeskgeorgesk!! input: raw_dep !! output: html_dep !set dep_dim=!itemcnt $raw_dep !set html_dep= !set start=0 !for j=1 to $dep_dim !set c=!item $j of $raw_dep !ifval $c!=0 !if $c>0 and $start>0 !set html_dep=$html_dep+ !endif !ifval abs($c)=1 !set c=!char 1 to -2 of $c !endif !set html_dep=$html_dep$c$(v_$type)$j !set start=1 !endif !next j !if $start=0 !set html_dep=0 !endif wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/show.matrix.phtml0000644000175000017500000000104110335067225026222 0ustar georgeskgeorgesk

!for i=1 to $rows !if $i=1
$(m_leftbrace$rows) !endif !for j=1 to $saverank !if $i=1 M$j =$(m_leftpar$rows) !endif !for k=1 to $cols !set l=!line $i of $(v$j) !set c=!item $k of $l $c !next k !if $i=1 $(m_rightpar$rows) !if $j<$saverank , !endif !endif !next j !if $i=1 $(m_rightbrace$rows) !endif !next i
wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/mkmatrix0000644000175000017500000000147210335067225024460 0ustar georgeskgeorgesk!! input: raw_matrix, matrix_name !! output: html_matrix !set m_leftbrace1= !set raw_matrix=!trim $raw_matrix !set matrix_eqn=!linecnt $raw_matrix !set l=!line 1 of $raw_matrix !set matrix_dim=!itemcnt $l !set html_matrix= !for i=1 to $matrix_eqn !set l=!line $i of $raw_matrix !set html_matrix=$html_matrix !if $i=1 !if $matrix_name!=$empty !set html_matrix=$html_matrix !endif !for j=1 to $matrix_dim !set c=!item $j of $l !set html_matrix=$html_matrix !endif !next i !set html_matrix=$html_matrix
$matrix_name = !endif !set html_matrix=$html_matrix$(m_leftpar$matrix_eqn)$c !next j !if $i=1 !set html_matrix=$html_matrix$(m_rightpar$matrix_eqn)
wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/init.sys0000644000175000017500000000047510335067225024406 0ustar georgeskgeorgesk dim=!item $qcmlevel of 3,4,3,4,5,6,7 n1 =!item $qcmlevel of 1,1,2,2,2,2,2 n2 =!item $qcmlevel of 1,1,2,3,3,4,5 eqn=!randint $n1,$n2 !for i=1 to $eqn :redo eq$i= s=0 !for j=1 to $dim t=!randint -10,10 !if $t!=0 s=1 !endif eq$i=!append item $t to $(eq$i) !next j !if $s=0 !goto redo !endif !next i wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/proc.vector0000644000175000017500000000051510335067225025065 0ustar georgeskgeorgesk !for i=1 to $saverank v$i=!rawmatrix $(v$i) error_data=$i !if $wims_warn_rawmatrix!=$empty error=rawmatrix !exit !endif v=!varlist $(v$i) !if $v!=$empty error=has_variables !exit !endif idim=!itemnum $(v$i) !ifval $idim!=$dim error=bad_size !exit !endif base=!append line $(v$i) to $base !next i error_data= wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/form.poly.phtml0000644000175000017500000000013710335067225025671 0ustar georgeskgeorgesk!for i=1 to $saverank P$i(X)=
!next i wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/form.matrix.phtml0000644000175000017500000000054410335067225026214 0ustar georgeskgeorgesk !set rr=$[min(5,$rows+1)] !set cc=$[min(30,5*$cols)] !for i=1 to $saverank !ifval $i%2=1 !endif
M$i=$(m_leftpar$rr) $(m_rightpar$rr) !next i
(Introduzca la matriz línea a línea, separando los elementos mediante comas.) wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/main.phtml0000644000175000017500000000360410335067225024672 0ustar georgeskgeorgesk!set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm !if $title!=$empty !set module_title=$title !set module_author=$author !set module_address=$email !endif !header !if $title=$empty Este módulo contiene un grupo de ejercicios. Aparentemente se ha solicitado una respuesta sin precisar el tipo de ejercicio a realizar. Probablemente haya hecho clic en un enlace erróneo o hay algún error en este módulo.

!href module=$module Inténtelo de nuevo , o !href $ abandon .
!goto end !endif :tester !read oef/present.phtml


!if $cmd=hint !read oef/hint.phtml !goto end !endif !if $status=waiting !if $error!=$empty !read msg.phtml

!endif !read form.phtml

!if $hint!=$empty and $givehint>0 !href cmd=hint Hint . !endif !if $qnum<=1 !href exo_Renew . !else Este es el ejercicio número $[$reply_cnt+1] en una sesión de $qnum ejercicios. !href $renewlink Abandonar la sesión . !endif

!read tool.phtml linear/matrix linear/matmult linear/vector linear/linsolver !else !if $error!=$empty !read msg.phtml !else !read answer.phtml !endif

!if $status!=$empty Este es el ejercicio número $reply_cnt en una sesión de $qnum exercises.

!href cmd=next Continuar la sesión con el siguiente ejercicio , or !href $renewlink abandonar la sesión y pedir una nueva . (Se debe llegar hasta el final de la sesión para obtener una calificación.) !else !if $qnum>1 Ha terminado una sesión de $qnum exercises, con lasificación de $score sobre 10. !ifval $score>9.8 ¡Enhorabuena! !endif

!href exo_Again . !if $wims_sheet=$empty !href exo_Intro . !endif !else Ha obtenido una calificación de $score sobre 10. !ifval $score>9.8 ¡Enhorabuena! !endif

!href exo_Again . !if $wims_sheet=$empty !href exo_Intro . !endif !endif !endif !endif :end !tail wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/var.def0000644000175000017500000000230610335067225024146 0ustar georgeskgeorgesk #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim exo init wims_intro_parm deny random init qnum init qcmlevel init deffile deny status deny reply_cnt deny varcnt deny replycnt deny choicecnt deny conditioncnt deny title deny question deny hint deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny givehint deny presentsol deny score_should deny score_got deny score deny question_url deny type deny dim deny degree deny cols deny rows deny eqn deny eq1 deny eq2 deny eq3 deny eq4 deny eq5 deny eq6 deny eq7 deny eq8 deny eq9 deny eq10 deny eqs deny eqpari deny errorcnt deny rank reply saverank deny shouldrank deny v1 reply v2 reply v3 reply v4 reply v5 reply v6 reply v7 reply v8 reply v9 reply v10 reply v11 reply v12 reply v13 reply v14 reply v15 reply v16 reply wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/form.phtml0000644000175000017500000000112610335067225024706 0ustar georgeskgeorgesk !form reply !if $saverank=$empty !if $error=$empty and $rank=$empty En primer lugar diga cuál es la dimensión de $m_S: !else Dimensión de $m_S : !endif !else # saverank!=empty !if $error=$empty Ahora introduzca la base (con $saverank elementos, ya que ha expresado que dim($m_S)=$saverank). !else Introduzca nuevamente la base (con $saverank elementos). !endif !href cmd=reply&rank=back Corregir la dimensión.

!read form.$type.phtml !endif # saverank=empty?

wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/mkindex0000744000175000017500000000131010335067225024253 0ustar georgeskgeorgesk#! /bin/sh if [ ! -d def ]; then exit; fi rm -f Exindex Extitles >/dev/null cd def list=`ls *.def 2>/dev/null | sed 's/\.def//g'` cd .. if [ -z "$list" ]; then exit; fi titlist= for i in $list do tit=`awk -F= 'NF>=2 {print $2; exit}' def/$i.def | tr ',\11' ' '` echo "$i:$tit" >>Extitles titlist="$titlist$tit " done echo "$titlist" >tmp1 echo "$list" >tmp2 llist=`paste tmp1 tmp2 | sort -f` list=`echo "$llist" | awk -F'\11' 'length()>2 {print $2}' | tr '\n' ','` titlist=`echo "$llist" | awk -F'\11' 'length()>2 {print $1}' | tr '\n' ','` cat >Exindex <<@ !set exolist =!char 1 to -2 of $list !set titlelist=!char 1 to -2 of $titlist !set exototal =!itemcnt \$exolist @ rm -f tmp1 tmp2 >/dev/null wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/mksystem0000644000175000017500000000202710335067224024474 0ustar georgeskgeorgesk!! input: raw_sys !! output: html_sys !set m_leftbrace1= !set raw_sys=!trim $raw_sys !set sys_eqn=!linecnt $raw_sys !set l=!line 1 of $raw_sys !set sys_dim=!itemcnt $l !if $sys_dim<=3 !for i=1 to $sys_dim !set var$i=!item $i of x,y,z !next i !else !for i=1 to $sys_dim !set var$i=x$i !next i !endif !set html_sys= !for i=1 to $sys_eqn !set l=!line $i of $raw_sys !set start=0 !set html_sys=$html_sys !if $i=1 !set html_sys=$html_sys !endif !for j=1 to $sys_dim !set c=!item $j of $l !set c=$[$c] !set abs=$[abs($c)] !if $abs=1 !set abs= !endif !ifval $c!=0 !set html_sys=$html_sys
$(m_leftbrace$sys_eqn) !if $c>0 and $start>0 !set html_sys=$html_sys+ !endif !ifval abs($c)=1 !set c=!char 1 to -2 of $c !endif !set html_sys=$html_sys$c$(var$j) !set start=1 !else !set html_sys=$html_sys !endif !next j !set html_sys=$html_sys= 0 !next i !set html_sys=$html_sys
wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/INDEX0000644000175000017500000000161010335067225023465 0ustar georgeskgeorgesktitle=Bases # Commencez la description par minuscule! description=encontar una base de un subespacio vectorial definido de distintas maneras. author=XIAO Gang address=xiao@unice.fr copyright=© 1999- (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.20 # minimal version of wims server under which the module may run wims_version=3.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=U1, U2 # e.g. algebra, analysis, geometry, etc. domain=algebra,linear algebra # Anything you like. keywords=espacio vectorial, subvespacio, base, sistema lineal, polinomio, matriz # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/mkpoly0000644000175000017500000000101410335067224024126 0ustar georgeskgeorgesk!! input: raw_poly !! output: html_poly !set poly_dim=!itemcnt $raw_poly !set html_poly= !set start=0 !for j=1 to $poly_dim !set c=!item $j of $raw_poly !ifval $c!=0 !if $c>0 and $start>0 !set html_poly=$html_poly+ !endif !ifval abs($c)=1 !set c=!char 1 to -2 of $c !endif !if $j=$poly_dim !set v= !else !set v=X !if $j<$poly_dim-1 !set v=$v$[$poly_dim-$j] !endif !endif !set html_poly=$html_poly$c$v !set start=1 !endif !next j !if $start=0 !set html_poly=0 !endif wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/proc.matrix0000644000175000017500000000063210335067224025066 0ustar georgeskgeorgesk !for i=1 to $saverank v$i=!rawmatrix $(v$i) error_data=$i !if $wims_warn_rawmatrix!=$empty error=rawmatrix !exit !endif v=!varlist $(v$i) !if $v!=$empty error=has_variables !exit !endif Rows=!linecnt $(v$i) l=!line 1 of $(v$i) Cols=!itemcnt $l !ifval $Cols!=$cols or $Rows!=$rows error=bad_size !exit !endif vv=!lines2items $(v$i) base=!append line $vv to $base !next i error_data= wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/clean0000644000175000017500000000007110335067225023700 0ustar georgeskgeorgesksaverank= rank= errorcnt=0 !for i=1 to 12 v$i= !next i wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/form.vector.phtml0000644000175000017500000000013510335067225026206 0ustar georgeskgeorgesk!for i=1 to $saverank v$i=()
!next i wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/names0000644000175000017500000000032310335067225023721 0ustar georgeskgeorgesk# this file is language-dependent! sing_matrix=matriz sing_vector=vector sing_poly=polinomio pluri_matrix=matrices pluri_vector=vectores pluri_poly=polinomios v_vector=v v_poly=P v_matrix=M !read oef/names wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/proc.poly0000644000175000017500000000135410335067225024550 0ustar georgeskgeorgesk gpsrc= !for i=1 to $saverank error_data=$i v$i=!trim $(v$i) !if $(v$i)=$empty error=empty_data !exit !endif n=!itemcnt $(v$i) !if $n>1 error=vec_for_poly !exit !endif wims_rawmath_variables=x,X v$i=!rawmath $(v$i) v$i=!mathsubst x=X in $(v$i) vs=!varlist $(v$i) !for v in $vs !if $v!=X error=bad_variable !exit !endif !next v gpsrc=!append line print(Vec($(v$i))) to $gpsrc !next i pariout=!exec pari $gpsrc base= !for i=1 to $saverank error_data=$i l=!line $i of $pariout l=!trim $l !if $l=$empty error=bad_poly !exit !endif n=!itemcnt $l !if $n>$dim error=degree_too_big !exit !endif l=!item -$dim to -1 of 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,$l base=!append line $l to $base !next i error_data= wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/msg.phtml0000644000175000017500000000676310335067225024545 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. !set wims_module_error=error: $error !! Error. !if bad_rank iswordof $error Well your $(pluri_$type) are indeed linearly independent, and they all belong to $m_S. But they only generate a part of $m_S, therefore it is not yet a basis.

A basis of $m_S must generate $m_S entirely. Perhaps your estimation of dim($m_S) is erroneous? !advance errorcnt !exit !endif !if dep iswordof $error Your $(pluri_$type) are linearly dependent. For example, here is a relation of linear dependence: !set raw_dep=$dep !read mkdep

$html_dep=0

Remember that the elements of a basis must be linearly independent among them. !advance errorcnt !exit !endif !if outer iswordof $error !set outer=!word 1 of $outer Your $(sing_$type) $(v_$type)$outer does not belong to $m_S.

Keep in mind: elements of a basis of a subspace $m_S are first of all elements of $m_S. !if . isin $v1$v2$v3$v4$v5$v6$v7$v8

Attention. The software analyzing your reply does not make approximations. Write 1/3 instead of 0.33333333 ! !endif !advance errorcnt !exit !endif !if degree_too_big iswordof $error Your polynomial P$error_data has a degree greater than $degree. Hence it does not belong to the ambient vector space, and a fortiori not to $m_S neither.

It is a serious error of yours. !advance errorcnt !exit !endif !if vec_for_poly iswordof $error Your basis should be composed of polynomials, rather than vectors. !advance errorcnt !exit !endif !if bad_poly iswordof $error Your polynomial P$error_data is not recognizable. Please correct it. !exit !endif !if bad_variable iswordof $error Are you sure that you have entered P$error_data as a polynomial (of real coefficients) in X? Correct it. !exit !endif !if has_variables iswordof $error Functions and variables are not allowed in the reply. Please submit a numerical reply. !exit !endif !if rawmatrix iswordof $error The $(sing_$type) $rawmatrix is uncomprehensible. Please correct your typing, using COMMAS to separate elements of each line. !if $type=matrix And verify well that each line of your matrix has the same number of elements! !endif !exit !endif !if bad_size iswordof $error Verify carefully your $(pluri_$type): the $(sing_$type) $(v_$type)$error_data does not have a correct size. Please correct it. !advance errorcnt !exit !endif !if rank_too_big iswordof $error Very bad estimation of dim($m_S)! Who has told you that the dimension of a subspace can exceed that of the ambient space? Try again. !advance errorcnt !exit !endif !if rank_too_small iswordof $error !if $rank=0 No, this exercise does not make subspaces of dimension 0. You have made a mistake. !else What?! Negative dim($m_S)! Are you sure that you understand what a dimension means? !endif Try again. !advance errorcnt !exit !endif !if empty_data iswordof $error You have sent an incomplete reply. Please complete it. !exit !endif !if bad_data iswordof $error I have failed to evaluate the values you submitted. A typo? !exit !endif !if double_reply iswordof $error You have already submitted a reply to this problem, which has been analysed and scored. Repetitive replies are ignored. (Don't use the `reload' button of your browser to repost replies!) !exit !endif $error... wims-modules-es-3.64.orig/modules/U1/algebra/bases.es/show.poly.phtml0000644000175000017500000000034210335067225025704 0ustar georgeskgeorgesk !set hb={ !for i=1 to $saverank !set tmp=!htmlmath $(v$i) !set tmp=!singlespace $tmp !set tmp=!replace $ $ by   in $tmp !set hb=$(hb)P$i=$tmp !if $i<$saverank !set hb=$hb , $ !endif !next i $hb} wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/0000755000175000017500000000000010340570031023253 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/0000755000175000017500000000000010340570031024011 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/det2x2.def0000644000175000017500000000225710340570031025607 0ustar georgeskgeorgesk!set title=det 2x2 !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=7 prevarcnt=6 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(9)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp=!translate $ $ to ; in $val7,$val8;$val9,$val10 tmp0=!exec pari matdet([$tmp]) val11=$[rint($(tmp0))] replytype1=default replyname1=det(A) replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el determinante de la matriz

!insmath A = [$val7,$val8;$val9,$val10] $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/.htaccess0000644000175000017500000000001610340570031025604 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/colrow4x4.def0000644000175000017500000000266310340570031026345 0ustar georgeskgeorgesk!set title=Columnas/filas 4x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=no ansorder=r varcnt=7 prevarcnt=6 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 !readproc slib/matrix/unimodular 4,3 tmp0=$slib_out tmp=!trim $(tmp0) val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val6 tmp0=!exec pari matdet([$tmp]) val7=$[rint($(tmp0))] tmp0=!randitem 2,3,4,5,10 tmp1=!randitem 1,-1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 1,2 !ifval $(tmp0)=1 tmp1=!randitem 1,2,3,4 val9=,$(tmp1) !else tmp2=!randitem 1,2,3,4 val9=$(tmp2), !endif t_=!replace internal \( by ( in A=[$val6];A[$val9]=$val8*A[$val9];print(A) tmp0=!exec pari $t_ val10=$(tmp0) val11=$[rint(($val7)*($val8))] replytype1=numeric replyname1=det(B) replygood1=$[$val11] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considere las siguientes dos matrices.

!insmath A = [$val6], B = [$val10] $()

Sabiendo que !insmath det(A) = $val7 $(), ¿cuál es el valor del determinante de !insmath B $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/triang3x3.def0000644000175000017500000000244510340570031026320 0ustar georgeskgeorgesk!set title=Triangular 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=no ansorder=r varcnt=10 prevarcnt=9 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(9)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] val13=$[rint(($val7)*($val8)*($val9))] tmp0=!randitem 1,2 !ifval $(tmp0)=1 val14=$val7,$val10,$val11;0,$val8,$val12;0,0,$val9 !else val14= $val7,0,0;$val10,$val8,0;$val11,$val12,$val9 !endif replytype1=numeric replyname1=det(A) replygood1=$[$val13] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el determinante de la siguiente matriz.

!insmath [$val14] $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/colrow3x3.def0000644000175000017500000000265710340570031026346 0ustar georgeskgeorgesk!set title=Columnas/filas 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=no ansorder=r varcnt=7 prevarcnt=6 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 !readproc slib/matrix/unimodular 3,5 tmp0=$slib_out tmp=!trim $(tmp0) val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val6 tmp0=!exec pari matdet([$tmp]) val7=$[rint($(tmp0))] tmp0=!randitem 2,3,4,5,10 tmp1=!randitem 1,-1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 1,2 !ifval $(tmp0)=1 tmp1=!randitem 1,2,3 val9=,$(tmp1) !else tmp2=!randitem 1,2,3 val9=$(tmp2), !endif t_=!replace internal \( by ( in A=[$val6];A[$val9]=$val8*A[$val9];print(A) tmp0=!exec pari $t_ val10=$(tmp0) val11=$[rint(($val7)*($val8))] replytype1=numeric replyname1=det(B) replygood1=$[$val11] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considere las siguientes dos matrices.

!insmath A = [$val6], B = [$val10] $()

Sabiendo que !insmath det(A) = $val7 $(), ¿cuál es el valor del determinante de !insmath B $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/def/opalg.def0000644000175000017500000000621310340570031025575 0ustar georgeskgeorgesk!set title=Operaciones algebraicas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=34 prevarcnt=33 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 4, 9 val6=$[rint($(tmp0))] val7={\rm\ and\ } val8={\rm\ or\ } val9=\Rightarrow tmp0=!randitem +,- val10=$(tmp0) val11=det val12={\rm det} val13=invertible val14=non-invertible tmp0=!randitem 2,3,4,5 val15=$[rint($(tmp0))] tmp0=!shuffle \($val11(AB) = $val11(BA)), \($val11(AB) = $val11(A)$val11(B)), \($val11(AB) = $val11(B)$val11(A)), \($val11(A^$val15) = $val11(A)^$val15), \($val11(A^-1) = 1/$val11(A)), \(A) $val14 \(=> $val11(A) = 0), \(A) $val13 \($val9 $val12(A) \ne 0), \($val11(A) = 0 => A) $val14, \($val12(A) \ne 0 $val9 A) $val13, \($val11($val15*A) = $val15^$val6*$val11(A)), \(A=I_$val6 => $val11(A)=1), \(A=0 => $val11(A)=0), \(A=B => $val11(A)=$val11(B)), \($val11(AB)=1 => A) $val13, \($val11(AB)=1 => B) $val13, \($val11(AB)=0 => $val11(A)=0) or \($val11(B)=0) val16=$(tmp0) tmp0=!shuffle \($val11(A $val10 B) = $val11(A) $val10 $val11(B)), \($val11(A^$val15) = $val15*$val11(A)), \($val11(A+B) = $val11(A)$val11(B)), \($val11(AB) = $val11(A) + $val11(B)), \($val11(A^-1) = -$val11(A)), \($val11(A+I_$val6) = $val11(A) + 1), \($val11($val15*A) = $val15*$val11(A)), \($val11(A) = 0 => A = 0), \($val11(A) = 1 => A = I_$val6), \($val11(AB) = 1 => AB = I_$val6), \($val11(AB) = $val11(BA) => AB = BA), \($val11(A)=$val11(B) => A=B), \($val11(AB)=1 => B=A^-1), \($val11(AB)=0 => A=0) or \(B=0), \(A \ne 0 $val9 $val12(A) \ne 0), \(A \ne I_$val6 $val9 $val12(A) \ne 1) val17=$(tmp0) tmp0=!randitem 1,2 val18=$[rint($(tmp0))] val19=$[rint(3-$val18)] tmp0=!item 1 to $val18 of 1,1,1,1,1,1 val20=$(tmp0) tmp0=!item 1 to 3 of $val20,0,0,0,0,0,0 val21=$(tmp0) tmp0=!item 1 to $val18 of $val17 val20=$(tmp0) tmp0=!item 1 to 3-$val18 of $val16 val22=$(tmp0) tmp0=!shuffle 3 val23=$(tmp0) tmp0=!item $val23 of $val20,$val22 val24=$(tmp0) tmp0=!item $val23 of $val21 val21=$(tmp0) tmp0=!positionof item 1 in $val21 val17=$(tmp0) tmp0=!positionof item 0 in $val21 val16=$(tmp0) tmp0=!item 1 of $val24 val25=$(tmp0) tmp0=!item 2 of $val24 val26=$(tmp0) tmp0=!item 3 of $val24 val27=$(tmp0) val28=    tmp0=!randitem 1,2 !if $(tmp0) = 1 val29=no son siempre ciertas val30=falsas val31=$val17 !else val29=son siempre ciertas val30=correctas val31=$val16 !endif replytype1=chset replyname1=Las propiedades $val30 son replygood1=$val31 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean !insmath A,B $() dos matrices $val6×$val6 . Entre las siguientes propiedades, ¿cuáles $val29?

1.$val28$val25
2.$val28$val26
3.$val28$val27

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,25,26,27,28,29 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/intro.phtml0000644000175000017500000000043410340570031025455 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene $exototal ejercicios de entrenamiento sobre cuestiones básicas del determinante de una matriz. !read oef/quizzintro.phtml !default scoredelay=60,120 !read oef/intromenu.phtml !read related.phtml matrices, determinante, álgebra lineal !tailwims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/Exindex0000644000175000017500000000034410340570031024603 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of colrow3x3,colrow4x4,det2x2,opalg,triang3x3, !set titlelist=!char 1 to -2 of Columnas/filas 3x3,Columnas/filas 4x4,det 2x2,Operaciones algebraicas,Triangular 3x3, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/Extitles0000644000175000017500000000020010340570031024767 0ustar georgeskgeorgeskcolrow3x3:Columnas/filas 3x3 colrow4x4:Columnas/filas 4x4 det2x2:det 2x2 opalg:Operaciones algebraicas triang3x3:Triangular 3x3 wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/var.proc0000644000175000017500000000024110340570031024725 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/about.phtml0000644000175000017500000000005310340570031025431 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/main.phtml0000644000175000017500000000003110340570031025237 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/INDEX0000644000175000017500000000103310340570031024042 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Test sobre determinantes description=cuestiones elementales sobre determinantes de matrices. language=es category=exercise, oef domain=algebra, linear algebra level=H5,H6,U1,U2 keywords=álgebra lineal , matriz, rango, Gauss require= scoring=yes copyright=© 2003- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.37f vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/0000755000175000017500000000000010340570031024042 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/.htaccess0000644000175000017500000000001610340570031025635 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/opalg.oef0000644000175000017500000000437510340570031025650 0ustar georgeskgeorgesk\title {Operaciones algebraicas} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{n=random(4..9)} \text{and={\rm\ and\ }} \text{or={\rm\ or\ }} \text{imply=\Rightarrow} \text{pm=random(+,-)} \text{det=det} \text{tdet={\rm det}} \text{inv=invertible} \text{noninv=non-invertible} \integer{a=random(2,3,4,5)} \text{good=shuffle( \(\det(AB) = \det(BA)), \(\det(AB) = \det(A)\det(B)), \(\det(AB) = \det(B)\det(A)), \(\det(A^\a) = \det(A)^\a), \(\det(A^-1) = 1/\det(A)), \(A) \noninv \(=> \det(A) = 0), \(A) \inv \(\imply \tdet(A) \ne 0), \(\det(A) = 0 => A) \noninv, \(\tdet(A) \ne 0 \imply A) \inv, \(\det(\a*A) = \a^\n*\det(A)), \(A=I_\n => \det(A)=1), \(A=0 => \det(A)=0), \(A=B => \det(A)=\det(B)), \(\det(AB)=1 => A) \inv, \(\det(AB)=1 => B) \inv, \(\det(AB)=0 => \det(A)=0) or \(\det(B)=0) )} \text{bad=shuffle( \(\det(A \pm B) = \det(A) \pm \det(B)), \(\det(A^\a) = \a*\det(A)), \(\det(A+B) = \det(A)\det(B)), \(\det(AB) = \det(A) + \det(B)), \(\det(A^-1) = -\det(A)), \(\det(A+I_\n) = \det(A) + 1), \(\det(\a*A) = \a*\det(A)), \(\det(A) = 0 => A = 0), \(\det(A) = 1 => A = I_\n), \(\det(AB) = 1 => AB = I_\n), \(\det(AB) = \det(BA) => AB = BA), \(\det(A)=\det(B) => A=B), \(\det(AB)=1 => B=A^-1), \(\det(AB)=0 => A=0) or \(B=0), \(A \ne 0 \imply \tdet(A) \ne 0), \(A \ne I_\n \imply \tdet(A) \ne 1) )} \integer{badcnt=random(1,2)} \integer{goodcnt=3-\badcnt} \text{bads=item(1..\badcnt,1,1,1,1,1,1)} \text{gb=item(1..3,\bads,0,0,0,0,0,0)} \text{bads=item(1..\badcnt,\bad)} \text{goods=item(1..3-\badcnt,\good)} \text{order=shuffle(3)} \text{list=item(\order,\bads,\goods)} \text{gb=item(\order,\gb)} \text{bad=wims(positionof item 1 in \gb)} \text{good=wims(positionof item 0 in \gb)} \text{l1=item(1,\list)} \text{l2=item(2,\list)} \text{l3=item(3,\list)} \text{space=   } \if{random(1,2) = 1}{ \text{ask=no son siempre ciertas} \text{cond=falsas} \text{ans=\bad} }{ \text{ask=son siempre ciertas} \text{cond=correctas} \text{ans=\good} } \statement{Sean \(A,B) dos matrices \n×\n . Entre las siguientes propiedades, ¿cuáles \ask?

1.\space\l1
2.\space\l2
3.\space\l3

} \answer{Las propiedades \cond son}{\ans}{type=chset}wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/colrow4x4.oef0000644000175000017500000000106710340570031026406 0ustar georgeskgeorgesk\title {Columnas/filas 4x4} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{no} \matrix{A=slib(matrix/unimodular 4,3)} \integer{deta=det(\A)} \integer{mult=random(2,3,4,5,10)*random(1,-1)} \text{rc=random(1,2)=1?,random(1,2,3,4):random(1,2,3,4),} \text{B=pari(A=[\A];A[\rc]=\mult*A[\rc];print(A))} \integer{detb=(\deta)*(\mult)} \statement{Considere las siguientes dos matrices.

\(A = [\A], B = [\B])

Sabiendo que \(det(A) = \deta), ¿cuál es el valor del determinante de \(B)? } \reply{det(B)}{\detb}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/colrow3x3.oef0000644000175000017500000000106310340570031026400 0ustar georgeskgeorgesk\title {Columnas/filas 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{no} \matrix{A=slib(matrix/unimodular 3,5)} \integer{deta=det(\A)} \integer{mult=random(2,3,4,5,10)*random(1,-1)} \text{rc=random(1,2)=1?,random(1,2,3):random(1,2,3),} \text{B=pari(A=[\A];A[\rc]=\mult*A[\rc];print(A))} \integer{detb=(\deta)*(\mult)} \statement{Considere las siguientes dos matrices.

\(A = [\A], B = [\B])

Sabiendo que \(det(A) = \deta), ¿cuál es el valor del determinante de \(B)? } \reply{det(B)}{\detb}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/triang3x3.oef0000644000175000017500000000111610340570031026356 0ustar georgeskgeorgesk\title {Triangular 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{no} \integer{range=9} \integer{a1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{a3=random(-\range..\range)} \integer{a4=random(-\range..\range)} \integer{a5=random(-\range..\range)} \integer{a6=random(-\range..\range)} \integer{det=(\a1)*(\a2)*(\a3)} \text{A=random(1,2)=1?\a1,\a4,\a5;0,\a2,\a6;0,0,\a3: \a1,0,0;\a4,\a2,0;\a5,\a6,\a3} \statement{Calcular el determinante de la siguiente matriz.

\([\A])

} \reply{det(A)}{\det}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/src/det2x2.oef0000644000175000017500000000072010340570031025644 0ustar georgeskgeorgesk\title{det 2x2} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{range=9} \integer{a=random(-\range..\range)} \integer{b=random(-\range..\range)} \integer{c=random(-\range..\range)} \integer{d=random(-\range..\range)} \integer{det=det(\a,\b;\c,\d)} \statement{Calcular el determinante de la matriz

\(A = [\a,\b;\c,\d])

} \answer{det(A)}{\det}{type=default}wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/endhook.phtml0000644000175000017500000000010510340570031025744 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. wims-modules-es-3.64.orig/modules/U1/algebra/quizdet.es/help.phtml0000644000175000017500000000005210340570031025246 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/0000755000175000017500000000000010230437003023211 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/def/0000755000175000017500000000000010230436207023754 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/def/kerV.def0000644000175000017500000000157310230436777025365 0ustar georgeskgeorgesktitle=Núcleo de una aplicación lineal language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif !read init.sys type=vector raw_matrix= !for i=1 to $eqn raw_matrix=!append line $(eq$i) to $raw_matrix !next i !read mkmatrix !if $eqn>1 hsup=$eqn hdef=la matriz

$html_matrix

!else hsup= vlist=!item 1 to $dim of x,y,z,u,v,w hdef=$m_f(($vlist))= start=0 !for i=1 to $dim v=!item $i of $vlist c=!item $i of $eq1 !ifval $c!=0 !ifval abs($c)=1 cc=!char 1 to -2 of $c !else cc=$c !endif !if $c>0 and $start>0 hdef=$hdef+$cc$v !else hdef=$hdef$cc$v !endif start=1 !endif !next i hdef=$hdef, !endif question=Sea $m_f: R$dim $m_rightarrow R$hsup\ la aplicación lineal definida por $hdef\ y sea $m_S el núcleo de $m_f. Encuentre una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/def/Makefile0000644000175000017500000000003006754271320025416 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/def/defsys.def0000644000175000017500000000125710230434256025740 0ustar georgeskgeorgesktitle=Subespacios definidos por ecuaciones language=es author=XIAO, Gang email=xiao@unice.fr format=html !if $status=waiting !exit !endif !read init.sys type=vector raw_sys= !for i=1 to $eqn raw_sys=!append line $(eq$i) to $raw_sys !next i !read mksystem !if $dim<=3 varlist=!item 1 to $dim of x,y,z !else varlist=!item 1 to $dim of x1,x2,x3,x4,x5,x6,x7,x8,x9,x10, !endif question=Sea $m_S el subespacio de R$dim\ consistente en los vectores v=($varlist) verificando las ecuaciones\

$html_sys\

Encuentre una base de $m_S. wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/intro.phtml0000644000175000017500000000065610230440144025421 0ustar georgeskgeorgesk!header !read Exindex $module_title contiene varios ejercicios sobre bases en un subespacio definido o bien por ecuaciones cartesianas o mediante el núcleo de una palicación lineal. Se le preguntará por la dimensión y posteriormente por una una base del subespacio. Todas las bases serán reconocidas y los errores analizados. !read oef/intromenu.phtml !read related.phtml bases, vector, espacios, algebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/var.init0000644000175000017500000000006106760315004024674 0ustar georgeskgeorgesk !bound level between integer 1 and 6 default 1 wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/Exindex0000644000175000017500000000026510230437003024543 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of kerV,defsys, !set titlelist=!char 1 to -2 of Núcleo de una aplicación lineal,Subespacios definidos por ecuaciones, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/init.poly0000644000175000017500000000022706760322040025071 0ustar georgeskgeorgesk dim=!item $qcmlevel of 3,4,3,4,5,6,7 n1 =!item $qcmlevel of 1,1,2,2,2,2,2 n2 =!item $qcmlevel of 1,1,2,3,3,4,5 degree=$[$dim-1] eqn=!randint $n1,$n2 wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/show.vector.phtml0000644000175000017500000000023710141661475026557 0ustar georgeskgeorgesk !set hb={ !for i=1 to $saverank !set tmp=!htmlmath $(v$i) !set hb=$(hb)v$i=($tmp) !if $i<$saverank !set hb=$hb , $ !endif !next i $hb} wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/Extitles0000644000175000017500000000012110230437003024727 0ustar georgeskgeorgeskdefsys:Subespacios definidos por ecuaciones kerV:Núcleo de una aplicación lineal wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/var.proc0000644000175000017500000000461510121572102024673 0ustar georgeskgeorgesk !read names !read Exindex exocnt=!itemcnt $exolist !bound qnum between integer 1 and $exocnt !bound qcmlevel between integer 1 and 7 !bound random within 0,1 default 1 wims_backslash_insmath=yes !default format=tex !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $status=$empty rank= saverank= !read oef/exo.init !endif nn=!itemcnt $shufflelist thisexo=!item ($reply_cnt)%$nn+1 of $shufflelist imagedir=$module_dir/images/$thisexo deffile=def/$thisexo.def !if $nn>1 and $status!=waiting wims_module_log=$wims_module_log got $thisexo !endif !read $deffile !if $status!=waiting !read oef/var.prep !read clean !endif eqs= !for i=1 to $eqn eqs=!append line $(eq$i) to $eqs !next i eqpari=!translate $\ $ to ; in $eqs !if $cmd=reply and $status=waiting !if $rank=back rank=$saverank saverank= !exit !endif !if $saverank=$empty rank=!trim $rank !if $rank=$empty error=empty_data !exit !endif rank=$[rint($rank)] !if NaN isin $rank error=bad_data !exit !endif !if $rank<=0 error=rank_too_small !exit !endif !if $rank>$dim error=rank_too_big !exit !endif saverank=$rank !else # saverank!=empty !for i=1 to $saverank v$i=!trim $(v$i) !if $(v$i)=$empty error=empty_data empty_data=$i !exit !endif !next i base= !read proc.$type !if $error!=$empty !exit !endif basepari=!translate $\ $ to ; in $base pari_header=eqs=Mat([$eqpari]);base=Mat([$basepari]);ker=matker(eqs)~; pari_precision=8 pariout=!exec pari r1=matrank(eqs);print($dim-r1);\ print(ker);\ if(matrank(base)<$saverank,dep=matker(base~)~[1,];print(denominator(dep)*dep));\ for(i=1,$saverank,t=matrank(concat(ker~,base[i,]~));if(t>$dim-r1,print(i))); !distribute lines $pariout into shouldrank,paribase,dep,outer dep=!trim $dep outer=!trim $outer !if $outer!=$empty error=outer !exit !endif !if $dep!=$empty error=dep !exit !endif !ifval $shouldrank!=$saverank error=bad_rank !exit !endif severity=!item $qcmlevel of 0.5,0.7,1,1.4,2,3,4,5,6 score_got=$[$score_got+1/($severity*$errorcnt+1)] !advance score_should !advance reply_cnt status=done !if $reply_cnt>=$qnum !ifval $score_should=0 score_should=1 !endif score=$[max(0,min(10,rint(100*$score_got/$score_should)/10))] module_score=$score wims_module_log=score $module_score/10 status= !endif !endif saverank=empty? !endif wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/answer.phtml0000644000175000017500000000043410230434701025561 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. Usted ha contestado : !read show.$type.phtml

¡Sí! es una base de $m_S. !if $errorcnt=0 Excelente. !else Encontrada después de haber corregido !if $errorcnt=1 one serious mistake. !else $errorcnt errores graves. !endif !endif wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/images/0000755000175000017500000000000006756175173024507 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/mkdep0000644000175000017500000000062206760444507024260 0ustar georgeskgeorgesk!! input: raw_dep !! output: html_dep !set dep_dim=!itemcnt $raw_dep !set html_dep= !set start=0 !for j=1 to $dep_dim !set c=!item $j of $raw_dep !ifval $c!=0 !if $c>0 and $start>0 !set html_dep=$html_dep+ !endif !ifval abs($c)=1 !set c=!char 1 to -2 of $c !endif !set html_dep=$html_dep$c$(v_$type)$j !set start=1 !endif !next j !if $start=0 !set html_dep=0 !endif wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/show.matrix.phtml0000644000175000017500000000104110141661475026553 0ustar georgeskgeorgesk

!for i=1 to $rows !if $i=1
$(m_leftbrace$rows) !endif !for j=1 to $saverank !if $i=1 M$j =$(m_leftpar$rows) !endif !for k=1 to $cols !set l=!line $i of $(v$j) !set c=!item $k of $l $c !next k !if $i=1 $(m_rightpar$rows) !if $j<$saverank , !endif !endif !next j !if $i=1 $(m_rightbrace$rows) !endif !next i
wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/mkmatrix0000644000175000017500000000147206760704174025017 0ustar georgeskgeorgesk!! input: raw_matrix, matrix_name !! output: html_matrix !set m_leftbrace1= !set raw_matrix=!trim $raw_matrix !set matrix_eqn=!linecnt $raw_matrix !set l=!line 1 of $raw_matrix !set matrix_dim=!itemcnt $l !set html_matrix= !for i=1 to $matrix_eqn !set l=!line $i of $raw_matrix !set html_matrix=$html_matrix !if $i=1 !if $matrix_name!=$empty !set html_matrix=$html_matrix !endif !for j=1 to $matrix_dim !set c=!item $j of $l !set html_matrix=$html_matrix !endif !next i !set html_matrix=$html_matrix
$matrix_name = !endif !set html_matrix=$html_matrix$(m_leftpar$matrix_eqn)$c !next j !if $i=1 !set html_matrix=$html_matrix$(m_rightpar$matrix_eqn)
wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/init.sys0000644000175000017500000000047506760502102024730 0ustar georgeskgeorgesk dim=!item $qcmlevel of 3,4,3,4,5,6,7 n1 =!item $qcmlevel of 1,1,2,2,2,2,2 n2 =!item $qcmlevel of 1,1,2,3,3,4,5 eqn=!randint $n1,$n2 !for i=1 to $eqn :redo eq$i= s=0 !for j=1 to $dim t=!randint -10,10 !if $t!=0 s=1 !endif eq$i=!append item $t to $(eq$i) !next j !if $s=0 !goto redo !endif !next i wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/proc.vector0000644000175000017500000000051506760454314025422 0ustar georgeskgeorgesk !for i=1 to $saverank v$i=!rawmatrix $(v$i) error_data=$i !if $wims_warn_rawmatrix!=$empty error=rawmatrix !exit !endif v=!varlist $(v$i) !if $v!=$empty error=has_variables !exit !endif idim=!itemnum $(v$i) !ifval $idim!=$dim error=bad_size !exit !endif base=!append line $(v$i) to $base !next i error_data= wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/form.poly.phtml0000644000175000017500000000013710141661475026222 0ustar georgeskgeorgesk!for i=1 to $saverank P$i(X)=
!next i wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/form.matrix.phtml0000644000175000017500000000053510141661475026545 0ustar georgeskgeorgesk !set rr=$[min(5,$rows+1)] !set cc=$[min(30,5*$cols)] !for i=1 to $saverank !ifval $i%2=1 !endif
M$i=$(m_leftpar$rr) $(m_rightpar$rr) !next i
(Enter your matrices line by line, separating the elements by commas.) wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/main.phtml0000644000175000017500000000356510141661475025231 0ustar georgeskgeorgesk!set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm !if $title!=$empty !set module_title=$title !set module_author=$author !set module_address=$email !endif !header !if $title=$empty This module is a groupment of exercises. You have apparently requested it without precising which valid exercise you want to do. It is either because you clicked on a wrong link, or because of a software bug.

!href module=$module Try to restart your manipulation , or !href $ abandon .
!goto end !endif :tester !read oef/present.phtml


!if $cmd=hint !read oef/hint.phtml !goto end !endif !if $status=waiting !if $error!=$empty !read msg.phtml

!endif !read form.phtml

!if $hint!=$empty and $givehint>0 !href cmd=hint Hint . !endif !if $qnum<=1 !href exo_Renew . !else This is exercise number $[$reply_cnt+1] in a session of $qnum exercises. !href $renewlink Abandon the session . !endif

!read tool.phtml linear/matrix linear/matmult linear/vector linear/linsolver !else !if $error!=$empty !read msg.phtml !else !read answer.phtml !endif

!if $status!=$empty This is exercise number $reply_cnt in a session of $qnum exercises.

!href cmd=next Continue the session with the next exercise , or !href $renewlink abandon the session and ask for a new one . (You must go through to the end of a session if you want a score.) !else !if $qnum>1 You have finished a session of $qnum exercises, with a score of $score over 10. !ifval $score>9.8 Congratulations! !endif

!href exo_Again . !if $wims_sheet=$empty !href exo_Intro . !endif !else You have obtained a score of $score over 10. !ifval $score>9.8 Congratulations! !endif

!href exo_Again . !if $wims_sheet=$empty !href exo_Intro . !endif !endif !endif !endif :end !tail wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/var.def0000644000175000017500000000230606760532274024505 0ustar georgeskgeorgesk #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim exo init wims_intro_parm deny random init qnum init qcmlevel init deffile deny status deny reply_cnt deny varcnt deny replycnt deny choicecnt deny conditioncnt deny title deny question deny hint deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny givehint deny presentsol deny score_should deny score_got deny score deny question_url deny type deny dim deny degree deny cols deny rows deny eqn deny eq1 deny eq2 deny eq3 deny eq4 deny eq5 deny eq6 deny eq7 deny eq8 deny eq9 deny eq10 deny eqs deny eqpari deny errorcnt deny rank reply saverank deny shouldrank deny v1 reply v2 reply v3 reply v4 reply v5 reply v6 reply v7 reply v8 reply v9 reply v10 reply v11 reply v12 reply v13 reply v14 reply v15 reply v16 reply wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/form.phtml0000644000175000017500000000112310230435621025223 0ustar georgeskgeorgesk !form reply !if $saverank=$empty !if $error=$empty and $rank=$empty En primer lugar, escriba la dimensión de $m_S: !else Dimensión de $m_S : !endif !else # saverank!=empty !if $error=$empty Ahora, introduzca la base (con $saverank elementos, ya que ha contestado que dim($m_S)=$saverank). !else De nuevo, escriba la base (con $saverank elementos). !endif !href cmd=reply&rank=back Corregir la dimensión.

!read form.$type.phtml !endif # saverank=empty?

wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/mkindex0000744000175000017500000000131010070036500024566 0ustar georgeskgeorgesk#! /bin/sh if [ ! -d def ]; then exit; fi rm -f Exindex Extitles >/dev/null cd def list=`ls *.def 2>/dev/null | sed 's/\.def//g'` cd .. if [ -z "$list" ]; then exit; fi titlist= for i in $list do tit=`awk -F= 'NF>=2 {print $2; exit}' def/$i.def | tr ',\11' ' '` echo "$i:$tit" >>Extitles titlist="$titlist$tit " done echo "$titlist" >tmp1 echo "$list" >tmp2 llist=`paste tmp1 tmp2 | sort -f` list=`echo "$llist" | awk -F'\11' 'length()>2 {print $2}' | tr '\n' ','` titlist=`echo "$llist" | awk -F'\11' 'length()>2 {print $1}' | tr '\n' ','` cat >Exindex <<@ !set exolist =!char 1 to -2 of $list !set titlelist=!char 1 to -2 of $titlist !set exototal =!itemcnt \$exolist @ rm -f tmp1 tmp2 >/dev/null wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/mksystem0000644000175000017500000000202706760324137025031 0ustar georgeskgeorgesk!! input: raw_sys !! output: html_sys !set m_leftbrace1= !set raw_sys=!trim $raw_sys !set sys_eqn=!linecnt $raw_sys !set l=!line 1 of $raw_sys !set sys_dim=!itemcnt $l !if $sys_dim<=3 !for i=1 to $sys_dim !set var$i=!item $i of x,y,z !next i !else !for i=1 to $sys_dim !set var$i=x$i !next i !endif !set html_sys= !for i=1 to $sys_eqn !set l=!line $i of $raw_sys !set start=0 !set html_sys=$html_sys !if $i=1 !set html_sys=$html_sys !endif !for j=1 to $sys_dim !set c=!item $j of $l !set c=$[$c] !set abs=$[abs($c)] !if $abs=1 !set abs= !endif !ifval $c!=0 !set html_sys=$html_sys
$(m_leftbrace$sys_eqn) !if $c>0 and $start>0 !set html_sys=$html_sys+ !endif !ifval abs($c)=1 !set c=!char 1 to -2 of $c !endif !set html_sys=$html_sys$c$(var$j) !set start=1 !else !set html_sys=$html_sys !endif !next j !set html_sys=$html_sys= 0 !next i !set html_sys=$html_sys
wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/INDEX0000644000175000017500000000162510230437720024015 0ustar georgeskgeorgesktitle=Bases de subespacios. # Commencez la description par minuscule! description=encontrar una base de un subespacio definido por varios métodos. endomorfismo. author=XIAO Gang address=xiao@unice.fr copyright=© 1999- (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.20 # minimal version of wims server under which the module may run wims_version=3.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=U1, U2 # e.g. algebra, analysis, geometry, etc. domain=algebra,linear algebra # Anything you like. keywords=vector space, subspace, basis, linear system, polynomial, matrix # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/mkpoly0000644000175000017500000000101406760323343024461 0ustar georgeskgeorgesk!! input: raw_poly !! output: html_poly !set poly_dim=!itemcnt $raw_poly !set html_poly= !set start=0 !for j=1 to $poly_dim !set c=!item $j of $raw_poly !ifval $c!=0 !if $c>0 and $start>0 !set html_poly=$html_poly+ !endif !ifval abs($c)=1 !set c=!char 1 to -2 of $c !endif !if $j=$poly_dim !set v= !else !set v=X !if $j<$poly_dim-1 !set v=$v$[$poly_dim-$j] !endif !endif !set html_poly=$html_poly$c$v !set start=1 !endif !next j !if $start=0 !set html_poly=0 !endif wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/proc.matrix0000644000175000017500000000063206760503212025414 0ustar georgeskgeorgesk !for i=1 to $saverank v$i=!rawmatrix $(v$i) error_data=$i !if $wims_warn_rawmatrix!=$empty error=rawmatrix !exit !endif v=!varlist $(v$i) !if $v!=$empty error=has_variables !exit !endif Rows=!linecnt $(v$i) l=!line 1 of $(v$i) Cols=!itemcnt $l !ifval $Cols!=$cols or $Rows!=$rows error=bad_size !exit !endif vv=!lines2items $(v$i) base=!append line $vv to $base !next i error_data= wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/clean0000644000175000017500000000007106760464661024243 0ustar georgeskgeorgesksaverank= rank= errorcnt=0 !for i=1 to 12 v$i= !next i wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/form.vector.phtml0000644000175000017500000000013510141661475026537 0ustar georgeskgeorgesk!for i=1 to $saverank v$i=()
!next i wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/names0000644000175000017500000000032310230440114024232 0ustar georgeskgeorgesk# this file is language-dependent! sing_matrix=matriz sing_vector=vector sing_poly=polinomio pluri_matrix=matrices pluri_vector=vectores pluri_poly=polinomios v_vector=v v_poly=P v_matrix=M !read oef/names wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/proc.poly0000644000175000017500000000135406760460504025103 0ustar georgeskgeorgesk gpsrc= !for i=1 to $saverank error_data=$i v$i=!trim $(v$i) !if $(v$i)=$empty error=empty_data !exit !endif n=!itemcnt $(v$i) !if $n>1 error=vec_for_poly !exit !endif wims_rawmath_variables=x,X v$i=!rawmath $(v$i) v$i=!mathsubst x=X in $(v$i) vs=!varlist $(v$i) !for v in $vs !if $v!=X error=bad_variable !exit !endif !next v gpsrc=!append line print(Vec($(v$i))) to $gpsrc !next i pariout=!exec pari $gpsrc base= !for i=1 to $saverank error_data=$i l=!line $i of $pariout l=!trim $l !if $l=$empty error=bad_poly !exit !endif n=!itemcnt $l !if $n>$dim error=degree_too_big !exit !endif l=!item -$dim to -1 of 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,$l base=!append line $l to $base !next i error_data= wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/msg.phtml0000644000175000017500000000676310141661475025076 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. !set wims_module_error=error: $error !! Error. !if bad_rank iswordof $error Well your $(pluri_$type) are indeed linearly independent, and they all belong to $m_S. But they only generate a part of $m_S, therefore it is not yet a basis.

A basis of $m_S must generate $m_S entirely. Perhaps your estimation of dim($m_S) is erroneous? !advance errorcnt !exit !endif !if dep iswordof $error Your $(pluri_$type) are linearly dependent. For example, here is a relation of linear dependence: !set raw_dep=$dep !read mkdep

$html_dep=0

Remember that the elements of a basis must be linearly independent among them. !advance errorcnt !exit !endif !if outer iswordof $error !set outer=!word 1 of $outer Your $(sing_$type) $(v_$type)$outer does not belong to $m_S.

Keep in mind: elements of a basis of a subspace $m_S are first of all elements of $m_S. !if . isin $v1$v2$v3$v4$v5$v6$v7$v8

Attention. The software analyzing your reply does not make approximations. Write 1/3 instead of 0.33333333 ! !endif !advance errorcnt !exit !endif !if degree_too_big iswordof $error Your polynomial P$error_data has a degree greater than $degree. Hence it does not belong to the ambient vector space, and a fortiori not to $m_S neither.

It is a serious error of yours. !advance errorcnt !exit !endif !if vec_for_poly iswordof $error Your basis should be composed of polynomials, rather than vectors. !advance errorcnt !exit !endif !if bad_poly iswordof $error Your polynomial P$error_data is not recognizable. Please correct it. !exit !endif !if bad_variable iswordof $error Are you sure that you have entered P$error_data as a polynomial (of real coefficients) in X? Correct it. !exit !endif !if has_variables iswordof $error Functions and variables are not allowed in the reply. Please submit a numerical reply. !exit !endif !if rawmatrix iswordof $error The $(sing_$type) $rawmatrix is uncomprehensible. Please correct your typing, using COMMAS to separate elements of each line. !if $type=matrix And verify well that each line of your matrix has the same number of elements! !endif !exit !endif !if bad_size iswordof $error Verify carefully your $(pluri_$type): the $(sing_$type) $(v_$type)$error_data does not have a correct size. Please correct it. !advance errorcnt !exit !endif !if rank_too_big iswordof $error Very bad estimation of dim($m_S)! Who has told you that the dimension of a subspace can exceed that of the ambient space? Try again. !advance errorcnt !exit !endif !if rank_too_small iswordof $error !if $rank=0 No, this exercise does not make subspaces of dimension 0. You have made a mistake. !else What?! Negative dim($m_S)! Are you sure that you understand what a dimension means? !endif Try again. !advance errorcnt !exit !endif !if empty_data iswordof $error You have sent an incomplete reply. Please complete it. !exit !endif !if bad_data iswordof $error I have failed to evaluate the values you submitted. A typo? !exit !endif !if double_reply iswordof $error You have already submitted a reply to this problem, which has been analysed and scored. Repetitive replies are ignored. (Don't use the `reload' button of your browser to repost replies!) !exit !endif $error... wims-modules-es-3.64.orig/modules/U1/algebra/basesub.es/show.poly.phtml0000644000175000017500000000034210141661475026235 0ustar georgeskgeorgesk !set hb={ !for i=1 to $saverank !set tmp=!htmlmath $(v$i) !set tmp=!singlespace $tmp !set tmp=!replace $ $ by   in $tmp !set hb=$(hb)P$i=$tmp !if $i<$saverank !set hb=$hb , $ !endif !next i $hb} wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/0000755000175000017500000000000010340341130023426 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/present_system0000644000175000017500000000330410340341130026435 0ustar georgeskgeorgesk !if $character>0 !set modulo=(mod $character) !endif !if $size<=3 !for i=1 to $size !set x$i=!char $i of xyz !next i !else !for i=1 to $size !set x$i=x$i !next i !endif !set rightp=) !if $error=$empty !if $step<1 Aquí está su sistema inicial de ecuaciones lineales. Su trabajo consiste en modificar sucesivamente el sistema, mediante operacioens en las ecuaciones, para transformarlo en un sistema trivial (es decir, con la matriz unidad como matriz de coeficientes). !else Después de $desc, el sistema (paso $step) se convierte en: !endif !else Paso $step: !endif

!for i=1 to $size !set row=!line $i of $pmatrix !set started=0 !if $i=1 !endif !for j=1 to $size !set c=!item $j of $row !if $[$c]=0 !else !set pre= !set c1=!char 1 of $c !set c2=!char 2 to -1 of $c !if $c1=- and + notin $c2 and - notin $c2 !set c=$c2 !set pre=- !endif !if $started=0 or $pre=- !set started=1 !else !set pre=+ !endif !if $c=1 !set c= !else !set l=!char -1 of $c !if $l!=$rightp and (/ isin $c or + isin $c or - isin $c) !set c=($c) !endif !endif !endif !next j !next i
$(m_leftbrace$size) $pre !if $i isitemof $(col$j) and $click=yes !href cmd=reply&modif=auto&origin=$i&dest=$j $c$(x$j) !else $c$(x$j) !endif = !item $i of $const    $modulo     !if $i<$size and $click=yes !href cmd=reply&modif=exchange&origin=$i&dest=$[$i+1] ($i) !else ($i) !endif
wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/intro.phtml0000644000175000017500000000277010340341130025635 0ustar georgeskgeorgesk!header $module_title es un ejercicio sobre el método de Gauss para la diagonalización de un sistema lineal o para encontrar la inversa de una matriz. El método consiste en hacer transformaciones en las filas de la matriz dada para convertirla mediante sucesivas operaciones, en la matriz identidad. !default type=system !default size=3 !default field=Q !default click=yes !form new Puede trabajar en este ejercicio con !formradio type list system,matrix prompt sistemas lineales o , matrices ,
de dimensión !formselect size from 2 to 10 prompt 2x2 (muy fácil),3x3,4x4,5x5,6x6 (mediano)),7x7 (grande),8x8 (muy grande),9x9 (enorme),10x10 (monstruoso) , con coeficientes
en el conjunto de !formselect field list Q,Z,C,G,F1,F2,F3,F4 prompt números racionales (lo más habitual),enteros (duro),\ QQ[i] (números complejos racionales), ZZ[i] (enteros de Gauss) (muy duro), \ elementos del cuerpo finito ZZ/3ZZ,\ elementos de un cuerpo finito ZZ/pZZ (pequeño),\ elementos de un cuerpo finito ZZ/pZZ (mediano),\ elementos de un cuerpo finito ZZ/pZZ (grande) .

La página del ejercicio contiene una característica que permite en ciertos casos, hacer operaciones haciendo clic sobre los elementos sin hacer cálculos con los coeficientes. Esta facilidad puede ser desactivada.

!read related.phtml Gauss, matrices, sistemas lineales, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.add0000644000175000017500000000040410340341130025041 0ustar georgeskgeorgesk!if $coef=$empty error=$error no_coef !exit !endif !if $origin=$dest error=$error coincide !exit !endif !if $[$coef]=0 or ($character>0 and / notin $coef and $[($coef)%$character]=0) error=$error zero_coef !exit !endif tmodif=add !changeto pari.proc wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/var.init0000644000175000017500000000442010340341130025103 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. !bound size between integer 2 and 10 default 4 !bound type within matrix,system default system !bound range between integer 4 and 999 default 9 !bound style within user,random default random !bound field within Q,Z,C,G,F1,F2,F3,F4 default Q !bound click within yes,no default yes !if $field iswordof Z G click=no !endif character=0 !if F isin $field c=!char 2 of $field cl=!line $c of 3\ 5,7\ 13,17,19,23\ 41,43,47,53,59,61,67,71,73 character=!randitem $cl !endif # contenu du fichier: initialisation du probleme. ranco=(floor(random((2*$$range+1)*10^10)/10^10)-$$range) ranz=random(3)-1 !if $field iswordof C G range=$[floor($range/2)] ranco=$ranco+$ranco*I ranz=$ranz+($ranz)*I !endif !if $field iswordof Q C mkmatrix=a=0;while(a==0,M=matrix($size,$size,x,y,$ranco);if(random(1000)<400,M[1,1]=0);a=matdet(M)) !endif !if $field iswordof Z G mkmatrix=M=matid($size);b=M;for(i=1,5,c=b;d=b;for(row=1,$size-1,for(col=row+1,$size,c[row,col]=$ranz;d[col,row]=$ranz));M=M*c*d) !endif !if F isin $field ranco=Mod(random($character),$character) mkmatrix=a=0;while(a==0,M=matrix($size,$size,x,y,$ranco);if(random(1000)<400,M[1,1]=Mod(0,$character));M=lift(M);a=matdet(M)%$character) !endif !if $type=system const_origin= !if $field iswordof Q Z !for i=1 to $size c=!randint -$range,$range const_origin=!append item $c to $const_origin !next i !endif !if $field iswordof C G !for i=1 to $size c=!randint -$range,$range d=!randint -$range,$range !if $d<0 sign= !else sign=+ !endif const_origin=!append item $c$sign$d*i to $const_origin !next i !endif !if F isin $field !for i=1 to $size c=!randint 0,$character-1 const_origin=!append item $c to $const_origin !next i !endif !endif mat=!exec pari $mkmatrix; print(M)\ print(a);\ print(matid($size));\ print(mattranspose(M));\ print([$const_origin]); mat=!mathsubst I=i in $mat det=!line 2 of $mat reference_origin=!line 3 of $mat transpose_origin=!line 4 of $mat !if $field iswordof C G const_origin=!line 5 of $mat !endif matrix_origin=!line 1 of $mat transpose_origin=!translate ; to $\ $ in $transpose_origin laststep=0 !read proc.restart status=waiting wims_module_log=$cmd: $type $(size)x$size over $field wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/var.proc0000644000175000017500000000404110340341130025102 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. max_step=400 modif=!trim $modif !if $modif!=$empty !bound modif within exchange,add,multiply,auto,undo,redo,restart default add !endif !bound origin between integer 1 and $size default 1 !bound dest between integer 1 and $size default 2 coef=!rawmath $coef !if $cmd=reply and $status!=waiting and \ $modif iswordof add exchange multiply auto error=double_reply !goto end !endif !if $cmd=reply !if $modif=$empty error=$error no_modif !endif !if $step>$max_step and $modif iswordof auto add exchange multiply error=too_many_steps !goto end !endif !if $modif iswordof add multiply vlist=!varlist $coef !if . isin $coef or ($vlist!=$empty and $vlist notwordof i I i,I) error=$error real_coef !endif !if / isin $coef and $field isin ZG error=$error illegal_division !endif !endif !if $error!=$empty !goto end !endif !read proc.$modif !if $error!=$empty !goto end !endif !if $modif iswordof exchange add multiply and $pari_out!=$empty thisstep=$modif,$origin,$dest,$coef_out step=$[$step+1] steplist=!line 1 to $step-1 of $steplist steplist=!append line $thisstep to $steplist !endif !if $ended=yes and $status!=done status=done click=no success_steps=$step allow=$[$size*$size] !if $field isin ZG allow=$[2*$allow] !endif module_score=$[max(0,10+min(0,($allow-$step)*0.5))] wims_module_log=Success, $step steps $module_score/10 !endif !endif :end !for i=1 to $size col=!line $i of $transpose cc= n=0 last= !for j=1 to $size c=!item $j of $col !if $[$c]!=0 n=$[$n+1] cc=!append item $j to $cc last=$c !endif !next j !if $n>1 or $[$last]!=1 n$i=$n col$i=$cc !else n$i=0 col$i= !endif !next i laststep=!linecnt $steplist !read names modif= origin=1 dest=2 coef= pmatrix=!translate ; to $\ $ in $matrix preference=!translate ; to $\ $ in $reference !if $field=G pmatrix=!replace * by $ in $pmatrix preference=!replace * by $ in $preference !endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/answer.phtml0000644000175000017500000000117610340341130026000 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. !if $module_score!=$empty !if $type=system Esa es la solución del sistema original.

!else La matriz de la izquierda es la matrid identidad y la de la derecha es la inversa de la matriz original.

!endif Ha resuelto satisfactoriamente el ejecicio en $success_steps operaciones. Puntuación: $module_score/10. !else Está modificando un ejercicio resuelto en $success_steps pasos. !endif !if $step>0
!href cmd=reply&modif=undo Paso anterior !href cmd=reply&modif=restart Reiniciar
!endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/about.phtml0000644000175000017500000000011510340341130025603 0ustar georgeskgeorgesk$module_about Software utilizado por esta aplicación:
!exec pari about wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.undo0000644000175000017500000000054610340341130025265 0ustar georgeskgeorgesk!if $step<1 error=$error no_undo !exit !endif thisstep=!line $step of $steplist lmodif=!item 1 of $thisstep origin=!item 2 of $thisstep dest=!item 3 of $thisstep coef=!item 4 to -1 of $thisstep !if $lmodif=add coef=-($coef) !endif !if $lmodif=multiply coef=1/($coef) !endif !read proc.$lmodif step=$[$step-1] thisstep=$lmodif,$origin,$dest,$coef_out wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/present.phtml0000644000175000017500000000053710340341130026161 0ustar georgeskgeorgesk!read present_$type !if $adesc!=$empty
Despues usted hizo !href cmd=reply&modif=redo $adesc de !if $type=system este sistema. !else esta matriz. !endif !endif !if $click=yes
Haga clic sobre un elemento para reducirlo a 0 o 1; haga clic sobre un número de $name_line para intercambiarla con la siguiente. !endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/present_matrix0000644000175000017500000000332210340341130026415 0ustar georgeskgeorgesk!if $character>0 !set modulo=
(modulo $character) !endif !if $error=$empty !if $step<1 Aquí están las matrices iniciales. Su tarea es modificar las matrices mediante tranformaciones en las filas, hasta que la matriz de la iquierda sea la matriz identidad; en ese momento, la matriz de la derecha se habrá convertido en la matriz inversa de la que ahora está a la izquierda. !else Después de $desc, las matrices (paso $step) se convierten en: !endif !else Paso $step: !endif

!if $size<=3 !else !endif !for i=1 to $size !set row=!line $i of $pmatrix !set rrow=!line $i of $preference !if $i=1 !endif !for j=1 to $size !set c=!item $j of $row !else $c !endif !next j !if $i=1 !endif !if $i=1 !endif !for j=1 to $size !set c=!item $j of $rrow !next j !if $i=1 !endif !next i
Matriz
principal$modulo
Matriz de
referencia$modulo
Matriz principal$modulo Matriz de referencia$modulo


$(m_leftpar$size) !if $i isitemof $(col$j) and $click=yes !href cmd=reply&modif=auto&origin=$i&dest=$j $c $(m_rightpar$size)    !if $i<$size and $click=yes !href cmd=reply&modif=exchange&origin=$i&dest=$[$i+1] ($i) !else ($i) !endif    $(m_leftpar$size) $c $(m_rightpar$size)
wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.restart0000644000175000017500000000016510340341130026001 0ustar georgeskgeorgesk step=0 matrix=$matrix_origin transpose=$transpose_origin const=$const_origin reference=$reference_origin thisstep= wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.auto0000644000175000017500000000073110340341130025264 0ustar georgeskgeorgesk!if $click!=yes error=$error no_auto !exit !endif col=!line $dest of $transpose n=0 first= fline= !for j=1 to $size c=!item $j of $col !if $[$c]!=0 n=$[$n+1] !if $j!=$origin and ($first=$empty or $j<$origin) first=$c fline=$j !endif !endif !next j this=!item $origin of $col !if $n>1 modif=add dest=$origin origin=$fline coef=-($this)/($first) !changeto proc.add !else modif=multiply dest=$origin coef=1/($this) !changeto proc.multiply !endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.exchange0000644000175000017500000000024310340341130026074 0ustar georgeskgeorgesk!ifval $origin=$dest error=$error coincide !exit !endif !if $origin>$dest t=$origin origin=$dest dest=$t !endif coef=1 tmodif=exchange !changeto pari.proc wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/main.phtml0000644000175000017500000000034510340341130025422 0ustar georgeskgeorgesk!header !read present.phtml

!if $error!=$empty !read msg.phtml


!endif !if $status=waiting !read form.phtml

!href exo_Renew !else !read answer.phtml

!href exo_Again !endif . :end !tail wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.redo0000644000175000017500000000036310340341130025246 0ustar georgeskgeorgesk!if $step>=$laststep error=$error no_redo !exit !endif step=$[$step+1] thisstep=!line $step of $steplist lmodif=!item 1 of $thisstep origin=!item 2 of $thisstep dest=!item 3 of $thisstep coef=!item 4 to -1 of $thisstep !read proc.$lmodif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/var.def0000644000175000017500000000152710340341130024703 0ustar georgeskgeorgesk#This is the variable definition file of the exercice module `test'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim status deny step deny laststep deny steplist deny success_steps deny matrix deny matrix_origin deny const deny const_origin deny transpose deny transpose_origin deny reference deny reference_origin deny character deny size init type init range init style init field init click init modif reply dest reply origin reply coef reply wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/proc.multiply0000644000175000017500000000054010340341130026171 0ustar georgeskgeorgesk !if $coef=$empty error=$error no_coef !exit !endif !if $[$coef]=0 or ($character>0 and / notin $coef and $[($coef)%$character]=0) error=$error mult_zero !exit !endif !if $[$coef]=1 or ($character>0 and / notin $coef and $[(($coef)%$character+$character)%$character]=1) error=$error mult_one !exit !endif tmodif=multiply !changeto pari.proc wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/form.phtml0000644000175000017500000000231210340341130025435 0ustar georgeskgeorgesk Proponga su transformación (paso $[$step+1]): !form reply $name_lines !formselect origin from 1 to $size y !formselect dest from 1 to $size . !form reply veces la $name_line !formselect origin from 1 to $size a la $name_line !formselect dest from 1 to $size . !if $field=Z
(El múltiplo debe ser un entero.) !endif !if $field=G
(El múltiplo debe ser un entero de Gauss.) !endif !form reply $name_line !formselect dest from 1 to $size por !if $field=Z -1. !else !if $field=G !formselect coef list -1,i,-i !else . !endif !endif !if $step>0
!href cmd=reply&modif=undo Deshacer !href cmd=reply&modif=restart Reiniciar
!endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/INDEX0000644000175000017500000000166210340341130024225 0ustar georgeskgeorgesktitle=Gauss visual # Commencez la description par minuscule! description=método de eliminación de Gauss paso por paso (para matrices y sistemas). author=XIAO Gang address=xiao@unice.fr copyright=© 1999- (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.40 # minimal version of wims server under which the module may run wims_version=3.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H5, H6, U1, U2, U3, U4 # e.g. algebra, analysis, geometry, etc. domain=algebra, linear algebra # Anything you like. keywords=matrix, linear system, Gauss elimination, Gauss reduction, rank, determinant, inverse matrix # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/pari.proc0000644000175000017500000000314510340341130025251 0ustar georgeskgeorgesk!if F isin $field procoef=lift(Mod(1,$character)*($coef)) procmat=Mod([$matrix],$character) procref=Mod([$reference],$character) proccon=Mod([$const],$character) liftm=m=lift(m) !else procoef=$coef procmat=[$matrix] procref=[$reference] proccon=[$const] liftm= !endif const_add=m=$proccon;m[$dest]=coef*m[$origin]+m[$dest];$liftm;print(m); const_exchange=m=$proccon;ct=m[$origin];m[$origin]=m[$dest];m[$dest]=ct;$liftm;print(m); const_multiply=m=$proccon;m[$dest]=coef*m[$dest];$liftm;print(m); !if $type=system pari_parm=$(const_$tmodif) !else pari_parm=m=my_$tmodif($procref,$origin,$dest,coef);$liftm;print(m); !endif pari_parm=coef=$procoef;m=my_$tmodif($procmat,$origin,$dest,coef);$liftm;print(m);\ print(coef);\ print(m~);mm=m;\ $pari_parm\ if(mm==matid($size),print("Finalized"),print("Interm")); pari_header={\ my_add(matt,origin,dest,coef)=matt[dest,]=coef*matt[origin,]+matt[dest,];\ return(matt);\ }\ {\ my_exchange(matt,origin,dest,coef)=mt=matt[origin,];\ matt[origin,]=matt[dest,];matt[dest,]=mt;\ return(matt);\ }\ {\ my_multiply(matt,origin,dest,coef)=matt[dest,]=coef*matt[dest,];\ return(matt);\ } pari_out=!exec pari $pari_parm pari_out=!mathsubst I=i in $pari_out coef_out=!line 2 of $pari_out !if coef isin $coef_out or $coef_out=$empty error=$error bad_coef !exit !endif !if $tmodif=multiply and $coef_out=0 error=$error mult_zero !exit !endif !distribute lines $pari_out into matrix,coef_out,transpose,tmp,pari_status transpose=!translate ; to $\ $ in $transpose !if $type=system const=$tmp !else reference=$tmp !endif !if $pari_status=Finalized ended=yes !endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/names0000644000175000017500000000211710340341130024455 0ustar georgeskgeorgeskfname_Q=$$m_Q fname_Z=$$m_Z fname_C=$$m_Q[$$m_i] fname_G=$$m_Z[$$m_i] !if $type=system name_line=ecuación name_lines=ecuaciones a_line=una ecuación !else name_line=fila name_lines=filas a_line=una fila !endif !if $thisstep=$empty !goto next !endif modif=!item 1 of $thisstep origin=!item 2 of $thisstep dest=!item 3 of $thisstep coef=!item 4 to -1 of $thisstep !if $modif=add desc=añadir $coef vez(veces) $name_line ($origin) a la $name_line ($dest) !goto next !endif !if $modif=multiply desc=multiplicar la $name_line ($dest) por $coef !goto next !endif !if $modif=exchange desc=intercambiar las $name_lines ($origin) y ($dest) !goto next !endif :next sst=!line $step+1 of $steplist !if $sst=$empty !exit !endif modif=!item 1 of $sst origin=!item 2 of $sst dest=!item 3 of $sst coef=!item 4 to -1 of $sst !if $modif=add adesc=añadir $coef veces $name_line ($origin) a la $name_line ($dest) !exit !endif !if $modif=multiply adesc=multiplicar por $coef la $name_line ($dest) !exit !endif !if $modif=exchange adesc=intercambiar $name_lines ($origin) y ($dest) !exit !endif wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/_help.phtml0000644000175000017500000000004510340341130025562 0ustar georgeskgeorgesk Placez ici des aides à l'exercice. wims-modules-es-3.64.orig/modules/U1/algebra/visgauss.es/msg.phtml0000644000175000017500000000371710340341130025272 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. !if double_reply=$error Error. You have issued a request which is not allowed for already succeeded exercise. (Don't use the `reload' button of your browser to repost the replies!) !exit !endif !if no_modif iswordof $error Error. Ha enviado una petición sin precisar el tipo de modificación que desea hacer. !exit !endif !if too_many_steps iswordof $error Warning. Se ha excedido en el número máximo de pasos autorizados.

Vuelva hacia atrás y revise su estrategia.

!exit !endif La última petición no será tenida en cuenta porque:: !if mult_zero iswordof $error
No se puede multiplicar $a_line by 0. !endif !if mult_one iswordof $error
Multiplicar $a_line por 1 no cambia nada en el/las !if $type=system sistema. !else matrices. !endif !endif !if zero_coef iswordof $error
Añadir 0 veces $a_line a otra no hace ningún cambio en el/las !if $type=system sistema. !else matrices. !endif !endif !if bad_coef iswordof $error
Ha introducido un coeficiente erróneo. !endif !if real_coef iswordof $error
Este ejercicio solo acepta coeficientes racionales. No están permitidas las funciones transcendentes o expresiones con comas. (Escriba 1/2 en vez de 0.5!) !endif !if no_coef iswordof $error
Petición incompleta: no hay coeficiente. !endif !if illegal_division iswordof $error
No puede efectuar divisiones en este contexto. !endif !if no_auto iswordof $error
La reducción automática está deshabilitada en la configuración. !endif !if coincide iswordof $error
Starting $name_line coincides with destination. !endif !if no_redo iswordof $error
Usted ya está en la última de la sucesión de operaciones registrada. !endif !if no_undo iswordof $error
Usted está en el punto inicial; no esposible deshacer nada. !endif

Por favor, inténtelo de nuevo. wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/0000755000175000017500000000000010315753131024011 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/0000755000175000017500000000000010771700502024547 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/AB.def0000644000175000017500000000372710315755314025527 0ustar georgeskgeorgesk!set title=Tamaño (orden) de AB !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=3 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 tmp=!trim k,l,m,n a,b,c,d p,q,r,s val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val6 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp0=!shuffle $val6 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp0=!item 3 of $val6 val9=$(tmp0) tmp0=!item 4 of $val6 val10=$(tmp0) val11=\($val7) val12=\($val8) val13=\($val9) val14=\($val10) tmp0=!randitem de $val11 filas y $val12 columnas,$val11×$val12 val15=$(tmp0) tmp0=!randitem de $val13 filas y $val14 columnas,$val13×$val14 val16=$(tmp0) tmp0=!randitem 1,2 !if $(tmp0)=1 val17=AB val18=$val15 val19=$val16 !else val17=BA val18=$val16 val19=$val15 !endif replytype1=equation replyname1=\($val17) tiene sentido replygood1=!rawmath $val8=$val9,$val7,$val10 replytype2=function replyname2=Filas de \($val17) replygood2=!rawmath $val7,$val8,$val9,$val10 replytype3=function replyname3=Columnas de \($val17) replygood3=!rawmath $val10,$val7,$val8,$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath A $() una matriz $val18, !insmath B $() una matriz $val19.

Dé la condición para que !insmath $val17 $() tenga sentido. !read oef/embed.phtml reply 1,6 $()

En este caso, !insmath $val17 $() tiene !read oef/embed.phtml reply 2,2 $() filas y !read oef/embed.phtml reply 3,2 $() columnas. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,19 embedcnt=3 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/multpart4x4.def0000644000175000017500000000472610315755314027455 0ustar georgeskgeorgesk!set title=Multiplicación parcial 4x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=20 prevarcnt=19 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(4)] val7=random t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x>y,tz,($val7(9)+1)*(2*$val7(2)-1)))) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x

!insmath $val14$val15 = $val16 $()

Existe un único elemento que se puede calcular del producto de las matrices. El elemento es !read oef/embed.phtml reply 1,4 $().
(Escriba c11 para !insmath c11 $() por ejemplo.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,14,15,16 embedcnt=1 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/propalg2.def0000644000175000017500000000701110315755314026761 0ustar georgeskgeorgesk!set title=Propiedades algebraicas II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c varcnt=27 prevarcnt=26 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 val6=Siempre verdadero val7=Siempre falso val8=Depende val9=$val6,$val7,$val8 tmp0=!shuffle A,B,C val10=$(tmp0) tmp0=!item 1 of $val10 val11=$(tmp0) tmp0=!item 2 of $val10 val12=$(tmp0) tmp0=!item 3 of $val10 val13=$(tmp0) tmp0=!randitem AB,BA val14=$(tmp0) tmp0=!randitem $val11+$val12,$val12+$val11 val15=$(tmp0) tmp0=!shuffle $val11,$val11$val12,$val11$val12$val13,$val13^2 val16=$(tmp0) tmp0=!item 1 of $val16 val17=$(tmp0) tmp0=!item 2 of $val16 val18=$(tmp0) tmp0=!item 3 of $val16 val19=$(tmp0) tmp0=!randitem =,\ne val20=$(tmp0) !ifval $val20 issametext \ne val21=$val7 !else val21=$val6 !endif tmp0=!randint 2, 10 val22=$[rint($(tmp0))] tmp0=!randitem +,- val23=$(tmp0) tmp0=!randitem $val11 $val23 I_$val22,$val11 $val23 $val11^2,$val11^2 $val23 $val11,I_$val22 $val23 $val11 val24=$(tmp0) tmp0=!randitem ($val11$val13)$val12,($val12$val13)$val11 tmp1=!randitem ($val11$val12)$val11,$val11($val12$val11) tmp2=!randitem ($val12$val11)$val12,$val12($val12$val11) tmp3=!randitem $val11^2($val12+$val13),($val12+$val13)$val11^2 tmp=!trim \($val11$val12 $val20 $val12$val11), $val8 \($val17 + $val18 $val20 $val18 + $val17), $val21 \($val17 + $val12$val13 $val20 $val13$val12 + $val17), $val8 \($val11($val12$val13) $val20 ($val11$val12)$val13), $val21 \($val11($val12$val13) $val20 $(tmp0)), $val8 \($val11 + ($val12 + $val13) $val20 A + (B + C)), $val21 \(($val11 + $val12)($val11 - $val12) $val20 $val11^2 - $val12^2), $val8 \(($val11 + $val12)^2 $val20 $val11^2 +2$val11$val12 + $val12^2), $val8 \($val11($val12+$val13) $val20 ($val12+$val13)$val11), $val8 \($val11($val12+$val13) $val20 $val11($val13+$val12)), $val21 \($val11($val12+$val13) $val20 $val12($val13+$val11)), $val8 \($val11^2 + $val11$val12 $val20 $val11($val15)), $val21 \($val11^2 + $val12$val11 $val20 $val11($val15)), $val8 \($val11^2 + $val11$val12 $val20 ($val15)$val11), $val8 \($val11^2 + $val12$val11 $val20 ($val15)$val11), $val21 \($val11^2$val12 $val20 $val11($val11$val12)), $val21 \($val11$val12^2 $val20 ($val11$val12)$val12), $val21 \($val11^2$val12 $val20 $(tmp1)), $val8 \($val11$val12^2 $val20 $(tmp2)), $val8 \($val11($val12+$val13)$val11 $val20 $(tmp3)), $val8 \($val11($val24) $val20 ($val24)$val11), $val21 val25=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val25 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) tmp0=!item 1 of $val25 val26=$(tmp0) tmp0=!item 2 of $val25 val27=$(tmp0) !if C isin $val26 val28=Sean \(A), \(B), \(C) tres matrices $val22×$val22 !else !if B isin $val26 val28=Sean \(A), \(B) dos matrices $val22×$val22 !else val28=Sea \(A) una matriz $val22×$val22 !endif !endif choicename1=La respuesta choicegood1=$val27 choicebad1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val28. ¿Es cierta la siguiente propiedad?

$val26

!if I_$val22 isin $val26 $() ( !insmath I_$val22 $() es la matriz identidad $val22×$val22 .) !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22,26,28 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/invertib.def0000644000175000017500000000615110315755314027061 0ustar georgeskgeorgesk!set title=Invertibilidad !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c varcnt=24 prevarcnt=23 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 val6=Verdadero val7=Falso val8=$val6,$val7 val9=invertible val10=invertibles tmp0=!shuffle A,B val11=$(tmp0) tmp0=!item 1 of $val11 val12=$(tmp0) tmp0=!item 2 of $val11 val13=$(tmp0) tmp0=!randitem A,B val14=$(tmp0) tmp0=!randitem AB,BA val15=$(tmp0) tmp0=!randitem A + B,B + A val16=$(tmp0) tmp0=!randitem A + B,A - B val17=$(tmp0) tmp0=!randint 2, 9 val18=$[rint($(tmp0))] tmp0=!randitem AB = AC,BA = CA tmp1=!randitem AB = CA,BA = AC tmp2=!randitem B = A^-1,A = B^-1 tmp3=!randitem -A,2A,-2A,A^2,-A^2,A^-1,-A^-1,A+A,2A-A,A^-1+A^-1 tmp4=!randitem A+I_$val18,A-I_n,I_n-A,A-A,A^-1-A^-1,A+A^-1,A-A^-1,A^-1-A,A+A^2,A-A^2 tmp5=!randint 2, 10 tmp=!trim \(A) es $val9,\(A^-1) es $val9,$val6 \(A) es $val9 y \($(tmp0)),\(B = C),$val6 \(A) es $val9 y \($(tmp1)),\(B = C),$val7 \($val15 = I_$val18),\($(tmp2)),$val6 \($val12 = $val13^-1),\($val13 = $val12^-1),$val6 \($val12 = $val13^-1),\($val15 = I_$val18),$val6 \(A) y \(B) son $val10,\($val15) es $val9,$val6 \($val12) es $val9, \($val15) es $val9, $val7 \($val15) es $val9,\($val12) es $val9,$val6 \($val16) es $val9,\($val12) es $val9,$val7 \($val12) y \($val17) son $val10,\($val13) es $val9,$val7 \(A) y \(B) son $val10,\($val17) es $val9,$val7 \(A) y \(B) son $val10,\(AB = BA),$val7 \(A) es $val9,\($(tmp3)) es $val9 too,$val6 \(A) es $val9,\($(tmp4)) es $val9 too,$val7 \($val12) es $val9 y \(AB = BA),\($val13) es $val9,$val7 \(A) y \(B) son $val10,\(($val12$val13)^-1 = $val12^-1*$val13^-1),$val7 \(A) y \(B) son $val10,\(($val12$val13)^-1 = $val13^-1*$val12^-1),$val6 \(A^$(tmp5) = I_$val18),\(A) es $val9,$val6 \(A + B) y \(A - B) son $val10,\(A) y \(B) son $val10,$val7 \(A), \(B) y \($val12 + $val13) son $val10, \($val12 - $val13) es $val9, $val7 val19=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val19 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp0=!item 1 of $val19 val20=$(tmp0) tmp0=!item 2 of $val19 val21=$(tmp0) tmp0=!item 3 of $val19 val22=$(tmp0) val23=$val20,$val21 val24=$val18×$val18 !if C isin $val23 val25=Sean \(A), \(B), \(C) tres matrices $val24 !else !if B isin $val23 val25=Sean \(A), \(B) dos matrices $val24 !else val25=Sea \(A) una matriz $val24 !endif !endif choicename1=La respuesta choicegood1=$val22 choicebad1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val25. ¿Es cierta la siguiente afirmación?

Si $val20, entonces $val21.

!if I_$val18 isin $val20 $val21 $() ( !insmath I_$val18 $() es la matriz identidad de orden $val18×$val18 .) !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18,20,21,25 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/propalg.def0000644000175000017500000000617410315755314026710 0ustar georgeskgeorgesk!set title=Propiedades algebraicas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr 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 tmp0=!randint 2, 9 val6=$[rint($(tmp0))] val7={\rm\ and\ } val8=\Rightarrow tmp0=!shuffle A + B = B + A, A + (B + C) = (A + B) + C, A + (B + C) = (A + C) + B, A + B = A + C $val8 B = C, A + C = B + C $val8 A = B, (a+b)A = aA + bA, a(A + B) = aA + aB, a*b(A) = a(bA), a*b(A) = b(aA), a(bA) = b(aA), a(AB) = A(aB), (aA)B = a(AB), a \ne 0 $val7 aA = aB $val8 A = B, A \ne 0 $val7 aA = bA $val8 a = b, A \ne 0 $val7 aA = 0 $val8 a = 0, a \ne 0 $val7 aA = 0 $val8 A = 0, a \ne 0 $val7 A \ne B $val8 aA \ne aB, A \ne 0 $val7 a \ne b $val8 aA \ne bA, a \ne 0 $val7 A \ne 0 $val8 aA \ne 0, A(BC) = (AB)C, A(B+C) = AB + AC, (A+B)C = AC + BC, AB + AC = A(B+C), AC + BC = (A+B)C, A^2B = A(AB), AB^2 = (AB)B val9=$(tmp0) tmp0=!shuffle a(AB) = (aB)A, (aA)B = (aB)A, (aA)B = B(aA), AB = BA, A(BC) = (AC)B, A \ne 0 $val7 AB = AC $val8 B = C, C \ne 0 $val7 AC = BC $val8 A = B, B \ne 0 $val7 AB = 0 $val8 A = 0, A \ne 0 $val7 AB = 0 $val8 B = 0, A \ne 0 $val7 B \ne C $val8 AB \ne AC, C \ne 0 $val7 A \ne B $val8 AC \ne BC, A \ne 0 $val7 B \ne 0 $val8 AB \ne 0, A(B+C) = AB + CA, (A+B)C = CA + BC, BA + AC = A(B+C), AC + CB = (A+B)C, ABA = A^2*B, BAB = A*B^2, (A-B)^2 = A^2 - B^2, (A+B)^2 = A^2 + 2AB + B^2, (A-B)^2 = A^2 - 2AB + B^2 val10=$(tmp0) tmp0=!randitem 1,1,2,2,3 val11=$[rint($(tmp0))] val12=$[rint(4-$val11)] tmp0=!item 1 to $val11 of 1,1,1,1,1,1 val13=$(tmp0) tmp0=!item 1 to 4 of $val13,0,0,0,0,0,0 val14=$(tmp0) tmp0=!item 1 to $val11 of $val10 val13=$(tmp0) tmp0=!item 1 to 4-$val11 of $val9 val15=$(tmp0) tmp0=!shuffle 4 val16=$(tmp0) tmp0=!item $val16 of $val13,$val15 val17=$(tmp0) tmp0=!item $val16 of $val14 val14=$(tmp0) tmp0=!positionof item 1 in $val14 val10=$(tmp0) tmp0=!positionof item 0 in $val14 val9=$(tmp0) tmp0=!item 1 of $val17 val18=$(tmp0) tmp0=!item 2 of $val17 val19=$(tmp0) tmp0=!item 3 of $val17 val20=$(tmp0) tmp0=!item 4 of $val17 val21=$(tmp0) val22= tmp0=!randitem 1,2 !if $(tmp0) = 1 val23=no siempre verdaderas val24=malas val25=$val10 !else val23=siempre verdaderas val24=buenas val25=$val9 !endif replytype1=chset replyname1=Las propiedades $val24 son replygood1=$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean !insmath A,B,C $() tres matrices $val6×$val6 y !insmath a,b $() dos números. Entre las siguientes propiedades, ¿Cuáles de ellas son $val23?

1.$val22 !insmath $val18 $()
2.$val22 !insmath $val19 $()
3.$val22 !insmath $val20 $()
4.$val22 !insmath $val21 $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,18,19,20,21,22,23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/multpart3x3.def0000644000175000017500000000465410315755314027453 0ustar georgeskgeorgesk!set title=Multiplicación parcial 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=20 prevarcnt=19 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(3)] val7=random t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x>y,tz,($val7(9)+1)*(2*$val7(2)-1)))) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x

!insmath $val14$val15 = $val16 $()

Existe un único coeficiente que podemos calcular del producto de las matrices. Es !read oef/embed.phtml reply 1,4 $().
(Escriba c11 para !insmath c11 $() por ejemplo.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,14,15,16 embedcnt=1 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/ABA.def0000644000175000017500000000262210315755314025621 0ustar georgeskgeorgesk!set title=ABA !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r,r,r varcnt=3 prevarcnt=2 postvarcnt=0 replycnt=4 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=!shuffle 2,3,4,5,6 tmp1=!item 1 to 2 of $(tmp0) val6=$(tmp1) !readproc slib/matrix/random $val6,5 tmp0=$slib_out val7=$(tmp0) replytype1=numeric replyname1=Filas de \(A) replygood1=$[$(val6[2])] replytype2=numeric replyname2=Columnas de \(A) replygood2=$[$(val6[1])] replytype3=numeric replyname3=Filas de \(C) replygood3=$[$(val6[2])] replytype4=numeric replyname4=Columnas de \(C) replygood4=$[$(val6[1])] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz !insmath A $(), tal que la multiplicación

!insmath A*[$val7]*A = C $()

tiene sentido.

¿Cuál es el orden de !insmath A $() ? !read oef/embed.phtml r1,2 $() × !read oef/embed.phtml r2,2 $()

¿Cuál es el orden de !insmath C $() ? !read oef/embed.phtml r3,2 $() × !read oef/embed.phtml r4,2 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7 embedcnt=4 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/propmult.def0000644000175000017500000000715710315755314027130 0ustar georgeskgeorgesk!set title=Propiedades de la multiplicación !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c varcnt=20 prevarcnt=19 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 val6=True val7=False val8=$val6,$val7 tmp0=!randitem 1,2 val9=$[rint($(tmp0))] tmp0=!item $val9 of A,B val10=$(tmp0) tmp0=!item $val9 of B,A val11=$(tmp0) tmp0=!randitem A + B, B + A val12=$(tmp0) tmp0=!randitem A,B val13=$(tmp0) tmp0=!randitem AB,BA val14=$(tmp0) tmp0=!randint 2, 10 val15=$[rint($(tmp0))] tmp0=!randitem $val10($val12) = $val10^2 + $val10$val11, ($val12)$val10 = $val10^2 + $val11$val10 tmp1=!randitem $val10($val12) = $val10^2 + $val11$val10, ($val12)$val10 = $val10^2 + $val10$val11 tmp2=!randitem $val10($val12),($val12)$val10 tmp3=!randitem $val10($val12) \ne $val10^2 + $val11$val10, ($val12)$val10 \ne $val10^2 + $val10$val11 tmp4=!randitem $val10($val12) \ne $val10^2 + $val10$val11, ($val12)$val10 \ne $val10^2 + $val11$val10 tmp5=!randitem AB = CB,BC = BA tmp6=!randitem AB \ne CB,BC \ne BA tmp7=!randitem A + B = C + B,B + C = B + A tmp8=!randitem $val10^2, $val10+I_$val15, $val10 + $val10, $val10+$val10^2, $val10^2+I_$val15 tmp9=!randitem 0,I_$val15 tmp10=!randitem 0,I_$val15 tmp11=!randitem 0,I_$val15 tmp12=!randitem 0,I_$val15 tmp=!trim \(AB = 0),\(BA = 0),$val7 \(AB \ne 0),\(BA \ne 0),$val7 \(AB = 0),\(AB = BA),$val7 \(AB = I_$val15),\(BA = I_$val15),$val6 \(AB \ne I_$val15),\(BA \ne I_$val15),$val6 \(AB = $val10),\($val11 = I_$val15),$val7 \(AB = 0) and \($val10 \ne 0),\($val11 = 0),$val7 \(A \ne 0) and \(B \ne 0),\(AB \ne 0),$val7 \(AB = BA),\((A+B)(A-B) = A^2 - B^2),$val6 \(AB \ne BA),\((A+B)(A-B) \ne A^2 - B^2),$val6 \((A+B)(A-B) = A^2 - B^2),\(AB = BA),$val6 \((A+B)(A-B) \ne A^2 - B^2),\(AB \ne BA),$val6 \((A+B)^2 = A^2 + 2AB + B^2),\(AB = BA),$val6 \($(tmp0)),\(AB = BA),$val7 \($(tmp1)),\(AB = BA),$val6 \(AB = BA),\($(tmp2) = $val10^2 + $val14),$val6 \(AB \ne BA),\($(tmp3)),$val6 \(AB \ne BA),\($(tmp4)),$val7 \($(tmp5)),\(A = C),$val7 \(A \ne C),\($(tmp6)),$val7 \($(tmp7)),\(A = C),$val6 \($val11 = $(tmp8)),\(AB = BA),$val6 \($val12 = $(tmp9)),\(AB = BA),$val6 \($val12 \ne $(tmp10)),\(AB \ne BA),$val7 \(AB \ne BA),\($val12 \ne $(tmp11)),$val6 \(AB = BA),\($val12 = $(tmp12)),$val7 \(AB \ne BA),\(A + B \ne B + A),$val7 \(A + B = B + A),\(AB = BA),$val7 \($val10$val11 = $val13),\($val11$val10 = $val13),$val7 \($val10$val11 \ne $val13),\($val11$val10 \ne $val13),$val7 val16=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val16 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!item 1 of $val16 val17=$(tmp0) tmp0=!item 2 of $val16 val18=$(tmp0) tmp0=!item 3 of $val16 val19=$(tmp0) val20=$val17,$val18 !if C isin $val20 val21=Sean \(A), \(B), \(C) tres matrices !else !if B isin $val20 val21=Sean \(A), \(B) dos matrices !else val21=Sea \(A) una matriz !endif !endif choicename1=La respuesta choicegood1=$val19 choicebad1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val21 $val15×$val15. ¿Es cierta la siguiente afirmación?

Si $val17, entonces $val18.

!if I_$val15 isin $val17 $val18 $() ( !insmath I_$val15 $() es la matriz identidad $val15×$val15) !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18,21 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/matop.def0000644000175000017500000000423710315755314026362 0ustar georgeskgeorgesk!set title=Operaciones matriciales !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,c,c,c,c varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=0 choicecnt=5 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=Sí val7=No val8=$val6,$val7 tmp0=!randitem 3,4 val9=$[rint($(tmp0))] tmp0=!randitem 3,4 val10=$[rint($(tmp0))] tmp0=!randitem 3,4 val11=$[rint($(tmp0))] tmp0=!randitem 3,4 val12=$[rint($(tmp0))] t_=!replace internal \( by ( in print(matrix($val10,$val9,x,y,random\(19)-10)) tmp0=!exec pari $t_ val13=$(tmp0) t_=!replace internal \( by ( in print(matrix($val12,$val11,x,y,random\(19)-10)) tmp0=!exec pari $t_ val14=$(tmp0) !ifval $val9=$val12 val15=$val6 !else val15=$val7 !endif !ifval $val11=$val10 val16=$val6 !else val16=$val7 !endif !ifval $val9=$val11 and $val10=$val12 val17=$val6 !else val17=$val7 !endif !ifval $val9=$val10 val18=$val6 !else val18=$val7 !endif !ifval $val11=$val12 val19=$val6 !else val19=$val7 !endif choicename1=AB choicegood1=$val15 choicebad1=$val8 choicename2=BA choicegood2=$val16 choicebad2=$val8 choicename3=A+B choicegood3=$val17 choicebad3=$val8 choicename4=A2 choicegood4=$val18 choicebad4=$val8 choicename5=B2 choicegood5=$val19 choicebad5=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considere dos matrices

!insmath A = [$val13] , B = [$val14] $() .

¿Tiene sentido !insmath AB $()? !read oef/embed.phtml choice 1 $()
¿Tiene sentido !insmath BA $() ? !read oef/embed.phtml choice 2 $()
¿Tiene sentido !insmath A+B $()? !read oef/embed.phtml choice 3 $()
¿Tiene sentido !insmath A^2 $() ? !read oef/embed.phtml choice 4 $()
¿Tiene sentido !insmath B^2 $() ? !read oef/embed.phtml choice 5 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14 embedcnt=5 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/trace2x2.def0000644000175000017500000000173110315755314026670 0ustar georgeskgeorgesk!set title=Traza 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=3 prevarcnt=2 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 !readproc slib/matrix/random 2,2,20 tmp0=$slib_out tmp=!trim $(tmp0) val6=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in trace([$val6]) tmp0=!exec pari $t_ val7=$[rint($(tmp0))] replytype1=numeric replyname1=Traza(A) replygood1=$[$val7] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la traza de la matriz

!insmath A = [$val6] $() ?

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/trace4x4.def0000644000175000017500000000173110315755314026674 0ustar georgeskgeorgesk!set title=Traza 4x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=3 prevarcnt=2 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 !readproc slib/matrix/random 4,4,10 tmp0=$slib_out tmp=!trim $(tmp0) val6=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in trace([$val6]) tmp0=!exec pari $t_ val7=$[rint($(tmp0))] replytype1=numeric replyname1=Traza(A) replygood1=$[$val7] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿cuál es la traza de la matriz

!insmath A = [$val6] $() ?

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/trace3x3.def0000644000175000017500000000173110315755314026672 0ustar georgeskgeorgesk!set title=Traza 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=3 prevarcnt=2 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 !readproc slib/matrix/random 3,3,14 tmp0=$slib_out tmp=!trim $(tmp0) val6=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in trace([$val6]) tmp0=!exec pari $t_ val7=$[rint($(tmp0))] replytype1=numeric replyname1=Traza(A) replygood1=$[$val7] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cual es la traza de la matriz

!insmath A = [$val6] $() ?

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/multiplicab.def0000644000175000017500000000644010315755314027545 0ustar georgeskgeorgesk!set title=Multiplicabilidad !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c varcnt=20 prevarcnt=19 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 val6=Verdadero val7=Falso val8=$val6,$val7 tmp0=!randitem rows,columns val9=$(tmp0) tmp0=!randitem A,B val10=$(tmp0) tmp0=!randitem AB,BA val11=$(tmp0) tmp0=!randitem A,A + B,AB tmp=!trim ,\(AB) tiene sentido,\(BA) tiene sentido,$val7 cuadrada,\(AB) tiene sentido,\(BA) tiene sentido,$val6 ,\(AB) tiene sentido y es una matriz cuadrada,\(BA) tiene sentido,$val6 ,\(AB) y \(BA) son matrices cuadradas,\(A) and \(B) son matrices cuadradas,$val7 ,\(A + B) tiene sentido,\(AB) tiene sentido,$val7 cuadrada,\(A + B) tiene sentido, \(AB) tiene sentido,$val6 ,\(AB) tiene sentido,\(A + B) tiene sentido,$val7 cuadrada,\(AB) tiene sentido,\(A + B) tiene sentido,$val6 ,\(AB = BA),\(A) y \(B) son matrices cuadradas,$val6 ,\(AB = BA),\(AB) es una matriz cuadrada,$val6 ,\(A) y \(B) son del mismo tipo, \(AB) tiene sentido,$val7 cuadrada,\(A) y \(B) son del mismo tipo, \(AB) tiene sentido,$val6 ,\(A^2) tiene sentido, \(A) es una matriz cuadrada,$val6 ,\(A) es un amatriz cuadrada,\(A^2) tiene sentido,$val6 ,\(A + B) y \(AB) tiene sentido,\($(tmp0)) es una matriz cuadrada,$val6 ,\(AB) tiene sentido y es una matriz cuadrada,$val10 es un amatriz cuadrada,$val7 ,\(AB) tiene sentido,\(AB) y \(B) tienen el mismo tamaño,$val6,con \(A) cuadrada ,\(AB) tiene sentido,\(AB) y \(A) tienen el mismo tamaño,$val7,con \(A) cuadrada ,\(AB) tiene sentido,\(AB) es una matriz cuadrada $val7,con \(A) cuadrada ,\(AB) tiene sentido,\(BA) tiene sentido,$val7,con \(A) cuadrada ,\(A) y \(B) tienen el mismo número de $val9,\($val11) tiene sentido,$val7 cuadrada,\(A) y \(B) tienen el mismo número de $val9,\($val11) tiene sentido,$val6 ,\($val10) es la matriz 0, \($val11) tiene sentido,$val7 cuadrada,\($val10) es la matriz 0,\($val11) tiene sentido,$val7 ,\(AB) y \(BA) tienen sentido,\(AB = BA),$val7 cuadrada,\(AB) y \(BA) tienen sentido,\(AB = BA),$val7 cuadrada,\(A) y \(B) son del mismo orden, \(AB = BA),$val7 val12=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$(tmp0) tmp0=!item 3 of $val12 val15=$(tmp0) tmp0=!item 4 of $val12 val16=$(tmp0) tmp0=!item 5 of $val12 val17=$(tmp0) val18=$val14,$val15 !if C isin $val18 val19=Sean \(A), \(B), \(C) tres matrices $val13 !else !if B isin $val18 val19=Sean \(A), \(B) dos matrices $val13 !else val19=Sea \(A) una matriz $val13 !endif !endif val20= !ifval $val17 notsametext $val20 val17=$val20 $val17 !endif choicename1=La respuesta choicegood1=$val16 choicebad1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19$val17. ¿Es cierta la siguiente afirmación?

Si $val14, entonces $val15.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,17,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/trianginv3x3.def0000644000175000017500000000525710315755314027604 0ustar georgeskgeorgesk!set title=Invertibilidad triangular 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c varcnt=32 prevarcnt=31 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 val6=invertible val7=Siempre $val6 val8=Nunca $val6 val9=Depende de \(t) val10=$val7,$val8,$val9 tmp0=!randitem 1,2,3 val11=$[rint($(tmp0))] tmp0=!randitem t,-t,2t,-2t,t^2,-t^2,t^2+1,t^2+2,t^2+3,t^2-1,t^2-2,t+1,t-1,1-t val12=$(tmp0) val13=0 !if $val11=1 val14=$val7 tmp0=!randitem 1,1,1,2,2 !if $(tmp0)=1 tmp0=!randitem 4,5,6 val15=$(tmp0) !else tmp0=!randitem 1,2 !ifval $(tmp0)=1 tmp1=!randitem 1,2,3 tmp2=!randitem 4,5,6 val15=$(tmp1),$(tmp2) !else tmp3=!randitem 1,2,3 val15=$(tmp3) !endif tmp0=!randint 1, 8 tmp1=!randint 1, 8 val13=$(tmp0)*t^2+$(tmp1) !endif !endif !if $val11=2 val14=$val8 tmp0=!randitem 1,2,3 tmp1=!randitem 4,5,6 val15=$(tmp0),$(tmp1) !endif !if $val11=3 val14=$val9 tmp0=!randitem 1,2 !ifval $(tmp0)=1 tmp1=!randitem 1,2,3 tmp2=!randitem 4,5,6 val15=$(tmp1),$(tmp2) !else tmp3=!randitem 1,2,3 val15=$(tmp3) !endif tmp0=!randitem t,-t,2t,-2t,t^2,-t^2,t^2-1,t^2-2,1-t^2,2-t^2,t+1,t-1,1-t val13=$(tmp0) !endif val16=$val13 val17=$val13 val18=$val13 val19=$val12 val20=$val12 val21=$val12 val22=$[rint(20)] !ifval 1 notitemof $val15 tmp0=!randint 1, $val22 tmp1=!randitem -1,1 val16=$[rint($(tmp0)*$(tmp1))] !endif !ifval 2 notitemof $val15 tmp0=!randint 1, $val22 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] !endif !ifval 3 notitemof $val15 tmp0=!randint 1, $val22 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] !endif !ifval 4 notitemof $val15 tmp0=!randint 1, $val22 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] !endif !ifval 5 notitemof $val15 tmp0=!randint 1, $val22 tmp1=!randitem -1,1 val20=$[rint($(tmp0)*$(tmp1))] !endif !ifval 6 notitemof $val15 tmp0=!randint 1, $val22 tmp1=!randitem -1,1 val21=$[rint($(tmp0)*$(tmp1))] !endif tmp0=!randitem 1,2 !ifval $(tmp0)=1 val23=$val16,$val19,$val20;0,$val17,$val21;0,0,$val18 !else val23= $val16,0,0;$val19,$val17,0;$val20,$val21,$val18 !endif choicename1=La respuesta choicegood1=$val14 choicebad1=$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Determine en qué condiciones la siguiente matriz es invertible, siendo !insmath t $() un número real.

!insmath [$val23] $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/ABC.def0000644000175000017500000000255210315755314025625 0ustar georgeskgeorgesk!set title=ABC !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r varcnt=8 prevarcnt=7 postvarcnt=0 replycnt=2 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=!shuffle 2,3,4,5,6 tmp1=!item 1 to 2 of $(tmp0) val6=$(tmp1) val7=$[rint($(val6[1]))] val8=$[rint($(val6[2]))] tmp0=!randint 2, 5 val9=$[rint($(tmp0))] tmp0=!randint 2, 5 val10=$[rint($(tmp0))] !readproc slib/matrix/random $val9,$val7,7 tmp0=$slib_out val11=$(tmp0) !readproc slib/matrix/random $val8,$val10,7 tmp0=$slib_out val12=$(tmp0) replytype1=numeric replyname1=Filas de \(A) replygood1=$[$val7] replytype2=numeric replyname2=Columnas de \(A) replygood2=$[$val8] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos un amatriz !insmath B $(), tal que la multiplicación

!insmath [$val11]*B*[$val12] $()

tiene sentido.

¿Cuál es el orden de !insmath A $() ? !read oef/embed.phtml r1,2 $() filas y !read oef/embed.phtml r2,2 $() columnas. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,12 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/def/invcoeff.def0000644000175000017500000000547410315755314027045 0ustar georgeskgeorgesk!set title=Invertibilidad y coeficientes !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c varcnt=21 prevarcnt=20 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 val6=Verdadero val7=Falso val8=$val6,$val7 val9=invertible val10=\(A) val11=$val10 es $val9 val12=$val10 no es $val9 tmp0=!randitem fila, columna val13=$(tmp0) tmp0=!randitem filas, columnas val14=$(tmp0) tmp0=!randitem superior, inferior val15=$(tmp0) tmp0=!randint 4, 9 val16=$[rint($(tmp0))] tmp0=!shuffle $val16 val17=$(tmp0) tmp0=!item 1 of $val17 val18=$[rint($(tmp0))] tmp0=!item 2 of $val17 val19=$[rint($(tmp0))] tmp0=!randitem positivos,negativos tmp1=!randitem 1,-1,2,-2 tmp2=!randint 1, $val16-1 tmp=!trim $val10 es triangular $val15,$val11,$val7 $val10 es triangular $val15 con diagonal no nula,$val11,$val6 los elementos de la diagonal son todos distintos de cero,$val11,$val7 todos los coeficientes son estrictamente $(tmp0),$val11,$val7 todos los coeficientes son no nulos,$val11,$val7 todos los coeficientes son iguales,$val11,$val7 todos los coeficientes son iguales a $(tmp1),$val11,$val7 no $val13 is all-zero, $val11, $val7 $val10 es $val15 triangular con 0 en la diagonal,$val12,$val6 la diagonal es nula,$val12,$val7 todos los coeficientes son cero,$val12,$val6 todos los coeficientes son iguales,$val12,$val6 $val13 número $val18 es nula, $val12, $val6 $val14 número $val18 and $val19 son iguales, $val12, $val6 sólo hay $(tmp2) elementos distintos de cero, $val12, $val6 sólo hay ($val16..2*$val16) elementos distintos de cero, $val12, $val7 $val11, elementos de la diagonal son no nulos, $val7 $val11 y $val15 triangular, elementos de la diagonal son no nulos, $val6 $val12, existe una $val13 no totalmente nula, $val7 $val12, existen dos $val14 que son iguales, $val7 $val12, existe almenos un elemnto que es 0, $val7 $val12 y $val15 triangular, existe un 0 en la diagonal, $val7 val20=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val20 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp0=!item 1 of $val20 val21=$(tmp0) tmp0=!item 2 of $val20 val22=$(tmp0) tmp0=!item 3 of $val20 val23=$(tmp0) val24=$val16×$val16 choicename1=La respuesta choicegood1=$val23 choicebad1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath A $() una matriz $val24. ¿Es verdadera la siguiente afirmación?

Si $val21, $val22.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=21,22,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/intro.phtml0000644000175000017500000000065310315755132026221 0ustar georgeskgeorgesk!header !read Exindex Actualmente, este módulo contiene $exototal ejercicios sobre cuestiones básicas de matrices: multiplicación, inversa, traza, rango. !href module=U1/algebra/quizdet Test sobre determinantes para ejercicios similares sobre determinantes.

!read oef/quizzintro.phtml !default scoredelay=60,120 !read oef/$module_language/intromenu.phtml !read related.phtml matrices, determinante, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/Exindex0000644000175000017500000000104710315755132025345 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of ABA,ABC,invertib,trianginv3x3,invcoeff,multiplicab,multpart3x3,multpart4x4,matop,propalg,propalg2,propmult,AB,trace2x2,trace3x3,trace4x4, !set titlelist=!char 1 to -2 of ABA,ABC,Invertibilidad,Invertibilidad triangular 3x3,Invertibilidad y coeficientes,Multiplicabilidad,Multiplicación parcial 3x3,Multiplicación parcial 4x4,Operaciones matriciales,Propiedades algebraicas,Propiedades algebraicas II,Propiedades de la multiplicación,Tamaño (orden) de AB,Traza 2x2,Traza 3x3,Traza 4x4, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/Extitles0000644000175000017500000000070310315755132025540 0ustar georgeskgeorgeskAB:Tamaño (orden) de AB ABA:ABA ABC:ABC invcoeff:Invertibilidad y coeficientes invertib:Invertibilidad matop:Operaciones matriciales multiplicab:Multiplicabilidad multpart3x3:Multiplicación parcial 3x3 multpart4x4:Multiplicación parcial 4x4 propalg:Propiedades algebraicas propalg2:Propiedades algebraicas II propmult:Propiedades de la multiplicación trace2x2:Traza 2x2 trace3x3:Traza 3x3 trace4x4:Traza 4x4 trianginv3x3:Invertibilidad triangular 3x3 wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/var.proc0000644000175000017500000000115110315755132025467 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/images/0000755000175000017500000000000010315752266025266 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/about.phtml0000644000175000017500000000005310315755132026172 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/main.phtml0000644000175000017500000000003110315755132026000 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/INDEX0000644000175000017500000000160310315755132024606 0ustar georgeskgeorgesktitle=Test sobre matrices # Commencez la description par minuscule! description=cuestiones elementales sobre matrices. author=XIAO Gang address=xiao@unice.fr copyright=© 2003- (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.01 # minimal version of wims server under which the module may run wims_version=3.37f language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H5,H6,U1,U2 # e.g. algebra, analysis, geometry, etc. domain=algebra, linear algebra # Anything you like. keywords=álgebra lineal, matriz, rango, traza, inversa, invertibility # Software packages required to run the module require= # Does the module have scoring system? scoring=yes vardef=oef/var.def wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/README0000644000175000017500000000045310315755132024676 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Install source files. 5. Run the script $wims_home/other/bin/src2def. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/0000755000175000017500000000000010771700460024603 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/trace4x4.oef0000644000175000017500000000044010315754574026743 0ustar georgeskgeorgesk\title {Traza 4x4} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \matrix{A=slib(matrix/random 4,4,10)} \integer{tr=pari(trace([\A]))} \statement{¿cuál es la traza de la matriz

\(A = [\A]) ?

} \answer{Traza(A)}{\tr}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/invcoeff.oef0000644000175000017500000000374710315754574027121 0ustar georgeskgeorgesk\title {Invertibilidad y coeficientes} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Verdadero} \text{no=Falso} \text{bad=\yes,\no} \text{inv=invertible} \text{A=\(A)} \text{isinv=\A es \inv} \text{notinv=\A no es \inv} \text{rowcol=random(fila, columna)} \text{rowcols=random(filas, columnas)} \text{supinf=random(superior, inferior)} \integer{n=random(4..9)} \text{sh=shuffle(\n)} \integer{r1=item(1,\sh)} \integer{r2=item(2,\sh)} \matrix{data= \A es triangular \supinf,\isinv,\no \A es triangular \supinf con diagonal no nula,\isinv,\yes los elementos de la diagonal son todos distintos de cero,\isinv,\no todos los coeficientes son estrictamente random(positivos,negativos),\isinv,\no todos los coeficientes son no nulos,\isinv,\no todos los coeficientes son iguales,\isinv,\no todos los coeficientes son iguales a random(1,-1,2,-2),\isinv,\no no \rowcol is all-zero, \isinv, \no \A es \supinf triangular con 0 en la diagonal,\notinv,\yes la diagonal es nula,\notinv,\no todos los coeficientes son cero,\notinv,\yes todos los coeficientes son iguales,\notinv,\yes \rowcol número \r1 es nula, \notinv, \yes \rowcols número \r1 and \r2 son iguales, \notinv, \yes sólo hay randint(1..\n-1) elementos distintos de cero, \notinv, \yes sólo hay (\n..2*\n) elementos distintos de cero, \notinv, \no \isinv, elementos de la diagonal son no nulos, \no \isinv y \supinf triangular, elementos de la diagonal son no nulos, \yes \notinv, existe una \rowcol no totalmente nula, \no \notinv, existen dos \rowcols que son iguales, \no \notinv, existe almenos un elemnto que es 0, \no \notinv y \supinf triangular, existe un 0 en la diagonal, \no } text{data= \notinv y \supinf triangular, existe un 0 en la diagonal, \yes } \text{data=randomrow(\data)} \text{hyp=item(1,\data)} \text{cons=item(2,\data)} \text{good=item(3,\data)} \text{size=\n×\n} \statement{Sea \(A) una matriz \size. ¿Es verdadera la siguiente afirmación?

Si \hyp, \cons.

} \choice{La respuesta}{\good}{\bad}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/ABC.oef0000644000175000017500000000112310315754574025671 0ustar georgeskgeorgesk\title {ABC} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \text{size=item(1..2,shuffle(2,3,4,5,6))} \integer{s1=\size[1]} \integer{s2=\size[2]} \integer{s0=randint(2..5)} \integer{s3=randint(2..5)} \text{A=slib(matrix/random \s0,\s1,7)} \text{C=slib(matrix/random \s2,\s3,7)} \statement{Tenemos un amatriz \(B), tal que la multiplicación

\([\A]*B*[\C])

tiene sentido.

¿Cuál es el orden de \(A) ? \embed{r1,2} filas y \embed{r2,2} columnas. } \answer{Filas de \(A)}{\s1}{type=number} \answer{Columnas de \(A)}{\s2}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/ABA.oef0000644000175000017500000000115210315754574025671 0ustar georgeskgeorgesk\title {ABA} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \text{size=item(1..2,shuffle(2,3,4,5,6))} \text{B=slib(matrix/random \size,5)} \statement{Tenemos una matriz \(A), tal que la multiplicación

\(A*[\B]*A = C)

tiene sentido.

¿Cuál es el orden de \(A) ? \embed{r1,2} × \embed{r2,2}

¿Cuál es el orden de \(C) ? \embed{r3,2} × \embed{r4,2} } \answer{Filas de \(A)}{\size[2]}{type=number} \answer{Columnas de \(A)}{\size[1]}{type=number} \answer{Filas de \(C)}{\size[2]}{type=number} \answer{Columnas de \(C)}{\size[1]}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/multpart4x4.oef0000644000175000017500000000245510315754574027525 0ustar georgeskgeorgesk\title {Multiplicación parcial 4x4} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=4} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

Existe un único elemento que se puede calcular del producto de las matrices. El elemento es \embed{reply 1,4}.
(Escriba c11 para \(c11) por ejemplo.) } \answer{El coeficiente determinado}{\good}{type=atext}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/multpart3x3.oef0000644000175000017500000000240310315754574027514 0ustar georgeskgeorgesk\title {Multiplicación parcial 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=3} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

Existe un único coeficiente que podemos calcular del producto de las matrices. Es \embed{reply 1,4}.
(Escriba c11 para \(c11) por ejemplo.) } \answer{El coeficiente determinado}{\good}{type=atext}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/trace3x3.oef0000644000175000017500000000044010315754574026741 0ustar georgeskgeorgesk\title {Traza 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \matrix{A=slib(matrix/random 3,3,14)} \integer{tr=pari(trace([\A]))} \statement{¿Cual es la traza de la matriz

\(A = [\A]) ?

} \answer{Traza(A)}{\tr}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/propalg.oef0000644000175000017500000000451710315754574026762 0ustar georgeskgeorgesk\title {Propiedades algebraicas} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{n=random(2..9)} \text{and={\rm\ and\ }} \text{imply=\Rightarrow} \text{good=shuffle( A + B = B + A, A + (B + C) = (A + B) + C, A + (B + C) = (A + C) + B, A + B = A + C \imply B = C, A + C = B + C \imply A = B, (a+b)A = aA + bA, a(A + B) = aA + aB, a*b(A) = a(bA), a*b(A) = b(aA), a(bA) = b(aA), a(AB) = A(aB), (aA)B = a(AB), a \ne 0 \and aA = aB \imply A = B, A \ne 0 \and aA = bA \imply a = b, A \ne 0 \and aA = 0 \imply a = 0, a \ne 0 \and aA = 0 \imply A = 0, a \ne 0 \and A \ne B \imply aA \ne aB, A \ne 0 \and a \ne b \imply aA \ne bA, a \ne 0 \and A \ne 0 \imply aA \ne 0, A(BC) = (AB)C, A(B+C) = AB + AC, (A+B)C = AC + BC, AB + AC = A(B+C), AC + BC = (A+B)C, A^2B = A(AB), AB^2 = (AB)B )} \text{bad=shuffle( a(AB) = (aB)A, (aA)B = (aB)A, (aA)B = B(aA), AB = BA, A(BC) = (AC)B, A \ne 0 \and AB = AC \imply B = C, C \ne 0 \and AC = BC \imply A = B, B \ne 0 \and AB = 0 \imply A = 0, A \ne 0 \and AB = 0 \imply B = 0, A \ne 0 \and B \ne C \imply AB \ne AC, C \ne 0 \and A \ne B \imply AC \ne BC, A \ne 0 \and B \ne 0 \imply AB \ne 0, A(B+C) = AB + CA, (A+B)C = CA + BC, BA + AC = A(B+C), AC + CB = (A+B)C, ABA = A^2*B, BAB = A*B^2, (A-B)^2 = A^2 - B^2, (A+B)^2 = A^2 + 2AB + B^2, (A-B)^2 = A^2 - 2AB + B^2 )} \integer{badcnt=random(1,1,2,2,3)} \integer{goodcnt=4-\badcnt} \text{bads=item(1..\badcnt,1,1,1,1,1,1)} \text{gb=item(1..4,\bads,0,0,0,0,0,0)} \text{bads=item(1..\badcnt,\bad)} \text{goods=item(1..4-\badcnt,\good)} \text{order=shuffle(4)} \text{list=item(\order,\bads,\goods)} \text{gb=item(\order,\gb)} \text{bad=wims(positionof item 1 in \gb)} \text{good=wims(positionof item 0 in \gb)} \text{l1=item(1,\list)} \text{l2=item(2,\list)} \text{l3=item(3,\list)} \text{l4=item(4,\list)} \text{space= } \if{random(1,2) = 1}{ \text{ask=no siempre verdaderas} \text{cond=malas} \text{ans=\bad} }{ \text{ask=siempre verdaderas} \text{cond=buenas} \text{ans=\good} } \statement{Sean \(A,B,C) tres matrices \n×\n y \(a,b) dos números. Entre las siguientes propiedades, ¿Cuáles de ellas son \ask?

1.\space\(\l1)
2.\space\(\l2)
3.\space\(\l3)
4.\space\(\l4)

} \answer{Las propiedades \cond son}{\ans}{type=chset}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/AB.oef0000644000175000017500000000176110315754574025576 0ustar georgeskgeorgesk\title {Tamaño (orden) de AB} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \matrix{names= k,l,m,n a,b,c,d p,q,r,s } \text{names=randomrow(\names)} \text{names=shuffle(\names)} \text{k=item(1,\names)} \text{l=item(2,\names)} \text{m=item(3,\names)} \text{n=item(4,\names)} \text{kk=\(\k)} \text{ll=\(\l)} \text{mm=\(\m)} \text{nn=\(\n)} \text{size1=random(de \kk filas y \ll columnas,\kk×\ll)} \text{size2=random(de \mm filas y \nn columnas,\mm×\nn)} \if{random(1,2)=1}{ \text{AB=AB} \text{sizeA=\size1} \text{sizeB=\size2} }{ \text{AB=BA} \text{sizeA=\size2} \text{sizeB=\size1} } \statement{Sea \(A) una matriz \sizeA, \(B) una matriz \sizeB.

Dé la condición para que \(\AB) tenga sentido. \embed{reply 1,6}

En este caso, \(\AB) tiene \embed{reply 2,2} filas y \embed{reply 3,2} columnas. } \answer{\(\AB) tiene sentido}{\l=\m,\k,\n}{type=equation} \answer{Filas de \(\AB)}{\k,\l,\m,\n}{type=function} \answer{Columnas de \(\AB)}{\n,\k,\l,\m}{type=function}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/matop.oef0000644000175000017500000000202410315754574026425 0ustar georgeskgeorgesk\title {Operaciones matriciales} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Sí} \text{no=No} \text{bad=\yes,\no} \integer{c1=random(3,4)} \integer{r1=random(3,4)} \integer{c2=random(3,4)} \integer{r2=random(3,4)} \text{A=pari(print(matrix(\r1,\c1,x,y,random\(19)-10)))} \text{B=pari(print(matrix(\r2,\c2,x,y,random\(19)-10)))} \text{good1=\c1=\r2?\yes:\no} \text{good2=\c2=\r1?\yes:\no} \text{good3=\c1=\c2 and \r1=\r2?\yes:\no} \text{good4=\c1=\r1?\yes:\no} \text{good5=\c2=\r2?\yes:\no} \statement{Considere dos matrices

\(A = [\A] , B = [\B]) .

¿Tiene sentido \(AB)? \embed{choice 1}
¿Tiene sentido \(BA) ? \embed{choice 2}
¿Tiene sentido \(A+B)? \embed{choice 3}
¿Tiene sentido \(A^2) ? \embed{choice 4}
¿Tiene sentido \(B^2) ? \embed{choice 5}
} \choice{AB}{\good1}{\bad} \choice{BA}{\good2}{\bad} \choice{A+B}{\good3}{\bad} \choice{A2}{\good4}{\bad} \choice{B2}{\good5}{\bad} wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/propmult.oef0000644000175000017500000000454510315754574027201 0ustar georgeskgeorgesk\title {Propiedades de la multiplicación} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=True} \text{no=False} \text{bad=\yes,\no} \integer{take=random(1,2)} \text{AA=item(\take,A,B)} \text{BB=item(\take,B,A)} \text{AplusB=random(A + B, B + A)} \text{AB=random(A,B)} \text{ABBA=random(AB,BA)} \integer{n=random(2..10)} \matrix{data= \(AB = 0),\(BA = 0),\no \(AB \ne 0),\(BA \ne 0),\no \(AB = 0),\(AB = BA),\no \(AB = I_\n),\(BA = I_\n),\yes \(AB \ne I_\n),\(BA \ne I_\n),\yes \(AB = \AA),\(\BB = I_\n),\no \(AB = 0) and \(\AA \ne 0),\(\BB = 0),\no \(A \ne 0) and \(B \ne 0),\(AB \ne 0),\no \(AB = BA),\((A+B)(A-B) = A^2 - B^2),\yes \(AB \ne BA),\((A+B)(A-B) \ne A^2 - B^2),\yes \((A+B)(A-B) = A^2 - B^2),\(AB = BA),\yes \((A+B)(A-B) \ne A^2 - B^2),\(AB \ne BA),\yes \((A+B)^2 = A^2 + 2AB + B^2),\(AB = BA),\yes \(random(\AA(\AplusB) = \AA^2 + \AA\BB, (\AplusB)\AA = \AA^2 + \BB\AA)),\(AB = BA),\no \(random(\AA(\AplusB) = \AA^2 + \BB\AA, (\AplusB)\AA = \AA^2 + \AA\BB)),\(AB = BA),\yes \(AB = BA),\(random(\AA(\AplusB),(\AplusB)\AA) = \AA^2 + \ABBA),\yes \(AB \ne BA),\(random(\AA(\AplusB) \ne \AA^2 + \BB\AA, (\AplusB)\AA \ne \AA^2 + \AA\BB)),\yes \(AB \ne BA),\(random(\AA(\AplusB) \ne \AA^2 + \AA\BB, (\AplusB)\AA \ne \AA^2 + \BB\AA)),\no \(random(AB = CB,BC = BA)),\(A = C),\no \(A \ne C),\(random(AB \ne CB,BC \ne BA)),\no \(random(A + B = C + B,B + C = B + A)),\(A = C),\yes \(\BB = random(\AA^2, \AA+I_\n, \AA + \AA, \AA+\AA^2, \AA^2+I_\n)),\(AB = BA),\yes \(\AplusB = random(0,I_\n)),\(AB = BA),\yes \(\AplusB \ne random(0,I_\n)),\(AB \ne BA),\no \(AB \ne BA),\(\AplusB \ne random(0,I_\n)),\yes \(AB = BA),\(\AplusB = random(0,I_\n)),\no \(AB \ne BA),\(A + B \ne B + A),\no \(A + B = B + A),\(AB = BA),\no \(\AA\BB = \AB),\(\BB\AA = \AB),\no \(\AA\BB \ne \AB),\(\BB\AA \ne \AB),\no } text{data= \(\AA\BB \ne \AB),\(\BB\AA \ne \AB),\no } \text{data=randomrow(\data)} \text{hyp=item(1,\data)} \text{cons=item(2,\data)} \text{good=item(3,\data)} \text{all=\hyp,\cons} \if{C isin \all}{ \text{mats=Sean \(A), \(B), \(C) tres matrices} }{ \if{B isin \all}{ \text{mats=Sean \(A), \(B) dos matrices} }{ \text{mats=Sea \(A) una matriz} } } \statement{\mats \n×\n. ¿Es cierta la siguiente afirmación?

Si \hyp, entonces \cons.

\if{I_\n isin \hyp \cons}{ (\(I_\n) es la matriz identidad \n×\n) } } \choice{La respuesta}{\good}{\bad}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/trace2x2.oef0000644000175000017500000000044010315754574026737 0ustar georgeskgeorgesk\title {Traza 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \matrix{A=slib(matrix/random 2,2,20)} \integer{tr=pari(trace([\A]))} \statement{¿Cuál es la traza de la matriz

\(A = [\A]) ?

} \answer{Traza(A)}{\tr}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/propalg2.oef0000644000175000017500000000415310315754574027040 0ustar georgeskgeorgesk\title {Propiedades algebraicas II} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Siempre verdadero} \text{no=Siempre falso} \text{dep=Depende} \text{bad=\yes,\no,\dep} \text{ABCs=shuffle(A,B,C)} \text{At=item(1,\ABCs)} \text{Bt=item(2,\ABCs)} \text{Ct=item(3,\ABCs)} \text{ABBA=random(AB,BA)} \text{aplusb=random(\At+\Bt,\Bt+\At)} \text{terms=shuffle(\At,\At\Bt,\At\Bt\Ct,\Ct^2)} \text{term1=item(1,\terms)} \text{term2=item(2,\terms)} \text{term3=item(3,\terms)} \text{eq=random(=,\ne)} \text{yesno=\eq issametext \ne?\no:\yes} \integer{n=random(2..10)} \text{pm=random(+,-)} \text{comma=random(\At \pm I_\n,\At \pm \At^2,\At^2 \pm \At,I_\n \pm \At)} \matrix{data= \(\At\Bt \eq \Bt\At), \dep \(\term1 + \term2 \eq \term2 + \term1), \yesno \(\term1 + \Bt\Ct \eq \Ct\Bt + \term1), \dep \(\At(\Bt\Ct) \eq (\At\Bt)\Ct), \yesno \(\At(\Bt\Ct) \eq random((\At\Ct)\Bt,(\Bt\Ct)\At)), \dep \(\At + (\Bt + \Ct) \eq A + (B + C)), \yesno \((\At + \Bt)(\At - \Bt) \eq \At^2 - \Bt^2), \dep \((\At + \Bt)^2 \eq \At^2 +2\At\Bt + \Bt^2), \dep \(\At(\Bt+\Ct) \eq (\Bt+\Ct)\At), \dep \(\At(\Bt+\Ct) \eq \At(\Ct+\Bt)), \yesno \(\At(\Bt+\Ct) \eq \Bt(\Ct+\At)), \dep \(\At^2 + \At\Bt \eq \At(\aplusb)), \yesno \(\At^2 + \Bt\At \eq \At(\aplusb)), \dep \(\At^2 + \At\Bt \eq (\aplusb)\At), \dep \(\At^2 + \Bt\At \eq (\aplusb)\At), \yesno \(\At^2\Bt \eq \At(\At\Bt)), \yesno \(\At\Bt^2 \eq (\At\Bt)\Bt), \yesno \(\At^2\Bt \eq random((\At\Bt)\At,\At(\Bt\At))), \dep \(\At\Bt^2 \eq random((\Bt\At)\Bt,\Bt(\Bt\At))), \dep \(\At(\Bt+\Ct)\At \eq random(\At^2(\Bt+\Ct),(\Bt+\Ct)\At^2)), \dep \(\At(\comma) \eq (\comma)\At), \yesno } text{data= \(\At^2 + \At\Bt \eq \At(\aplusb)), \yesno } \text{data=randomrow(\data)} \text{prop=item(1,\data)} \text{good=item(2,\data)} \if{C isin \prop}{ \text{mats=Sean \(A), \(B), \(C) tres matrices \n×\n } }{ \if{B isin \prop}{ \text{mats=Sean \(A), \(B) dos matrices \n×\n } }{ \text{mats=Sea \(A) una matriz \n×\n } } } \statement{\mats. ¿Es cierta la siguiente propiedad?

\prop

\if{I_\n isin \prop}{ (\(I_\n) es la matriz identidad \n×\n .) } } \choice{La respuesta}{\good}{\bad} wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/invertib.oef0000644000175000017500000000412410315754574027132 0ustar georgeskgeorgesk\title {Invertibilidad} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Verdadero} \text{no=Falso} \text{bad=\yes,\no} \text{inv=invertible} \text{invs=invertibles} \text{ABs=shuffle(A,B)} \text{At=item(1,\ABs)} \text{Bt=item(2,\ABs)} \text{AB=random(A,B)} \text{ABBA=random(AB,BA)} \text{aplusb=random(A + B,B + A)} \text{apmb=random(A + B,A - B)} \integer{n=random(2..9)} \matrix{data= \(A) es \inv,\(A^-1) es \inv,\yes \(A) es \inv y \(random(AB = AC,BA = CA)),\(B = C),\yes \(A) es \inv y \(random(AB = CA,BA = AC)),\(B = C),\no \(\ABBA = I_\n),\(random(B = A^-1,A = B^-1)),\yes \(\At = \Bt^-1),\(\Bt = \At^-1),\yes \(\At = \Bt^-1),\(\ABBA = I_\n),\yes \(A) y \(B) son \invs,\(\ABBA) es \inv,\yes \(\At) es \inv, \(\ABBA) es \inv, \no \(\ABBA) es \inv,\(\At) es \inv,\yes \(\aplusb) es \inv,\(\At) es \inv,\no \(\At) y \(\apmb) son \invs,\(\Bt) es \inv,\no \(A) y \(B) son \invs,\(\apmb) es \inv,\no \(A) y \(B) son \invs,\(AB = BA),\no \(A) es \inv,\(random(-A,2A,-2A,A^2,-A^2,A^-1,-A^-1,A+A,2A-A,A^-1+A^-1)) es \inv too,\yes \(A) es \inv,\(random(A+I_\n,A-I_n,I_n-A,A-A,A^-1-A^-1,A+A^-1,A-A^-1,A^-1-A,A+A^2,A-A^2)) es \inv too,\no \(\At) es \inv y \(AB = BA),\(\Bt) es \inv,\no \(A) y \(B) son \invs,\((\At\Bt)^-1 = \At^-1*\Bt^-1),\no \(A) y \(B) son \invs,\((\At\Bt)^-1 = \Bt^-1*\At^-1),\yes \(A^randint(2..10) = I_\n),\(A) es \inv,\yes \(A + B) y \(A - B) son \invs,\(A) y \(B) son \invs,\no \(A), \(B) y \(\At + \Bt) son \invs, \(\At - \Bt) es \inv, \no } text{data= \(A), \(B) y \(\At + \Bt) son \invs, \(\At - \Bt) es \inv, \no } \text{data=randomrow(\data)} \text{hyp=item(1,\data)} \text{cons=item(2,\data)} \text{good=item(3,\data)} \text{all=\hyp,\cons} \text{size=\n×\n} \if{C isin \all}{ \text{mats=Sean \(A), \(B), \(C) tres matrices \size } }{ \if{B isin \all}{ \text{mats=Sean \(A), \(B) dos matrices \size } }{ \text{mats=Sea \(A) una matriz \size } } } \statement{\mats. ¿Es cierta la siguiente afirmación?

Si \hyp, entonces \cons.

\if{I_\n isin \hyp \cons}{ (\(I_\n) es la matriz identidad de orden \n×\n .) } } \choice{La respuesta}{\good}{\bad}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/multone4x4.orf0000644000175000017500000000101010315754574027337 0ustar georgeskgeorgesk\title {Un elemento del producto 4x4} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \matrix{A=slib(matrix/non0 4,2,6)} \matrix{B=slib(matrix/non0 2,4,6)} \matrix{C=c11,c12,c13,c14;c21,c22,c23,c24;c31,c32,c33,c34;c41,c42,c43,c44} \integer{i=random(1..4)} \integer{j=random(1..4)} \integer{c=pari(([\A]*[\B])[\i,\j])} \statement{¿Cuál es el valor de \(c\i\j) en la siguiente multiplicación de matrices?

\([\A]*[\B] = [\C])

} \answer{\(c\i\j)}{\c}{type=number}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/trianginv3x3.oef0000644000175000017500000000274610315754574027657 0ustar georgeskgeorgesk\title {Invertibilidad triangular 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{inv=invertible} \text{yes=Siempre \inv} \text{no=Nunca \inv} \text{dep=Depende de \(t)} \text{bad=\yes,\no,\dep} \integer{ch=random(1,2,3)} \text{bt=random(t,-t,2t,-2t,t^2,-t^2,t^2+1,t^2+2,t^2+3,t^2-1,t^2-2,t+1,t-1,1-t)} \text{at=0} \if{\ch=1}{ \text{good=\yes} \if{random(1,1,1,2,2)=1}{ \text{tt=random(4,5,6)} }{ \text{tt=random(1,2)=1?random(1,2,3),random(4,5,6):random(1,2,3)} \text{at=randint(1..8)*t^2+randint(1..8)} } } \if{\ch=2}{ \text{good=\no} \text{tt=random(1,2,3),random(4,5,6)} } \if{\ch=3}{ \text{good=\dep} \text{tt=random(1,2)=1?random(1,2,3),random(4,5,6):random(1,2,3)} \text{at=random(t,-t,2t,-2t,t^2,-t^2,t^2-1,t^2-2,1-t^2,2-t^2,t+1,t-1,1-t)} } \text{a1=\at} \text{a2=\at} \text{a3=\at} \text{a4=\bt} \text{a5=\bt} \text{a6=\bt} \integer{range=20} \integer{a1=1 notitemof \tt?random(1..\range)*random(-1,1)} \integer{a2=2 notitemof \tt?random(1..\range)*random(-1,1)} \integer{a3=3 notitemof \tt?random(1..\range)*random(-1,1)} \integer{a4=4 notitemof \tt?random(1..\range)*random(-1,1)} \integer{a5=5 notitemof \tt?random(1..\range)*random(-1,1)} \integer{a6=6 notitemof \tt?random(1..\range)*random(-1,1)} \text{A=random(1,2)=1?\a1,\a4,\a5;0,\a2,\a6;0,0,\a3: \a1,0,0;\a4,\a2,0;\a5,\a6,\a3} \statement{Determine en qué condiciones la siguiente matriz es invertible, siendo \(t) un número real.

\([\A])

} \choice{La respuesta}{\good}{\bad}wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/multiplicab.oef0000644000175000017500000000470010315754574027615 0ustar georgeskgeorgesk\title {Multiplicabilidad} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Verdadero} \text{no=Falso} \text{bad=\yes,\no} \text{rowcol=random(rows,columns)} \text{AB=random(A,B)} \text{ABBA=random(AB,BA)} \matrix{data= ,\(AB) tiene sentido,\(BA) tiene sentido,\no cuadrada,\(AB) tiene sentido,\(BA) tiene sentido,\yes ,\(AB) tiene sentido y es una matriz cuadrada,\(BA) tiene sentido,\yes ,\(AB) y \(BA) son matrices cuadradas,\(A) and \(B) son matrices cuadradas,\no ,\(A + B) tiene sentido,\(AB) tiene sentido,\no cuadrada,\(A + B) tiene sentido, \(AB) tiene sentido,\yes ,\(AB) tiene sentido,\(A + B) tiene sentido,\no cuadrada,\(AB) tiene sentido,\(A + B) tiene sentido,\yes ,\(AB = BA),\(A) y \(B) son matrices cuadradas,\yes ,\(AB = BA),\(AB) es una matriz cuadrada,\yes ,\(A) y \(B) son del mismo tipo, \(AB) tiene sentido,\no cuadrada,\(A) y \(B) son del mismo tipo, \(AB) tiene sentido,\yes ,\(A^2) tiene sentido, \(A) es una matriz cuadrada,\yes ,\(A) es un amatriz cuadrada,\(A^2) tiene sentido,\yes ,\(A + B) y \(AB) tiene sentido,\(random(A,A + B,AB)) es una matriz cuadrada,\yes ,\(AB) tiene sentido y es una matriz cuadrada,\AB es un amatriz cuadrada,\no ,\(AB) tiene sentido,\(AB) y \(B) tienen el mismo tamaño,\yes,con \(A) cuadrada ,\(AB) tiene sentido,\(AB) y \(A) tienen el mismo tamaño,\no,con \(A) cuadrada ,\(AB) tiene sentido,\(AB) es una matriz cuadrada \no,con \(A) cuadrada ,\(AB) tiene sentido,\(BA) tiene sentido,\no,con \(A) cuadrada ,\(A) y \(B) tienen el mismo número de \rowcol,\(\ABBA) tiene sentido,\no cuadrada,\(A) y \(B) tienen el mismo número de \rowcol,\(\ABBA) tiene sentido,\yes ,\(\AB) es la matriz 0, \(\ABBA) tiene sentido,\no cuadrada,\(\AB) es la matriz 0,\(\ABBA) tiene sentido,\no ,\(AB) y \(BA) tienen sentido,\(AB = BA),\no cuadrada,\(AB) y \(BA) tienen sentido,\(AB = BA),\no cuadrada,\(A) y \(B) son del mismo orden, \(AB = BA),\no } \text{data=randomrow(\data)} \text{adj=item(1,\data)} \text{hyp=item(2,\data)} \text{cons=item(3,\data)} \text{good=item(4,\data)} \text{kind=item(5,\data)} \text{all=\hyp,\cons} \if{C isin \all}{ \text{mats=Sean \(A), \(B), \(C) tres matrices \adj } }{ \if{B isin \all}{ \text{mats=Sean \(A), \(B) dos matrices \adj} }{ \text{mats=Sea \(A) una matriz \adj } } } \text{empty=} \text{kind=\kind notsametext \empty?\empty \kind} \statement{\mats\kind. ¿Es cierta la siguiente afirmación?

Si \hyp, entonces \cons.

} \choice{La respuesta}{\good}{\bad} wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/src/cpp/0000755000175000017500000000000010771700435025367 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/NEWS0000644000175000017500000000021110315755132024505 0ustar georgeskgeorgesk# This file registers changes to the module. # Please write in reverse order: the last version first. Version 1.00: First publication. wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/endhook.phtml0000644000175000017500000000010710315755132026507 0ustar georgeskgeorgesk!! Este archivo puede tener contenidos que irán al final de la página. wims-modules-es-3.64.orig/modules/U1/algebra/quizmatrix.es/help.phtml0000644000175000017500000000005210315755132026007 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/0000755000175000017500000000000010315753132023662 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/intro.phtml0000644000175000017500000000132710340570206026063 0ustar georgeskgeorgesk!header !form new $module_title Es un ejercicio sobre bases en un subespacio: se tiene un subespacio vectorial de $m_RR$m_n definido por !formselect givtype list sys,vec prompt un sistema lineal, un conjunto de generadores y se trata de encontrar !formselect gettype list vec,sys prompt una base, un sistema minimal que defina a ese subespacio vectorial, de entre una lista de vectores/ecuaciones.

!set level=3 Puede elegir el nivel de dificultad del ejercicio: !formselect level from 1 to 8 y a continuación . !read related.phtml bases, espacio vectorial, álgebra lineal, vectores !tail wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/var.init0000644000175000017500000000357510340570206025346 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. level=$[$level] !if $level!=NaN and $level>0 and $level<=8 # levels: 1 2 3 4 5 6 7 8 totdim =!word $level of 2 3 3 4 5 6 7 8 range1 =!word $level of 1 2 2 3 4 5 5 5 range2 =!word $level of 2 2 3 3 5 5 6 6 sup1 =!word $level of 1 1 1 1 2 2 3 4 sup2 =!word $level of 1 1 2 2 2 2 3 4 severity=!word $level of 1 1 1.2 1.5 2 2.5 3 4 !endif !bound totdim between integer 2 and 8 default 3 mid=!randint floor($totdim/2),ceil($totdim/2) !bound subdim between integer 1 and $totdim-1 default $mid comdim=$[$totdim-$subdim] !bound range1 between integer 1 and 5 default 3 !bound range2 between integer 2 and 6 default 4 range=2*$range1*$range2 !bound sup1 between integer 1 and 4 default 1 !bound sup2 between integer 1 and 4 default 2 !bound givtype within vec,sys default sys !bound gettype within vec,sys default vec !bound severity between 1 and 4 default 1 pariout=!exec pari r=0;while(r<$subdim,a=matrix($subdim,$totdim,x,y,random(2*$range1+1)-$range1);r=matrank(a)); print(a)\ k=matker(a)~;print(denominator(k)*k)\ t=matker(k)~;print(denominator(t)*t)\ r=0;while(r<$subdim,b=matrix($subdim+$sup1,$subdim,x,y,random(2*$range2+1)-$range2);r=matrank(b)); print(b*a)\ d=matrix($sup2,$totdim,x,y,random(2*$range+1)-$range);print(d)\ print("OK"); !distribute lines $pariout into basesub,syssub,basesub2,vec1,vec2,OK !if OK notwordof $OK error=init_fail !exit !endif syspari=$syssub baspari=$basesub2 !for i in basesub,syssub,basesub2,vec1,vec2 $i=!translate ; to $\ $ in $($i) !next i vecs=!append line $vec2 to $vec1 vecs=!trim $vecs n=!linecnt $vecs tt=!shuffle $n vecs=!line $tt of $vecs !if $gettype=sys sub=$basesub2 basesub2=$syssub syssub=$sub !endif syssize=!linecnt $syssub status=waiting wims_module_log=$cmd: dim=$totdim, sup=$[$sup1+$sup2], severity $severity wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/var.proc0000644000175000017500000000221610340570206025335 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. rightp=) !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting choice=!trim $choice chosen= !for i in $choice row=!line $i of $vecs row=!trim $row !if $row!=$empty chosen=!append line $row to $chosen !endif !next i choicecnt=!linecnt $chosen !if $choicecnt<=0 error=empty_choice !exit !endif chpari=!translate $\ $ to ; in $chosen pariout=!exec pari base=Mat([$baspari]);chosen=Mat([$chpari]);print(matrank(chosen));\ for(x=1,$choicecnt,cc=chosen[x,];r=matrank(concat(base,cc));if(r>$subdim,print(x););) !distribute lines $pariout into rank,out out=!trim $out !if $out!=$empty out=!words2items $out !endif !if $rank<$choicecnt dependent=yes !endif !if $rank<$subdim partial=yes !endif status=done score=1 !if $out!=$empty score=0 !endif !if $dependent=yes score=$[$score/2] !endif !if $partial=yes score=$[$score*($rank/$subdim)^2] !endif module_score=$[rint(10*$score^$severity)] wims_module_log=score $module_score/10 !endif wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/answer.phtml0000644000175000017500000000244210340570206026226 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. !if $error!=$empty !exit !endif !if $gettype=vec Usted ha elegido !if $choicecnt<=1 el vector !else los vectores { !endif !for i=1 to $choicecnt !set v=!line $i of $chosen !if $i<$choicecnt ($v), !else ($v) !endif !next i !if $choicecnt>1 } !endif como base de $m_E.

!if $out!=$empty !set v=!item 1 of $out !set v=!line $v of $chosen Pero el vector ($v) no pertenece a $m_E!
!endif !if $dependent=yes Los vectores elegidos son linealmente dependientes. Por tanto no pueden formar una base de $m_E.
!endif !if $partial=yes Esos vectores solamente generan una parte de $m_E.
!endif !else gettype=sys Usted ha elegido el sistema !set system=$chosen !read system como sistema minimal para definir $m_E. !if $out!=$empty !set v=!item 1 of $out No todas las soluciones de la ecuación número $v pertenecen a $m_E!
!endif !if $dependent=yes Las ecuaciones son linealmente dependientes. Por tanto, su sistema no es minimal, le sobran ecuaciones.
!endif !if $partial=yes Su sistema define un subespacio más grande que $m_E.
!endif !endif gettype=vec?

!if $out=$empty and $dependent!=yes and $partial!=yes Esta es una elección excelente. !endif Calificación: $module_score/10. wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/about.phtml0000644000175000017500000000015410340570206026037 0ustar georgeskgeorgesk$module_about

Este ejercicio utiliza !exec pari about para trabajar con vectores y sistemas lineales. wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/present.phtml0000644000175000017500000000076710340570206026417 0ustar georgeskgeorgesk!! Ce fichier présente la question à résoudre. Ejercicio. Sea $m_E el subespacio vectorial de $m_RR$totdim !if $givtype=vec generado por los siguientes vectores.

!set n=!linecnt $basesub2 !for i=1 to $n !set row=!line $i of $basesub2 !next i
v$i =($row)

!else givtype=sys definido por el siguiente sistema lineal homogéneo. !set system=$syssub !read system !endif givtype=vec? wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/.htaccess0000644000175000017500000000001610340570206025452 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/main.phtml0000644000175000017500000000075210340570206025655 0ustar georgeskgeorgesk!header !if $error!=$empty !read msg.phtml !if init_fail iswordof $error !href cmd=renew&worksheet=$worksheet&$module_init_parm Try again. !goto end !else


!endif !endif !! La présentation de l'exercice. !read present.phtml !if $status=waiting !! La forme de réponse !read form.phtml

!href exo_Renew . !else !! L'analyse de réponse !read answer.phtml

!href exo_Again . !if $worksheet=$empty !href exo_Intro . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/var.def0000644000175000017500000000143210340570206025127 0ustar georgeskgeorgesk#This is the variable definition file of the exercice module `test'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim status deny 0 totdim init subdim init comdim deny range1 init range2 init sup1 init sup2 init givtype init gettype init severity init level init basesub deny basesub2 deny syssub deny vec1 deny vec2 deny vecs deny syssize deny syspari deny baspari deny choice reply wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/msg.phtmls0000644000175000017500000000140710340570206025700 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if init_fail iswordof $error Ha ocurrido un error interno de software. No es posible generar el ejercicio solicitado.

Inténtelo otra vez. !exit !endif !if empty_choice iswordof $error La respuesta enviada no tiene ninguna selección. !if $gettype=vec ¿la base es vacía? !else ¡el sistema que define a $m_E es vacío? !endif (¡Esto puede ser un serio erro!)

Por favor, corrija su error. !exit !endif !if double_reply=$error La respuesta enviada a este problema está siendo analizada y puntuada. Si se repiten respuestas, éstas son ignorada. (No usar el botón `Recargar' del navegador para repetir la respuesta) !exit !endif wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/form.phtml0000644000175000017500000000144010340570206025667 0ustar georgeskgeorgesk!! On pose les questions dans ce fichier. D'habitude, c'est par !! des forms. Voici un exemple de conception de la forme de réponse. !form reply !if $gettype=vec Encontrar una base de $m_E entre los vectores mostrados.

!set size=!linecnt $vecs !for i=1 to $size
   !set row=!line $i of $vecs ($row) !next i
Marque los vectores elegidos, !else gettype=sys Escribir un sistema lineal MINIMAL que defina $m_E, eligiendo ecuaciones entre las presentadas aquí debajo. !set system=$vecs !set syschoose=yes !read system Marque las ecuaciones que haya elegido !endif gettype=vec? y a continuación .
wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/INDEX0000644000175000017500000000157110340570206024455 0ustar georgeskgeorgesktitle=Elegir una base # Commencez la description par minuscule! description=encontrar una base de un subespacio entre vectores dados. author=XIAO Gang address=xiao@unice.fr copyright=© 1999- (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.20 # minimal version of wims server under which the module may run wims_version=3.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=U1, U2, H6 # e.g. algebra, analysis, geometry, etc. domain=álgebra, álgebra lineal # Anything you like. keywords=espacio vectorial, subespacio, base, sistema lineal, vector # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/system0000644000175000017500000000172210340570206025130 0ustar georgeskgeorgesk !if $totdim<=3 !for i=1 to $totdim !set x$i=!char $i of xyz !next i !else !for i=1 to $totdim !set x$i=x$i !next i !endif !set syssize=!linecnt $system

!for i=1 to $syssize !set row=!line $i of $system !set started=0 !if $i=1 !endif !if $syschoose=yes !endif !next j !if $started=0 0 !endif !next i
$(m_leftbrace$syssize)   !endif !for j=1 to $totdim !set c=!item $j of $row !if $[$c]=0 !else !set pre= !set c1=!char 1 of $c !set c2=!char 2 to -1 of $c !if $c1=- and + notin $c2 and - notin $c2 !set c=$c2 !set pre=- !endif !if $started=0 or $pre=- !set started=1 !else !set pre=+ !endif !if $c=1 !set c= !endif $pre $c$(x$j)= 0

wims-modules-es-3.64.orig/modules/U1/algebra/basechoice.es/msg.phtml0000644000175000017500000000141310340570206025512 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if init_fail iswordof $error Ha ocurrido un error interno de software. No es posible generar el ejercicio solicitado.

Inténtelo otra vez. !exit !endif !if empty_choice iswordof $error La respuesta enviada no tiene ninguna selección. !if $gettype=vec ¿la base es vacía? !else ¡el sistema que define a $m_E es vacío? !endif (¡Esto puede ser un serio error!)

Por favor, corrija su error. !exit !endif !if double_reply=$error La respuesta enviada a este problema está siendo analizada y puntuada. Las respuestas repetidas son ignoradas. (No usar el botón `Recargar'del navegador para repetir el enío de respuestas.) !exit !endif wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/0000755000175000017500000000000010771742577023771 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/0000755000175000017500000000000010771700406024510 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/solhom.def0000644000175000017500000000730210315754050026471 0ustar georgeskgeorgesk!set title=Solución de sistema homogéneo !goto $wims_read_parm :present Tenemos un sistema lineal homogéneo con incógnitas (x,y,z):

$m_leftbrace4 a11x + a12y + a13z = 0
a21x + a22y + a23z = 0
...
am1x + am2y + am3z = 0

El objetivo es determinar si el vector v1 = ($val11) es una solución del sistema.

Además de cuestiones generales sobre el sistema, puedes preguntar si los siguientes vectores son soluciones:

v2 = ($val12) , v3 = ($val13) , v4 = ($val14) .

!exit :form El vector v1 !formselect ans1 list ??,1,2 prompt ????,es, no es una solución del sistema. !exit :ans Crees que v1 !item $ans1 of es, no es una solución del sistema. !ifval $ans1=$good1 Correcto. !else Respuesta errónea.

De hecho, los vectores v1 y v$[$val15+1] son proporcionales. Como el sistema es homogéneo, v1 y v$[$varl15+1] deben ser ambos soluciones o ninguno ser solución. !endif !exit :init objname=this linear system hint=El conjunto de soluciones de un sistema homogéneo es un espacio vectorial. sh=!shuffle 10 sh1=!item 1 of $sh sh2=!item 2 of $sh n1=!item $sh1 of -5,-4,-3,-2,-1,1,2,3,4,5 n2=!item $sh2 of -5,-4,-3,-2,-1,1,2,3,4,5 range=10 random=random($[2*$range+1])-$range pari_header=rk=0; while(rk==0,v=matrix(1,3,x,y,$random);rk=matrank(v));\ v1=$n1*v; v2=$n2*v;\ rk=0; while(rk<2,v3=matrix(1,3,x,y,$random); rk=matrank(concat(v~,v3~)));\ rk=0; while(rk<2,v4=matrix(1,3,x,y,$random); rk=matrank(concat(v~,v4~))); pariout=!exec pari print(v1)\ print(v2)\ print(v3)\ print(v4) !distribute lines $pariout into v1,v2,v3,v4 val11=!nospace $v1 sh=!shuffle 3 v=!lines $sh of $v2\ $v3\ $v4 val12=!line 1 of $v val13=!line 2 of $v val14=!line 3 of $v val15=!positionof item 1 in $sh good1=!randitem 1,2 m_=!randint 2,5 !if $m_!=3 a_=de una matriz no cuadrada no tiene sentido w_=-1 !else a_=de la matriz de los coeficientes = ?? w_=0 !endif parm1=rank g of the matrix of coefficients\ Rango de la mtriz de los coeficientes\ El rango de la matriz de los coeficientes es igual a ?? val1=2 weight1=0 parm2=determinant of the matrix of coefficients\ Determinante de la matriz de los coeficientes\ El determinante $a_ val2=0 weight2=$w_ parm3=trace of the matrix of coefficients\ Traza de la matriz de los coeficientes\ La traza $a_ val3=!randint -20,20 weight3=$w_ parm4=number of equations\ Número de cuaciones del sistema\ Este sistema tiene = ?? ecuaciones val4=$m_ weight4=0 parm5=integer coefficients\ Son los coeficientes todos enteros\ Los coeficientes del sistema son todos enteros weight5=0 parm6=test of solution v2\ Es v2 una solución\ v2 ?? una solución del sistema val6=no es weight6=0 parm7=test de solution v3\ Es v3 una solución\ v3 ?? una solución del sistema val7=no es weight7=0 parm8=test de solution v4\ Es v4 una solución\ v4 ?? una solución del sistema val8=is not weight8=0 parmcnt=8 anscnt=1 minask=1 weight$[$val15+5]=1 !if $good1=1 val$[$val15+5]=is !endif !exit :info !if $ask iswordof 2 3 and 4 notitemof $gotlist weight$ask=-1 comment=¡Has pedido el valor del determinante/traza de una matriz sin saber si la matriz\ es cuadrada! !endif !exit :final !bound ans1 within 1,2 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/solaff.def0000644000175000017500000001024010315754050026435 0ustar georgeskgeorgesk!set title=Solución afín !goto $wims_read_parm :present Tenemos un sistema lineal con incógnitas (x,y,z):

$m_leftbrace4 a11x + a12y + a13z = b1
a21x + a22y + a23z = b2
...
am1x + am2y + am3z = bm

Sabiendo que el punto v1 = ($val11) es una solución del sistema, el objetivo es determinar si el punto u = ($val10) también es solución.

Además de cuestiones generales sobre el sistema, también puedes preguntar si los puntos siguientes son soluciones del sistema:

v2 = ($val12) , v3 = ($val13) , v4 = ($val14) .

!exit :form El punto u !formselect ans1 list ??,1,2 prompt ????, es, no es una solución del sistema. !exit :ans Piensas que u !item $ans1 of es, no es una solución del sistema. !ifval $ans1=$good1 Correcto. !else Estás equivocado.

De hecho, los puntos u, v1 y v$[$val15+1] están en la misma recta del espacio. Como !if $good1=1 v1 y v$[$val15+1] son soluciones del sistema, todos los puntos de esa recta son también soluciones, en particular u. !else v1 es una solución del sistema v$[$val15+1] nolo es, ningún punto de la línea distinto de v1 puede ser solución del sistema, en particular u no es una solución. !endif !endif !exit :init objname=este sistema lineal hint=El conjunto de soluciones de un sistema lineal es un espacio afín. sh=!shuffle 6 sh1=!item 1 of $sh sh2=!item 2 of $sh n1=!item $sh1 of -3,-2,-1,1,2,3 n2=!item $sh2 of -3,-2,-1,1,2,3 range=5 random=random($[2*$range+1])-$range pari_header=rk=0; while(rk==0,v=matrix(1,3,x,y,$random);rk=matrank(v));\ origin=matrix(1,3,x,y,$random);\ v1=$n1*v+origin; v2=$n2*v+origin;\ rk=0; while(rk<2,v3=matrix(1,3,x,y,$random); rk=matrank(concat(v~,v3~)));\ rk=0; while(rk<2,v4=matrix(1,3,x,y,$random); rk=matrank(concat(v~,v4~)));\ v3=v3+origin; v4=v4+origin pariout=!exec pari print(origin)\ print(v1)\ print(v2)\ print(v3)\ print(v4) !distribute lines $pariout into u,v1,v2,v3,v4 val10=!nospace $u val11=!nospace $v1 sh=!shuffle 3 v=!lines $sh of $v2\ $v3\ $v4 val12=!line 1 of $v val13=!line 2 of $v val14=!line 3 of $v val15=!positionof item 1 in $sh good1=!randitem 1,2 m_=!randint 2,5 !if $m_!=3 a_=de una matriz no cuadrada no tiene sentido w_=-1 !else a_=de la matriz de los coeficientes = ?? w_=0 !endif parm1=rank g of the matrix of coefficients\ Rango de la matriz de los coeficientes\ El rango de la matriz de los coeficientes es igual a ?? val1=2 weight1=0 parm2=determinant of the matrix of coefficients\ Determinante de la matriz de los coeficientes\ El determinante $a_ val2=0 weight2=$w_ parm3=trace of the matrix of coefficients\ Traza de la matriz de los coeficientes\ La traza $a_ val3=!randint -20,20 weight3=$w_ parm4=number of equations\ Número de cuaciones del sistema\ Este sistema tiene m = ?? ecuaciones val4=$m_ weight4=0 parm5=number of independent equations\ Número de cuaciones independientes\ Este sistema tiene 2 ecuaciones independientes weight5=0 parm6=test of solution v2\ ¿Es v2 una solución\ v2 ?? una solución del sistema val6=no es weight6=0 parm7=test de solution v3\ ¿Es v3 un asolución\ v3 ?? una solución del sistema val7=no es weight7=0 parm8=test de solution v4\ ¿Es v4 una solución\ v4 ?? una solución del sistema val8=no es weight8=0 parmcnt=8 anscnt=1 minask=1 weight$[$val15+5]=1 !if $good1=1 val$[$val15+5]=is !endif !exit :info !if $ask iswordof 2 3 and 4 notitemof $gotlist weight$ask=-1 comment=Has preguntado por el determinante o traza de una matriz si saber si\ la matriz es cuadrada. ¿Qué ocurre si la matriz no es cuadrada? !endif !exit :final !bound ans1 within 1,2 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/solnum.def0000644000175000017500000001136010315754050026504 0ustar georgeskgeorgesk!set title=Número de soluciones !goto $wims_read_parm :present Tenemos un sistema lineal de ecuaciones con coeficientes reales

$m_leftbrace4 a11x1 + a12x2 + ... + a1nxn = b1
a21x1 + a22x2 + ... + a2nxn = b2
...
am1x1 + am2x2 + ... + amnxn = bm

Sean A = $m_leftpar4 a11a12... a1n $m_rightpar4 ,   B = $m_leftpar4 a11a12... a1nb1 $m_rightpar4  las matrices de sus coeficientes.
a21a22...a2n a21a22... a2nb2
......
am1am2...amn am1am2... amnbm

El objetivo es determinar cuántas soluciones tiene dicho sistema. !exit :form El sistema tiene !formselect ans1 list ??,1,2,3 prompt ????,\ una única solución, no tiene solución, infinitas soluciones !exit :ans Crees que este sistema tiene !item $ans1 of una única solución, no tiene solución, infinitas soluciones . !ifval $ans1=$good1 Correcto. !else La respuesta es errónea: de hecho, el sistema tiene !item $good1 of una única solución, no tiene solución, infinitas soluciones . !endif !exit :init objname=this linear system hint=El número de soluciones de un sistema no está relacionado directamente con\ el número de ecuaciones. Está determinado con los rangos de las matrices de \ los coeficientes. parm1=number of variables\ Número de incógnitas del sistema\ El sistema tiene n = ?? incógnitas val1=!randint 5,15 weight1=2 parm2=number of equations\ Número de ecuaciones del sistema\ el sistema tiene m = ?? ecuaciones val2=!randint $val1,$val1+2 weight2=1 parm3=homogeneousness\ Es un sistema homegéneo\ El sistema es ?? weight3=1 parm4=Det(A)\ Det(A) = \ Det(A) = ??\ ¡El determinante de una matriz no cuadrada no tiene sentido! weight4=1 parm5=Trace(A)\ Traza(A) = \ Trace(A) = ??\ ¡La traza de una matriz no cuadrada no tiene sentido! val5=!randint -20,20 weight5=0 parm6=Rank(A)\ Rang(A) = \ Rank(A) = ?? val6=!randint $val1-2,$val1 weight6=2 parm7=Det(B)\ Det(B) = \ Det(B) = ??\ ¡El determinante de una matriz no cuadrada no tiene sentido! weight7=1 parm8=Trace(B)\ Traza(B) = \ Trace(B) = ??\ ¡La traza de una matriz no cuadrada no tiene sentido! val8=!randint -20,20 weight8=0 parm9=Rank(B)\ Rang(B) = \ Rank(B) = ?? weight9=2 parmcnt=9 anscnt=1 minask=3 !if random(100)<35 val3=homogeneous val9=$val6 !else val3=non-homogeneous val9=!randint $val6,min($val6+1,$val2) !endif !if $val6<$val1 val4=0 !else val4=$[(randint(19)+1)*(randint(2)*2-1)] !endif !if $val9<$val1+1 val7=0 !else val7=$[(randint(19)+1)*(randint(2)*2-1)] !endif !if $val6<$val9 good1=2 solution=El sistema no tiene solución ya que Rang(B)>Rang(A). !else !if $val6<$val1 good1=3 solution=El sistema tiene infinitas soluciones ya que\ Rang(B) = Rang(A) < el número de incógnitas. !else good1=1 solution=El sistema tiene solución única\ Rang(B) = Rang(A) = número de incógnitas. !endif !endif !ifval $val1!=$val2 weight4=-1 weight5=-1 !endif !ifval $val1+1!=$val2 weight7=-1 weight8=-1 !endif !if $val9>$val1 minask=2 weight6=1 !endif !if $val9>$val6 minask=2 weight1=1 !endif !exit :info !if $ask iswordof 4 5 7 8 and (1 notitemof $gotlist or 2 notitemof $gotlist) weight$ask=-1 comment=Has preguntado por el determinante/traza de una matriz sin saber si\ la matriz es cuadrada. !endif !exit :final !bound ans1 within 1,2,3 default ?? !ifval $ans1=$good1 thisscore=1 !endif !if 4 isitemof $gotlist and $val4!=0 weight6=1 !endif !if 4 isitemof $gotlist and $val4=0 and $val9>=$val1 weight6=1 !endif !if 7 isitemof $gotlist and $val7!=0 weight9=1 !endif !if 7 isitemof $gotlist and $val7=0 and $val6>=$val2-1 weight9=1 !endif !if 3 isitemof $gotlist and $val3=homogeneous !if 6 isitemof $gotlist weight9=1 !else weight6=1 !endif !endif !if 2 isitemof $gotlist and $val6=$val2 weight9=1 !endif !if $minask=2 and 1 notitemof $gotlist and 6 notitemof $gotlist !distribute word 2 2 into weight1,weight6 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/.htaccess0000644000175000017500000000001606634516636026320 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/3int.def0000644000175000017500000000304310315754050026043 0ustar georgeskgeorgesk!set title=Tres enteros I !goto $wims_read_parm :present Sean a,b,c tres número enteros. El objetivo es calcular el valor de $goalname. !exit :form $goalname = !exit :ans La respuesta dada es que $goalname = $ans1. !ifval $ans1=$good1 Correcto. !else Respuesta errónea: $goalname = $good1. !endif !exit :init storename=a,b,c,goalname,range,e1,e2,e3,e4,e5,e6 objname=los números hint=Un método excelente en este caso es el de reducción range=100 a=!randint -$range,$range b=!randint -$range,$range c=!randint -$range,$range goalname=!randitem a,b,c good1=$($goalname) parm1=a+b\ a+b = \ a+b = ?? val1=$[$a+($b)] weight1=1 parm2=b+c\ b+c = \ b+c = ?? val2=$[$b+($c)] weight2=1 parm3=c+a\ c+a = \ c+a = ?? val3=$[$c+($a)] weight3=1 parm4=a-b\ a-b = \ a-b = ?? val4=$[$a-($b)] weight4=1 parm5=b-c\ b-c = \ b-c = ?? val5=$[$b-($c)] weight5=1 parm6=c-a\ c-a = \ c-a = ?? val6=$[$c-($a)] weight6=1 parmcnt=6 anscnt=1 minask=2 !distribute lines 1,1,0\ 0,1,1\ 1,0,1\ 1,-1,0\ 0,1,-1\ -1,0,1 into e1,e2,e3,e4,e5,e6 !exit :info !exit :final gotcnt=!itemcnt $gotlist !if $gotcnt<$minask !exit !endif !bound ans1 between integer -1000,1000 default ?? !for i in $gotlist pmat=!append line $(e$i) to $pmat !next i pmat=!translate $\ $ to ; in $pmat s=!positionof item $goalname in a,b,c diff=!exec pari A=[$pmat]; B=vecextract(A,7-2^($s-1)); print(matrank(A)-matrank(B)) !if $diff<1 speculate=yes !exit !endif !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/zerosol.def0000644000175000017500000000435710315754050026674 0ustar georgeskgeorgesk!set title=Solución nula !goto $wims_read_parm :present Sea el sistema de ecuaciones lineales con coeficientes reales

$m_leftbrace4 a11x1 + a12x2 + ... + a1nxn = b1
a21x1 + a22x2 + ... + a2nxn = b2
...
am1x1 + am2x2 + ... + amnxn = bm

La tarea consiste en saber cuándo (x1,x2,...,xn) = (0,0,...,0) es una solución de este sistema. !exit :form (0,0,...,0) !formselect ans1 list ??,1,2 prompt ????,es,no es una solución del sistema. !exit :ans Tu respuesta ha sido que (0,0,...,0) !item $ans1 of es, no es una solución. !ifval $ans1=$good1 Correcto. !else Respuesta errónea: de hecho, !item $good1 of es, no es una solución. !endif !exit :init objname=este sistema lineal hint= parm1=number of variables\ Número de incógnitas del sistema\ El sistema tiene n = ?? incógnitas val1=!randint 5,15 weight1=0 parm2=number of equations\ Número de ecuaciones del sistema\ elsistema tiene m = ?? ecuaciones val2=!randint $val1,$val1+2 weight2=0 parm3=number of independent equations\ Número de ecuaciones independientes en el sistema\ el sistema tiene m = ?? ecuaciones independientes val3=!randint $val1,$val1+2 weight3=0 parm4=homogeneousness\ Es un sistema homogéneo\ El sistema es ?? weight4=2 parm5=sum of coefficients\ Suma de los coeficientes = \ La suma de los coeficientes es igual a ?? val5=!randint -20,20 weight5=0 parm6=sum of constant terms\ Suma de los términos bi = \ La suma de los términos $m_sumibi = ?? weight6=1 parmcnt=6 anscnt=1 minask=1 !if random(100)<50 val4=homogeneous val6=0 good1=1 !else val4=non-homogeneous val6=!randint -20,20 good1=2 !endif !exit :info !exit :final !bound ans1 within 1,2 default ?? !ifval $ans1=$good1 thisscore=1 !endif !if 6 isitemof $gotlist and $val6!=0 weight4=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/def/3int2.def0000644000175000017500000000262210315754050026127 0ustar georgeskgeorgesk!set title=Tres enteros II !goto $wims_read_parm :present Sean a,b,c tres enteros. El objetivo es calcular el valor de $goalname. !exit :form $goalname = !exit :ans La respuesta dada es que $goalname = $ans1. !ifval $ans1=$good1 Es correct. !else Está equivocado: $goalname = $good1. !endif !exit :init storename=a,b,c,goalname,range,e1,e2,e3,e4 objname=los números hint= range=100 a=!randint -$range,$range b=!randint -$range,$range c=!randint -$range,$range goalname=!randitem a,b,c good1=$($goalname) parm1=a+b+c\ a+b+c = \ a+b+c = ?? val1=$[$a+($b)+($c)] weight1=1 parm2=-a+b+c\ -a+b+c = \ -a+b+c = ?? val2=$[-($a)+($b)+($c)] weight2=1 parm3=a-b+c\ a-b+c = \ a-b+c = ?? val3=$[$a-($b)+($c)] weight3=1 parm4=a+b-c\ a+b-c = \ a+b-c = ?? val4=$[$a+($b)-($c)] weight4=1 parmcnt=4 anscnt=1 minask=2 !distribute lines 1,1,1\ -1,1,1\ 1,-1,1\ 1,1,-1 into e1,e2,e3,e4 !exit :info !exit :final gotcnt=!itemcnt $gotlist !if $gotcnt<$minask !exit !endif !bound ans1 between integer -1000,1000 default ?? !for i in $gotlist pmat=!append line $(e$i) to $pmat !next i pmat=!translate $\ $ to ; in $pmat s=!positionof item $goalname in a,b,c diff=!exec pari A=[$pmat]; B=vecextract(A,7-2^($s-1)); print(matrank(A)-matrank(B)) !if $diff<1 speculate=yes !exit !endif !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/intro.phtml0000644000175000017500000000102610315754050026150 0ustar georgeskgeorgesk!header !read Exindex En un ejercicio tipo diálogo, el ordenador le presenta un problema y usted puede hacerle preguntas para obtener la información precisa que le permita resolverlo. Una vez que haya obtenido la información suficiente, debe dar su respuesta. Si usted hace más preguntas de las estrictamente necesarias, será penalizado en su puntuación.

En este módulo, usted tiene $exototal tipo diálogo sobre sistemas lineales. !read proc/intromenu.phtml !read related.phtml Diálogolo, sistemas lineales, álgebra lineal !tailwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/Exindex0000644000175000017500000000037210315754047025307 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of solaff,solhom,solnum,zerosol,3int,3int2, !set titlelist=!char 1 to -2 of Solución afín,Solución de sistema homogéneo,Número de soluciones,Solución cero,Tres enteros I,Tres enteros II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/Extitles0000644000175000017500000000022610315754047025502 0ustar georgeskgeorgesk3int:Tres enteros I 3int2:Tres enteros II solaff:Solución afín solhom:Solución de sistema homogéneo solnum:Número de soluciones zerosol:Solución cero wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/var.proc0000777000175000017500000000000011263403036030040 2proc/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/proc0000777000175000017500000000000011263403036030023 2../../../adm/dialog.esustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/about.phtml0000644000175000017500000000011210315754047026130 0ustar georgeskgeorgesk$module_about

This exercise uses !exec pari about for computations. wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/main.phtml0000777000175000017500000000000011263403036030632 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/var.def0000777000175000017500000000000011263403036027426 2proc/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/mkindex0000777000175000017500000000000011263403036027652 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/INDEX0000644000175000017500000000103710315754047024551 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Diálogo sobre sistemas lineales description=preguntar cuestiones para obtener información y resolver así un sistema lineal. language=es category=exercise domain=álgebra, álgebra lineal level=H6,U1 keywords=sistema lineal, matriz, rango require=pari scoring=yes copyright=© 2000- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.10 wims_version=3.01 vardef= translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/U1/algebra/diallinsys.es/help.phtml0000777000175000017500000000000011263403036030702 2proc/help.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/0000755000175000017500000000000010340341107024243 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/0000755000175000017500000000000010340341107025001 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/formu2x2.def0000644000175000017500000000361010340341107027145 0ustar georgeskgeorgesk!set title=Fórmula de los elementos en 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr language=en ansorder=r varcnt=14 prevarcnt=13 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, 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))] val12=!rawmath $val6*i^2+$val7*i*j+$val8*j^2+$val9*i+$val10*j+$val11 evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val14=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val15=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val16=$[rint($(tmp0))] val17=[$val13,$val14;$val15,$val16] tmp0=!htmlmath $val12 val18=$(tmp0) replytype1=matrix replyname1=C replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea C=(cij) la matriz 2×2 cuyos elementos están definidos por

cij = $val18.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/divmatr2x2.def0000644000175000017500000000333410340341107027466 0ustar georgeskgeorgesk!set title=Inversa por la derecha 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randitem 1,-1 val7=$[rint($(tmp0))] tmp0=!randitem 1,-1 val8=$[rint($(tmp0))] tmp0=!randint 0, $val6 val9=$[rint($(tmp0))] tmp0=!randint 1, $val6 val10=$[rint($(tmp0))] tmp0=!randint 1, $val6 val11=$[rint($(tmp0))] tmp0=!randint 0, $val6 val12=$[rint($(tmp0))] val13=$[rint($val9*($val7))] val14=$[rint($val10*($val7))] val15=$[rint(-($val11)*($val8))] val16=$[rint($val12*($val8))] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val18=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val19=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val20=$[rint($(tmp0))] val21=$[rint(($val17)*($val13)+($val18)*($val15))] val22=$[rint(($val17)*($val14)+($val18)*($val16))] val23=$[rint(($val19)*($val13)+($val20)*($val15))] val24=$[rint(($val19)*($val14)+($val20)*($val16))] replyname1=a replygood1=$val17 replyname2=b replygood2=$val18 replyname3=c replygood3=$val19 replyname4=d replygood4=$val20 question=!nosubst Determinar la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{a&b\cr c&d} \pmatrix{$val13&$val14\cr$val15&$val16} = \pmatrix{$val21&$val22\cr$val23&$val24} .$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14,15,16,21,22,23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/equat2x2.def0000644000175000017500000000302110340341107027130 0ustar georgeskgeorgesk!set title=Ecuación 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r,r varcnt=11 prevarcnt=10 postvarcnt=0 replycnt=4 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=X tmp0=!randint 2, 8 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -5,-4,-3,-2,+2,+3,+4,+5 val8=$(tmp0) tmp0=!randitem -6,-5,-4,-3,-2,-1,+1,+2,+3,+4,+5,+6 val9=$(tmp0) val10=$[-($val7)/($val9)] val11=$[-($val8)/($val9)] val12=!rawmath $val10*a+$val11 val13=!rawmath $val10*b val14=!rawmath $val10*c val15=!rawmath $val10*d+$val11 replyname1=e replygood1=$val12,a,b,c,d replyname2=f replygood2=$val13,a,b,c,d replyname3=g replygood3=$val14,a,b,c,d replyname4=h replygood4=$val15,a,b,c,d question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que la matriz !insmath A=[a,b;c,d] $() satisface la ecuación !insmath $val7*X^2$val8*X$val9=0 $(). Determinar su inversa !insmath A^-1=[e,f;g,h] $() en función de a,b,c,d.

Más exactamente, cada coeficiente de !insmath A^-1 $() debe ser un polinomio de primer grado en a,b,c,d. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/colrow3x3b.def0000644000175000017500000000504710340341107027474 0ustar georgeskgeorgesk!set title=Columna y fila 3x3 II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r varcnt=30 prevarcnt=29 postvarcnt=0 replycnt=3 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint 1, 19 tmp1=!randitem -1,1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] val12=$[rint(($val6)*($val9))] val13=$[rint(($val6)*($val10))] val14=$[rint(($val6)*($val11))] val15=$[rint(($val7)*($val9))] val16=$[rint(($val7)*($val10))] val17=$[rint(($val7)*($val11))] val18=$[rint(($val8)*($val9))] val19=$[rint(($val8)*($val10))] val20=$[rint(($val8)*($val11))] val21=$[rint($val12)] val22=$[rint($val16)] val23=$[rint($val20)] val12=x val16=y val20=z tmp0=!randint 1, 6 val24=$[rint($(tmp0))] tmp0=!item $val24 of $val12&$val13&$val14,$val12&$val14&$val13,$val13&$val14&$val12, $val13&$val12&$val14,$val14&$val12&$val13,$val14&$val13&$val12 val25=$(tmp0) tmp0=!item $val24 of $val15&$val16&$val17,$val15&$val17&$val16,$val16&$val17&$val15, $val16&$val15&$val17,$val17&$val15&$val16,$val17&$val16&$val15 val26=$(tmp0) tmp0=!item $val24 of $val18&$val19&$val20,$val18&$val20&$val19,$val19&$val20&$val18, $val19&$val18&$val20,$val20&$val18&$val19,$val20&$val19&$val18 val27=$(tmp0) tmp0=!randint 1, 6 val28=$[rint($(tmp0))] tmp0=!item $val28 of $val25,$val25,$val26,$val26,$val27,$val27 val29=$(tmp0) tmp0=!item $val28 of $val26,$val27,$val25,$val27,$val25,$val26 val30=$(tmp0) tmp0=!item $val28 of $val27,$val26,$val27,$val25,$val26,$val25 val31=$(tmp0) replyname1=x replygood1=$val21 replyname2=y replygood2=$val22 replyname3=z replygood3=$val23 question=!nosubst Tenemos el siguiente producto de matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{$val29\cr $val30\cr $val31}. $$ ¿Cuáles son los valores de $x$, $y$ y $z$? !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=29,30,31 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/Exemplematrice.def0000644000175000017500000000260210340341107030425 0ustar georgeskgeorgesk!set title=Matriz ejemplo 2x2 !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=10000 ansorder=r,r,r,r varcnt=3 prevarcnt=2 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=3 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint -20, 20 val6=$[rint($(tmp0))] tmp0=!randint -20, 20 val7=$[rint($(tmp0))] replyname1=a replygood1=?analyze 8 replyname2=b replygood2=?analyze 9 replyname3=c replygood3=?analyze 10 replyname4=d replygood4=?analyze 11 question=!nosubst Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ tal que traza$(A)=$val6$ y $\det(A)=$val7$, y que ninguno de los elementos $a,b,c,d$ sea cero. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !ifval abs(($val8)*($val9)*($val10)*($val11))>0.01 condtest1=1 !else condtest1=0 !endif condname1=elements non-zero !ifval $val8+$val11=$val6 condtest2=1 !else condtest2=0 !endif condname2=Trace=$val6 !ifval ($val8)*($val11)-($val9)*($val10)=$val7 condtest3=1 !else condtest3=0 !endif condname3=Determinant=$val7 !exit :stat vsavelist=6,7,8,9,10,11 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/matop.def0000644000175000017500000000424210340341107026603 0ustar georgeskgeorgesk!set title=Operaciones matriciales !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,c,c,c,c varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=0 choicecnt=5 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=Sí val7=No val8=$val6,$val7 tmp0=!randitem 3,4 val9=$[rint($(tmp0))] tmp0=!randitem 3,4 val10=$[rint($(tmp0))] tmp0=!randitem 3,4 val11=$[rint($(tmp0))] tmp0=!randitem 3,4 val12=$[rint($(tmp0))] t_=!replace internal \( by ( in print(matrix($val10,$val9,x,y,random\(19)-10)) tmp0=!exec pari $t_ val13=$(tmp0) t_=!replace internal \( by ( in print(matrix($val12,$val11,x,y,random\(19)-10)) tmp0=!exec pari $t_ val14=$(tmp0) !ifval $val9=$val12 val15=$val6 !else val15=$val7 !endif !ifval $val11=$val10 val16=$val6 !else val16=$val7 !endif !ifval $val9=$val11 and $val10=$val12 val17=$val6 !else val17=$val7 !endif !ifval $val9=$val10 val18=$val6 !else val18=$val7 !endif !ifval $val11=$val12 val19=$val6 !else val19=$val7 !endif choicename1=AB choicegood1=$val15 choicebad1=$val8 choicename2=BA choicegood2=$val16 choicebad2=$val8 choicename3=A+B choicegood3=$val17 choicebad3=$val8 choicename4=A2 choicegood4=$val18 choicebad4=$val8 choicename5=B2 choicegood5=$val19 choicebad5=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar dos matrices

!insmath A = [$val13] , B = [$val14] $() .

¿tiene sentido? !insmath AB $() !read oef/embed.phtml choice 1 $()
¿tiene sentido? !insmath BA $() !read oef/embed.phtml choice 2 $()
¿tiene sentido? !insmath A+B $() !read oef/embed.phtml choice 3 $()
¿tiene sentido? !insmath A^2 $() !read oef/embed.phtml choice 4 $()
¿tiene sentido? !insmath B^2 $() !read oef/embed.phtml choice 5 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14 embedcnt=5 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/diagmult2x2.def0000644000175000017500000000375610340341107027636 0ustar georgeskgeorgesk!set title=Multiplicación diagonal 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=c varcnt=18 prevarcnt=17 postvarcnt=0 replycnt=0 choicecnt=1 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint -9, 9 val6=$[rint($(tmp0))] tmp0=!randint -9, 9 val7=$[rint($(tmp0))] tmp0=!randint -9, 9 val8=$[rint($(tmp0))] tmp0=!randint -9, 9 val9=$[rint($(tmp0))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 1,2 val12=$[rint($(tmp0))] tmp0=!randitem 1,2 val13=$[rint($(tmp0))] tmp0=!randitem 1,2 val14=$[rint($(tmp0))] tmp0=!randitem -2*($val10),-($val10),$val10,2*($val10) val15=$[rint($(tmp0))] tmp0=!randitem -2*($val11),-($val11),$val11,2*($val11) val16=$[rint($(tmp0))] !ifval $val13=2 and $val14=1 val17=$[rint($val10*($val6)+($val15))] !else val17=$[rint($val10*($val6))] !endif !ifval $val13=2 and $val14=2 val18=$[rint($val11*($val9)+($val16))] !else val18=$[rint($val11*($val9))] !endif !ifval $val12=1 val19=$[rint($val10*($val7))] !else val19=$[rint($val11*($val7))] !endif !ifval $val12=1 val20=$[rint($val11*($val8))] !else val20=$[rint($val10*($val8))] !endif !ifval $val12=1 val21=D\pmatrix{$val6&$val7\cr $val8&$val9} !else val21= \pmatrix{$val6&$val7\cr $val8&$val9}D !endif !ifval $val13=1 val22=Yes !else val22=No !endif choicename1=La réponse choicegood1=$val22 choicebad1=Sí,No question=!nosubst ¿Existe una matriz diagonal $D$ tal que $$$val21=\pmatrix{$val17&$val19\cr $val20&$val18}?$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,19,20,21 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/formu3x3.def0000644000175000017500000000506010340341107027150 0ustar georgeskgeorgesk!set title=Fórmula de los elementos en 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr language=es ansorder=r varcnt=19 prevarcnt=18 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, 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))] val12=!rawmath $val6*i^2+$val7*i*j+$val8*j^2+$val9*i+$val10*j+$val11 evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val14=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val15=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val16=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val17=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val18=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val19=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val20=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val21=$[rint($(tmp0))] val22=[$val13,$val14,$val15;$val16,$val17,$val18;$val19,$val20,$val21] tmp0=!htmlmath $val12 val23=$(tmp0) replytype1=matrix replyname1=C replygood1=$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea C=(cij) la matriz 3×3 cuyos elementos están definidos por

cij = $val23.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/.htaccess0000644000175000017500000000001610340341107026574 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/traceA2.def0000644000175000017500000000175310340341107026750 0ustar georgeskgeorgesk!set title=Traza de A^2 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=4 prevarcnt=3 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint -20, 20 val6=$[rint($(tmp0))] tmp0=!randint -20, 20 val7=$[rint($(tmp0))] val8=$[rint(($val7)^2-2*($val6))] replyname1=Traze de A^2 replygood1=$val8 question=!nosubst Sea $A=\pmatrix{a&b\cr c&d\cr}$ una matriz con determinante $$val6$ y traza $$val7$. ¿Cuál es la traza de la matriz $A^2$? hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :hint $()Hay que pensar en el teorema de Caylay-Hamilton! $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/colrow2x3.def0000644000175000017500000000411610340341107027325 0ustar georgeskgeorgesk!set title=Columna y fila 2x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r varcnt=22 prevarcnt=21 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint 1, 19 tmp1=!randitem -1,1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] val11=$[rint(($val6)*($val8))] val12=$[rint(($val6)*($val9))] val13=$[rint(($val6)*($val10))] val14=$[rint(($val7)*($val8))] val15=$[rint(($val7)*($val9))] val16=$[rint(($val7)*($val10))] val17=$[rint($val11)] val18=$[rint($val15)] val11=x val15=y tmp0=!randint 1, 6 val19=$[rint($(tmp0))] tmp0=!item $val19 of $val11&$val12&$val13,$val11&$val13&$val12,$val12&$val13&$val11, $val12&$val11&$val13,$val13&$val11&$val12,$val13&$val12&$val11 val20=$(tmp0) tmp0=!item $val19 of $val14&$val15&$val16,$val14&$val16&$val15,$val15&$val16&$val14, $val15&$val14&$val16,$val16&$val14&$val15,$val16&$val15&$val14 val21=$(tmp0) tmp0=!randint 1, 2 val22=$[rint($(tmp0))] tmp0=!item $val22 of $val20,$val21 val23=$(tmp0) tmp0=!item $val22 of $val21,$val20 val24=$(tmp0) replyname1=x replygood1=$val17 replyname2=y replygood2=$val18 question=!nosubst Tenemos el siguiente producto de matrices $$\pmatrix{a\cr b}\pmatrix{s& t& u} =\pmatrix{$val23\cr $val24}. $$ ¿Cuáles son los valores de $x$, $y$ ? hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :hint $()¿Existe una proporcionalidad entre las columnsa de la matriz? $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/quad2x2.def0000644000175000017500000000335010340341107026750 0ustar georgeskgeorgesk!set title=Solución cuadrática 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r,r varcnt=8 prevarcnt=7 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=2 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=A val7=I tmp0=!randint 2, 8 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 8 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 8 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] !ifval $val9>0 val11=+$val9 !else val11=$val9 !endif !ifval $val10>0 val12=+$val10 !else val12=$val10 !endif replyname1=a replygood1=?analyze 13 replyname2=b replygood2=?analyze 14 replyname3=c replygood3=?analyze 15 replyname4=d replygood4=?analyze 16 question=!nosubst Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ que verifique la ecuación $$val6^2$val11$val6$val12$val7=0$, donde los coeficientes $a, b, c, d$ son números enteros no nulos. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !ifval $val13+($val16)=-($val9) and ($val13)*($val16)-($val14)*($val15)=$val10 condtest1=1 !else condtest1=0 !endif condname1=A verifica la ecuación !ifval $val13*($val14)*($val15)*($val16)!=0 and floor($val13)=$val13 and floor($val14)=$val14 and floor($val15)=$val15 and floor($val16)=$val16 condtest2=1 !else condtest2=0 !endif condname2=a,b,c,d son enteros no nulos !exit :stat vsavelist=6,7,9,10,11,12,13,14,15,16 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/multsize.def0000644000175000017500000000341410340341107027337 0ustar georgeskgeorgesk!set title=Tamaño y multiplicación !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=19 prevarcnt=18 postvarcnt=0 replycnt=2 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=Sí val7=No val8=$val6,$val7 tmp0=!randint 2, 6 val9=$[rint($(tmp0))] tmp0=!randint 2, 6 val10=$[rint($(tmp0))] tmp0=!randint 2, 6 val11=$[rint($(tmp0))] val12=$[rint($val9)] t_=!replace internal \( by ( in print(matrix($val10,$val9,x,y,random\(9)-4)) tmp0=!exec pari $t_ val13=$(tmp0) t_=!replace internal \( by ( in print(matrix($val12,$val11,x,y,random\(9)-4)) tmp0=!exec pari $t_ val14=$(tmp0) t_=!replace internal \( by ( in print([$val13]*[$val14]) tmp0=!exec pari $t_ val15=$(tmp0) tmp0=!randitem 1,2 val16=$[rint($(tmp0))] tmp0=!item $val16 of B,A val17=$(tmp0) !if $val16=1 val18=A = [$val13] val19=$[rint($val12)] val20=$[rint($val11)] !else val18=B = [$val14] val19=$[rint($val10)] val20=$[rint($val9)] !endif replyname1=Número de filas replygood1=$val19 replyname2=Número de columnas replygood2=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar dos matrices !insmath A $() y !insmath B $(), con

!insmath $val18 $() ,y !insmath AB = [$val15] $() .

¿Cuál es el tamaño (orden) de !insmath $val17 $() ?

Respusta: !insmath $val17 $() tiene !read oef/embed.phtml reply 1,2 $() filas y !read oef/embed.phtml reply 2,2 $() columnas. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/dettrace3x3.def0000644000175000017500000000301310340341107027607 0ustar georgeskgeorgesk!set title=Determinante y traza 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=13 prevarcnt=12 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(8)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val13=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val14=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val15=$[rint($(tmp0))] val16=$[rint(($val7)+($val11)+($val15))] val17=$[rint(($val7)*($val11)*($val15)-($val7)*($val12)*($val14) +($val8)*($val12)*($val13)-($val8)*($val10)*($val15) +($val9)*($val10)*($val14)-($val9)*($val11)*($val13))] replyname1=Traza(A) replygood1=$val16 replyname2=Det(A) replygood2=$val17 question=!nosubst Calcular el determinante y la traza de la matriz $$ A=\pmatrix{$val7&$val8&$val9\cr $val10&$val11&$val12\cr $val13&$val14&$val15}. $$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/mult3.def0000644000175000017500000000535310340341107026533 0ustar georgeskgeorgesk!set title=Multiplicación de 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,r,r varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=2 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=!shuffle 10 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$[rint($(tmp0)+5)] tmp0=!item 2 of $val6 val8=$[rint($(tmp0)+5)] tmp0=!item 3 of $val6 val9=$[rint($(tmp0)+5)] tmp0=!item 4 of $val6 val10=$[rint($(tmp0)+5)] val11=ABC,ACB,BAC,BCA,CAB,CBA tmp0=!randint 1, 6 val12=$[rint($(tmp0))] tmp0=!item $val12 of $val11 val13=$(tmp0) tmp0=!item $val12 of $val7,$val7,$val8,$val9,$val8,$val9 val14=$[rint($(tmp0))] tmp0=!item $val12 of $val8,$val8,$val9,$val10,$val9,$val10 val15=$[rint($(tmp0))] tmp0=!item $val12 of $val8,$val9,$val7,$val7,$val9,$val8 val16=$[rint($(tmp0))] tmp0=!item $val12 of $val9,$val10,$val8,$val8,$val10,$val9 val17=$[rint($(tmp0))] tmp0=!item $val12 of $val9,$val8,$val9,$val8,$val7,$val7 val18=$[rint($(tmp0))] tmp0=!item $val12 of $val10,$val9,$val10,$val9,$val8,$val8 val19=$[rint($(tmp0))] tmp0=!randitem 1,2 val20=$[rint($(tmp0))] tmp0=!randitem 1,2 val21=$[rint($(tmp0))] replyname1=Rows of the product replygood1=$val7 replyname2=Columns of the product replygood2=$val10 choicename1=The multiplication choicegood1=$val13 choicebad1=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos 3 matrices, !insmath A $(), !insmath B $(), !insmath C $(), cuyas dimensiones son las que siguen:

Matrix$m_A$m_B$m_C !if $val20=1 $()
Dimension$val14×$val15 $val16×$val17 $val18×$val19 !else $()
Rows$val14 $val16 $val18
Columns$val15 $val17 $val19 !endif $()

Elija un orden de multiplicación de esas tres matrices que tenga sentido. !read oef/embed.phtml choice 1 $()

En ese caso, ¿cuál es la dimensión de la matriz producto? !if $val21=1 $() !read oef/embed.phtml reply 1,3 $() × !read oef/embed.phtml reply 2,3 $() !else $() !read oef/embed.phtml reply 1,3 $() rows and !read oef/embed.phtml reply 2,3 $() columns. !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,17,18,19,20,21 embedcnt=5 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/formu3x3v.def0000644000175000017500000000516010340341107027337 0ustar georgeskgeorgesk!set title=Fórmula para los elementos en 3x3 II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr language=es ansorder=r varcnt=14 prevarcnt=13 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, 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))] val9=!rawmath $val6*i+$val7*j+$val8 evaltmp=$val9 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val10=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val11=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val12=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val14=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val15=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val16=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val17=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val18=$[rint($(tmp0))] replytype1=default replyname1=f(i,j) replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea

C = (ci,j) = ( $val10$val11$val12 )
$val13$val14$val15
$val16$val17$val18

una matriz 3×3 cuyos elemntos ci,j están definidos por la fórmula lineal ci,j=f(i,j)=ai+bj+c.

Determinar la función f(i,j). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,12,13,14,15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/colrow3x3.def0000644000175000017500000000506710340341107027334 0ustar georgeskgeorgesk!set title=Columna y fila 3x3 I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r varcnt=28 prevarcnt=27 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint 1, 19 tmp1=!randitem -1,1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] val12=$[rint(($val6)*($val9))] val13=$[rint(($val6)*($val10))] val14=$[rint(($val6)*($val11))] val15=$[rint(($val7)*($val9))] val16=$[rint(($val7)*($val10))] val17=$[rint(($val7)*($val11))] val18=$[rint(($val8)*($val9))] val19=$[rint(($val8)*($val10))] val20=$[rint(($val8)*($val11))] val21=$[rint($val12)] val22=$[rint($val16)] val12=x val16=y tmp0=!randint 1, 6 val23=$[rint($(tmp0))] tmp0=!item $val23 of $val12&$val13&$val14,$val12&$val14&$val13,$val13&$val14&$val12, $val13&$val12&$val14,$val14&$val12&$val13,$val14&$val13&$val12 val24=$(tmp0) tmp0=!item $val23 of $val15&$val16&$val17,$val15&$val17&$val16,$val16&$val17&$val15, $val16&$val15&$val17,$val17&$val15&$val16,$val17&$val16&$val15 val25=$(tmp0) tmp0=!item $val23 of $val18&$val19&$val20,$val18&$val20&$val19,$val19&$val20&$val18, $val19&$val18&$val20,$val20&$val18&$val19,$val20&$val19&$val18 val26=$(tmp0) tmp0=!randint 1, 6 val27=$[rint($(tmp0))] tmp0=!item $val27 of $val24,$val24,$val25,$val25,$val26,$val26 val28=$(tmp0) tmp0=!item $val27 of $val25,$val26,$val24,$val26,$val24,$val25 val29=$(tmp0) tmp0=!item $val27 of $val26,$val25,$val26,$val24,$val25,$val24 val30=$(tmp0) replyname1=x replygood1=$val21 replyname2=y replygood2=$val22 question=!nosubst Tenemos el siguiente producto de matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{$val28\cr $val29\cr $val30}. $$ ¿Cuáles son los valores de $x$, $y$ ? hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :hint $()¿Exixte una proporcionalidad entre las filas de la matriz? $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=28,29,30 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/dettrace2x2.def0000644000175000017500000000207410340341107027613 0ustar georgeskgeorgesk!set title=Determinante y traza 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=8 prevarcnt=7 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] val11=$[rint(($val7)+($val10))] val12=$[rint(($val7)*($val10)-($val8)*($val9))] replyname1=Traza(A) replygood1=$val11 replyname2=Det(A) replygood2=$val12 question=!nosubst Calcular el determinante y la traza de la matriz $$ A=\pmatrix{$val7&$val8\cr $val9&$val10}. $$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/detrank.def0000644000175000017500000000511510340341107027113 0ustar georgeskgeorgesk!set title=Determinante y rango !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,r varcnt=36 prevarcnt=35 postvarcnt=0 replycnt=1 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 val6=det val7=rango tmp0=!randint 5, 20 val8=$[rint($(tmp0))] tmp0=!randint $val8/2, $val8-1 val9=$[rint($(tmp0))] tmp0=!shuffle 20 val10=$(tmp0) tmp0=!item 1 of $val10 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!item 2 of $val10 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] val13=$[rint($val11*$val12)] tmp0=!randitem 1,2 val14=$[rint($(tmp0))] tmp0=!item $val14 of A,B val15=$(tmp0) tmp0=!item $val14 of B,A val16=$(tmp0) tmp0=!item $val14 of 1,2 val17=$(tmp0) tmp0=!item $val14 of 2,1 val18=$(tmp0) val19=$val6(\($val15))=$val11 val20=$val6(\($val16))=$val12 val21=$val6(\($val15))=0 val22=$val6(\($val16))=0 val23=$val7(\($val15))=$val8 val24=$val7(\($val16))=$val8 val25=$val7(\($val15))=$val9 val26=$val7(\($val16))=$val9 val27=$val7(\(AB)) val28=$val6(\(AB)) val29== val30=<> val31=< val32=> tmp=!trim $val19,$val24,$val27,$val29,$val8 $val19,$val24,$val28,$val30,0 $val19,$val26,$val27,$val29,$val9 $val19,$val26,$val28,$val29,0 $val19,$val20,$val27,$val29,$val8 $val21,$val24,$val27,$val31,$val8 $val21,$val24,$val28,$val29,0 $val23,$val26,$val27,$val29,$val9 $val23,$val26,$val28,$val29,0 $val21,$val20,$val27,$val31,$val8 $val23,$val24,$val28,$val30,0 val33=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val33 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val33=$(tmp0) tmp0=!item $val17 of $val33 val34=$(tmp0) tmp0=!item $val18 of $val33 val35=$(tmp0) tmp0=!item 3 of $val33 val36=$(tmp0) tmp0=!item 4 of $val33 val37=$(tmp0) tmp0=!item 5 of $val33 val38=$(tmp0) val39=$val29,$val31,$val32,$val30 replyname1=the value replygood1=$val38 choicename1=$val36 is choicegood1=$val37 choicebad1=$val39 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean !insmath A $() y !insmath B $() dos matrices $val8×$val8, tales que $val34 y $val35. Entonces

$val36 !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 1,5 $().

(La respuesta debe ser lo más ajustada posible.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,34,35,36 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/def/divmatl2x2.def0000644000175000017500000000333610340341107027462 0ustar georgeskgeorgesk!set title=inversa por la izquierda 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randitem 1,-1 val7=$[rint($(tmp0))] tmp0=!randitem 1,-1 val8=$[rint($(tmp0))] tmp0=!randint 0, $val6 val9=$[rint($(tmp0))] tmp0=!randint 1, $val6 val10=$[rint($(tmp0))] tmp0=!randint 1, $val6 val11=$[rint($(tmp0))] tmp0=!randint 0, $val6 val12=$[rint($(tmp0))] val13=$[rint($val9*($val7))] val14=$[rint($val10*($val7))] val15=$[rint(-($val11)*($val8))] val16=$[rint($val12*($val8))] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val18=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val19=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val20=$[rint($(tmp0))] val21=$[rint(($val13)*($val17)+($val14)*($val19))] val22=$[rint(($val13)*($val18)+($val14)*($val20))] val23=$[rint(($val15)*($val17)+($val16)*($val19))] val24=$[rint(($val15)*($val18)+($val16)*($val20))] replyname1=a replygood1=$val17 replyname2=b replygood2=$val18 replyname3=c replygood3=$val19 replyname4=d replygood4=$val20 question=!nosubst Determinar la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{$val13&$val14\cr$val15&$val16} \pmatrix{a&b\cr c&d} = \pmatrix{$val21&$val22\cr$val23&$val24} .$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14,15,16,21,22,23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/intro.phtml0000644000175000017500000000027510340341106026447 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene $exototal ejercicios de varios estilos,sobre matrices. !read oef/intromenu.phtml !read related.phtml matrices, determinante, álgebra lineal !tailwims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/Exindex0000644000175000017500000000135110340341107025572 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of colrow2x3,colrow3x3,colrow3x3b,detrank,dettrace2x2,dettrace3x3,equat2x2,formu2x2,formu3x3,formu3x3v,divmatr2x2,divmatl2x2,Exemplematrice,mult3,diagmult2x2,matop,quad2x2,multsize,traceA2, !set titlelist=!char 1 to -2 of Columna y fila 2x3,Columna y fila 3x3 I,Columna y fila 3x3 II,Determinante y rango,Determinante y traza 2x2,Determinante y traza 3x3,Ecuación 2x2,Fórmula de los elementos en 2x2,Fórmula de los elementos en 3x3,Fórmula para los elementos en 3x3 II,Inversa por la derecha 2x2,inversa por la izquierda 2x2,Matriz ejemplo 2x2,Multiplicación de 3,Multiplicación diagonal 2x2,Operaciones matriciales,Solución cuadrática 2x2,Tamaño y multiplicación,Traza de A^2 2x2, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/Extitles0000644000175000017500000000120510340341107025765 0ustar georgeskgeorgeskExemplematrice:Matriz ejemplo 2x2 colrow2x3:Columna y fila 2x3 colrow3x3:Columna y fila 3x3 I colrow3x3b:Columna y fila 3x3 II detrank:Determinante y rango dettrace2x2:Determinante y traza 2x2 dettrace3x3:Determinante y traza 3x3 diagmult2x2:Multiplicación diagonal 2x2 divmatl2x2:inversa por la izquierda 2x2 divmatr2x2:Inversa por la derecha 2x2 equat2x2:Ecuación 2x2 formu2x2:Fórmula de los elementos en 2x2 formu3x3:Fórmula de los elementos en 3x3 formu3x3v:Fórmula para los elementos en 3x3 II matop:Operaciones matriciales mult3:Multiplicación de 3 multsize:Tamaño y multiplicación quad2x2:Solución cuadrática 2x2 traceA2:Traza de A^2 2x2 wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/var.proc0000644000175000017500000000115110340341107025716 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/about.phtml0000644000175000017500000000005310340341107026421 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/main.phtml0000644000175000017500000000003110340341106026226 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/INDEX0000644000175000017500000000107410340341106025036 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Ejercicios con matrices description=colección de ejercicios sobre matrices. language=es category=exercise, oef domain=álgebra, álgebra lineal level=H5,H6,U1,U2 keywords=álgebra lineal, espacio vectorial, dimensión, matriz, rango, determinante, traza require= scoring=yes copyright=© 1998-1999- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.30 wims_version=3.37f vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/0000755000175000017500000000000010340341106025031 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/multsize.oef0000644000175000017500000000153610340341106027405 0ustar georgeskgeorgesk\title {Tamaño y multiplicación} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Sí} \text{no=No} \text{bad=\yes,\no} \integer{c1=random(2..6)} \integer{r1=random(2..6)} \integer{c2=random(2..6)} \integer{r2=\c1} \text{A=pari(print(matrix(\r1,\c1,x,y,random\(9)-4)))} \text{B=pari(print(matrix(\r2,\c2,x,y,random\(9)-4)))} \text{C=pari(print([\A]*[\B]))} \integer{o=random(1,2)} \text{ask=item(\o,B,A)} \if{\o=1}{ \text{show=A = [\A]} \integer{rrow=\r2} \integer{rcol=\c2} }{ \text{show=B = [\B]} \integer{rrow=\r1} \integer{rcol=\c1} } \statement{Considerar dos matrices \(A) y \(B), con

\(\show) ,y \(AB = [\C]) .

¿Cuál es el tamaño (orden) de \(\ask) ?

Respusta: \(\ask) tiene \embed{reply 1,2} filas y \embed{reply 2,2} columnas. } \answer{Número de filas}{\rrow} \answer{Número de columnas}{\rcol}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/quad2x2.oef0000644000175000017500000000144210340341106027013 0ustar georgeskgeorgesk\title {Solución cuadrática 2x2} \language{es} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \text{X=A} \text{I=I} \integer{a=random(2..8)*random(-1,1)} \integer{b=random(2..8)*random(-1,1)} \integer{c=random(1..8)*random(-1,1)} \text{bb=\b>0?+\b:\b} \text{cc=\c>0?+\c:\c} \statement{Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ que verifique la ecuación $\X^2\bb\X\cc\I=0$, donde los coeficientes $a, b, c, d$ son números enteros no nulos. } \answer {a} {\A} \answer {b} {\B} \answer {c} {\C} \answer {d} {\D} \condition{A verifica la ecuación} {\A+(\D)=-(\b) and (\A)*(\D)-(\B)*(\C)=\c} \condition{a,b,c,d son enteros no nulos} {\A*(\B)*(\C)*(\D)!=0 and floor(\A)=\A and floor(\B)=\B and floor(\C)=\C and floor(\D)=\D}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/dettrace2x2.oef0000644000175000017500000000076010340341106027656 0ustar georgeskgeorgesk\title {Determinante y traza 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{a11=random(-\range..\range)} \integer{a12=random(-\range..\range)} \integer{a21=random(-\range..\range)} \integer{a22=random(-\range..\range)} \integer{trace=(\a11)+(\a22)} \integer{deter=(\a11)*(\a22)-(\a12)*(\a21)} \statement{Calcular el determinante y la traza de la matriz $$ A=\pmatrix{\a11&\a12\cr \a21&\a22}. $$} \answer {Traza(A)}{\trace} \answer {Det(A)} {\deter} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/traceA2.oef0000644000175000017500000000064610340341106027013 0ustar georgeskgeorgesk\title {Traza de A^2 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \computeanswer{yes} \integer{detA=random(-20..20)} \integer{trA=random(-20..20)} \integer{tr2=(\trA)^2-2*(\detA)} \statement{Sea $A=\pmatrix{a&b\cr c&d\cr}$ una matriz con determinante $\detA$ y traza $\trA$. ¿Cuál es la traza de la matriz $A^2$?} \hint {Hay que pensar en el teorema de Caylay-Hamilton!} \answer {Traze de A^2} {\tr2}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/detrank.oef0000644000175000017500000000314610340341106027160 0ustar georgeskgeorgesk\title {Determinante y rango} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{Det=det} \text{Rank=rango} \integer{size=random(5..20)} \integer{r2=random(\size/2..\size-1)} \text{ddd=shuffle(20)} \integer{det1=item(1,\ddd)*random(-1,1)} \integer{det2=item(2,\ddd)*random(-1,1)} \integer{detp=\det1*\det2} \integer{o=random(1,2)} \text{A=item(\o,A,B)} \text{B=item(\o,B,A)} \text{t1=item(\o,1,2)} \text{t2=item(\o,2,1)} \text{detA=\Det(\(\A))=\det1} \text{detB=\Det(\(\B))=\det2} \text{detA0=\Det(\(\A))=0} \text{detB0=\Det(\(\B))=0} \text{rankA1=\Rank(\(\A))=\size} \text{rankB1=\Rank(\(\B))=\size} \text{rankA2=\Rank(\(\A))=\r2} \text{rankB2=\Rank(\(\B))=\r2} \text{askrankAB=\Rank(\(AB))} \text{askdetAB=\Det(\(AB))} \text{eq==} \text{ne=<>} \text{lt=<} \text{gt=>} \matrix{data= \detA,\rankB1,\askrankAB,\eq,\size \detA,\rankB1,\askdetAB,\ne,0 \detA,\rankB2,\askrankAB,\eq,\r2 \detA,\rankB2,\askdetAB,\eq,0 \detA,\detB,\askrankAB,\eq,\size \detA0,\rankB1,\askrankAB,\lt,\size \detA0,\rankB1,\askdetAB,\eq,0 \rankA1,\rankB2,\askrankAB,\eq,\r2 \rankA1,\rankB2,\askdetAB,\eq,0 \detA0,\detB,\askrankAB,\lt,\size \rankA1,\rankB1,\askdetAB,\ne,0 } \text{data=randomrow(\data)} \text{cond1=item(\t1,\data)} \text{cond2=item(\t2,\data)} \text{ask=item(3,\data)} \text{good1=item(4,\data)} \text{val=item(5,\data)} \text{bad=\eq,\lt,\gt,\ne} \statement{Sean \(A) y \(B) dos matrices \size×\size, tales que \cond1 y \cond2. Entonces

\ask \embed{choice 1} \embed{reply 1,5}.

(La respuesta debe ser lo más ajustada posible.) } \choice{\ask is}{\good1}{\bad} \reply{the value}{\val}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/diagmult2x2.oef0000644000175000017500000000176110340341106027673 0ustar georgeskgeorgesk\title {Multiplicación diagonal 2x2} \language{es} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a11=random(-9..9)} \integer{a12=random(-9..9)} \integer{a21=random(-9..9)} \integer{a22=random(-9..9)} \integer{c1=random(1..19)*random(-1,1)} \integer{c2=random(1..19)*random(-1,1)} \integer{side=random(1,2)} # left, right \integer{anstype=random(1,2)} \integer{ele=random(1,2)} \integer{add1=random(-2*(\c1),-(\c1),\c1,2*(\c1))} \integer{add2=random(-2*(\c2),-(\c2),\c2,2*(\c2))} \integer{b11=\anstype=2 and \ele=1?\c1*(\a11)+(\add1):\c1*(\a11)} \integer{b22=\anstype=2 and \ele=2?\c2*(\a22)+(\add2):\c2*(\a22)} \integer{b12=\side=1?\c1*(\a12):\c2*(\a12)} \integer{b21=\side=1?\c2*(\a21):\c1*(\a21)} \text{mult=\side=1?D\pmatrix{\a11&\a12\cr \a21&\a22}: \pmatrix{\a11&\a12\cr \a21&\a22}D} \text{good=\anstype=1?Yes:No} \statement{¿Existe una matriz diagonal $D$ tal que $$\mult=\pmatrix{\b11&\b12\cr \b21&\b22}?$$} \choice{La réponse}{\good}{Sí,No}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/dettrace3x3.oef0000644000175000017500000000150310340341106027654 0ustar georgeskgeorgesk\title {Determinante y traza 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=8} \integer{a11=random(-\range..\range)} \integer{a12=random(-\range..\range)} \integer{a13=random(-\range..\range)} \integer{a21=random(-\range..\range)} \integer{a22=random(-\range..\range)} \integer{a23=random(-\range..\range)} \integer{a31=random(-\range..\range)} \integer{a32=random(-\range..\range)} \integer{a33=random(-\range..\range)} \integer{trace=(\a11)+(\a22)+(\a33)} \integer{deter=(\a11)*(\a22)*(\a33)-(\a11)*(\a23)*(\a32) +(\a12)*(\a23)*(\a31)-(\a12)*(\a21)*(\a33) +(\a13)*(\a21)*(\a32)-(\a13)*(\a22)*(\a31)} \statement{Calcular el determinante y la traza de la matriz $$ A=\pmatrix{\a11&\a12&\a13\cr \a21&\a22&\a23\cr \a31&\a32&\a33}. $$} \answer {Traza(A)}{\trace} \answer {Det(A)} {\deter} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/.htaccess0000644000175000017500000000001610340341106026624 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/formu3x3.oef0000644000175000017500000000200310340341106027205 0ustar georgeskgeorgesk\title {Fórmula de los elementos en 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \language{es} \format {html} \integer{a1=random(2..10)*random(-1,1)} \integer{a2=random(2..10)*random(-1,1)} \integer{a3=random(2..10)*random(-1,1)} \integer{a4=random(2..10)*random(-1,1)} \integer{a5=random(2..10)*random(-1,1)} \integer{a6=random(2..10)*random(-1,1)} \function{formula=\a1*i^2+\a2*i*j+\a3*j^2+\a4*i+\a5*j+\a6} \integer{c11=evalue(\formula,i=1,j=1)} \integer{c12=evalue(\formula,i=1,j=2)} \integer{c13=evalue(\formula,i=1,j=3)} \integer{c21=evalue(\formula,i=2,j=1)} \integer{c22=evalue(\formula,i=2,j=2)} \integer{c23=evalue(\formula,i=2,j=3)} \integer{c31=evalue(\formula,i=3,j=1)} \integer{c32=evalue(\formula,i=3,j=2)} \integer{c33=evalue(\formula,i=3,j=3)} \text{mat=[\c11,\c12,\c13;\c21,\c22,\c23;\c31,\c32,\c33]} \text{ff=htmlmath(\formula)} \statement{Sea C=(cij) la matriz 3×3 cuyos elementos están definidos por

cij = \ff.

} \answer {C} {\mat} {type=matrix}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/formu2x2.oef0000644000175000017500000000144710340341106027216 0ustar georgeskgeorgesk\title {Fórmula de los elementos en 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \language{en} \format {html} \integer{a1=random(2..10)*random(-1,1)} \integer{a2=random(2..10)*random(-1,1)} \integer{a3=random(2..10)*random(-1,1)} \integer{a4=random(2..10)*random(-1,1)} \integer{a5=random(2..10)*random(-1,1)} \integer{a6=random(2..10)*random(-1,1)} \function{formula=\a1*i^2+\a2*i*j+\a3*j^2+\a4*i+\a5*j+\a6} \integer{c11=evalue(\formula,i=1,j=1)} \integer{c12=evalue(\formula,i=1,j=2)} \integer{c21=evalue(\formula,i=2,j=1)} \integer{c22=evalue(\formula,i=2,j=2)} \text{mat=[\c11,\c12;\c21,\c22]} \text{ff=htmlmath(\formula)} \statement{Sea C=(cij) la matriz 2×2 cuyos elementos están definidos por

cij = \ff.

} \answer {C} {\mat} {type=matrix}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/matop.oef0000644000175000017500000000202610340341106026644 0ustar georgeskgeorgesk\title {Operaciones matriciales} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Sí} \text{no=No} \text{bad=\yes,\no} \integer{c1=random(3,4)} \integer{r1=random(3,4)} \integer{c2=random(3,4)} \integer{r2=random(3,4)} \text{A=pari(print(matrix(\r1,\c1,x,y,random\(19)-10)))} \text{B=pari(print(matrix(\r2,\c2,x,y,random\(19)-10)))} \text{good1=\c1=\r2?\yes:\no} \text{good2=\c2=\r1?\yes:\no} \text{good3=\c1=\c2 and \r1=\r2?\yes:\no} \text{good4=\c1=\r1?\yes:\no} \text{good5=\c2=\r2?\yes:\no} \statement{Considerar dos matrices

\(A = [\A] , B = [\B]) .

¿tiene sentido? \(AB) \embed{choice 1}
¿tiene sentido? \(BA) \embed{choice 2}
¿tiene sentido? \(A+B) \embed{choice 3}
¿tiene sentido? \(A^2) \embed{choice 4}
¿tiene sentido? \(B^2) \embed{choice 5}
} \choice{AB}{\good1}{\bad} \choice{BA}{\good2}{\bad} \choice{A+B}{\good3}{\bad} \choice{A2}{\good4}{\bad} \choice{B2}{\good5}{\bad}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/colrow3x3.oef0000644000175000017500000000270210340341106027370 0ustar georgeskgeorgesk\title {Columna y fila 3x3 I} \language{es} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a1=random(1..19)*random(-1,1)} \integer{a2=random(1..19)*random(-1,1)} \integer{a3=random(1..19)*random(-1,1)} \integer{b1=random(1..19)*random(-1,1)} \integer{b2=random(1..19)*random(-1,1)} \integer{b3=random(1..19)*random(-1,1)} \integer{c11=(\a1)*(\b1)} \integer{c12=(\a1)*(\b2)} \integer{c13=(\a1)*(\b3)} \integer{c21=(\a2)*(\b1)} \integer{c22=(\a2)*(\b2)} \integer{c23=(\a2)*(\b3)} \integer{c31=(\a3)*(\b1)} \integer{c32=(\a3)*(\b2)} \integer{c33=(\a3)*(\b3)} \integer{x=\c11} \integer{y=\c22} \text{c11=x} \text{c22=y} \integer{ch1=random(1..6)} \text{r1=item(\ch1,\c11&\c12&\c13,\c11&\c13&\c12,\c12&\c13&\c11, \c12&\c11&\c13,\c13&\c11&\c12,\c13&\c12&\c11)} \text{r2=item(\ch1,\c21&\c22&\c23,\c21&\c23&\c22,\c22&\c23&\c21, \c22&\c21&\c23,\c23&\c21&\c22,\c23&\c22&\c21)} \text{r3=item(\ch1,\c31&\c32&\c33,\c31&\c33&\c32,\c32&\c33&\c31, \c32&\c31&\c33,\c33&\c31&\c32,\c33&\c32&\c31)} \integer{ch2=random(1..6)} \text{R1=item(\ch2,\r1,\r1,\r2,\r2,\r3,\r3)} \text{R2=item(\ch2,\r2,\r3,\r1,\r3,\r1,\r2)} \text{R3=item(\ch2,\r3,\r2,\r3,\r1,\r2,\r1)} \statement{Tenemos el siguiente producto de matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{\R1\cr \R2\cr \R3}. $$ ¿Cuáles son los valores de $x$, $y$ ? } \answer{x}{\x} \answer{y}{\y} \hint{¿Exixte una proporcionalidad entre las filas de la matriz?}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/equat2x2.oef0000644000175000017500000000144010340341106027176 0ustar georgeskgeorgesk\title {Ecuación 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \text{X=X} \integer{a=random(2..8)*random(-1,1)} \text{b=random(-5,-4,-3,-2,+2,+3,+4,+5)} \text{c=random(-6,-5,-4,-3,-2,-1,+1,+2,+3,+4,+5,+6)} \real{ac=-(\a)/(\c)} \real{bc=-(\b)/(\c)} \function{A=\ac*a+\bc} \function{B=\ac*b} \function{C=\ac*c} \function{D=\ac*d+\bc} \statement{Supongamos que la matriz \(A=[a,b;c,d]) satisface la ecuación \(\a*X^2\b*X\c=0). Determinar su inversa \(A^-1=[e,f;g,h]) en función de a,b,c,d.

Más exactamente, cada coeficiente de \(A^-1) debe ser un polinomio de primer grado en a,b,c,d. } \answer {e} {\A,a,b,c,d} \answer {f} {\B,a,b,c,d} \answer {g} {\C,a,b,c,d} \answer {h} {\D,a,b,c,d}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/divmatl2x2.oef0000644000175000017500000000162210340341106027521 0ustar georgeskgeorgesk\title {inversa por la izquierda 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{sign1=random(1,-1)} \integer{sign2=random(1,-1)} \integer{a0=random(0..\range)} \integer{b0=random(1..\range)} \integer{c0=random(1..\range)} \integer{d0=random(0..\range)} \integer{a1=\a0*(\sign1)} \integer{b1=\b0*(\sign1)} \integer{c1=-(\c0)*(\sign2)} \integer{d1=\d0*(\sign2)} \integer{a2=random(-\range..\range)} \integer{b2=random(-\range..\range)} \integer{c2=random(-\range..\range)} \integer{d2=random(-\range..\range)} \integer{a3=(\a1)*(\a2)+(\b1)*(\c2)} \integer{b3=(\a1)*(\b2)+(\b1)*(\d2)} \integer{c3=(\c1)*(\a2)+(\d1)*(\c2)} \integer{d3=(\c1)*(\b2)+(\d1)*(\d2)} \statement{Determinar la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{\a1&\b1\cr\c1&\d1} \pmatrix{a&b\cr c&d} = \pmatrix{\a3&\b3\cr\c3&\d3} .$$} \answer{a=\a2} \answer{b=\b2} \answer{c=\c2} \answer{d=\d2}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/colrow3x3b.oef0000644000175000017500000000266310340341106027540 0ustar georgeskgeorgesk\title {Columna y fila 3x3 II} \language{es} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a1=random(1..19)*random(-1,1)} \integer{a2=random(1..19)*random(-1,1)} \integer{a3=random(1..19)*random(-1,1)} \integer{b1=random(1..19)*random(-1,1)} \integer{b2=random(1..19)*random(-1,1)} \integer{b3=random(1..19)*random(-1,1)} \integer{c11=(\a1)*(\b1)} \integer{c12=(\a1)*(\b2)} \integer{c13=(\a1)*(\b3)} \integer{c21=(\a2)*(\b1)} \integer{c22=(\a2)*(\b2)} \integer{c23=(\a2)*(\b3)} \integer{c31=(\a3)*(\b1)} \integer{c32=(\a3)*(\b2)} \integer{c33=(\a3)*(\b3)} \integer{x=\c11} \integer{y=\c22} \integer{z=\c33} \text{c11=x} \text{c22=y} \text{c33=z} \integer{ch1=random(1..6)} \text{r1=item(\ch1,\c11&\c12&\c13,\c11&\c13&\c12,\c12&\c13&\c11, \c12&\c11&\c13,\c13&\c11&\c12,\c13&\c12&\c11)} \text{r2=item(\ch1,\c21&\c22&\c23,\c21&\c23&\c22,\c22&\c23&\c21, \c22&\c21&\c23,\c23&\c21&\c22,\c23&\c22&\c21)} \text{r3=item(\ch1,\c31&\c32&\c33,\c31&\c33&\c32,\c32&\c33&\c31, \c32&\c31&\c33,\c33&\c31&\c32,\c33&\c32&\c31)} \integer{ch2=random(1..6)} \text{R1=item(\ch2,\r1,\r1,\r2,\r2,\r3,\r3)} \text{R2=item(\ch2,\r2,\r3,\r1,\r3,\r1,\r2)} \text{R3=item(\ch2,\r3,\r2,\r3,\r1,\r2,\r1)} \statement{Tenemos el siguiente producto de matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{\R1\cr \R2\cr \R3}. $$ ¿Cuáles son los valores de $x$, $y$ y $z$? } \answer{x}{\x} \answer{y}{\y} \answer{z}{\z}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/colrow2x3.oef0000644000175000017500000000217710340341106027375 0ustar georgeskgeorgesk\title {Columna y fila 2x3} \language{es} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a1=random(1..19)*random(-1,1)} \integer{a2=random(1..19)*random(-1,1)} \integer{b1=random(1..19)*random(-1,1)} \integer{b2=random(1..19)*random(-1,1)} \integer{b3=random(1..19)*random(-1,1)} \integer{c11=(\a1)*(\b1)} \integer{c12=(\a1)*(\b2)} \integer{c13=(\a1)*(\b3)} \integer{c21=(\a2)*(\b1)} \integer{c22=(\a2)*(\b2)} \integer{c23=(\a2)*(\b3)} \integer{x=\c11} \integer{y=\c22} \text{c11=x} \text{c22=y} \integer{ch1=random(1..6)} \text{r1=item(\ch1,\c11&\c12&\c13,\c11&\c13&\c12,\c12&\c13&\c11, \c12&\c11&\c13,\c13&\c11&\c12,\c13&\c12&\c11)} \text{r2=item(\ch1,\c21&\c22&\c23,\c21&\c23&\c22,\c22&\c23&\c21, \c22&\c21&\c23,\c23&\c21&\c22,\c23&\c22&\c21)} \integer{ch2=random(1..2)} \text{R1=item(\ch2,\r1,\r2)} \text{R2=item(\ch2,\r2,\r1)} \statement{Tenemos el siguiente producto de matrices $$\pmatrix{a\cr b}\pmatrix{s& t& u} =\pmatrix{\R1\cr \R2}. $$ ¿Cuáles son los valores de $x$, $y$ ? } \answer{x}{\x} \answer{y}{\y} \hint{¿Existe una proporcionalidad entre las columnsa de la matriz?}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/Exemplematrice.oef0000644000175000017500000000110610340341106030466 0ustar georgeskgeorgesk\title{Matriz ejemplo 2x2} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{tex} \precision{10000} \integer{trac=random(-20..20)} \integer{deter=random(-20..20)} \statement{Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ tal que traza$(A)=\trac$ y $\det(A)=\deter$, y que ninguno de los elementos $a,b,c,d$ sea cero.} \answer{a}{\a} \answer{b}{\b} \answer{c}{\c} \answer{d}{\d} \condition{elements non-zero}{abs((\a)*(\b)*(\c)*(\d))>0.01} \condition{Trace=\trac}{\a+\d=\trac} \condition{Determinant=\deter}{(\a)*(\d)-(\b)*(\c)=\deter}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/divmatr2x2.oef0000644000175000017500000000162010340341106027525 0ustar georgeskgeorgesk\title {Inversa por la derecha 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{sign1=random(1,-1)} \integer{sign2=random(1,-1)} \integer{a0=random(0..\range)} \integer{b0=random(1..\range)} \integer{c0=random(1..\range)} \integer{d0=random(0..\range)} \integer{a2=\a0*(\sign1)} \integer{b2=\b0*(\sign1)} \integer{c2=-(\c0)*(\sign2)} \integer{d2=\d0*(\sign2)} \integer{a1=random(-\range..\range)} \integer{b1=random(-\range..\range)} \integer{c1=random(-\range..\range)} \integer{d1=random(-\range..\range)} \integer{a3=(\a1)*(\a2)+(\b1)*(\c2)} \integer{b3=(\a1)*(\b2)+(\b1)*(\d2)} \integer{c3=(\c1)*(\a2)+(\d1)*(\c2)} \integer{d3=(\c1)*(\b2)+(\d1)*(\d2)} \statement{Determinar la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{a&b\cr c&d} \pmatrix{\a2&\b2\cr\c2&\d2} = \pmatrix{\a3&\b3\cr\c3&\d3} .$$} \answer{a=\a1} \answer{b=\b1} \answer{c=\c1} \answer{d=\d1}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/formu3x3v.oef0000644000175000017500000000225210340341106027401 0ustar georgeskgeorgesk\title {Fórmula para los elementos en 3x3 II} \author {XIAO Gang} \email {xiao@unice.fr} \language{es} \format {html} \integer{a1=random(2..10)*random(-1,1)} \integer{a2=random(2..10)*random(-1,1)} \integer{a3=random(2..10)*random(-1,1)} \function{formula=\a1*i+\a2*j+\a3} \integer{c11=evalue(\formula,i=1,j=1)} \integer{c12=evalue(\formula,i=1,j=2)} \integer{c13=evalue(\formula,i=1,j=3)} \integer{c21=evalue(\formula,i=2,j=1)} \integer{c22=evalue(\formula,i=2,j=2)} \integer{c23=evalue(\formula,i=2,j=3)} \integer{c31=evalue(\formula,i=3,j=1)} \integer{c32=evalue(\formula,i=3,j=2)} \integer{c33=evalue(\formula,i=3,j=3)} \statement{Sea

C = (ci,j) = ( \c11\c12\c13 )
\c21\c22\c23
\c31\c32\c33

una matriz 3×3 cuyos elemntos ci,j están definidos por la fórmula lineal ci,j=f(i,j)=ai+bj+c.

Determinar la función f(i,j). } \answer {f(i,j)} {\formula} {type=default}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/src/mult3.oef0000644000175000017500000000310210340341106026564 0ustar georgeskgeorgesk\title {Multiplicación de 3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{sh=shuffle(10)} \integer{s1=item(1,\sh)+5} \integer{s2=item(2,\sh)+5} \integer{s3=item(3,\sh)+5} \integer{s4=item(4,\sh)+5} \text{bad1=ABC,ACB,BAC,BCA,CAB,CBA} \integer{ch=random(1..6)} \text{good1=item(\ch,\bad1)} \integer{r1=item(\ch,\s1,\s1,\s2,\s3,\s2,\s3)} \integer{c1=item(\ch,\s2,\s2,\s3,\s4,\s3,\s4)} \integer{r2=item(\ch,\s2,\s3,\s1,\s1,\s3,\s2)} \integer{c2=item(\ch,\s3,\s4,\s2,\s2,\s4,\s3)} \integer{r3=item(\ch,\s3,\s2,\s3,\s2,\s1,\s1)} \integer{c3=item(\ch,\s4,\s3,\s4,\s3,\s2,\s2)} \integer{style1=random(1,2)} \integer{style2=random(1,2)} \statement{Tenemos 3 matrices, \(A), \(B), \(C), cuyas dimensiones son las que siguen:

Matrix\A\B\C \if{\style1=1}{
Dimension\r1×\c1 \r2×\c2 \r3×\c3 }{
Rows\r1 \r2 \r3
Columns\c1 \c2 \c3 }

Elija un orden de multiplicación de esas tres matrices que tenga sentido. \embed{choice 1}

En ese caso, ¿cuál es la dimensión de la matriz producto? \if{\style2=1}{ \embed{reply 1,3} × \embed{reply 2,3} }{ \embed{reply 1,3} rows and \embed{reply 2,3} columns. }} \choice{The multiplication}{\good1}{\bad1} \reply{Rows of the product}{\s1} \reply{Columns of the product}{\s4}wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/0000755000175000017500000000000010340341107025727 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank3x4x1.oef0000644000175000017500000000247010340341107031050 0ustar georgeskgeorgesk\title {Parametric rank 3x4x1} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=4} \integer{range=7} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameter \(\p1), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmmat3x3.oef0000644000175000017500000000200510340341107030416 0ustar georgeskgeorgesk\title {Parametric matrix 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{range=10} \integer{half=\range/2} \integer{sense=random(1,2)} \text{s=item(\sense,s,t)} \text{t=item(\sense,t,s)} \integer{sval=random(-\range..\range)} \integer{tval=random(-\range..\range)} \matrix{mat=randint(-\range..\range),2*randint(-\half..\half)+1,2*randint(-\half..\half) randint(-\range..\range),\s,2*randint(-\half..\half)+1 \t,randint(-\range..\range),randint(-\range..\range)} \text{sh=shuffle(3)} \matrix{mat=random(1,2)=1?pari(print(vecextract([\mat],[\sh],[\sh]))): pari(print(vecextract([\mat]~,[\sh],[\sh])))} \text{mat1=wims(replace internal s by \sval in \mat)} \text{mat1=wims(replace internal t by \tval in \mat1)} \integer{trace=pari(trace([\mat1]))} \integer{deter=pari(matdet([\mat1]))} \statement{Find the values of the parameters \(s) and \(t) such that the matrix

\(A=[\mat])
verifies det\((A) = \deter) and trace\((A)=\trace).} \answer {s}{\sval} \answer {t}{\tval} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/uniminv3x3.oef0000644000175000017500000000124010340341106030441 0ustar georgeskgeorgesk\title {Unimodular inverse 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=4} \matrix{A1=1,randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range) 0,0,1} \matrix{A2=1,0,0 randint(-\range..\range),1,0 randint(-\range..\range),randint(-\range..\range),1} \matrix{A3=1,randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range) 0,0,1} \text{A=pari(print([\A1]*[\A2]*[\A3]))} \text{inv=pari(print([\A]^-1))} \statement{Compute the inverse of the matrix

\(A = [\A] )  .

} \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/symm2x2b.oef0000644000175000017500000000246110340341106030107 0ustar georgeskgeorgesk\title {Symmetry of the plane II} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \matrix{data= 1,0.0,-1, 2, reflection with respect to the line y=0 -1,0.0,1, 1, reflection with respect to the line x=0 -1,0.0,-1,4, central symmetry with respect to the origin 0,1.1,0, 5, reflection with respect to the line y=x 0,-1.-1,0,4, reflection with respect to the line x+y=0 0,1.-1,0, 7, clockwise rotation of 90 degrees 0,-1.1,0, 6, counter-clockwise rotation of 90 degrees } \integer{datacnt=rows(\data)} \text{ch=shuffle(\datacnt)} \text{ch=item(1..4,\ch)} \text{good=item(1,\ch)} \text{ch=shuffle(\ch)} \integer{goodpos=positionof(\good,\ch)} \text{A=item(1,\ch)} \text{B=item(2,\ch)} \text{C=item(3,\ch)} \text{D=item(4,\ch)} \text{aa=wims(translate . to ; in item(1..3,row(\A,\data)))} \text{bb=wims(translate . to ; in item(1..3,row(\B,\data)))} \text{cc=wims(translate . to ; in item(1..3,row(\C,\data)))} \text{dd=wims(translate . to ; in item(1..3,row(\D,\data)))} \text{goodrow=row(\good,\data)} \text{goodtext=item(5,\goodrow)} \text{good=item(\goodpos,A,B,C,D)} \statement{Among the following matrices, which one corresponds to the \goodtext of the plane?

\(A=[\aa], B=[\bb], C=[\cc], D=[\dd])
} \choice{The good matrix is}{\good}{A,B,C,D} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/givimg3x3.oef0000644000175000017500000000303210340341106030237 0ustar georgeskgeorgesk\title {Given images 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \matrix{A= randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \integer{type=random(1,2)} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{B3=row(3,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} \text{C3=row(3,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{B3=wims(items2lines column(3,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} \matrix{C3=wims(items2lines column(3,\C))} } \statement{We have a 3×3 matrix \(A), such that

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) ,
\([\B3]*A = [\C3]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) , \(A*[\B3] = [\C3]) . }

Determine \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/rankmult.oef0000644000175000017500000000122310340341106030254 0ustar georgeskgeorgesk\title {Rank and multiplication} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(3..7)} \integer{m=random(\rank+1..15)} \integer{n=random(\rank+2..15)} \statement{Let C be a matrix of size \m×\n, of rank \rank. What is the condition on n, in order that there exist a matrix A of size \m×n and a matrix B of size n×\n, such that C=AB ?} \choice {The condition} {n is more than or equal to c} {n is less than or equal to c} \answer {Where c} {\rank} \choice {This condition is} {necessary and sufficient} {necessary but not sufficient, sufficient but not necessary} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/givimg2x2.oef0000644000175000017500000000215210340341106030237 0ustar georgeskgeorgesk\title {Given images 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \matrix{A= randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(2)} \text{shuf2=shuffle(2)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \integer{type=random(1,2)} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} } \statement{We have a 2×2 matrix \(A), such that

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) . }

Determine \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank4x6x2.oef0000644000175000017500000000345510340341107031060 0ustar georgeskgeorgesk\title {Parametric rank 4x6x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(2,3)} \integer{rows=4} \integer{cols=6} \integer{range=5} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{and=and} \text{or=or} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameters \(\p1) and \(\p2), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) is \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank4x6x1.oef0000644000175000017500000000247010340341106031052 0ustar georgeskgeorgesk\title {Parametric rank 4x6x1} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(2,3)} \integer{rows=4} \integer{cols=6} \integer{range=5} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameter \(\p1), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/multmat2x2.oef0000644000175000017500000000136310340341106030443 0ustar georgeskgeorgesk\title {Multiplication 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{a1=random(-\range..\range)} \integer{b1=random(-\range..\range)} \integer{c1=random(-\range..\range)} \integer{d1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=random(-\range..\range)} \integer{c2=random(-\range..\range)} \integer{d2=random(-\range..\range)} \integer{a3=(\a1)*(\a2)+(\b1)*(\c2)} \integer{b3=(\a1)*(\b2)+(\b1)*(\d2)} \integer{c3=(\c1)*(\a2)+(\d1)*(\c2)} \integer{d3=(\c1)*(\b2)+(\d1)*(\d2)} \statement{Compute the product of matrices: $$ \pmatrix{\a1&\b1\cr\c1&\d1\cr} \pmatrix{\a2&\b2\cr\c2&\d2\cr} = \pmatrix{a&b\cr c&d\cr} .$$} \answer{a=\a3} \answer{b=\b3} \answer{c=\c3} \answer{d=\d3} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/minrankA2.oef0000644000175000017500000000056010340341106030244 0ustar georgeskgeorgesk\title {Min rank A^2} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{dimA=random(12..20)} \integer{kern=random(2..\dimA/2-1)} \integer{rank=\dimA-\kern} \integer{rank2=\dimA-\kern*2} \statement{Let A be a matrix \dimA×\dimA, of rank \rank. What is the minimum of the rank of the matrix A2 ?} \answer {min(rank)} {\rank2} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/sqrt2x2.oef0000644000175000017500000000167110340341106027753 0ustar georgeskgeorgesk\title {Square root 2x2*} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \text{X=A} \text{I=I} \integer{aa=random(1..9)*random(-1,1)} \integer{bb=random(1..9)*random(-1,1)} \integer{cc=random(1..9)*random(-1,1)} \integer{dd=random(1..9)*random(-1,1)} \integer{a=\aa*(\aa)+(\bb)*(\cc)} \integer{b=(\aa+(\dd))*(\bb)} \integer{c=(\aa+(\dd))*(\cc)} \integer{d=(\dd)^2+(\bb)*(\cc)} \statement{Find a matrix $A=\pmatrix{a&b\cr c&d}$ such that $$ A^2 = \pmatrix{\a&\b\cr\c&\d}, $$ where the entries $a, b, c, d$ must be non-zero integers. } \answer {a} {\A} \answer {b} {\B} \answer {c} {\C} \answer {d} {\D} \condition{A^2 is the given matrix} {(\A)^2+(\B)*(\C)=\a and \B*(\A+(\D))=\b and \C*(\A+(\D))=\c and (\D)^2+(\B)*(\C)=\d} \condition{a,b,c,d are non-zero integers} {\A*(\B)*(\C)*(\D)!=0 and floor(\A)=\A and floor(\B)=\B and floor(\C)=\C and floor(\D)=\D} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/multpart4x4.oef0000644000175000017500000000264610340341107030642 0ustar georgeskgeorgesk\title {Partial multiplication 4x4} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=4} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

\if{\step=1}{ Step 1. There is only one determinable coefficient in the product matrix. It is \embed{reply 1,4}.
(Type c11 for \(c11) for example.) }{ Step 2. The determinable coefficient is \(c\i\j) = \embed{reply 2,6}. }} \answer{The detreminable coefficient}{\good}{type=atext} \answer{c\i\j}{\c}{type=number} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/givpower3x3.oef0000644000175000017500000000156510340341106030630 0ustar georgeskgeorgesk\title {Given powers 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=4} \integer{half=\range/2} \matrix{A=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{A=pari(print(vecextract([\A],[\shuf1],[\shuf2])))} \matrix{powers= 2,5 3,5 2,7 3,7 4,7 } \text{powers=shuffle(randomrow(\powers))} \integer{p1=item(1,\powers)} \integer{p2=item(2,\powers)} \matrix{P1=pari(print([\A]^\p1))} \matrix{P2=pari(print([\A]^\p2))} \statement{We have a matrix \(A), with

\(A^\p1 = [\P1]) , \(A^\p2 = [\P2]) .

What is \(A) ? } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/multpart3x3.oef0000644000175000017500000000261210340341106030630 0ustar georgeskgeorgesk\title {Partial multiplication 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=3} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

\if{\step=1}{ Step 1. There is only one determinable coefficient in the product matrix. It is \embed{reply 1,4}.
(Type c11 for \(c11) for example.) }{ Step 2. The determinable coefficient is \(c\i\j) = \embed{reply 2,6}. }} \answer{The detreminable coefficient}{\good}{type=atext} \answer{c\i\j}{\c}{type=number} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank3x5x2.oef0000644000175000017500000000345510340341106031055 0ustar georgeskgeorgesk\title {Parametric rank 3x5x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=5} \integer{range=6} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{and=and} \text{or=or} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameters \(\p1) and \(\p2), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) is \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/pseudoinv2x2b.oef0000644000175000017500000000152310340341106031134 0ustar georgeskgeorgesk\title {Pseudo-inverse 2x2 II} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=20} \integer{half=\range/2} \integer{side=random(1,2)} \integer{d1=random(-1,1)*random(1..8)} \integer{d2=random(-1,1)*random(1..8)} \integer{a11=2*randint(-\half..\half)+1} \integer{a12=randint(-\range..\range)} \integer{a21=2*randint(-\half..\half)} \integer{a22=2*randint(-\half..\half)+1} \matrix{B=\a11,\a12;\a21,\a22} \matrix{inv=\side=1?pari(print([\a12/(\d1),\a11/(\d2);\a22/(\d1),\a21/(\d2)])): pari(print([\a21/(\d2),\a22/(\d2);\a11/(\d1),\a12/(\d1)]))} \text{mult=\side=1?A*[\B]:[\B]*A} \statement{We have a 2×2 matrix \A, with

\(\mult = [0,\d1;\d2,0] )  .

Please find the inverse matrix of \A. } \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank3x5x1.oef0000644000175000017500000000247010340341107031051 0ustar georgeskgeorgesk\title {Parametric rank 3x4x1} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=4} \integer{range=7} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameter \(\p1), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmmat2x2.oef0000644000175000017500000000145710340341107030426 0ustar georgeskgeorgesk\title {Parametric matrix 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=8} \integer{a11=random(-\range..\range)} \integer{a12=random(-\range..\range)} \integer{a21=random(1..\range)*random(-1,1)} \integer{a22=random(-\range..\range)} \integer{trace=-(\a11)-(\a22)} \integer{deter=(\a11)*(\a22)-(\a12)*(\a21)} \text{c1=\trace>=0?+\trace:\trace} \text{c0=\deter>=0?+\deter:\deter} \text{cc1=\trace=0?:\c1 A} \text{cc0=\deter=0?:\c0 I_2} \integer{pos=random(1..4)} \text{mat=\pos=1?\a11&s\cr \a21&t} \text{mat=\pos=2?\a11&\a21\cr s&t} \text{mat=\pos=3?t&\a21\cr s&\a11} \text{mat=\pos=4?t&s\cr \a21&\a11} \statement{Find the values of the parameters $s$ and $t$ such that the matrix $ A=\pmatrix{\mat} $ verifies $ A^2\cc1\cc0=0$.} \answer {s}{\a12} \answer {t}{\a22} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank3x4x2.oef0000644000175000017500000000345510340341107031055 0ustar georgeskgeorgesk\title {Parametric rank 3x4x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=4} \integer{range=7} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{and=and} \text{or=or} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameters \(\p1) and \(\p2), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) is \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/uniminv4x4.oef0000644000175000017500000000163110340341106030447 0ustar georgeskgeorgesk\title {Unimodular inverse 4x4} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=3} \matrix{A1=1,randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range),randint(-\range..\range) 0,0,1,randint(-\range..\range) 0,0,0,1} \matrix{A2=1,0,0,0 randint(-\range..\range),1,0,0 randint(-\range..\range),randint(-\range..\range),1,0 randint(-\range..\range),randint(-\range..\range),randint(-\range..\range),1} \matrix{A3=1,randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range),randint(-\range..\range) 0,0,1,randint(-\range..\range) 0,0,0,1} \text{A=pari(print([\A1]*[\A2]*[\A3]))} \text{inv=pari(print([\A]^-1))} \statement{Compute the inverse of the matrix

\(A = [\A] )  .

} \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/givprod3x3.oef0000644000175000017500000000256010340341107030435 0ustar georgeskgeorgesk\title {Given products 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=6} \integer{half=\range/2} \matrix{A=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{A=pari(print(vecextract([\A],[\shuf1],[\shuf2])))} \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \text{AB=shuffle(A,B)} \text{a=item(1,\AB)} \text{b=item(2,\AB)} \matrix{prods= \a*\b,\a*\b*\a \a*\b,\b*\a*\b \a*\b,\a*\b^2 \a*\b,\a^2*\b } \text{prods=shuffle(randomrow(\prods))} \text{p1=item(1,\prods)} \text{p2=item(2,\prods)} \matrix{P1=pari(A=[\A];B=[\B];print(\p1))} \matrix{P2=pari(A=[\A];B=[\B];print(\p2))} \statement{We have two matrices \(A) and \(B), with

\(\p1 = [\P1]) , \(\p2 = [\P2]) .

What are \(A) and \(B) ? } \answer{A}{\A}{type=matrix} \answer{B}{\B}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank4x5x1.oef0000644000175000017500000000247210340341107031054 0ustar georgeskgeorgesk\title {Parametric rank 4x5x1} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2,3)} \integer{rows=4} \integer{cols=5} \integer{range=5} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameter \(\p1), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/pseudoinv3x3.oef0000644000175000017500000000232110340341107030772 0ustar georgeskgeorgesk\title {Pseudo-inverse 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \integer{side=random(1,2)} \integer{d1=random(-1,1)*random(1..8)} \integer{d2=random(-1,1)*random(1..8)} \integer{d3=random(-1,1)*random(1..8)} \integer{a11=2*randint(-\half..\half)+1} \integer{a12=randint(-\range..\range)} \integer{a13=randint(-\range..\range)} \integer{a21=2*randint(-\half..\half)} \integer{a22=2*randint(-\half..\half)+1} \integer{a23=randint(-\range..\range)} \integer{a31=2*randint(-\half..\half)} \integer{a32=2*randint(-\half..\half)} \integer{a33=2*randint(-\half..\half)+1} \matrix{B=\a11,\a12,\a13;\a21,\a22,\a23;\a31,\a32,\a33} \matrix{inv=\side=1? pari(print([\a11/(\d1),\a12/(\d2),\a13/(\d3);\a21/(\d1),\a22/(\d2),\a23/(\d3);\a31/(\d1),\a32/(\d2),\a33/(\d3)])): pari(print([\a11/(\d1),\a12/(\d1),\a13/(\d1);\a21/(\d2),\a22/(\d2),\a23/(\d2);\a31/(\d3),\a32/(\d3),\a33/(\d3)]))} \text{mult=\side=1?A*[\B]:[\B]*A} \statement{We have a 3×3 matrix \A, with

\(\mult = [\d1,0,0;0,\d2,0;0,0,\d3] )  .

Please find the inverse matrix of \A. } \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/givimg3x2.oef0000644000175000017500000000257610340341106030252 0ustar georgeskgeorgesk\title {Given images 3x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \integer{type=random(1,2)} \if{\type=2}{ \matrix{A= randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) } \text{sizea=3×2} }{ \matrix{A= randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) } \text{sizea=2×3} } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(2)} \text{shuf2=shuffle(2)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} } \statement{We have a \sizea matrix \(A), such that

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) . }

Determine \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/givimg2x3.oef0000644000175000017500000000326010340341107030242 0ustar georgeskgeorgesk\title {Given images 2x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \integer{type=random(1,2)} \if{\type=1}{ \matrix{A= randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) } \text{sizea=3×2} }{ \matrix{A= randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) } \text{sizea=2×3} } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{B3=row(3,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} \text{C3=row(3,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{B3=wims(items2lines column(3,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} \matrix{C3=wims(items2lines column(3,\C))} } \statement{We have a \sizea matrix \(A), such that

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) ,
\([\B3]*A = [\C3]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) , \(A*[\B3] = [\C3]) . }

Determine \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/parmrank4x5x2.oef0000644000175000017500000000345710340341107031061 0ustar georgeskgeorgesk\title {Parametric rank 4x5x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2,3)} \integer{rows=4} \integer{cols=5} \integer{range=5} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,minimum,maximum)} \text{eqneq=equal to, different from} \text{and=and} \text{or=or} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Consider the following parametrized matrix.

\( A = [\m] \)

Fill-in: Following the values of the parameters \(\p1) and \(\p2), the rank of \A is at least \embed{reply 1,3} and at most \embed{reply 2,3}.

The \minmax rank is reached when \(\p1) is \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) is \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/multpart5x5.oef0000644000175000017500000000271210340341106030635 0ustar georgeskgeorgesk\title {Partial multiplication 5x5} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=5} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

\if{\step=1}{ Step 1. There is only one determinable coefficient in the product matrix. It is \embed{reply 1,4}.
(Type c11 for \(c11) for example.) }{ Step 2. The determinable coefficient is \(c\i\j) = \embed{reply 2,6}. }} \answer{The detreminable coefficient}{\good}{type=atext} \answer{c\i\j}{\c}{type=number} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/pseudoinv2x2.oef0000644000175000017500000000152010340341107030770 0ustar georgeskgeorgesk\title {Pseudo-inverse 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=20} \integer{half=\range/2} \integer{side=random(1,2)} \integer{d1=random(-1,1)*random(1..8)} \integer{d2=random(-1,1)*random(1..8)} \integer{a11=2*randint(-\half..\half)+1} \integer{a12=randint(-\range..\range)} \integer{a21=2*randint(-\half..\half)} \integer{a22=2*randint(-\half..\half)+1} \matrix{B=\a11,\a12;\a21,\a22} \matrix{inv=\side=1?pari(print([\a11/(\d1),\a12/(\d2);\a21/(\d1),\a22/(\d2)])): pari(print([\a11/(\d1),\a12/(\d1);\a21/(\d2),\a22/(\d2)]))} \text{mult=\side=1?A*[\B]:[\B]*A} \statement{We have a 2×2 matrix \A, with

\(\mult = [\d1,0;0,\d2] )  .

Please find the inverse matrix of \A. } \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/.deleted/symm2x2.oef0000644000175000017500000000230510340341106027742 0ustar georgeskgeorgesk\title {Symmetry of the plane} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \matrix{data= 1,0.0,-1, 2, reflection with respect to the line y=0 -1,0.0,1, 1, reflection with respect to the line x=0 -1,0.0,-1,4, central symmetry with respect to the origin 0,1.1,0, 5, reflection with respect to the line y=x 0,-1.-1,0,4, reflection with respect to the line x+y=0 0,1.-1,0, 7, clockwise rotation of 90 degrees 0,-1.1,0, 6, counter-clockwise rotation of 90 degrees } \integer{datacnt=rows(\data)} \text{ch=shuffle(\datacnt)} \text{ch=item(1..4,\ch)} \text{good=item(1,\ch)} \text{ch=shuffle(\ch)} \text{A=item(1,\ch)} \text{B=item(2,\ch)} \text{C=item(3,\ch)} \text{D=item(4,\ch)} \text{aa=item(5,row(\A,\data))} \text{bb=item(5,row(\B,\data))} \text{cc=item(5,row(\C,\data))} \text{dd=item(5,row(\D,\data))} \text{goodrow=row(\good,\data)} \text{goodtext=item(5,\goodrow)} \text{badrow=item(4,\goodrow)} \text{badtext=item(5,row(\badrow,\data))} \text{mat=wims(translate . to ; in item(1..3,\goodrow))} \statement{What is the nature of the plane transformation given by the matrix \([\mat]) ? } \choice{The reply is}{\goodtext}{\badtext,\aa,\bb,\cc,\dd} wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/endhook.phtml0000644000175000017500000000023510340341106026737 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting !read tool.phtml linear/matrix linear/matmult linear/vector !endif wims-modules-es-3.64.orig/modules/U1/algebra/ejermatrices.es/help.phtml0000644000175000017500000000005210340341107026236 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/0000755000175000017500000000000010771742577023754 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/def/0000755000175000017500000000000010771700364024476 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/def/colrow2.def0000644000175000017500000000400110315754041026533 0ustar georgeskgeorgesk!set title=Columnas y filas II !goto $wims_read_parm :present Considerar 3 matrices A,B,C. Los productos AB, BC y CA son todos válidos. Haciendo preguntas a elegir entre las siguientes, encontrar el número de $orients de la matriz $matname. !exit :form La matriz $matname tiene $orients. !exit :ans Crees que la matriz $matname tiene $ans1 $orients. !ifval $ans1=$good1 Correcto. !else Estás equivocado: $matname tiene $good1 $orients. !endif !exit :init storename=mat,matname,matprev,matfoll,o,orient,orients,inv,invs mat=!randitem 1,2,3 matname=!item $mat of A,B,C matprev=!item $mat of C,A,B matfoll=!item $mat of B,C,A o=!randitem 1,2 orient=!word $o of fila columna orients=!word $o of filas columnas inv=!word $o of columna fila invs=!word $o of columnas filas objname=las matrices hint=Relación entre las filas y columnas de MN con las de M y N? parm1=número de $invs of AB\ Número de $invs de AB \ AB tiene ?? $invs parm2=número de $invs de BC\ Número de $invs de BC \ BC tiene ?? $invs parm3=número de $invs de CA\ Número de $invs de CA \ CA tiene ?? $invs t=!shuffle 9 t=!item $t of 2,3,4,5,6,7,8,9,10 !distribute item $t into val1,val2,val3 !distribute item 0,0,0 into weight1,weight2,weight3 n_=$[$mat%3+1] weight$n_=2 good1=$(val$n_) parmcnt=3 anscnt=1 minask=1 !if $o=1 solution=Como $(matprev)$matname tiene sentido, el número de filas de\ $matname es igual al número de columnas de $matprev, que a su vez\ es igual al número de columnas de $matfoll$matprev.

\ Por tanto, $matname tiene $good1 filas. !else solution=Como $matname$matfoll tiene sentido, el número de columnas de\ $matname es igual al número de filas de $matfoll, que a su vez\ es igual al número de filas de $matfoll$matprev.

\ Por tanto, $matname tiene $good1 columnas. !endif !exit :info !exit :final !bound ans1 between integer 1 and 20 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/def/solnum.def0000644000175000017500000001154110315754042026471 0ustar georgeskgeorgesk!set title=Número de soluciones !goto $wims_read_parm :present Consideremos el sistema lineal de ecuaciones con coeficientes reales:

$m_leftbrace4 a11x1 + a12x2 + ... + a1nxn = b1
a21x1 + a22x2 + ... + a2nxn = b2
...
am1x1 + am2x2 + ... + amnxn = bm

Sean A = $m_leftpar4 a11a12... a1n $m_rightpar4 ,   B = $m_leftpar4 a11a12... a1nb1 $m_rightpar4  las matrices de los coeficientes.
a21a22...a2n a21a22... a2nb2
......
am1am2...amn am1am2... amnbm

La tarea consiste en determinar el número de soluciones del sistema. !exit :form El sistema tiene !formselect ans1 list ??,1,2,3 prompt ????,\ una única solución, no tiene solución, tiene infinitas soluciones !exit :ans Su respuesta es que el sistema tiene !item $ans1 of una única solución, ninguna solución, inifinitas soluciones . !ifval $ans1=$good1 Correcto. !else Respuesta errónea: el sistema tiene !item $good1 of una única solución, ninguna solución, infinitas soluciones . !endif !exit :init objname=este sistema lineal hint=El número de soluciones de un sistema no está directamente relacionado con el número de ecuaciones\ Está determinado por los rangos de las matrices de los coeficientes.\ parm1=número de incógnitas\ Número de incógnitas del sistema\ El sistema tiene n = ?? incógnitas val1=!randint 5,15 weight1=2 parm2=número de ecuaciones\ Número de ecuaciones del sistema\ el sistema tiene m = ?? ecuaciones val2=!randint $val1,$val1+2 weight2=1 parm3=homogeneousness\ Es un sistema homogéneo\ El sistema es ?? weight3=1 parm4=Det(A)\ Det(A) = \ Det(A) = ??\ ¡El determinante de una matriz no cuadrada no tiene sentido! weight4=1 parm5=Traza(A)\ Traza(A) = \ Traza(A) = ??\ ¡La traza de una matriz no cuadrada no tiene sentido! val5=!randint -20,20 weight5=0 parm6=Rango(A)\ Rango(A) = \ Rango(A) = ?? val6=!randint $val1-2,$val1 weight6=2 parm7=Det(B)\ Det(B) = \ Det(B) = ??\ ¡El determinante de una matriz no cuadrada no tiene sentido! weight7=1 parm8=Traza(B)\ Traza(B) = \ Traza(B) = ??\ ¡La taza d euna matriz no cuadrada no tiene sentido! val8=!randint -20,20 weight8=0 parm9=Rank(B)\ Rango(B) = \ Rango(B) = ?? weight9=2 parmcnt=9 anscnt=1 minask=3 !if random(100)<35 val3=homogeneous val9=$val6 !else val3=non-homogeneous val9=!randint $val6,min($val6+1,$val2) !endif !if $val6<$val1 val4=0 !else val4=$[(randint(19)+1)*(randint(2)*2-1)] !endif !if $val9<$val1+1 val7=0 !else val7=$[(randint(19)+1)*(randint(2)*2-1)] !endif !if $val6<$val9 good1=2 solution=El sistema no tiene solución ya que Rango(B)>Rango(A). !else !if $val6<$val1 good1=3 solution=El sistema tiene infiitas soluciones ya que\ Rango(B) = Rango(A) < número de incógnitas. !else good1=1 solution=El sistema tiene una única solución ya que\ Rango(B) = Rango(A) = al número de incógnitas. !endif !endif !ifval $val1!=$val2 weight4=-1 weight5=-1 !endif !ifval $val1+1!=$val2 weight7=-1 weight8=-1 !endif !if $val9>$val1 minask=2 weight6=1 !endif !if $val9>$val6 minask=2 weight1=1 !endif !exit :info !if $ask iswordof 4 5 7 8 and (1 notitemof $gotlist or 2 notitemof $gotlist) weight$ask=-1 comment=Has preguntado por el determinate/traza sin conocer el orden de la matriz.\ ¿Y si la matriz no es cuadrada? !endif !exit :final !bound ans1 within 1,2,3 default ?? !ifval $ans1=$good1 thisscore=1 !endif !if 4 isitemof $gotlist and $val4!=0 weight6=1 !endif !if 4 isitemof $gotlist and $val4=0 and $val9>=$val1 weight6=1 !endif !if 7 isitemof $gotlist and $val7!=0 weight9=1 !endif !if 7 isitemof $gotlist and $val7=0 and $val6>=$val2-1 weight9=1 !endif !if 3 isitemof $gotlist and $val3=homogeneous !if 6 isitemof $gotlist weight9=1 !else weight6=1 !endif !endif !if 2 isitemof $gotlist and $val6=$val2 weight9=1 !endif !if $minask=2 and 1 notitemof $gotlist and 6 notitemof $gotlist !distribute word 2 2 into weight1,weight6 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/def/.htaccess0000644000175000017500000000001606634516636026303 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/def/colrow1.def0000644000175000017500000000505110315754041026540 0ustar georgeskgeorgesk!set title=Columnas y filas I !goto $wims_read_parm :present Considere 3 matrices A,B,C. Los productos AB, BC y CA son todos válidos. Elija cuestiones a preguntar entre las siguientes y con esa información, encuentre el número de $orients de la matriz $matname. !exit :form La matriz $matname tiene $orients. !exit :ans Usted cree que la matriz $matname tiene $ans1 $orients. !ifval $ans1=$good1 Correcto. !else Usted está equivocado: $matname tiene $good1 $orients. !endif !exit :init storename=mat,matname,matprev,matfoll,o,orient,orients mat=!randitem 1,2,3 matname=!item $mat of A,B,C matprev=!item $mat of C,A,B matfoll=!item $mat of B,C,A o=!randitem 1,2 orient=!word $o of fila columna orients=!word $o of filas columnas objname=las matrices hint=Cuál es la relación entre el tamaño de una matriz producto MN y la de M y N? parm1=número de filas de AB\ Número de filas AB \ AB tiene ?? filas parm2=número de oclumnas AB\ Número de oclumnas de AB \ AB tiene ?? columnas parm3=número de filas de BC\ Número de filas de BC \ BC tiene ?? filas parm4=número de columnas de BC\ Número de columnas de BC \ BC tiene ?? columnas parm5=número de filas de CA\ Número de filas de CA \ CA tiene ?? filas parm6=número de columnas de CA\ Número de columnas de CA \ CA tiene ?? columnas t=!shuffle 9 t=!item $t of 2,3,4,5,6,7,8,9,10 !distribute item $t into val1,val3,val5 !distribute item 0,0,0 into weight1,weight3,weight5 n_=$[(2*($mat+$o)-3)%6] weight$n_=1 good1=$(val$n_) !distribute item $val1,$val3,$val5 into val4,val6,val2 !distribute item $weight1,$weight3,$weight5 into weight4,weight6,weight2 parmcnt=6 anscnt=1 minask=1 !if $o=1 solution=El número de filas de $matname es igual al de\ $(matname)$matfoll.

\ Además, como $(matprev)$matname tiene sentido, el número de filas de\ $matname también es igual al número de columnas de $matprev, que a su vez\ es igual al número de columnas de $matfoll$matprev.

\ Por consiguiente $matname tiene $good1 filas. !else solution=El número de columnas de $matname es igual al de\ $matprev$matname.

\ Además, como $matname$matfoll tiene sentido, el número de columnas de\ $matname también es igual al de filas de $matfoll, que a su vez\ es igual al número de filas de $matfoll$matprev.

\ Por tanto, $matname tiene $good1 columnas. !endif !exit :info !exit :final !bound ans1 between integer 1 and 20 default ?? !ifval $ans1=$good1 thisscore=1 !endif !exit wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/intro.phtml0000644000175000017500000000102010315754041026125 0ustar georgeskgeorgesk!header !read Exindex En un ejercicio tipo diálogo, el ordenador le presenta un problema y usted puede hacerle preguntas para obtener la información precisa que le permita resolverlo. Una vez que haya obtenido la información suficiente, debe dar su respuesta. Si usted hace más preguntas de las estrictamente necesarias, será penalizado en su puntuación.

En este módulo, usted tiene $exototal ejercicios tipo diálogo sobre matrices. !read proc/intromenu.phtml !read related.phtml Dialog, matrices, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/Exindex0000644000175000017500000000026710226016264025266 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of colrow1,colrow2,solnum, !set titlelist=!char 1 to -2 of Columnas y filas I,Columnas y filas II,Número de soluciones, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/Extitles0000644000175000017500000000012310226016264025452 0ustar georgeskgeorgeskcolrow1:Columnas y filas I colrow2:Columnas y filas II solnum:Número de soluciones wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/var.proc0000777000175000017500000000000011263403036030023 2proc/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/proc0000777000175000017500000000000011263403036030006 2../../../adm/dialog.esustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/about.phtml0000644000175000017500000000001710315754041026111 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/main.phtml0000777000175000017500000000000011263403036030615 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/var.def0000777000175000017500000000000011263403036027411 2proc/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/mkindex0000777000175000017500000000000011263403036027635 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/INDEX0000644000175000017500000000071410315754041024527 0ustar georgeskgeorgesktitle=Diálogo con matrices description=preguntar cuestiones para obtener información y resolver problemas sobre matrices. author=XIAO Gang address=xiao@unice.fr copyright=© 2000- (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.10 wims_version=3.01 language=es category=exercise level=U1, U2 domain=algebra, linear algebra keywords=sistema lineal, matriz, rango, determinante, traza require= scoring=yes wims-modules-es-3.64.orig/modules/U1/algebra/dialmatrix.es/help.phtml0000777000175000017500000000000011263403036030665 2proc/help.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/0000755000175000017500000000000010315753133023400 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/intro.phtml0000644000175000017500000000425310315754045025610 0ustar georgeskgeorgesk!header El rango de una matriz juega un papel muy importante en el Álgebra lineal. Del rango depende la existencia y número de soluciones de un sistema lineal de ecuaciones.

Este ejercicio muestra una matriz (representada de diversas formas: vectores, sistema lineal), con algunos de sus elementos ocultos. Usted tiene que encontrar esos valores tal que el rango de la matriz sea inferior a su dimensión. !form new Elija la forma de representación:

!if $special_parm!=expert Y el nivel de dificultad: !for i=1 to 9 $i   !next i !else Tamaño de la matriz:

Número de celdillas en blanco = (Este número debe ser < x).

La relación de dependencia lineal (o una solución sel sistema lineal) será requirida: sí,   no. !endif

!if $special_parm!=expert Si usted es experto, puede elegir los parámetros del ejercicio en un !href cmd=intro&module=$module&special_parm=expert menú detallado . !else Usted también puede realizar el ejercicio eligiendo simplemente !href cmd=intro&module=$module el nivel de dificultad . !endif !read related.phtml rango, matrices, sistemas lineales, vectores, espacios vectoriales, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/var.init0000644000175000017500000000317106554565003025066 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions (cmd=new or cmd=renew) # style maybe vector, generate, hmatrix, vmatrix, system, or random. !default style=random !default range_a=5 !default range_x=5 !default x=2 !default y=2 !default f=1 !default rel=0 !if $difficulty!=$empty and $difficulty>0 difficulty=$[rint($difficulty)] !if $difficulty>9 difficulty=9 !endif x=!word $difficulty of 2 3 2 3 3 4 3 4 5 y=!word $difficulty of 2 2 2 2 3 3 3 3 4 f=!word $difficulty of 1 1 1 2 1 2 2 3 3 rel=!word $difficulty of 0 0 1 1 0 1 1 1 1 !endif !if $style=random istyle=!randitem vector,vector,hmatrix,vmatrix,system,system,generate,generate !else !if , isin $style istyle=!randitem $style !else istyle=$style !endif !endif !if $y<2 y=2 !endif !if $x<$y x=$y !endif !if $f>$x-1 f=$[$x-1] !endif !if $f<1 f=1 !endif reply_cnt=0 r0=w/o r1=with wims_module_log=$cmd: $style $(x)x$y, $f vacancies $(r$rel) relation !for j=1 to $y a$j=!randint -$range_a,$range_a-1 !if $(a$j)>=0 a$j=$[$(a$j)+1] !endif !next j !for i=1 to $x :rerow !for j=1 to $y b$j=!randint -$range_x,$range_x # !if $(b$j)>=0 # b$j=$[$(b$j)+1] # !endif !next j row$j= t=0 !for j=1 to $y m$i$j=!eval $(a$[1+($j+2*$y-2)%$y])*($(b$j))-($(a$[1+$j%$y]))*($(b$[1+$j%$y])) t=$[$t+abs($(m$i$j))] !next j !if $t<=0 !goto rerow !endif !next i t=!shuffle $x !for i=1 to $f s=!randint 1,$y k=!item $i of $t m$k$s=c$i pos$i=$k$s !next i matrix= !for j=1 to $y row$j= !for i=1 to $x row$j=!append item $(m$i$j) to $(row$j) !next i matrix=!append line $(row$j) to $matrix !next j status=waiting difficulty= wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/vmatrix.desc0000644000175000017500000000024010315754044025730 0ustar georgeskgeorgesk Aquí tenemos una matriz $(x)x$y, alguno de sus elementos se han eliminado. Por favor, complete los rectángulos libres de tal manera que el rngo sea < $y . wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/system.desc0000644000175000017500000000034510315754044025570 0ustar georgeskgeorgesk Aquí tenemos un sistema lineal homogéneo de $x ecuaciones con $y incógnitas. Algunos de sus coeficientes se han eliminado. Por favor, complete los rectángulos en blanco de tal manera que el sistema tenga solución no trivial. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/var.proc0000644000175000017500000000314506761265705025075 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid working calls to the module. wims_print_precision=5 wims_compare_precision=1000 !if $cmd!=new and $cmd!=renew !for j=1 to $y l=!line $j of $matrix !for i=1 to $x m$i$j=!item $i of $l !next i !next j !endif !if $cmd=reply and $status=waiting cmatrix=$matrix reply_cnt=!eval $reply_cnt+1 !for i=1 to $f c$i=!item 1 of $(c$i) !if $(c$i)=$empty error=has_empty !exit !endif c=$[$(c$i)] !if NaN isin $c error=bad_num !exit !endif cmatrix=!mathsubst c$i=$(c$i) in $cmatrix !next i crel= !if $rel=1 r=0 !for j=1 to $y rel$j=!item 1 of $(rel$j) !if $(rel$j)=$empty error=has_empty !exit !endif c=$[$(rel$j)] !if NaN isin $c error=bad_num !exit !endif r=$[$r+abs($c)] crel=!append item $(rel$j) to $crel !next j !if $r<0.1 error=trivial_relation !exit !endif !endif cmatrix=!translate $\ $ to ; in $cmatrix pari_src=M=[$cmatrix];print(matrank(M)) !if $rel=1 pari_src=$pari_src\ a=0;r=[$crel];for(j=0,$y-1,a=a+abs(r*vecextract(M,2^j)));print(a) !endif pariout=!exec pari $pari_src rank=!line 1 of $pariout relabs=!line 2 of $pariout !if $rank!=$empty and $rank<$x and $rank<$y and ($rel=0 or $relabs<0.0001) status= module_score=$[30/($reply_cnt+2)] !if $module_score<2 module_score=2 !endif wims_module_log=good reply, score $module_score !endif !endif !if $status!=waiting !for i=1 to $f m$(pos$i)=$(c$i) !next i !endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/about.phtml0000644000175000017500000000020010315754044025552 0ustar georgeskgeorgesk$module_about El cálculo del rango lo hace !exec pari about .

este ejercicio surge de una idea original de Frédéric Pham. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/vmatrix.msg0000644000175000017500000000010410315754043025576 0ustar georgeskgeorgesk La matriz está bien, pero la relación lineal de las columnos, no. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/system.table0000644000175000017500000000230410315754045025737 0ustar georgeskgeorgesk !for i=1 to $x !if $i=1
!instex $$$$ \Bigg\{ $$$$ !endif !for j=1 to $y !set n=!charcnt $(m$i$j) !if c isin $(m$i$j) and $n=2 !set n=!char 2 of $(m$i$j) !if $j>1 + !else !endif x$j !else !if $n>4 +($(m$i$j)) x$j !goto case !endif !if $[$(m$i$j)]!=0 !if abs($(m$i$j))>1 !if $(m$i$j)>=0 +$(m$i$j) !else $(m$i$j) !endif !else !if $(m$i$j)>=0 + !else - !endif !endif x$j !else !endif :case !endif !next j = 0 !next i
!if $rel=1 !if $status=waiting

Precise una solución no trivial del sistema:

!for j=1 to $y x$j = !if $j<$y ,   !else . !endif !next j !else

Con una solución:

!for j=1 to $y x$j = $(rel$j) !if $j<$y ,   !else . !endif !next j !endif
!endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/vector.table0000644000175000017500000000156310315754044025722 0ustar georgeskgeorgesk !for j=1 to $y
$m_v$j = ( !for i=1 to $x !set n=!charcnt $(m$i$j) !if c isin $(m$i$j) and $n=2 !set n=!char 2 of $(m$i$j) !if $i<$x , !endif !else $(m$i$j) !if $i<$x  ,  !else   !endif !endif !next i ) !next j
!if $rel=1 !if $status=waiting

Precise la relación no trivial de dependencia lineal de los vectores:

!for j=1 to $y $m_v$j !if $j<$y + !else = 0 !endif !next j !else

Con una relación de dependencia lineal:

!for j=1 to $y !set rela=$rela$(rel$j) v$j !if $j<$y !set rela=$rela + $ !endif !next j !htmlmath $rela = 0 !endif
!endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/vmatrix.table0000644000175000017500000000170210315754043026104 0ustar georgeskgeorgesk!set ins_align=middle !for i=1 to $x !if $i=1
$m_M = !instex $$$$ \Bigg( $$$$ !endif !for j=1 to $y !set n=!charcnt $(m$i$j) !if c isin $(m$i$j) and $n=2 !set n=!char 2 of $(m$i$j) !else $(m$i$j)    !endif !next j !if $i=1 !instex $$$$ \Bigg) $$$$ !endif !next i
!if $rel=1 !if $status=waiting

Precise la relación no trivial de dependencia lineal entre las columnas de $m_M :

!for j=1 to $y $m_c$j !if $j<$y + !else = 0 !endif !next j !else

Con la dependencia lineal entre las columnas de $m_M:

!for j=1 to $y !set rela=$rela$(rel$j)*c$j !if $j<$y !set rela=$rela + $ !endif !next j !htmlmath $rela = 0 !endif
!endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/hmatrix.table0000644000175000017500000000170210315754044026067 0ustar georgeskgeorgesk!set ins_align=middle !for j=1 to $y !if $j=1
$m_M = !instex $$$$ \Bigg( $$$$ !endif !for i=1 to $x !set n=!charcnt $(m$i$j) !if c isin $(m$i$j) and $n=2 !set n=!char 2 of $(m$i$j) !else $(m$i$j)    !endif !next i !if $j=1 !instex $$$$ \Bigg) $$$$ !endif !next j
!if $rel=1 !if $status=waiting

Precise the non-trivial linear dependence relation among the rows of $m_M :

!for j=1 to $y $m_l$j !if $j<$y + !else = 0 !endif !next j !else

With the linear dependence relation among the rows of $m_M :

!for j=1 to $y !set rela=$rela$(rel$j)*l$j !if $j<$y !set rela=$rela + $ !endif !next j !htmlmath $rela = 0 !endif
!endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/main.phtml0000644000175000017500000000334410315754044025400 0ustar georgeskgeorgesk!header !if $status=waiting !read $istyle.desc

!form reply !read $istyle.table !if $reply_cnt=0

!else

!if $error=$empty Diagnosis. !if $rank>=$y or $rel=0 Perdón, su respuesta no es exacta (intento número $reply_cnt). Por favor, revise sus cálculos. !else !read $istyle.msg Un poquito de esfuerzo, usted puede hacerlo! (Reply number $reply_cnt.) !endif !else !read msg.phtml !endif !endif

!if $reply_cnt=0 Nota. Este ejercicio tiene al menos una solución con números enteros, aunque no es necesariamente única. Tenga en cuenta que el analizador de las soluciones no reconoce soluciones aproximadas. (escriba 1/3 en vez de 0.333333)!

!endif !else !if $reply_cnt=1 Bravo! usted a encontrado una buena solución al primer intento. !else !if $reply_cnt<5 Yes! !else At last! !endif Usted ha encontrado una buena solución después de $reply_cnt intentos. !endif Puntuación : $module_score/10.

!read $istyle.table !endif

!if $status=waiting Para hacer cálculos con matrices o vectores, usted puede llamar a algunas herramientas apropiadas de WIMS en línea. Haga clic en uno de los siguientes enlaces: !href target=wims_tool module=tool/linear/vector&objs=$y Calculadora de vectores , !href target=wims_tool module=tool/linear/matrix Calculador de matrices , o !href target=wims_tool module=tool/linear/linsolver Solucionador de sistemas lineales . (Aparecerán en otra ventana de su navegador.)

!href exo_Renew . !else !href exo_Again . !endif :end

!tail wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/hmatrix.desc0000644000175000017500000000024410315754044025716 0ustar georgeskgeorgesk Aquí tenemos una matriz $(y)x$x, con algunos de sus elementos eliminados. Complete los rectángulos libres de tal manera que el rango de esta matriz sea < $y . wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/generate.desc0000644000175000017500000000030210315754044026027 0ustar georgeskgeorgesk Aquí tenemos $x vectores en $m_RR$y, alguno de sus componentes has sido eliminados. Complete las celdas de tal forma que los $x vectores no generen el espacio $m_RR$y. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/var.def0000644000175000017500000000217306554145302024656 0ustar georgeskgeorgesk#This is the variable definition file of the wims module # `coincidence-polynome'. # Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim # An example of variable definition: # diff deny 1 reply_cnt deny 3 0 65535 hint_cnt deny 3 0 65535 status deny 0 istyle deny 1 matrix deny 1 # vector, hmatrix, vmatrix, system, or random style init 1 # x size x init 2 2 8 # y size y init 2 2 8 # number of empty cases f init 2 1 5 # ranges for random coefficients #range_a init 1 #range_x init 1 # whether or not to ask for relations rel init 1 # generic difficulty level difficulty init 0 c1 reply 1 c2 reply 1 c3 reply 1 c4 reply 1 c5 reply 1 pos1 deny 1 pos2 deny 1 pos3 deny 1 pos4 deny 1 pos5 deny 1 rel1 reply 1 rel2 reply 1 rel3 reply 1 rel4 reply 1 rel5 reply 1 wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/generate.msg0000644000175000017500000000022410315754043025701 0ustar georgeskgeorgesk Los vectores están bien, pero la ecuación lineal no: algunos vectores del subespacio generado por $m_v$m_i no satisfacen la ecuación. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/INDEX0000644000175000017500000000155010315754044024175 0ustar georgeskgeorgesktitle=Ejercicios de rango # Commencez la description par minuscule! description=completar una matriz con un rango mínimo. author=XIAO Gang address=xiao@unice.fr translator=Antonio Ullán translator_address=aullan@unex.es copyright=© 1998- (GNU GPL) version=1.30 # minimal version of wims server under which the module may run wims_version=3.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H6,U1,U2 # e.g. algebra, analysis, geometry, etc. domain=álgebra, álgebra lineal # Anything you like. keywords=matriz, vector, rango, dependencia lineal, sistema lineal # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/generate.table0000644000175000017500000000175710315754043026216 0ustar georgeskgeorgesk !for i=1 to $x
$m_v$i = ( !for j=1 to $y !set n=!charcnt $(m$i$j) !if c isin $(m$i$j) and $n=2 !set n=!char 2 of $(m$i$j) !if $i<$x , !endif !else $(m$i$j) !if $j<$y  ,  !else   !endif !endif !next j ) !next i
!if $rel=1 !if $status=waiting

Escriba una ecuación lineal que satisfagan todos los vectores del subespacio generado por los $m_v$m_i :

!for j=1 to $y $m_x$j !if $j<$y + !else = 0 !endif !next j !else

Con una ecuación lineal que satisfacen todos los vectores del subespacio generado por los $m_v$m_i :

!for j=1 to $y !set rela=$rela$(rel$j) x$j !if $j<$y !set rela=$rela + $ !endif !next j !htmlmath $rela = 0 !endif
!endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/vector.msg0000644000175000017500000000007610315754043025416 0ustar georgeskgeorgesk Los vectores están bien,pero la relación de dependencia no. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/hmatrix.msg0000644000175000017500000000010110315754044025556 0ustar georgeskgeorgesk La matriz está bien, pero la relación lineal de las filas, no. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/msg.phtml0000644000175000017500000000133710315754044025242 0ustar georgeskgeorgesk!set wims_module_log=error: $error ¡Error! !if has_empty iswordof $error Usted ha enviado una respuesta incompleta. Una respuesta así no es aceptable. Por favor, complete todos las celdas libres antes de enviar su respuesta. !exit !endif !if bad_num iswordof $error No puedo evaluar su respuesta: algunos campos pedidos contienen valores no entendibles. ¿Un error de escritura? Por favor, corríjalo.. !exit !endif !if trivial_relation iswordof $error !if $istyle=system !set dd=trivial solution for the system !else !set dd=trivial linear relation !endif Usted ha introducido un $dd, que no corresponde con lo que se pide. Por favor, haga los cálculos. !exit !endif wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/vector.desc0000644000175000017500000000031710315754043025544 0ustar georgeskgeorgesk Aquí tenemos $y vectores en $m_RR$x, alguna de sus componentes han sido eliminadas. Por favor, complete los cambos en blanco d etal manera que esos $y vectores sean linealmente independientes. wims-modules-es-3.64.orig/modules/U1/algebra/rankfill.es/system.msg0000644000175000017500000000011010315754045025427 0ustar georgeskgeorgesk El sistema lineal es correcto, pero no lo es la solución del sistema. wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/0000755000175000017500000000000011160665712024234 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/0000755000175000017500000000000011160665712024772 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/Circle.def0000644000175000017500000000611211160665712026653 0ustar georgeskgeorgesk!set title=Circunferencia !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=c varcnt=26 prevarcnt=25 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, 10 val6=$[rint($(tmp0))] val7=No. La suma no es conmutativa val8=No. El elemento nulo 0 no existe val9=No. La suma no es asociativa val10=No. La suma no está bien definida val11=No. Ciertos elementos no tienen su opuesto val12=No. El producto por escalar no está bien definido val13=No. El producto por escalar no es asociativo val14=No. Al multiplicar por 1 cambia el vector val15=No. La propiedad distributiva no está probada val16=Sí. Es un espacio vectorial val17=$val16,$val9,$val10,$val11,$val12,$val13,$val15 tmp0=!randitem 1,2,3 val18=$[rint($(tmp0))] !ifval $val18=1 val19=$val6 !else val19=r1 (resp. r2) !endif !ifval $val18=1 val20=$val6 !else val20=r1+r2 !endif !ifval $val18=1 val21=$val6 !else val21=r !endif !ifval $val18=1 val22=$val6 !endif !ifval $val18=2 val22=ar !endif !ifval $val18=3 val22=|ar| !endif !ifval $val18=1 val23=$val16 !endif !ifval $val18=2 val23=$val12,$val11 !endif !ifval $val18=3 val23=$val15,$val11 !endif !ifval $val18=1 val24=S es efectivamente un espacio vectorial, las circunferencias de radio $val6 quedan determinados sólo con conocer sus centros. !endif !ifval $val18=2 val24=S no es un espacio vectorial, porque el producto por números negativos nos da circunferencias con radio negativo , que no existen. !endif !ifval $val18=3 val24=S no es un espacio vectorial, porque no se satisface la propiedad distributiva entre la suma y el producto por escalar debido a la regla del valor absoluto en el radio. !endif choicename1=Su respuesta choicegood1=$val23 choicebad1=$val17 question=__EXECUTED_1692754_EXERCISE__ solution=!nosubst $val24 !goto stat !exit :question $()Sea S el conjunto de todas las circunferencias del plano (cartesiano), con las reglas de adición y multiplicación por escalares definida como sigue.
  • Si C1 (resp. C2) es una circunferencua de centro (x1,y1) (resp. (x2,y2) ) y radio $val19, C1 + C2 será la circunferencia de centro (x1+x2,y1+y2) y radio $val20.
  • Si C es una circunferencia de centro (x,y) y radio $val21, y si a es un número real, entonces aC es una circunferencia de centro (ax,ay) y radio $val22.
¿Es S con la adición y multiplicación por escalares definida más arriba un espacio vectorial sobre el conjunto de los números reales? $() !exit :hint $() $() !exit :help $() $() !exit :solution $()$val24 $() !exit :feedback !exit :test !exit :stat vsavelist=19,20,21,22,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/absolu.def0000644000175000017500000000370311160422565026737 0ustar georgeskgeorgesk!set title=Valor absoluto !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=c varcnt=14 prevarcnt=13 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 val6=No. La suma no es conmutativa val7=No. El elemento nulo 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen opuesto val11=No. El producto por escalar no está bien definido val12=No. El producto por escalar no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val11,$val12,$val14 val17=1 val18=2 choicename1=La respuesta choicegood1=$val14 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ solution=!nosubst En efecto, tenemos (1+(-1))(x,y)=(0,0), pero 1(x,y)+(-1)(x,y)=(2x,2y). !goto stat !exit :question $()Sea S el conjunto de parejas (x,y) de número reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, definimos (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+x$val18,y$val17+y$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, definimos a(x,y) = (|a|x,|a|y).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $()En efecto, tenemos (1+(-1))(x,y)=(0,0), pero 1(x,y)+(-1)(x,y)=(2x,2y). $() !exit :feedback !exit :test !exit :stat vsavelist=17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/unitcircle.def0000644000175000017500000000512511160665566027625 0ustar georgeskgeorgesk!set title=Única circunferencia !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=c varcnt=12 prevarcnt=11 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Algunos elementos no tienen opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalares no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val7,$val9,$val10,$val11,$val14 choicename1=Su respuesta choicegood1=$val11 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ solution=!nosubst En efecto, el producto no está bien definido. Por ejemplo, tenemos 2×(1,0)=2×(-1,0)=(1,0). Por lo tanto (1/2)×(1,0) llega a ser ambiguo, pues por la propiedad asociativa del producto por escalares tendríamos que (1,0)=(-1,0). !goto stat !exit :question $()Sea S el conjunto de puntos de la circunferencia x2+y2=1 en el plano cartesiano. Para cualquier punto (x,y) de S, existe un número real t tal que x=cos(t), y=sin(t).

Definimos la suma y producto por escalares en S como sigue:

  • Si (cos(t1),sin(t1)) y (cos(t2),sin(t2)) son dos puntos en S, su suma está definida por (cos(t1+t2),sin(t1+t2)).
  • Si p=(cos(t), sin(t)) es un punto de S y si a es un número real, el producto de p por el escalar a está definido por (cos(at), sin(at)).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $()En efecto, el producto no está bien definido. Por ejemplo, tenemos 2×(1,0)=2×(-1,0)=(1,0). Por lo tanto (1/2)×(1,0) llega a ser ambiguo, pues por la propiedad asociativa del producto por escalares tendríamos que (1,0)=(-1,0). $() !exit :feedback !exit :test !exit :stat vsavelist= embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/nonnuls.def0000644000175000017500000000364511160424627027154 0ustar georgeskgeorgesk!set title=Números no nulos !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=c varcnt=15 prevarcnt=14 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen su opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalares no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val7,$val9,$val10,$val11,$val12,$val14 tmp0=!randitem 0,1 val17=$(tmp0) !ifval $val17=0 val18=no nulos !else val18=estrictamente positivos !endif !ifval $val17=1 val19= $val15 !else val19=$val11 !endif choicename1=La respuesta choicegood1=$val19 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea S un conjunto de números reales $val18. Definimos la suma y producto por escalares en S como sigue:
  • Si x y y son dos elementos de S, la suma de x y y en S está definida por xy.
  • Si x es un elemento de S y si a es un número real, el producto de x por el escalar a está definido por xa.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/matrices2.def0000644000175000017500000000426511160422473027345 0ustar georgeskgeorgesk!set title=Matrices II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=no precision=10000 ansorder=c varcnt=27 prevarcnt=26 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 val6=No. La suma no es conmutativa val7=No. El elemento nulo 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos qie no tienen su opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalares no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val11,$val9,$val14 val17=Z,Q,R,C tmp0=!randint 2, 4 val18=$[rint($(tmp0))] tmp0=!randint 1, 4 val19=$[rint($(tmp0))] tmp0=!item $val18 of $val17 val20=$(tmp0) tmp0=!item $val19 of $val17 val21=$(tmp0) tmp0=!item $val18 of enteros, números racionales, números reales, números complejos val22=$(tmp0) tmp0=!item $val19 of enteros, racionales, reales, complejos val23=$(tmp0) tmp0=!randitem 1,2 val24=$[rint($(tmp0))] tmp0=!randint 1, 20 val25=$[rint($(tmp0))] tmp0=!randint 1, 20 val26=$[rint($(tmp0))] !ifval $val24=1 val27=cualquier orden !else val27= orden $val25×$val26 !endif !ifval $val24=2 and $val19>=$val18 val28= $val15 !endif !ifval $val24=2 and $val19<$val18 val28= $val11 !endif !ifval $val24=1 and $val19>=$val18 val28= $val9 !endif !ifval $val24=1 and $val19<$val18 val28= $val9,$val11 !endif choicename1=The answer choicegood1=$val28 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El conjunto de matrices con elementos $val23 y de $val27, junto con la suma y multiplicación usual, ¿es un espacio vectorial sobre el espacio de los $val22? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22,23,27 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/fields.def0000644000175000017500000000356211160420351026712 0ustar georgeskgeorgesk!set title=Espacios !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=c varcnt=21 prevarcnt=20 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen opuesto val11=No. El producto por escalar no está bien definido val12=No. El producto por escalar no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val11,$val9,$val14 val17=Z,Q,R,C tmp0=!randint 2, 4 val18=$[rint($(tmp0))] tmp0=!randint 1, 3 val19=$[rint($(tmp0))] !ifval $val19>=$val18 val19=$[rint($val19+1)] !else val19=$[rint($val19)] !endif tmp0=!item $val18 of $val17 val20=$(tmp0) tmp0=!item $val19 of $val17 val21=$(tmp0) tmp0=!item $val18 of enteros, números racionales, números reales, números complejos val22=$(tmp0) tmp0=!item $val19 of enteros, números racionales, números reales, números complejos val23=$(tmp0) !ifval $val19>$val18 val24=$val15 !else val24=$val11 !endif choicename1=La respuesta choicegood1=$val24 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El conjunto de todos los $val23, junto con la suma y el producto usual, ¿es un espacio vectorial sobre el espacio de los $val22? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22,23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/Espacedapplica.def0000644000175000017500000000506211160422553030345 0ustar georgeskgeorgesk!set title=Espacio de aplicaciones !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=c varcnt=20 prevarcnt=19 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 val6=No. La suma no es conmutativa val7=No. El elemento nulo 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen su opuesto val11=No. El producto por escalar no está bien definida val12=No. El producto por escalar no es asociativo val13=No. Al multiplicar por el elemento unidad 1, el vector varía val14=No. No verifica la propiedad distributiva val15=Sí. Se trata de un espacio vectorial val16=$val15,$val8,$val7,$val9,$val10,$val11,$val12 val17=Z,Q,R,C tmp0=!randint 1, 4 val18=$[rint($(tmp0))] tmp0=!randint 1, 4 val19=$[rint($(tmp0))] tmp0=!item $val18 of $val17 val20=$(tmp0) tmp0=!item $val19 of $val17 val21=$(tmp0) tmp0=!item $val18 of números enteros, números racionales, números reales, números complejos val22=$(tmp0) tmp0=!item $val19 of números enteros, números racionales, números reales, números complejos val23=$(tmp0) !ifval $val19>=3 val24= $val15 !else val24=$val11 !endif choicename1=Tu respuesta choicegood1=$val24 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea S el conjunto de las aplicaciones

f: $val20 ---> $val21 ,

(i.e., del conjunto de los $val22 al conjunto de los $val23) con las reglas de adición y multiplicación por escalares como sigue:

  • Si f1 y f2 son dos aplicaciones en S, f1+f2 es una aplicación f: :$val20 -> $val21 tal que f(x)=f1(x)+f2(x) para todo x perteneciente a $val20.
  • Si f es una aplicación en S y si a es un número real, af es una aplicación de $val20 a $val21 tal que (af)(x)=a·f(x) para todo x perteneciente a $val20.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=20,21,22,23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/alternate.def0000644000175000017500000000344411160417451027431 0ustar georgeskgeorgesk!set title=Suma alternada !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=c varcnt=14 prevarcnt=13 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen su opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalar no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val9,$val6,$val8,$val10,$val11,$val14 val17=1 val18=2 choicename1=La respuesta choicegood1=$val6,$val8 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea S el conjunto de parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+y$val18,y$val17+x$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, a(x,y) = (ax,ay).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/.htaccess0000644000175000017500000000001610771745076026576 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/muldiv.def0000644000175000017500000000356011160423604026746 0ustar georgeskgeorgesk!set title=Multiplicación/división !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=c varcnt=14 prevarcnt=13 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen su opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalares no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val11,$val12,$val14 val17=1 val18=2 choicename1=La respuesta choicegood1=$val14 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea S el conjunto de las parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, definimos (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+x$val18,y$val17+y$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, definimos a(x,y) = (x/a , y/a) si a es no nulo, y 0(x,y)=(0,0) si a es nulo.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/transaffine.def0000644000175000017500000000522611160661772027761 0ustar georgeskgeorgesk!set title=Trans-recta !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=c varcnt=27 prevarcnt=26 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen su opuesto val11=No. El producto por escalar no está bien definido val12=No. El producto por escalar no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val9,$val7,$val6,$val8,$val10,$val11,$val12,$val14 val17=1 val18=2 tmp0=!randitem -7,-6,-5,-4,-3,-2,2,3,4,5,6,7 val19=$[rint($(tmp0))] tmp0=!randitem -7,-6,-5,-4,-3,-2,2,3,4,5,6,7 val20=$[rint($(tmp0))] tmp0=!randitem 1,2,3,4 val21=$(tmp0) val22=$[rint(-($val19))] val23=$[rint(-($val20))] !ifval $val21=1 or $val21=4 val24=$[rint($val22)] !else val24=$[rint($val19)] !endif !ifval $val21=1 or $val21=4 val25=$[rint($val23)] !else val25=$[rint($val20)] !endif !ifval $val22>0 val22=+$val22 !else val22=$val22 !endif !ifval $val23>0 val23=+$val23 !else val23=$val23 !endif !ifval $val24>0 val24=+$val24 !else val24=$val24 !endif !ifval $val25>0 val25=+$val25 !else val25=$val25 !endif !ifval $val21>2 val26=1-a !else val26=a-1 !endif tmp0=!item $val21 of $val15,$val14,$val15,$val14 val27=$(tmp0) choicename1=La respuesta choicegood1=$val27 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea S el conjunto de las parejas (x,y) de números reales. Definimos la suma y el producto por escalares en S como sigue:
  • Si (x$val17,y$val17) y (x$val18,y$val18) son dos elementos de S, su suma en S está definida por la pareja (x$val17+x$val18$val22,y$val17+y$val18$val23).
  • Si (x,y) es un elemento de S, y si a es un número real, el producto de (x,y) por el escalar a en S está definido por la pareja (ax$val24($val26),ay$val25($val26)).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,22,23,24,25,26 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/matrices.def0000644000175000017500000000406111160421310027242 0ustar georgeskgeorgesk!set title=Matrices !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=c varcnt=18 prevarcnt=17 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 val6=No. La suma no es conmutativa val7=No. El elemento nulo 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen su opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalares no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val11,$val12,$val14 tmp0=!randitem 1,2,3,4 val17=$(tmp0) tmp0=!item $val17 of a&0\cr 0&a, a&0\cr 0&1, 0&a\cr a&0, a&0\cr 0&-a val18=$(tmp0) !ifval $val17=1 val19=$val15 !endif !ifval $val17=2 val19=$val14 !endif !ifval $val17>2 val19=$val12,$val14 !endif tmp0=!randint 2, 5 val20=$[rint($(tmp0))] choicename1=La respuesta choicegood1=$val19 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath S $() el conjunto de las matrices reales !insmath 2\times $val20 $(). Sobre !insmath S $(), tenemos definido el producto por escalares como sigue: $m_par Si !insmath M $() es una matriz en !insmath S $(), y si !insmath a $() es un número real, el producto de !insmath M $() por el escalar !insmath a $() está definido por la matriz !insmath AM $(), donde !insmath A=\pmatrix{$val18} $().

¿Es !insmath S $() junto con la suma usual y el producto por escalares definido más arriba un espacio vectorial sobre !insmath RR $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18,20 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/transquare.def0000644000175000017500000000456611160661757027657 0ustar georgeskgeorgesk!set title=Trans-cuadrado !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=c varcnt=23 prevarcnt=22 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Algunos elementos no tienen opuesto val11=No. El producto por escalares no está bien definido val12=No. El producto por escalares no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propiedad distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val9,$val7,$val6,$val8,$val10,$val11,$val12,$val14 val17=1 val18=2 tmp0=!randitem -7,-6,-5,-4,-3,-2,2,3,4,5,6,7 val19=$[rint($(tmp0))] tmp0=!randitem 1,2,3,4 val20=$(tmp0) val21=$[rint(2*($val19))] !ifval $val20=1 or $val20=4 val22=$[rint(-($val19))] !else val22=$[rint($val19)] !endif !ifval $val21>0 val21=+$val21 !else val21=$val21 !endif !ifval $val22>0 val22=+$val22 !else val22=$val22 !endif !ifval $val20>2 val23=a2-a !else val23=a-a2 !endif tmp0=!item $val20 of $val15,$val14,$val15,$val14 val24=$(tmp0) val25=x choicename1=Su respuesta choicegood1=$val24 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea S el conjunto de parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:

  • Para cualesquiera (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+x$val18,y$val17+y$val18$val21$val25$val17$val25$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, a(x,y) = (ax,ay$val22($val23)$val252).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,21,22,23,25 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/def/affineline.def0000644000175000017500000000524211160416461027550 0ustar georgeskgeorgesk!set title=Recta afín !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=c varcnt=29 prevarcnt=28 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 val6=No. La suma no es conmutativa val7=No. El elemento 0 no existe val8=No. La suma no es asociativa val9=No. La suma no está bien definida val10=No. Hay elementos que no tienen opuesto val11=No. El producto por esacalar no está bien definido val12=No. El producto por escalar no es asociativo val13=No. Al multiplicar por el elemento unidad 1 cambia el vector val14=No. No verifica la propieda distributiva val15=Sí. Es un espacio vectorial val16=$val15,$val6,$val7,$val9,$val10,$val11,$val12,$val14 tmp0=!randitem 1,2,3,4 val17=$(tmp0) val18=a val19=p val20=x val21=y val22=0 val23=1 val24=2 !ifval $val17=1 or $val17=3 val25=(x$val23+x$val24-x$val22,y$val23+y$val24-y$val22) !endif !ifval $val17=2 val25=(x$val23+x$val24,y$val23+y$val24) !endif !ifval $val17=4 val25=(x$val23-x$val24+x$val22,y$val23-y$val24+y$val22) !endif !ifval $val17=1 or $val17=4 val26=($val18$val20+(1-$val18)$val20$val22,$val18$val21+(1-$val18)$val21$val22) !endif !ifval $val17=2 or $val17=3 val26=((1+$val18)x$val22-$val18$val20,(1+$val18)$val21$val22-$val18$val21) !endif !ifval $val17=1 val27=$val15 !endif !ifval $val17=2 val27=$val9,$val12 !endif !ifval $val17=3 val27=$val12,$val14 !endif !ifval $val17=4 val27=$val6,$val7 !endif choicename1=La respuesta choicegood1=$val27 choicebad1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea L una recta del plano cartesiano, definida por una ecuación c1x+c2y=c3, y sea $val19$val22=(x$val22,y$val22) un punto fijo de L.

Sea S el conjunto de puntos de L. Sobre S, definimos la suma y producto por escalares como sigue:

  • Si $val19$val23=(x$val23,y$val23) y $val19$val24=(x$val24,y$val24) son dos elementos de S, definimos $val19$val23+$val19$val24 = $val25.
  • Si $val19=(x,y) es un elemento de S y si $val18 es un número real, definimos $val18$val19 = $val26.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18,19,22,23,24,25,26 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/intro.phtml0000644000175000017500000000102311155733240026425 0ustar georgeskgeorgesk!header !read Exindex Este módulo actualmente contiene $exototal ejercicios relacionados con la definición de espacios vectoriales. Se proponen distintas estructuras en cada caso; sobre las que tendrás que determinar si se trata realmente de un espacio vectorial.

Ver también la colección de ejercicios en !href module=U1/algebra/oefvecspa espacios vectoriales en general o !href module=U1/algebra/oefsubspadef definición de subespacios . !read oef/intromenu.phtml !read related.phtml espacio vectorial, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/Exindex0000644000175000017500000000065011160665712025564 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of Circle,Espacedapplica,fields,matrices,matrices2,muldiv,nonnuls,affineline,alternate,transquare,transaffine,absolu,unitcircle, !set titlelist=!char 1 to -2 of Circunferencia,Espacio de aplicaciones,Espacios,Matrices,Matrices II,Multiplicación/división,Números no nulos,Recta afín,Suma alternada,Trans-cuadrado,Trans-recta,Valor absoluto,Única circunferencia, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/Extitles0000644000175000017500000000050411160665712025757 0ustar georgeskgeorgeskCircle:Circunferencia Espacedapplica:Espacio de aplicaciones absolu:Valor absoluto affineline:Recta afín alternate:Suma alternada fields:Espacios matrices:Matrices matrices2:Matrices II muldiv:Multiplicación/división nonnuls:Números no nulos transaffine:Trans-recta transquare:Trans-cuadrado unitcircle:Única circunferencia wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/var.proc0000644000175000017500000000115110771745076025720 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/about.phtml0000644000175000017500000000005310771745076026423 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/content.html0000644000175000017500000001666711160665712026614 0ustar georgeskgeorgesk


Circunferencia

Sea S el conjunto de todas las circunferencias del plano (cartesiano), con las reglas de adición y multiplicación por escalares definida como sigue.
  • Si C1 (resp. C2) es una circunferencua de centro (x1,y1) (resp. (x2,y2) ) y radio $val19, C1 + C2 será la circunferencia de centro (x1+x2,y1+y2) y radio $val20.
  • Si C es una circunferencia de centro (x,y) y radio $val21, y si a es un número real, entonces aC es una circunferencia de centro (ax,ay) y radio $val22.
¿Es S con la adición y multiplicación por escalares definida más arriba un espacio vectorial sobre el conjunto de los números reales?

Espacio de aplicaciones

Sea S el conjunto de las aplicaciones

f: $val20 ---> $val21 ,

(i.e., del conjunto de los $val22 al conjunto de los $val23) con las reglas de adición y multiplicación por escalares como sigue:

  • Si f1 y f2 son dos aplicaciones en S, f1+f2 es una aplicación f: :$val20 -> $val21 tal que f(x)=f1(x)+f2(x) para todo x perteneciente a $val20.
  • Si f es una aplicación en S y si a es un número real, af es una aplicación de $val20 a $val21 tal que (af)(x)=a·f(x) para todo x perteneciente a $val20.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R ?

Valor absoluto

Sea S el conjunto de parejas (x,y) de número reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, definimos (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+x$val18,y$val17+y$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, definimos a(x,y) = (|a|x,|a|y).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Recta afín

Sea L una recta del plano cartesiano, definida por una ecuación c1x+c2y=c3, y sea $val19$val22=(x$val22,y$val22) un punto fijo de L.

Sea S el conjunto de puntos de L. Sobre S, definimos la suma y producto por escalares como sigue:

  • Si $val19$val23=(x$val23,y$val23) y $val19$val24=(x$val24,y$val24) son dos elementos de S, definimos $val19$val23+$val19$val24 = $val25.
  • Si $val19=(x,y) es un elemento de S y si $val18 es un número real, definimos $val18$val19 = $val26.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Suma alternada

Sea S el conjunto de parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+y$val18,y$val17+x$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, a(x,y) = (ax,ay).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Espacios

El conjunto de todos los $val23, junto con la suma y el producto usual, ¿es un espacio vectorial sobre el espacio de los $val22?

Matrices

Sea el conjunto de las matrices reales . Sobre , tenemos definido el producto por escalares como sigue: $m_par Si es una matriz en , y si es un número real, el producto de por el escalar está definido por la matriz , donde .

¿Es junto con la suma usual y el producto por escalares definido más arriba un espacio vectorial sobre ?


Matrices II

El conjunto de matrices con elementos $val23 y de $val27, junto con la suma y multiplicación usual, ¿es un espacio vectorial sobre el espacio de los $val22?

Multiplicación/división

Sea S el conjunto de las parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, definimos (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+x$val18,y$val17+y$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, definimos a(x,y) = (x/a , y/a) si a es no nulo, y 0(x,y)=(0,0) si a es nulo.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Números no nulos

Sea S un conjunto de números reales $val18. Definimos la suma y producto por escalares en S como sigue:
  • Si x y y son dos elementos de S, la suma de x y y en S está definida por xy.
  • Si x es un elemento de S y si a es un número real, el producto de x por el escalar a está definido por xa.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Trans-recta

Sea S el conjunto de las parejas (x,y) de números reales. Definimos la suma y el producto por escalares en S como sigue:
  • Si (x$val17,y$val17) y (x$val18,y$val18) son dos elementos de S, su suma en S está definida por la pareja (x$val17+x$val18$val22,y$val17+y$val18$val23).
  • Si (x,y) es un elemento de S, y si a es un número real, el producto de (x,y) por el escalar a en S está definido por la pareja (ax$val24($val26),ay$val25($val26)).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Trans-cuadrado

Sea S el conjunto de parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualesquiera (x$val17,y$val17) y (x$val18,y$val18) perteneciente a S, (x$val17,y$val17)+(x$val18,y$val18) = (x$val17+x$val18,y$val17+y$val18$val21$val25$val17$val25$val18).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, a(x,y) = (ax,ay$val22($val23)$val252).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?

Única circunferencia

Sea S el conjunto de puntos de la circunferencia x2+y2=1 en el plano cartesiano. Para cualquier punto (x,y) de S, existe un número real t tal que x=cos(t), y=sin(t).

Definimos la suma y producto por escalares en S como sigue:

  • Si (cos(t1),sin(t1)) y (cos(t2),sin(t2)) son dos puntos en S, su suma está definida por (cos(t1+t2),sin(t1+t2)).
  • Si p=(cos(t), sin(t)) es un punto de S y si a es un número real, el producto de p por el escalar a está definido por (cos(at), sin(at)).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R? wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/main.phtml0000644000175000017500000000003110771745076026231 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/INDEX0000644000175000017500000000104111155732472025024 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF definición de espacio vectorial description=colección de ejercicios para la definición de espacios vectoriales. language=es category=exercise, oef domain=álgebra, álgebra lineal level=U1 keywords=espacio vectorial require= scoring=yes copyright=© 1999- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.40 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/0000755000175000017500000000000010771763605025032 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/transquare.oef0000644000175000017500000000335111160661757027712 0ustar georgeskgeorgesk\title{Trans-cuadrado} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Algunos elementos no tienen opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalares no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\adddef,\nozero,\addcomm,\addasso,\addneg,\multdef,\multasso,\distrib} \text{sub1=1} \text{sub2=2} \integer{b=random(-7,-6,-5,-4,-3,-2,2,3,4,5,6,7)} \text{choix=random(1,2,3,4)} \integer{add=2*(\b)} \integer{mul1=\choix=1 or \choix=4?-(\b):\b} \text{add=\add>0?+\add:\add} \text{mul1=\mul1>0?+\mul1:\mul1} \text{mul2=\choix>2?a2-a:a-a2} \text{good=item(\choix,\yes,\distrib,\yes,\distrib)} \text{x=x} \statement{Sea S el conjunto de parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualesquiera (x\sub1,y\sub1) y (x\sub2,y\sub2) perteneciente a S, (x\sub1,y\sub1)+(x\sub2,y\sub2) = (x\sub1+x\sub2,y\sub1+y\sub2\add\x\sub1\x\sub2).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, a(x,y) = (ax,ay\mul1(\mul2)\x2).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{Su respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/matrices.oef0000644000175000017500000000263511160421310027313 0ustar georgeskgeorgesk\title{Matrices} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento nulo 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen su opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalares no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\multdef,\multasso,\distrib} \text{choix=random(1,2,3,4)} \text{multipli=item(\choix,a&0\cr 0&a, a&0\cr 0&1, 0&a\cr a&0, a&0\cr 0&-a )} \text{good=\choix=1?\yes} \text{good=\choix=2?\distrib} \text{good=\choix>2?\multasso,\distrib} \integer{cols=random(2..5)} \statement{Sea \(S) el conjunto de las matrices reales \(2\times \cols). Sobre \(S), tenemos definido el producto por escalares como sigue: \par Si \(M) es una matriz en \(S), y si \(a) es un número real, el producto de \(M) por el escalar \(a) está definido por la matriz \(AM), donde \(A=\pmatrix{\multipli}).

¿Es \(S) junto con la suma usual y el producto por escalares definido más arriba un espacio vectorial sobre\(RR)?} \choice{La respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/transaffine.oef0000644000175000017500000000365111160661772030025 0ustar georgeskgeorgesk\title{Trans-recta} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen su opuesto} \text{multdef=No. El producto por escalar no está bien definido} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\adddef,\nozero,\addcomm,\addasso,\addneg,\multdef,\multasso,\distrib} \text{sub1=1} \text{sub2=2} \integer{a=random(-7,-6,-5,-4,-3,-2,2,3,4,5,6,7)} \integer{b=random(-7,-6,-5,-4,-3,-2,2,3,4,5,6,7)} \text{choix=random(1,2,3,4)} \integer{add1=-(\a)} \integer{add2=-(\b)} \integer{mul1=\choix=1 or \choix=4?\add1:\a} \integer{mul2=\choix=1 or \choix=4?\add2:\b} \text{add1=\add1>0?+\add1:\add1} \text{add2=\add2>0?+\add2:\add2} \text{mul1=\mul1>0?+\mul1:\mul1} \text{mul2=\mul2>0?+\mul2:\mul2} \text{mul=\choix>2?1-a:a-1} \text{good=item(\choix,\yes,\distrib,\yes,\distrib)} \statement{Sea S el conjunto de las parejas (x,y) de números reales. Definimos la suma y el producto por escalares en S como sigue:

  • Si (x\sub1,y\sub1) y (x\sub2,y\sub2) son dos elementos de S, su suma en S está definida por la pareja (x\sub1+x\sub2\add1,y\sub1+y\sub2\add2).
  • Si (x,y) es un elemento de S, y si a es un número real, el producto de (x,y) por el escalar a en S está definido por la pareja (ax\mul1(\mul),ay\mul2(\mul)).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{La respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/choices0000644000175000017500000000114610771745076026376 0ustar georgeskgeorgesk\text{addcomm=No. Addition is not commutative} \text{nozero=No. Element 0 does not exist} \text{addasso=No. Addition is not associative} \text{adddef=No. Addition is not well defined} \text{addneg=No. Certain elements do not have negatives} \text{multdef=No. Multiplication by scalar is not well defined} \text{multasso=No. Multiplication by scalar is not associative} \text{multone=No. Multiply by 1 changes the vector} \text{distrib=No. Distributivity is not verified} \text{yes=Yes. It is really a vector space} \text{choices=\yes,\addcomm,\addasso,\nozero,\adddef,\addneg,\multdef,\multasso,\multone,\distrib} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/nonnuls.oef0000644000175000017500000000263611160424627027217 0ustar georgeskgeorgesk\title{Números no nulos} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen su opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalares no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\nozero,\adddef,\addneg,\multdef,\multasso,\distrib} \text{choix=random(0,1)} \text{type=\choix=0?no nulos:estrictamente positivos} \text{good=\choix=1? \yes:\multdef} \statement{Sea S un conjunto de números reales \type. Definimos la suma y producto por escalares en S como sigue:
  • Si x y y son dos elementos de S, la suma de x y y en S está definida por xy.
  • Si x es un elemento de S y si a es un número real, el producto de x por el escalar a está definido por xa.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{La respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/Circle.oef0000644000175000017500000000465211160665711026725 0ustar georgeskgeorgesk\title{Circunferencia} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{rad=random(1..10)} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento nulo 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Ciertos elementos no tienen su opuesto} \text{multdef=No. El producto por escalar no está bien definido} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por 1 cambia el vector} \text{distrib=No. La propiedad distributiva no está probada} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\addasso,\adddef,\addneg,\multdef,\multasso,\distrib} \integer{type=random(1,2,3)} \text{rad1=\type=1?\rad:r1 (resp. r2)} \text{rad2=\type=1?\rad:r1+r2} \text{rad3=\type=1?\rad:r} \text{rad4=\type=1?\rad} \text{rad4=\type=2?ar} \text{rad4=\type=3?|ar|} \text{good=\type=1?\yes} \text{good=\type=2?\multdef,\addneg} \text{good=\type=3?\distrib,\addneg} \text{solution=\type=1?S es efectivamente un espacio vectorial, las circunferencias de radio \rad quedan determinados sólo con conocer sus centros.} \text{solution=\type=2?S no es un espacio vectorial, porque el producto por números negativos nos da circunferencias con radio negativo , que no existen.} \text{solution=\type=3?S no es un espacio vectorial, porque no se satisface la propiedad distributiva entre la suma y el producto por escalar debido a la regla del valor absoluto en el radio.} \statement{Sea S el conjunto de todas las circunferencias del plano (cartesiano), con las reglas de adición y multiplicación por escalares definida como sigue.
  • Si C1 (resp. C2) es una circunferencua de centro (x1,y1) (resp. (x2,y2) ) y radio \rad1, C1 + C2 será la circunferencia de centro (x1+x2,y1+y2) y radio \rad2.
  • Si C es una circunferencia de centro (x,y) y radio \rad3, y si a es un número real, entonces aC es una circunferencia de centro (ax,ay) y radio \rad4.
¿Es S con la adición y multiplicación por escalares definida más arriba un espacio vectorial sobre el conjunto de los números reales?} \choice{Su respuesta}{\good}{\choices} \solution{\solution} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/fields.oef0000644000175000017500000000235211160420351026752 0ustar georgeskgeorgesk\title{Espacios} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen opuesto} \text{multdef=No. El producto por escalar no está bien definido} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\multdef,\adddef,\distrib} \text{list=Z,Q,R,C} \integer{f=random(2..4)} \integer{s=random(1..3)} \integer{s=\s>=\f?\s+1:\s} \text{first=item(\f,\list)} \text{second=item(\s,\list)} \text{name1=item(\f, enteros, números racionales, números reales, números complejos )} \text{name2=item(\s, enteros, números racionales, números reales, números complejos )} \text{good=\s>\f?\yes:\multdef} \statement{El conjunto de todos los \name2, junto con la suma y el producto usual, ¿es un espacio vectorial sobre el espacio de los \name1?} \choice{La respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/unitcircle.oef0000644000175000017500000000361111160665566027667 0ustar georgeskgeorgesk\title{Única circunferencia} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Algunos elementos no tienen opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalares no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\nozero,\adddef,\addneg,\multdef,\distrib} \statement{Sea S el conjunto de puntos de la circunferencia x2+y2=1 en el plano cartesiano. Para cualquier punto (x,y) de S, existe un número real t tal que x=cos(t), y=sin(t).

Definimos la suma y producto por escalares en S como sigue:

  • Si (cos(t1),sin(t1)) y (cos(t2),sin(t2)) son dos puntos en S, su suma está definida por (cos(t1+t2),sin(t1+t2)).
  • Si p=(cos(t), sin(t)) es un punto de S y si a es un número real, el producto de p por el escalar a está definido por (cos(at), sin(at)).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{Su respuesta}{\multdef}{\choices} \solution{En efecto, el producto no está bien definido. Por ejemplo, tenemos 2×(1,0)=2×(-1,0)=(1,0). Por lo tanto (1/2)×(1,0) llega a ser ambiguo, pues por la propiedad asociativa del producto por escalares tendríamos que (1,0)=(-1,0).} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/affineline.oef0000644000175000017500000000405311160416461027613 0ustar georgeskgeorgesk\title{Recta afín} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen opuesto} \text{multdef=No. El producto por esacalar no está bien definido} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propieda distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\addcomm,\nozero,\adddef,\addneg,\multdef,\multasso,\distrib} \text{choix=random(1,2,3,4)} \text{a=a} \text{p=p} \text{x=x} \text{y=y} \text{sub0=0} \text{sub1=1} \text{sub2=2} \text{addition=\choix=1 or \choix=3?(x\sub1+x\sub2-x\sub0,y\sub1+y\sub2-y\sub0)} \text{addition=\choix=2?(x\sub1+x\sub2,y\sub1+y\sub2)} \text{addition=\choix=4?(x\sub1-x\sub2+x\sub0,y\sub1-y\sub2+y\sub0)} \text{multipli=\choix=1 or \choix=4?(\a\x+(1-\a)\x\sub0,\a\y+(1-\a)\y\sub0)} \text{multipli=\choix=2 or \choix=3?((1+\a)x\sub0-\a\x,(1+\a)\y\sub0-\a\y)} \text{good=\choix=1?\yes} \text{good=\choix=2?\adddef,\multasso} \text{good=\choix=3?\multasso,\distrib} \text{good=\choix=4?\addcomm,\nozero} \statement{Sea L una recta del plano cartesiano, definida por una ecuación c1x+c2y=c3, y sea \p\sub0=(x\sub0,y\sub0) un punto fijo de L.

Sea S el conjunto de puntos de L. Sobre S, definimos la suma y producto por escalares como sigue:

  • Si \p\sub1=(x\sub1,y\sub1) y \p\sub2=(x\sub2,y\sub2) son dos elementos de S, definimos \p\sub1+\p\sub2 = \addition.
  • Si \p=(x,y) es un elemento de S y si \a es un número real, definimos \a\p = \multipli.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{La respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/.htaccess0000644000175000017500000000001610771745076026627 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/muldiv.oef0000644000175000017500000000262711160423604027015 0ustar georgeskgeorgesk\title{Multiplicación/división} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen su opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalares no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\multdef,\multasso,\distrib} \text{sub1=1} \text{sub2=2} \statement{Sea S el conjunto de las parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x\sub1,y\sub1) y (x\sub2,y\sub2) perteneciente a S, definimos (x\sub1,y\sub1)+(x\sub2,y\sub2) = (x\sub1+x\sub2,y\sub1+y\sub2).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, definimos a(x,y) = (x/a , y/a) si a es no nulo, y 0(x,y)=(0,0) si a es nulo.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{La respuesta}{\distrib}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/Espacedapplica.oef0000644000175000017500000000375311160422553030416 0ustar georgeskgeorgesk\title{Espacio de aplicaciones} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento nulo 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen su opuesto} \text{multdef=No. El producto por escalar no está bien definida} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1, el vector varía} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Se trata de un espacio vectorial} \text{choices=\yes,\addasso,\nozero,\adddef,\addneg,\multdef,\multasso} \text{list=Z,Q,R,C} \integer{f=random(1..4)} \integer{s=random(1..4)} \text{first=item(\f,\list)} \text{second=item(\s,\list)} \text{name1=item(\f,números enteros, números racionales, números reales, números complejos)} \text{name2=item(\s,números enteros, números racionales, números reales, números complejos)} \text{good=\s>=3? \yes:\multdef} \statement{Sea S el conjunto de las aplicaciones

f: \first ---> \second ,

(i.e., del conjunto de los \name1 al conjunto de los \name2) con las reglas de adición y multiplicación por escalares como sigue:

  • Si f1 y f2 son dos aplicaciones en S, f1+f2 es una aplicación f: :\first -> \second tal que f(x)=f1(x)+f2(x) para todo x perteneciente a \first.
  • Si f es una aplicación en S y si a es un número real, af es una aplicación de \first a \second tal que (af)(x)=a·f(x) para todo x perteneciente a \first.
¿Es S con la estructura definida más arriba un espacio vectorial sobre R ?} \choice{Tu respuesta}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/matrices2.oef0000644000175000017500000000301511160422473027401 0ustar georgeskgeorgesk\title{Matrices II} \language{fr} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento nulo 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos qie no tienen su opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalares no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\multdef,\adddef,\distrib} \text{list=Z,Q,R,C} \integer{f=random(2..4)} \integer{s=random(1..4)} \text{first=item(\f,\list)} \text{second=item(\s,\list)} \text{name1=item(\f, enteros, números racionales, números reales, números complejos )} \text{name2=item(\s, enteros, racionales, reales, complejos)} \integer{sizetype=random(1,2)} \integer{rows=random(1..20)} \integer{cols=random(1..20)} \text{size=\sizetype=1?cualquier orden: orden \rows×\cols} \text{good=\sizetype=2 and \s>=\f? \yes} \text{good=\sizetype=2 and \s<\f? \multdef} \text{good=\sizetype=1 and \s>=\f? \adddef} \text{good=\sizetype=1 and \s<\f? \adddef,\multdef} \statement{El conjunto de matrices con elementos \name2 y de \size, junto con la suma y multiplicación usual, ¿es un espacio vectorial sobre el espacio de los \name1?} \choice{The answer}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/absolu.oef0000644000175000017500000000263411160422565027005 0ustar georgeskgeorgesk\title{Valor absoluto} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento nulo 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen opuesto} \text{multdef=No. El producto por escalar no está bien definido} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\multdef,\multasso,\distrib} \text{sub1=1} \text{sub2=2} \statement{Sea S el conjunto de parejas (x,y) de número reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x\sub1,y\sub1) y (x\sub2,y\sub2) perteneciente a S, definimos (x\sub1,y\sub1)+(x\sub2,y\sub2) = (x\sub1+x\sub2,y\sub1+y\sub2).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, definimos a(x,y) = (|a|x,|a|y).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{La respuesta}{\distrib}{\choices} \solution{En efecto, tenemos (1+(-1))(x,y)=(0,0), pero 1(x,y)+(-1)(x,y)=(2x,2y).} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/src/alternate.oef0000644000175000017500000000252511160417451027474 0ustar georgeskgeorgesk\title{Suma alternada} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{addcomm=No. La suma no es conmutativa} \text{nozero=No. El elemento 0 no existe} \text{addasso=No. La suma no es asociativa} \text{adddef=No. La suma no está bien definida} \text{addneg=No. Hay elementos que no tienen su opuesto} \text{multdef=No. El producto por escalares no está bien definido} \text{multasso=No. El producto por escalar no es asociativo} \text{multone=No. Al multiplicar por el elemento unidad 1 cambia el vector} \text{distrib=No. No verifica la propiedad distributiva} \text{yes=Sí. Es un espacio vectorial} \text{choices=\yes,\adddef,\addcomm,\addasso,\addneg,\multdef,\distrib} \text{sub1=1} \text{sub2=2} \statement{Sea S el conjunto de parejas (x,y) de números reales. Definimos la suma y producto por escalares en S como sigue:
  • Para cualquier (x\sub1,y\sub1) y (x\sub2,y\sub2) perteneciente a S, (x\sub1,y\sub1)+(x\sub2,y\sub2) = (x\sub1+y\sub2,y\sub1+x\sub2).
  • Para cualquier (x,y) perteneciente a S y cualquier número real a, a(x,y) = (ax,ay).
¿Es S con la estructura definida más arriba un espacio vectorial sobre R?} \choice{La respuesta}{\addcomm,\addasso}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspadef.es/help.phtml0000644000175000017500000000005210771745076026240 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/0000755000175000017500000000000011155707576023566 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/0000755000175000017500000000000011155707563024351 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/.htaccess0000644000175000017500000000001611155707555026145 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/Dimmatricesym.oef0000644000175000017500000000054411155707556027660 0ustar georgeskgeorgesk\title{Dim matriz simétrica} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \integer{taille=random(2..10)} \integer{dim=\taille*(\taille+1)/2} \statement{¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices reales simétricas de orden \taille×\taille?} \answer{La dimensión}{\dim} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/Dimpolyracine.oef0000644000175000017500000000073011155707556027645 0ustar georgeskgeorgesk\title{Dim polinomio con raíces} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \integer{degree=random(4..15)} \integer{mult=random(1..\degree-2)} \integer{root=random(-3..3)} \integer{dim=\degree+1-\mult} \statement{¿Cuál es la dimensión del espacio vectorial compuesto por el conjunto de polinomios reales de grado a lo sumo \degree, que tienen a \root como raíz de multiplicidad al menos \mult?} \answer{La dimensión}{\dim} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/intsdim.oef0000644000175000017500000000102711155707557026516 0ustar georgeskgeorgesk\title {Dim intersección de subespacios} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer {dimE=random(10..18)} \integer {dim1=random(5..\dimE-5)} \integer {dim2=random(\dimE-\dim1+1..\dimE-2)} \integer {dimint=\dim1+\dim2-\dimE} \statement{Sea \(E) un espacio vectorial de dimensión \dimE, y \(F_1), \(F_2) dos subespacios de \(E) con \(\dim(F_1)=\dim1), \(\dim(F_2)=\dim2). Suponemos que \(F_1) y \(F_2) generan \(E). ¿Cuál es la dimensión de la intersección \(F=F_1\cap F_2) ?} \answer {dim(F)} {\dimint} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/linim3d2.oef0000644000175000017500000000217611155707560026470 0ustar georgeskgeorgesk\title {Imagen del vector 3D II} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{range=9} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=random(-\range..\range)} \integer{y2=random(-\range..\range)} \integer{z2=random(-\range..\range)} \integer{x3=random(-\range..\range)} \integer{y3=random(-\range..\range)} \integer{z3=random(-\range..\range)} \integer{x4=random(-\range..\range)} \integer{y4=random(-\range..\range)} \integer{z4=random(-\range..\range)} \real{x5=((\x4)*(-(\x1)+(\x2)+(\x3))+(\y4)*(\x1-(\x2)+(\x3))+(\z4)*(\x1+(\x2)-(\x3)))/2} \real{y5=((\x4)*(-(\y1)+(\y2)+(\y3))+(\y4)*(\y1-(\y2)+(\y3))+(\z4)*(\y1+(\y2)-(\y3)))/2} \real{z5=((\x4)*(-(\z1)+(\z2)+(\z3))+(\y4)*(\z1-(\z2)+(\z3))+(\z4)*(\z1+(\z2)-(\z3)))/2} \statement{Sea \(f: \RR^3\rightarrow \RR^3) una aplicación lineal, con \(f(0,1,1)=(\x1,\y1,\z1)), \(f(1,0,1)=(\x2,\y2,\z2)), \(f(1,1,0)=(\x3,\y3,\z3)). Calcular \(f(v)), donde \(v=(\x4,\y4,\z4)\in \RR^3).\par Para dar tu respuesta, escribe \(f(v)=(a,b,c)).} \answer{a=\x5} \answer{b=\y5} \answer{c=\z5} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/dimsev.oef0000644000175000017500000000142611155707560026333 0ustar georgeskgeorgesk\title {Dim subespacio por sistema} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(2..6)} \integer{eqn=random(\rank+1..\rank+5)} \integer{dimE=random(0..6)} \integer{dimtot=\rank+\dimE} \statement{Sea E un subespacio vectorial de R\dimtot definido por un sistema lineal homogéneo. Este sistema está compuesto de \eqn ecuaciones, y el rango de la matriz de los coeficientes de este sistema es igual a \rank. ¿Cuál es la dimensión de E?} \answer {dim(E)} {\dimE} \solution{La dimensión de un subespacio vectorial es igual a la dimensión del espacio total (`dimtot) menos el rango de el sistema definido (\rank). Por lo tanto aquí tenemos dim(E)=\dimtot-\rank=\dimE. La dimensión no tiene nada que hacer con el número de ecuaciones.} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/linim2d2.oef0000644000175000017500000000124011155707560026456 0ustar georgeskgeorgesk\title {Imagen del vector 2D II} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{range=20} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{x2=random(-\range..\range)} \integer{y2=random(-\range..\range)} \integer{x3=random(-\range..\range)} \integer{y3=random(-\range..\range)} \real {x4=(\x3*(\x1+\x2)+(\y3)*(\x1-\x2))/2} \real {y4=(\x3*(\y1+\y2)+(\y3)*(\y1-\y2))/2} \statement{Sea \(f: \RR^2\rightarrow \RR^2) una aplicación lineal, con \(f(1,1)=(\x1,\y1)), \(f(1,-1)=(\x2,\y2)). Calcular \(f(v)), donde \(v=(\x3,\y3)\in \RR^2).\par Para dar tu respuesta, escribe \(f(v)=(a,b)).} \answer{a=\x4} \answer{b=\y4} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/2subsets.oef0000644000175000017500000000236211155707560026616 0ustar georgeskgeorgesk\title {Dos subespacios} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{E=htmlmath(E)} \text{S=htmlmath(S)} \text{sh=shuffle(10)} \integer{s1=item(1,\sh)+10} \integer{s2=item(2,\sh)+10} \integer{min=min(\s1,\s2)} \integer{max=max(\s1,\s2)} \text{c1=\S1 y \S2 son ambos linealmente independientes} \text{c2=\S1 y \S2 ambos generan \E} \text{c3=\S1 es linealmente independiente y \S2 genera \E} \text{c4=\S1 genera \E y \S2 es linealmente independiente} \text{clist=\c1,\c2,\c3,\c4} \text{a1=dim(E) es a lo sumo \min} \text{a2=dim(E) está entre \min y \max} \text{a3=dim(E) es al menos \max} \text{a4=esto es imposible} \text{alist=\s1<\s2?\a3,\a1,\a2,\a4:\a3,\a1,\a4,\a2} \text{sh=shuffle(4)} \text{l1=item(1,\sh)} \text{l2=item(2,\sh)} \text{q1=item(\l1,\clist)} \text{q2=item(\l2,\clist)} \text{good1=item(\l1,\alist)} \text{good2=item(\l2,\alist)} \statement{Sea \E un espacio vectorial. Tenemos dos subespacios \(S1) y \(S2) de \E, con \s1 y \s2 elementos respectivamente. Conteste:

  • Si \q1, entonces \embed{choice 1}.

  • Si \q2, entonces \embed{choice 2}.
} \choice{Choice 1}{\good1}{\alist} \choice{Choice 2}{\good2}{\alist} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/dimkercomp.oef0000644000175000017500000000107511155707560027176 0ustar georgeskgeorgesk\title {Dim(núcleo) endomorfismo} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer {dimE=random(20..38)} \integer {dimim=random(7..\dimE-7)} \integer {dimker2=\dimE-\dimim} \integer {dimker1=ceil(\dimker2/2)} \statement{Sea \(E) un espacio vectorial de dimensión \dimE, y \(f: E\rightarrow E) un endomorfismo. Sabemos que la imagen de \(f\circ f) es de dimensión \dimim. ¿Cuál es la mínima dimensión del núcleo de \(f)?} \hint {Si ker(f) es de dimensión d, la dimensión de ker(f·f) está entre d y 2d.} \answer {min(dim(ker(f)))} {\dimker1} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/Dimmatriceanti.oef0000644000175000017500000000055411155707561030000 0ustar georgeskgeorgesk\title{Dim matriz antisimétrica} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \integer{taille=random(2..10)} \integer{dim=\taille*(\taille-1)/2} \statement{¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices antisimétricas reales de orden \taille×\taille?} \answer{La dimensión}{\dim} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/linim3d.oef0000644000175000017500000000177511155707561026413 0ustar georgeskgeorgesk\title {Imagen del vector 3D} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{range=10} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=random(-\range..\range)} \integer{y2=random(-\range..\range)} \integer{z2=random(-\range..\range)} \integer{x3=random(-\range..\range)} \integer{y3=random(-\range..\range)} \integer{z3=random(-\range..\range)} \integer{x4=random(-\range..\range)} \integer{y4=random(-\range..\range)} \integer{z4=random(-\range..\range)} \real {x5=(\x4)*(\x1)+(\y4)*(\x2)+(\z4)*(\x3)} \real {y5=(\x4)*(\y1)+(\y4)*(\y2)+(\z4)*(\y3)} \real {z5=(\x4)*(\z1)+(\y4)*(\z2)+(\z4)*(\z3)} \statement{Sea \(f: \RR^3\rightarrow \RR^3) una aplicación lineal, con \(f(1,0,0)=(\x1,\y1,\z1)), \(f(0,1,0)=(\x2,\y2,\z2)), \(f(0,0,1)=(\x3,\y3,\z3)). Calcular \(f(v)), donde \(v=(\x4,\y4,\z4)\in \RR^3).\par Para dar tu respuesta, escribe \(f(v)=(a,b,c)).} \answer{a=\x5} \answer{b=\y5} \answer{c=\z5} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/gendep.oef0000644000175000017500000000371611155707562026314 0ustar georgeskgeorgesk\title {Generador y dependencia} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{E=htmlmath(E)} \text{S=htmlmath(S)} \text{indep=vectores linealmente independientes en \E} \text{gen=vectores que generan \E} \text{any=vectores en \E} \text{q1=Hay un vector en \S que es combinación lineal de otros vectores de \S} \text{q2=Algún vector en \E es una combinación lineal de vectores en \S} \text{q3=randitem(\S contiene al vector 0, Hay dos vectores proporcionales en \S)} \text{q4=Hay una base de \E que contiene a \S como un subconjunto} \text{q5=randitem(Hay un subconjunto de \S que es una base de \E, \S contiene una base de \E)} \text{ques=\q1,\q2,\q3,\q4,\q5} \text{yes=Sí, es cierto siempre} \text{no=No, nunca es cierto} \text{yn=Esto depende de \S} \text{choices=\yes,\no,\yn} \integer{dim=random(20..40)} \integer{sd=random(\dim/5..\dim-1)} \integer{bd=random(\dim+1..\dim*2)} # 1: yes 2: no 3: yn # 1: n. 2: condition # 3: dependants. 4: engendre. 5: 0. 6: extension. 7: subtraction. \matrix{data= \sd,\indep, 2,2,2,1,2 \bd,\gen, 1,1,3,2,1 \dim,\indep, 2,1,2,1,1 \dim,\gen, 2,1,2,1,1 \sd,\any, 3,2,3,3,2 \bd,\any, 1,3,3,2,3 \dim,\any, 3,3,3,3,3 } \text{data=randomrow(\data)} \integer{n=item(1,\data)} \text{cond=item(2,\data)} \text{qs=shuffle(5)} \integer{l1=item(1,\qs)} \integer{l2=item(2,\qs)} \integer{l3=item(3,\qs)} \text{Q1=item(\l1,\ques)} \text{Q2=item(\l2,\ques)} \text{Q3=item(\l3,\ques)} \text{good1=item(item(\l1+2,\data),\choices)} \text{good2=item(item(\l2+2,\data),\choices)} \text{good3=item(item(\l3+2,\data),\choices)} \statement{Sea \E un espacio vectorial de dimensión \dim, y sea \S un conjunto de \n \cond. Estudiar la veracidad de las siguientes afirmaciones.

\Q1.\embed{choice 1}
\Q2.\embed{choice 2}
\Q3.\embed{choice 3}
} \choice{Choice 1}{\good1}{\choices} \choice{Choice 2}{\good2}{\choices} \choice{Choice 3}{\good3}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/Dimmatricetria.oef0000644000175000017500000000062111155707562030000 0ustar georgeskgeorgesk\title{Dim matriz triangular} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \integer{taille=random(2..10)} \integer{dim=\taille*(\taille+1)/2} \text{sens=random(superior,inferior)} \statement{¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices reales triangular \sens de orden \taille×\taille?} \answer{La dimensión}{\dim} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/2subsets2.oef0000644000175000017500000000425611155707563026707 0ustar georgeskgeorgesk\title {Dos subespacios II} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{E=htmlmath(E)} \text{S=htmlmath(S)} \text{S1=htmlmath(S1)} \text{S2=htmlmath(S2)} \text{sh=shuffle(10)} \text{sub1=htmlmath(S1 subset S2)} \text{sub2=htmlmath(S2 subset S1)} \text{yes=Sí, es siempre cierto} \text{no=No, nunca es cierto} \text{yn=A veces es cierto} \text{choices=\yes,\no,\yn} \integer{s1=item(1,\sh)+10} \integer{s2=item(2,\sh)+10} \integer{min=min(\s1,\s2)} \integer{max=max(\s1,\s2)} \integer{orient=\s2>\s1?1:2} \text{sub=item(\orient,\sub1,\sub2)} \integer{o=random(1,2)} \text{SS1=item(\o,\S1,\S2)} \text{SS2=item(\o,\S2,\S1)} \integer{orient=\o=2?3-\orient} \text{indep=es linealmente independiente} \text{gener=genera \E} \text{basis=es una base de \E} \matrix{data= \SS1 \indep, \SS2 \indep, \yn, \yn \SS1 \gener, \SS2 \gener, \yn, \yn \SS1 \indep, \SS2 \gener, \yn, \no \SS1 \gener, \SS2 \indep, \no, \yn \SS1 \basis, \SS2 \basis, \no, \no \SS1 \basis, \SS2 \indep, \no, \yn \SS1 \basis, \SS2 \gener, \yn, \no \SS1 \indep y \sub, \SS2 \indep, \yn, \yes \SS1 \gener y \sub, \SS2 \gener, \yes,\yn \SS1 \indep y \sub, \SS2 \gener, \yn, \no \SS1 \gener y \sub, \SS2 \indep, \no, \yn \SS1 \basis y \sub, \SS2 \basis, \no, \no \SS1 \basis y \sub, \SS2 \indep, \no, \yes \SS1 \basis y \sub, \SS2 \gener, \yes, \no } \integer{cnt=rows(\data)} \text{sh=shuffle(\cnt)} \integer{r1=item(1,\sh)} \integer{r2=item(2,\sh)} \integer{r3=item(3,\sh)} \text{data1=row(\r1,\data)} \text{data2=row(\r2,\data)} \text{data3=row(\r3,\data)} \text{if1=item(1,\data1)} \text{if2=item(1,\data2)} \text{if3=item(1,\data3)} \text{then1=item(2,\data1)} \text{then2=item(2,\data2)} \text{then3=item(2,\data3)} \text{good1=item(2+\orient,\data1)} \text{good2=item(2+\orient,\data2)} \text{good3=item(2+\orient,\data3)} \statement{Sea \E un espacio vectorial. Tenemos dos subespacios \(S1) y \(S2) de \E, con \s1 y \s2 elementos respectivamente. Conteste:

Si \if1, ¿es cierto que \then1 ?\embed{choice 1}
Si \if2, ¿es cierto que \then2 ?\embed{choice 2}
} \choice{Choice 1}{\good1}{\choices} \choice{Choice 2}{\good2}{\choices} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/Vecteurparamtr.oef0000644000175000017500000000207511155707563030054 0ustar georgeskgeorgesk\title{Vector parametrizado} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a1=random(1..9)} \integer{b1=random(1..9)} \integer{c1=random(1..9)} \integer{s=random(-1,1)} \integer{a2=\s*random(1..9)} \integer{b2=\s*random(-9..-1)} \integer{c2=\s*random(1..9)} \integer{a3=random(1..9)*random(-1,1)} \integer{b3=random(1..9)*random(-1,1)} \integer{p=-\a3*(\b2)*\c1+\a3*\b1*(\c2)-\a1*(\c2)*\b3+\c1*(\a2)*\b3} \integer{d=\a1*(\b2)-\b1*(\a2)} \real{sol=-(\p)/(\d)} \integer{type=random(1,2)} \text{vv1=\type=1?\a1,\b1,\c1:\a1,\c1,\b1} \text{vv2=\type=1?\a2,\b2,\c2:\a2,\c2,\b2} \text{v=\type=1?\a3,\b3,t:\a3,t,\b3} \integer{type2=random(1,2)} \text{v1=\type=1?\vv1:\vv2} \text{v2=\type=1?\vv2:\vv1} \statement{Sean v1=(\v1) y v2=(\v2) dos vectores en \(\RR^3). Encontrar el valor del parámetro t tal que el vector v=(\v) pertenezca al subespacio de \(\RR^3) generado por v1 y v2.} \answer{t}{\sol} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/src/linim2d.oef0000644000175000017500000000120711155707564026403 0ustar georgeskgeorgesk\title {Imagen del vector 2D} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{range=20} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{x2=random(-\range..\range)} \integer{y2=random(-\range..\range)} \integer{x3=random(-\range..\range)} \integer{y3=random(-\range..\range)} \real {x4=(\x3)*(\x1)+(\y3)*(\x2)} \real {y4=(\x3)*(\y1)+(\y3)*(\y2)} \statement{Sea \(f: \RR^2\rightarrow \RR^2) una aplicación lineal, con \(f(1,0)=(\x1,\y1)), \(f(0,1)=(\x2,\y2)). Calcula \(f(v)), donde \(v=(\x3,\y3)\in \RR^2).\par Para dar tu respuesta, escribe \(f(v)=(a,b)).} \answer{a=\x4} \answer{b=\y4} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/.deleted/0000755000175000017500000000000011155707564025247 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/.deleted/bookshop.oef0000644000175000017500000000227411155707564027573 0ustar georgeskgeorgesk\title {Shelf of bookshop 3 authors} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer {limit=random(10..18)} \integer {A1=random(1..\limit-1)} \integer {B1=random(1..\limit-1)} \integer {C1=random(1..\limit-1)} \integer {A2=\limit-\A1} \integer {B2=\limit-\B1} \integer {C2=\limit-\C1} \integer {SA=random(1..30)} \integer {SB=random(1..30)} \integer {SC=random(1..30)} \integer {F1=\A1*\SA+\B1*\SB+\C1*\SC} \integer {F2=\A2*\SA+\B2*\SB+\C2*\SC} \integer {total=\SA+\SB+\SC} \integer {FS=\F1+\F2} \statement {A bookshop ranges its shelf of novels.
  • If one shows \A1 (resp. \B1, \C1) copies of each title of author A (resp. author B, author C), there will be \F1 books on the shelf.
  • If one shows \A2 (resp. \B2, \C2) copies of each title of author A (resp. author B, author C), there will be \F2 books on the shelf.

How many titles are there in total for these three authors?} \answer {The total} {\total} \solution {If one add the two options, one sees that there will be \F1+\F2 = \FS books, with \A1+\A2 = \limit copies for each title for author A, and the same for the other authors. Therefore the total of titles is \FS/\limit = \total.} wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/0000755000175000017500000000000011155707574024322 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/Vecteurparamtr.def0000644000175000017500000000412711155707566030013 0ustar georgeskgeorgesk!set title=Vector parametrizado !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=20 prevarcnt=19 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 1, 9 val6=$[rint($(tmp0))] tmp0=!randint 1, 9 val7=$[rint($(tmp0))] tmp0=!randint 1, 9 val8=$[rint($(tmp0))] tmp0=!randitem -1,1 val9=$[rint($(tmp0))] tmp0=!randint 1, 9 val10=$[rint($val9*$(tmp0))] tmp0=!randint -9, -1 val11=$[rint($val9*$(tmp0))] tmp0=!randint 1, 9 val12=$[rint($val9*$(tmp0))] tmp0=!randint 1, 9 tmp1=!randitem -1,1 val13=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 9 tmp1=!randitem -1,1 val14=$[rint($(tmp0)*$(tmp1))] val15=$[rint(-$val13*($val11)*$val8+$val13*$val7*($val12)-$val6*($val12)*$val14+$val8*($val10)*$val14)] val16=$[rint($val6*($val11)-$val7*($val10))] val17=$[-($val15)/($val16)] tmp0=!randitem 1,2 val18=$[rint($(tmp0))] !ifval $val18=1 val19=$val6,$val7,$val8 !else val19=$val6,$val8,$val7 !endif !ifval $val18=1 val20=$val10,$val11,$val12 !else val20=$val10,$val12,$val11 !endif !ifval $val18=1 val21=$val13,$val14,t !else val21=$val13,t,$val14 !endif tmp0=!randitem 1,2 val22=$[rint($(tmp0))] !ifval $val18=1 val23=$val19 !else val23=$val20 !endif !ifval $val18=1 val24=$val20 !else val24=$val19 !endif replyname1=t replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean v1=($val23) y v2=($val24) dos vectores en !insmath \RR^3 $(). Encontrar el valor del parámetro t tal que el vector v=($val21) pertenezca al subespacio de !insmath \RR^3 $() generado por v1 y v2. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=21,23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/.htaccess0000644000175000017500000000001611155707566026116 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/linim3d.def0000644000175000017500000000365211155707567026351 0ustar georgeskgeorgesk!set title=Imagen del vector 3D !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r,r varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=3 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(10)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val13=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val14=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val15=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val16=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val18=$[rint($(tmp0))] val19=$[($val16)*($val7)+($val17)*($val10)+($val18)*($val13)] val20=$[($val16)*($val8)+($val17)*($val11)+($val18)*($val14)] val21=$[($val16)*($val9)+($val17)*($val12)+($val18)*($val15)] replyname1=a replygood1=$val19 replyname2=b replygood2=$val20 replyname3=c replygood3=$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR^3\rightarrow \RR^3 $() una aplicación lineal, con !insmath f(1,0,0)=($val7,$val8,$val9) $(), !insmath f(0,1,0)=($val10,$val11,$val12) $(), !insmath f(0,0,1)=($val13,$val14,$val15) $(). Calcular !insmath f(v) $(), donde !insmath v=($val16,$val17,$val18)\in \RR^3 $().$m_par Para dar tu respuesta, escribe !insmath f(v)=(a,b,c) $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12,13,14,15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/Dimmatriceanti.def0000644000175000017500000000161111155707567027735 0ustar georgeskgeorgesk!set title=Dim matriz antisimétrica !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr computeanswer=no ansorder=r varcnt=3 prevarcnt=2 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, 10 val6=$[rint($(tmp0))] val7=$[rint($val6*($val6-1)/2)] replyname1=La dimensión replygood1=$val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices antisimétricas reales de orden $val6×$val6? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/dimkercomp.def0000644000175000017500000000233511155707570027133 0ustar georgeskgeorgesk!set title=Dim(núcleo) endomorfismo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=5 prevarcnt=4 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 20, 38 val6=$[rint($(tmp0))] tmp0=!randint 7, $val6-7 val7=$[rint($(tmp0))] val8=$[rint($val6-$val7)] val9=$[rint(ceil($val8/2))] replyname1=min(dim(ker(f))) replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ hint=!nosubst Si ker(f) es de dimensión d, la dimensión de ker(f·f) está entre d y 2d. !goto stat !exit :question $()Sea !insmath E $() un espacio vectorial de dimensión $val6, y !insmath f: E\rightarrow E $() un endomorfismo. Sabemos que la imagen de !insmath f\circ f $() es de dimensión $val7. ¿Cuál es la mínima dimensión del núcleo de !insmath f $()? $() !exit :hint $()Si ker(f) es de dimensión d, la dimensión de ker(f·f) está entre d y 2d. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/linim3d2.def0000644000175000017500000000413511155707570026422 0ustar georgeskgeorgesk!set title=Imagen del vector 3D II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r,r varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=3 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(9)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val13=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val14=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val15=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val16=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val18=$[rint($(tmp0))] val19=$[(($val16)*(-($val7)+($val10)+($val13))+($val17)*($val7-($val10)+($val13))+($val18)*($val7+($val10)-($val13)))/2] val20=$[(($val16)*(-($val8)+($val11)+($val14))+($val17)*($val8-($val11)+($val14))+($val18)*($val8+($val11)-($val14)))/2] val21=$[(($val16)*(-($val9)+($val12)+($val15))+($val17)*($val9-($val12)+($val15))+($val18)*($val9+($val12)-($val15)))/2] replyname1=a replygood1=$val19 replyname2=b replygood2=$val20 replyname3=c replygood3=$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR^3\rightarrow \RR^3 $() una aplicación lineal, con !insmath f(0,1,1)=($val7,$val8,$val9) $(), !insmath f(1,0,1)=($val10,$val11,$val12) $(), !insmath f(1,1,0)=($val13,$val14,$val15) $(). Calcular !insmath f(v) $(), donde !insmath v=($val16,$val17,$val18)\in \RR^3 $().$m_par Para dar tu respuesta, escribe !insmath f(v)=(a,b,c) $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12,13,14,15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/linim2d2.def0000644000175000017500000000263711155707570026426 0ustar georgeskgeorgesk!set title=Imagen del vector 2D II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=10 prevarcnt=9 postvarcnt=0 replycnt=2 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(20)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] val13=$[($val11*($val7+$val9)+($val12)*($val7-$val9))/2] val14=$[($val11*($val8+$val10)+($val12)*($val8-$val10))/2] replyname1=a replygood1=$val13 replyname2=b replygood2=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR^2\rightarrow \RR^2 $() una aplicación lineal, con !insmath f(1,1)=($val7,$val8) $(), !insmath f(1,-1)=($val9,$val10) $(). Calcular !insmath f(v) $(), donde !insmath v=($val11,$val12)\in \RR^2 $().$m_par Para dar tu respuesta, escribe !insmath f(v)=(a,b) $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/linim2d.def0000644000175000017500000000257511155707571026346 0ustar georgeskgeorgesk!set title=Imagen del vector 2D !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=10 prevarcnt=9 postvarcnt=0 replycnt=2 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(20)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] val13=$[($val11)*($val7)+($val12)*($val9)] val14=$[($val11)*($val8)+($val12)*($val10)] replyname1=a replygood1=$val13 replyname2=b replygood2=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath f: \RR^2\rightarrow \RR^2 $() una aplicación lineal, con !insmath f(1,0)=($val7,$val8) $(), !insmath f(0,1)=($val9,$val10) $(). Calcula !insmath f(v) $(), donde !insmath v=($val11,$val12)\in \RR^2 $().$m_par Para dar tu respuesta, escribe !insmath f(v)=(a,b) $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/Dimmatricesym.def0000644000175000017500000000160111155707571027604 0ustar georgeskgeorgesk!set title=Dim matriz simétrica !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr computeanswer=no ansorder=r varcnt=3 prevarcnt=2 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, 10 val6=$[rint($(tmp0))] val7=$[rint($val6*($val6+1)/2)] replyname1=La dimensión replygood1=$val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices reales simétricas de orden $val6×$val6? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/Dimmatricetria.def0000644000175000017500000000167111155707571027742 0ustar georgeskgeorgesk!set title=Dim matriz triangular !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr computeanswer=no ansorder=r varcnt=4 prevarcnt=3 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, 10 val6=$[rint($(tmp0))] val7=$[rint($val6*($val6+1)/2)] tmp0=!randitem superior,inferior val8=$(tmp0) replyname1=La dimensión replygood1=$val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices reales triangular $val8 de orden $val6×$val6? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/2subsets2.def0000644000175000017500000000735711155707572026650 0ustar georgeskgeorgesk!set title=Dos subespacios II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,c varcnt=43 prevarcnt=42 postvarcnt=0 replycnt=0 choicecnt=2 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=!htmlmath E val6=$(tmp0) tmp0=!htmlmath S val7=$(tmp0) tmp0=!htmlmath S1 val8=$(tmp0) tmp0=!htmlmath S2 val9=$(tmp0) tmp0=!shuffle 10 val10=$(tmp0) tmp0=!htmlmath S1 subset S2 val11=$(tmp0) tmp0=!htmlmath S2 subset S1 val12=$(tmp0) val13=Sí, es siempre cierto val14=No, nunca es cierto val15=A veces es cierto val16=$val13,$val14,$val15 tmp0=!item 1 of $val10 val17=$[rint($(tmp0)+10)] tmp0=!item 2 of $val10 val18=$[rint($(tmp0)+10)] val19=$[rint(min($val17,$val18))] val20=$[rint(max($val17,$val18))] !ifval $val18>$val17 val21=$[rint(1)] !else val21=$[rint(2)] !endif tmp0=!item $val21 of $val11,$val12 val22=$(tmp0) tmp0=!randitem 1,2 val23=$[rint($(tmp0))] tmp0=!item $val23 of $val8,$val9 val24=$(tmp0) tmp0=!item $val23 of $val9,$val8 val25=$(tmp0) !ifval $val23=2 val21=$[rint(3-$val21)] !endif val26=es linealmente independiente val27=genera $val6 val28=es una base de $val6 tmp=!trim $val24 $val26, $val25 $val26, $val15, $val15 $val24 $val27, $val25 $val27, $val15, $val15 $val24 $val26, $val25 $val27, $val15, $val14 $val24 $val27, $val25 $val26, $val14, $val15 $val24 $val28, $val25 $val28, $val14, $val14 $val24 $val28, $val25 $val26, $val14, $val15 $val24 $val28, $val25 $val27, $val15, $val14 $val24 $val26 y $val22, $val25 $val26, $val15, $val13 $val24 $val27 y $val22, $val25 $val27, $val13,$val15 $val24 $val26 y $val22, $val25 $val27, $val15, $val14 $val24 $val27 y $val22, $val25 $val26, $val14, $val15 $val24 $val28 y $val22, $val25 $val28, $val14, $val14 $val24 $val28 y $val22, $val25 $val26, $val14, $val13 $val24 $val28 y $val22, $val25 $val27, $val13, $val14 val29=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val29 tmp0=!rowcnt $tmp val30=$[rint($(tmp0))] tmp0=!shuffle $val30 val10=$(tmp0) tmp0=!item 1 of $val10 val31=$[rint($(tmp0))] tmp0=!item 2 of $val10 val32=$[rint($(tmp0))] tmp0=!item 3 of $val10 val33=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val29 tmp=!row $val31 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val34=$(tmp0) tmp=!translate internal $ $ to ; in $val29 tmp=!row $val32 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val35=$(tmp0) tmp=!translate internal $ $ to ; in $val29 tmp=!row $val33 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val36=$(tmp0) tmp0=!item 1 of $val34 val37=$(tmp0) tmp0=!item 1 of $val35 val38=$(tmp0) tmp0=!item 1 of $val36 val39=$(tmp0) tmp0=!item 2 of $val34 val40=$(tmp0) tmp0=!item 2 of $val35 val41=$(tmp0) tmp0=!item 2 of $val36 val42=$(tmp0) tmp0=!item 2+$val21 of $val34 val43=$(tmp0) tmp0=!item 2+$val21 of $val35 val44=$(tmp0) tmp0=!item 2+$val21 of $val36 val45=$(tmp0) choicename1=Choice 1 choicegood1=$val43 choicebad1=$val16 choicename2=Choice 2 choicegood2=$val44 choicebad2=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val6 un espacio vectorial. Tenemos dos subespacios !insmath S1 $() y !insmath S2 $() de $val6, con $val17 y $val18 elementos respectivamente. Conteste:

Si $val37, ¿es cierto que $val40 ? !read oef/embed.phtml choice 1 $()
Si $val38, ¿es cierto que $val41 ? !read oef/embed.phtml choice 2 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,17,18,37,38,40,41 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/intsdim.def0000644000175000017500000000230011155707572026442 0ustar georgeskgeorgesk!set title=Dim intersección de subespacios !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=5 prevarcnt=4 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 10, 18 val6=$[rint($(tmp0))] tmp0=!randint 5, $val6-5 val7=$[rint($(tmp0))] tmp0=!randint $val6-$val7+1, $val6-2 val8=$[rint($(tmp0))] val9=$[rint($val7+$val8-$val6)] replyname1=dim(F) replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath E $() un espacio vectorial de dimensión $val6, y !insmath F_1 $(), !insmath F_2 $() dos subespacios de !insmath E $() con !insmath \dim(F_1)=$val7 $(), !insmath \dim(F_2)=$val8 $(). Suponemos que !insmath F_1 $() y !insmath F_2 $() generan !insmath E $(). ¿Cuál es la dimensión de la intersección !insmath F=F_1\cap F_2 $() ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/Dimpolyracine.def0000644000175000017500000000203011155707572027572 0ustar georgeskgeorgesk!set title=Dim polinomio con raíces !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr computeanswer=no ansorder=r varcnt=5 prevarcnt=4 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 1, $val6-2 val7=$[rint($(tmp0))] tmp0=!randint -3, 3 val8=$[rint($(tmp0))] val9=$[rint($val6+1-$val7)] replyname1=La dimensión replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la dimensión del espacio vectorial compuesto por el conjunto de polinomios reales de grado a lo sumo $val6, que tienen a $val8 como raíz de multiplicidad al menos $val7? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/gendep.def0000644000175000017500000000614611155707573026252 0ustar georgeskgeorgesk!set title=Generador y dependencia !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,c,c varcnt=33 prevarcnt=32 postvarcnt=0 replycnt=0 choicecnt=3 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=!htmlmath E val6=$(tmp0) tmp0=!htmlmath S val7=$(tmp0) val8=vectores linealmente independientes en $val6 val9=vectores que generan $val6 val10=vectores en $val6 val11=Hay un vector en $val7 que es combinación lineal de otros vectores de $val7 val12=Algún vector en $val6 es una combinación lineal de vectores en $val7 tmp=!nonempty items $val7 contiene al vector 0, Hay dos vectores proporcionales en $val7 tmp0=!randitem $tmp val13=$(tmp0) val14=Hay una base de $val6 que contiene a $val7 como un subconjunto tmp=!nonempty items Hay un subconjunto de $val7 que es una base de $val6, $val7 contiene una base de $val6 tmp0=!randitem $tmp val15=$(tmp0) val16=$val11,$val12,$val13,$val14,$val15 val17=Sí, es cierto siempre val18=No, nunca es cierto val19=Esto depende de $val7 val20=$val17,$val18,$val19 tmp0=!randint 20, 40 val21=$[rint($(tmp0))] tmp0=!randint $val21/5, $val21-1 val22=$[rint($(tmp0))] tmp0=!randint $val21+1, $val21*2 val23=$[rint($(tmp0))] tmp=!trim $val22,$val8, 2,2,2,1,2 $val23,$val9, 1,1,3,2,1 $val21,$val8, 2,1,2,1,1 $val21,$val9, 2,1,2,1,1 $val22,$val10, 3,2,3,3,2 $val23,$val10, 1,3,3,2,3 $val21,$val10, 3,3,3,3,3 val24=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val24 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val24=$(tmp0) tmp0=!item 1 of $val24 val25=$[rint($(tmp0))] tmp0=!item 2 of $val24 val26=$(tmp0) tmp0=!shuffle 5 val27=$(tmp0) tmp0=!item 1 of $val27 val28=$[rint($(tmp0))] tmp0=!item 2 of $val27 val29=$[rint($(tmp0))] tmp0=!item 3 of $val27 val30=$[rint($(tmp0))] tmp0=!item $val28 of $val16 val31=$(tmp0) tmp0=!item $val29 of $val16 val32=$(tmp0) tmp0=!item $val30 of $val16 val33=$(tmp0) tmp0=!item $val28+2 of $val24 tmp1=!item $(tmp0) of $val20 val34=$(tmp1) tmp0=!item $val29+2 of $val24 tmp1=!item $(tmp0) of $val20 val35=$(tmp1) tmp0=!item $val30+2 of $val24 tmp1=!item $(tmp0) of $val20 val36=$(tmp1) choicename1=Choice 1 choicegood1=$val34 choicebad1=$val20 choicename2=Choice 2 choicegood2=$val35 choicebad2=$val20 choicename3=Choice 3 choicegood3=$val36 choicebad3=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val6 un espacio vectorial de dimensión $val21, y sea $val7 un conjunto de $val25 $val26. Estudiar la veracidad de las siguientes afirmaciones.

$val31. !read oef/embed.phtml choice 1 $()
$val32. !read oef/embed.phtml choice 2 $()
$val33. !read oef/embed.phtml choice 3 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,21,25,26,31,32,33 embedcnt=3 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/2subsets.def0000644000175000017500000000417611155707574026564 0ustar georgeskgeorgesk!set title=Dos subespacios !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,c varcnt=25 prevarcnt=24 postvarcnt=0 replycnt=0 choicecnt=2 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=!htmlmath E val6=$(tmp0) tmp0=!htmlmath S val7=$(tmp0) tmp0=!shuffle 10 val8=$(tmp0) tmp0=!item 1 of $val8 val9=$[rint($(tmp0)+10)] tmp0=!item 2 of $val8 val10=$[rint($(tmp0)+10)] val11=$[rint(min($val9,$val10))] val12=$[rint(max($val9,$val10))] val13=$val71 y $val72 son ambos linealmente independientes val14=$val71 y $val72 ambos generan $val6 val15=$val71 es linealmente independiente y $val72 genera $val6 val16=$val71 genera $val6 y $val72 es linealmente independiente val17=$val13,$val14,$val15,$val16 val18=dim(E) es a lo sumo $val11 val19=dim(E) está entre $val11 y $val12 val20=dim(E) es al menos $val12 val21=esto es imposible !ifval $val9<$val10 val22=$val20,$val18,$val19,$val21 !else val22=$val20,$val18,$val21,$val19 !endif tmp0=!shuffle 4 val8=$(tmp0) tmp0=!item 1 of $val8 val23=$(tmp0) tmp0=!item 2 of $val8 val24=$(tmp0) tmp0=!item $val23 of $val17 val25=$(tmp0) tmp0=!item $val24 of $val17 val26=$(tmp0) tmp0=!item $val23 of $val22 val27=$(tmp0) tmp0=!item $val24 of $val22 val28=$(tmp0) choicename1=Choice 1 choicegood1=$val27 choicebad1=$val22 choicename2=Choice 2 choicegood2=$val28 choicebad2=$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $val6 un espacio vectorial. Tenemos dos subespacios !insmath S1 $() y !insmath S2 $() de $val6, con $val9 y $val10 elementos respectivamente. Conteste:

  • Si $val25, entonces !read oef/embed.phtml choice 1 $().

  • Si $val26, entonces !read oef/embed.phtml choice 2 $().
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,10,25,26 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/def/dimsev.def0000644000175000017500000000313511155707574026273 0ustar georgeskgeorgesk!set title=Dim subespacio por sistema !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=5 prevarcnt=4 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, 6 val6=$[rint($(tmp0))] tmp0=!randint $val6+1, $val6+5 val7=$[rint($(tmp0))] tmp0=!randint 0, 6 val8=$[rint($(tmp0))] val9=$[rint($val6+$val8)] replyname1=dim(E) replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ solution=!nosubst La dimensión de un subespacio vectorial es igual a la dimensión del espacio total (`dimtot) menos el rango de el sistema definido ($val6). Por lo tanto aquí tenemos dim(E)=$val9-$val6=$val8. La dimensión no tiene nada que hacer con el número de ecuaciones. !goto stat !exit :question $()Sea E un subespacio vectorial de R$val9 definido por un sistema lineal homogéneo. Este sistema está compuesto de $val7 ecuaciones, y el rango de la matriz de los coeficientes de este sistema es igual a $val6. ¿Cuál es la dimensión de E? $() !exit :hint $() $() !exit :help $() $() !exit :solution $()La dimensión de un subespacio vectorial es igual a la dimensión del espacio total (`dimtot) menos el rango de el sistema definido ($val6). Por lo tanto aquí tenemos dim(E)=$val9-$val6=$val8. La dimensión no tiene nada que hacer con el número de ecuaciones. $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/endhook.phtml0000644000175000017500000000024011155707574026255 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting !read tool.phtml linear/vector linear/matrix linear/linsolver !endif wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/var.proc0000644000175000017500000000115111155707575025240 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/Extitles0000644000175000017500000000077211155707575025317 0ustar georgeskgeorgesk2subsets:Dos subespacios 2subsets2:Dos subespacios II Dimmatriceanti:Dim matriz antisimétrica Dimmatricesym:Dim matriz simétrica Dimmatricetria:Dim matriz triangular Dimpolyracine:Dim polinomio con raíces Vecteurparamtr:Vector parametrizado dimkercomp:Dim(núcleo) endomorfismo dimsev:Dim subespacio por sistema gendep:Generador y dependencia intsdim:Dim intersección de subespacios linim2d:Imagen del vector 2D linim2d2:Imagen del vector 2D II linim3d:Imagen del vector 3D linim3d2:Imagen del vector 3D II wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/content.html0000644000175000017500000000622611155707575026133 0ustar georgeskgeorgesk

Dos subespacios

Sea $val6 un espacio vectorial. Tenemos dos subespacios y de $val6, con $val9 y $val10 elementos respectivamente. Conteste:

  • Si $val25, entonces .

  • Si $val26, entonces .

Dos subespacios II

Sea $val6 un espacio vectorial. Tenemos dos subespacios y de $val6, con $val17 y $val18 elementos respectivamente. Conteste:

Si $val37, ¿es cierto que $val40 ?
Si $val38, ¿es cierto que $val41 ?

Dim matriz antisimétrica

¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices antisimétricas reales de orden $val6×$val6?

Dim matriz simétrica

¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices reales simétricas de orden $val6×$val6?

Dim matriz triangular

¿Cuál es la dimensión del espacio vectorial (real) compuesto por las matrices reales triangular $val8 de orden $val6×$val6?

Dim polinomio con raíces

¿Cuál es la dimensión del espacio vectorial compuesto por el conjunto de polinomios reales de grado a lo sumo $val6, que tienen a $val8 como raíz de multiplicidad al menos $val7?

Vector parametrizado

Sean v1=($val23) y v2=($val24) dos vectores en . Encontrar el valor del parámetro t tal que el vector v=($val21) pertenezca al subespacio de generado por v1 y v2.

Dim(núcleo) endomorfismo

Sea un espacio vectorial de dimensión $val6, y un endomorfismo. Sabemos que la imagen de es de dimensión $val7. ¿Cuál es la mínima dimensión del núcleo de ?

Dim subespacio por sistema

Sea E un subespacio vectorial de R$val9 definido por un sistema lineal homogéneo. Este sistema está compuesto de $val7 ecuaciones, y el rango de la matriz de los coeficientes de este sistema es igual a $val6. ¿Cuál es la dimensión de E?

Generador y dependencia

Sea $val6 un espacio vectorial de dimensión $val21, y sea $val7 un conjunto de $val25 $val26. Estudiar la veracidad de las siguientes afirmaciones.

$val31.
$val32.
$val33.

Dim intersección de subespacios

Sea un espacio vectorial de dimensión $val6, y , dos subespacios de con , . Suponemos que y generan . ¿Cuál es la dimensión de la intersección ?

Imagen del vector 2D

Sea una aplicación lineal, con , . Calcula , donde .$m_par Para dar tu respuesta, escribe .

Imagen del vector 2D II

Sea una aplicación lineal, con , . Calcular , donde .$m_par Para dar tu respuesta, escribe .

Imagen del vector 3D

Sea una aplicación lineal, con , , . Calcular , donde .$m_par Para dar tu respuesta, escribe .

Imagen del vector 3D II

Sea una aplicación lineal, con , , . Calcular , donde .$m_par Para dar tu respuesta, escribe . wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/Exindex0000644000175000017500000000113611155707575025115 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of intsdim,Dimmatriceanti,Dimmatricesym,Dimmatricetria,Dimpolyracine,dimsev,dimkercomp,2subsets,2subsets2,gendep,linim2d,linim2d2,linim3d,linim3d2,Vecteurparamtr, !set titlelist=!char 1 to -2 of Dim intersección de subespacios,Dim matriz antisimétrica,Dim matriz simétrica,Dim matriz triangular,Dim polinomio con raíces,Dim subespacio por sistema,Dim(núcleo) endomorfismo,Dos subespacios,Dos subespacios II,Generador y dependencia,Imagen del vector 2D,Imagen del vector 2D II,Imagen del vector 3D,Imagen del vector 3D II,Vector parametrizado, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/main.phtml0000644000175000017500000000003111155707575025551 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/INDEX0000644000175000017500000000112611155707575024357 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF espacios vectoriales description=colección de ejercicios de espacios vectoriales. language=es category=exercise, oef domain=álgebra, álgebra lineal level=H6,U1,U2 keywords=álgebra lineal, transformación lineal, espacio vectorial, base, dimensión, sistema lineal require= scoring=yes copyright=© 1998-1999- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.40 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/about.phtml0000644000175000017500000000005311155707576025744 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/help.phtml0000644000175000017500000000005211155707576025561 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefvecspa.es/intro.phtml0000644000175000017500000000057111155707576025772 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal ejercicios de espacios vectoriales.

Ver también la colección de ejercicios de !href module=U1/algebra/oefvecspadef definición de espacios vectoriales o !href module=U1/algebra/oefsubspadef definición de subespacios . !read oef/intromenu.phtml !read related.phtml espacios vectoriales, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/0000755000175000017500000000000011156202630023567 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/main.phtml0000644000175000017500000000003111156202534025556 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/endhook.phtml0000644000175000017500000000023511156202534026267 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting !read tool.phtml linear/matrix linear/matmult linear/vector !endif wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/Extitles0000644000175000017500000000375711156202534025332 0ustar georgeskgeorgeskExemplematrice:Ejemplo matriz 2x2 colrow2x3:Columna y fila 2x3 colrow3x3:Columna y fila 3x3 I colrow3x3b:Columna y fila 3x3 II detrank:Determinante y rango dettrace2x2:Determinante y traza 2x2 dettrace3x3:Determinante y traza 3x3 diagmult2x2:Multiplicación con matriz diagonal 2x2 divmatl2x2:División por la izquierda 2x2 divmatr2x2:División por la derecha 2x2 equat2x2:Ecuación 2x2 formu2x2:Fórmula de entrada 2x2 formu3x3:Fórmula de entrada 3x3 formu3x3v:Fórmula de entrada 3x3 II givimg2x2:Calcular elementos de una matriz 2x2 givimg2x3:Calcular elementos de una matriz 2x3 givimg3x2:Calcular elementos de una matriz 3x2 givimg3x3:Calcular elementos de una matriz 3x3 givpower3x3:Potencias de una matriz 3x3 givprod3x3:Productos entre matrices potencias 3x3 matop:Operaciones con matrices minrankA2:Mínimo rango posible de A² mult3:Cómo multiplicar tres matrices multmat2x2:Producto de dos matrices 2x2 multpart3x3:Cálculo de cij en la matriz producto 3x3 multpart4x4:Cálculo de cij de la matriz producto 4x4 multpart5x5:Cálculo de cij de la matriz producto 5x5 multsize:Orden de una matriz parmmat2x2:Matriz 2x2 con parámetros parmmat3x3:Matriz 3x3 con parámetros parmrank3x4x1:Rango de una matriz 3x4 con 1 parámetro parmrank3x4x2:Rango de una matriz 3x4 con 2 parámetros parmrank3x5x1:Rango de una matriz 4x3 con 1 parámetro parmrank3x5x2:Rango de una matriz 5x3 con 2 parámetros parmrank4x5x1:Rango de una matriz 4x5 con 1 parámetro parmrank4x5x2:Rango de una matriz 5x4 con 2 parámetros parmrank4x6x1:Rango de una matriz 6x4 con 1 parámetro parmrank4x6x2:Rango de una matriz 4x6 con 2 parámetros pseudoinv2x2:Cálculo de matriz inversa 2x2 pseudoinv2x2b:Cálculo de matriz inversa 2x2 II pseudoinv3x3:Cálculo de matriz inversa 3x3 quad2x2:Solución cuadrática 2x2 rankmult:Rango y multiplicación sqrt2x2:Raíz cuadrada de una matriz 2x2 symm2x2:Simetría del plano symm2x2b:Simetría del plano II traceA2:Traza de la matriz A² uniminv3x3:Cálculo de la matriz inversa de una 3x3 uniminv4x4:Cálculo de la matriz inversa de una 4x4 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/help.phtml0000644000175000017500000000005211156202535025566 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/intro.phtml0000644000175000017500000000027411156202535025777 0ustar georgeskgeorgesk!header !read Exindex Este módulo tiene $exototal ejercicios de varios estilos sobre matrices. !read oef/intromenu.phtml !read related.phtml matrices, determinantes, álgebra lineal !tail wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/Exindex0000644000175000017500000000412311156202536025123 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of givimg2x2,givimg2x3,givimg3x2,givimg3x3,colrow2x3,colrow3x3,colrow3x3b,multpart4x4,multpart5x5,multpart3x3,uniminv3x3,uniminv4x4,pseudoinv2x2,pseudoinv2x2b,pseudoinv3x3,mult3,detrank,dettrace2x2,dettrace3x3,divmatr2x2,divmatl2x2,equat2x2,Exemplematrice,formu2x2,formu3x3,formu3x3v,parmmat2x2,parmmat3x3,diagmult2x2,minrankA2,matop,multsize,givpower3x3,multmat2x2,givprod3x3,parmrank3x4x1,parmrank3x4x2,parmrank3x5x1,parmrank4x5x1,parmrank4x6x2,parmrank3x5x2,parmrank4x5x2,parmrank4x6x1,rankmult,sqrt2x2,symm2x2,symm2x2b,quad2x2,traceA2, !set titlelist=!char 1 to -2 of Calcular elementos de una matriz 2x2,Calcular elementos de una matriz 2x3,Calcular elementos de una matriz 3x2,Calcular elementos de una matriz 3x3,Columna y fila 2x3,Columna y fila 3x3 I,Columna y fila 3x3 II,Cálculo de cij de la matriz producto 4x4,Cálculo de cij de la matriz producto 5x5,Cálculo de cij en la matriz producto 3x3,Cálculo de la matriz inversa de una 3x3,Cálculo de la matriz inversa de una 4x4,Cálculo de matriz inversa 2x2,Cálculo de matriz inversa 2x2 II,Cálculo de matriz inversa 3x3,Cómo multiplicar tres matrices,Determinante y rango,Determinante y traza 2x2,Determinante y traza 3x3,División por la derecha 2x2,División por la izquierda 2x2,Ecuación 2x2,Ejemplo matriz 2x2,Fórmula de entrada 2x2,Fórmula de entrada 3x3,Fórmula de entrada 3x3 II,Matriz 2x2 con parámetros,Matriz 3x3 con parámetros,Multiplicación con matriz diagonal 2x2,Mínimo rango posible de A²,Operaciones con matrices,Orden de una matriz,Potencias de una matriz 3x3,Producto de dos matrices 2x2,Productos entre matrices potencias 3x3,Rango de una matriz 3x4 con 1 parámetro,Rango de una matriz 3x4 con 2 parámetros,Rango de una matriz 4x3 con 1 parámetro,Rango de una matriz 4x5 con 1 parámetro,Rango de una matriz 4x6 con 2 parámetros,Rango de una matriz 5x3 con 2 parámetros,Rango de una matriz 5x4 con 2 parámetros,Rango de una matriz 6x4 con 1 parámetro,Rango y multiplicación,Raíz cuadrada de una matriz 2x2,Simetría del plano,Simetría del plano II,Solución cuadrática 2x2,Traza de la matriz A², !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/var.proc0000644000175000017500000000115111156202536025247 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/0000755000175000017500000000000011156202575024335 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/formu2x2.def0000644000175000017500000000357211156202536026505 0ustar georgeskgeorgesk!set title=Fórmula de entrada 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr language=en ansorder=r varcnt=14 prevarcnt=13 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, 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))] val12=!rawmath $val6*i^2+$val7*i*j+$val8*j^2+$val9*i+$val10*j+$val11 evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val14=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val15=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val16=$[rint($(tmp0))] val17=[$val13,$val14;$val15,$val16] tmp0=!htmlmath $val12 val18=$(tmp0) replytype1=matrix replyname1=C replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea C=(cij) la matriz 2×2 cuya entrada está definida por

cij = $val18.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank4x5x1.def0000644000175000017500000000432511156202537027444 0ustar georgeskgeorgesk!set title=Rango de una matriz 4x5 con 1 parámetro !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=3 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=!randitem 1,2,3 val6=$[rint($(tmp0))] val7=$[rint(4)] val8=$[rint(5)] val9=$[rint(5)] val10=t val11=$[rint(1)] tmp0=!randint -20, 20 val12=$[rint($(tmp0))] tmp0=!shuffle $val7 val13=$(tmp0) tmp0=!shuffle $val8 val14=$(tmp0) val15=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val16=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val15); a2=matrix($val6,$val8,x,y,$val15); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val6+1,$val6+1]+=(RANDOM(2)*2-1)*($val10-($val12)); m=vecextract(m,[$val13],[$val14]); $val16 print(m) tmp0=!exec pari $t_ val17=$(tmp0) tmp0=!randitem 1,2 val18=$[rint($(tmp0))] tmp0=!item $val18 of mínimo,máximo val19=$(tmp0) val20=igual a, distinto de tmp0=!item $val18 of $val20 val21=$(tmp0) val22=$[rint(0)] val23=$[rint($val6)] val24=$[rint($val6+1)] replytype1=numeric replyname1=Minimum rank replygood1=$[$val23] replytype2=numeric replyname2=Maximum rank replygood2=$[$val24] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val12] choicename1=$val10 is choicegood1=$val21 choicebad1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val17] $()

Paso 1: Según el valor del parámetro !insmath $val10 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val19 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,17,19 embedcnt=4 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank3x5x1.def0000644000175000017500000000432311156202537027441 0ustar georgeskgeorgesk!set title=Rango de una matriz 4x3 con 1 parámetro !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=3 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=!randitem 1,2 val6=$[rint($(tmp0))] val7=$[rint(3)] val8=$[rint(4)] val9=$[rint(7)] val10=t val11=$[rint(1)] tmp0=!randint -20, 20 val12=$[rint($(tmp0))] tmp0=!shuffle $val7 val13=$(tmp0) tmp0=!shuffle $val8 val14=$(tmp0) val15=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val16=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val15); a2=matrix($val6,$val8,x,y,$val15); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val6+1,$val6+1]+=(RANDOM(2)*2-1)*($val10-($val12)); m=vecextract(m,[$val13],[$val14]); $val16 print(m) tmp0=!exec pari $t_ val17=$(tmp0) tmp0=!randitem 1,2 val18=$[rint($(tmp0))] tmp0=!item $val18 of mínimo,máximo val19=$(tmp0) val20=igual a, distinto de tmp0=!item $val18 of $val20 val21=$(tmp0) val22=$[rint(0)] val23=$[rint($val6)] val24=$[rint($val6+1)] replytype1=numeric replyname1=Minimum rank replygood1=$[$val23] replytype2=numeric replyname2=Maximum rank replygood2=$[$val24] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val12] choicename1=$val10 is choicegood1=$val21 choicebad1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val17] $()

Paso 1: Según el valor del parámetro !insmath $val10 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val19 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,17,19 embedcnt=4 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/colrow3x3b.def0000644000175000017500000000503211156202540027012 0ustar georgeskgeorgesk!set title=Columna y fila 3x3 II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r varcnt=30 prevarcnt=29 postvarcnt=0 replycnt=3 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint 1, 19 tmp1=!randitem -1,1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] val12=$[rint(($val6)*($val9))] val13=$[rint(($val6)*($val10))] val14=$[rint(($val6)*($val11))] val15=$[rint(($val7)*($val9))] val16=$[rint(($val7)*($val10))] val17=$[rint(($val7)*($val11))] val18=$[rint(($val8)*($val9))] val19=$[rint(($val8)*($val10))] val20=$[rint(($val8)*($val11))] val21=$[rint($val12)] val22=$[rint($val16)] val23=$[rint($val20)] val12=x val16=y val20=z tmp0=!randint 1, 6 val24=$[rint($(tmp0))] tmp0=!item $val24 of $val12&$val13&$val14,$val12&$val14&$val13,$val13&$val14&$val12, $val13&$val12&$val14,$val14&$val12&$val13,$val14&$val13&$val12 val25=$(tmp0) tmp0=!item $val24 of $val15&$val16&$val17,$val15&$val17&$val16,$val16&$val17&$val15, $val16&$val15&$val17,$val17&$val15&$val16,$val17&$val16&$val15 val26=$(tmp0) tmp0=!item $val24 of $val18&$val19&$val20,$val18&$val20&$val19,$val19&$val20&$val18, $val19&$val18&$val20,$val20&$val18&$val19,$val20&$val19&$val18 val27=$(tmp0) tmp0=!randint 1, 6 val28=$[rint($(tmp0))] tmp0=!item $val28 of $val25,$val25,$val26,$val26,$val27,$val27 val29=$(tmp0) tmp0=!item $val28 of $val26,$val27,$val25,$val27,$val25,$val26 val30=$(tmp0) tmp0=!item $val28 of $val27,$val26,$val27,$val25,$val26,$val25 val31=$(tmp0) replyname1=x replygood1=$val21 replyname2=y replygood2=$val22 replyname3=z replygood3=$val23 question=!nosubst Tenemos un producto de matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{$val29\cr $val30\cr $val31}. $$ Calcular los valores de $x$, $y$ y $z$. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=29,30,31 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/givpower3x3.def0000644000175000017500000000424611156202540027213 0ustar georgeskgeorgesk!set title=Potencias de una matriz 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=13 prevarcnt=12 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(4)] val7=$[rint($val6/2)] tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val7, $val7 tmp4=!randint -$val7, $val7 tmp5=!randint -$val6, $val6 tmp6=!randint -$val7, $val7 tmp7=!randint -$val7, $val7 tmp8=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1),$(tmp2) 2*$(tmp3),2*$(tmp4)+1,$(tmp5) 2*$(tmp6),2*$(tmp7),2*$(tmp8)+1 val8=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 3 val9=$(tmp0) tmp0=!shuffle 3 val10=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val8],[$val9],[$val10])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp tmp=!trim 2,5 3,5 2,7 3,7 4,7 val11=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!shuffle $(tmp0) val11=$(tmp1) tmp0=!item 1 of $val11 val12=$[rint($(tmp0))] tmp0=!item 2 of $val11 val13=$[rint($(tmp0))] t_=!replace internal \( by ( in print([$val8]^$val12) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val14=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print([$val8]^$val13) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp replytype1=matrix replyname1=A replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz !insmath A $(), con

!insmath A^$val12 = [$val14] $() , !insmath A^$val13 = [$val15] $() .

¿Quién es !insmath A $() ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/multmat2x2.def0000644000175000017500000000300311156202541027021 0ustar georgeskgeorgesk!set title=Producto de dos matrices 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=14 prevarcnt=13 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val13=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val14=$[rint($(tmp0))] val15=$[rint(($val7)*($val11)+($val8)*($val13))] val16=$[rint(($val7)*($val12)+($val8)*($val14))] val17=$[rint(($val9)*($val11)+($val10)*($val13))] val18=$[rint(($val9)*($val12)+($val10)*($val14))] replyname1=a replygood1=$val15 replyname2=b replygood2=$val16 replyname3=c replygood3=$val17 replyname4=d replygood4=$val18 question=!nosubst Resolver el producto de matrices: $$ \pmatrix{$val7&$val8\cr$val9&$val10\cr} \pmatrix{$val11&$val12\cr$val13&$val14\cr} = \pmatrix{a&b\cr c&d\cr} .$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/formu3x3v.def0000644000175000017500000000514111156202541026663 0ustar georgeskgeorgesk!set title=Fórmula de entrada 3x3 II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr language=en ansorder=r varcnt=14 prevarcnt=13 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, 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))] val9=!rawmath $val6*i+$val7*j+$val8 evaltmp=$val9 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val10=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val11=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val12=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val14=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val15=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val16=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val17=$[rint($(tmp0))] evaltmp=$val9 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val18=$[rint($(tmp0))] replytype1=default replyname1=f(i,j) replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea

C = (ci,j) = ( $val10$val11$val12 )
$val13$val14$val15
$val16$val17$val18

una matriz 3×3 cuya entrada ci,j está definida por una fórmula lineal ci,j=f(i,j)=ai+bj+c.

Determina la función f(i,j). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,12,13,14,15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/.htaccess0000644000175000017500000000001611156202541026121 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/uniminv4x4.def0000644000175000017500000000366311156202542027044 0ustar georgeskgeorgesk!set title=Cálculo de la matriz inversa de una 4x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=7 prevarcnt=6 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(3)] tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim 1,$(tmp0),$(tmp1),$(tmp2) 0,1,$(tmp3),$(tmp4) 0,0,1,$(tmp5) 0,0,0,1 val7=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim 1,0,0,0 $(tmp0),1,0,0 $(tmp1),$(tmp2),1,0 $(tmp3),$(tmp4),$(tmp5),1 val8=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim 1,$(tmp0),$(tmp1),$(tmp2) 0,1,$(tmp3),$(tmp4) 0,0,1,$(tmp5) 0,0,0,1 val9=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print([$val7]*[$val8]*[$val9]) tmp0=!exec pari $t_ val10=$(tmp0) t_=!replace internal \( by ( in print([$val10]^-1) tmp0=!exec pari $t_ val11=$(tmp0) replytype1=matrix replyname1=A-1 replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular la inversa de la matriz

!insmath A = [$val10] $()  .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/mult3.def0000644000175000017500000000543611156202542026063 0ustar georgeskgeorgesk!set title=Cómo multiplicar tres matrices !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,r,r varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=2 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=!shuffle 10 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$[rint($(tmp0)+5)] tmp0=!item 2 of $val6 val8=$[rint($(tmp0)+5)] tmp0=!item 3 of $val6 val9=$[rint($(tmp0)+5)] tmp0=!item 4 of $val6 val10=$[rint($(tmp0)+5)] val11=ABC,ACB,BAC,BCA,CAB,CBA tmp0=!randint 1, 6 val12=$[rint($(tmp0))] tmp0=!item $val12 of $val11 val13=$(tmp0) tmp0=!item $val12 of $val7,$val7,$val8,$val9,$val8,$val9 val14=$[rint($(tmp0))] tmp0=!item $val12 of $val8,$val8,$val9,$val10,$val9,$val10 val15=$[rint($(tmp0))] tmp0=!item $val12 of $val8,$val9,$val7,$val7,$val9,$val8 val16=$[rint($(tmp0))] tmp0=!item $val12 of $val9,$val10,$val8,$val8,$val10,$val9 val17=$[rint($(tmp0))] tmp0=!item $val12 of $val9,$val8,$val9,$val8,$val7,$val7 val18=$[rint($(tmp0))] tmp0=!item $val12 of $val10,$val9,$val10,$val9,$val8,$val8 val19=$[rint($(tmp0))] tmp0=!randitem 1,2 val20=$[rint($(tmp0))] tmp0=!randitem 1,2 val21=$[rint($(tmp0))] replyname1=Rows of the product replygood1=$val7 replyname2=Columns of the product replygood2=$val10 choicename1=The multiplication choicegood1=$val13 choicebad1=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos 3 matrices, !insmath A $(), !insmath B $(), !insmath C $(), cuyas dimensiones son las siguientes.

Matrix$m_A$m_B$m_C !if $val20=1 $()
Dimension$val14×$val15 $val16×$val17 $val18×$val19 !else $()
Rows$val14 $val16 $val18
Columns$val15 $val17 $val19 !endif $()

Se pide el orden en que se deben multiplicar las matrices para que sea posible obtener el producto de las tres. !read oef/embed.phtml choice 1 $()

En ese caso, ¿cuál es la dimensión de la matriz producto? !if $val21=1 $() !read oef/embed.phtml reply 1,3 $() × !read oef/embed.phtml reply 2,3 $() !else $() !read oef/embed.phtml reply 1,3 $() filas y !read oef/embed.phtml reply 2,3 $() columnas. !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,17,18,19,20,21 embedcnt=5 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank4x6x2.def0000644000175000017500000000570711156202543027450 0ustar georgeskgeorgesk!set title=Rango de una matriz 4x6 con 2 parámetros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r,c,c,r varcnt=31 prevarcnt=30 postvarcnt=0 replycnt=4 choicecnt=3 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=!randitem 2,3 val6=$[rint($(tmp0))] val7=$[rint(4)] val8=$[rint(6)] val9=$[rint(5)] val10=u val11=v val12=$[rint(2)] val13=$[rint($val6+1)] val14=$[rint($val6+1)] val15=$[rint(min($val7,$val6+2))] val16=$[rint($val6+2)] tmp0=!randint -20, 20 val17=$[rint($(tmp0))] tmp0=!randint -20, 20 val18=$[rint($(tmp0))] tmp0=!shuffle $val7 val19=$(tmp0) tmp0=!shuffle $val8 val20=$(tmp0) val21=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val22=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val21); a2=matrix($val6,$val8,x,y,$val21); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val13,$val14]+=(RANDOM(2)*2-1)*($val10-($val17)); m[$val15,$val16]+=(RANDOM(2)*2-1)*($val11-($val18)); m=vecextract(m,[$val19],[$val20]); $val22 print(m) tmp0=!exec pari $t_ val23=$(tmp0) tmp0=!randitem 1,2 val24=$[rint($(tmp0))] tmp0=!item $val24 of mínimo,máximo val25=$(tmp0) val26=igual a, distinto de val27=y val28=o val29=$val27,$val28 tmp0=!item $val24 of $val26 val30=$(tmp0) tmp0=!item $val24 of $val26 val31=$(tmp0) val32=$[rint($val6)] !ifval $val13=$val15 val33=$[rint($val6+1)] !else val33=$[rint($val6+2)] !endif val34=$val27 !ifval $val24=2 and $val33=$val6+1 val34=$val28 !endif replytype1=numeric replyname1=Minimum rank replygood1=$[$val32] replytype2=numeric replyname2=Maximum rank replygood2=$[$val33] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val17] replytype4=numeric replyname4=Value of $val11 replygood4=$[$val18] choicename1=$val10 is choicegood1=$val30 choicebad1=$val26 choicename2=$val29 choicegood2=$val34 choicebad2=$val29 choicename3=$val11 is choicegood3=$val31 choicebad3=$val26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val23] $()

Paso 1: Según el valor de los parámetros !insmath $val10 $() y !insmath $val11 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val25 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $() !read oef/embed.phtml choice 2 $() !insmath $val11 $() es !read oef/embed.phtml choice 3 $() !read oef/embed.phtml reply 4,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,23,25 embedcnt=7 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/multpart5x5.def0000644000175000017500000000541511156202543027227 0ustar georgeskgeorgesk!set title=Cálculo de cij de la matriz producto 5x5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=2 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=random t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x>y,tz,($val7(9)+1)*(2*$val7(2)-1)))) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x

!insmath $val14$val15 = $val16 $()

!if $m_step=1 $() Paso 1. Solo hay un elemento determinable en la matriz producto. Es !read oef/embed.phtml reply 1,4 $().
(Por ejemplo, c11 para !insmath c11 $().) !else $() Paso 2. El elemento determinable es !insmath c$val17$val18 $() = !read oef/embed.phtml reply 2,6 $(). !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,14,15,16,17,18 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/pseudoinv3x3.def0000644000175000017500000000467511156202543027376 0ustar georgeskgeorgesk!set title=Cálculo de matriz inversa 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=19 prevarcnt=18 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(10)] val7=$[rint($val6/2)] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -$val7, $val7 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val14=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val15=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val16=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val18=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val19=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val20=$[rint(2*$(tmp0)+1)] tmp=!trim $val12,$val13,$val14;$val15,$val16,$val17;$val18,$val19,$val20 val21=!translate internal $ \ $ to ;; in $tmp !ifval $val8=1 t_=!replace internal \( by ( in print([$val12/($val9),$val13/($val10),$val14/($val11);$val15/($val9),$val16/($val10),$val17/($val11);$val18/($val9),$val19/($val10),$val20/($val11)]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val22=!translate internal $ \ $ to ;; in $tmp !else t_=!replace internal \( by ( in print([$val12/($val9),$val13/($val9),$val14/($val9);$val15/($val10),$val16/($val10),$val17/($val10);$val18/($val11),$val19/($val11),$val20/($val11)]) tmp1=!exec pari $t_ tmp=!trim $(tmp1) val22=!translate internal $ \ $ to ;; in $tmp !endif !ifval $val8=1 val23=A*[$val21] !else val23=[$val21]*A !endif replytype1=matrix replyname1=A-1 replygood1=$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz $m_A, de orden 3×3, con

!insmath $val23 = [$val9,0,0;0,$val10,0;0,0,$val11] $()  .

Calcular la matriz inversa de $m_A. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,11,23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/divmatr2x2.def0000644000175000017500000000333411156202544027016 0ustar georgeskgeorgesk!set title=División por la derecha 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randitem 1,-1 val7=$[rint($(tmp0))] tmp0=!randitem 1,-1 val8=$[rint($(tmp0))] tmp0=!randint 0, $val6 val9=$[rint($(tmp0))] tmp0=!randint 1, $val6 val10=$[rint($(tmp0))] tmp0=!randint 1, $val6 val11=$[rint($(tmp0))] tmp0=!randint 0, $val6 val12=$[rint($(tmp0))] val13=$[rint($val9*($val7))] val14=$[rint($val10*($val7))] val15=$[rint(-($val11)*($val8))] val16=$[rint($val12*($val8))] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val18=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val19=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val20=$[rint($(tmp0))] val21=$[rint(($val17)*($val13)+($val18)*($val15))] val22=$[rint(($val17)*($val14)+($val18)*($val16))] val23=$[rint(($val19)*($val13)+($val20)*($val15))] val24=$[rint(($val19)*($val14)+($val20)*($val16))] replyname1=a replygood1=$val17 replyname2=b replygood2=$val18 replyname3=c replygood3=$val19 replyname4=d replygood4=$val20 question=!nosubst Determina la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{a&b\cr c&d} \pmatrix{$val13&$val14\cr$val15&$val16} = \pmatrix{$val21&$val22\cr$val23&$val24} .$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14,15,16,21,22,23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/divmatl2x2.def0000644000175000017500000000333611156202545027013 0ustar georgeskgeorgesk!set title=División por la izquierda 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randitem 1,-1 val7=$[rint($(tmp0))] tmp0=!randitem 1,-1 val8=$[rint($(tmp0))] tmp0=!randint 0, $val6 val9=$[rint($(tmp0))] tmp0=!randint 1, $val6 val10=$[rint($(tmp0))] tmp0=!randint 1, $val6 val11=$[rint($(tmp0))] tmp0=!randint 0, $val6 val12=$[rint($(tmp0))] val13=$[rint($val9*($val7))] val14=$[rint($val10*($val7))] val15=$[rint(-($val11)*($val8))] val16=$[rint($val12*($val8))] tmp0=!randint -$val6, $val6 val17=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val18=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val19=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val20=$[rint($(tmp0))] val21=$[rint(($val13)*($val17)+($val14)*($val19))] val22=$[rint(($val13)*($val18)+($val14)*($val20))] val23=$[rint(($val15)*($val17)+($val16)*($val19))] val24=$[rint(($val15)*($val18)+($val16)*($val20))] replyname1=a replygood1=$val17 replyname2=b replygood2=$val18 replyname3=c replygood3=$val19 replyname4=d replygood4=$val20 question=!nosubst Determina la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{$val13&$val14\cr$val15&$val16} \pmatrix{a&b\cr c&d} = \pmatrix{$val21&$val22\cr$val23&$val24} .$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14,15,16,21,22,23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/dettrace2x2.def0000644000175000017500000000207311156202546027144 0ustar georgeskgeorgesk!set title=Determinante y traza 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=8 prevarcnt=7 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(20)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] val11=$[rint(($val7)+($val10))] val12=$[rint(($val7)*($val10)-($val8)*($val9))] replyname1=Traza(A) replygood1=$val11 replyname2=Det(A) replygood2=$val12 question=!nosubst Calcula el determinante y la traza de la matriz $$ A=\pmatrix{$val7&$val8\cr $val9&$val10}. $$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/detrank.def0000644000175000017500000000510011156202546026437 0ustar georgeskgeorgesk!set title=Determinante y rango !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,r varcnt=36 prevarcnt=35 postvarcnt=0 replycnt=1 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 val6=det val7=rango tmp0=!randint 5, 20 val8=$[rint($(tmp0))] tmp0=!randint $val8/2, $val8-1 val9=$[rint($(tmp0))] tmp0=!shuffle 20 val10=$(tmp0) tmp0=!item 1 of $val10 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!item 2 of $val10 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] val13=$[rint($val11*$val12)] tmp0=!randitem 1,2 val14=$[rint($(tmp0))] tmp0=!item $val14 of A,B val15=$(tmp0) tmp0=!item $val14 of B,A val16=$(tmp0) tmp0=!item $val14 of 1,2 val17=$(tmp0) tmp0=!item $val14 of 2,1 val18=$(tmp0) val19=$val6(\($val15))=$val11 val20=$val6(\($val16))=$val12 val21=$val6(\($val15))=0 val22=$val6(\($val16))=0 val23=$val7(\($val15))=$val8 val24=$val7(\($val16))=$val8 val25=$val7(\($val15))=$val9 val26=$val7(\($val16))=$val9 val27=$val7(\(AB)) val28=$val6(\(AB)) val29== val30=<> val31=< val32=> tmp=!trim $val19,$val24,$val27,$val29,$val8 $val19,$val24,$val28,$val30,0 $val19,$val26,$val27,$val29,$val9 $val19,$val26,$val28,$val29,0 $val19,$val20,$val27,$val29,$val8 $val21,$val24,$val27,$val31,$val8 $val21,$val24,$val28,$val29,0 $val23,$val26,$val27,$val29,$val9 $val23,$val26,$val28,$val29,0 $val21,$val20,$val27,$val31,$val8 $val23,$val24,$val28,$val30,0 val33=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val33 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val33=$(tmp0) tmp0=!item $val17 of $val33 val34=$(tmp0) tmp0=!item $val18 of $val33 val35=$(tmp0) tmp0=!item 3 of $val33 val36=$(tmp0) tmp0=!item 4 of $val33 val37=$(tmp0) tmp0=!item 5 of $val33 val38=$(tmp0) val39=$val29,$val31,$val32,$val30 replyname1=the value replygood1=$val38 choicename1=$val36 is choicegood1=$val37 choicebad1=$val39 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean !insmath A $() y !insmath B $() dos matrices $val8×$val8, tales que $val34 y $val35. Entonces

$val36 !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 1,5 $().

(Debes colocar la mejor respuesta.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,34,35,36 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/equat2x2.def0000644000175000017500000000302211156202547026464 0ustar georgeskgeorgesk!set title=Ecuación 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r,r varcnt=11 prevarcnt=10 postvarcnt=0 replycnt=4 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=X tmp0=!randint 2, 8 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -5,-4,-3,-2,+2,+3,+4,+5 val8=$(tmp0) tmp0=!randitem -6,-5,-4,-3,-2,-1,+1,+2,+3,+4,+5,+6 val9=$(tmp0) val10=$[-($val7)/($val9)] val11=$[-($val8)/($val9)] val12=!rawmath $val10*a+$val11 val13=!rawmath $val10*b val14=!rawmath $val10*c val15=!rawmath $val10*d+$val11 replyname1=e replygood1=$val12,a,b,c,d replyname2=f replygood2=$val13,a,b,c,d replyname3=g replygood3=$val14,a,b,c,d replyname4=h replygood4=$val15,a,b,c,d question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que la matriz !insmath A=[a,b;c,d] $() satisface la ecuación !insmath $val7*A^2$val8*A$val9=0 $(). Determina la matriz inversa !insmath A^-1=[e,f;g,h] $() en función de a,b,c,d.

Más exactamente, cada coeficiente de !insmath A^-1 $() debe ser un polinomio de grado 1 en a,b,c,d. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/sqrt2x2.def0000644000175000017500000000367611156202551026350 0ustar georgeskgeorgesk!set title=Raíz cuadrada de una matriz 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r,r varcnt=11 prevarcnt=10 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=2 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=A val7=I tmp0=!randint 1, 9 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 9 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 9 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 9 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] val12=$[rint($val8*($val8)+($val9)*($val10))] val13=$[rint(($val8+($val11))*($val9))] val14=$[rint(($val8+($val11))*($val10))] val15=$[rint(($val11)^2+($val9)*($val10))] replyname1=a replygood1=?analyze 16 replyname2=b replygood2=?analyze 17 replyname3=c replygood3=?analyze 18 replyname4=d replygood4=?analyze 19 question=!nosubst Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ A^2 = \pmatrix{$val12&$val13\cr$val14&$val15}, $$ sabiendo que $a, b, c, d$ son no nulas. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !ifval ($val16)^2+($val17)*($val18)=$val12 and $val17*($val16+($val19))=$val13 and $val18*($val16+($val19))=$val14 and ($val19)^2+($val17)*($val18)=$val15 condtest1=1 !else condtest1=0 !endif condname1=Con estos valores A^2 es la matriz dada !ifval $val16*($val17)*($val18)*($val19)!=0 and floor($val16)=$val16 and floor($val17)=$val17 and floor($val18)=$val18 and floor($val19)=$val19 condtest2=1 !else condtest2=0 !endif condname2=a,b,c,d son enteros no nulos !exit :stat vsavelist=12,13,14,15,16,17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/givimg2x2.def0000644000175000017500000000650411156202551026632 0ustar georgeskgeorgesk!set title=Calcular elementos de una matriz 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=19 prevarcnt=18 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(10)] val7=$[rint($val6/2)] tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp=!trim $(tmp0),$(tmp1) $(tmp2),$(tmp3) val8=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val7, $val7 tmp3=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1) 2*$(tmp2),2*$(tmp3)+1 val9=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 2 val10=$(tmp0) tmp0=!shuffle 2 val11=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val9],[$val10],[$val11])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val12=1 t_=!replace internal \( by ( in print([$val9]*[$val8]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val13=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val9 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp=!translate internal $ $ to ; in $val13 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val13 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !else t_=!replace internal \( by ( in print([$val8]*[$val9]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val13=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val14=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val16=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val17=!translate internal $ \ $ to ;; in $tmp !endif replytype1=matrix replyname1=A replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz !insmath A $(), 2×2 tal que

!if $val12=1 $() !insmath [$val14]*A = [$val16] $() ,
!insmath [$val15]*A = [$val17] $() . !else $() !insmath A*[$val14] = [$val16] $() , !insmath A*[$val15] = [$val17] $() . !endif $()

Calcular !insmath A $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,14,15,16,17 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/symm2x2b.def0000644000175000017500000000535511156202552026503 0ustar georgeskgeorgesk!set title=Simetría del plano II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=c varcnt=19 prevarcnt=18 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 tmp=!trim 1,0.0,-1, 2, reflection with respect to the line y=0 -1,0.0,1, 1, reflection with respect to the line x=0 -1,0.0,-1,4, central symmetry with respect to the origin 0,1.1,0, 5, reflection with respect to the line y=x 0,-1.-1,0,4, reflection with respect to the line x+y=0 0,1.-1,0, 7, clockwise rotation of 90 degrees 0,-1.1,0, 6, counter-clockwise rotation of 90 degrees val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] tmp0=!shuffle $val7 val8=$(tmp0) tmp0=!item 1 to 4 of $val8 val8=$(tmp0) tmp0=!item 1 of $val8 val9=$(tmp0) tmp0=!shuffle $val8 val8=$(tmp0) tmp0=!positionof item $val9 in $val8 val10=$[rint($(tmp0))] tmp0=!item 1 of $val8 val11=$(tmp0) tmp0=!item 2 of $val8 val12=$(tmp0) tmp0=!item 3 of $val8 val13=$(tmp0) tmp0=!item 4 of $val8 val14=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val11 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 1 to 3 of $(tmp0) tmp2=!translate . to ; in $(tmp1) val15=$(tmp2) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val12 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 1 to 3 of $(tmp0) tmp2=!translate . to ; in $(tmp1) val16=$(tmp2) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val13 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 1 to 3 of $(tmp0) tmp2=!translate . to ; in $(tmp1) val17=$(tmp2) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val14 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 1 to 3 of $(tmp0) tmp2=!translate . to ; in $(tmp1) val18=$(tmp2) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val9 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp0=!item 5 of $val19 val20=$(tmp0) tmp0=!item $val10 of A,B,C,D val9=$(tmp0) choicename1=La matriz correspondiente es choicegood1=$val9 choicebad1=A,B,C,D question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las siguientes matrices, cuál corresponde a la reflexión con respecto a la recta y=x del plano?

!insmath A=[$val15], B=[$val16], C=[$val17], D=[$val18] $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/givimg3x3.def0000644000175000017500000001062611156202552026635 0ustar georgeskgeorgesk!set title=Calcular elementos de una matriz 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=23 prevarcnt=22 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(10)] val7=$[rint($val6/2)] tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp6=!randint -$val6, $val6 tmp7=!randint -$val6, $val6 tmp8=!randint -$val6, $val6 tmp=!trim $(tmp0),$(tmp1),$(tmp2) $(tmp3),$(tmp4),$(tmp5) $(tmp6),$(tmp7),$(tmp8) val8=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val7, $val7 tmp4=!randint -$val7, $val7 tmp5=!randint -$val6, $val6 tmp6=!randint -$val7, $val7 tmp7=!randint -$val7, $val7 tmp8=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1),$(tmp2) 2*$(tmp3),2*$(tmp4)+1,$(tmp5) 2*$(tmp6),2*$(tmp7),2*$(tmp8)+1 val9=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 3 val10=$(tmp0) tmp0=!shuffle 3 val11=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val9],[$val10],[$val11])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val12=1 t_=!replace internal \( by ( in print([$val9]*[$val8]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val13=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val9 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp=!translate internal $ $ to ; in $val9 tmp=!row 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val13 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val13 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val13 tmp=!row 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) !else t_=!replace internal \( by ( in print([$val8]*[$val9]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val13=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val14=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val16=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val17=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val18=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val19=!translate internal $ \ $ to ;; in $tmp !endif replytype1=matrix replyname1=A replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz !insmath A $(), 3×3 tal que

!if $val12=1 $() !insmath [$val14]*A = [$val17] $() ,
!insmath [$val15]*A = [$val18] $() ,
!insmath [$val16]*A = [$val19] $() . !else $() !insmath A*[$val14] = [$val17] $() , !insmath A*[$val15] = [$val18] $() , !insmath A*[$val16] = [$val19] $() . !endif $()

Calcular !insmath A $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,14,15,16,17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/multpart3x3.def0000644000175000017500000000532211156202553027221 0ustar georgeskgeorgesk!set title=Cálculo de cij en la matriz producto 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=2 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(3)] val7=random t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x>y,tz,($val7(9)+1)*(2*$val7(2)-1)))) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x

!insmath $val14$val15 = $val16 $()

!if $m_step=1 $() Paso 1. Solo hay un elemento determinable en la matriz producto. Es !read oef/embed.phtml reply 1,4 $().
(Por ejemplo, c11 para !insmath c11 $().) !else $() Paso 2. El elemento determinable es !insmath c$val17$val18 $() = !read oef/embed.phtml reply 2,6 $(). !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,14,15,16,17,18 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank4x6x1.def0000644000175000017500000000430711156202553027443 0ustar georgeskgeorgesk!set title=Rango de una matriz 6x4 con 1 parámetro !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=3 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=!randitem 2,3 val6=$[rint($(tmp0))] val7=$[rint(4)] val8=$[rint(6)] val9=$[rint(5)] val10=t val11=$[rint(1)] tmp0=!randint -20, 20 val12=$[rint($(tmp0))] tmp0=!shuffle $val7 val13=$(tmp0) tmp0=!shuffle $val8 val14=$(tmp0) val15=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val16=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val15); a2=matrix($val6,$val8,x,y,$val15); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val6+1,$val6+1]+=(RANDOM(2)*2-1)*($val10-($val12)); m=vecextract(m,[$val13],[$val14]); $val16 print(m) tmp0=!exec pari $t_ val17=$(tmp0) tmp0=!randitem 1,2 val18=$[rint($(tmp0))] tmp0=!item $val18 of mínimo,máximo val19=$(tmp0) val20=igual a, distinto de tmp0=!item $val18 of $val20 val21=$(tmp0) val22=$[rint(0)] val23=$[rint($val6)] val24=$[rint($val6+1)] replytype1=numeric replyname1=Minimum rank replygood1=$[$val23] replytype2=numeric replyname2=Maximum rank replygood2=$[$val24] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val12] choicename1=$val10 is choicegood1=$val21 choicebad1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val17] $()

Paso 1: Según el valor del parámetro ($val10), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val19 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,17,19 embedcnt=4 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/traceA2.def0000644000175000017500000000174611156202553026302 0ustar georgeskgeorgesk!set title=Traza de la matriz A² !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r varcnt=4 prevarcnt=3 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint -20, 20 val6=$[rint($(tmp0))] tmp0=!randint -20, 20 val7=$[rint($(tmp0))] val8=$[rint(($val7)^2-2*($val6))] replyname1=Traza de A² replygood1=$val8 question=!nosubst Sea $A=\pmatrix{a&b\cr c&d\cr}$ una matriz con determinante $$val6$ y traza $$val7$. ¿Cuál es la traza de la matriz $A^2$? hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :hint $()Recordar el Teorema de Caylay-Hamilton! $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/multpart4x4.def0000644000175000017500000000535211156202554027227 0ustar georgeskgeorgesk!set title=Cálculo de cij de la matriz producto 4x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr computeanswer=yes ansorder=r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=2 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(4)] val7=random t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x>y,tz,($val7(9)+1)*(2*$val7(2)-1)))) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print(matrix($val6,$val6,x,y,if(x

!insmath $val14$val15 = $val16 $()

!if $m_step=1 $() Paso 1. Solo hay un elemento determinable en la matriz producto. Es !read oef/embed.phtml reply 1,4 $().
(Por ejemplo, c11 para !insmath c11 $().) !else $() Paso 2. El elemento determinable es !insmath c$val17$val18 $() = !read oef/embed.phtml reply 2,6 $(). !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,14,15,16,17,18 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/matop.def0000644000175000017500000000424011156202554026132 0ustar georgeskgeorgesk!set title=Operaciones con matrices !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,c,c,c,c varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=0 choicecnt=5 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=Sí val7=No val8=$val6,$val7 tmp0=!randitem 3,4 val9=$[rint($(tmp0))] tmp0=!randitem 3,4 val10=$[rint($(tmp0))] tmp0=!randitem 3,4 val11=$[rint($(tmp0))] tmp0=!randitem 3,4 val12=$[rint($(tmp0))] t_=!replace internal \( by ( in print(matrix($val10,$val9,x,y,random\(19)-10)) tmp0=!exec pari $t_ val13=$(tmp0) t_=!replace internal \( by ( in print(matrix($val12,$val11,x,y,random\(19)-10)) tmp0=!exec pari $t_ val14=$(tmp0) !ifval $val9=$val12 val15=$val6 !else val15=$val7 !endif !ifval $val11=$val10 val16=$val6 !else val16=$val7 !endif !ifval $val9=$val11 and $val10=$val12 val17=$val6 !else val17=$val7 !endif !ifval $val9=$val10 val18=$val6 !else val18=$val7 !endif !ifval $val11=$val12 val19=$val6 !else val19=$val7 !endif choicename1=AB choicegood1=$val15 choicebad1=$val8 choicename2=BA choicegood2=$val16 choicebad2=$val8 choicename3=A+B choicegood3=$val17 choicebad3=$val8 choicename4=A2 choicegood4=$val18 choicebad4=$val8 choicename5=B2 choicegood5=$val19 choicebad5=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Consideremos dos matrices

!insmath A = [$val13] , B = [$val14] $() .

¿Podemos hacer !insmath AB $()? !read oef/embed.phtml choice 1 $()
¿Podemos hacer !insmath BA $()? !read oef/embed.phtml choice 2 $()
¿Podemos hacer !insmath A+B $()? !read oef/embed.phtml choice 3 $()
¿Podemos hacer !insmath A^2 $()? !read oef/embed.phtml choice 4 $()
¿Podemos hacer !insmath B^2 $()? !read oef/embed.phtml choice 5 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14 embedcnt=5 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/givimg3x2.def0000644000175000017500000000734411156202555026642 0ustar georgeskgeorgesk!set title=Calcular elementos de una matriz 3x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=22 prevarcnt=21 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(10)] val7=$[rint($val6/2)] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] !if $val8=2 tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim $(tmp0),$(tmp1) $(tmp2),$(tmp3) $(tmp4),$(tmp5) val9=!translate internal $ \ $ to ;; in $tmp val10=3×2 !else tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim $(tmp0),$(tmp1),$(tmp2) $(tmp3),$(tmp4),$(tmp5) val9=!translate internal $ \ $ to ;; in $tmp val10=2×3 !endif tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val7, $val7 tmp3=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1) 2*$(tmp2),2*$(tmp3)+1 val11=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 2 val12=$(tmp0) tmp0=!shuffle 2 val13=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val11],[$val12],[$val13])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val11=!translate internal $ \ $ to ;; in $tmp !if $val8=1 t_=!replace internal \( by ( in print([$val11]*[$val9]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val14=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp=!translate internal $ $ to ; in $val11 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val14 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val14 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) !else t_=!replace internal \( by ( in print([$val9]*[$val11]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val14=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val16=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val14 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val17=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val14 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val18=!translate internal $ \ $ to ;; in $tmp !endif replytype1=matrix replyname1=A replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz !insmath A $(), $val10 tal que

!if $val8=1 $() !insmath [$val15]*A = [$val17] $() ,
!insmath [$val16]*A = [$val18] $() . !else $() !insmath A*[$val15] = [$val17] $() , !insmath A*[$val16] = [$val18] $() . !endif $()

Calcular !insmath A $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/symm2x2.def0000644000175000017500000000526411156202556026344 0ustar georgeskgeorgesk!set title=Simetría del plano !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=c varcnt=20 prevarcnt=19 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 tmp=!trim 1,0.0,-1, 2, simetría con respecto a la recta y=0 -1,0.0,1, 1, simetría con respecto a la recta x=0 -1,0.0,-1,4, simetría central con respecto al origen 0,1.1,0, 5, simetría con respecto a la recta y=x 0,-1.-1,0,4, simetría con respecto a la recta x+y=0 0,1.-1,0, 7, rotación de 90 grados en sentido a las agujas del reloj 0,-1.1,0, 6, rotación de 90 grados en sentido opuesto a las agujas del reloj val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] tmp0=!shuffle $val7 val8=$(tmp0) tmp0=!item 1 to 4 of $val8 val8=$(tmp0) tmp0=!item 1 of $val8 val9=$(tmp0) tmp0=!shuffle $val8 val8=$(tmp0) tmp0=!item 1 of $val8 val10=$(tmp0) tmp0=!item 2 of $val8 val11=$(tmp0) tmp0=!item 3 of $val8 val12=$(tmp0) tmp0=!item 4 of $val8 val13=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 5 of $(tmp0) val14=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val11 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 5 of $(tmp0) val15=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val12 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 5 of $(tmp0) val16=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val13 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 5 of $(tmp0) val17=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val9 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp0=!item 5 of $val18 val19=$(tmp0) tmp0=!item 4 of $val18 val20=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val20 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!item 5 of $(tmp0) val21=$(tmp1) tmp0=!item 1 to 3 of $val18 tmp1=!translate . to ; in $(tmp0) val22=$(tmp1) choicename1=La respuesta es choicegood1=$val19 choicebad1=$val21,$val14,$val15,$val16,$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es la transformación natural del plano dada por la matriz !insmath [$val22] $() ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/givprod3x3.def0000644000175000017500000000614111156202556027026 0ustar georgeskgeorgesk!set title=Productos entre matrices potencias 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=2 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(6)] val7=$[rint($val6/2)] tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val7, $val7 tmp4=!randint -$val7, $val7 tmp5=!randint -$val6, $val6 tmp6=!randint -$val7, $val7 tmp7=!randint -$val7, $val7 tmp8=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1),$(tmp2) 2*$(tmp3),2*$(tmp4)+1,$(tmp5) 2*$(tmp6),2*$(tmp7),2*$(tmp8)+1 val8=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 3 val9=$(tmp0) tmp0=!shuffle 3 val10=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val8],[$val9],[$val10])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val8=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val7, $val7 tmp4=!randint -$val7, $val7 tmp5=!randint -$val6, $val6 tmp6=!randint -$val7, $val7 tmp7=!randint -$val7, $val7 tmp8=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1),$(tmp2) 2*$(tmp3),2*$(tmp4)+1,$(tmp5) 2*$(tmp6),2*$(tmp7),2*$(tmp8)+1 val11=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 3 val9=$(tmp0) tmp0=!shuffle 3 val10=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val11],[$val9],[$val10])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val11=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle A,B val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$(tmp0) tmp=!trim $val13*$val14,$val13*$val14*$val13 $val13*$val14,$val14*$val13*$val14 $val13*$val14,$val13*$val14^2 $val13*$val14,$val13^2*$val14 val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!shuffle $(tmp0) val15=$(tmp1) tmp0=!item 1 of $val15 val16=$(tmp0) tmp0=!item 2 of $val15 val17=$(tmp0) t_=!replace internal \( by ( in A=[$val8];B=[$val11];print($val16) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val18=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in A=[$val8];B=[$val11];print($val17) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val19=!translate internal $ \ $ to ;; in $tmp replytype1=matrix replyname1=A replygood1=$val8 replytype2=matrix replyname2=B replygood2=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos dos matrices !insmath A $() y !insmath B $(), con

!insmath $val16 = [$val18] $() , !insmath $val17 = [$val19] $() .

¿Quiénes son !insmath A $() y !insmath B $() ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=16,17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmmat3x3.def0000644000175000017500000000430211156202560027005 0ustar georgeskgeorgesk!set title=Matriz 3x3 con parámetros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=2 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(10)] val7=$[rint($val6/2)] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] tmp0=!item $val8 of s,t val9=$(tmp0) tmp0=!item $val8 of t,s val10=$(tmp0) tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 tmp1=!randint -$val7, $val7 tmp2=!randint -$val7, $val7 tmp3=!randint -$val6, $val6 tmp4=!randint -$val7, $val7 tmp5=!randint -$val6, $val6 tmp6=!randint -$val6, $val6 tmp=!trim $(tmp0),2*$(tmp1)+1,2*$(tmp2) $(tmp3),$val9,2*$(tmp4)+1 $val10,$(tmp5),$(tmp6) val13=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 3 val14=$(tmp0) tmp0=!randitem 1,2 !ifval $(tmp0)=1 t_=!replace internal \( by ( in print(vecextract([$val13],[$val14],[$val14])) tmp1=!exec pari $t_ tmp=!trim $(tmp1) val13=!translate internal $ \ $ to ;; in $tmp !else t_=!replace internal \( by ( in print(vecextract([$val13]~,[$val14],[$val14])) tmp2=!exec pari $t_ tmp=!trim $(tmp2) val13=!translate internal $ \ $ to ;; in $tmp !endif tmp0=!replace internal s by $val11 in $val13 val15=$(tmp0) tmp0=!replace internal t by $val12 in $val15 val15=$(tmp0) t_=!replace internal \( by ( in trace([$val15]) tmp0=!exec pari $t_ val16=$[rint($(tmp0))] t_=!replace internal \( by ( in matdet([$val15]) tmp0=!exec pari $t_ val17=$[rint($(tmp0))] replyname1=s replygood1=$val11 replyname2=t replygood2=$val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Encontrar el valor de los parámetros !insmath s $() y !insmath t $() tales que la matriz

!insmath A=[$val13] $()
verifique det !insmath (A) = $val17 $() y traza !insmath (A)=$val16 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,16,17 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/colrow3x3.def0000644000175000017500000000505611156202561026661 0ustar georgeskgeorgesk!set title=Columna y fila 3x3 I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r varcnt=28 prevarcnt=27 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint 1, 19 tmp1=!randitem -1,1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] val12=$[rint(($val6)*($val9))] val13=$[rint(($val6)*($val10))] val14=$[rint(($val6)*($val11))] val15=$[rint(($val7)*($val9))] val16=$[rint(($val7)*($val10))] val17=$[rint(($val7)*($val11))] val18=$[rint(($val8)*($val9))] val19=$[rint(($val8)*($val10))] val20=$[rint(($val8)*($val11))] val21=$[rint($val12)] val22=$[rint($val16)] val12=x val16=y tmp0=!randint 1, 6 val23=$[rint($(tmp0))] tmp0=!item $val23 of $val12&$val13&$val14,$val12&$val14&$val13,$val13&$val14&$val12, $val13&$val12&$val14,$val14&$val12&$val13,$val14&$val13&$val12 val24=$(tmp0) tmp0=!item $val23 of $val15&$val16&$val17,$val15&$val17&$val16,$val16&$val17&$val15, $val16&$val15&$val17,$val17&$val15&$val16,$val17&$val16&$val15 val25=$(tmp0) tmp0=!item $val23 of $val18&$val19&$val20,$val18&$val20&$val19,$val19&$val20&$val18, $val19&$val18&$val20,$val20&$val18&$val19,$val20&$val19&$val18 val26=$(tmp0) tmp0=!randint 1, 6 val27=$[rint($(tmp0))] tmp0=!item $val27 of $val24,$val24,$val25,$val25,$val26,$val26 val28=$(tmp0) tmp0=!item $val27 of $val25,$val26,$val24,$val26,$val24,$val25 val29=$(tmp0) tmp0=!item $val27 of $val26,$val25,$val26,$val24,$val25,$val24 val30=$(tmp0) replyname1=x replygood1=$val21 replyname2=y replygood2=$val22 question=!nosubst Tenemos el producto de las matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{$val28\cr $val29\cr $val30}. $$ Calcular los valores de $x$ e $y$. hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :hint $()¿Existe una proporcionalidad entre las filas de la matriz? $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=28,29,30 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmmat2x2.def0000644000175000017500000000311711156202562027010 0ustar georgeskgeorgesk!set title=Matriz 2x2 con parámetros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(8)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint 1, $val6 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] val11=$[rint(-($val7)-($val10))] val12=$[rint(($val7)*($val10)-($val8)*($val9))] !ifval $val11>=0 val13=+$val11 !else val13=$val11 !endif !ifval $val12>=0 val14=+$val12 !else val14=$val12 !endif !ifval $val11=0 val15= !else val15=$val13 A !endif !ifval $val12=0 val16= !else val16=$val14 I_2 !endif tmp0=!randint 1, 4 val17=$[rint($(tmp0))] !ifval $val17=1 val18=$val7&s\cr $val9&t !endif !ifval $val17=2 val18=$val7&$val9\cr s&t !endif !ifval $val17=3 val18=t&$val9\cr s&$val7 !endif !ifval $val17=4 val18=t&s\cr $val9&$val7 !endif replyname1=s replygood1=$val8 replyname2=t replygood2=$val10 question=!nosubst Encuentra el valor de los parametros $s$ y $t$ tales que la matriz $ A=\pmatrix{$val18} $ verifique $ A^2$val15$val16=0$. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,16,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank3x5x2.def0000644000175000017500000000570711156202563027450 0ustar georgeskgeorgesk!set title=Rango de una matriz 5x3 con 2 parámetros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r,c,c,r varcnt=31 prevarcnt=30 postvarcnt=0 replycnt=4 choicecnt=3 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=!randitem 1,2 val6=$[rint($(tmp0))] val7=$[rint(3)] val8=$[rint(5)] val9=$[rint(6)] val10=u val11=v val12=$[rint(2)] val13=$[rint($val6+1)] val14=$[rint($val6+1)] val15=$[rint(min($val7,$val6+2))] val16=$[rint($val6+2)] tmp0=!randint -20, 20 val17=$[rint($(tmp0))] tmp0=!randint -20, 20 val18=$[rint($(tmp0))] tmp0=!shuffle $val7 val19=$(tmp0) tmp0=!shuffle $val8 val20=$(tmp0) val21=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val22=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val21); a2=matrix($val6,$val8,x,y,$val21); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val13,$val14]+=(RANDOM(2)*2-1)*($val10-($val17)); m[$val15,$val16]+=(RANDOM(2)*2-1)*($val11-($val18)); m=vecextract(m,[$val19],[$val20]); $val22 print(m) tmp0=!exec pari $t_ val23=$(tmp0) tmp0=!randitem 1,2 val24=$[rint($(tmp0))] tmp0=!item $val24 of mínimo,máximo val25=$(tmp0) val26=igual a, distinto de val27=y val28=o val29=$val27,$val28 tmp0=!item $val24 of $val26 val30=$(tmp0) tmp0=!item $val24 of $val26 val31=$(tmp0) val32=$[rint($val6)] !ifval $val13=$val15 val33=$[rint($val6+1)] !else val33=$[rint($val6+2)] !endif val34=$val27 !ifval $val24=2 and $val33=$val6+1 val34=$val28 !endif replytype1=numeric replyname1=Minimum rank replygood1=$[$val32] replytype2=numeric replyname2=Maximum rank replygood2=$[$val33] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val17] replytype4=numeric replyname4=Value of $val11 replygood4=$[$val18] choicename1=$val10 is choicegood1=$val30 choicebad1=$val26 choicename2=$val29 choicegood2=$val34 choicebad2=$val29 choicename3=$val11 is choicegood3=$val31 choicebad3=$val26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val23] $()

Paso 1: Según el valor de los parámetros !insmath $val10 $() y !insmath $val11 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val25 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $() !read oef/embed.phtml choice 2 $() !insmath $val11 $() es !read oef/embed.phtml choice 3 $() !read oef/embed.phtml reply 4,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,23,25 embedcnt=7 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/multsize.def0000644000175000017500000000340211156202564026666 0ustar georgeskgeorgesk!set title=Orden de una matriz !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=19 prevarcnt=18 postvarcnt=0 replycnt=2 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=Oui val7=Non val8=$val6,$val7 tmp0=!randint 2, 6 val9=$[rint($(tmp0))] tmp0=!randint 2, 6 val10=$[rint($(tmp0))] tmp0=!randint 2, 6 val11=$[rint($(tmp0))] val12=$[rint($val9)] t_=!replace internal \( by ( in print(matrix($val10,$val9,x,y,random\(9)-4)) tmp0=!exec pari $t_ val13=$(tmp0) t_=!replace internal \( by ( in print(matrix($val12,$val11,x,y,random\(9)-4)) tmp0=!exec pari $t_ val14=$(tmp0) t_=!replace internal \( by ( in print([$val13]*[$val14]) tmp0=!exec pari $t_ val15=$(tmp0) tmp0=!randitem 1,2 val16=$[rint($(tmp0))] tmp0=!item $val16 of B,A val17=$(tmp0) !if $val16=1 val18=A = [$val13] val19=$[rint($val12)] val20=$[rint($val11)] !else val18=B = [$val14] val19=$[rint($val10)] val20=$[rint($val9)] !endif replyname1=Number of rows replygood1=$val19 replyname2=Number of columns replygood2=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Consideramos dos matrices !insmath A $() y !insmath B $(), con

!insmath $val18 $() , y !insmath AB = [$val15] $() .

¿Cuál es el orden de !insmath $val17 $() ?

Respuesta: !insmath $val17 $() tiene !read oef/embed.phtml reply 1,2 $() filas y !read oef/embed.phtml reply 2,2 $() columnas. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18 embedcnt=2 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/pseudoinv2x2b.def0000644000175000017500000000362711156202564027535 0ustar georgeskgeorgesk!set title=Cálculo de matriz inversa 2x2 II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=13 prevarcnt=12 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(20)] val7=$[rint($val6/2)] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -$val7, $val7 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val13=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val14=$[rint(2*$(tmp0)+1)] tmp=!trim $val11,$val12;$val13,$val14 val15=!translate internal $ \ $ to ;; in $tmp !ifval $val8=1 t_=!replace internal \( by ( in print([$val12/($val9),$val11/($val10);$val14/($val9),$val13/($val10)]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val16=!translate internal $ \ $ to ;; in $tmp !else t_=!replace internal \( by ( in print([$val13/($val10),$val14/($val10);$val11/($val9),$val12/($val9)]) tmp1=!exec pari $t_ tmp=!trim $(tmp1) val16=!translate internal $ \ $ to ;; in $tmp !endif !ifval $val8=1 val17=A*[$val15] !else val17=[$val15]*A !endif replytype1=matrix replyname1=A-1 replygood1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz $m_A, de orden 2×2, con

!insmath $val17 = [0,$val9;$val10,0] $()  .

Calcular la matriz inversa de $m_A. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,17 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank4x5x2.def0000644000175000017500000000571111156202564027445 0ustar georgeskgeorgesk!set title=Rango de una matriz 5x4 con 2 parámetros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r,c,c,r varcnt=31 prevarcnt=30 postvarcnt=0 replycnt=4 choicecnt=3 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=!randitem 1,2,3 val6=$[rint($(tmp0))] val7=$[rint(4)] val8=$[rint(5)] val9=$[rint(5)] val10=u val11=v val12=$[rint(2)] val13=$[rint($val6+1)] val14=$[rint($val6+1)] val15=$[rint(min($val7,$val6+2))] val16=$[rint($val6+2)] tmp0=!randint -20, 20 val17=$[rint($(tmp0))] tmp0=!randint -20, 20 val18=$[rint($(tmp0))] tmp0=!shuffle $val7 val19=$(tmp0) tmp0=!shuffle $val8 val20=$(tmp0) val21=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val22=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val21); a2=matrix($val6,$val8,x,y,$val21); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val13,$val14]+=(RANDOM(2)*2-1)*($val10-($val17)); m[$val15,$val16]+=(RANDOM(2)*2-1)*($val11-($val18)); m=vecextract(m,[$val19],[$val20]); $val22 print(m) tmp0=!exec pari $t_ val23=$(tmp0) tmp0=!randitem 1,2 val24=$[rint($(tmp0))] tmp0=!item $val24 of mínimo,máximo val25=$(tmp0) val26=igual a, distinto de val27=y val28=o val29=$val27,$val28 tmp0=!item $val24 of $val26 val30=$(tmp0) tmp0=!item $val24 of $val26 val31=$(tmp0) val32=$[rint($val6)] !ifval $val13=$val15 val33=$[rint($val6+1)] !else val33=$[rint($val6+2)] !endif val34=$val27 !ifval $val24=2 and $val33=$val6+1 val34=$val28 !endif replytype1=numeric replyname1=Minimum rank replygood1=$[$val32] replytype2=numeric replyname2=Maximum rank replygood2=$[$val33] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val17] replytype4=numeric replyname4=Value of $val11 replygood4=$[$val18] choicename1=$val10 is choicegood1=$val30 choicebad1=$val26 choicename2=$val29 choicegood2=$val34 choicebad2=$val29 choicename3=$val11 is choicegood3=$val31 choicebad3=$val26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val23] $()

Paso 1: Según el valor de los parámetros !insmath $val10 $() y !insmath $val11 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val25 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $() !read oef/embed.phtml choice 2 $() !insmath $val11 $() es !read oef/embed.phtml choice 3 $() !read oef/embed.phtml reply 4,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,23,25 embedcnt=7 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/pseudoinv2x2.def0000644000175000017500000000362411156202564027370 0ustar georgeskgeorgesk!set title=Cálculo de matriz inversa 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=13 prevarcnt=12 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(20)] val7=$[rint($val6/2)] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 1, 8 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -$val7, $val7 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val13=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val14=$[rint(2*$(tmp0)+1)] tmp=!trim $val11,$val12;$val13,$val14 val15=!translate internal $ \ $ to ;; in $tmp !ifval $val8=1 t_=!replace internal \( by ( in print([$val11/($val9),$val12/($val10);$val13/($val9),$val14/($val10)]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val16=!translate internal $ \ $ to ;; in $tmp !else t_=!replace internal \( by ( in print([$val11/($val9),$val12/($val9);$val13/($val10),$val14/($val10)]) tmp1=!exec pari $t_ tmp=!trim $(tmp1) val16=!translate internal $ \ $ to ;; in $tmp !endif !ifval $val8=1 val17=A*[$val15] !else val17=[$val15]*A !endif replytype1=matrix replyname1=A-1 replygood1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz $m_A, de orden 2×2, con

!insmath $val17 = [$val9,0;0,$val10] $()  .

Calcular la matriz inversa de $m_A. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,17 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/dettrace3x3.def0000644000175000017500000000301311156202565027142 0ustar georgeskgeorgesk!set title=Determinante y traza 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=13 prevarcnt=12 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=$[rint(8)] tmp0=!randint -$val6, $val6 val7=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val8=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val9=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val10=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val12=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val13=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val14=$[rint($(tmp0))] tmp0=!randint -$val6, $val6 val15=$[rint($(tmp0))] val16=$[rint(($val7)+($val11)+($val15))] val17=$[rint(($val7)*($val11)*($val15)-($val7)*($val12)*($val14) +($val8)*($val12)*($val13)-($val8)*($val10)*($val15) +($val9)*($val10)*($val14)-($val9)*($val11)*($val13))] replyname1=Traza(A) replygood1=$val16 replyname2=Det(A) replygood2=$val17 question=!nosubst Calcular el determinante y la traza de la matriz $$ A=\pmatrix{$val7&$val8&$val9\cr $val10&$val11&$val12\cr $val13&$val14&$val15}. $$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/formu3x3.def0000644000175000017500000000504211156202566026504 0ustar georgeskgeorgesk!set title=Fórmula de entrada 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr language=en ansorder=r varcnt=19 prevarcnt=18 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, 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))] val12=!rawmath $val6*i^2+$val7*i*j+$val8*j^2+$val9*i+$val10*j+$val11 evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val13=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val14=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(1) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val15=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val16=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val17=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(2) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val18=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(1) in $evaltmp tmp0=($evaltmp) val19=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(2) in $evaltmp tmp0=($evaltmp) val20=$[rint($(tmp0))] evaltmp=$val12 evaltmp=!mathsubst i=(3) in $evaltmp evaltmp=!mathsubst j=(3) in $evaltmp tmp0=($evaltmp) val21=$[rint($(tmp0))] val22=[$val13,$val14,$val15;$val16,$val17,$val18;$val19,$val20,$val21] tmp0=!htmlmath $val12 val23=$(tmp0) replytype1=matrix replyname1=C replygood1=$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea C=(cij) la matriz 3×3 cuya entrada está definida por

cij = $val23.

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=23 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/colrow2x3.def0000644000175000017500000000410311156202566026655 0ustar georgeskgeorgesk!set title=Columna y fila 2x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r varcnt=22 prevarcnt=21 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint 1, 19 tmp1=!randitem -1,1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] val11=$[rint(($val6)*($val8))] val12=$[rint(($val6)*($val9))] val13=$[rint(($val6)*($val10))] val14=$[rint(($val7)*($val8))] val15=$[rint(($val7)*($val9))] val16=$[rint(($val7)*($val10))] val17=$[rint($val11)] val18=$[rint($val15)] val11=x val15=y tmp0=!randint 1, 6 val19=$[rint($(tmp0))] tmp0=!item $val19 of $val11&$val12&$val13,$val11&$val13&$val12,$val12&$val13&$val11, $val12&$val11&$val13,$val13&$val11&$val12,$val13&$val12&$val11 val20=$(tmp0) tmp0=!item $val19 of $val14&$val15&$val16,$val14&$val16&$val15,$val15&$val16&$val14, $val15&$val14&$val16,$val16&$val14&$val15,$val16&$val15&$val14 val21=$(tmp0) tmp0=!randint 1, 2 val22=$[rint($(tmp0))] tmp0=!item $val22 of $val20,$val21 val23=$(tmp0) tmp0=!item $val22 of $val21,$val20 val24=$(tmp0) replyname1=x replygood1=$val17 replyname2=y replygood2=$val18 question=!nosubst Tenemos un producto de matrices $$\pmatrix{a\cr b}\pmatrix{s& t& u} =\pmatrix{$val23\cr $val24}. $$ ¿Calcular los valores de $x$ e $y$ ? hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :hint $()¿Hay alguna proporcionalidad entre las columnas de la matriz? $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=23,24 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank3x4x1.def0000644000175000017500000000432111156202566027440 0ustar georgeskgeorgesk!set title=Rango de una matriz 3x4 con 1 parámetro !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=3 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=!randitem 1,2 val6=$[rint($(tmp0))] val7=$[rint(3)] val8=$[rint(4)] val9=$[rint(7)] val10=t val11=$[rint(1)] tmp0=!randint -20, 20 val12=$[rint($(tmp0))] tmp0=!shuffle $val7 val13=$(tmp0) tmp0=!shuffle $val8 val14=$(tmp0) val15=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val16=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val15); a2=matrix($val6,$val8,x,y,$val15); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val6+1,$val6+1]+=(RANDOM(2)*2-1)*($val10-($val12)); m=vecextract(m,[$val13],[$val14]); $val16 print(m) tmp0=!exec pari $t_ val17=$(tmp0) tmp0=!randitem 1,2 val18=$[rint($(tmp0))] tmp0=!item $val18 of mínimo,máximo val19=$(tmp0) val20=igual a, distinto de tmp0=!item $val18 of $val20 val21=$(tmp0) val22=$[rint(0)] val23=$[rint($val6)] val24=$[rint($val6+1)] replytype1=numeric replyname1=Minimum rank replygood1=$[$val23] replytype2=numeric replyname2=Maximum rank replygood2=$[$val24] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val12] choicename1=$val10 is choicegood1=$val21 choicebad1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada:

!insmath A = [$val17] $()

Paso 1: Según el valor del parámetro !insmath $val10 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val19 rango se alcanza cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,17,19 embedcnt=4 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/givimg2x3.def0000644000175000017500000001117611156202571026636 0ustar georgeskgeorgesk!set title=Calcular elementos de una matriz 2x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=26 prevarcnt=25 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(10)] val7=$[rint($val6/2)] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] !if $val8=1 tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim $(tmp0),$(tmp1) $(tmp2),$(tmp3) $(tmp4),$(tmp5) val9=!translate internal $ \ $ to ;; in $tmp val10=3×2 !else tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val6, $val6 tmp4=!randint -$val6, $val6 tmp5=!randint -$val6, $val6 tmp=!trim $(tmp0),$(tmp1),$(tmp2) $(tmp3),$(tmp4),$(tmp5) val9=!translate internal $ \ $ to ;; in $tmp val10=2×3 !endif tmp0=!randint -$val7, $val7 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp3=!randint -$val7, $val7 tmp4=!randint -$val7, $val7 tmp5=!randint -$val6, $val6 tmp6=!randint -$val7, $val7 tmp7=!randint -$val7, $val7 tmp8=!randint -$val7, $val7 tmp=!trim 2*$(tmp0)+1,$(tmp1),$(tmp2) 2*$(tmp3),2*$(tmp4)+1,$(tmp5) 2*$(tmp6),2*$(tmp7),2*$(tmp8)+1 val11=!translate internal $ \ $ to ;; in $tmp tmp0=!shuffle 3 val12=$(tmp0) tmp0=!shuffle 3 val13=$(tmp0) t_=!replace internal \( by ( in print(vecextract([$val11],[$val12],[$val13])) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val11=!translate internal $ \ $ to ;; in $tmp !if $val8=1 t_=!replace internal \( by ( in print([$val11]*[$val9]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val14=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp=!translate internal $ $ to ; in $val11 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val11 tmp=!row 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val14 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val14 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val14 tmp=!row 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) !else t_=!replace internal \( by ( in print([$val9]*[$val11]) tmp0=!exec pari $t_ tmp=!trim $(tmp0) val14=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val16=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val17=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val14 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val18=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val14 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val19=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val14 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!items2lines $(tmp0) tmp=!trim $(tmp1) val20=!translate internal $ \ $ to ;; in $tmp !endif replytype1=matrix replyname1=A replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos una matriz !insmath A $(), $val10 tal que

!if $val8=1 $() !insmath [$val15]*A = [$val18] $() ,
!insmath [$val16]*A = [$val19] $() ,
!insmath [$val17]*A = [$val20] $() . !else $() !insmath A*[$val15] = [$val18] $() , !insmath A*[$val16] = [$val19] $() , !insmath A*[$val17] = [$val20] $() . !endif $()

Calcular !insmath A $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,15,16,17,18,19,20 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/rankmult.def0000644000175000017500000000243311156202571026650 0ustar georgeskgeorgesk!set title=Rango y multiplicación !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=c,r,c varcnt=4 prevarcnt=3 postvarcnt=0 replycnt=1 choicecnt=2 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 3, 7 val6=$[rint($(tmp0))] tmp0=!randint $val6+1, 15 val7=$[rint($(tmp0))] tmp0=!randint $val6+2, 15 val8=$[rint($(tmp0))] replyname1=Donde c replygood1=$val6 choicename1=La condición es choicegood1=n mayor o igual que c choicebad1=n menor o igual que c choicename2=Esta condición es choicegood2=necesaria y suficiente choicebad2=necesaria pero no suficiente, suficiente pero no necesaria question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea C una matriz de tamaño $val7×$val8, y rango $val6. ¿Cuál es la condición que debe cumplir n, como orden, para que exista una matriz A de tamaño $val7×n y una matriz B de tamaño n×$val8, tal que C=AB ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/parmrank3x4x2.def0000644000175000017500000000570711156202571027446 0ustar georgeskgeorgesk!set title=Rango de una matriz 3x4 con 2 parámetros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r,r,c,r,c,c,r varcnt=31 prevarcnt=30 postvarcnt=0 replycnt=4 choicecnt=3 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=!randitem 1,2 val6=$[rint($(tmp0))] val7=$[rint(3)] val8=$[rint(4)] val9=$[rint(7)] val10=u val11=v val12=$[rint(2)] val13=$[rint($val6+1)] val14=$[rint($val6+1)] val15=$[rint(min($val7,$val6+2))] val16=$[rint($val6+2)] tmp0=!randint -20, 20 val17=$[rint($(tmp0))] tmp0=!randint -20, 20 val18=$[rint($(tmp0))] tmp0=!shuffle $val7 val19=$(tmp0) tmp0=!shuffle $val8 val20=$(tmp0) val21=((RANDOM($val9)+1)*(RANDOM(2)*2-1)) tmp0=!randitem 0,1 !ifval $(tmp0)=1 val22=m=mattranspose(m); !endif t_=!replace internal \( by ( in a1=matrix($val7,$val6,x,y,$val21); a2=matrix($val6,$val8,x,y,$val21); if($val6>1, for(i=1,$val6-1,for(j=1,$val6-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[$val13,$val14]+=(RANDOM(2)*2-1)*($val10-($val17)); m[$val15,$val16]+=(RANDOM(2)*2-1)*($val11-($val18)); m=vecextract(m,[$val19],[$val20]); $val22 print(m) tmp0=!exec pari $t_ val23=$(tmp0) tmp0=!randitem 1,2 val24=$[rint($(tmp0))] tmp0=!item $val24 of mínimo,máximo val25=$(tmp0) val26=igual a, distinto de val27=y val28=o val29=$val27,$val28 tmp0=!item $val24 of $val26 val30=$(tmp0) tmp0=!item $val24 of $val26 val31=$(tmp0) val32=$[rint($val6)] !ifval $val13=$val15 val33=$[rint($val6+1)] !else val33=$[rint($val6+2)] !endif val34=$val27 !ifval $val24=2 and $val33=$val6+1 val34=$val28 !endif replytype1=numeric replyname1=Minimum rank replygood1=$[$val32] replytype2=numeric replyname2=Maximum rank replygood2=$[$val33] replytype3=numeric replyname3=Value of $val10 replygood3=$[$val17] replytype4=numeric replyname4=Value of $val11 replygood4=$[$val18] choicename1=$val10 is choicegood1=$val30 choicebad1=$val26 choicename2=$val29 choicegood2=$val34 choicebad2=$val29 choicename3=$val11 is choicegood3=$val31 choicebad3=$val26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Considerar la siguiente matriz parametrizada.

!insmath A = [$val23] $()

Paso 1: Según el valor de los parámetros !insmath $val10 $() y !insmath $val11 $(), el rango de $m_A es al menos !read oef/embed.phtml reply 1,3 $() y a lo sumo !read oef/embed.phtml reply 2,3 $().

Paso 2: El $val25 rango es alcanzado cuando !insmath $val10 $() es !read oef/embed.phtml choice 1 $() !read oef/embed.phtml reply 3,4 $() !read oef/embed.phtml choice 2 $() !insmath $val11 $() es !read oef/embed.phtml choice 3 $() !read oef/embed.phtml reply 4,4 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,23,25 embedcnt=7 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/diagmult2x2.def0000644000175000017500000000377211156202574027167 0ustar georgeskgeorgesk!set title=Multiplicación con matriz diagonal 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=c varcnt=18 prevarcnt=17 postvarcnt=0 replycnt=0 choicecnt=1 conditioncnt=0 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint -9, 9 val6=$[rint($(tmp0))] tmp0=!randint -9, 9 val7=$[rint($(tmp0))] tmp0=!randint -9, 9 val8=$[rint($(tmp0))] tmp0=!randint -9, 9 val9=$[rint($(tmp0))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 19 tmp1=!randitem -1,1 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 1,2 val12=$[rint($(tmp0))] tmp0=!randitem 1,2 val13=$[rint($(tmp0))] tmp0=!randitem 1,2 val14=$[rint($(tmp0))] tmp0=!randitem -2*($val10),-($val10),$val10,2*($val10) val15=$[rint($(tmp0))] tmp0=!randitem -2*($val11),-($val11),$val11,2*($val11) val16=$[rint($(tmp0))] !ifval $val13=2 and $val14=1 val17=$[rint($val10*($val6)+($val15))] !else val17=$[rint($val10*($val6))] !endif !ifval $val13=2 and $val14=2 val18=$[rint($val11*($val9)+($val16))] !else val18=$[rint($val11*($val9))] !endif !ifval $val12=1 val19=$[rint($val10*($val7))] !else val19=$[rint($val11*($val7))] !endif !ifval $val12=1 val20=$[rint($val11*($val8))] !else val20=$[rint($val10*($val8))] !endif !ifval $val12=1 val21=D\pmatrix{$val6&$val7\cr $val8&$val9} !else val21= \pmatrix{$val6&$val7\cr $val8&$val9}D !endif !ifval $val13=1 val22=Sí !else val22=No !endif choicename1=La respuesta choicegood1=$val22 choicebad1=Sí,No question=!nosubst ¿Existe una matriz diagonal $D$ tal que $$$val21=\pmatrix{$val17&$val19\cr $val20&$val18}?$$ !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,19,20,21 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/minrankA2.def0000644000175000017500000000164711156202574026646 0ustar georgeskgeorgesk!set title=Mínimo rango posible de A² !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=5 prevarcnt=4 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 12, 20 val6=$[rint($(tmp0))] tmp0=!randint 2, $val6/2-1 val7=$[rint($(tmp0))] val8=$[rint($val6-$val7)] val9=$[rint($val6-$val7*2)] replyname1=min(rango) replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea A una matriz $val6×$val6, de rango $val8. ¿Cuál es el mínimo rango de la matriz A2 ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/uniminv3x3.def0000644000175000017500000000311611156202574027040 0ustar georgeskgeorgesk!set title=Cálculo de la matriz inversa de una 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r varcnt=7 prevarcnt=6 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(4)] tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp=!trim 1,$(tmp0),$(tmp1) 0,1,$(tmp2) 0,0,1 val7=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp=!trim 1,0,0 $(tmp0),1,0 $(tmp1),$(tmp2),1 val8=!translate internal $ \ $ to ;; in $tmp tmp0=!randint -$val6, $val6 tmp1=!randint -$val6, $val6 tmp2=!randint -$val6, $val6 tmp=!trim 1,$(tmp0),$(tmp1) 0,1,$(tmp2) 0,0,1 val9=!translate internal $ \ $ to ;; in $tmp t_=!replace internal \( by ( in print([$val7]*[$val8]*[$val9]) tmp0=!exec pari $t_ val10=$(tmp0) t_=!replace internal \( by ( in print([$val10]^-1) tmp0=!exec pari $t_ val11=$(tmp0) replytype1=matrix replyname1=A-1 replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular la inversa de la matriz

!insmath A = [$val10] $()  .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/quad2x2.def0000644000175000017500000000332211156202575026303 0ustar georgeskgeorgesk!set title=Solución cuadrática 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr leftrange=-5.000000 rightrange=5.000000 precision=10000 ansorder=r,r,r,r varcnt=8 prevarcnt=7 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=2 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif val6=A val7=I tmp0=!randint 2, 8 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 8 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 8 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] !ifval $val9>0 val11=+$val9 !else val11=$val9 !endif !ifval $val10>0 val12=+$val10 !else val12=$val10 !endif replyname1=a replygood1=?analyze 13 replyname2=b replygood2=?analyze 14 replyname3=c replygood3=?analyze 15 replyname4=d replygood4=?analyze 16 question=!nosubst Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ que verifique la ecuación $$val6^2$val11$val6$val12$val7=0$, con $a, b, c, d$ no nulas. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !ifval $val13+($val16)=-($val9) and ($val13)*($val16)-($val14)*($val15)=$val10 condtest1=1 !else condtest1=0 !endif condname1=A con esos valores verifica la ecuación !ifval $val13*($val14)*($val15)*($val16)!=0 and floor($val13)=$val13 and floor($val14)=$val14 and floor($val15)=$val15 and floor($val16)=$val16 condtest2=1 !else condtest2=0 !endif condname2=a,b,c,d son enteros no nulos !exit :stat vsavelist=6,7,9,10,11,12,13,14,15,16 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/def/Exemplematrice.def0000644000175000017500000000260111156202575027760 0ustar georgeskgeorgesk!set title=Ejemplo matriz 2x2 !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,r,r,r varcnt=3 prevarcnt=2 postvarcnt=0 replycnt=4 choicecnt=0 conditioncnt=3 feedbackcnt=0 format=tex val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randint -20, 20 val6=$[rint($(tmp0))] tmp0=!randint -20, 20 val7=$[rint($(tmp0))] replyname1=a replygood1=?analyze 8 replyname2=b replygood2=?analyze 9 replyname3=c replygood3=?analyze 10 replyname4=d replygood4=?analyze 11 question=!nosubst Hallar una matriz $A=\pmatrix{a&b\cr c&d}$ tal que trace$(A)=$val6$ y $\det(A)=$val7$, con todos los elementos $a,b,c,d$ distintos de cero. !goto stat !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !ifval abs(($val8)*($val9)*($val10)*($val11))>0.01 condtest1=1 !else condtest1=0 !endif condname1=elements non-zero !ifval $val8+$val11=$val6 condtest2=1 !else condtest2=0 !endif condname2=Trace=$val6 !ifval ($val8)*($val11)-($val9)*($val10)=$val7 condtest3=1 !else condtest3=0 !endif condname3=Determinant=$val7 !exit :stat vsavelist=6,7,8,9,10,11 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/content.html0000644000175000017500000002243211156202577026144 0ustar georgeskgeorgesk


Ejemplo matriz 2x2


Columna y fila 2x3


Columna y fila 3x3 I


Columna y fila 3x3 II


Determinante y rango

Sean y dos matrices $val8×$val8, tales que $val34 y $val35. Entonces

$val36 .

(Debes colocar la mejor respuesta.)


Determinante y traza 2x2


Determinante y traza 3x3


Multiplicación con matriz diagonal 2x2


División por la izquierda 2x2


División por la derecha 2x2


Ecuación 2x2

Supongamos que la matriz satisface la ecuación . Determina la matriz inversa en función de a,b,c,d.

Más exactamente, cada coeficiente de debe ser un polinomio de grado 1 en a,b,c,d.


Fórmula de entrada 2x2

Sea C=(cij) la matriz 2×2 cuya entrada está definida por

cij = $val18.


Fórmula de entrada 3x3

Sea C=(cij) la matriz 3×3 cuya entrada está definida por

cij = $val23.


Fórmula de entrada 3x3 II

Sea

C = (ci,j) = ( $val10$val11$val12 )
$val13$val14$val15
$val16$val17$val18

una matriz 3×3 cuya entrada ci,j está definida por una fórmula lineal ci,j=f(i,j)=ai+bj+c.

Determina la función f(i,j).


Calcular elementos de una matriz 2x2

Tenemos una matriz , 2×2 tal que

,
. , .

Calcular .


Calcular elementos de una matriz 2x3

Tenemos una matriz , $val10 tal que

,
,
. , , .

Calcular .


Calcular elementos de una matriz 3x2

Tenemos una matriz , $val10 tal que

,
. , .

Calcular .


Calcular elementos de una matriz 3x3

Tenemos una matriz , 3×3 tal que

,
,
. , , .

Calcular .


Potencias de una matriz 3x3

Tenemos una matriz , con

, .

¿Quién es ?


Productos entre matrices potencias 3x3

Tenemos dos matrices y , con

, .

¿Quiénes son y ?


Operaciones con matrices

Consideremos dos matrices

.

¿Podemos hacer ?
¿Podemos hacer ?
¿Podemos hacer ?
¿Podemos hacer ?
¿Podemos hacer ?


Mínimo rango posible de A²

Sea A una matriz $val6×$val6, de rango $val8. ¿Cuál es el mínimo rango de la matriz A2 ?

Cómo multiplicar tres matrices

Tenemos 3 matrices, , , , cuyas dimensiones son las siguientes.

Matrix$m_A$m_B$m_C
Dimension$val14×$val15 $val16×$val17 $val18×$val19
Rows$val14 $val16 $val18
Columns$val15 $val17 $val19

Se pide el orden en que se deben multiplicar las matrices para que sea posible obtener el producto de las tres.

En ese caso, ¿cuál es la dimensión de la matriz producto? × filas y columnas.


Producto de dos matrices 2x2


Cálculo de cij en la matriz producto 3x3

Tenemos el siguiente producto de matrices $val6×$val6, donde el signo de interrogación representa los elementos desconocidos.

Paso 1. Solo hay un elemento determinable en la matriz producto. Es .
(Por ejemplo, c11 para .) Paso 2. El elemento determinable es = .


Cálculo de cij de la matriz producto 4x4

Tenemos el siguiente producto de matrices $val6×$val6 donde el signo de interrogación representa los elementos desconocidos.

Paso 1. Solo hay un elemento determinable en la matriz producto. Es .
(Por ejemplo, c11 para .) Paso 2. El elemento determinable es = .


Cálculo de cij de la matriz producto 5x5

Tenemos el siguiente producto de matrices $val6×$val6 donde el signo de interrogación representa los elementos desconocidos.

Paso 1. Solo hay un elemento determinable en la matriz producto. Es .
(Por ejemplo, c11 para .) Paso 2. El elemento determinable es = .


Orden de una matriz

Consideramos dos matrices y , con

, y .

¿Cuál es el orden de ?

Respuesta: tiene filas y columnas.


Matriz 2x2 con parámetros


Matriz 3x3 con parámetros

Encontrar el valor de los parámetros y tales que la matriz
verifique det y traza .

Rango de una matriz 3x4 con 1 parámetro

Considerar la siguiente matriz parametrizada:

Paso 1: Según el valor del parámetro , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val19 rango se alcanza cuando es .


Rango de una matriz 3x4 con 2 parámetros

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor de los parámetros y , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val25 rango es alcanzado cuando es es .


Rango de una matriz 4x3 con 1 parámetro

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor del parámetro , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val19 rango es alcanzado cuando es .


Rango de una matriz 5x3 con 2 parámetros

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor de los parámetros y , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val25 rango es alcanzado cuando es es .


Rango de una matriz 4x5 con 1 parámetro

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor del parámetro , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val19 rango es alcanzado cuando es .


Rango de una matriz 5x4 con 2 parámetros

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor de los parámetros y , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val25 rango es alcanzado cuando es es .


Rango de una matriz 6x4 con 1 parámetro

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor del parámetro ($val10), el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val19 rango es alcanzado cuando es .


Rango de una matriz 4x6 con 2 parámetros

Considerar la siguiente matriz parametrizada.

Paso 1: Según el valor de los parámetros y , el rango de $m_A es al menos y a lo sumo .

Paso 2: El $val25 rango es alcanzado cuando es es .


Cálculo de matriz inversa 2x2

Tenemos una matriz $m_A, de orden 2×2, con

  .

Calcular la matriz inversa de $m_A.


Cálculo de matriz inversa 2x2 II

Tenemos una matriz $m_A, de orden 2×2, con

  .

Calcular la matriz inversa de $m_A.


Cálculo de matriz inversa 3x3

Tenemos una matriz $m_A, de orden 3×3, con

  .

Calcular la matriz inversa de $m_A.


Solución cuadrática 2x2


Rango y multiplicación

Sea C una matriz de tamaño $val7×$val8, y rango $val6. ¿Cuál es la condición que debe cumplir n, como orden, para que exista una matriz A de tamaño $val7×n y una matriz B de tamaño n×$val8, tal que C=AB ?

Raíz cuadrada de una matriz 2x2


Simetría del plano

¿Cuál es la transformación natural del plano dada por la matriz  ?

Simetría del plano II

Entre las siguientes matrices, cuál corresponde a la reflexión con respecto a la recta y=x del plano?


Traza de la matriz A²


Cálculo de la matriz inversa de una 3x3

Calcular la inversa de la matriz

  .


Cálculo de la matriz inversa de una 4x4

Calcular la inversa de la matriz

  .

wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/0000755000175000017500000000000011156202627024364 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/multsize.oef0000644000175000017500000000152511156202600026725 0ustar georgeskgeorgesk\title {Orden de una matriz} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Oui} \text{no=Non} \text{bad=\yes,\no} \integer{c1=random(2..6)} \integer{r1=random(2..6)} \integer{c2=random(2..6)} \integer{r2=\c1} \text{A=pari(print(matrix(\r1,\c1,x,y,random\(9)-4)))} \text{B=pari(print(matrix(\r2,\c2,x,y,random\(9)-4)))} \text{C=pari(print([\A]*[\B]))} \integer{o=random(1,2)} \text{ask=item(\o,B,A)} \if{\o=1}{ \text{show=A = [\A]} \integer{rrow=\r2} \integer{rcol=\c2} }{ \text{show=B = [\B]} \integer{rrow=\r1} \integer{rcol=\c1} } \statement{Consideramos dos matrices \(A) y \(B), con

\(\show) , y \(AB = [\C]) .

¿Cuál es el orden de \(\ask) ?

Respuesta: \(\ask) tiene \embed{reply 1,2} filas y \embed{reply 2,2} columnas. } \answer{Number of rows}{\rrow} \answer{Number of columns}{\rcol} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank3x5x1.oef0000644000175000017500000000251611156202600027476 0ustar georgeskgeorgesk\title {Rango de una matriz 4x3 con 1 parámetro} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=4} \integer{range=7} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor del parámetro \(\p1), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank3x4x1.oef0000644000175000017500000000251411156202601027474 0ustar georgeskgeorgesk\title {Rango de una matriz 3x4 con 1 parámetro} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=4} \integer{range=7} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Considerar la siguiente matriz parametrizada:

\( A = [\m] \)

Paso 1: Según el valor del parámetro \(\p1), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango se alcanza cuando \(\p1) es \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank4x5x2.oef0000644000175000017500000000350411156202601027477 0ustar georgeskgeorgesk\title {Rango de una matriz 5x4 con 2 parámetros} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2,3)} \integer{rows=4} \integer{cols=5} \integer{range=5} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{and=y} \text{or=o} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor de los parámetros \(\p1) y \(\p2), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) es \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/formu2x2.oef0000644000175000017500000000143211156202602026534 0ustar georgeskgeorgesk\title {Fórmula de entrada 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \language{en} \format {html} \integer{a1=random(2..10)*random(-1,1)} \integer{a2=random(2..10)*random(-1,1)} \integer{a3=random(2..10)*random(-1,1)} \integer{a4=random(2..10)*random(-1,1)} \integer{a5=random(2..10)*random(-1,1)} \integer{a6=random(2..10)*random(-1,1)} \function{formula=\a1*i^2+\a2*i*j+\a3*j^2+\a4*i+\a5*j+\a6} \integer{c11=evalue(\formula,i=1,j=1)} \integer{c12=evalue(\formula,i=1,j=2)} \integer{c21=evalue(\formula,i=2,j=1)} \integer{c22=evalue(\formula,i=2,j=2)} \text{mat=[\c11,\c12;\c21,\c22]} \text{ff=htmlmath(\formula)} \statement{Sea C=(cij) la matriz 2×2 cuya entrada está definida por

cij = \ff.

} \answer {C} {\mat} {type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/diagmult2x2.oef0000644000175000017500000000177611156202602027225 0ustar georgeskgeorgesk\title {Multiplicación con matriz diagonal 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a11=random(-9..9)} \integer{a12=random(-9..9)} \integer{a21=random(-9..9)} \integer{a22=random(-9..9)} \integer{c1=random(1..19)*random(-1,1)} \integer{c2=random(1..19)*random(-1,1)} \integer{side=random(1,2)} # left, right \integer{anstype=random(1,2)} \integer{ele=random(1,2)} \integer{add1=random(-2*(\c1),-(\c1),\c1,2*(\c1))} \integer{add2=random(-2*(\c2),-(\c2),\c2,2*(\c2))} \integer{b11=\anstype=2 and \ele=1?\c1*(\a11)+(\add1):\c1*(\a11)} \integer{b22=\anstype=2 and \ele=2?\c2*(\a22)+(\add2):\c2*(\a22)} \integer{b12=\side=1?\c1*(\a12):\c2*(\a12)} \integer{b21=\side=1?\c2*(\a21):\c1*(\a21)} \text{mult=\side=1?D\pmatrix{\a11&\a12\cr \a21&\a22}: \pmatrix{\a11&\a12\cr \a21&\a22}D} \text{good=\anstype=1?Sí:No} \statement{¿Existe una matriz diagonal $D$ tal que $$\mult=\pmatrix{\b11&\b12\cr \b21&\b22}?$$} \choice{La respuesta}{\good}{Sí,No} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/colrow2x3.oef0000644000175000017500000000216511156202602026716 0ustar georgeskgeorgesk\title {Columna y fila 2x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a1=random(1..19)*random(-1,1)} \integer{a2=random(1..19)*random(-1,1)} \integer{b1=random(1..19)*random(-1,1)} \integer{b2=random(1..19)*random(-1,1)} \integer{b3=random(1..19)*random(-1,1)} \integer{c11=(\a1)*(\b1)} \integer{c12=(\a1)*(\b2)} \integer{c13=(\a1)*(\b3)} \integer{c21=(\a2)*(\b1)} \integer{c22=(\a2)*(\b2)} \integer{c23=(\a2)*(\b3)} \integer{x=\c11} \integer{y=\c22} \text{c11=x} \text{c22=y} \integer{ch1=random(1..6)} \text{r1=item(\ch1,\c11&\c12&\c13,\c11&\c13&\c12,\c12&\c13&\c11, \c12&\c11&\c13,\c13&\c11&\c12,\c13&\c12&\c11)} \text{r2=item(\ch1,\c21&\c22&\c23,\c21&\c23&\c22,\c22&\c23&\c21, \c22&\c21&\c23,\c23&\c21&\c22,\c23&\c22&\c21)} \integer{ch2=random(1..2)} \text{R1=item(\ch2,\r1,\r2)} \text{R2=item(\ch2,\r2,\r1)} \statement{Tenemos un producto de matrices $$\pmatrix{a\cr b}\pmatrix{s& t& u} =\pmatrix{\R1\cr \R2}. $$ ¿Calcular los valores de $x$ e $y$ ? } \answer{x}{\x} \answer{y}{\y} \hint{¿Hay alguna proporcionalidad entre las columnas de la matriz?} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/pseudoinv2x2b.oef0000644000175000017500000000154411156202603027567 0ustar georgeskgeorgesk\title {Cálculo de matriz inversa 2x2 II} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=20} \integer{half=\range/2} \integer{side=random(1,2)} \integer{d1=random(-1,1)*random(1..8)} \integer{d2=random(-1,1)*random(1..8)} \integer{a11=2*randint(-\half..\half)+1} \integer{a12=randint(-\range..\range)} \integer{a21=2*randint(-\half..\half)} \integer{a22=2*randint(-\half..\half)+1} \matrix{B=\a11,\a12;\a21,\a22} \matrix{inv=\side=1?pari(print([\a12/(\d1),\a11/(\d2);\a22/(\d1),\a21/(\d2)])): pari(print([\a21/(\d2),\a22/(\d2);\a11/(\d1),\a12/(\d1)]))} \text{mult=\side=1?A*[\B]:[\B]*A} \statement{Tenemos una matriz \A, de orden 2×2, con

\(\mult = [0,\d1;\d2,0] )  .

Calcular la matriz inversa de \A. } \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/.htaccess0000644000175000017500000000001611156202603026151 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/pseudoinv3x3.oef0000644000175000017500000000234211156202603027424 0ustar georgeskgeorgesk\title {Cálculo de matriz inversa 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \integer{side=random(1,2)} \integer{d1=random(-1,1)*random(1..8)} \integer{d2=random(-1,1)*random(1..8)} \integer{d3=random(-1,1)*random(1..8)} \integer{a11=2*randint(-\half..\half)+1} \integer{a12=randint(-\range..\range)} \integer{a13=randint(-\range..\range)} \integer{a21=2*randint(-\half..\half)} \integer{a22=2*randint(-\half..\half)+1} \integer{a23=randint(-\range..\range)} \integer{a31=2*randint(-\half..\half)} \integer{a32=2*randint(-\half..\half)} \integer{a33=2*randint(-\half..\half)+1} \matrix{B=\a11,\a12,\a13;\a21,\a22,\a23;\a31,\a32,\a33} \matrix{inv=\side=1? pari(print([\a11/(\d1),\a12/(\d2),\a13/(\d3);\a21/(\d1),\a22/(\d2),\a23/(\d3);\a31/(\d1),\a32/(\d2),\a33/(\d3)])): pari(print([\a11/(\d1),\a12/(\d1),\a13/(\d1);\a21/(\d2),\a22/(\d2),\a23/(\d2);\a31/(\d3),\a32/(\d3),\a33/(\d3)]))} \text{mult=\side=1?A*[\B]:[\B]*A} \statement{Tenemos una matriz \A, de orden 3×3, con

\(\mult = [\d1,0,0;0,\d2,0;0,0,\d3] )  .

Calcular la matriz inversa de \A. } \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/formu3x3.oef0000644000175000017500000000176611156202604026552 0ustar georgeskgeorgesk\title {Fórmula de entrada 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \language{en} \format {html} \integer{a1=random(2..10)*random(-1,1)} \integer{a2=random(2..10)*random(-1,1)} \integer{a3=random(2..10)*random(-1,1)} \integer{a4=random(2..10)*random(-1,1)} \integer{a5=random(2..10)*random(-1,1)} \integer{a6=random(2..10)*random(-1,1)} \function{formula=\a1*i^2+\a2*i*j+\a3*j^2+\a4*i+\a5*j+\a6} \integer{c11=evalue(\formula,i=1,j=1)} \integer{c12=evalue(\formula,i=1,j=2)} \integer{c13=evalue(\formula,i=1,j=3)} \integer{c21=evalue(\formula,i=2,j=1)} \integer{c22=evalue(\formula,i=2,j=2)} \integer{c23=evalue(\formula,i=2,j=3)} \integer{c31=evalue(\formula,i=3,j=1)} \integer{c32=evalue(\formula,i=3,j=2)} \integer{c33=evalue(\formula,i=3,j=3)} \text{mat=[\c11,\c12,\c13;\c21,\c22,\c23;\c31,\c32,\c33]} \text{ff=htmlmath(\formula)} \statement{Sea C=(cij) la matriz 3×3 cuya entrada está definida por

cij = \ff.

} \answer {C} {\mat} {type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/matop.oef0000644000175000017500000000202511156202604026171 0ustar georgeskgeorgesk\title {Operaciones con matrices} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{yes=Sí} \text{no=No} \text{bad=\yes,\no} \integer{c1=random(3,4)} \integer{r1=random(3,4)} \integer{c2=random(3,4)} \integer{r2=random(3,4)} \text{A=pari(print(matrix(\r1,\c1,x,y,random\(19)-10)))} \text{B=pari(print(matrix(\r2,\c2,x,y,random\(19)-10)))} \text{good1=\c1=\r2?\yes:\no} \text{good2=\c2=\r1?\yes:\no} \text{good3=\c1=\c2 and \r1=\r2?\yes:\no} \text{good4=\c1=\r1?\yes:\no} \text{good5=\c2=\r2?\yes:\no} \statement{Consideremos dos matrices

\(A = [\A] , B = [\B]) .

¿Podemos hacer \(AB)? \embed{choice 1}
¿Podemos hacer \(BA)? \embed{choice 2}
¿Podemos hacer \(A+B)? \embed{choice 3}
¿Podemos hacer \(A^2)? \embed{choice 4}
¿Podemos hacer \(B^2)? \embed{choice 5}
} \choice{AB}{\good1}{\bad} \choice{BA}{\good2}{\bad} \choice{A+B}{\good3}{\bad} \choice{A2}{\good4}{\bad} \choice{B2}{\good5}{\bad} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/minrankA2.oef0000644000175000017500000000056611156202604026703 0ustar georgeskgeorgesk\title {Mínimo rango posible de A²} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{dimA=random(12..20)} \integer{kern=random(2..\dimA/2-1)} \integer{rank=\dimA-\kern} \integer{rank2=\dimA-\kern*2} \statement{Sea A una matriz \dimA×\dimA, de rango \rank. ¿Cuál es el mínimo rango de la matriz A2 ?} \answer {min(rango)} {\rank2} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/givimg3x2.oef0000644000175000017500000000262011156202605026672 0ustar georgeskgeorgesk\title {Calcular elementos de una matriz 3x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \integer{type=random(1,2)} \if{\type=2}{ \matrix{A= randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) } \text{sizea=3×2} }{ \matrix{A= randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) } \text{sizea=2×3} } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(2)} \text{shuf2=shuffle(2)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} } \statement{Tenemos una matriz \(A), \sizea tal que

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) . }

Calcular \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/uniminv3x3.oef0000644000175000017500000000125711156202605027103 0ustar georgeskgeorgesk\title {Cálculo de la matriz inversa de una 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=4} \matrix{A1=1,randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range) 0,0,1} \matrix{A2=1,0,0 randint(-\range..\range),1,0 randint(-\range..\range),randint(-\range..\range),1} \matrix{A3=1,randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range) 0,0,1} \text{A=pari(print([\A1]*[\A2]*[\A3]))} \text{inv=pari(print([\A]^-1))} \statement{Calcular la inversa de la matriz

\(A = [\A] )  .

} \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/dettrace2x2.oef0000644000175000017500000000076011156202606027206 0ustar georgeskgeorgesk\title {Determinante y traza 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{a11=random(-\range..\range)} \integer{a12=random(-\range..\range)} \integer{a21=random(-\range..\range)} \integer{a22=random(-\range..\range)} \integer{trace=(\a11)+(\a22)} \integer{deter=(\a11)*(\a22)-(\a12)*(\a21)} \statement{Calcula el determinante y la traza de la matriz $$ A=\pmatrix{\a11&\a12\cr \a21&\a22}. $$} \answer {Traza(A)}{\trace} \answer {Det(A)} {\deter} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/multpart3x3.oef0000644000175000017500000000260011156202610027253 0ustar georgeskgeorgesk\title {Cálculo de cij en la matriz producto 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=3} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

\if{\step=1}{ Paso 1. Solo hay un elemento determinable en la matriz producto. Es \embed{reply 1,4}.
(Por ejemplo, c11 para \(c11).) }{ Paso 2. El elemento determinable es \(c\i\j) = \embed{reply 2,6}. }} \answer{El elemento determinable es}{\good}{type=atext} \answer{c\i\j}{\c}{type=number} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/givimg3x3.oef0000644000175000017500000000305411156202610026671 0ustar georgeskgeorgesk\title {Calcular elementos de una matriz 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \matrix{A= randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \integer{type=random(1,2)} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{B3=row(3,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} \text{C3=row(3,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{B3=wims(items2lines column(3,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} \matrix{C3=wims(items2lines column(3,\C))} } \statement{Tenemos una matriz \(A), 3×3 tal que

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) ,
\([\B3]*A = [\C3]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) , \(A*[\B3] = [\C3]) . }

Calcular \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/divmatl2x2.oef0000644000175000017500000000162311156202610027045 0ustar georgeskgeorgesk\title {División por la izquierda 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{sign1=random(1,-1)} \integer{sign2=random(1,-1)} \integer{a0=random(0..\range)} \integer{b0=random(1..\range)} \integer{c0=random(1..\range)} \integer{d0=random(0..\range)} \integer{a1=\a0*(\sign1)} \integer{b1=\b0*(\sign1)} \integer{c1=-(\c0)*(\sign2)} \integer{d1=\d0*(\sign2)} \integer{a2=random(-\range..\range)} \integer{b2=random(-\range..\range)} \integer{c2=random(-\range..\range)} \integer{d2=random(-\range..\range)} \integer{a3=(\a1)*(\a2)+(\b1)*(\c2)} \integer{b3=(\a1)*(\b2)+(\b1)*(\d2)} \integer{c3=(\c1)*(\a2)+(\d1)*(\c2)} \integer{d3=(\c1)*(\b2)+(\d1)*(\d2)} \statement{Determina la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{\a1&\b1\cr\c1&\d1} \pmatrix{a&b\cr c&d} = \pmatrix{\a3&\b3\cr\c3&\d3} .$$} \answer{a=\a2} \answer{b=\b2} \answer{c=\c2} \answer{d=\d2} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/multmat2x2.oef0000644000175000017500000000137511156202611027075 0ustar georgeskgeorgesk\title {Producto de dos matrices 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{a1=random(-\range..\range)} \integer{b1=random(-\range..\range)} \integer{c1=random(-\range..\range)} \integer{d1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=random(-\range..\range)} \integer{c2=random(-\range..\range)} \integer{d2=random(-\range..\range)} \integer{a3=(\a1)*(\a2)+(\b1)*(\c2)} \integer{b3=(\a1)*(\b2)+(\b1)*(\d2)} \integer{c3=(\c1)*(\a2)+(\d1)*(\c2)} \integer{d3=(\c1)*(\b2)+(\d1)*(\d2)} \statement{Resolver el producto de matrices: $$ \pmatrix{\a1&\b1\cr\c1&\d1\cr} \pmatrix{\a2&\b2\cr\c2&\d2\cr} = \pmatrix{a&b\cr c&d\cr} .$$} \answer{a=\a3} \answer{b=\b3} \answer{c=\c3} \answer{d=\d3} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/divmatr2x2.oef0000644000175000017500000000162111156202611027052 0ustar georgeskgeorgesk\title {División por la derecha 2x2} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=20} \integer{sign1=random(1,-1)} \integer{sign2=random(1,-1)} \integer{a0=random(0..\range)} \integer{b0=random(1..\range)} \integer{c0=random(1..\range)} \integer{d0=random(0..\range)} \integer{a2=\a0*(\sign1)} \integer{b2=\b0*(\sign1)} \integer{c2=-(\c0)*(\sign2)} \integer{d2=\d0*(\sign2)} \integer{a1=random(-\range..\range)} \integer{b1=random(-\range..\range)} \integer{c1=random(-\range..\range)} \integer{d1=random(-\range..\range)} \integer{a3=(\a1)*(\a2)+(\b1)*(\c2)} \integer{b3=(\a1)*(\b2)+(\b1)*(\d2)} \integer{c3=(\c1)*(\a2)+(\d1)*(\c2)} \integer{d3=(\c1)*(\b2)+(\d1)*(\d2)} \statement{Determina la matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ \pmatrix{a&b\cr c&d} \pmatrix{\a2&\b2\cr\c2&\d2} = \pmatrix{\a3&\b3\cr\c3&\d3} .$$} \answer{a=\a1} \answer{b=\b1} \answer{c=\c1} \answer{d=\d1} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/pseudoinv2x2.oef0000644000175000017500000000154111156202612027422 0ustar georgeskgeorgesk\title {Cálculo de matriz inversa 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=20} \integer{half=\range/2} \integer{side=random(1,2)} \integer{d1=random(-1,1)*random(1..8)} \integer{d2=random(-1,1)*random(1..8)} \integer{a11=2*randint(-\half..\half)+1} \integer{a12=randint(-\range..\range)} \integer{a21=2*randint(-\half..\half)} \integer{a22=2*randint(-\half..\half)+1} \matrix{B=\a11,\a12;\a21,\a22} \matrix{inv=\side=1?pari(print([\a11/(\d1),\a12/(\d2);\a21/(\d1),\a22/(\d2)])): pari(print([\a11/(\d1),\a12/(\d1);\a21/(\d2),\a22/(\d2)]))} \text{mult=\side=1?A*[\B]:[\B]*A} \statement{Tenemos una matriz \A, de orden 2×2, con

\(\mult = [\d1,0;0,\d2] )  .

Calcular la matriz inversa de \A. } \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/givpower3x3.oef0000644000175000017500000000160211156202614027252 0ustar georgeskgeorgesk\title {Potencias de una matriz 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=4} \integer{half=\range/2} \matrix{A=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{A=pari(print(vecextract([\A],[\shuf1],[\shuf2])))} \matrix{powers= 2,5 3,5 2,7 3,7 4,7 } \text{powers=shuffle(randomrow(\powers))} \integer{p1=item(1,\powers)} \integer{p2=item(2,\powers)} \matrix{P1=pari(print([\A]^\p1))} \matrix{P2=pari(print([\A]^\p2))} \statement{Tenemos una matriz \(A), con

\(A^\p1 = [\P1]) , \(A^\p2 = [\P2]) .

¿Quién es \(A) ? } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/equat2x2.oef0000644000175000017500000000144211156202614026527 0ustar georgeskgeorgesk\title {Ecuación 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \text{X=X} \integer{a=random(2..8)*random(-1,1)} \text{b=random(-5,-4,-3,-2,+2,+3,+4,+5)} \text{c=random(-6,-5,-4,-3,-2,-1,+1,+2,+3,+4,+5,+6)} \real{ac=-(\a)/(\c)} \real{bc=-(\b)/(\c)} \function{A=\ac*a+\bc} \function{B=\ac*b} \function{C=\ac*c} \function{D=\ac*d+\bc} \statement{Supongamos que la matriz \(A=[a,b;c,d]) satisface la ecuación \(\a*A^2\b*A\c=0). Determina la matriz inversa \(A^-1=[e,f;g,h]) en función de a,b,c,d.

Más exactamente, cada coeficiente de \(A^-1) debe ser un polinomio de grado 1 en a,b,c,d. } \answer {e} {\A,a,b,c,d} \answer {f} {\B,a,b,c,d} \answer {g} {\C,a,b,c,d} \answer {h} {\D,a,b,c,d} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/quad2x2.oef0000644000175000017500000000141511156202614026342 0ustar georgeskgeorgesk\title {Solución cuadrática 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \text{X=A} \text{I=I} \integer{a=random(2..8)*random(-1,1)} \integer{b=random(2..8)*random(-1,1)} \integer{c=random(1..8)*random(-1,1)} \text{bb=\b>0?+\b:\b} \text{cc=\c>0?+\c:\c} \statement{Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ que verifique la ecuación $\X^2\bb\X\cc\I=0$, con $a, b, c, d$ no nulas. } \answer {a} {\A} \answer {b} {\B} \answer {c} {\C} \answer {d} {\D} \condition{A con esos valores verifica la ecuación} {\A+(\D)=-(\b) and (\A)*(\D)-(\B)*(\C)=\c} \condition{a,b,c,d son enteros no nulos} {\A*(\B)*(\C)*(\D)!=0 and floor(\A)=\A and floor(\B)=\B and floor(\C)=\C and floor(\D)=\D} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank3x4x2.oef0000644000175000017500000000350211156202614027477 0ustar georgeskgeorgesk\title {Rango de una matriz 3x4 con 2 parámetros} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=4} \integer{range=7} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{and=y} \text{or=o} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor de los parámetros \(\p1) y \(\p2), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) es \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/givprod3x3.oef0000644000175000017500000000260211156202615027064 0ustar georgeskgeorgesk\title {Productos entre matrices potencias 3x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=6} \integer{half=\range/2} \matrix{A=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{A=pari(print(vecextract([\A],[\shuf1],[\shuf2])))} \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \text{AB=shuffle(A,B)} \text{a=item(1,\AB)} \text{b=item(2,\AB)} \matrix{prods= \a*\b,\a*\b*\a \a*\b,\b*\a*\b \a*\b,\a*\b^2 \a*\b,\a^2*\b } \text{prods=shuffle(randomrow(\prods))} \text{p1=item(1,\prods)} \text{p2=item(2,\prods)} \matrix{P1=pari(A=[\A];B=[\B];print(\p1))} \matrix{P2=pari(A=[\A];B=[\B];print(\p2))} \statement{Tenemos dos matrices \(A) y \(B), con

\(\p1 = [\P1]) , \(\p2 = [\P2]) .

¿Quiénes son \(A) y \(B) ? } \answer{A}{\A}{type=matrix} \answer{B}{\B}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank4x6x2.oef0000644000175000017500000000350211156202615027503 0ustar georgeskgeorgesk\title {Rango de una matriz 4x6 con 2 parámetros} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(2,3)} \integer{rows=4} \integer{cols=6} \integer{range=5} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{and=y} \text{or=o} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor de los parámetros \(\p1) y \(\p2), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) es \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/sqrt2x2.oef0000644000175000017500000000171111156202616026402 0ustar georgeskgeorgesk\title {Raíz cuadrada de una matriz 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \text{X=A} \text{I=I} \integer{aa=random(1..9)*random(-1,1)} \integer{bb=random(1..9)*random(-1,1)} \integer{cc=random(1..9)*random(-1,1)} \integer{dd=random(1..9)*random(-1,1)} \integer{a=\aa*(\aa)+(\bb)*(\cc)} \integer{b=(\aa+(\dd))*(\bb)} \integer{c=(\aa+(\dd))*(\cc)} \integer{d=(\dd)^2+(\bb)*(\cc)} \statement{Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$ tal que $$ A^2 = \pmatrix{\a&\b\cr\c&\d}, $$ sabiendo que $a, b, c, d$ son no nulas. } \answer {a} {\A} \answer {b} {\B} \answer {c} {\C} \answer {d} {\D} \condition{Con estos valores A^2 es la matriz dada} {(\A)^2+(\B)*(\C)=\a and \B*(\A+(\D))=\b and \C*(\A+(\D))=\c and (\D)^2+(\B)*(\C)=\d} \condition{a,b,c,d son enteros no nulos} {\A*(\B)*(\C)*(\D)!=0 and floor(\A)=\A and floor(\B)=\B and floor(\C)=\C and floor(\D)=\D} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/dettrace3x3.oef0000644000175000017500000000150411156202616027206 0ustar georgeskgeorgesk\title {Determinante y traza 3x3} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=8} \integer{a11=random(-\range..\range)} \integer{a12=random(-\range..\range)} \integer{a13=random(-\range..\range)} \integer{a21=random(-\range..\range)} \integer{a22=random(-\range..\range)} \integer{a23=random(-\range..\range)} \integer{a31=random(-\range..\range)} \integer{a32=random(-\range..\range)} \integer{a33=random(-\range..\range)} \integer{trace=(\a11)+(\a22)+(\a33)} \integer{deter=(\a11)*(\a22)*(\a33)-(\a11)*(\a23)*(\a32) +(\a12)*(\a23)*(\a31)-(\a12)*(\a21)*(\a33) +(\a13)*(\a21)*(\a32)-(\a13)*(\a22)*(\a31)} \statement{Calcular el determinante y la traza de la matriz $$ A=\pmatrix{\a11&\a12&\a13\cr \a21&\a22&\a23\cr \a31&\a32&\a33}. $$} \answer {Traza(A)}{\trace} \answer {Det(A)} {\deter} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/symm2x2.oef0000644000175000017500000000233711156202616026403 0ustar georgeskgeorgesk\title {Simetría del plano} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \matrix{data= 1,0.0,-1, 2, simetría con respecto a la recta y=0 -1,0.0,1, 1, simetría con respecto a la recta x=0 -1,0.0,-1,4, simetría central con respecto al origen 0,1.1,0, 5, simetría con respecto a la recta y=x 0,-1.-1,0,4, simetría con respecto a la recta x+y=0 0,1.-1,0, 7, rotación de 90 grados en sentido a las agujas del reloj 0,-1.1,0, 6, rotación de 90 grados en sentido opuesto a las agujas del reloj } \integer{datacnt=rows(\data)} \text{ch=shuffle(\datacnt)} \text{ch=item(1..4,\ch)} \text{good=item(1,\ch)} \text{ch=shuffle(\ch)} \text{A=item(1,\ch)} \text{B=item(2,\ch)} \text{C=item(3,\ch)} \text{D=item(4,\ch)} \text{aa=item(5,row(\A,\data))} \text{bb=item(5,row(\B,\data))} \text{cc=item(5,row(\C,\data))} \text{dd=item(5,row(\D,\data))} \text{goodrow=row(\good,\data)} \text{goodtext=item(5,\goodrow)} \text{badrow=item(4,\goodrow)} \text{badtext=item(5,row(\badrow,\data))} \text{mat=wims(translate . to ; in item(1..3,\goodrow))} \statement{¿Cuál es la transformación natural del plano dada por la matriz \([\mat]) ? } \choice{La respuesta es}{\goodtext}{\badtext,\aa,\bb,\cc,\dd} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmmat2x2.oef0000644000175000017500000000146311156202617027057 0ustar georgeskgeorgesk\title {Matriz 2x2 con parámetros} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \integer{range=8} \integer{a11=random(-\range..\range)} \integer{a12=random(-\range..\range)} \integer{a21=random(1..\range)*random(-1,1)} \integer{a22=random(-\range..\range)} \integer{trace=-(\a11)-(\a22)} \integer{deter=(\a11)*(\a22)-(\a12)*(\a21)} \text{c1=\trace>=0?+\trace:\trace} \text{c0=\deter>=0?+\deter:\deter} \text{cc1=\trace=0?:\c1 A} \text{cc0=\deter=0?:\c0 I_2} \integer{pos=random(1..4)} \text{mat=\pos=1?\a11&s\cr \a21&t} \text{mat=\pos=2?\a11&\a21\cr s&t} \text{mat=\pos=3?t&\a21\cr s&\a11} \text{mat=\pos=4?t&s\cr \a21&\a11} \statement{Encuentra el valor de los parametros $s$ y $t$ tales que la matriz $ A=\pmatrix{\mat} $ verifique $ A^2\cc1\cc0=0$.} \answer {s}{\a12} \answer {t}{\a22} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/Exemplematrice.oef0000644000175000017500000000110611156202620030012 0ustar georgeskgeorgesk\title{Ejemplo matriz 2x2} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{tex} \precision{10000} \integer{trac=random(-20..20)} \integer{deter=random(-20..20)} \statement{Hallar una matriz $A=\pmatrix{a&b\cr c&d}$ tal que trace$(A)=\trac$ y $\det(A)=\deter$, con todos los elementos $a,b,c,d$ distintos de cero.} \answer{a}{\a} \answer{b}{\b} \answer{c}{\c} \answer{d}{\d} \condition{elements non-zero}{abs((\a)*(\b)*(\c)*(\d))>0.01} \condition{Trace=\trac}{\a+\d=\trac} \condition{Determinant=\deter}{(\a)*(\d)-(\b)*(\c)=\deter} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank3x5x2.oef0000644000175000017500000000350211156202620027475 0ustar georgeskgeorgesk\title {Rango de una matriz 5x3 con 2 parámetros} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2)} \integer{rows=3} \integer{cols=5} \integer{range=6} \text{p1=u} \text{p2=v} \integer{ps=2} \integer{r1=\rank+1} \integer{c1=\rank+1} \integer{r2=min(\rows,\rank+2)} \integer{c2=\rank+2} \integer{uval=random(-20..20)} \integer{vval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\r1,\c1]+=(RANDOM(2)*2-1)*(\p1-(\uval)); m[\r2,\c2]+=(RANDOM(2)*2-1)*(\p2-(\vval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{and=y} \text{or=o} \text{andor=\and,\or} \text{eq1=item(\mm,\eqneq)} \text{eq2=item(\mm,\eqneq)} \integer{rankmin=\rank} \integer{rankmax=\r1=\r2?\rank+1:\rank+2} \text{connect=\and} \text{connect=\mm=2 and \rankmax=\rank+1?\or} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor de los parámetros \(\p1) y \(\p2), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4} \embed{choice 2} \(\p2) es \embed{choice 3} \embed{reply 4,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq1}{\eqneq} \answer{Value of \p1}{\uval}{type=numeric} \choice{\andor}{\connect}{\andor} \choice{\p2 is}{\eq2}{\eqneq} \answer{Value of \p2}{\vval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/formu3x3v.oef0000644000175000017500000000223411156202621026726 0ustar georgeskgeorgesk\title {Fórmula de entrada 3x3 II} \author {XIAO Gang} \email {xiao@unice.fr} \language{en} \format {html} \integer{a1=random(2..10)*random(-1,1)} \integer{a2=random(2..10)*random(-1,1)} \integer{a3=random(2..10)*random(-1,1)} \function{formula=\a1*i+\a2*j+\a3} \integer{c11=evalue(\formula,i=1,j=1)} \integer{c12=evalue(\formula,i=1,j=2)} \integer{c13=evalue(\formula,i=1,j=3)} \integer{c21=evalue(\formula,i=2,j=1)} \integer{c22=evalue(\formula,i=2,j=2)} \integer{c23=evalue(\formula,i=2,j=3)} \integer{c31=evalue(\formula,i=3,j=1)} \integer{c32=evalue(\formula,i=3,j=2)} \integer{c33=evalue(\formula,i=3,j=3)} \statement{Sea

C = (ci,j) = ( \c11\c12\c13 )
\c21\c22\c23
\c31\c32\c33

una matriz 3×3 cuya entrada ci,j está definida por una fórmula lineal ci,j=f(i,j)=ai+bj+c.

Determina la función f(i,j). } \answer {f(i,j)} {\formula} {type=default} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/colrow3x3.oef0000644000175000017500000000267211156202621026723 0ustar georgeskgeorgesk\title {Columna y fila 3x3 I} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a1=random(1..19)*random(-1,1)} \integer{a2=random(1..19)*random(-1,1)} \integer{a3=random(1..19)*random(-1,1)} \integer{b1=random(1..19)*random(-1,1)} \integer{b2=random(1..19)*random(-1,1)} \integer{b3=random(1..19)*random(-1,1)} \integer{c11=(\a1)*(\b1)} \integer{c12=(\a1)*(\b2)} \integer{c13=(\a1)*(\b3)} \integer{c21=(\a2)*(\b1)} \integer{c22=(\a2)*(\b2)} \integer{c23=(\a2)*(\b3)} \integer{c31=(\a3)*(\b1)} \integer{c32=(\a3)*(\b2)} \integer{c33=(\a3)*(\b3)} \integer{x=\c11} \integer{y=\c22} \text{c11=x} \text{c22=y} \integer{ch1=random(1..6)} \text{r1=item(\ch1,\c11&\c12&\c13,\c11&\c13&\c12,\c12&\c13&\c11, \c12&\c11&\c13,\c13&\c11&\c12,\c13&\c12&\c11)} \text{r2=item(\ch1,\c21&\c22&\c23,\c21&\c23&\c22,\c22&\c23&\c21, \c22&\c21&\c23,\c23&\c21&\c22,\c23&\c22&\c21)} \text{r3=item(\ch1,\c31&\c32&\c33,\c31&\c33&\c32,\c32&\c33&\c31, \c32&\c31&\c33,\c33&\c31&\c32,\c33&\c32&\c31)} \integer{ch2=random(1..6)} \text{R1=item(\ch2,\r1,\r1,\r2,\r2,\r3,\r3)} \text{R2=item(\ch2,\r2,\r3,\r1,\r3,\r1,\r2)} \text{R3=item(\ch2,\r3,\r2,\r3,\r1,\r2,\r1)} \statement{Tenemos el producto de las matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{\R1\cr \R2\cr \R3}. $$ Calcular los valores de $x$ e $y$. } \answer{x}{\x} \answer{y}{\y} \hint{¿Existe una proporcionalidad entre las filas de la matriz?} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank4x6x1.oef0000644000175000017500000000251511156202621027502 0ustar georgeskgeorgesk\title {Rango de una matriz 6x4 con 1 parámetro} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(2,3)} \integer{rows=4} \integer{cols=6} \integer{range=5} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor del parámetro (\p1), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmmat3x3.oef0000644000175000017500000000200711156202622027050 0ustar georgeskgeorgesk\title {Matriz 3x3 con parámetros} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{range=10} \integer{half=\range/2} \integer{sense=random(1,2)} \text{s=item(\sense,s,t)} \text{t=item(\sense,t,s)} \integer{sval=random(-\range..\range)} \integer{tval=random(-\range..\range)} \matrix{mat=randint(-\range..\range),2*randint(-\half..\half)+1,2*randint(-\half..\half) randint(-\range..\range),\s,2*randint(-\half..\half)+1 \t,randint(-\range..\range),randint(-\range..\range)} \text{sh=shuffle(3)} \matrix{mat=random(1,2)=1?pari(print(vecextract([\mat],[\sh],[\sh]))): pari(print(vecextract([\mat]~,[\sh],[\sh])))} \text{mat1=wims(replace internal s by \sval in \mat)} \text{mat1=wims(replace internal t by \tval in \mat1)} \integer{trace=pari(trace([\mat1]))} \integer{deter=pari(matdet([\mat1]))} \statement{Encontrar el valor de los parámetros \(s) y \(t) tales que la matriz

\(A=[\mat])
verifique det\((A) = \deter) y traza\((A)=\trace).} \answer {s}{\sval} \answer {t}{\tval} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/colrow3x3b.oef0000644000175000017500000000264711156202623027071 0ustar georgeskgeorgesk\title {Columna y fila 3x3 II} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \range {-5..5} \precision{10000} \integer{a1=random(1..19)*random(-1,1)} \integer{a2=random(1..19)*random(-1,1)} \integer{a3=random(1..19)*random(-1,1)} \integer{b1=random(1..19)*random(-1,1)} \integer{b2=random(1..19)*random(-1,1)} \integer{b3=random(1..19)*random(-1,1)} \integer{c11=(\a1)*(\b1)} \integer{c12=(\a1)*(\b2)} \integer{c13=(\a1)*(\b3)} \integer{c21=(\a2)*(\b1)} \integer{c22=(\a2)*(\b2)} \integer{c23=(\a2)*(\b3)} \integer{c31=(\a3)*(\b1)} \integer{c32=(\a3)*(\b2)} \integer{c33=(\a3)*(\b3)} \integer{x=\c11} \integer{y=\c22} \integer{z=\c33} \text{c11=x} \text{c22=y} \text{c33=z} \integer{ch1=random(1..6)} \text{r1=item(\ch1,\c11&\c12&\c13,\c11&\c13&\c12,\c12&\c13&\c11, \c12&\c11&\c13,\c13&\c11&\c12,\c13&\c12&\c11)} \text{r2=item(\ch1,\c21&\c22&\c23,\c21&\c23&\c22,\c22&\c23&\c21, \c22&\c21&\c23,\c23&\c21&\c22,\c23&\c22&\c21)} \text{r3=item(\ch1,\c31&\c32&\c33,\c31&\c33&\c32,\c32&\c33&\c31, \c32&\c31&\c33,\c33&\c31&\c32,\c33&\c32&\c31)} \integer{ch2=random(1..6)} \text{R1=item(\ch2,\r1,\r1,\r2,\r2,\r3,\r3)} \text{R2=item(\ch2,\r2,\r3,\r1,\r3,\r1,\r2)} \text{R3=item(\ch2,\r3,\r2,\r3,\r1,\r2,\r1)} \statement{Tenemos un producto de matrices $$\pmatrix{a\cr b\cr c}\pmatrix{r& s& t} =\pmatrix{\R1\cr \R2\cr \R3}. $$ Calcular los valores de $x$, $y$ y $z$. } \answer{x}{\x} \answer{y}{\y} \answer{z}{\z} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/multpart4x4.oef0000644000175000017500000000263011156202623027264 0ustar georgeskgeorgesk\title {Cálculo de cij de la matriz producto 4x4} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=4} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x
\(\AT\BT = \CT)

\if{\step=1}{ Paso 1. Solo hay un elemento determinable en la matriz producto. Es \embed{reply 1,4}.
(Por ejemplo, c11 para \(c11).) }{ Paso 2. El elemento determinable es \(c\i\j) = \embed{reply 2,6}. }} \answer{El elemento determinable}{\good}{type=atext} \answer{c\i\j}{\c}{type=number} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/detrank.oef0000644000175000017500000000313211156202623026502 0ustar georgeskgeorgesk\title {Determinante y rango} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{Det=det} \text{Rank=rango} \integer{size=random(5..20)} \integer{r2=random(\size/2..\size-1)} \text{ddd=shuffle(20)} \integer{det1=item(1,\ddd)*random(-1,1)} \integer{det2=item(2,\ddd)*random(-1,1)} \integer{detp=\det1*\det2} \integer{o=random(1,2)} \text{A=item(\o,A,B)} \text{B=item(\o,B,A)} \text{t1=item(\o,1,2)} \text{t2=item(\o,2,1)} \text{detA=\Det(\(\A))=\det1} \text{detB=\Det(\(\B))=\det2} \text{detA0=\Det(\(\A))=0} \text{detB0=\Det(\(\B))=0} \text{rankA1=\Rank(\(\A))=\size} \text{rankB1=\Rank(\(\B))=\size} \text{rankA2=\Rank(\(\A))=\r2} \text{rankB2=\Rank(\(\B))=\r2} \text{askrankAB=\Rank(\(AB))} \text{askdetAB=\Det(\(AB))} \text{eq==} \text{ne=<>} \text{lt=<} \text{gt=>} \matrix{data= \detA,\rankB1,\askrankAB,\eq,\size \detA,\rankB1,\askdetAB,\ne,0 \detA,\rankB2,\askrankAB,\eq,\r2 \detA,\rankB2,\askdetAB,\eq,0 \detA,\detB,\askrankAB,\eq,\size \detA0,\rankB1,\askrankAB,\lt,\size \detA0,\rankB1,\askdetAB,\eq,0 \rankA1,\rankB2,\askrankAB,\eq,\r2 \rankA1,\rankB2,\askdetAB,\eq,0 \detA0,\detB,\askrankAB,\lt,\size \rankA1,\rankB1,\askdetAB,\ne,0 } \text{data=randomrow(\data)} \text{cond1=item(\t1,\data)} \text{cond2=item(\t2,\data)} \text{ask=item(3,\data)} \text{good1=item(4,\data)} \text{val=item(5,\data)} \text{bad=\eq,\lt,\gt,\ne} \statement{Sean \(A) y \(B) dos matrices \size×\size, tales que \cond1 y \cond2. Entonces

\ask \embed{choice 1} \embed{reply 1,5}.

(Debes colocar la mejor respuesta.) } \choice{\ask is}{\good1}{\bad} \reply{the value}{\val} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/rankmult.oef0000644000175000017500000000123011156202624026705 0ustar georgeskgeorgesk\title {Rango y multiplicación} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(3..7)} \integer{m=random(\rank+1..15)} \integer{n=random(\rank+2..15)} \statement{Sea C una matriz de tamaño \m×\n, y rango \rank. ¿Cuál es la condición que debe cumplir n, como orden, para que exista una matriz A de tamaño \m×n y una matriz B de tamaño n×\n, tal que C=AB ?} \choice {La condición es} {n mayor o igual que c} {n menor o igual que c} \answer {Donde c} {\rank} \choice {Esta condición es} {necesaria y suficiente} {necesaria pero no suficiente, suficiente pero no necesaria} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/givimg2x3.oef0000644000175000017500000000330211156202624026671 0ustar georgeskgeorgesk\title {Calcular elementos de una matriz 2x3} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \integer{type=random(1,2)} \if{\type=1}{ \matrix{A= randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) } \text{sizea=3×2} }{ \matrix{A= randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) } \text{sizea=2×3} } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range),randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(3)} \text{shuf2=shuffle(3)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{B3=row(3,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} \text{C3=row(3,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{B3=wims(items2lines column(3,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} \matrix{C3=wims(items2lines column(3,\C))} } \statement{Tenemos una matriz \(A), \sizea tal que

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) ,
\([\B3]*A = [\C3]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) , \(A*[\B3] = [\C3]) . }

Calcular \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/givimg2x2.oef0000644000175000017500000000217411156202625026677 0ustar georgeskgeorgesk\title {Calcular elementos de una matriz 2x2} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=10} \integer{half=\range/2} \matrix{A= randint(-\range..\range),randint(-\range..\range) randint(-\range..\range),randint(-\range..\range) } \matrix{B=2*randint(-\half..\half)+1,randint(-\range..\range) 2*randint(-\half..\half),2*randint(-\half..\half)+1 } \text{shuf1=shuffle(2)} \text{shuf2=shuffle(2)} \matrix{B=pari(print(vecextract([\B],[\shuf1],[\shuf2])))} \integer{type=random(1,2)} \if{\type=1}{ \matrix{C=pari(print([\B]*[\A]))} \text{B1=row(1,\B)} \text{B2=row(2,\B)} \text{C1=row(1,\C)} \text{C2=row(2,\C)} }{ \matrix{C=pari(print([\A]*[\B]))} \matrix{B1=wims(items2lines column(1,\B))} \matrix{B2=wims(items2lines column(2,\B))} \matrix{C1=wims(items2lines column(1,\C))} \matrix{C2=wims(items2lines column(2,\C))} } \statement{Tenemos una matriz \(A), 2×2 tal que

\if{\type=1}{ \([\B1]*A = [\C1]) ,
\([\B2]*A = [\C2]) . }{ \(A*[\B1] = [\C1]) , \(A*[\B2] = [\C2]) . }

Calcular \(A). } \answer{A}{\A}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/multpart5x5.oef0000644000175000017500000000267311156202626027300 0ustar georgeskgeorgesk\title {Cálculo de cij de la matriz producto 5x5} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \computeanswer{yes} \integer{s=5} \text{random=random} \matrix{A=pari(print(matrix(\s,\s,x,y,if(x>y,tz,(\random(9)+1)*(2*\random(2)-1)))))} \matrix{B=pari(print(matrix(\s,\s,x,y,if(x

\(\AT\BT = \CT)

\if{\step=1}{ Paso 1. Solo hay un elemento determinable en la matriz producto. Es \embed{reply 1,4}.
(Por ejemplo, c11 para \(c11).) }{ Paso 2. El elemento determinable es \(c\i\j) = \embed{reply 2,6}. }} \answer{El elemento determinable}{\good}{type=atext} \answer{c\i\j}{\c}{type=number} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/mult3.oef0000644000175000017500000000316611156202626026130 0ustar georgeskgeorgesk\title {Cómo multiplicar tres matrices} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \text{sh=shuffle(10)} \integer{s1=item(1,\sh)+5} \integer{s2=item(2,\sh)+5} \integer{s3=item(3,\sh)+5} \integer{s4=item(4,\sh)+5} \text{bad1=ABC,ACB,BAC,BCA,CAB,CBA} \integer{ch=random(1..6)} \text{good1=item(\ch,\bad1)} \integer{r1=item(\ch,\s1,\s1,\s2,\s3,\s2,\s3)} \integer{c1=item(\ch,\s2,\s2,\s3,\s4,\s3,\s4)} \integer{r2=item(\ch,\s2,\s3,\s1,\s1,\s3,\s2)} \integer{c2=item(\ch,\s3,\s4,\s2,\s2,\s4,\s3)} \integer{r3=item(\ch,\s3,\s2,\s3,\s2,\s1,\s1)} \integer{c3=item(\ch,\s4,\s3,\s4,\s3,\s2,\s2)} \integer{style1=random(1,2)} \integer{style2=random(1,2)} \statement{Tenemos 3 matrices, \(A), \(B), \(C), cuyas dimensiones son las siguientes.

Matrix\A\B\C \if{\style1=1}{
Dimension\r1×\c1 \r2×\c2 \r3×\c3 }{
Rows\r1 \r2 \r3
Columns\c1 \c2 \c3 }

Se pide el orden en que se deben multiplicar las matrices para que sea posible obtener el producto de las tres. \embed{choice 1}

En ese caso, ¿cuál es la dimensión de la matriz producto? \if{\style2=1}{ \embed{reply 1,3} × \embed{reply 2,3} }{ \embed{reply 1,3} filas y \embed{reply 2,3} columnas. }} \choice{The multiplication}{\good1}{\bad1} \reply{Rows of the product}{\s1} \reply{Columns of the product}{\s4} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/symm2x2b.oef0000644000175000017500000000251211156202626026541 0ustar georgeskgeorgesk\title {Simetría del plano II} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \matrix{data= 1,0.0,-1, 2, reflection with respect to the line y=0 -1,0.0,1, 1, reflection with respect to the line x=0 -1,0.0,-1,4, central symmetry with respect to the origin 0,1.1,0, 5, reflection with respect to the line y=x 0,-1.-1,0,4, reflection with respect to the line x+y=0 0,1.-1,0, 7, clockwise rotation of 90 degrees 0,-1.1,0, 6, counter-clockwise rotation of 90 degrees } \integer{datacnt=rows(\data)} \text{ch=shuffle(\datacnt)} \text{ch=item(1..4,\ch)} \text{good=item(1,\ch)} \text{ch=shuffle(\ch)} \integer{goodpos=positionof(\good,\ch)} \text{A=item(1,\ch)} \text{B=item(2,\ch)} \text{C=item(3,\ch)} \text{D=item(4,\ch)} \text{aa=wims(translate . to ; in item(1..3,row(\A,\data)))} \text{bb=wims(translate . to ; in item(1..3,row(\B,\data)))} \text{cc=wims(translate . to ; in item(1..3,row(\C,\data)))} \text{dd=wims(translate . to ; in item(1..3,row(\D,\data)))} \text{goodrow=row(\good,\data)} \text{goodtext=item(5,\goodrow)} \text{good=item(\goodpos,A,B,C,D)} \statement{Entre las siguientes matrices, cuál corresponde a la reflexión con respecto a la recta y=x del plano?

\(A=[\aa], B=[\bb], C=[\cc], D=[\dd])
} \choice{La matriz correspondiente es}{\good}{A,B,C,D} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/traceA2.oef0000644000175000017500000000064211156202627026342 0ustar georgeskgeorgesk\title {Traza de la matriz A²} \author {XIAO Gang} \email {xiao@unice.fr} \format {tex} \computeanswer{yes} \integer{detA=random(-20..20)} \integer{trA=random(-20..20)} \integer{tr2=(\trA)^2-2*(\detA)} \statement{Sea $A=\pmatrix{a&b\cr c&d\cr}$ una matriz con determinante $\detA$ y traza $\trA$. ¿Cuál es la traza de la matriz $A^2$?} \hint {Recordar el Teorema de Caylay-Hamilton!} \answer {Traza de A²} {\tr2} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/uniminv4x4.oef0000644000175000017500000000165011156202627027106 0ustar georgeskgeorgesk\title {Cálculo de la matriz inversa de una 4x4} \language{en} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \range {-5..5} \precision{10000} \integer{range=3} \matrix{A1=1,randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range),randint(-\range..\range) 0,0,1,randint(-\range..\range) 0,0,0,1} \matrix{A2=1,0,0,0 randint(-\range..\range),1,0,0 randint(-\range..\range),randint(-\range..\range),1,0 randint(-\range..\range),randint(-\range..\range),randint(-\range..\range),1} \matrix{A3=1,randint(-\range..\range),randint(-\range..\range),randint(-\range..\range) 0,1,randint(-\range..\range),randint(-\range..\range) 0,0,1,randint(-\range..\range) 0,0,0,1} \text{A=pari(print([\A1]*[\A2]*[\A3]))} \text{inv=pari(print([\A]^-1))} \statement{Calcular la inversa de la matriz

\(A = [\A] )  .

} \answer {A-1}{\inv}{type=matrix} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/src/parmrank4x5x1.oef0000644000175000017500000000252011156202627027503 0ustar georgeskgeorgesk\title {Rango de una matriz 4x5 con 1 parámetro} \author {XIAO Gang} \email {xiao@unice.fr} \format {html} \integer{rank=random(1,2,3)} \integer{rows=4} \integer{cols=5} \integer{range=5} \text{p1=t} \integer{ps=1} \integer{tval=random(-20..20)} \text{rowsh=shuffle(\rows)} \text{colsh=shuffle(\cols)} \text{rand=((RANDOM(\range)+1)*(RANDOM(2)*2-1))} \text{trans=random(0,1)=1?m=mattranspose(m);} \text{m=pari(a1=matrix(\rows,\rank,x,y,\rand); a2=matrix(\rank,\cols,x,y,\rand); if(\rank>1, for(i=1,\rank-1,for(j=1,\rank-i,a1[i,j]=0;a2[i,j]=0)) ); m=a1*a2; m[\rank+1,\rank+1]+=(RANDOM(2)*2-1)*(\p1-(\tval)); m=vecextract(m,[\rowsh],[\colsh]); \trans print(m) )} \integer{mm=random(1,2)} \text{minmax=item(\mm,mínimo,máximo)} \text{eqneq=igual a, distinto de} \text{eq=item(\mm,\eqneq)} \integer{valt=0} \integer{rankmin=\rank} \integer{rankmax=\rank+1} \statement{Considerar la siguiente matriz parametrizada.

\( A = [\m] \)

Paso 1: Según el valor del parámetro \(\p1), el rango de \A es al menos \embed{reply 1,3} y a lo sumo \embed{reply 2,3}.

Paso 2: El \minmax rango es alcanzado cuando \(\p1) es \embed{choice 1} \embed{reply 3,4}. } \answer{Minimum rank}{\rankmin}{type=numeric} \answer{Maximum rank}{\rankmax}{type=numeric} \choice{\p1 is}{\eq}{\eqneq} \answer{Value of \p1}{\tval}{type=numeric} wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/INDEX0000644000175000017500000000112311156202630024356 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF matrices description=colección de ejercicios sobre matrices. language=es category=exercise, oef domain=algebra, linear algebra level=H5,H6,U1,U2 keywords=álgebra lineal, transformación lineal, espacio vectorial, dimensión, matriz, rango, determinante, traza require= scoring=yes copyright=© 1998-1999- (GNU GPL) 2007 2009 author=XIAO Gang address=xiao@unice.fr version=1.30 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán translator_address=pilar.ullan@ya.com data= wims-modules-es-3.64.orig/modules/U1/algebra/oefmatrix.es/about.phtml0000644000175000017500000000005311156202630025745 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/0000755000175000017500000000000011213710131024420 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/intro.phtml0000644000175000017500000000356311244316015026637 0ustar georgeskgeorgesk!header !read defaults !!set style=!listintersect $special_parm and $slist !set style= Aunque uno no puede hacer una comparación directa de dos números complejos, hay funciones que asocian a un número complejo un real: parte real, parte imaginaria, módulo, argumento. A través de esas funciones podemos establecer una desigualdad o comparación entre números complejos. Geométricamente, el conjunto de números complejos verificando cada desigualdad, corresponde a una región del plano complejo. Esta región da una "visión" de la desigualdad, y ayuda a entender el sentido de las funciones que aparecen en la desigualdad.

Este ejercicio online te ayudará a establecer la relación entre las desigualdades y la geometría del plano complejo. El programa puede trazar cualquier región, y tendrás que identificar la desigualdad correspondiente eligiéndola entre las de una lista; o bien dará una desigualdad, y pedirá que identifiques la región que describe. !form new Configuración del ejercicio:
Estilo del ejercicio: !formselect atype from $typemin to $typemax prompt\ encontrar la desigualdad de la región marcada,\ encontrar la región que describe la desigualdad dada,\ elegido aleatoriamente por el servidor
Tipo de la región: !set wims_formselect_switch=multiple size=$[min(6,$listcnt)] !formselect style list $slist prompt $nlist !set wims_formselect_switch= (El número corresponde al nivel de dificultad.)
Una sesión estará compuesta por !formselect repeat from $repeatmin to $repeatmax cuestiones. (Con una puntuación asignada al finalizar cada sesión.)

!read related.phtml gráficos,números complejos,desigualdades !tail wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/var.init0000644000175000017500000000043611245273726026123 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. !read defaults m=!itemcnt $slist n=!itemcnt $style wims_intro_parm= !if $n<$m wims_intro_parm=$style !endif wims_module_log=$cmd: $repeat times on $n !distribute item next,0,0 into status,replycnt,goodcnt wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/var.proc0000644000175000017500000000263411244326060026112 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !read defaults insplot_colors= xffffff x000000 x404040 xff0000 x00c000 x0000ff xa0a0a0 \ xadd8e6 x000000 xdda0dd x9500d3 !distribute item 1,1 into curvecolor, pointcolor range=2.5 plotrange=[-4:4] [-$range:$range] [-$range:$range] !if $status=next !read var.prep !goto end !endif !if $cmd=reply and $status!=waiting error=double_reply !goto end !endif !if $cmd=reply and $status=waiting !bound good between integer 0 and 10 default 10 !if $good=0 !if $goodf>$askcnt test=yes !advance goodcnt !else test=no !endif !else !ifval $good=$goodf test=yes !advance goodcnt !else test=no !endif !endif !advance replycnt !if $replycnt>=$repeat !if $askcnt<$present weight=8 !else weight=$askcnt !endif module_score=$[max(0,rint(100*($goodcnt/$replycnt-1/$weight)*$weight/($weight-1))/10)] wims_module_log=Score $module_score status=done !else status=next !endif !endif :end !exec pariplot $datasrc size=!item $type of 0.5,0.275 insplot_set=size $[$size*0.8],$size; parametric; noborder; nozeroaxis; noxtics; noytics;\ lmargin 0;rmargin 0;tmargin 0;bmargin 0;\ pointsize 0.6;\ arrow from -$range,0 to $range,0 lt 4;\ arrow from 0,-$range to 0,$range lt 4;\ label "Re" at $[$range*0.81],$[$range*0.1];\ label "Im" at $[$range*0.07],$[$range*0.9] wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/answer.phtml0000644000175000017500000000177011244312433027001 0ustar georgeskgeorgesk!if $type=1 (Tu elección está marcada por , y la respuesta correcta está marcada por .)

!endif !if $good!=0 !if $test=yes Sí, tu elección es la correcta. !else No, has elegido !if $type=1 una desigualdad incorrecta. !else un gráfico incorrecto. !endif !endif !else !if $goodf<=$askcnt ¡No, la respuesta correcta sí está entre las expuestas! !else En efecto, la respuesta correcta no está entre las expuestas. !endif !endif !if $test=yes Respuesta correcta. !else Respuesta incorrecta. !endif !if $status=next (Cuestión número $replycnt de $repeat)

!href cmd=next Continuar con la siguiente cuestión. Habrás terminado las $repeat cuestiones en orden para obtener una puntuación. !else !if $repeat>1

Has terminado la sesión de $repeat cuestiones, con una puntuación de $module_score/10. !else Puntuación: $module_score/10. !endif !endif

wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/var.prep0000644000175000017500000000474311074456077026135 0ustar georgeskgeorgesk # Types: 1. choose picture from equation. 2. choose equation from picture. !if $atype<3 type=$atype !else type=!randitem 1,2 !endif st=!randitem $style file=defs/$st n=!recordcnt $file n=!randint 1,$n rec=!record $n of $file randata=!line 1 of $rec choices=!line 2 to -1 of $rec choices=!trim $choices present=!linecnt $choices signs=!randitem +-,-+ !distribute chars $signs into sign1,sign2 choices=!replace +- by $sign1 in $choices choices=!replace -+ by $sign2 in $choices !reset plotf, ineq !distribute items <>,>< into lg,gl !for i=1 to $present d=!line $i of $choices d=!translate ; to $\ $ in $d n=!linecnt $d !distribute lines $d into in,p1,p2,p3,p4,p5,p6 !reset pl !for j=1 to $n-1 pl=!append item $(p$j) notitle lt $curvecolor to $pl !next j !if $lg isin $in or $gl isin $in !distribute chars <> into ineq1,ineq2 i1=!replace <> by $ineq1 in $in i1=!replace >< by $ineq2 in $i1 i2=!replace <> by $ineq2 in $in i2=!replace >< by $ineq1 in $i2 ineq=!append item $i1, $i2 to $ineq plotf=!append line $pl\ $pl to $plotf !else ineq=!append item $in to $ineq plotf=!append line $pl to $plotf !endif !next i present=!itemcnt $ineq ineq=!tolower $ineq ineq=!mathsubst conjugate=conj in $ineq ineqtex=!rawmath $ineq ineqtex=!texmath $ineqtex ineqtex=!mathsubst im={\rm Im} in $ineqtex ineqtex=!mathsubst re={\rm Re} in $ineqtex ineqtex=!replace internal and by {\rm \ \ $name_and\ \ } in $ineqtex ineqtex=!replace internal or by {\rm \ \ $name_or\ \ } in $ineqtex ineqtex=!replace internal < by \le $ in $ineqtex ineqtex=!replace internal > by \ge $ in $ineqtex ineqpari=!mathsubst im=imag in $ineq ineqpari=!mathsubst re=real in $ineqpari ineqpari=!mathsubst and=&& in $ineqpari ineqpari=!mathsubst or=|| in $ineqpari sh=!shuffle $present good=!randint 1,$present goodf=!positionof item $good in $sh plotf=!lines $sh of $plotf ineqtex=!items $sh of $ineqtex ineqpari=!items $sh of $ineqpari !distribute items $ineqpari into ipari1,ipari2,ipari3,ipari4,ipari5,ipari6,ipari7,ipari8,ipari9,ipari10 askcnt=$[min(6,$present)] !distribute item &&,|| into p_and,p_or pari_precision=4 pari_header= !for t=1 to $present pari_header=$pari_header\ {\ grid$t(r)=for(m=0,3*r,y=-$range+$range*m/(1.5*r)+0.0001;\ for(n=0,2*r,x=-$range+$range*(n+0.5*(m%2))/r+0.0001;\ z=x+i*y; if($(ipari$t),print1(x," ",y,";"))\ );\ );\ } !next t !if $type=1 datasrc=grid$goodf(15) !else src= !for i=1 to $askcnt src=$src;grid$i(9);print1(";;"); !next i datasrc=$src !endif status=waiting wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/about.phtml0000644000175000017500000000011211074456077026617 0ustar georgeskgeorgesk$module_about

This exercise uses !exec pari about for computations. wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/present.phtml0000644000175000017500000000173411244320141027155 0ustar georgeskgeorgeskEjercicio. !if $type=1 La región marcada en rojo en la siguiente imagen describe un conjunto de números complejos z en el plano complejo. (El rango del gráfico es [-$range,$range].)

!set ins_attr=alt="The region" !set ins_border=1 !set pf=!line $goodf of $plotf !insplot $ranget $plotrange 'insplot_data' notitle lt $pointcolor, $pf

¿Cuál de las siguientes condiciones en z corresponde a la región? Haz click en ella. !else La siguiente condición de números complejos describe una región en el plano complejo.

!set t=!item $goodf of $ineqtex !set wims_texsize=2 !instex $$$$ $t $$$$ !set wims_texsize=0

¿Cuál de las siguientes imágenes contiene la región correcta marcada en rojo? Haz click en ella. (El rango del gráfico es [-$range,$range].) !endif

!read choice.$type.phtml

!if arg isin $ineq Nota. Arg(z) designa el argumento de z entre -$m_pi y $m_pi.

!endif wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/0000755000175000017500000000000011213710131025341 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/1reim0000644000175000017500000000107011074456077026324 0ustar georgeskgeorgesk1. Re and Im : re(z) <> im(z); t,t re(z) + im(z) <> 0; t,-t : re(z + 1) <> 0; -1,t re(z - 1) <> 0; 1,t re(z +- i) <> 0; 0,t : im(z + i) <> 0; t,-1 im(z - i) <> 0; t,1 im(z +- 1) <> 0; t,0 : re(z) <> 0 and im(z) <> 0; t,0;0,t re(z) <> 0 and im(z) >< 0; t,0;0,t : re(z) <> 0 or im(z) <> 0; t,0;0,t re(z) <> 0 or im(z) >< 0; t,0;0,t : re(z) <> 0 and im(z) <> 0; t,0;0,t re(z) <> 0 or im(z) <> 0; t,0;0,t : re(z) <> 0 and im(z) >< 0; t,0;0,t re(z) <> 0 or im(z) >< 0; t,0;0,t : re(z)*im(z) <> 0; t,0;0,t re(z) + im(z) <> 0;t,-t re(z) - im(z) <> 0; t,t wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/1mod0000644000175000017500000000124711074456077026155 0ustar georgeskgeorgesk1. Module : abs(z+1) < 1; cos(t)-1,sin(t) abs(z-1) < 1; cos(t)+1,sin(t) abs(z+i) < 1; cos(t),sin(t)-1 abs(z-i) < 1; cos(t),sin(t)+1 : abs(z+1) > 1; cos(t)-1,sin(t) abs(z-1) > 1; cos(t)+1,sin(t) abs(z+i) > 1; cos(t),sin(t)-1 abs(z-i) > 1; cos(t),sin(t)+1 : abs(z+1) <> 1; cos(t)-1,sin(t) abs(z-1) <> 1; cos(t)+1,sin(t) : abs(z+i) <> 1; cos(t),sin(t)-1 abs(z-i) <> 1; cos(t),sin(t)+1 : abs(z+1+i) < 1; cos(t)-1,sin(t)-1 abs(z+1-i) < 1; cos(t)-1,sin(t)+1 abs(z-1+i) < 1; cos(t)+1,sin(t)-1 abs(z-1-i) < 1; cos(t)+1,sin(t)+1 : abs(z+1+i) > 1; cos(t)-1,sin(t)-1 abs(z+1-i) > 1; cos(t)-1,sin(t)+1 abs(z-1+i) > 1; cos(t)+1,sin(t)-1 abs(z-1-i) > 1; cos(t)+1,sin(t)+1 wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/0reim0000644000175000017500000000035711074456077026332 0ustar georgeskgeorgesk0. Re and Im : re(z) <> im(z); t,t re(z) + im(z) <> 0; t,-t : re(z) <> 0; 0,t im(z) <> 0; t,0 : re(z) > 1; 1,t im(z) > 1; t,1 re(z) > -1; -1,t im(z) > -1; t,-1 : re(z) < 1; 1,t im(z) < 1; t,1 re(z) < -1; -1,t im(z) < -1; t,-1 wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/2mod0000644000175000017500000000134411074456077026154 0ustar georgeskgeorgesk2. Module : abs(z) <> abs(z + 2); -1,t abs(z) <> abs(z + 2*i); t,-1 abs(z) <> abs(z - 2); 1,t abs(z) <> abs(z - 2*i); t,1 : abs(z + i) <> abs(z + 1); t,t abs(z + i) <> abs(z - 1); t,-t abs(z + 1) <> abs(z - 1); 0,t abs(z + i) <> abs(z - i); t,0 : abs(2*z) <> abs(z + 2); (4/3)*cos(t)+2/3,(4/3)*sin(t) abs(2*z) <> abs(z - 2); (4/3)*cos(t)-2/3,(4/3)*sin(t) abs(2*z) <> abs(z + 2*i); (4/3)*cos(t),(4/3)*sin(t)+2/3 abs(2*z) <> abs(z - 2*i); (4/3)*cos(t),(4/3)*sin(t)-2/3 : abs(z) <> abs(i*z + 2); t,1 abs(z) <> abs(i*z + 2*i); -1,t abs(z) <> abs(i*z - 2); t,-1 abs(z) <> abs(i*z - 2*i); 1,t : abs(z + i) <> abs(i*z + i); t,t abs(z + i) <> abs(i*z - i); t,-t abs(z + 1) <> abs(i*z - i); 0,t abs(z + i) <> abs(i*z + 1); t,0 wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/0mod0000644000175000017500000000011111074456077026141 0ustar georgeskgeorgesk0. Module : abs(z) <> 1; cos(t),sin(t) abs(z) <> 2; 2*cos(t),2*sin(t) wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/1arg0000644000175000017500000000074611074456077026152 0ustar georgeskgeorgesk1. Argument : arg(i*z) <> 0; t,0 arg(conj(z)) <> 0; 0,t : arg(i*z) <> 0; t,0 abs(arg(i*z)) <> pi/2; 0,t : arg(z) <> arg(conj(z)); t,0 arg(i*z) <> arg(i*conj(z)); t,0; 0,t : arg(i*z) > pi/2; t,0;0,t arg(i*z) > 0 and arg(i*z) < pi/2; t,0;0,t arg(i*z) > -pi/2 and arg(i*z) < 0; t,0;0,t arg(i*z) < -pi/2; t,0;0,t : arg(conj(z)) > pi/2; t,0;0,t arg(conj(z)) > 0 and arg(conj(z)) < pi/2; t,0;0,t arg(conj(z)) > -pi/2 and arg(conj(z)) < 0; t,0;0,t arg(conj(z)) < -pi/2; t,0;0,t wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/0arg0000644000175000017500000000027511074456077026146 0ustar georgeskgeorgesk0. Argument : arg(z) <> 0; 0,t abs(arg(z)) <> pi/2; t,0 : arg(z) > pi/2; t,0;0,t arg(z) > 0 and arg(z) < pi/2; t,0;0,t arg(z) > -pi/2 and arg(z) < 0; t,0;0,t arg(z) < -pi/2; t,0;0,t wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defs/2reim0000644000175000017500000000036211074456077026330 0ustar georgeskgeorgesk2. Re and Im : re(z) <> im((+- 1 - i)*z); t,+- 2*t re(z) <> im((+- 1 - i)*conj(z)); t,-+ 2*t re(z) <> im((+- 1 + i)*z); t,0 : im(z) <> re((+- 1 + i)*z); 2*t,+- t im(conj(z)) <> re((+- 1 - i)*z); 2*t,-+ t im(z) <> re((+- 1 - i)*z); 0,t wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/choice.1.phtml0000644000175000017500000000073611074456077027112 0ustar georgeskgeorgesk !set cut=!item $askcnt of 0,0,0,3,4,4,46,47 !set ins_border=0

!for i=1 to $askcnt !if $i isin 1$cut !endif !next i
!set eq=!item $i of $ineqtex !if $status=waiting !href cmd=reply&good=$i !instex $$$$ $eq $$$$ !else !if $i=$good !endif !if $i=$goodf !endif !instex $$$$ $eq $$$$ !endif
wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defaults0000644000175000017500000000101211074456077026171 0ustar georgeskgeorgesk!distribute items 1,3,1,8 into typemin,typemax,repeatmin,repeatmax !bound atype between integer $typemin and $typemax default 2 !bound repeat between integer $repeatmin and $repeatmax default 1 !set slist=!record 1 of defindex !set nlist=!record 2 of defindex !set slist=!lines2items $slist !set nlist=!translate , to ; in $nlist !set nlist=!lines2items $nlist !set listcnt=!itemcnt $slist !set style=!listintersect $style and $slist !set style=!listuniq $style !default style=$slist !set name_or=or !set name_and=and wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/main.phtml0000644000175000017500000000166111244316243026430 0ustar georgeskgeorgesk!if $cmd!=help !set t=!positionof item $st in $slist !set n=!item $t of $nlist !set module_title=$module_title
--- $n --- !endif !header !read present.phtml !if $error!=$empty !read msg.phtml


!endif !if $status=waiting !read form.phtml

!if $repeat>1 !href cmd=renew&worksheet=$worksheet&$module_init_parm Abandonar la sesión . !else !href cmd=renew&worksheet=$worksheet&$module_init_parm Cambiar el ejercicio . !endif !else !read answer.phtml

!if $repeat>1 !if $status=next !href cmd=renew&worksheet=$worksheet&$module_init_parm Abandonar la sesión . !else !href cmd=renew&worksheet=$worksheet&$module_init_parm Una nueva sesión . !endif !else !href cmd=renew&worksheet=$worksheet&$module_init_parm Otro ejercicio . !endif !if $worksheet=$empty !href module=$module&special_parm=$wims_intro_parm Reconfigurar el ejercicio . !endif !endif !tail wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/var.def0000644000175000017500000000043511074456077025717 0ustar georgeskgeorgesk wims_intro_parm deny status deny replycnt deny goodcnt deny size deny goodf deny type deny askcnt deny range deny ranget deny ineq deny ineqtex deny ineqpari deny plotf deny present deny issys deny st deny datasrc deny pari_header deny atype init repeat init style init good reply wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/form.phtml0000644000175000017500000000036011244312573026444 0ustar georgeskgeorgesk!if $askcnt<$present !href cmd=reply&good=0 Click aquí si crees que ninguna de las posibilidades corresponde a la respuesta correcta. !endif

!if $repeat>1 (Cuestión número $[$replycnt+1] dentro de una sesión de $repeat.)

!endif wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/mkindex0000755000175000017500000000025711074456077026036 0ustar georgeskgeorgesk#! /bin/sh thisdir=`pwd` cd defs list=`ls` cd $thisdir titlist= for i in $list do tit=`head -1 defs/$i` titlist="$titlist$tit " done cat <<@ >defindex :$list :$titlist @ wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/INDEX0000644000175000017500000000116011237074161025224 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Gráficos de desigualdades complejas description=reconocer una región del plano complejo definida por desigualdades. language=es category=exercise domain=álgebra level=H4,H5,H6 keywords=número complejo, plano complejo, módulo, argumento, parte real, parte imaginaria, conjugado require=pari scoring=yes copyright=© 2001- (GNU GPL) 2009 author=Joachim YAMEOGO and Gang XIAO address=xiao@unice.fr version=1.00 wims_version=3.01 vardef= translator=Pilar Ullán González translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/choice.2.phtml0000644000175000017500000000127711244324774027111 0ustar georgeskgeorgesk!set cut=!item $askcnt of 0,0,0,0,4,4,5,5 !set setbak=$insplot_set

!set ins_border=2 !for i=1 to $askcnt !if $i isin $cut

!endif !set ins_attr=alt="Choice $i" !set pf=!line $i of $plotf !if $status=waiting !href cmd=reply&good=$i !insplot $ranget $plotrange 'insplot_data' index $[$i-1] notitle lt $pointcolor,\ $pf   !else !set insplot_set=$setbak !if $i=$good !set insplot_set=$insplot_set;label "Tu elección" at -1.6,1 !endif !if $i=$goodf !set insplot_set=$insplot_set;label "La respuesta correcta" at -1.6,-1 !endif !insplot $ranget $plotrange 'insplot_data' index $[$i-1] notitle lt $pointcolor,\ $pf   !endif   !next i

wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/defindex0000644000175000017500000000020611245273712026145 0ustar georgeskgeorgesk:0arg 0mod 0reim 1arg 1mod 1reim 2mod 2reim :0. Argumento 0. Módulo 0. Re e Im 1. Argumento 1. Módulo 1. Re e Im 2. Módulo 2. Re e Im wims-modules-es-3.64.orig/modules/U1/algebra/graphcompineq.es/msg.phtml0000644000175000017500000000054111237526566026303 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if double_reply iswordof $error You have already submitted a reply to this problem, which is analysed and scored. Repetitive replies are ignored. (Don't use the `reload' button of your browser to repost replies!) !exit !endif wims-modules-es-3.64.orig/modules/U1/logic/0000755000175000017500000000000011262660621020671 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/0000755000175000017500000000000011255467174022547 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/0000755000175000017500000000000011255467174023305 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/3func.def0000644000175000017500000000424111244342436024773 0ustar georgeskgeorgesk!set title=Tres funciones !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr ansorder=c varcnt=25 prevarcnt=24 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 val6=necesaria y suficiente val7=necesaria val8=suficiente val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 !ifval $val10=1 val14=f !else val14=h !endif !ifval $val10=1 val15=h !else val15=f !endif tmp0=!randitem 1,2 val16=$[rint($(tmp0))] tmp0=!randitem 1,2 val17=$[rint($(tmp0))] tmp0=!item $val16 of f,g val18=$(tmp0) tmp0=!item $val16 of g,f val19=$(tmp0) tmp0=!item $val17 of g,h val20=$(tmp0) tmp0=!item $val17 of h,g val21=$(tmp0) tmp0=!item $val16 of $val7,$val8 val22=$(tmp0) tmp0=!item $val17 of $val7,$val8 val23=$(tmp0) tmp0=!item $val16 of $val8,$val7 val24=$(tmp0) tmp0=!item $val17 of $val8,$val7 val25=$(tmp0) tmp0=!randint 1, 9 val26=$[rint($(tmp0))] tmp0=!item $val26 of $val6,$val6, $val6, $val22,$val24,$val22,$val24,$val22,$val24 val27=$(tmp0) tmp0=!item $val26 of $val6,$val23,$val25,$val6, $val6, $val23,$val25,$val25,$val23 val28=$(tmp0) tmp0=!item $val26 of $val6,$val11,$val12, $val11, $val12, $val11, $val12, $val9, $val9 val29=$(tmp0) choicename1= choicegood1=$val29 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos 3 funciones reales: f(x), g(x) y h(x).

Para algún valor de x, $val18(x)>0 es una condición $val27 para $val19(x)>0, y $val20(x)>0 es una condición $val28 para $val21(x)>0.

Como consecuencia, $val14(x)>0 es una condición ____________ para $val15(x)>0. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,18,19,20,21,27,28 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/chsymbol.def0000644000175000017500000000457511245275236025613 0ustar georgeskgeorgesk!set title=Signos encadenados !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=yes precision=10000 ansorder=c varcnt=25 prevarcnt=24 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 val6=necesaria y suficiente val7=necesaria (sólo) val8=suficiente (sólo) val9=quizás ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 !ifval $val10=1 val14=A !else val14=D !endif !ifval $val10=1 val15=D !else val15=A !endif tmp0=!randitem 1,2 val16=$[rint($(tmp0))] tmp0=!item $val16 of $val12,$val11 val17=$(tmp0) tmp0=!item $val16 of =>,<= val18=$(tmp0) tmp0=!item $val16 of <=,=> val19=$(tmp0) val20=<=> tmp0=!randint 1, 6 val21=$[rint($(tmp0))] tmp0=!item $val21 of $val20,$val20,$val20,$val18,$val20,$val18 val22=$(tmp0) tmp0=!item $val21 of $val20,$val20,$val18,$val18,$val18,$val18 val23=$(tmp0) tmp0=!item $val21 of $val20,$val18,$val18,$val18,$val19,$val19 val24=$(tmp0) tmp0=!randint 1, 6 val25=$[rint($(tmp0))] tmp0=!item $val25 of $val22,$val22,$val23,$val23,$val24,$val24 val26=$(tmp0) tmp0=!item $val25 of $val23,$val24,$val22,$val24,$val22,$val23 val27=$(tmp0) tmp0=!item $val25 of $val24,$val23,$val24,$val22,$val23,$val22 val28=$(tmp0) tmp0=!item $val21 of $val6,$val17,$val17,$val17,$val9,$val9 val29=$(tmp0) choicename1= choicegood1=$val29 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Durante una lectura, el profesor habla sobre 4 propiedades de funciones. Usamos las letras A,B,C,D para denotar esas 4 propiedades.

El profesor prueba en la pizarra las siguientes relaciones entre esas 4 propiedades:

A $val26 B $val27 C $val28 D

De esto concluimos que $val14 es una condición ____________ de $val15. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,26,27,28 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/parity.def0000644000175000017500000000262611255467161025277 0ustar georgeskgeorgesk!set title=Paridad !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr ansorder=c varcnt=17 prevarcnt=16 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 val6=necesaria y suficiente val7=necesaria (sólo) val8=suficiente (sólo) val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 val14=ab val15=a+b !ifval $val10=1 val16=$val14 !else val16=$val15 !endif !ifval $val10=1 val17=$val15 !else val17=$val14 !endif tmp0=!randitem 1,2 val18=$[rint($(tmp0))] tmp0=!item $val18 of impar,par val19=$(tmp0) tmp0=!item $val18 of par,impar val20=$(tmp0) tmp0=!item $val18 of $val8,$val7 val21=$(tmp0) choicename1= choicegood1=$val21 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean a y b dos enteros.

"$val16 es $val19" es una condición ____________ para $val17 sea $val20. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=16,17,19,20 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/iff4.def0000644000175000017500000000277411244347261024617 0ustar georgeskgeorgesk!set title=Si y sólo si IV !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=yes precision=10000 ansorder=c varcnt=15 prevarcnt=14 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 val6=necesaria y suficiente val7=necesaria val8=suficiente val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 tmp0=!randitem 1,2,3 val14=$[rint($(tmp0))] val15=si y sólo si, si, sólo si tmp0=!item $val14 of $val15 val16=$(tmp0) tmp0=!item $val14 of $val6,$val12,$val11 val17=$(tmp0) !ifval $val10=1 val18=A !else val18=B !endif !ifval $val10=1 val19=B !else val19=A !endif choicename1= choicegood1=$val16 choicebad1=$val15,no podemos concluir nada question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que A y B son dos proposiciones. Si uno dice que A es una condición $val17 de B, esto significa que $val18 es falso ____________ $val19 es falso. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/.htaccess0000644000175000017500000000001611074456077025077 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/symbol2.def0000644000175000017500000000301511245275163025345 0ustar georgeskgeorgesk!set title=Signo II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr ansorder=c varcnt=17 prevarcnt=16 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 val6=si y sólo si val7=si val8=sólo si tmp0=!randitem 0,1 val9=$[rint($(tmp0))] !ifval $val9=1 val10=$val7 !else val10=$val8 !endif !ifval $val9=1 val11=$val8 !else val11=$val7 !endif val12=$val6,$val7,$val8 tmp0=!randitem 1,2,3 val13=$[rint($(tmp0))] tmp0=!item $val13 of <=>,=>,<= val14=$(tmp0) !ifval $val9=1 val15=A !else val15=B !endif !ifval $val9=1 val16=B !else val16=A !endif tmp0=!randitem 1,2 val17=$[rint($(tmp0))] tmp0=!item $val17 of se cumple, no se cumple val18=$(tmp0) tmp0=!item $val17 of $val10,$val11 val19=$(tmp0) tmp0=!item $val17 of $val11,$val10 val20=$(tmp0) tmp0=!item $val13 of $val6,$val20,$val19 val21=$(tmp0) choicename1= choicegood1=$val21 choicebad1=$val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que A y B son dos proposiciones. El signo

A $val14 B

significa que $val15 $val18 ____________ $val16 $val18. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/iff.def0000644000175000017500000000275011255467124024530 0ustar georgeskgeorgesk!set title=Si y sólo si !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=yes precision=10000 ansorder=c varcnt=14 prevarcnt=13 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 val6=necesaria y suficiente val7=necesaria (sólo) val8=suficiente (sólo) val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 tmp0=!randitem 1,2,3 val14=$[rint($(tmp0))] tmp0=!item $val14 of si y sólo si, sólo si, si val15=$(tmp0) tmp0=!item $val14 of $val6,$val12,$val11 val16=$(tmp0) !ifval $val10=1 val17=A !else val17=B !endif !ifval $val10=1 val18=B !else val18=A !endif choicename1= choicegood1=$val16 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que A y B son dos proposiciones. Si uno dice que A es verdad $val15 B es verdad, esto significa que $val17 es una condición ____________ de $val18. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/iff2.def0000644000175000017500000000274511255467136024621 0ustar georgeskgeorgesk!set title=Si y sólo si II !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=yes precision=10000 ansorder=c varcnt=15 prevarcnt=14 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 val6=necesaria y suficiente val7=necesaria val8=suficiente val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 tmp0=!randitem 1,2,3 val14=$[rint($(tmp0))] val15=si y sólo si, sólo si, si tmp0=!item $val14 of $val15 val16=$(tmp0) tmp0=!item $val14 of $val6,$val12,$val11 val17=$(tmp0) !ifval $val10=1 val18=A !else val18=B !endif !ifval $val10=1 val19=B !else val19=A !endif choicename1= choicegood1=$val16 choicebad1=$val15 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que A y B son dos proposiciones. Si uno dice que A es una condición $val17 de B, esto significa que $val18 es verdad ____________ $val19 es verdad. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/subset.def0000644000175000017500000000323011244352552025257 0ustar georgeskgeorgesk!set title=Subconjunto !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=yes precision=10000 ansorder=c varcnt=17 prevarcnt=16 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 val6=necesaria y suficiente val7=necesaria (sólo) val8=suficiente (sólo) val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 tmp0=!randitem 1,2 val14=$(tmp0) tmp0=!item $val14 of que pertenece,que no pertenece val15=$(tmp0) tmp0=!randitem 1,2 val16=$(tmp0) tmp0=!item $val16 of pertenezca,no pertenezca val17=$(tmp0) !ifval $val10=1 val18=A !else val18=B !endif !ifval $val10=1 val19=B !else val19=A !endif tmp0=!item $val14 of $val12,$val11 val20=$(tmp0) !ifval $val14==$val16 val20=$val20 !else val20=$val9 !endif choicename1= choicegood1=$val20 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean A y B dos conjuntos, y supongamos que A es un subconjunto de B.

En este caso, un elemento a $val15 a $val18 es una condición ____________  para que a $val17 a $val19. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/3func2.def0000644000175000017500000000410011244342657025054 0ustar georgeskgeorgesk!set title=Tres funciones II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=Gang XIAO email=xiao@unice.fr ansorder=c varcnt=25 prevarcnt=24 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 val6=si y sólo si val7=si val8=sólo si val9=ni si ni sólo si tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 !ifval $val10=1 val14=f !else val14=h !endif !ifval $val10=1 val15=h !else val15=f !endif tmp0=!randitem 1,2 val16=$[rint($(tmp0))] tmp0=!randitem 1,2 val17=$[rint($(tmp0))] tmp0=!item $val16 of f,g val18=$(tmp0) tmp0=!item $val16 of g,f val19=$(tmp0) tmp0=!item $val17 of g,h val20=$(tmp0) tmp0=!item $val17 of h,g val21=$(tmp0) tmp0=!item $val16 of $val7,$val8 val22=$(tmp0) tmp0=!item $val17 of $val7,$val8 val23=$(tmp0) tmp0=!item $val16 of $val8,$val7 val24=$(tmp0) tmp0=!item $val17 of $val8,$val7 val25=$(tmp0) tmp0=!randint 1, 9 val26=$[rint($(tmp0))] tmp0=!item $val26 of $val6,$val6, $val6, $val22,$val24,$val22,$val24,$val22,$val24 val27=$(tmp0) tmp0=!item $val26 of $val6,$val23,$val25,$val6, $val6, $val23,$val25,$val25,$val23 val28=$(tmp0) tmp0=!item $val26 of $val6,$val11,$val12, $val11, $val12, $val11, $val12, $val9, $val9 val29=$(tmp0) choicename1= choicegood1=$val29 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos 3 funciones reales: f(x), g(x) y h(x).

Para algún valor de x, $val18(x)<0 $val27 $val19(x)<0, y $val20(x)<0 $val28 $val21(x)<0.

Como consecuencia, $val14(x)<0 ____________ $val15(x)<0. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,18,19,20,21,27,28 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/symbol.def0000644000175000017500000000273611255467174025302 0ustar georgeskgeorgesk!set title=Signo !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=yes precision=10000 ansorder=c varcnt=14 prevarcnt=13 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 val6=necesaria y suficiente val7=necesaria (sólo) val8=suficiente (sólo) val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 tmp0=!randitem 1,2,3 val14=$[rint($(tmp0))] tmp0=!item $val14 of <=>,=>,<= val15=$(tmp0) tmp0=!item $val14 of $val6,$val12,$val11 val16=$(tmp0) !ifval $val10=1 val17=A !else val17=B !endif !ifval $val10=1 val18=B !else val18=A !endif choicename1= choicegood1=$val16 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que A y B son dos proposiciones. El signo

A $val15 B

significa que $val17 es una condición ____________ de $val18. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/def/iff3.def0000644000175000017500000000275211255467146024621 0ustar georgeskgeorgesk!set title=Si y sólo si III !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=yes precision=10000 ansorder=c varcnt=14 prevarcnt=13 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 val6=necesaria y suficiente val7=necesaria (sólo) val8=suficiente (sólo) val9=ni necesaria ni suficiente tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$val7 !else val11=$val8 !endif !ifval $val10=1 val12=$val8 !else val12=$val7 !endif val13=$val6,$val7,$val8,$val9 tmp0=!randitem 1,2,3 val14=$[rint($(tmp0))] tmp0=!item $val14 of si y sólo si, si, sólo si val15=$(tmp0) tmp0=!item $val14 of $val6,$val12,$val11 val16=$(tmp0) !ifval $val10=1 val17=A !else val17=B !endif !ifval $val10=1 val18=B !else val18=A !endif choicename1= choicegood1=$val16 choicebad1=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Supongamos que A y B son dos proposiciones. Si uno dice que A es falso $val15 B es falso, esto significa que $val17 es una condición ____________ de $val18. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/intro.phtml0000644000175000017500000000120411245274162024735 0ustar georgeskgeorgesk!header !read Exindex Las nociones de condición necesaria y condición suficiente son de gran importacia en el razonamiento matemático. Por este motivo, expertos en dicho razonamiento, incluídos profesores de matemáticas, a veces están tan acostumbrados a usarlo que no se dan cuenta de la dificultad que requiere para los estudiantes.

De hecho esta noción no es tan difícil como le puede parecer a un estudiante, y es mediante la práctica como se llega a ser un experto. Aunque sólo presentamos $exototal ejercicios de entrenamiento sobre esta materia, esperamos que rápidamente consigas llegar a serlo. !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/Exindex0000644000175000017500000000047711255467174024106 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of parity,iff,iff2,iff3,iff4,symbol,symbol2,chsymbol,subset,3func,3func2, !set titlelist=!char 1 to -2 of Paridad,Si y sólo si,Si y sólo si II,Si y sólo si III,Si y sólo si IV,Signo,Signo II,Signos encadenados,Subconjunto,Tres funciones,Tres funciones II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/Extitles0000644000175000017500000000033311255467174024272 0ustar georgeskgeorgesk3func:Tres funciones 3func2:Tres funciones II chsymbol:Signos encadenados iff:Si y sólo si iff2:Si y sólo si II iff3:Si y sólo si III iff4:Si y sólo si IV parity:Paridad subset:Subconjunto symbol:Signo symbol2:Signo II wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/var.proc0000644000175000017500000000115011244354773024217 0ustar georgeskgeorgesk# Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/images/0000755000175000017500000000000011074456077024013 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/about.phtml0000644000175000017500000000005311074456077024724 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/content.html0000644000175000017500000000570411255467174025115 0ustar georgeskgeorgesk


Tres funciones

Tenemos 3 funciones reales: f(x), g(x) y h(x).

Para algún valor de x, $val18(x)>0 es una condición $val27 para $val19(x)>0, y $val20(x)>0 es una condición $val28 para $val21(x)>0.

Como consecuencia, $val14(x)>0 es una condición ____________ para $val15(x)>0.


Tres funciones II

Tenemos 3 funciones reales: f(x), g(x) y h(x).

Para algún valor de x, $val18(x)<0 $val27 $val19(x)<0, y $val20(x)<0 $val28 $val21(x)<0.

Como consecuencia, $val14(x)<0 ____________ $val15(x)<0.


Signos encadenados

Durante una lectura, el profesor habla sobre 4 propiedades de funciones. Usamos las letras A,B,C,D para denotar esas 4 propiedades.

El profesor prueba en la pizarra las siguientes relaciones entre esas 4 propiedades:

A $val26 B $val27 C $val28 D

De esto concluimos que $val14 es una condición ____________ de $val15.


Si y sólo si

Supongamos que A y B son dos proposiciones. Si uno dice que A es verdad $val15 B es verdad, esto significa que $val17 es una condición ____________ de $val18.

Si y sólo si II

Supongamos que A y B son dos proposiciones. Si uno dice que A es una condición $val17 de B, esto significa que $val18 es verdad ____________ $val19 es verdad.

Si y sólo si III

Supongamos que A y B son dos proposiciones. Si uno dice que A es falso $val15 B es falso, esto significa que $val17 es una condición ____________ de $val18.

Si y sólo si IV

Supongamos que A y B son dos proposiciones. Si uno dice que A es una condición $val17 de B, esto significa que $val18 es falso ____________ $val19 es falso.

Paridad

Sean a y b dos enteros.

"$val16 es $val19" es una condición ____________ para $val17 sea $val20.


Subconjunto

Sean A y B dos conjuntos, y supongamos que A es un subconjunto de B.

En este caso, un elemento a $val15 a $val18 es una condición ____________  para que a $val17 a $val19.


Signo

Supongamos que A y B son dos proposiciones. El signo

A $val15 B

significa que $val17 es una condición ____________ de $val18.


Signo II

Supongamos que A y B son dos proposiciones. El signo

A $val14 B

significa que $val15 $val18 ____________ $val16 $val18. wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/main.phtml0000644000175000017500000000003111074456077024532 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/INDEX0000644000175000017500000000103011255467045023330 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF si y sólo si description=colección de ejercicios sobre las condiciones de necesidad y suficiencia. language=es category=exercise, oef domain=lógica level=H4,H5,H6,U1 keywords=necesidad,suficiencia require= scoring=yes copyright=© 1999- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.01 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán González translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/0000755000175000017500000000000011213710131023310 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/subset.oef0000644000175000017500000000166211244352552025332 0ustar georgeskgeorgesk\title{Subconjunto} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria (sólo)} \text{suf=suficiente (sólo)} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \text{atype=random(1,2)} \text{atext=item(\atype,que pertenece,que no pertenece)} \text{btype=random(1,2)} \text{btext=item(\btype,pertenezca,no pertenezca)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \text{good=item(\atype,\gsuf,\gnec)} \text{good=\atype==\btype?\good:\non} \statement{Sean A y B dos conjuntos, y supongamos que A es un subconjunto de B.

En este caso, un elemento a \atext a \gA es una condición ____________  para que a \btext a \gB.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/iff3.oef0000644000175000017500000000144511255467146024663 0ustar georgeskgeorgesk\title{Si y sólo si III} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria (sólo)} \text{suf=suficiente (sólo)} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \integer{type=random(1,2,3)} \text{sign=item(\type,si y sólo si, si, sólo si)} \text{good=item(\type,\iff,\gsuf,\gnec)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \statement{Supongamos que A y B son dos proposiciones. Si uno dice que A es falso \sign B es falso, esto significa que \gA es una condición ____________ de \gB.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/chsymbol.oef0000644000175000017500000000277011245275235025651 0ustar georgeskgeorgesk\title{Signos encadenados} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria (sólo)} \text{suf=suficiente (sólo)} \text{non=quizás ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \text{gA=\gtype=1?A:D} \text{gB=\gtype=1?D:A} \integer{dir=random(1,2)} \text{gdir=item(\dir,\gsuf,\gnec)} \text{sdir=item(\dir,=>,<=)} \text{rdir=item(\dir,<=,=>)} \text{tiff=<=>} \integer{chtype=random(1..6)} \text{ch1=item(\chtype,\tiff,\tiff,\tiff,\sdir,\tiff,\sdir)} \text{ch2=item(\chtype,\tiff,\tiff,\sdir,\sdir,\sdir,\sdir)} \text{ch3=item(\chtype,\tiff,\sdir,\sdir,\sdir,\rdir,\rdir)} \integer{order=random(1..6)} \text{s1=item(\order,\ch1,\ch1,\ch2,\ch2,\ch3,\ch3)} \text{s2=item(\order,\ch2,\ch3,\ch1,\ch3,\ch1,\ch2)} \text{s3=item(\order,\ch3,\ch2,\ch3,\ch1,\ch2,\ch1)} \text{good=item(\chtype,\iff,\gdir,\gdir,\gdir,\non,\non)} \statement{Durante una lectura, el profesor habla sobre 4 propiedades de funciones. Usamos las letras A,B,C,D para denotar esas 4 propiedades.

El profesor prueba en la pizarra las siguientes relaciones entre esas 4 propiedades:

A \s1 B \s2 C \s3 D

De esto concluimos que \gA es una condición ____________ de \gB. } \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/3func2.oef0000644000175000017500000000226011244342657025125 0ustar georgeskgeorgesk\title{Tres funciones II} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \format{html} \text{iff=si y sólo si} \text{nec=si} \text{suf=sólo si} \text{non=ni si ni sólo si} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \text{tf=\gtype=1?f:h} \text{th=\gtype=1?h:f} \integer{s1=random(1,2)} \integer{s2=random(1,2)} \text{f1=item(\s1,f,g)} \text{f2=item(\s1,g,f)} \text{g1=item(\s2,g,h)} \text{g2=item(\s2,h,g)} \text{cnec1=item(\s1,\nec,\suf)} \text{cnec2=item(\s2,\nec,\suf)} \text{csuf1=item(\s1,\suf,\nec)} \text{csuf2=item(\s2,\suf,\nec)} \integer{cc=random(1..9)} \text{c1= item(\cc,\iff,\iff, \iff, \cnec1,\csuf1,\cnec1,\csuf1,\cnec1,\csuf1)} \text{c2= item(\cc,\iff,\cnec2,\csuf2,\iff, \iff, \cnec2,\csuf2,\csuf2,\cnec2)} \text{good=item(\cc,\iff,\gnec,\gsuf, \gnec, \gsuf, \gnec, \gsuf, \non, \non)} \statement{Tenemos 3 funciones reales: f(x), g(x) y h(x).

Para algún valor de x, \f1(x)<0 \c1 \f2(x)<0, y \g1(x)<0 \c2 \g2(x)<0.

Como consecuencia, \tf(x)<0 ____________ \th(x)<0.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/iff4.oef0000644000175000017500000000146611244347261024660 0ustar georgeskgeorgesk\title{Si y sólo si IV} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria} \text{suf=suficiente} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \integer{type=random(1,2,3)} \text{ifs=si y sólo si, si, sólo si} \text{sign=item(\type,\ifs)} \text{good=item(\type,\iff,\gsuf,\gnec)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \statement{Supongamos que A y B son dos proposiciones. Si uno dice que A es una condición \good de B, esto significa que \gA es falso ____________ \gB es falso.} \choice{}{\sign}{\ifs,no podemos concluir nada} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/.htaccess0000644000175000017500000000001611074456077025130 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/parity.oef0000644000175000017500000000133311255467161025335 0ustar georgeskgeorgesk\title{Paridad} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \format{html} \text{iff=necesaria y suficiente} \text{nec=necesaria (sólo)} \text{suf=suficiente (sólo)} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \text{prod=ab} \text{sum=a+b} \text{t1=\gtype=1?\prod:\sum} \text{t2=\gtype=1?\sum:\prod} \integer{p=random(1,2)} \text{parity=item(\p,impar,par)} \text{parity2=item(\p,par,impar)} \text{good=item(\p,\suf,\nec)} \statement{Sean a y b dos enteros.

"\t1 es \parity" es una condición ____________ para \t2 sea \parity2.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/symbol2.oef0000644000175000017500000000145011245275163025412 0ustar georgeskgeorgesk\title{Signo II} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \format{html} \text{iff=si y sólo si} \text{nec=si} \text{suf=sólo si} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf} \integer{type=random(1,2,3)} \text{sign=item(\type,<=>,=>,<=)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \integer{ttype=random(1,2)} \text{ttext=item(\ttype,se cumple, no se cumple)} \text{tnec=item(\ttype,\gnec,\gsuf)} \text{tsuf=item(\ttype,\gsuf,\gnec)} \text{good=item(\type,\iff,\tsuf,\tnec)} \statement{Supongamos que A y B son dos proposiciones. El signo

A \sign B

significa que \gA \ttext ____________ \gB \ttext.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/3func.oef0000644000175000017500000000242111244342436025035 0ustar georgeskgeorgesk\title{Tres funciones} \language{en} \author{Gang XIAO} \email{xiao@unice.fr} \format{html} \text{iff=necesaria y suficiente} \text{nec=necesaria} \text{suf=suficiente} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \text{tf=\gtype=1?f:h} \text{th=\gtype=1?h:f} \integer{s1=random(1,2)} \integer{s2=random(1,2)} \text{f1=item(\s1,f,g)} \text{f2=item(\s1,g,f)} \text{g1=item(\s2,g,h)} \text{g2=item(\s2,h,g)} \text{cnec1=item(\s1,\nec,\suf)} \text{cnec2=item(\s2,\nec,\suf)} \text{csuf1=item(\s1,\suf,\nec)} \text{csuf2=item(\s2,\suf,\nec)} \integer{cc=random(1..9)} \text{c1= item(\cc,\iff,\iff, \iff, \cnec1,\csuf1,\cnec1,\csuf1,\cnec1,\csuf1)} \text{c2= item(\cc,\iff,\cnec2,\csuf2,\iff, \iff, \cnec2,\csuf2,\csuf2,\cnec2)} \text{good=item(\cc,\iff,\gnec,\gsuf, \gnec, \gsuf, \gnec, \gsuf, \non, \non)} \statement{Tenemos 3 funciones reales: f(x), g(x) y h(x).

Para algún valor de x, \f1(x)>0 es una condición \c1 para \f2(x)>0, y \g1(x)>0 es una condición \c2 para \g2(x)>0.

Como consecuencia, \tf(x)>0 es una condición ____________ para \th(x)>0.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/iff2.oef0000644000175000017500000000143711255467136024662 0ustar georgeskgeorgesk\title{Si y sólo si II} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria} \text{suf=suficiente} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \integer{type=random(1,2,3)} \text{ifs=si y sólo si, sólo si, si} \text{sign=item(\type,\ifs)} \text{good=item(\type,\iff,\gsuf,\gnec)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \statement{Supongamos que A y B son dos proposiciones. Si uno dice que A es una condición \good de B, esto significa que \gA es verdad ____________ \gB es verdad.} \choice{}{\sign}{\ifs} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/iff.oef0000644000175000017500000000144311255467124024572 0ustar georgeskgeorgesk\title{Si y sólo si} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria (sólo)} \text{suf=suficiente (sólo)} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \integer{type=random(1,2,3)} \text{sign=item(\type,si y sólo si, sólo si, si)} \text{good=item(\type,\iff,\gsuf,\gnec)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \statement{Supongamos que A y B son dos proposiciones. Si uno dice que A es verdad \sign B es verdad, esto significa que \gA es una condición ____________ de \gB.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/src/symbol.oef0000644000175000017500000000143111255467174025335 0ustar georgeskgeorgesk\title{Signo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{yes} \format{html} \precision{10000} \text{iff=necesaria y suficiente} \text{nec=necesaria (sólo)} \text{suf=suficiente (sólo)} \text{non=ni necesaria ni suficiente} \integer{gtype=random(0,1)} \text{gnec=\gtype=1?\nec:\suf} \text{gsuf=\gtype=1?\suf:\nec} \text{choices=\iff,\nec,\suf,\non} \integer{type=random(1,2,3)} \text{sign=item(\type,<=>,=>,<=)} \text{good=item(\type,\iff,\gsuf,\gnec)} \text{gA=\gtype=1?A:B} \text{gB=\gtype=1?B:A} \statement{Supongamos que A y B son dos proposiciones. El signo

A \sign B

significa que \gA es una condición ____________ de \gB.} \choice{}{\good}{\choices} wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/endhook.phtml0000644000175000017500000000010211074456077025234 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/U1/logic/oefiff.es/help.phtml0000644000175000017500000000005211074456077024541 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/adm/0000755000175000017500000000000010603511343020042 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/adm/auth/0000755000175000017500000000000010603511343021003 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/adm/auth/adm~auth~createqcm.es.tar.gz0000644000175000017500000004640510603511343026455 0ustar georgeskgeorgesk‹è)éBì=ÛrÛF–²71ö%û²U-‡‰È±,àm *{ÏÔL9ãì$5US¢× ‚M±c`p‘%«4•Ü·}ÉÛ¿b÷œ¾¡‚eIŽªl}9}úôÁ¹6ZÞxöw/K§÷cê¥ôG¶G“ý­½Úp z=~·{m¼ÛƒÞ€?ËkËn;DZ»í>”Û½NÏÞ"½­wpeIêÅ„l½f³d]»ËêÕDÔý¹¼ÊõÿšÅéÙÜÞ—ëowz]»Óv:°þýþ [¯ÿ/¿þó˜&4õæÔ¾îú÷»ÝUëï8®»;èwíAÇÙj;íP´ëõ¿õk{{›L˜?e4&cJæñ"¡aê¥, ñ9ØYàò›@Cë`~hr0:<˜DaJü(ˆbwìůü3/<$OyÓgr°möG‡;íCß`Ó~¤Þ( ä5§SwÐûŒƒMc¼á±øA¾ö„ø4M)áhì’“(K¯ú†L¢,YL,&cšhôMÒœyétÿ±3š´H’A;šÀC›C‚ÿ5øÿ$J6ǹ'{ä«Ü8b'€9ùœú,ö¥1%ôt0Ÿ¥t†ã…³T‚nΡè)ÍaŠYHÓÐG »ü)É ×.t™°Å¡±hÏ™Ö.IpÖÞlÄŽ¡åbÏD™ š< aô7Ägaº Ρjþ4Ô3‰L=xU8•Â<~æPƒ¦‹˜Q ÓxÑ™{,¦œ#¼f8ýGBåô̵éøØ¡‰«,;CQ”Ä,6_WOh«à¥8ïÄc +5Aò…>p.â ÌãK1‡‘0l6yÛ—çöEkWývà7ã`èÂð¢5lqÂÛlBc:‹Ü(c²Z®<9˜ÊaÈ6Èê1Áf Hê}üÑhÒÓ¨Ñ"‡ºMÃ1›ð7¿WpÃpŸ¿øCQÀÚQOP̽yþ«$ð’éK&ø*¹ad™o/=¡I=z3ê Ï`aH½N\§‹™¸½öaCVÀX²}q8> ?šñ9œÀrŒéÈÚª¯÷Hÿƒ„JoÆþ[§ÿmÛúßév{{‹×Úµþçú×›Á›˜`¡ÞÜÉ‚8B—S) â6@Ñ¥g(½€@¸Š<€7#{òÍÓçxlF÷ dEt=Fy²—…̧{“*”¤+<Ð,ý‹ ÂÁâ1 M´Œ•‰%EšÏ–Û˜ÇÑ<‰éeeñ'üéZRþ¸]xP·%Î0Þ+9ûuó2šX\Í@m!?´_XRçÌÇO’žz¬M~OŽú0>¯Ù¦§ŒOGi”dÊW L(‘©t± 8ë©UkÐ+[ ˜¡^åÈÙ­ Wí±—zedx[g}[ɺygÃæ|Š’Åæ#Ù›£ŽÜm´<ÓÊÞ°PgÒÕåO¡Ò©xɺ+PS mùÓ8 a ·mqãGé[„/†‘\»S+î_£þOщ⽈NnMÿ÷îÿwºmÛi÷¡Þ{¯ÖÿïâúôSvwþ&>?8¯± úK¡œw¥fßUî‘5„ò€ž[Ãá0Öx bÀ¶.¬!rRÊ,§3…â^xìÓóI öù4–xq{RáYCðRé1…àÉ5Áu-ѧÊ.Ĭ!üŠÙéyn`zˆ•DHZ\÷&¸6(P‡²O«b0µ1[¤ày.0VÑ 0G3Ìc¼¾9ž’ß…u¿ÖC[Žª‡Ea·x1'˜ ——Ϲ4¬Ò-æÈI°0š¤£% ±€á~&ÞÍBD—*Äó[sÖ„.µø¢ÐbÅáq¡Þn/5Ø…KØŽœŠÁœ,æ<<‰Â1p)˜ç£c7ð`IÆ4Þ}=!·›fñYÄZ&FŽÂìþÄ*‡Ç(8½±aiåçbés4Ñ<'AÅÍæ‘~`·ö–1@.ö ¡›7øÌ‘¬åO#vJ¼`á¥Äìd¡ZÛœ?ÝØ ÇѬiïí 9¿â|ÚPë*~=bÛG/4ÛrÎQŒC¤ÕOeOÎ3îÐd"€ãE¸ˆóa5- ,$àz“lˆdšM&m%¿kŒe=g4a·*9iÐ@ŠúÊæI§hÒ˜ù„÷5Z+z…£¹«}`W‘æªÍùøPÞÁâ꜡™)\œõ&4nÐåïñÑ _ ^è—;b!ޤpÆÉÖ‚=.ÌÃÆb /ÉF1ŒqÞe®¸ äh¶Ã2ñ²qìqîJX,Ý;#?€T oÃ\@Æ…ETâ„úJà¸*òb/%½”:ÄBN:69ÊmM*/DÓ›_”‹ DƾºAÂÒÌyÅ›C¶[æ ayQ±''hÁé¯:agEöFΗr"›-âHÇÆAÐ Œþ&üA‰ ̷׬[ß)´•ÕVôAThÁ/DŒƒ½\pIh–2ï B²#…$óAô¹v$ ‚Ö·†`‰À6\B³xSü—ÇLet\Jˆh(®Þ«ú°‚"¯"™ì×݇£ã£¦ó›á«‡ ;ì2FÐIªÚ«1­{ν2`dŒ€”²0¡à1Žqƒ3bï}ûhøêÅ‘}y`Tƒ)Æ…ä/èòèE©‡¦ÞÓÑTzÕŒêùÝÐìHáZš¤ó6“l_=P¼våéŠzüu!8ßz¥æÛÕËoâR • ‚VTž{¡ëÜ,#pÁ³‰H™Øœ!x÷kR©"¯Lo6癈(›1°Í൥)H_/8K¨Ô¼R…[C>¥ó!—’R¸=æŠââ­i´±ÿj^XWÌÿ:·ÿíwí<ÿÛ·yþ×vjÿï=Êÿ:×ÉÿZo—ýÍ3_o‘6”¸á‘“E žîB8Kx»Š0}1¦3žÔåÚU&‚ pÍ(3@Šôï¼Bq!ý*aÇ4´ćd§,˜Ç:·Þº<Á,Á‰<3 TÈ1s3ÎL4‰käÇ`ä%*Ùº‹EؽX¨(=:DÇk!K÷öö*òÐż¢±<—ä¤sÚé\´.Z‘¾RBú†3Ò—¦¤‰±9ášIi5Ñá3jºâEn“P[<°¬°HLĪj]*rÛoÜγۘÞ˜ wh ÿdš»TVLw—*gyÚÛÀXfµ—sߦ 0òßk2à\åå&‚B'-´"¾D8)eµ“·œ ×UWʆÃõ~ìÿêÜ¢þïtzÿ—ÓîÊý_uü÷}Òÿ_Bÿ¯Õú ÞgP%±ŠÖ‰íM¹Ú]¤À –Ž"7H¡À]±¥ª¬ÌƒŒ=ôH»\ßû˜í@š Ïúhª=‹l.z¢æ]d*°qÔPé7ôƒ"3‘-Û?[Ý´<,$k:Æ“ÀhÞh²–ÆL|4•š­ŠˆpTçpÙÁ›V;xP6M ~ìsÞÔÞÒôR<š«»[^áFîq­ˆ<,#ƒTÆU¸Ä¥/F<Š^iÜÂ¥ÆR$ôè˜SºÑĘu'G£fÓùMƒñÈG –D%Ý…ò}œŒ.+}áFSŒÙÒ¾ð çYʳ,î}åÞ7° á!)·ÁT'©¥ûȃò̺•Ão©ie‡ÃJßz5V&gÂVU7Ýèóp”Ì] ™Ó«EÞjÆG ö@.Ú‹Òäͪ¤ƒ³Ls¤Vu”Aï—¸'SÑ–m·½Ì •oQŸr¡ bTÀS:ôÒ{KBr¦@H³æ*t¼§@Ò(‡²’FÄ¥!™J‘ü«Þ§¸¡ý×½Eû¯Ûïwrûo ã?µý÷>ÙÝ÷ÎþÃGN(x„4æn½™Ð8‰DE$5´›¬½YòÇ€$;Þ1ãñ, DÐ øöé ë”ðØ›£ìü¹ú óŽ“­”)ñÞd±¶šIŠ~û3îS sBüy'ÊFüD®’ÏÀÃ˰(Áu@WåòáY¤“óŒ¬4W¹«&l#¾…7b¼˜€\ÀÔ¡‹%k §v32 F%,Ó“Ðf‚Áq%(— W I.-†‹íCKó¯.Zâeb ™+L¶â…Zʯýy½0¹œ.•^ZÁrŒ½1‹¤Ù(öI£±mæ¶ÜuÔÎSpÊ6$¥Èš‡ä{.“¬’}gà£wÿ\ 'Û*8+Û2mÕ*$÷ Ÿ(±+‡JØêöÄ rÏ”2—åãa‘êMô³øˆ8-ý%“œœvnsßÖœ.×4y u£¹:†ëiLÖ©šì=#-y&ß¶/6ˆ „¿ë˜D¢¹ ±Ê~õJžÙéN5Òk"]±d|›Z0þÀ 0ЊÆc³±žoq!×cCû¿w‹ö¿Ý8Úþ·íAÿ}ÿìÿÞUíÿMÍaónhþNÒÐößÈ$ìÂ>f £‰– OÏb&·OŒ¥Áœã;’[«ü„KµÅPoch€ØI¡oc0õf‰UŠX®èõD¢¿Àñ‰£Càvý·r—vz]Ѹ)ˆc.ä:m!å$…˜»ß÷+Ôð¦ñ›1~„ß×Åw±käøÓý*sŠëŸ-´¡üïßæþŸŽÓÍå?Ö×ù¿÷Mþ÷o-þóÛÕ à †'VöÕ_ž>ùþé|õyЄ8Ô†à“ò:'g„‰HjY¯?j(J‘û#`ÄçOoì­ÈcFEøs ¼! @`:!º°¼Ú3®… ?Šáý™GÂÉÿY¥-„‰:é„$”ïësÜc”OŸãg1î$þ|Ð,Ù:ží‹·ó4ú<ö^ƒ€sÏ@ßž_Éb>y9_ÌQœ¥êŽÂtŒ_à§7ýÕÉyZ¨³,8”§ùüÄÔDôáJÍŠ°&¡±ê¿Ã÷O¦é„Á Èî¨ÄHÇ*íÒÒYKvµ½­ù~¦i5WBn!—’Œ³?àÆ²ÿåñD/–|ËIßøôÓ†$ ¯|¹ø>¢±[ÁKqcT¢ßÀ aìÈŽò ¦rIÀçZY õ’Ø!‹® Y|Ñæ ä÷¤mÌKfNö ¼½Ÿ‹<S¾yŸã™‡7L¬Q©ÞûB¥ßïÞ—‚ã>HÐâB9ƒ©øšÆ{süz¬þõõäÛ×ãÒóŸº]uþC§Óíãùý~}þÓ/¡ÿÓØÓg¡¹ ú«Ð¥c ðk2}B<ñ…}è°c<kÔ UÇ/ä_à‹“VÆP}ÐÀÛŸÈP8“á†Ne0"‘|Þ® ƒ¥N(œA FÔ”X:vÁ;@ }¾«>ÿ׸¹Åm>¼=?6@tRûzr¬±ÆŸÂ;ÀxèÈjqÔ€„Y /T*ÐåAëN¤È?€]{ÿEõ¿sÛúß8Ž>ÿ©Ýs¸þïukýÿAégê¯Ö%°V+”õBY3¬Ò ××%Sá†5DAG¬T†iq#ÇôjV†µî ¡r8â'F-t*@š½áU¯ê×Y‰J¥a“§ñWѸ1I,j— ,ÎÏ^ª0r°&¨dè¬îFaeO0Ýä™#y*„±×rßi½°ôy¥}˜Î uÔ™qŠY©.oZþwn]þ÷ÛâüŸv¿×³í—ÿàÖòÿC’ÿjù¿¡˜Â³®(¥h‡ó²ŒÂÇDn6Vl0V [ü$‹‡ÃÕÈÒ¸=)~5ŠY! ‘å3HôHùjÅO4äk½,xø<øgØÀR~µù5GÙµ2Λ«ÐJjPÔMùZé/D´Ÿ)¶Ph´•¹,tJÃkŒ¥Ä§®öjJ~ÍZÏf•’¿žwSTð7èá(eM ²æœôžø6—ËÿîmËÿŽc÷•ü·;Xö}þë‡%ÿ»o+ÿÕq5WÿêË4f3s¿/¶„ë!\|ÃÅïü¨Ø °1KõÙT…-± -Ê ßŽüiëýx²À‘û½äcGîè²p;GøW¾1ÀåH÷,õ²Ú6íý€z¡!yK>ŽˆÄ[^ìTw âs¥Ò"ê4¶‚‰ã×x£ Æ¢ S}È«¦å„ñŒ°ønÒ×bIÔ…IF«°qåxä&»>(N¡d)T–TÜg™«5«5$° 4p ¾rŽ&æ ]¨¤>™y§læy¶Õ¼©†m=*á}¶Ý4–Ûp®Š ûÀá ¯¶„vN®^ö DÌÙ{³upTOy·§Ðj½ÍºvôºJÖÌù]²æ&ˬ&W@ÀØŒ«ÐY·À¼_^>ðeMÇ9'hЂrä+ÊŽõ*æÍ6]Xcn+cÖØHÎáàáw5`g3À´¹æ£ %Áv%1^¡ÊŦÈq½ßµ¾Þ…ý×»mû¯Ýµyþï`Јøo¿ÞÿûaÙ½·µÿä_ 0$?ÿsƳùw6¶…õ¢•‚üƒÑÉ1 ­Zö\áý4»íøŸÝˆ÷¿çà à¸ÿ³]¿ÿïþý—çúò3·Ô¦µ„<ú{ò¿õò¥Ç3EE¥Û[_âûe¼jæ±ñ–Únç"oaö²tž¥na7˜:«ÿ @CÿmK—ƒ7Æ%.oL]Ò{Åõs¤Æi¤{®±iAŸÁíõú€ìÒÑ'^»ÒvÕ%_äft~¨µróS¬•¯˜Ÿ[ {åÆŠÂWôì5àd»ÛhzJìö~± ÿÙí‡v¡³A Ÿ µðä(‰ ôâüÁÚžIë÷ņ{É”7Áí‚ÆJ“2ùªq÷×l‹§[äEjÃëƒÿ{_÷ò»4Šé-Ê»  ÊgÐëô¥üïÔòÿ]w~—í­­OàçÇ[â~÷^uÓå¿¥ë®ÑàÂøcù£ I€õõþ_¸vm±­þ¥¥õ{ ÿÈÿñ‹·µ¶æ[ñÝJà_ºåÁݲ‹}îüû}œRŸÿÙ O§·7—ôéVàvYŸ^n—õéWàößFŸxŸh˯ÀÇlW_õU_õõÎl©þµ&E}ÕW}UÈ"ïåý'q¿#ëïÊûGFŸOäÈûcyÿIÜïÈvwåý#yÿXÞ?‘w"ïåý'q—BëŽt>îÈ‘ïHåŽt<îy\¯c}ÕWÕõ/âö êÿ§«ýÿúª¯úú5ëù¾þîëßåÁÒuWÿe¦!`wELéߌòÚ¨¯úª¯úzO®uù?gÿfÆÀ|Ø ×[¹ÿ«Í¿ÿ²;½®Ýi;­¶Ýïz[¤÷.ðOžÿ[¿þúü7ûºë¿nÿŸm·eþwÐîtøùŸ|ýëüïí_žÿ&·þˆ-"K§Úõ†Ž_§üÇ¿ 3òíßíõåþß¾Ó¶ù÷_½~ýýï»ÿwp½™°Äæ¶_GŠÜ·kîÊÅOä>Þ?E@›‘¿=ùæéó?<‡ ¾÷Ì›Ñè8zŒçÊíeÿÏÞ·t·mek:é”Гö¤×:’å˜*KðáØ¢*©ØN§Wâ¤WÝ®e¹\ J°A€@YŠK½jÖ¿ãþ‰;í¿’ÌŠƒ;º³žtï½Ï (Q¶DÉ °‹Îg?Î>ûì/Â~C ®ÏKÁ“èÙ+Ït‰@rtT_ â/Såà› ñ€©<":–QøIRíP©17úÔÜpSUÇLß5Ô”v¸ôBÂL-)è¦Ô Aµ¤ bâ) €Zä¼XjL>™*Ó΋©%J)¼Ó»^ž®öÜ€xððSGóá-þ“ʅÚ}ޏÂybLk?ÇVáq2õCxhbäúÐ?òáE»ñW§ïG©?„"шwËãdDEöú‡¾K^µÎð~_B Ãͧ}ÿE>Å(¥4ÚC•µúÚ5¤Ñ#j‡3ü~ó_:…˜&ÿv"Uñœ~Ãr|9áøÊᤑe•ÒÃã<ƒL”»ÄOð¬uò# 8ïzÔHám¶ŒeËÝ‘ûòä¿ÙçL³c‘þoZf}þ{)×íÛŸù…øð¸xÞdyü|#ÙØƒ¡ÿÖØÛÛSîëÆ‰±‡S)N Ï-|Náö m|Œ‘Ž}ÿí0^ô[ á wÈË VØõí±ŸžÐq#RC`–*ÝÄØ3ßp×׫hJàF½Ò1ò4(ˆ=àƒüä©<†"ÇÝÅ‘ Q@ò 4"'ý€pŠÝƒ.žà¿éää-A÷è¼¢uR[ >$ûß{<3þs7ǰz6Çÿ±kùìÖµÃÿ‚œŠ‚d޼e z‡‹õÀïÉ‘û*ˆãÔÂ:?M›ì‹B^âÛO|7H܇ Ë”ç£EQÞÔMDÁl ÜvŠK0.Euéô€°ƒ$Å!ÙÄ[<èÃÊDo|_¼P@¥â}:Þ7›MX†§86ÎhìO‚lÚ4d®±¼Çˆ^ö“†W9g¤ ß8È'sRëöÏ¢D‚tàM¢wì"Ðå!;ø'ª²%ÚI|oúÓÀHØÌÏ@Ò! $G”¡"}ÐÅãùnh6õI#»º Ë?¾ ݺ Ò‡)‡SH§Ðð)ט°âà ٟ„~“Í‚ÅîQ†ûÚ—x!(q •§ â]‚Èu 6ƒãÈ>ÈaâZY{†Ìöò­y²±©ÝZpËöB/†èÏG'{ ÈZoÝ<Ú²1…ó öŠõèФ¸HK…†$±8îf1BêYE˜ËNk7·¦è8¿ìíHþÛ—(ÿÍn»£ä¿mv¹ü¯ã?_'ùo_;ùë©€0‘󵪈ñ†ò Ä‘7!¹DЀZ HΛ…íI7ô"E 袭2Ý‚ÅIR!~œL±RÞç6{ä`ƒ¼é«Ÿ¥.± ˆ`ε‹‚¶Š\üÌCð-"¥>“‹v> iI"q1•*©¡ ·óÑתôX%žlí®±RÜO &­R)+eP×õ†Op¬Ÿ¯wì{µE¤ª†xØ}hjP@€2=uÅÍÚS é•ÐW&ïJþiÎÕB²ßr/ß )•ÄÇpE퇬äç%¤[´x äÿíKäÿ–ÝÒø?¦Cþ_ãÿ\'þß¾¾üŸ,9.=® @¨¥ŒDT‹ MMFp¡Òêì^· çšq<ÀݾóÊŠqž%âŽØ†åé“¡JÛP‰7~ßXWFÅõ|gPRØí¦bä“þz24òG¥vTÂÛrBHÁÈ+ñ-Y|Ërfa9öDÚt+J8¥4•ÿÏU_xq±7¿_øñ3Ï0õÓðËùˆÏÉR(~“8ãÝ"Ôr\³ó­Rmá~½åc½þ»tüw«cjò¿gÖë¿ZþŸ-ÿ¡`_2 ê{[¢*x÷‚ùí«¥wý€ y£ØÃháI^16a¾“º†ã9cd×?—Jpªý GÀtU¹ht¤Ø- ‚ ®-èùÜZÅÐkÀªpûu§¡dAm(tØç»¾¦;5oøèüĤ…{þP4™ _è0àÁDA¶a:¾fÆ”òK¡µÙ¢Ã˜´9´’såKZ„ñI.Äé)°%Â]vIí"½ô·d‚†ù&A3ƒ‚}5»yg7™±3 aD€¾Fˆ ±Fg6ÍÀ¶ajÞ¸ó·çÅÆÁ$Âãê<Æ`]©´Js¹Z{†®k0¥$5ºÞ¦Ô"J¥” ЂLŠæç^kWÒn|ž!%fÜh=dAùß½Dùß2[½rü¿^«^ÿ_'ùß=õüG§ÖÀo¸þß[:ý×þŸ×‰þ{§Ò·¦ÿ›Jÿ±k¾wgÒGà?v¬VŸ×øWEÿ‹â?X3ø&»}{†?Àì©‘]>pú¿|üoKà¿´ºv·‡ö¿ÿûãÿ*üïû“-“W|N›ÓÎ'j,Ag‹\â|c:[ï;-6³ôò‹'ÝðM^Q :»ÆßùÀøÿ¥ã·Úm…ÿju{ÿµ[¯ÿ>,þÿÎøß‰ëTÆÇá õ¼¸)iä1Úç¼ä‘´¿Ü/¸k©w"hÀÜÓ׿>Þt6ý_:þ³ÙËñŸí–Ý«éÿC¤ÿ9øÏ¥‰Ik +FäÜt.½H‚Ì“PŽ3ª°ÕÄyßæ5À{:Ni Ç)³àn…mÃ(Õ-žZdKgõVÌã'‰@.è_”ƒ4ί¥›VP®Ž±H«ìkCyE0¸Ô¡ó:eádYšÛ«®ßr°mL´JMªËvPW£cÁjß°ì\&¸ë¬2H.IØsJ`à)ÚEœÞ^”f2smùP8Ô\­±CM¨²çPZºò¡+Ák½ËÕäÒ¼Usºèå'Ç8M›ùPϵà=ƒÃ˜5¢aL-°ZNåœ\ÞQNÍÿ/ÿÕ–ö?àÿí^›óÿzÿïÃâÿïŒÿ*®Ÿsé«‚ïå®0õêò¢é¿{éôoòó_v«c[mÛæö¿ÿïâÿn…ñ¿S߇MÿËÁnõlÿÉ2­ŽÙæøÏµýéô?ÿiÞº©èϺ•ZC.,4ôg2&éàÏRõÐÁŸqåyÓAœkæyÃù¿}•ñß»uü÷«ÿþKŠÿ>ëÿ×íÕòÿ*ôÿwÿ^3ÒÉÿ—ÿÝî´ºüüŸÕn÷ÚZÿK¨éÙôfüw{¹ñßíSã¿)þû8‰ÇJM?5&<¥üU…‡csZ¿´$üÕ:»ErCcíXÕFÝ9Fp ¦}Ex fû¢ÌŽŒÞOd,HÌê À€Á~?t`Rz~²Iáª6³Iòã$R¿< ÈÕ-U?hÕâ+‹‚ÀPydŠÂÜóÉŸ·#0@;‡a'Æ~¶{æÆ¶µ¡64.q a?OpÇÚ¸yèb~0±æVº8rT"lO§ÛbÛg +DasbÝ] …u~D ±ã˜6©š>¾ÃÇÂÛO&Ãaè7ö“T_@¼'z¥Ã-¤4ÒlÂuÀ_™<“ X>hÄŒòj©å¨Eƒq_VzϬ*F(˜¼HNõ«‚ò }.÷Þ¸^ NÞjïõÒH]Í™?|‚‡/dÁPê‰â/˜bM²ÍØyh5§¨}bñÈ,T…KYÀ4]›²Œ%‚ðÜ BÊ¿—8D4i ‚0:‡@8ìhT•d€>ŠT2~XlJ’º@t‚ U /æ’ìV®îöð! ]0|»'R´ÔPš€Uñ¶ž”y@À$"Ad“>m@Ãlì›å¹!J˜ý¨˜“†‡§ ñÏÉÖQ_'1Ìo¤3Á['£i+3;¨ánxÀ^ÉREi®yÊÇáU5×µ iÅë{sò¼¨ŒÙ}_T ¾Åÿ™ >¹_Š*Fú|¯ ͇OxJ䯽Áþó†õû½×ÀÖ0’ï !(ô‡YUã9!‹a&û!)ƒ&;ð=üÂá137÷\óùÞë'¬2®p1*/'dyø¢:~ðܨÁsúwA½c…k¦“Ö»t²±÷úžœkçîn›ó„Ï${©ì춪?ehQ+ÎøXaø§±ñXT7ˆó,0D¬<Ø4!(û{Ž’–lG˰ÈUD:E'‹UÏC•ª0 Ö¦Õ:9O8Ïw—¢ª]ʈNôÖ|@ªÞ¯jÁýÿËĪÞÿ¯ñ߯Óþ¿uêþ¿Uïÿßpú·—NÿuüŸëDÿö©ôo×ôÃ鿽tú¯ý®ý·géߪåÿ¯‡þ;K¦ÿ:þïõ¢ÿΩô_Ëÿ›NÿËÿ]ǹNôß=•þÛ5ýßpú¿ÌøßV×Vø?KàÿÔö¿ëDÿ½ÅñzWŽüÃñed|¤ DþQ@èsQoN…âÁðITÜêt~š$9@ŠœŽ›|hžÞ'ƒ1xÆN*¾˜¤Ðg‚RtÌáè1U.\õC~.¹O…è•s軪ï†ú; o:›ÿ¢XDY4ü,žd~ÊÝW´ 7hDÄ€TCÑ>ðArØH5*RŠt¡¨H4¯úè \¦‘‘ E>‹b#«³ô<³)ÿôtvö¸TbqVáLÓHp7V›Ù24øMáàÚÊ÷í%ÆtaZàK³gÄÒ¸Öåfy¾6™EPPÑ*½æu¡),ßÊÿ\²z3´#p>¹{®B å·»ÅQo€pÅ0˜µ!©êœòAÈý ôî’tSMY¬¯Vî"¡wÖªêìŠæ¼"æLîÉNäI1ã&¦Ÿ‹-£ì×0¿u±FÛն߳џŒü¥å£ PќĞžXõ·øk´Õzý7ýwéö»^ÿ]£õßýÿíWMÿŸ.þëó׉þ?­ñß~ô¿ü7KÄÿïôÚ히ÿ_Ëÿ« ÿBüWí ‡tÓßj´·_ý[K¥ÿn˪ã?ôoUпUÓÿ£{¹ôoqü¯N-ÿ?@ú·kú¿qôß^*ý÷þs·öÿ¾æôßžñ«åÿM¤ÿÎ2é¿C$Tã¿ôß© ÿZþß<úï.—þÍ.×ÿkú¿æôß­ ÿvMÿ7Žþ{Ë¥»^ÿôß«Xÿ×ôóèÿþré¿-ìÿõúÿšÓÿýðñÆÓÿrðmÿ»ðÏV«Uã?^ýÏÇÜ"çgû¦"@ê (dZFC€äžÝ:¤ðš/@@’cvþÄÞ×ùh~1“]Ei¶ç€Qš2¥Ù­€£ìý:à(k¡sqü_ºü_Lï€ÿØk·jüÇ«ÿþ@¸é#?u~Îî’ôÿ®Ý’øïÓBüg«Õ®Ï/KþË‹i_šâPKå?eÿBIÏTjƒ5„bbÜ÷gÇ„¹Í¾ÜÙd|aôv7ÆÃgtžWæ±T ò|/Bᇞ„ú™ÁúˆúB[å±!ÏñhDNrGeQ?¤ä¥r¶1ç£é(ÎSÞwfÞówgÞÛô^%Hñ,j¢¨‹âªðº„:ÏsÔ!™héàʧÓ?hnè;ÑûóÿÓõ“Ó?¼íý·ÚõþßÒéu‹_j=@‡Ù# ÄøØçÈ08¦ …‹‡¿"‹^Š!‹ÂÔi4 ƒÕ…ˆªGØ& )fFúàÙlù#•õ”ôÏžPÄîàG¾:ÅÇëtv8„sÙ2Õ°X1”â'^àŠêeŠ Ñ]LƒøÙÈŠ"ŸÆÑŸù;7FÀ¸ˆÊù'@'ƒtŠö¶ÃÀ+”l€ˆ™*¿<”ÿ…œÉŹEÑ Ö3Ä’.A鯧¹Œ'ª—s׊ÿsHæK^ÿ¯ï(û?HZÿµkÿŸ¥ó‰4Ì¿:Ú§H €°©À‚éÖâÒè·G´3 ´a› 18‹åXÛŠáÒKK¾Ô·žÀ– $–mé}[¾çKÕâËŽ|©ƒš“te’'_=Uoè•eö×yø­jªB\.”d©–âby{N¢¶(Óæ·qÛæ·]qÛá·=qÛå ²‹ ²-qkñÛÙ‘Úž3¨¶h…%rŠVX¼Q¶®X§súb÷ ·ïoš7çEœ€(¦¦üaÉv¿hÖÄày2SINàã\LˆDù®yÏEÖX*…Z–#RUÓSÅXUÅXåb¬êb>UÅØUÅØåbì«~§ó˜Nû ¬ù.×þ\Ÿó»Õ¦÷V«cÕû¿Kãÿ'‘VÅçÆU2±þƒDn]ãA!×xlɵöšˆS½v¿ugí4 ßBtk»„HZØÙ PR*2'ß+vøc ©µ„`Åog\ŠÜ)`XçGÃ@…Ð ¨+›µθ³#›C“Oz/S• þ­(+ÀŠä̶Ã2ew½ÁÙío<_¾ØÐðd‹°¯ù%ãwÒ¡=U!± ÑaùèöÏ9ºc0Cüˆ£Ó.6º2ú©Þb9–T̵·E‡lw±!Ó«)GËßOœãÝ|6ñÕÓÕKÑp¢®A¤ös‚ª Nm¾"âmuß&ñØ åX35ÇØú¡ŸÐ2£¹²"Þ?Š …ùpH{àD^S‘7&*¨mïÒìZÚ/Jÿž?Š/îÀùýÿ{f«[ûÿ_ƒï?Ìx¾÷÷?uÿwVÿë´kýo9úŸŽµæMGñ&‹#=¢ÑØVuÅ®j¬]hlÑÜ¡7‰–ÚóZ*UòZÿþ ø¿uÙüßìõføÿášñ¾—«óýšë×\¿æú7ŸÿÛWÁÿ»µý§æÿ5ÿ¯ù}]¹ýc·\&ÿo·¬2ÿïÖû˹Jñßð{Ksÿˆâd<²ù=0{ÉË·ÑIßÜÚ&ŽûÖ²ðÏ^í=}z²ÁøÉ,ŸŽ¾åž*tt­©ùpÏ¢A±‡8°óN¢•¢aáª5ÌP Ùh5ÿ?ËþsÙüîfù}þûzð~œc§Ûš6Ž6t!p”³TzElS{Û9ÙÐ_ËœÈÜ!+°×£¿¾µOÊ…Pš£ÙÒ휗¡$(½æìü¨X ‹£r»,lõ‰s:*æ!¯n°O¢A:~Ë!¸½k˜S‘…3¨¥”-L€e‘s‰Ó¦™·ÇCoû‰3>Èë Â­Ía£µ!šRf¢êˆ«â£y’}âÂl¯±÷ý÷}{oq®ª_Ó¹Ù:†^Íÿ+ì?—Íÿ펈ÿÑíôPñGüg5ÿ¯ùÿ2ùÿû*õóµø MJN@‰E³I_­ ºÍ^‹Á{¤EŒ ÙÖ¬eÛ;ðÿæ£^þʼnyüßl·Zíû­ÿ/íúèϼuëwðó··øß[ÿ»:éoÅÿ3×ÇÚߨ óV|kp+ý*ŒÝÛñ1îÝòo ¯–ÆѰ—¸eñÿè¢<†–~|+¿ãržþk)O}ÕW}ÕW}ÕW} @È÷ÿ\E}ÕW}Uð&þ~&þþƒÿýH¼ÿXüý–çwâ/?ÿÁÿ~$Ò},þþFüý­øû;ñ—‰¿Ÿ‰¿ÿàÓúH,>>5$V(ýNüeâïgõw¬¯úªºþÿó;”ÿç¯ÿ뫾êë&Ëùß<úáÑóÁÌõ±PþVT*•€¹±ð¿héjE ¾ê«¾êëš\‹øê{Ôq¦ÿÅÀý?HÕîÜjY¦i×þßK¹û޼=œüð¡*ÿÑbˆËút=Eð'ûÄwƒÄ}ˆ‡† Ʀ‡~”Q`/îÕcütÝ)¸)a¡DÌq¤xXO Ð¼£c*ê, =¢³Dëâç–ùÂÐN™T8Iç9¯—xè(ïÙÇŽ´ÄWyxHŒRuûëD7—ÿ[>}‰üßšñÿ6[½úüÿ’øÿ‚ç?UHpæúîœØ/C<§BɹóÕü3 4§æ³dñz‰,™j\”%Ï$þð΂Š®îNÍÎkþŸû_:ÿ—ú·köìéÿ­Zÿ¿YüÿLæ9œÿ½ÙþÄók†__—Áÿ/ÛþcÉø/Ý®Õnqþ_ã?ÝPûO˜Ç’'Sw 3ŒR¢|z)Ö 3MA—czo#Ð’-@µù§æÿ‚ÿ§(½˜:(þs¯wFüg«gYf»ÕEþoÛVû³¶d; ÛÈ|/¸Q5ÿ?åû72Çußøk1ùÒþ×ÁÀŸÿ»Ó®åÿ2.ÏŽÙ0‰GÀŸÃšÖüŸèÿËï¾Þ².¬Žwàÿðø³¹­ÿçÆ£Qm…Hÿô¢ZYóÿŠïÿÕÓGÿç…~ÿ³ãÿà÷·ì6γ[¯ÿ–tÝÖ\àï< —Á1û&ö²8™Ý´{Mã6«Âk1Œ,ÈB¿Ï'ÓÿøâB†M‚1Zû~’8£QÄ1ò&rƒÿˆð·ÿÊOÜÀ â”BÎã˜Aî¦:ÑþÄÙ÷û~j¸Pä~œ÷ý#Lœú†m ¢¾îûƒÄÙdNä„Ç°Š„_IŒ|èHj„þ¡öÿdnþÉ2^ûÇo`—ö±m‰ÿã$HüþÈ9 FÎ&¬N#uã$ˆöûQl¸ñø8Á%^ÿüùY­V›5vvøÃþß~÷—¯ž~¹ûåÓ?1àD;ÛÎî&éHO°<üï±ã#ö—Ï¿yüí—ߎç!¸fÿØùñ~üŒóAs7kCâôÍf«eàd{)ŸÀ€w Є=¨ÔÈ'JC'Ãò'Nľw†Ž²'~ýyþOìK'qÿÝÑÒ½”õ¾‚ô %o!¹ƒÉ?ƒ?†•Y49º¯ãÿÔòŸø?Ì7~Òd£ðòõÿNOòxÛ&üø]óÿe\««ì»Ðqq÷Eðw7F `´ ‚®•%>!Â'ÓtfNF‘dîr6KÑc’éVä>0~e/Ö2i.ks š0¤åhkƒwÖŠx©;þh—ý8¬Ã °Q9^Ìv¶á©ÂT¿Rl!Vá«zvmWaM|owf½?Iüê¬áI™›Vôœüö_ÿ8ñ#ããdÀ9Iˆ­p\%â öGf™ôšÒ?ˆÚ4q›éÁÅéÿ§Ð¿Åã¿ØíVÏlwÍzý¿Lýo•m‚h;=0Œd͆lýÍKR?⑯lnÛò©x°ù£1LTÊØÎÎgl÷|Ùà9FߟÕJǵ£ÿ(~ß çÿVW“ÿˆÿiv{Vÿ°$ù¿Ê¼8Ц„íæNÆÓeTª¤ bJôÂ&Wv<†•‰á¦½^• Ÿ­ïÁÃuLöo,ˆØz#‹ýáKH¾Þ66à,rÕýÈc° µŸ–¨¿Žï©"‘Ö;W5á^*ý£9WîK²ÿt»ŠþÛ]²ÿ·ºµþ¿œï?ˆ'ÙKZèõŸ€Dö“˜9¸¿§MöÝħ˜ ¯œ$ŒAÝÅÌO³_šÆŽE¦Ï'žƒ;û ã”MÒ‰“Ù@ÓL©àqDn0vB\:Äɾ?)†gGp§iŒ?YäþŽßÉ„!nû‹AB¾N-¥K¤ß¸bñbÊáD¿„è^ ê—cD©€™d+áç$ÄÖÓÊ&OÀ:(‰¾ÂßÞÄ¥Æã`ìO’¼qÊ’#î‹\ßøQê¼ò©~?IâLÀã^BO\5:ÜÚFcL4ã–2j $ ˆ+7)W4*ñʰ” ÍE|:)âˆW®ÒàøVÐIïýÇGã0pU‘®ßv(Ú‡½ý‡7 ãfÍ7o8ÿR¸(ëÏÙú_»g+þß±Éþcw;5ÿ_’ýçۈлÈ3Kw6GnÁ28t“=º{à ‚lâahÞ» ™¾ê#y'#ŽÑŠ4‰@µƒ…^H&"`‘®O‚ûbÚ’ñJAµr\wãíN'Åžî§“Á(È0ÚñÄï¯=Ž'YÛeé$gÒvÆ»˜ ÿ?b}™= ~òû틜‘ß?’%¬AîAB9Žç¤>V©µÔÔ4"â{TMÿ(ß—GÿxØWЯe‘ýǶkú¿û/’²à¿?ÓÚT$Яc†ºU0ŠÑëµ d‡T?Ô™óñÐE Ï®ÕJ‡Kÿ¤ñ^8ƒþ;V/ßÿGÂÇ·ÝúüÏrèÿÀwüÎÝþ€nýaòɽ¬5C¿TzÇzâÅn¾Š}üZŸÜƒ'}¤œOî ÂØ}ÝÇ5÷ÚîÈ‚¡µ>¡ Ðà‘ú¥Ú®8;BAð‘Á  ƒÚ¿âŸJlˆå¾×¼câ_å]øÈ^õGÆ%­ÑÂÕ}?più‹°#h¥ŠûiLmÐ*œï‘-Ý5›;Ûƒ]U¶ð-aØ úâxÈZ6 ÀŽ”3R?Ä&Æ(¹çjà¨L¯ßÊëÇ*•Î àÊ •üäæqÛ…X—_@×m½êÑ ˆrk zÚÄb”Ù8ñ] <ÔQ]kÅÖåÎþj÷㔣qœdx(„€2‘ gô»æks t dâ&a£_Rž(Ÿ£É1ŒqЖ“è¤ÊŒoc–0 †ŸI{6済bÂïŒ+%=C§½ÓiŽó(wâxÂÎâÀ‰¼à'ç•Ïûä§N’ÄÈÏŠ3ÃÝšø±Æâó|Uùo }Auxð±ù:‡wS,vÖùÝîìvþ̶}i»½j»ö܇œ›zcÖÇ â5ÞàìG±hŒÉàÎ}í ~¢¦¤Îbv¤ã€àåÕâÔ b׌łɃ"›q«,IÛå:|í;‘ª…ŠÍx¡»ù!m3¤«žBŽ˜¯xŰÚ+:mY´GŒ·;ó==<ø"¯ÝõŠePÏ׃‡/6òVŽóìlóÒTëuÏ]2“%Fjì¤@™òäÎr5‹¦ìÝö¸â›”§FLÀ3>vÕW/®é?Q> œWñZ±`Éô.fFY Í$“è =ùq„Œîc6H&YL ¹ÎxÁ¾RB¦D‹J¡ÆlîØQÙ…õÑ®ú2Õ "7œ¤ø—Û´úÜR½’]šÓÿÏBóÎêX•èh²)žÕX]EþÌܑ׆õ‰à¿‚%±|Š@B4eNPX¸¤õ ³åÙz„ÿMë?³×²kûÏ•¬ÿVÙ×É¥=4e®ÕŒ@|…(öæøì0r& FцՓ´ÿÆ @cÛ7ÄéRÜôZí¯û£qvŒo©¬Qº/Ê!Ö‰µc§u‡©¤ o^ÙtŒÏyQùŽ…!23¾øò{õh¿RŽ kO…#¤!JÒhgôù>4ˆ7åMœ¼N|ÐQóÖ¨¤´ÝHIy½âñþ^ œGÿ¯}tĸÀ3üÿ,³Õáþ–i›œþÑ °¦ÿ%\ºÿÌÆçlë'¶VòÚ[c/ØßÿïVÙ–—¿=ÕÓòbìÛ'ŒÎ{üù£Çß³E2>;ðAšÀJû ˆ/?Ì¿@ÆE› #a4}Ò™¡ ÜdQÜ}?£R côæÕùrî˜*?_ömáÁ‹ëZ ¿qú¿T„.¤Ž³ô»'ÏÿZV«ÅÏÿ×ø¯KÛÿÍ…jšr56’wöÑûUŠp²&# á{¸bx"×?ô”½Ê·Œý²ßEÞIòµZ^Y¥ñ+/ò‰â¾¦Îgåg&w¨ÉTvŠžaçlj£0¦™?Äü-“6#±ÛI“a„^|dNÇŸ¤cÆ_ŽdÔÝ‘Ìý÷a†xÐfDá ’ã”¤´¨œ)j­üVÐ õµhÄž=þáÙ†œlµd½òÿ‚Biÿï)û¿Õ¶øùŸvíÿuEò?õ“Œä=‰Méb{ëÜ^…» š d¤ùÙAìõÉÀ ¸ÜW– ôÇÉ¿£«‹ó*&w‡Â*p Ú_-¢!MÿÇ ´ËÏ÷d›mbóú×Ï3tó¢ã÷ƒ]îo”Wà"a€]Âõ7[ÑÂ"AÆWØÏl w–q³ÓånAäìdþL ßá;±âP3í}£+9ƹìw;»\Ä‹·RÏ9ä›g-Œ—©\ts ß'oÆþPì_ÈB$£†,Z°[òá;ÄÓTþ ßmÍ¥ë@…8•þíåз¯ÿ1ðÒ¿]ëÿË¢ÿ³ˆ_¾óü ­g!ê÷H;Ö<7±¤ñãû- då®Çèö4žLS6žÀÔ4ÿ¹KFN"èvVp€ZÍ™ºŒ-Ìø¡s0ƒ¢‹™T \ôA»µ;£ƒÎ'Õ«‘ÿÀ˜&§a)ôoµÍNNÿ6Ùÿ¬Úþ·4ú×¼¼X.¼±:ò|—©1ðÄó‡4™çH0òƒ‹@¹;ÔFÓ ímnZ›6ÅpBà?ýõýMŸwùR±´ê/ÄÐ6›X1v€‰àß(-GP‰@ºÏ·oß[hŶ’³´6õ¹|ˆx¡ü™Ï‚‘æOx·âüAă”KþüqSTíò‹nþbŒ·ó7=xã¾v0º¹|v18‚£âÃO òÎŒöµÆ·Ä3­&{TÌib‡üð}¯=µÕ·f•ÌZÆ€ŠEÕ€‰-×Lÿp¼†°0\åÛåÛ¿â)Rù!L{î—0Û³ŸÂìTεîìÇè>Fâãqx< Ÿ×2¤UMÙ€ú a¡²Bm3"Ì.ö ëõ¿”ÿ#ÏÇÙ;3þW×äþ?¶ÙjÓù/»SÇÿXºÿÏyâM@“ÞÂI’{—Èaì}j“ÝèØlÔº ªã ýßîvmµÿ×j!ýw»Víÿ·úgOríß›R¸¡ü§y´ã¶q›}…Ç ø©FæMàV=ß«G®Àh œ2ÐÒy€er£ÂÕìÞûie¥Î!·_ä¥PTÙ1”#dàÏð±Ê©3=©‚Œ‚ £6¹²Âm.p D=Jkæ·îAGðŒî˜*Jƒ²¢ú–‘(Oà‰5…»ð€ZþD U‰ &V‡a¯Æ07WŠÝÊQ¡) •O4E ö‰,š’­užæ P¸ò;R¯å ¡½¢ž;CÙØaÞ"]Sm„FnÑ¥pÀhé“Ò¤’!Ó:$Ͻ´yaOyôra^„S^/[€‚EPpƒb:C´O8ûþF^6uBk©ü²Ä‡€dðÛzwUÎ2‚NPZ©ñá "yKK!ýÆ“7\¥zø‰âô¬3ÿä°ÕlRô妹‰Ê»Ì+^扲$±uùøÌ¹Pêc‚ÇtDàlEIYuÆB‚ž=GŠ£ üwÑ2Šêw?žÒúK®q[ö eÜ<—ýòø?:z/gÿ¯cš’ÿ·Ûüü_«ŽÿýóÿEÀíw¿ÄV"z6’¢õÿÛ;›aŽß} H<èÙ3ÏbÇDƒá}O¶ë> 2$у‡ÿï`‚ (ÝÒ²­ë¨«mãºã:/<–U íGú¸:§Q=™øe”ý¬/PÞ@›ëÒ%•š%ݭܺ𰡫¼E#/+Q~Øgð~hŽhíñ‹·ÕÔ’åb)Ö)¤ç*ÌðJ¾®˜Yæ9ö&/Æ$ìtáTô£Ì¢€žz‚Òy@Å8×=\»áµÓÞÔìïëª-"Æ¡†°r?DIþû N©_â4Üü¥'…O¡°LÏ©ûvï©‘c¸Ë™Øk”ž¶V­×–¡n¡“™«‘…?vÔþ¯ÝÞV&ºËQîUªäØ4æûôðª!N–ÅWp²IåI†åf8\Gç¶I (ÆÅ/†ƒ÷—ýÁ qÌjù…9ÀTø^Bg^+€wims-modules-es-3.64.orig/modules/H1/0000755000175000017500000000000010771673315017567 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/0000755000175000017500000000000010771673315021164 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/relatif.es/0000755000175000017500000000000010603511343023202 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/relatif.es/.htaccess0000644000175000017500000000001610603511343024775 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/0000755000175000017500000000000010771700570023054 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/.htaccess0000644000175000017500000000001610340335752024645 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/intro.phtml0000644000175000017500000000062110340335752025252 0ustar georgeskgeorgesk!header $module_title es un ejercicio de introducción a los números relativos. Se trata de situar las fechas sobre una recta graduada.


!form new Puede elegir el número de fechas que situará sobre la recta. !default cnt_date=3 !formradio cnt_date from 1 to 4

. !tail wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/var.init0000644000175000017500000000211110340335752024522 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. # content of the file: initialisation of the problem. !default cnt_date=4 border=1 arrondi=4.5 dessin1=$empty dessin2=$empty m=4 xsize1=$[-$m] xsize2=2 x_size=$xsize1, $xsize2 xx_size=$[$xsize2- $xsize1] y_size=-5,5 insdraw_size=600,150 inssize=!item 1 of $insdraw_size dessin=xrange $x_size\ yrange $y_size\ hline black,0,0\ arrow 2.5,0,3,0,10,black\ parallel -$m,-0.8,-$m,0.4,1/2,0, 40, blue\ parallel -$m,-0.3,-$m,0.3,1/10,0, 200, blue\ parallel -$m,-0.8,-$m,0.6,1,0, 40, red !for i=-$m to 2 a=$[$i*1000] dessin=$dessin\ text black, $i,-1, medium,$a !next i clickcnt=0 cnt_orange=0 u=!shuffle 4 H=$empty liste=A,B,C,D,E,F,G !for i=1 to $cnt_date j=!item $i of $u m2=!record $j of chrono S=!randline $m2 date$i=!word 1 of $S texte$i=!word 2 to -1 of $S dat=$[$(date$i)/1000] X$(i)=$[rint($inssize*($dat-$xsize1)/$xx_size+$border)] U=!item $i of $liste dessin2 =$dessin2\ arrow $dat,-2.5,$dat,0,7,blue\ text blue,$dat,-2.5,medium,$U !next i erreur=0 miss=0 status=waiting wims_module_log=$cmd $cnt_date number wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/var.proc0000644000175000017500000000064510340335752024534 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting # Analysis of the reply should be placed here. # The following lines are just a template. !read analyse !endif !if $status=done wims_module_log=score $module_score/10 !endif !endif wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/answer.phtml0000644000175000017500000000103410340335752025415 0ustar georgeskgeorgesk!! Placez ici le code pour montrer le résultat de l'analyse de réponse.
!insdraw \ $dessin\ $dessin2\ $dessin3

!if $module_score=10 ¡Bien por esta respuesta tan buena! !else !if $cnt_orange >0 Las respuestas correctas están en naranja. !endif !if $cnt_orange<$cnt_date Las respuestas incorrectas están en rojo. !endif !endif !if $miss>0 Atención, se trata de un error grave porque ha confundido un número positivo con un número negativo. !endif

Ha obtenido $module_score (de 10) puntos para esta respuesta. wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/present.phtml0000644000175000017500000000063710340335752025606 0ustar georgeskgeorgesk!! Ce fichier présente la question à résoudre. Exercicio. Aquí tiene varias fechas y acontecimientos históricos (las fechas son aproximadas).

    !for i=1 to $cnt_date
  • !item $i of $liste en $(date$i), $(texte$i)
  • !next i

Debe situarlos sobre la recta graduada comenzando por el primero de la lista. Para ello, haga click sobre el punto correspondiente de la recta graduada.

wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/main.phtml0000644000175000017500000000070110340335752025042 0ustar georgeskgeorgesk!header !! La présentation de l'exercice. !read present.phtml


!if $status=waiting !if $error!=$empty !read msg.phtml


!endif !! La forme de réponse !read form.phtml

!href exo_Renew . !else !if $error!=$empty !read msg.phtml


!endif !! L'analyse de réponse !read answer.phtml

!href exo_Again . !if $worksheet=$empty !href exo_Intro . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/var.def0000644000175000017500000000153710340335752024330 0ustar georgeskgeorgesk # Variable declaration file. # # Only those variables with possible user inputs or requiring inter-request # savings need to be declared in this file. # #Each non-comment line defines a variable. Format of the line: # #name allow # #name: name of the variable #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. # # #name allow status deny dessin deny dessin1 deny dessin2 deny dessin3 deny border deny liste deny arrondi deny x_size init xsize1 init xsize2 init xx_size init inssize init click_x reply click_y reply insdraw_size deny clickcnt deny cnt_date init cnt_orange deny erreur deny miss deny X1 init X2 init X3 init X4 init X5 init X6 init date1 init date2 init date3 init date4 init date5 init date6 init texte1 init texte2 init texte3 init texte4 init texte5 init texte6 init module_score deny wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/filedesc0000644000175000017500000000106710340335752024557 0ustar georgeskgeorgeskabout_phtml=Fichier apropos. Vous pouvez le laisser tel quel. help_phtml=Aides aux utilisateurs. main_phtml=Fichier principal d'organisation de sortie. present_phtml=Présentation du problème. answer_phtml=Présenter le résultat d'analyse de réponse. form_phtml=Formulaire de réponse. intro_phtml=Introduction et configuration de l'exercice. msg_phtml=Messages d'erreur. var_proc=Fichier de traitement de variables général. var_init=Initialisation de variables. var_def=Déclarations de variables d'utilisateurs. filedesc=Explication de chaque fichier dans le module. wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/COPYING0000644000175000017500000004307710340335752024120 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/form.phtml0000644000175000017500000000064210340335752025065 0ustar georgeskgeorgesk!! On pose les questions dans ce fichier. D'habitude, c'est par !! des forms. Voici un exemple de conception de la forme de réponse. !if $status=waiting Haga click sobre el punto del eje que representa el hecho !set s=$[$clickcnt+1] !item $s of $liste :

!form reply !distribute item alt=Hacer click,1,form click into ins_attr,ins_border,ins_tag

!insdraw\ $dessin\ $dessin1
!endif wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/chrono0000644000175000017500000000453410340335752024273 0ustar georgeskgeorgesk:-3500 invención de la rueda -3500 comienzo de la civilización de los megalitos -3000 desarrollo del trabajo del cobre -3000 desarrollo de la agricultura en Africa Central -3000 utilización del bronce en Tailandia -2950 comienzos de la escritura en Sumer -2590 construcción de la pirámide de Keops -2500 domesticación del caballo en Asia Central -2500 aparición del bronce, aleación cobre-estaño -2500 comienzo de la desecación de la región sahariana -2325 fundación de Babilonia por los acadios -2100 comienzo del culto a Osiris -2000 comienzo del trabajo del metal en Perú -2000 (aprox.) primera ola de migración celta hacia las Islas Británicas :-1450 destrucción de Cnossos, capital de Creta -1400 (aprox.) salida de Egipto de los judíos y asentamiento en Palestina. -1520 China de los Shang -1250 reinado de Ramsés II. -1200 (aprox.) guerra de Troya -1200 les hebreos se instalan en Palestina y obligan a los cananeos a retirarse -1000 (aprox.) invasión por los celtas de la Galia y de España -950 (aprox.) fundación del templo de Jerusalén por Salomón -814 (aprox.) fundación de Cartago por los fenicios -776 primeros juegos olímpicos en Grecia -753 nacimiento de Roma -750 primeras colonias griegas alrededor del Mediterráneo :551 nacimiento de Confucio -427 nacimiento de Platón -387 los celtas toman Roma -323 muerte de Alejandro Magno -241 primera guerra púnica entre romanos y cartagineses -221 comienzo de la dinastía Qin en China -218 segunda guerra púnica: Aníbal invade Italia -206 comienzo de la dinastía Han en China -146 (aprox.) tercera guerra púnica: destrucción completa de Cartago -112 apertura de la ruta de la Seda entre China y Occidente -100 introducción probable del camello en África Sahariana -52 derrota de Vercingétorix en Alesia -30 muerte de Cleopatra :2 primer censo conocido en China 43 los romanos invaden las Islas Británicas 70 destrucción de Jerusalén por Tito 79 el Vesuvio destruye Pompeya 314 ruptura en dos del imperio romano 476 fin del imperio romano de Occidente 481 Clovis es proclamado rey de los francos 570 nacimiento de Mahoma en La Meca 618 comienzo de la dinastía Tang en China 632 muerte de Mahoma en Medina 711 conquista de España por los musulmanes 790 comienzo de las invasiones vikingas 800 coronación de Carlomagno 907 fin de la dinastía Tang en China :-9000 comienzo del Neolítico -5000 comienzo de la agricultura en Grecia wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/INDEX0000644000175000017500000000174510340335752023653 0ustar georgeskgeorgesktitle=Cronología y números relativos # Commencez la description par minuscule! description=situar datos históricos sobre una recta graduada author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr copyright=© 2001- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.26 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=E6,H1,H2 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=número, relativo, eje, cronología, con signo # Software packages required to run the module require= # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/analyse0000644000175000017500000000126110340335752024431 0ustar georgeskgeorgesk!if $click_x$click_y!=$empty and $status=waiting click_x=$[$click_x] !advance clickcnt xc=!eval $xx_size*($click_x-$border)/$inssize+$xsize1 U=!item $clickcnt of $liste dessin1=$dessin1\ arrow $xc,2,$xc,0,7,black\ text black ,$xc,4,medium,$U !ifval abs($click_x-$(X$clickcnt))<$arrondi color=orange !advance cnt_orange !else color=red !endif dessin3=$dessin3\ arrow $xc,2,$xc,0,7,$color\ text $color ,$xc,4,medium, $U erreur=$[$erreur+min(10,3*rint(abs($click_x-$(X$clickcnt))/10))] !ifval $xc*$(date$clickcnt) <-0.01 !advance miss !endif click_x= click_y= !if $clickcnt=$cnt_date status=done module_score=$[10^(-2)*rint(10^2*max(10-min(10,$erreur/$cnt_date)-2*$miss,0))] !endif wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/msg.phtml0000644000175000017500000000035710340335752024713 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if bad_data=$error No he podido evaluar los valores que ha enviado. ¿Error de teclado? !exit !endif !msg $error wims-modules-es-3.64.orig/modules/H1/algebra/chrono.es/help.phtml0000644000175000017500000000013010340335752025042 0ustar georgeskgeorgesk !! Placez ici des aides à l'exercice. Lo sentimos, la ayuda está aún en construcción. wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/0000755000175000017500000000000010771700077023004 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/0000755000175000017500000000000010771700634023541 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pentagram.def0000644000175000017500000001744110340570455026204 0ustar georgeskgeorgesk!set title=~10: Pentagrama !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=97 prevarcnt=89 postvarcnt=7 replycnt=10 choicecnt=0 conditioncnt=5 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] tmp0=!values sin(2*n*pi/5) for n=0 to 4 tmp1=!values -sin(2*n*pi/5)*0.381966 for n=0 to 4 val10=$(tmp0), $(tmp1) tmp0=!values cos(2*n*pi/5)-0.1 for n=0 to 4 tmp1=!values -cos(2*n*pi/5)*0.381966-0.1 for n=0 to 4 val11=$(tmp0), $(tmp1) val12=$[rint(200)] val13=$[rint(200)] val14=$[rint(1)] val15=$[rint(1)] val16=$[0.07] val17=$[rint($val9 + 5)] val18=$val8 val19=línea val20=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val21=$(tmp0) tmp0=!randitem 2,3,5 val22=sqrt($(tmp0)) tmp0=!record $val2 of src/data val23=$(tmp0) val24=$(val23[1;]) val25=$(val23[2;]) val26=$(val23[3;1]) val27=$(val23[3;2]) val28=$[rint(($val26+$val27)/2)] val29=$(val25[1]) val30=$(val25[2]) val31=$(val25[3]) !ifval $val30 = val30= 60 !endif !ifval $val31= val31= 35 !endif val32=$val30 $val31 tmp=!translate internal $ $ to ; in $val23 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val23=$(tmp1) tmp0=!itemcnt $val23 val33=$[rint($(tmp0))] !if $val33<=3 val34=$(val23[1]) val35=$(val23[2]) val36=$(val23[3]) val37=computed !if $val36<0 tmp0=!values $val36*x,-($val36)*x for x=$val34 to $val35 val38=$(tmp0) !else tmp0=!values $val36*x for x=$val34 to $val35 val38=$(tmp0) !endif val23=$val38 !else val37=listed !endif tmp0=!mathsubst f=$(val21[1]) in $val23 val23=$(tmp0) tmp0=!mathsubst g=$(val21[2]) in $val23 val23=$(tmp0) tmp0=!mathsubst rt=$val22 in $val23 val23=$(tmp0) tmp0=!shuffle $val23 tmp1=!item 1 to $val9 of $(tmp0) val39=$(tmp1) tmp0=!values 0 for x=1 to 15 val40=$(tmp0) !for val41 =1 to $val9 tmp0=!replace item number $val41 by $(val39[$val41]) in $val40 val40=$(tmp0) tmp0=!replace item number $val41+10 by -($(val39[$val41])) in $val40 val40=$(tmp0) !next !ifval $val26<0 tmp0=!randint $val26, $val27 val42=$[rint($(tmp0))] !else tmp1=!randint $val28, $val27 val42=$[rint($val28+$(tmp1))] !endif val43=6,3,4,11;7,4,5,12;8,1,5,13;9,1,2,14;10,2,3,15 tmp=!translate internal $ $ to ; in $val43 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val36 =1 to $val44 val45=$(val43[$val36;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val42) !for val48 =2 to $val46 val47=$val47-($(val40[$(val45[$val48])])) !next !if $val37 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val40 val40=$(tmp0) !next val49= tmp0=!listcomplement $val40 in $val23 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val41 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val41]) tmp0=!replace / by /( in \($(val52[$val41]))) val47=$(tmp0) !else val47=\($(val52[$val41])) !endif val49=$val49,$val47 !next val29= !for val41 =1 to $val17 !if / isin $(val40[$val41]) tmp0=!replace / by /( in \($(val40[$val41]))) val47=$(tmp0) !else val47=\($(val40[$val41])) !endif tmp0=!append item $val47 to $val29 val29=$(tmp0) !next val42=$[rint($val42*2)] val40=$(val40[1..10]) val43=1,3,9,10;2,4,6,10;3,5,6,7;1,4,7,8;2,5,8,9 val53=1,3,5,2,4,1 val54= !for val48 =1 to 5 val54=$val54 line $(val10[$(val53[$val48])]),$(val11[$(val53[$val48])]),$(val10[$(val53[$val48+1])]),$(val11[$(val53[$val48+1])]),$(val6[$val48]) !next val55=$[rint(2*($val14+$val16)*$val12)] val56=$[rint(2*($val15+$val16)*$val13)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val16-$val14,$val14+$val16 yrange -$val16-$val15,$val15+$val16 fill 0,0,white linewidth 3 $val54 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val12+$val55/2-$val30/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val13+$val56/2-$val31/2 for y in $val11 val11=$(tmp0) val58= !for val48 =1 to $val17 val58=$val58 r$val48,$(val10[$val48])x$(val11[$val48]) !next tmp0=!item 1 to $val17 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val29[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val29[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val29[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val29[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val29[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val29[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val29[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val29[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val29[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val29[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val19 sea igual a $val42.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val32 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val17 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val42-($(val71[$(val43[1;1])]))-($(val71[$(val43[1;2])]))-($(val71[$(val43[1;3])]))-($(val71[$(val43[1;4])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val42-($(val71[$(val43[2;1])]))-($(val71[$(val43[2;2])]))-($(val71[$(val43[2;3])]))-($(val71[$(val43[2;4])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val42-($(val71[$(val43[3;1])]))-($(val71[$(val43[3;2])]))-($(val71[$(val43[3;3])]))-($(val71[$(val43[3;4])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val42-($(val71[$(val43[4;1])]))-($(val71[$(val43[4;2])]))-($(val71[$(val43[4;3])]))-($(val71[$(val43[4;4])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) tmp=!translate ";': to $ $ in $val42-($(val71[$(val43[5;1])]))-($(val71[$(val43[5;2])]))-($(val71[$(val43[5;3])]))-($(val71[$(val43[5;4])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val20 $val19 $(val18[1]) = $val42 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val20 $val19 $(val18[2]) = $val42 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val20 $val19 $(val18[3]) = $val42 !ifval $val75 notsametext and $val75=0 condtest4=1 !else condtest4=0 !endif condname4=Suma $val20 $val19 $(val18[4]) = $val42 !ifval $val76 notsametext and $val76=0 condtest5=1 !else condtest5=0 !endif condname5=Suma $val20 $val19 $(val18[5]) = $val42 !exit :stat vsavelist=6,17,18,19,20,32,42,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/house.def0000644000175000017500000001641710340570454025352 0ustar georgeskgeorgesk!set title=8: Casa !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=109 prevarcnt=89 postvarcnt=19 replycnt=9 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=-1,1,-2,0,2,-2,0,2 val11=1.8,2,0.4,0,0.4,-1.6,-2,-1.6 val12=3,4,5,7 val13=1,3,4;2,1,4,5;6,3,4,7;8,4,5,7 val14=-1,1;1,1;-1,-1;1,-1 val15=$[rint(70)] val16=$[rint(60)] val17=$[rint(2)] val18=$[rint(2)] val19=0.5 val20=7,8,5,2,1,3,6,7,4,1,3,4,5 val21= val22=$[rint(3)] val23=$[rint($val9+4)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 4 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) tmp=!translate ";': to $ $ in $val76 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=Suma para la región $(val8[4]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/threesqr.def0000644000175000017500000001576110340570455026066 0ustar georgeskgeorgesk!set title=8: Tres cuadrados !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=108 prevarcnt=89 postvarcnt=18 replycnt=9 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=-3,-1,1,3,-3,-1,1,3 val11=1,1,1,1,-1,-1,-1,-1 val12=1,2,3,4,5 val13=6,1,2,5;7,2,3,6;8,3,4,7 val14=-2,0;0,0;2,0 val15=$[rint(60)] val16=$[rint(60)] val17=$[rint(3)] val18=$[rint(1)] val19=0.5 val20=1,4,8,5,1,2,6,7,3 val21= val22=$[rint(3)] val23=$[rint($val9+3)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 3 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid1d.def0000644000175000017500000001634510340570454026121 0ustar georgeskgeorgesk!set title=9: Pirámide Id !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=100 prevarcnt=85 postvarcnt=14 replycnt=10 choicecnt=0 conditioncnt=4 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=1 val7=4 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[2;1])]))-($(val68[$(val34[2;2])]))-($(val68[$(val34[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val71=$(tmp0) val72=$(val67[$(val34[2;3])]) !ifval - isin $val72 val72=($val72) !endif val73=$(val67[$(val34[3;3])]) !ifval - isin $val73 val73=($val73) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[3;1])]))-($(val68[$(val34[3;2])]))-($(val68[$(val34[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) val75=$(val67[$(val34[4;3])]) !ifval - isin $val75 val75=($val75) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[4;1])]))-($(val68[$(val34[4;2])]))-($(val68[$(val34[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !ifval $val71 notsametext and $val71=0 condtest2=1 !else condtest2=0 !endif condname2=$(val67[$(val34[2;1])]) = $(val67[$(val34[2;2])]) + $val72 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=$(val67[$(val34[3;1])]) = $(val67[$(val34[3;2])]) + $val73 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=$(val67[$(val34[4;1])]) = $(val67[$(val34[4;2])]) + $val75 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid1b.def0000644000175000017500000001467710340570454026125 0ustar georgeskgeorgesk!set title=5: Pirámide Ib !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=94 prevarcnt=85 postvarcnt=8 replycnt=10 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 val6=1 val7=2 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[2;1])]))-($(val68[$(val34[2;2])]))-($(val68[$(val34[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val71=$(tmp0) val72=$(val67[$(val34[2;3])]) !ifval - isin $val72 val72=($val72) !endif !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !ifval $val71 notsametext and $val71=0 condtest2=1 !else condtest2=0 !endif condname2=$(val67[$(val34[2;1])]) = $(val67[$(val34[2;2])]) + $val72 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/cross.def0000644000175000017500000001440210340570454025350 0ustar georgeskgeorgesk!set title=5: Cruz !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=91 prevarcnt=86 postvarcnt=4 replycnt=10 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 val6=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(3)] val10=$[rint(5)] val11=-1,1,0,-1,1 val12=1,1,0,-1,-1 val13=1,2,3 val14=5,1,3;4,2,3 val15=$[rint(100)] val16=$[rint(75)] val17=$[rint(1)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid2b.def0000644000175000017500000001717010340570454026115 0ustar georgeskgeorgesk!set title=9: Pirámide IIb !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=103 prevarcnt=85 postvarcnt=17 replycnt=10 choicecnt=0 conditioncnt=5 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=2 val7=3 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[2;1])]))-($(val68[$(val34[2;2])]))-($(val68[$(val34[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val71=$(tmp0) val72=$(val67[$(val34[2;3])]) !ifval - isin $val72 val72=($val72) !endif val73=$(val67[$(val34[3;3])]) !ifval - isin $val73 val73=($val73) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[3;1])]))-($(val68[$(val34[3;2])]))-($(val68[$(val34[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) val75=$(val67[$(val34[4;3])]) !ifval - isin $val75 val75=($val75) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[4;1])]))-($(val68[$(val34[4;2])]))-($(val68[$(val34[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) val77=$(val67[$(val34[5;3])]) !ifval - isin $val77 val77=($val77) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[5;1])]))-($(val68[$(val34[5;2])]))-($(val68[$(val34[5;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val78=$(tmp0) !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !ifval $val71 notsametext and $val71=0 condtest2=1 !else condtest2=0 !endif condname2=$(val67[$(val34[2;1])]) = $(val67[$(val34[2;2])]) + $val72 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=$(val67[$(val34[3;1])]) = $(val67[$(val34[3;2])]) + $val73 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=$(val67[$(val34[4;1])]) = $(val67[$(val34[4;2])]) + $val75 !ifval $val78 notsametext and $val78=0 condtest5=1 !else condtest5=0 !endif condname5=$(val67[$(val34[5;1])]) = $(val67[$(val34[5;2])]) + $val77 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/grill.def0000644000175000017500000001572610340570454025342 0ustar georgeskgeorgesk!set title=8: Rejilla !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=93 prevarcnt=86 postvarcnt=6 replycnt=10 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=$[rint(8)] val11=-2,0,2,-1,1,-2,0,2 val12=1,1,1,0,0,-1,-1,-1 val13=2,4,5,7 val14=1,4,7;6,4,2;8,2,5;3,5,7 val15=$[rint(70)] val16=$[rint(70)] val17=$[rint(2)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[4;1])]))-($(val71[$(val14[4;2])]))-($(val71[$(val14[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !ifval $val75 notsametext and $val75=0 condtest4=1 !else condtest4=0 !endif condname4=Suma $val21 $val20 $(val19[4]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pentagon.def0000644000175000017500000001662610340570454026044 0ustar georgeskgeorgesk!set title=~10: Pentágono !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=94 prevarcnt=86 postvarcnt=7 replycnt=10 choicecnt=0 conditioncnt=5 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=$[rint(10)] tmp0=!values sin(n*pi/5)*cos((n%2)*pi/5) for n=0 to 9 val11=$(tmp0) tmp0=!values cos(n*pi/5)*cos((n%2)*pi/5) for n=0 to 9 val12=$(tmp0) val13=1,3,5,7,9 val14=2,1,3;4,3,5;6,5,7;8,7,9;10,9,1 val15=$[rint(150)] val16=$[rint(150)] val17=$[rint(1)] val18=$[rint(1)] val19=$val7 val20=lado val21=del !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[4;1])]))-($(val71[$(val14[4;2])]))-($(val71[$(val14[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[5;1])]))-($(val71[$(val14[5;2])]))-($(val71[$(val14[5;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !ifval $val75 notsametext and $val75=0 condtest4=1 !else condtest4=0 !endif condname4=Suma $val21 $val20 $(val19[4]) = $val43 !ifval $val76 notsametext and $val76=0 condtest5=1 !else condtest5=0 !endif condname5=Suma $val21 $val20 $(val19[5]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/.htaccess0000644000175000017500000000001610340570454025331 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/triangle.def0000644000175000017500000001515110340570454026026 0ustar georgeskgeorgesk!set title=6: Triángulo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=92 prevarcnt=86 postvarcnt=5 replycnt=10 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(3)] val10=$[rint(6)] val11=0,-1,1,-2,0,2 val12=1,0,0,-1,-1,-1 val13=1,4,6 val14=2,1,4;3,1,6;5,4,6 val15=$[rint(60)] val16=$[rint(80)] val17=$[rint(2)] val18=$[rint(1)] val19=$val7 val20=lado val21=del !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/M.def0000644000175000017500000001572310340570454024422 0ustar georgeskgeorgesk!set title=9: M !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=93 prevarcnt=86 postvarcnt=6 replycnt=10 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=$[rint(9)] val11=-4,-3,-2,-1,0,1,2,3,4 val12=-1,0,1,0,-1,0,1,0,-1 val13=1,2,4,6,8 val14=3,2,1;5,4,3;7,6,5;9,8,7 val15=$[rint(60)] val16=$[rint(80)] val17=$[4.2] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[4;1])]))-($(val71[$(val14[4;2])]))-($(val71[$(val14[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !ifval $val75 notsametext and $val75=0 condtest4=1 !else condtest4=0 !endif condname4=Suma $val21 $val20 $(val19[4]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/bigsquare.def0000644000175000017500000001572510340570454026212 0ustar georgeskgeorgesk!set title=8: Cuadrado !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=93 prevarcnt=86 postvarcnt=6 replycnt=10 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=$[rint(8)] val11=-1,0,1,-1,1,-1,0,1 val12=1,1,1,0,0,-1,-1,-1 val13=1,3,6,8 val14=2,1,3;4,1,6;5,3,8;7,6,8 val15=$[rint(120)] val16=$[rint(80)] val17=$[rint(1)] val18=$[rint(1)] val19=$val7 val20=lado val21=del !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[4;1])]))-($(val71[$(val14[4;2])]))-($(val71[$(val14[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !ifval $val75 notsametext and $val75=0 condtest4=1 !else condtest4=0 !endif condname4=Suma $val21 $val20 $(val19[4]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/cube.def0000644000175000017500000001574410340570454025147 0ustar georgeskgeorgesk!set title=7: Cubo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=108 prevarcnt=89 postvarcnt=18 replycnt=9 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=-2,0,2,0,-2,0,2 val11=1,2,1,0,-1,-2,-1 val12=1,3,4,6 val13=2,1,3,4;5,1,4,6;7,3,4,6 val14=0,1;-1,0;1,0 val15=$[rint(70)] val16=$[rint(60)] val17=$[rint(2)] val18=$[rint(2)] val19=0.6 val20=1,2,3,7,6,5,1,4,3,7,6,4 val21= val22=$[rint(3)] val23=$[rint($val9+3)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 3 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid1c.def0000644000175000017500000001552210340570454026114 0ustar georgeskgeorgesk!set title=7: Pirámide Ic !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=97 prevarcnt=85 postvarcnt=11 replycnt=10 choicecnt=0 conditioncnt=3 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=1 val7=3 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[2;1])]))-($(val68[$(val34[2;2])]))-($(val68[$(val34[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val71=$(tmp0) val72=$(val67[$(val34[2;3])]) !ifval - isin $val72 val72=($val72) !endif val73=$(val67[$(val34[3;3])]) !ifval - isin $val73 val73=($val73) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[3;1])]))-($(val68[$(val34[3;2])]))-($(val68[$(val34[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !ifval $val71 notsametext and $val71=0 condtest2=1 !else condtest2=0 !endif condname2=$(val67[$(val34[2;1])]) = $(val67[$(val34[2;2])]) + $val72 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=$(val67[$(val34[3;1])]) = $(val67[$(val34[3;2])]) + $val73 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/V.def0000644000175000017500000001437510340570454024435 0ustar georgeskgeorgesk!set title=5: V !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=91 prevarcnt=86 postvarcnt=4 replycnt=10 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 val6=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(3)] val10=$[rint(5)] val11=-2,-1,0,1,2 val12=1,0,-1,0,1 val13=2,3,4 val14=1,2,3;5,4,3 val15=$[rint(65)] val16=$[rint(80)] val17=$[rint(2)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/IXI.def0000644000175000017500000001516610340570454024660 0ustar georgeskgeorgesk!set title=7: Pajarita !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=92 prevarcnt=86 postvarcnt=5 replycnt=10 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(3)] val10=$[rint(7)] val11=1,1,1,0,-1,-1,-1 val12=-1,0,1,0,-1,0,1 val13=1,3,4 val14=2,1,3;7,1,4;5,3,4;6,5,7 val15=$[rint(120)] val16=$[rint(80)] val17=$[rint(1)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pizza4.def0000644000175000017500000001650710340570454025450 0ustar georgeskgeorgesk!set title=9: Pizza 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=109 prevarcnt=89 postvarcnt=19 replycnt=9 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=0,0,0.707,1,0.707,0,-0.707,-1,-0.707 val11=0,1,0.707,0,-0.707,-1,-0.707,0,0.707 val12=1,2,4,6,8 val13=3,1,2,4;5,1,4,6;7,1,6,8;9,1,2,8 val14=0.5,0.5;0.5,-0.5;-0.5,-0.5;-0.5,0.5 val15=$[rint(130)] val16=$[rint(130)] val17=$[rint(1)] val18=$[rint(1)] val19=0.2 val20=2,6,1,4,8 val21=ellipse 0,0,2,2,black val22=$[rint(3)] val23=$[rint($val9+4)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 4 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) tmp=!translate ";': to $ $ in $val76 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=Suma para la región $(val8[4]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/diag.def0000644000175000017500000001643410340570454025132 0ustar georgeskgeorgesk!set title=9: Cuadrado + diagonales !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=109 prevarcnt=89 postvarcnt=19 replycnt=9 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=-1,0,1,-1,0,1,-1,0,1 val11=1,1,1,0,0,0,-1,-1,-1 val12=1,3,5,7,9 val13=2,1,3,5;4,1,5,7;6,3,5,9;8,7,5,9 val14=0,0.5;-0.5,0;0.5,0;0,-0.5 val15=$[rint(120)] val16=$[rint(100)] val17=$[rint(1)] val18=$[rint(1)] val19=0.3 val20=1,3,9,7,1,9,7,3 val21= val22=$[rint(3)] val23=$[rint($val9+4)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 4 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) tmp=!translate ";': to $ $ in $val76 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=Suma para la región $(val8[4]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/tie.def0000644000175000017500000001526710340570454025012 0ustar georgeskgeorgesk!set title=5: Pajarita !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=107 prevarcnt=89 postvarcnt=17 replycnt=9 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 val6=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(3)] val10=-1,-1,0,1,1 val11=1,-1,0,1,-1 val12=1,3,4 val13=2,1,3;5,3,4 val14=-0.5,0;0.5,0 val15=$[rint(120)] val16=$[rint(80)] val17=$[rint(1)] val18=$[rint(1)] val19=0.4 val20=1,2,4,5,1 val21= val22=$[rint(2)] val23=$[rint($val9+2)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 2 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid3.def0000644000175000017500000002001410340570454025743 0ustar georgeskgeorgesk!set title=~10: Pirámide III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=106 prevarcnt=85 postvarcnt=20 replycnt=10 choicecnt=0 conditioncnt=6 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=3 val7=3 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[2;1])]))-($(val68[$(val34[2;2])]))-($(val68[$(val34[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val71=$(tmp0) val72=$(val67[$(val34[2;3])]) !ifval - isin $val72 val72=($val72) !endif val73=$(val67[$(val34[3;3])]) !ifval - isin $val73 val73=($val73) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[3;1])]))-($(val68[$(val34[3;2])]))-($(val68[$(val34[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) val75=$(val67[$(val34[4;3])]) !ifval - isin $val75 val75=($val75) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[4;1])]))-($(val68[$(val34[4;2])]))-($(val68[$(val34[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) val77=$(val67[$(val34[5;3])]) !ifval - isin $val77 val77=($val77) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[5;1])]))-($(val68[$(val34[5;2])]))-($(val68[$(val34[5;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val78=$(tmp0) val79=$(val67[$(val34[6;3])]) !ifval - isin $val79 val79=($val79) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[6;1])]))-($(val68[$(val34[6;2])]))-($(val68[$(val34[6;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val80=$(tmp0) !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !ifval $val71 notsametext and $val71=0 condtest2=1 !else condtest2=0 !endif condname2=$(val67[$(val34[2;1])]) = $(val67[$(val34[2;2])]) + $val72 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=$(val67[$(val34[3;1])]) = $(val67[$(val34[3;2])]) + $val73 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=$(val67[$(val34[4;1])]) = $(val67[$(val34[4;2])]) + $val75 !ifval $val78 notsametext and $val78=0 condtest5=1 !else condtest5=0 !endif condname5=$(val67[$(val34[5;1])]) = $(val67[$(val34[5;2])]) + $val77 !ifval $val80 notsametext and $val80=0 condtest6=1 !else condtest6=0 !endif condname6=$(val67[$(val34[6;1])]) = $(val67[$(val34[6;2])]) + $val79 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/asterisk.def0000644000175000017500000001516310340570454026051 0ustar georgeskgeorgesk!set title=7: Asterisco !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=92 prevarcnt=86 postvarcnt=5 replycnt=10 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=$[rint(7)] val11=0,-1,1,-2,2,-1,1 val12=0,1,1,0,0,-1,-1 val13=1,2,3,4 val14=5,1,4;6,1,3;7,1,2 val15=$[rint(65)] val16=$[rint(100)] val17=$[rint(2)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pizza3.def0000644000175000017500000001603710340570455025446 0ustar georgeskgeorgesk!set title=7: Pizza 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=108 prevarcnt=89 postvarcnt=18 replycnt=9 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=0,0,sqrt(3)/2,sqrt(3)/2,0,-sqrt(3)/2,-sqrt(3)/2 val11=0,1,0.5,-0.5,-1,-0.5,0.5 val12=1,2,4,6 val13=3,1,2,4;5,1,4,6;7,1,2,6 val14=0.5,0;0,-0.5;-0.5,0 val15=$[rint(110)] val16=$[rint(110)] val17=$[rint(1)] val18=$[rint(1)] val19=0.2 val20=2,1,4,1,6 val21=ellipse 0,0,2,2,black val22=$[rint(3)] val23=$[rint($val9+3)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 3 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/twosqr.def0000644000175000017500000001531210340570454025557 0ustar georgeskgeorgesk!set title=6: Dos cuadrados !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=107 prevarcnt=89 postvarcnt=17 replycnt=9 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 val6=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=-2,0,2,-2,0,2 val11=1,1,1,-1,-1,-1 val12=1,2,3,4 val13=5,1,2,4;6,2,3,5 val14=-0.5,0;0.5,0 val15=$[rint(60)] val16=$[rint(60)] val17=$[rint(2)] val18=$[rint(1)] val19=0.5 val20=1,3,6,4,1,2,5 val21= val22=$[rint(3)] val23=$[rint($val9+2)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 2 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid2.def0000644000175000017500000001552210340570454025752 0ustar georgeskgeorgesk!set title=6: Pirámide II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=97 prevarcnt=85 postvarcnt=11 replycnt=10 choicecnt=0 conditioncnt=3 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=2 val7=2 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[2;1])]))-($(val68[$(val34[2;2])]))-($(val68[$(val34[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val71=$(tmp0) val72=$(val67[$(val34[2;3])]) !ifval - isin $val72 val72=($val72) !endif val73=$(val67[$(val34[3;3])]) !ifval - isin $val73 val73=($val73) !endif tmp=!translate ";': to $ $ in ($(val68[$(val34[3;1])]))-($(val68[$(val34[3;2])]))-($(val68[$(val34[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !ifval $val71 notsametext and $val71=0 condtest2=1 !else condtest2=0 !endif condname2=$(val67[$(val34[2;1])]) = $(val67[$(val34[2;2])]) + $val72 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=$(val67[$(val34[3;1])]) = $(val67[$(val34[3;2])]) + $val73 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/stool.def0000644000175000017500000001515310340570454025363 0ustar georgeskgeorgesk!set title=6: Taburete !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=92 prevarcnt=86 postvarcnt=5 replycnt=10 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(3)] val10=$[rint(6)] val11=-1,0,1,0,-1,1 val12=1,1,1,0,-1,-1 val13=1,3,4 val14=2,1,3;6,1,4;5,3,4 val15=$[rint(110)] val16=$[rint(75)] val17=$[rint(1)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/H.def0000644000175000017500000001515410340570454024413 0ustar georgeskgeorgesk!set title=7: H !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=92 prevarcnt=86 postvarcnt=5 replycnt=10 choicecnt=0 conditioncnt=3 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(4)] val10=$[rint(7)] val11=-1,-1,-1,0,1,1,1 val12=1,0,-1,0,1,0,-1 val13=1,2,4,5 val14=3,1,2;6,2,4;7,5,6 val15=$[rint(120)] val16=$[rint(100)] val17=$[rint(1)] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/foursqr.def0000644000175000017500000001644510340570454025731 0ustar georgeskgeorgesk!set title=9: Cuatro cuadrados !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r varcnt=109 prevarcnt=89 postvarcnt=19 replycnt=9 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=-1,0,1,-1,0,1,-1,0,1 val11=1,1,1,0,0,0,-1,-1,-1 val12=1,2,3,4,7 val13=5,1,2,4;6,2,3,5;8,4,5,7;9,5,6,8 val14=-0.5,0.5;0.5,0.5;-0.5,-0.5;0.5,-0.5 val15=$[rint(120)] val16=$[rint(100)] val17=$[rint(1)] val18=$[rint(1)] val19=0.3 val20=1,3,9,7,1,2,8,7,4,6 val21= val22=$[rint(3)] val23=$[rint($val9+4)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val24=$(tmp0) tmp0=!randitem 2,3,5 val25=sqrt($(tmp0)) tmp0=!record $val2 of src/data val26=$(tmp0) val27=$(val26[1;]) val28=$(val26[2;]) val29=$(val26[3;1]) val30=$(val26[3;2]) val31=$[rint(($val29+$val30)/2)] val32=$(val28[1]) val33=$(val28[2]) val34=$(val28[3]) !ifval $val33 = val33= 60 !endif !ifval $val34= val34= 35 !endif val35=$val33 $val34 tmp=!translate internal $ $ to ; in $val26 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val26=$(tmp1) tmp0=!itemcnt $val26 val36=$[rint($(tmp0))] !if $val36<=3 val37=$(val26[1]) val38=$(val26[2]) val39=$(val26[3]) val40=computed !if $val39<0 tmp0=!values $val39*x,-($val39)*x for x=$val37 to $val38 val41=$(tmp0) !else tmp0=!values $val39*x for x=$val37 to $val38 val41=$(tmp0) !endif val26=$val41 !else val40=listed !endif tmp0=!mathsubst f=$(val24[1]) in $val26 val26=$(tmp0) tmp0=!mathsubst g=$(val24[2]) in $val26 val26=$(tmp0) tmp0=!mathsubst rt=$val25 in $val26 val26=$(tmp0) tmp0=!shuffle $val26 tmp1=!item 1 to $val9 of $(tmp0) val42=$(tmp1) tmp0=!values 0 for x=1 to $val23 val43=$(tmp0) !for val44 =1 to $val9 tmp0=!replace item number $(val12[$val44]) by $(val42[$val44]) in $val43 val43=$(tmp0) !next !ifval $val29<0 tmp0=!randint $val22*$val29, $val22*$val30 val45=$[$(tmp0)] !else tmp1=!randint 2*$val31, 2*$val30 val45=$[ ($val22-1)*$val31+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val13 tmp0=!rowcnt $tmp val46=$[rint($(tmp0))] !for val39 =1 to $val46 val47=$(val13[$val39;]) tmp0=!itemcnt $val47 val48=$[rint($(tmp0))] val49=($val45) !for val50 =2 to $val48 val49=$val49-($(val43[$(val47[$val50])])) !next !if $val40 issametext computed val49=$[$val49] !else t_=!replace internal \( by ( in expand($val49) tmp0=!exec maxima $t_ val49=$(tmp0) !endif tmp0=!replace item number $(val47[1]) by $val49 in $val43 val43=$(tmp0) !next val51= tmp0=!listcomplement $val43 in $val26 val52=$(tmp0) tmp0=!itemcnt $val52 val53=$[rint(min($val3,$(tmp0)))] !for val44 =1 to $val53 tmp0=!item 1 to $val3 of $val52 val54=$(tmp0) !ifval / isin $(val54[$val44]) tmp0=!replace / by /( in \($(val54[$val44]))) val49=$(tmp0) !else val49=\($(val54[$val44])) !endif val51=$val51,$val49 !next val32= !for val44 =1 to $val23 !if / isin $(val43[$val44]) tmp0=!replace / by /( in \($(val43[$val44]))) val49=$(tmp0) !else val49=\($(val43[$val44])) !endif tmp0=!append item $val49 to $val32 val32=$(tmp0) !next val55=lines black !for val50 in $val20 val55=$val55,$(val10[$val50]),$(val11[$val50]) !next val56= !for val50 =1 to 4 val56=$val56 fill $(val14[$val50;]),$(val6[$val50]) !next val57=$[rint(2*($val17+$val19)*$val15)] val58=$[rint(2*($val18+$val19)*$val16)] !readproc oef/draw.phtml $val57,$val58 \ xrange -$val19-$val17,$val17+$val19 yrange -$val19-$val18,$val18+$val19 fill 0,0,white linewidth 3 $val55 $val21 $val56 tmp0=$ins_url val59=$(tmp0) tmp0=!values x*$val15+$val57/2-$val33/2 for x in $val10 val10=$(tmp0) tmp0=!values -y*$val16+$val58/2-$val34/2 for y in $val11 val11=$(tmp0) val60= !for val50 =1 to $val23 val60=$val60 r$val50,$(val10[$val50])x$(val11[$val50]) !next tmp0=!item 1 to $val23 of r1,r2,r3,r4,r5,r6,r7,r8,r9 val61=$(tmp0) oefsteps=$val61 nextstep=!nosubst $val61 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 62;$(val32[1])$val51 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 63;$(val32[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 64;$(val32[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 65;$(val32[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 66;$(val32[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 67;$(val32[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 68;$(val32[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 69;$(val32[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 70;$(val32[9]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a $val45.

!read oef/special.phtml imagefill $val59,$val57 $val58,$val35 $val60 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val23 of $val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,$val70,\r10,\r11,\r12,\r13,\r14,\r15 val71=$(tmp0) tmp0=!replace internal \ by in $val71 val72=$(tmp0) val73=$val45 val74=$val45 val75=$val45 val76=$val45 val77=$val45 val78=$val45 !for val44 =1 to 8 !ifval $(val13[1;$val44]) notsametext val73=$val73-($(val72[$(val13[1;$val44])])) !endif !ifval $(val13[2;$val44]) notsametext val74=$val74-($(val72[$(val13[2;$val44])])) !endif !ifval $(val13[3;$val44]) notsametext val75=$val75-($(val72[$(val13[3;$val44])])) !endif !ifval $(val13[4;$val44]) notsametext val76=$val76-($(val72[$(val13[4;$val44])])) !endif !ifval $(val13[5;$val44]) notsametext val77=$val77-($(val72[$(val13[5;$val44])])) !endif !ifval $(val13[6;$val44]) notsametext val78=$val78-($(val72[$(val13[6;$val44])])) !endif !next tmp=!translate ";': to $ $ in $val73 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val74 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val75 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) tmp=!translate ";': to $ $ in $val76 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val76=$(tmp0) !exit :feedback !exit :test !ifval $val73 notsametext and $val73=0 condtest1=1 !else condtest1=0 !endif condname1=Suma para la región $(val8[1]) = $val45 !ifval $val74 notsametext and $val74=0 condtest2=1 !else condtest2=0 !endif condname2=Suma para la región $(val8[2]) = $val45 !ifval $val75 notsametext and $val75=0 condtest3=1 !else condtest3=0 !endif condname3=Suma para la región $(val8[3]) = $val45 !ifval $val76 notsametext and $val76=0 condtest4=1 !else condtest4=0 !endif condname4=Suma para la región $(val8[4]) = $val45 !exit :stat vsavelist=6,8,13,23,35,44,45,57,58,59,60,62,63,64,65,66,67,68,69,70 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/pyramid1.def0000644000175000017500000001405410340570454025750 0ustar georgeskgeorgesk!set title=3: Pirámide I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=91 prevarcnt=85 postvarcnt=5 replycnt=10 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=1 val7=1 val8=$[rint($val7+1)] !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val9=$(tmp0) tmp0=!randitem 2,3,5 val10=sqrt($(tmp0)) tmp0=!record $val2 of src/data val11=$(tmp0) val12=$(val11[1;]) val13=$(val11[2;]) val14=$(val11[3;1]) val15=$(val11[3;2]) val16=$[rint(($val14+$val15)/2)] val17=$(val13[1]) val18=$(val13[2]) val19=$(val13[3]) !ifval $val18 = val18= 60 !endif !ifval $val19= val19= 35 !endif val20=$val18 $val19 tmp=!translate internal $ $ to ; in $val11 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val11=$(tmp1) tmp0=!itemcnt $val11 val21=$[rint($(tmp0))] !if $val21<=3 val22=$(val11[1]) val23=$(val11[2]) val24=$(val11[3]) val25=computed !if $val24<0 tmp0=!values $val24*x,-($val24)*x for x=$val22 to $val23 val26=$(tmp0) !else tmp0=!values $val24*x for x=$val22 to $val23 val26=$(tmp0) !endif val11=$val26 !else val25=listed !endif tmp0=!mathsubst f=$(val9[1]) in $val11 val11=$(tmp0) tmp0=!mathsubst g=$(val9[2]) in $val11 val11=$(tmp0) tmp0=!mathsubst rt=$val10 in $val11 val11=$(tmp0) tmp0=!shuffle $val11 tmp1=!item 1 to $val8 of $(tmp0) val27=$(tmp1) val28=$[rint(($val6+1)*($val6+2)/2+($val7-$val6)*($val6+1))] val29= val30= val31=black val32=line 0,$val6,($val7-$val6),$val6,$val31 val33=$[rint(1)] val34= !for val35 =$val6..0 step -1 val36=$[rint($val33)] val33=$[rint($val33+$val7-$val35+1)] !ifval $val35<$val6 val32=$val32 polygon $val31,0,$val35 !endif !for val37 =0..$val7-$val35 !ifval $val35>0 val34=$val34 $val36+$val37,$val33+$val37,$val33+$val37+1; !endif !ifval $val37>0 and $val35<$val6 val32=$val32,$val37-1,$val35+1,$val37,$val35 !endif val29=$val29$val37, val30=$val30$val35, !next val32=$val32 line 0,$val35,$val7-$val35,$val35 !next tmp0=!values 0 for x=1 to $val28 val38=$(tmp0) !for val39 =1..$val8 tmp0=!replace item number $val28-$val39+1 by $(val27[$val39]) in $val38 val38=$(tmp0) !next tmp=!translate internal $ $ to ; in $val34 tmp0=!rowcnt $tmp val40=$[rint($(tmp0))] !for val24 =$val40 to 1 step -1 !if $val25 issametext computed val41=$[($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))] !else t_=!replace internal \( by ( in expand(($(val38[$(val34[$val24;2])]))+($(val38[$(val34[$val24;3])]))) tmp0=!exec maxima $t_ val41=$(tmp0) !endif tmp0=!replace item number $(val34[$val24;1]) by $val41 in $val38 val38=$(tmp0) !next val42= tmp0=!listcomplement $val38 in $val11 val43=$(tmp0) tmp0=!itemcnt $val43 val44=$[rint(min($val3,$(tmp0)))] !for val39 =1 to $val44 tmp0=!item 1 to $val3 of $val43 val45=$(tmp0) !ifval / isin $(val45[$val39]) tmp0=!replace / by /( in \($(val45[$val39]))) val46=$(tmp0) !else val46=\($(val45[$val39])) !endif val42=$val42,$val46 !next val17= !for val39 =1 to $val28 !if / isin $(val38[$val39]) tmp0=!replace / by /( in \($(val38[$val39]))) val46=$(tmp0) !else val46=\($(val38[$val39])) !endif tmp0=!append item $val46 to $val17 val17=$(tmp0) !next val47=0.2 val48=$[rint(150)] val49=$[rint(100)] val50=$[rint(($val7+$val47*2)*$val48)] val51=$[rint(($val6+$val47*2)*$val49)] !readproc oef/draw.phtml $val50,$val51 \ xrange -$val47,$val7+$val47 yrange -$val47,$val6+$val47 fill 0,0,white linewidth 3 linear 1,0.5,0,1 $val32 tmp0=$ins_url val52=$(tmp0) val53= !for val39 =1..$val28 tmp0=!append item $(val29[$val39])+$(val30[$val39])*0.5 to $val53 val53=$(tmp0) !next tmp0=!values (x+$val47)*$val48-$val18/2 for x in $val53 val29=$(tmp0) tmp0=!values ($val47+$val6-y)*$val49-$val19/2 for y in $val30 val30=$(tmp0) val54= !for val55 =1 to $val28 val54=$val54 r$val55,$(val29[$val55])x$(val30[$val55]) !next tmp0=!item 1 to $val28 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val56=$(tmp0) oefsteps=$val56 nextstep=!nosubst $val56 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 57;$(val17[1])$val42 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 58;$(val17[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 59;$(val17[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 60;$(val17[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 61;$(val17[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 62;$(val17[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 63;$(val17[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 64;$(val17[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 65;$(val17[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 66;$(val17[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

!read oef/special.phtml imagefill $val52,$val50 $val51,$val20 $val54 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val28 of $val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,\r11,\r12,\r13,\r14,\r15 val67=$(tmp0) tmp0=!replace internal \ by in $val67 val68=$(tmp0) tmp=!translate ";': to $ $ in ($(val68[$(val34[1;1])]))-($(val68[$(val34[1;2])]))-($(val68[$(val34[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val69=$(tmp0) val70=$(val67[$(val34[1;3])]) !ifval - isin $val70 val70=($val70) !endif !exit :feedback !exit :test !ifval $val69 notsametext and $val69=0 condtest1=1 !else condtest1=0 !endif condname1=$(val67[$(val34[1;1])]) = $(val67[$(val34[1;2])]) + $val70 !exit :stat vsavelist=20,28,34,50,51,52,54,57,58,59,60,61,62,63,64,65,66 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/def/W.def0000644000175000017500000001572210340570454024433 0ustar georgeskgeorgesk!set title=9: W !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r,r,r,r,r varcnt=93 prevarcnt=86 postvarcnt=6 replycnt=10 choicecnt=0 conditioncnt=4 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=red,green,blue,gray,orange,cyan,violet,black val7=rojo,verde,azul,gris,naranja,cián,violeta,negro val8=roja,verde,azul,gris,naranja,cián,violeta,negra val9=$[rint(5)] val10=$[rint(9)] val11=-3,-2,-1,1,0,-1,1,2,3 val12=1,0,-1,1,0,1,-1,0,1 val13=1,2,4,6,8 val14=3,2,1;5,4,3;7,6,5;9,8,7 val15=$[rint(60)] val16=$[rint(80)] val17=$[3.2] val18=$[rint(1)] val19=$val8 val20=línea val21=de la !ifval $val2 issametext val2=$[rint(1)] !endif !ifval $val3 issametext val3=$[rint(0)] !endif tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val22=$(tmp0) tmp0=!randitem 2,3,5 val23=sqrt($(tmp0)) tmp0=!record $val2 of src/data val24=$(tmp0) val25=$(val24[1;]) val26=$(val24[2;]) val27=$(val24[3;1]) val28=$(val24[3;2]) val29=$[rint(($val27+$val28)/2)] val30=$(val26[1]) val31=$(val26[2]) val32=$(val26[3]) !ifval $val31 = val31= 60 !endif !ifval $val32= val32= 35 !endif val33=$val31 $val32 tmp=!translate internal $ $ to ; in $val24 tmp=!row 4 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val24=$(tmp1) tmp0=!itemcnt $val24 val34=$[rint($(tmp0))] !if $val34<=3 val35=$(val24[1]) val36=$(val24[2]) val37=$(val24[3]) val38=computed !if $val37<0 tmp0=!values $val37*x,-($val37)*x for x=$val35 to $val36 val39=$(tmp0) !else tmp0=!values $val37*x for x=$val35 to $val36 val39=$(tmp0) !endif val24=$val39 !else val38=listed !endif tmp0=!mathsubst f=$(val22[1]) in $val24 val24=$(tmp0) tmp0=!mathsubst g=$(val22[2]) in $val24 val24=$(tmp0) tmp0=!mathsubst rt=$val23 in $val24 val24=$(tmp0) tmp0=!shuffle $val24 tmp1=!item 1 to $val9 of $(tmp0) val40=$(tmp1) tmp0=!values 0 for x=1 to $val10 val41=$(tmp0) !for val42 =1 to $val9 tmp0=!replace item number $(val13[$val42]) by $(val40[$val42]) in $val41 val41=$(tmp0) !next !ifval $val27<0 tmp0=!randint 2*$val27, 2*$val28 val43=$[$(tmp0)] !else tmp1=!randint 2*$val29, 2*$val28 val43=$[$val29+$(tmp1)] !endif tmp=!translate internal $ $ to ; in $val14 tmp0=!rowcnt $tmp val44=$[rint($(tmp0))] !for val37 =1 to $val44 val45=$(val14[$val37;]) tmp0=!itemcnt $val45 val46=$[rint($(tmp0))] val47=($val43) !for val48 =2 to $val46 val47=$val47-($(val41[$(val45[$val48])])) !next !if $val38 issametext computed val47=$[$val47] !else t_=!replace internal \( by ( in expand($val47) tmp0=!exec maxima $t_ val47=$(tmp0) !endif tmp0=!replace item number $(val45[1]) by $val47 in $val41 val41=$(tmp0) !next val49= tmp0=!listcomplement $val41 in $val24 val50=$(tmp0) tmp0=!itemcnt $val50 val51=$[rint(min($val3,$(tmp0)))] !for val42 =1 to $val51 tmp0=!item 1 to $val3 of $val50 val52=$(tmp0) !ifval / isin $(val52[$val42]) tmp0=!replace / by /( in \($(val52[$val42]))) val47=$(tmp0) !else val47=\($(val52[$val42])) !endif val49=$val49,$val47 !next val30= !for val42 =1 to $val10 !if / isin $(val41[$val42]) tmp0=!replace / by /( in \($(val41[$val42]))) val47=$(tmp0) !else val47=\($(val41[$val42])) !endif tmp0=!append item $val47 to $val30 val30=$(tmp0) !next val53= !for val42 =1 to $val44 val45=$(val14[$val42;]) val53=$val53 lines $(val6[$val42]),$(val11[$(val45[1])]),$(val12[$(val45[1])]),$(val11[$(val45[2])]),$(val12[$(val45[2])]),$(val11[$(val45[3])]),$(val12[$(val45[3])]) !next val54=0.3 val55=$[rint(2*($val17+$val54)*$val15)] val56=$[rint(2*($val18+$val54)*$val16)] !readproc oef/draw.phtml $val55,$val56 \ xrange -$val54-$val17,$val17+$val54 yrange -$val54-$val18,$val18+$val54 fill 0,0,white linewidth 3 $val53 tmp0=$ins_url val57=$(tmp0) tmp0=!values x*$val15+$val55/2-$val31/2 for x in $val11 val11=$(tmp0) tmp0=!values -y*$val16+$val56/2-$val32/2 for y in $val12 val12=$(tmp0) val58= !for val48 =1 to $val10 val58=$val58 r$val48,$(val11[$val48])x$(val12[$val48]) !next tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15 val59=$(tmp0) oefsteps=$val59 nextstep=!nosubst $val59 !readproc oef/steps.proc replytype1=dragfill replyname1=Caja 1 replygood1=?analyze 60;$(val30[1])$val49 replytype2=dragfill replyname2=Caja 2 replygood2=?analyze 61;$(val30[2]) replytype3=dragfill replyname3=Caja 3 replygood3=?analyze 62;$(val30[3]) replytype4=dragfill replyname4=Caja 4 replygood4=?analyze 63;$(val30[4]) replytype5=dragfill replyname5=Caja 5 replygood5=?analyze 64;$(val30[5]) replytype6=dragfill replyname6=Caja 6 replygood6=?analyze 65;$(val30[6]) replytype7=dragfill replyname7=Caja 7 replygood7=?analyze 66;$(val30[7]) replytype8=dragfill replyname8=Caja 8 replygood8=?analyze 67;$(val30[8]) replytype9=dragfill replyname9=Caja 9 replygood9=?analyze 68;$(val30[9]) replytype10=dragfill replyname10=Caja 10 replygood10=?analyze 69;$(val30[10]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellenar la imagen con los objetos dados, de manera que la suma de cada $val20 sea igual a $val43.

!read oef/special.phtml imagefill $val57,$val55 $val56,$val33 $val58 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 to $val10 of $val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69,\r11,\r12,\r13,\r14,\r15 val70=$(tmp0) tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[1;1])]))-($(val71[$(val14[1;2])]))-($(val71[$(val14[1;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val72=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[2;1])]))-($(val71[$(val14[2;2])]))-($(val71[$(val14[2;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val73=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[3;1])]))-($(val71[$(val14[3;2])]))-($(val71[$(val14[3;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val43-($(val71[$(val14[4;1])]))-($(val71[$(val14[4;2])]))-($(val71[$(val14[4;3])])) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !exit :test !ifval $val72 notsametext and $val72=0 condtest1=1 !else condtest1=0 !endif condname1=Suma $val21 $val20 $(val19[1]) = $val43 !ifval $val73 notsametext and $val73=0 condtest2=1 !else condtest2=0 !endif condname2=Suma $val21 $val20 $(val19[2]) = $val43 !ifval $val74 notsametext and $val74=0 condtest3=1 !else condtest3=0 !endif condname3=Suma $val21 $val20 $(val19[3]) = $val43 !ifval $val75 notsametext and $val75=0 condtest4=1 !else condtest4=0 !endif condname4=Suma $val21 $val20 $(val19[4]) = $val43 !exit :stat vsavelist=6,10,14,19,20,21,33,43,55,56,57,58,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/intro.phtml0000644000175000017500000000111710340570454025201 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene por el momento $exototal actividades de práctica visual de aritmética (adición, sustracción), que bien pueden ser consideradas ejercicios bien actividades recreativas.

Estas son actividades del tipo ``arrastra y pega''; consisten en poner números o expresiones dentro de una imagen, con condiciones geométricas sobre sus sumas. El primer número de la lista indica el número de objetos que debe ponerse. Con gran variedad de estilos y niveles de dificultad, puede satisfacer varios objetivos. !read oef/$module_language/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/var.init0000644000175000017500000000021210340570453024447 0ustar georgeskgeorgeskdatacnt=!recordcnt src/data !bound confparm1 between integer 1 and $datacnt default 1 !bound confparm2 between integer 0 and 10 default 0 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/Exindex0000644000175000017500000000124010340570455024325 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of pentagon,pentagram,pyramid3,pyramid1,cross,tie,pyramid1b,V,twosqr,pyramid2,stool,triangle,asterisk,cube,H,IXI,pyramid1c,pizza3,house,bigsquare,grill,threesqr,diag,foursqr,M,pyramid1d,pyramid2b,pizza4,W, !set titlelist=!char 1 to -2 of ~10: Pentágono,~10: Pentagrama,~10: Pirámide III,3: Pirámide I,5: Cruz,5: Pajarita,5: Pirámide Ib,5: V,6: Dos cuadrados,6: Pirámide II,6: Taburete,6: Triángulo,7: Asterisco,7: Cubo,7: H,7: Pajarita,7: Pirámide Ic,7: Pizza 3,8: Casa,8: Cuadrado,8: Rejilla,8: Tres cuadrados,9: Cuadrado + diagonales,9: Cuatro cuadrados,9: M,9: Pirámide Id,9: Pirámide IIb,9: Pizza 4,9: W, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/Extitles0000644000175000017500000000107410340570455024527 0ustar georgeskgeorgeskH:7: H IXI:7: Pajarita M:9: M V:5: V W:9: W asterisk:7: Asterisco bigsquare:8: Cuadrado cross:5: Cruz cube:7: Cubo diag:9: Cuadrado + diagonales foursqr:9: Cuatro cuadrados grill:8: Rejilla house:8: Casa pentagon:~10: Pentágono pentagram:~10: Pentagrama pizza3:7: Pizza 3 pizza4:9: Pizza 4 pyramid1:3: Pirámide I pyramid1b:5: Pirámide Ib pyramid1c:7: Pirámide Ic pyramid1d:9: Pirámide Id pyramid2:6: Pirámide II pyramid2b:9: Pirámide IIb pyramid3:~10: Pirámide III stool:6: Taburete threesqr:8: Tres cuadrados tie:5: Pajarita triangle:6: Triángulo twosqr:6: Dos cuadrados wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/var.proc0000644000175000017500000000075410340570454024463 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=no # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/about.phtml0000644000175000017500000000005310340570455025157 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/main.phtml0000644000175000017500000000005210340570453024766 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/introhook.phtml0000644000175000017500000000057110340570455026066 0ustar georgeskgeorgesk!set n=!recordcnt src/data !reset objlist !for i=1 to $n !set l=!record $i of src/data !set l=!line 1 of $l !set objlist=!append item $l to $objlist !next i Tipo de objetos: !formselect confparm1 from 1 to $n prompt $objlist Número de objetos redundantes: wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/mkindex0000755000175000017500000000046010340570455024366 0ustar georgeskgeorgesk#! /bin/sh cd `dirname $0` thisdir=`pwd` lastdir=$thisdir wims_home=$w_wims_home while [ -z "$wims_home" ] && [ "$lastdir" != "/" ] do wims_home=`cat $lastdir/.wimshome 2>/dev/null` lastdir=`dirname $lastdir` done if [ -z "$wims_home" ]; then exit; fi . $wims_home/public_html/scripts/oef/mkindex wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/INDEX0000644000175000017500000000112410340570454023570 0ustar georgeskgeorgesktitle=Figuras aditivas description=situar números dentro de figuras geométricas de acuerdo con condiciones basadas en sumas. author=XIAO Gang address=xiao@unice.fr copyright=© 2003- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 wims_version=3.34 vardef=oef/var.def language=es category=exercise, oef, recreation level=E3 E4 E5 E6 H1 H2 H3 H4 H5 H6 U1 domain=algebra keywords=adición, suma, fracción, decimal, número relativo, raíz, número complejo, aritmética require=maxima scoring=yes help=popup wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/0000755000175000017500000000000010771700062023565 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/twosqr.oef0000644000175000017500000001162310340570454025624 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{6: Dos cuadrados} \integer{tot=4} \text{posx=-2,0,2,-2,0,2} \text{posy=1,1,1,-1,-1,-1} \text{first=1,2,3,4} \text{conds=5,1,2,4;6,2,3,5} \text{centers=-0.5,0;0.5,0} \integer{xstep=60} \integer{ystep=60} \integer{xrange=2} \integer{yrange=1} \text{border=0.5} \text{borderline=1,3,6,4,1,2,5} \text{circle=} \integer{coeff=3} \integer{Tot=\tot+2} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 2}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/diag.oef0000644000175000017500000001235010340570453025166 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{9: Cuadrado + diagonales} \integer{tot=5} \text{posx=-1,0,1,-1,0,1,-1,0,1} \text{posy=1,1,1,0,0,0,-1,-1,-1} \text{first=1,3,5,7,9} \text{conds=2,1,3,5;4,1,5,7;6,3,5,9;8,7,5,9} \text{centers=0,0.5;-0.5,0;0.5,0;0,-0.5} \integer{xstep=120} \integer{ystep=100} \integer{xrange=1} \integer{yrange=1} \text{border=0.3} \text{borderline=1,3,9,7,1,9,7,3} \text{circle=} \integer{coeff=3} \integer{Tot=\tot+4} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 4}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\t4)} \condition{Suma para la región \colornamef[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/IXI.oef0000644000175000017500000001132010340570453024707 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{7: Pajarita} \integer{tot=3} \integer{Tot=7} \text{posx=1,1,1,0,-1,-1,-1} \text{posy=-1,0,1,0,-1,0,1} \text{first=1,3,4} \text{conds=2,1,3;7,1,4;5,3,4;6,5,7} \integer{xstep=120} \integer{ystep=80} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/triangle.oef0000644000175000017500000001130510340570453026066 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{6: Triángulo} \integer{tot=3} \integer{Tot=6} \text{posx=0,-1,1,-2,0,2} \text{posy=1,0,0,-1,-1,-1} \text{first=1,4,6} \text{conds=2,1,4;3,1,6;5,4,6} \integer{xstep=60} \integer{ystep=80} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamem} \text{lname=lado} \text{de=del} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pizza4.oef0000644000175000017500000001242410340570453025505 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{9: Pizza 4} \integer{tot=5} \text{posx=0,0,0.707,1,0.707,0,-0.707,-1,-0.707} \text{posy=0,1,0.707,0,-0.707,-1,-0.707,0,0.707} \text{first=1,2,4,6,8} \text{conds=3,1,2,4;5,1,4,6;7,1,6,8;9,1,2,8} \text{centers=0.5,0.5;0.5,-0.5;-0.5,-0.5;-0.5,0.5} \integer{xstep=130} \integer{ystep=130} \integer{xrange=1} \integer{yrange=1} \text{border=0.2} \text{borderline=2,6,1,4,8} \text{circle=ellipse 0,0,2,2,black} \integer{coeff=3} \integer{Tot=\tot+4} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 4}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\t4)} \condition{Suma para la región \colornamef[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pizza3.oef0000644000175000017500000001215110340570453025501 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{7: Pizza 3} \integer{tot=4} \text{posx=0,0,sqrt(3)/2,sqrt(3)/2,0,-sqrt(3)/2,-sqrt(3)/2} \text{posy=0,1,0.5,-0.5,-1,-0.5,0.5} \text{first=1,2,4,6} \text{conds=3,1,2,4;5,1,4,6;7,1,2,6} \text{centers=0.5,0;0,-0.5;-0.5,0} \integer{xstep=110} \integer{ystep=110} \integer{xrange=1} \integer{yrange=1} \text{border=0.2} \text{borderline=2,1,4,1,6} \text{circle=ellipse 0,0,2,2,black} \integer{coeff=3} \integer{Tot=\tot+3} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 3}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid2b.oef0000644000175000017500000001225510340570453026157 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{9: Pirámide IIb} \text{stage=2} \text{base=3} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} \text{p3=\r[\conds[3;3]]} \text{p3=- isin \p3?(\p3)} \text{t3=simplify((\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{\r[\conds[3;1]] = \r[\conds[3;2]] + \p3} {\t3 notsametext and \t3=0} \text{p4=\r[\conds[4;3]]} \text{p4=- isin \p4?(\p4)} \text{t4=simplify((\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{\r[\conds[4;1]] = \r[\conds[4;2]] + \p4} {\t4 notsametext and \t4=0} \text{p5=\r[\conds[5;3]]} \text{p5=- isin \p5?(\p5)} \text{t5=simplify((\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]]))} \condition{\r[\conds[5;1]] = \r[\conds[5;2]] + \p5} {\t5 notsametext and \t5=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/H.oef0000644000175000017500000001130610340570454024452 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{7: H} \integer{tot=4} \integer{Tot=7} \text{posx=-1,-1,-1,0,1,1,1} \text{posy=1,0,-1,0,1,0,-1} \text{first=1,2,4,5} \text{conds=3,1,2;6,2,4;7,5,6} \integer{xstep=120} \integer{ystep=100} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pentagram.oef0000644000175000017500000001273010340570454026243 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pentagram.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{~10: Pentagrama} \integer{tot=5} \text{posx=wims(values sin(2*n*pi/5) for n=0 to 4), wims(values -sin(2*n*pi/5)*0.381966 for n=0 to 4)} \text{posy=wims(values cos(2*n*pi/5)-0.1 for n=0 to 4), wims(values -cos(2*n*pi/5)*0.381966-0.1 for n=0 to 4)} \integer{xstep=200} \integer{ystep=200} \integer{xrange=1} \integer{yrange=1} \real{border=0.07} \integer{Tot=\tot + 5} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to 15)} \for{t=1 to \tot} { \text{bb=wims(replace item number \t by \sh[\t] in \bb)} \text{bb=wims(replace item number \t+10 by -(\sh[\t]) in \bb)} } \integer{sum=\smin<0?randint(\smin..\smax):\smean+randint(\smean..\smax)} \text{conds=6,3,4,11;7,4,5,12;8,1,5,13;9,1,2,14;10,2,3,15} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \integer{sum=\sum*2} \text{bb=\bb[1..10]} \text{conds=1,3,9,10;2,4,6,10;3,5,6,7;1,4,7,8;2,5,8,9} \text{bl=1,3,5,2,4,1} \text{lines=} \for{i=1 to 5}{ \text{lines=\lines line \posx[\bl[\i]],\posy[\bl[\i]],\posx[\bl[\i+1]],\posy[\bl[\i+1]],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]])-(\R[\conds[1;4]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]])-(\R[\conds[2;4]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]])-(\R[\conds[3;4]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]])-(\R[\conds[4;4]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} \text{t5=simplify(\sum-(\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]])-(\R[\conds[5;4]]))} \condition{Suma \de \lname \colorname[5] = \sum} {\t5 notsametext and \t5=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid1c.oef0000644000175000017500000001140110340570454026150 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{7: Pirámide Ic} \text{stage=1} \text{base=3} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} \text{p3=\r[\conds[3;3]]} \text{p3=- isin \p3?(\p3)} \text{t3=simplify((\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{\r[\conds[3;1]] = \r[\conds[3;2]] + \p3} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/stool.oef0000644000175000017500000001130510340570453025421 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{6: Taburete} \integer{tot=3} \integer{Tot=6} \text{posx=-1,0,1,0,-1,1} \text{posy=1,1,1,0,-1,-1} \text{first=1,3,4} \text{conds=2,1,3;6,1,4;5,3,4} \integer{xstep=110} \integer{ystep=75} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pentagon.oef0000644000175000017500000001225510340570453026101 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{~10: Pentágono} \integer{tot=5} \integer{Tot=10} \text{posx=wims(values sin(n*pi/5)*cos((n%2)*pi/5) for n=0 to 9)} \text{posy=wims(values cos(n*pi/5)*cos((n%2)*pi/5) for n=0 to 9)} \text{first=1,3,5,7,9} \text{conds=2,1,3;4,3,5;6,5,7;8,7,9;10,9,1} \integer{xstep=150} \integer{ystep=150} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamem} \text{lname=lado} \text{de=del} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} \text{t5=simplify(\sum-(\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]]))} \condition{Suma \de \lname \colorname[5] = \sum} {\t5 notsametext and \t5=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid1d.oef0000644000175000017500000001172310340570453026157 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{9: Pirámide Id} \text{stage=1} \text{base=4} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} \text{p3=\r[\conds[3;3]]} \text{p3=- isin \p3?(\p3)} \text{t3=simplify((\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{\r[\conds[3;1]] = \r[\conds[3;2]] + \p3} {\t3 notsametext and \t3=0} \text{p4=\r[\conds[4;3]]} \text{p4=- isin \p4?(\p4)} \text{t4=simplify((\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{\r[\conds[4;1]] = \r[\conds[4;2]] + \p4} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/Makefile0000644000175000017500000000003010340570453025217 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid1b.oef0000644000175000017500000001105710340570453026155 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{5: Pirámide Ib} \text{stage=1} \text{base=2} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/grill.oef0000644000175000017500000001162610340570453025400 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{8: Rejilla} \integer{tot=4} \integer{Tot=8} \text{posx=-2,0,2,-1,1,-2,0,2} \text{posy=1,1,1,0,0,-1,-1,-1} \text{first=2,4,5,7} \text{conds=1,4,7;6,4,2;8,2,5;3,5,7} \integer{xstep=70} \integer{ystep=70} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/tie.oef0000644000175000017500000001160210340570453025042 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{5: Pajarita} \integer{tot=3} \text{posx=-1,-1,0,1,1} \text{posy=1,-1,0,1,-1} \text{first=1,3,4} \text{conds=2,1,3;5,3,4} \text{centers=-0.5,0;0.5,0} \integer{xstep=120} \integer{ystep=80} \integer{xrange=1} \integer{yrange=1} \text{border=0.4} \text{borderline=1,2,4,5,1} \text{circle=} \integer{coeff=2} \integer{Tot=\tot+2} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 2}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cross.oef0000644000175000017500000001076710340570453025425 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{5: Cruz} \integer{tot=3} \integer{Tot=5} \text{posx=-1,1,0,-1,1} \text{posy=1,1,0,-1,-1} \text{first=1,2,3} \text{conds=5,1,3;4,2,3} \integer{xstep=100} \integer{ystep=75} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/.htaccess0000644000175000017500000000001610340570453025361 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/M.oef0000644000175000017500000001162610340570453024463 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{9: M} \integer{tot=5} \integer{Tot=9} \text{posx=-4,-3,-2,-1,0,1,2,3,4} \text{posy=-1,0,1,0,-1,0,1,0,-1} \text{first=1,2,4,6,8} \text{conds=3,2,1;5,4,3;7,6,5;9,8,7} \integer{xstep=60} \integer{ystep=80} \real{xrange=4.2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/V.oef0000644000175000017500000001076210340570453024474 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{5: V} \integer{tot=3} \integer{Tot=5} \text{posx=-2,-1,0,1,2} \text{posy=1,0,-1,0,1} \text{first=2,3,4} \text{conds=1,2,3;5,4,3} \integer{xstep=65} \integer{ystep=80} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cube.oef0000644000175000017500000001205610340570454025204 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{7: Cubo} \integer{tot=4} \text{posx=-2,0,2,0,-2,0,2} \text{posy=1,2,1,0,-1,-2,-1} \text{first=1,3,4,6} \text{conds=2,1,3,4;5,1,4,6;7,3,4,6} \text{centers=0,1;-1,0;1,0} \integer{xstep=70} \integer{ystep=60} \integer{xrange=2} \integer{yrange=2} \text{border=0.6} \text{borderline=1,2,3,7,6,5,1,4,3,7,6,4} \text{circle=} \integer{coeff=3} \integer{Tot=\tot+3} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 3}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid1.oef0000644000175000017500000001054010340570453026007 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{3: Pirámide I} \text{stage=1} \text{base=1} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/data0000644000175000017500000000344610340570454024432 0ustar georgeskgeorgesk:Números naturales (pequeños) nombres,35,30 1,7 1,2,3,4,5,6,7,1,2,3,4,5,6,7 :Números naturales (medios) nombres,40,30 1,30 1,30,1 :Números naturales (grandes) nombres,48,30 25,400 25,400,1 :Números relativos (pequeños) nombres,40,30 -7,7 1,2,3,4,5,6,7,-1,-2,-3,-4,-5,-6,-7 :Números relativos (medios) nombres,48,30 -30,30 1,30,-1 :Números relativos (grandes) nombres,55,30 -400,400 1,400,-1 :Números decimales positivos nombres,50,30 -20,20 3,199,0.1 :Números decimales relativos nombres,55,30 -20,20 3,199,-0.1 :Fracciones positivas fractions,50,55 0.15,3 1/2,3/2,5/2,7/2, 1/3,2/3,4/3,5/3,7/3,8/3, 1/4,3/4,5/4,7/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5, 1/6,5/6,7/6, 1/8,3/8,5/8,7/8 :Fracciones relativas fractions,55,55 -2,2 1/2,3/2,5/2,1/3,2/3,4/3,5/3,1/4,3/4,5/4,1/5,2/5,3/5,4/5, -1/2,-3/2,-5/2,-1/3,-2/3,-4/3,-5/3,-1/4,-3/4,-5/4,-1/5,-2/5,-3/5,-4/5 :Expressiones 1 variable expressions,60,30 -2,2 f+1,f+2,2*f+1,2*f+2,f-1,f-2,2*f-1,2*f-2,1-f,2-f,1-2*f,2-2*f,-f-1,-f-2,-2*f-1,-2*f-2,f,-f,2*f,-2*f,1,2,-1,-2 :Expressiones 2 variables expressions,80,30 -1,1 f,g,-f,-g,1,-1,f+g,f-g,g-f,-f-g,f+1,f-1,1-f,-f-1,g+1,g-1,1-g,-g-1 :pi expressions,70,30 -2,2 pi+1,pi+2,2*pi+1,2*pi+2,pi-1,pi-2,2*pi-1,2*pi-2,1-pi,2-pi,1-2*pi,2-2*pi,-pi-1,-pi-2,-2*pi-1,-2*pi-2,pi,-pi,2*pi,-2*pi,1,2,-1,-2 :e expressions,70,30 -2,2 e+1,e+2,2*e+1,2*e+2,e-1,e-2,2*e-1,2*e-2,1-e,2-e,1-2*e,2-2*e,-e-1,-e-2,-2*e-1,-2*e-2,e,-e,2*e,-2*e,1,2,-1,-2 :pi y e expressions,85,30 -1,1 pi,e,-pi,-e,1,-1,pi+e,pi-e,e-pi,-pi-e,pi+1,pi-1,1-pi,-pi-1,e+1,e-1,1-e,-e-1 :Raíces nombres,100,38 -2,2 rt+1,rt+2,2*rt+1,2*rt+2,rt-1,rt-2,2*rt-1,2*rt-2,1-rt,2-rt,1-2*rt,2-2*rt,-rt-1,-rt-2,-2*rt-1,-2*rt-2,rt,-rt,2*rt,-2*rt,1,2,-1,-2 :Números complejos nombres,70,30 -2,2 i+1,i+2,2*i+1,2*i+2,i-1,i-2,2*i-1,2*i-2,1-i,2-i,1-2*i,2-2*i,-i-1,-i-2,-2*i-1,-2*i-2,i,-i,2*i,-2*i,1,2,-1,-2 wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/foursqr.oef0000644000175000017500000001236110340570454025766 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{9: Cuatro cuadrados} \integer{tot=5} \text{posx=-1,0,1,-1,0,1,-1,0,1} \text{posy=1,1,1,0,0,0,-1,-1,-1} \text{first=1,2,3,4,7} \text{conds=5,1,2,4;6,2,3,5;8,4,5,7;9,5,6,8} \text{centers=-0.5,0.5;0.5,0.5;-0.5,-0.5;0.5,-0.5} \integer{xstep=120} \integer{ystep=100} \integer{xrange=1} \integer{yrange=1} \text{border=0.3} \text{borderline=1,3,9,7,1,2,8,7,4,6} \text{circle=} \integer{coeff=3} \integer{Tot=\tot+4} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 4}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\t4)} \condition{Suma para la región \colornamef[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/house.oef0000644000175000017500000001233310340570453025406 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{8: Casa} \integer{tot=4} \text{posx=-1,1,-2,0,2,-2,0,2} \text{posy=1.8,2,0.4,0,0.4,-1.6,-2,-1.6} \text{first=3,4,5,7} \text{conds=1,3,4;2,1,4,5;6,3,4,7;8,4,5,7} \text{centers=-1,1;1,1;-1,-1;1,-1} \integer{xstep=70} \integer{ystep=60} \integer{xrange=2} \integer{yrange=2} \text{border=0.5} \text{borderline=7,8,5,2,1,3,6,7,4,1,3,4,5} \text{circle=} \integer{coeff=3} \integer{Tot=\tot+4} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 4}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\t4)} \condition{Suma para la región \colornamef[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid3.oef0000644000175000017500000001257310340570454026022 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{~10: Pirámide III} \text{stage=3} \text{base=3} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} \text{p3=\r[\conds[3;3]]} \text{p3=- isin \p3?(\p3)} \text{t3=simplify((\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{\r[\conds[3;1]] = \r[\conds[3;2]] + \p3} {\t3 notsametext and \t3=0} \text{p4=\r[\conds[4;3]]} \text{p4=- isin \p4?(\p4)} \text{t4=simplify((\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{\r[\conds[4;1]] = \r[\conds[4;2]] + \p4} {\t4 notsametext and \t4=0} \text{p5=\r[\conds[5;3]]} \text{p5=- isin \p5?(\p5)} \text{t5=simplify((\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]]))} \condition{\r[\conds[5;1]] = \r[\conds[5;2]] + \p5} {\t5 notsametext and \t5=0} \text{p6=\r[\conds[6;3]]} \text{p6=- isin \p6?(\p6)} \text{t6=simplify((\R[\conds[6;1]])-(\R[\conds[6;2]])-(\R[\conds[6;3]]))} \condition{\r[\conds[6;1]] = \r[\conds[6;2]] + \p6} {\t6 notsametext and \t6=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/pyramid2.oef0000644000175000017500000001140110340570454026006 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/pyramid.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{6: Pirámide II} \text{stage=2} \text{base=2} \integer{tot=\base+1} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} \text{p3=\r[\conds[3;3]]} \text{p3=- isin \p3?(\p3)} \text{t3=simplify((\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{\r[\conds[3;1]] = \r[\conds[3;2]] + \p3} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/bigsquare.oef0000644000175000017500000001162510340570453026250 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{8: Cuadrado} \integer{tot=4} \integer{Tot=8} \text{posx=-1,0,1,-1,1,-1,0,1} \text{posy=1,1,1,0,0,-1,-1,-1} \text{first=1,3,6,8} \text{conds=2,1,3;4,1,6;5,3,8;7,6,8} \integer{xstep=120} \integer{ystep=80} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamem} \text{lname=lado} \text{de=del} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/threesqr.oef0000644000175000017500000001207310340570453026121 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blocks.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{8: Tres cuadrados} \integer{tot=5} \text{posx=-3,-1,1,3,-3,-1,1,3} \text{posy=1,1,1,1,-1,-1,-1,-1} \text{first=1,2,3,4,5} \text{conds=6,1,2,5;7,2,3,6;8,3,4,7} \text{centers=-2,0;0,0;2,0} \integer{xstep=60} \integer{ystep=60} \integer{xrange=3} \integer{yrange=1} \text{border=0.5} \text{borderline=1,4,8,5,1,2,6,7,3} \text{circle=} \integer{coeff=3} \integer{Tot=\tot+3} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to 3}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/W.oef0000644000175000017500000001162510340570454024475 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{9: W} \integer{tot=5} \integer{Tot=9} \text{posx=-3,-2,-1,1,0,-1,1,2,3} \text{posy=1,0,-1,1,0,1,-1,0,1} \text{first=1,2,4,6,8} \text{conds=3,2,1;5,4,3;7,6,5;9,8,7} \integer{xstep=60} \integer{ystep=80} \real{xrange=3.2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/0000755000175000017500000000000010771700041024344 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/pentagram.cpp0000644000175000017500000000675110340570454027044 0ustar georgeskgeorgesktarget=pentagram #include "header.inc" #include "colors.inc" #define CONDITIONS 5 \title{~10: Pentagrama} \integer{tot=5} \text{posx=wims(values sin(2*n*pi/5) for n=0 to 4), wims(values -sin(2*n*pi/5)*0.381966 for n=0 to 4)} \text{posy=wims(values cos(2*n*pi/5)-0.1 for n=0 to 4), wims(values -cos(2*n*pi/5)*0.381966-0.1 for n=0 to 4)} \integer{xstep=200} \integer{ystep=200} \integer{xrange=1} \integer{yrange=1} \real{border=0.07} \integer{Tot=\tot + CONDITIONS} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #include "confparm.inc" \text{bb=wims(values 0 for x=1 to 15)} \for{t=1 to \tot} { \text{bb=wims(replace item number \t by \sh[\t] in \bb)} \text{bb=wims(replace item number \t+10 by -(\sh[\t]) in \bb)} } \integer{sum=\smin<0?randint(\smin..\smax):\smean+randint(\smean..\smax)} \text{conds=6,3,4,11;7,4,5,12;8,1,5,13;9,1,2,14;10,2,3,15} #include "sum.inc" #include "obj.inc" \integer{sum=\sum*2} \text{bb=\bb[1..10]} \text{conds=1,3,9,10;2,4,6,10;3,5,6,7;1,4,7,8;2,5,8,9} \text{bl=1,3,5,2,4,1} \text{lines=} \for{i=1 to 5}{ \text{lines=\lines line \posx[\bl[\i]],\posy[\bl[\i]],\posx[\bl[\i+1]],\posy[\bl[\i+1]],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]])-(\R[\conds[1;4]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]])-(\R[\conds[2;4]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]])-(\R[\conds[3;4]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]])-(\R[\conds[4;4]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} \text{t5=simplify(\sum-(\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]])-(\R[\conds[5;4]]))} \condition{Suma \de \lname \colorname[5] = \sum} {\t5 notsametext and \t5=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/pyramid.cpp0000644000175000017500000001130410340570453026520 0ustar georgeskgeorgesktarget=pyramid1 pyramid1b pyramid1c pyramid1d pyramid2 pyramid2b pyramid3 #include "header.inc" #define TIT Pirámide #if #TARGET (pyramid1) #define CONDITIONS 1 \title{3: TIT I} \text{stage=1} \text{base=1} #endif #if #TARGET (pyramid1b) #define CONDITIONS 2 \title{5: TIT Ib} \text{stage=1} \text{base=2} #endif #if #TARGET (pyramid1c) #define CONDITIONS 3 \title{7: TIT Ic} \text{stage=1} \text{base=3} #endif #if #TARGET (pyramid1d) #define CONDITIONS 4 \title{9: TIT Id} \text{stage=1} \text{base=4} #endif #if #TARGET (pyramid2) #define CONDITIONS 3 \title{6: TIT II} \text{stage=2} \text{base=2} #endif #if #TARGET (pyramid2b) #define CONDITIONS 5 \title{9: TIT IIb} \text{stage=2} \text{base=3} #endif #if #TARGET (pyramid3) #define CONDITIONS 6 \title{~10: TIT III} \text{stage=3} \text{base=3} #endif \integer{tot=\base+1} #include "confparm.inc" \integer{Tot=(\stage+1)*(\stage+2)/2+(\base-\stage)*(\stage+1)} \text{posx=} \text{posy=} \text{lcolor=black} \text{py=line 0,\stage,(\base-\stage),\stage,\lcolor} \integer{next=1} \text{conds=} \for{yy=\stage..0 step -1}{ \integer{this=\next} \integer{next=\next+\base-\yy+1} \text{py=\yy<\stage?\py polygon \lcolor,0,\yy} \for{xx=0..\base-\yy}{ \text{conds=\yy>0?\conds \this+\xx,\next+\xx,\next+\xx+1;} \text{py=\xx>0 and \yy<\stage?\py,\xx-1,\yy+1,\xx,\yy} \text{posx=\posx\xx,} \text{posy=\posy\yy,} } \text{py=\py line 0,\yy,\base-\yy,\yy} } \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1..\tot}{ \text{bb=wims(replace item number \Tot-\t+1 by \sh[\t] in \bb)} } \integer{condcnt=rows(\conds)} \for{c=\condcnt to 1 step -1}{ \if{\randtype issametext computed}{ \real{sum=(\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])} }{ \text{sum=maxima(expand((\bb[\conds[\c;2]])+(\bb[\conds[\c;3]])))} } \text{bb=wims(replace item number \conds[\c;1] by \sum in \bb)} } #include "obj.inc" \text{border=0.2} \integer{xstep=150} \integer{ystep=100} \integer{Sizex=(\base+\border*2)*\xstep} \integer{Sizey=(\stage+\border*2)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border,\base+\border yrange -\border,\stage+\border fill 0,0,white linewidth 3 linear 1,0.5,0,1 \py )} \text{px=} \for{t=1..\Tot}{\text{px=wims(append item \posx[\t]+\posy[\t]*0.5 to \px)}} \text{posx=wims(values (x+\border)*\xstep-\sizex/2 for x in \px)} \text{posy=wims(values (\border+\stage-y)*\ystep-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que cada caja de un nivel superior sea igual a la suma de las dos cajas inmediatamente inferiores.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify((\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \text{p1=\r[\conds[1;3]]} \text{p1=- isin \p1?(\p1)} \condition{\r[\conds[1;1]] = \r[\conds[1;2]] + \p1} {\t1 notsametext and \t1=0} #if CONDITIONS > 1 \text{t2=simplify((\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \text{p2=\r[\conds[2;3]]} \text{p2=- isin \p2?(\p2)} \condition{\r[\conds[2;1]] = \r[\conds[2;2]] + \p2} {\t2 notsametext and \t2=0} #endif #if CONDITIONS > 2 \text{p3=\r[\conds[3;3]]} \text{p3=- isin \p3?(\p3)} \text{t3=simplify((\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{\r[\conds[3;1]] = \r[\conds[3;2]] + \p3} {\t3 notsametext and \t3=0} #endif #if CONDITIONS > 3 \text{p4=\r[\conds[4;3]]} \text{p4=- isin \p4?(\p4)} \text{t4=simplify((\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{\r[\conds[4;1]] = \r[\conds[4;2]] + \p4} {\t4 notsametext and \t4=0} #endif #if CONDITIONS > 4 \text{p5=\r[\conds[5;3]]} \text{p5=- isin \p5?(\p5)} \text{t5=simplify((\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]]))} \condition{\r[\conds[5;1]] = \r[\conds[5;2]] + \p5} {\t5 notsametext and \t5=0} #endif #if CONDITIONS > 5 \text{p6=\r[\conds[6;3]]} \text{p6=- isin \p6?(\p6)} \text{t6=simplify((\R[\conds[6;1]])-(\R[\conds[6;2]])-(\R[\conds[6;3]]))} \condition{\r[\conds[6;1]] = \r[\conds[6;2]] + \p6} {\t6 notsametext and \t6=0} #endif wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/colors.inc0000644000175000017500000000030210340570453026337 0ustar georgeskgeorgesk\text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/confparm.inc0000644000175000017500000000173710340570453026660 0ustar georgeskgeorgesk \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/sides.cpp0000644000175000017500000001636110340570454026173 0ustar georgeskgeorgesktarget=triangle bigsquare cross stool IXI grill H M V W asterisk pentagon #include "header.inc" #include "colors.inc" #if #TARGET (triangle) #define CONDITIONS 3 \title{6: Triángulo} \integer{tot=3} \integer{Tot=6} \text{posx=0,-1,1,-2,0,2} \text{posy=1,0,0,-1,-1,-1} \text{first=1,4,6} \text{conds=2,1,4;3,1,6;5,4,6} \integer{xstep=60} \integer{ystep=80} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamem} \text{lname=lado} \text{de=del} #endif #if #TARGET (bigsquare) #define CONDITIONS 4 \title{8: Cuadrado} \integer{tot=4} \integer{Tot=8} \text{posx=-1,0,1,-1,1,-1,0,1} \text{posy=1,1,1,0,0,-1,-1,-1} \text{first=1,3,6,8} \text{conds=2,1,3;4,1,6;5,3,8;7,6,8} \integer{xstep=120} \integer{ystep=80} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamem} \text{lname=lado} \text{de=del} #endif #if #TARGET (cross) #define CONDITIONS 2 \title{5: Cruz} \integer{tot=3} \integer{Tot=5} \text{posx=-1,1,0,-1,1} \text{posy=1,1,0,-1,-1} \text{first=1,2,3} \text{conds=5,1,3;4,2,3} \integer{xstep=100} \integer{ystep=75} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (V) #define CONDITIONS 2 \title{5: V} \integer{tot=3} \integer{Tot=5} \text{posx=-2,-1,0,1,2} \text{posy=1,0,-1,0,1} \text{first=2,3,4} \text{conds=1,2,3;5,4,3} \integer{xstep=65} \integer{ystep=80} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (stool) #define CONDITIONS 3 \title{6: Taburete} \integer{tot=3} \integer{Tot=6} \text{posx=-1,0,1,0,-1,1} \text{posy=1,1,1,0,-1,-1} \text{first=1,3,4} \text{conds=2,1,3;6,1,4;5,3,4} \integer{xstep=110} \integer{ystep=75} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (IXI) #define CONDITIONS 3 \title{7: Pajarita} \integer{tot=3} \integer{Tot=7} \text{posx=1,1,1,0,-1,-1,-1} \text{posy=-1,0,1,0,-1,0,1} \text{first=1,3,4} \text{conds=2,1,3;7,1,4;5,3,4;6,5,7} \integer{xstep=120} \integer{ystep=80} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (H) #define CONDITIONS 3 \title{7: H} \integer{tot=4} \integer{Tot=7} \text{posx=-1,-1,-1,0,1,1,1} \text{posy=1,0,-1,0,1,0,-1} \text{first=1,2,4,5} \text{conds=3,1,2;6,2,4;7,5,6} \integer{xstep=120} \integer{ystep=100} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (M) #define CONDITIONS 4 \title{9: M} \integer{tot=5} \integer{Tot=9} \text{posx=-4,-3,-2,-1,0,1,2,3,4} \text{posy=-1,0,1,0,-1,0,1,0,-1} \text{first=1,2,4,6,8} \text{conds=3,2,1;5,4,3;7,6,5;9,8,7} \integer{xstep=60} \integer{ystep=80} \real{xrange=4.2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (W) #define CONDITIONS 4 \title{9: W} \integer{tot=5} \integer{Tot=9} \text{posx=-3,-2,-1,1,0,-1,1,2,3} \text{posy=1,0,-1,1,0,1,-1,0,1} \text{first=1,2,4,6,8} \text{conds=3,2,1;5,4,3;7,6,5;9,8,7} \integer{xstep=60} \integer{ystep=80} \real{xrange=3.2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (asterisk) #define CONDITIONS 3 \title{7: Asterisco} \integer{tot=4} \integer{Tot=7} \text{posx=0,-1,1,-2,2,-1,1} \text{posy=0,1,1,0,0,-1,-1} \text{first=1,2,3,4} \text{conds=5,1,4;6,1,3;7,1,2} \integer{xstep=65} \integer{ystep=100} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (grill) #define CONDITIONS 4 \title{8: Rejilla} \integer{tot=4} \integer{Tot=8} \text{posx=-2,0,2,-1,1,-2,0,2} \text{posy=1,1,1,0,0,-1,-1,-1} \text{first=2,4,5,7} \text{conds=1,4,7;6,4,2;8,2,5;3,5,7} \integer{xstep=70} \integer{ystep=70} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} #endif #if #TARGET (pentagon) #define CONDITIONS 5 \title{~10: Pentágono} \integer{tot=5} \integer{Tot=10} \text{posx=wims(values sin(n*pi/5)*cos((n%2)*pi/5) for n=0 to 9)} \text{posy=wims(values cos(n*pi/5)*cos((n%2)*pi/5) for n=0 to 9)} \text{first=1,3,5,7,9} \text{conds=2,1,3;4,3,5;6,5,7;8,7,9;10,9,1} \integer{xstep=150} \integer{ystep=150} \integer{xrange=1} \integer{yrange=1} \text{colorname=\colornamem} \text{lname=lado} \text{de=del} #endif #include "confparm.inc" \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} #include "sum.inc" #include "obj.inc" \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} #if CONDITIONS > 2 \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} #endif #if CONDITIONS > 3 \text{t4=simplify(\sum-(\R[\conds[4;1]])-(\R[\conds[4;2]])-(\R[\conds[4;3]]))} \condition{Suma \de \lname \colorname[4] = \sum} {\t4 notsametext and \t4=0} #endif #if CONDITIONS > 4 \text{t5=simplify(\sum-(\R[\conds[5;1]])-(\R[\conds[5;2]])-(\R[\conds[5;3]]))} \condition{Suma \de \lname \colorname[5] = \sum} {\t5 notsametext and \t5=0} #endif wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/Makefile0000644000175000017500000000003310340570453026004 0ustar georgeskgeorgesk all: cd ../..;./mkindex wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/sum.inc0000644000175000017500000000051710340570454025653 0ustar georgeskgeorgesk \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/blocks.cpp0000644000175000017500000001567710340570453026351 0ustar georgeskgeorgesktarget=twosqr threesqr foursqr tie cube house diag pizza3 pizza4 #include "header.inc" #include "colors.inc" #if #TARGET (tie) #define CONDITIONS 2 \title{5: Pajarita} \integer{tot=3} \text{posx=-1,-1,0,1,1} \text{posy=1,-1,0,1,-1} \text{first=1,3,4} \text{conds=2,1,3;5,3,4} \text{centers=-0.5,0;0.5,0} \integer{xstep=120} \integer{ystep=80} \integer{xrange=1} \integer{yrange=1} \text{border=0.4} \text{borderline=1,2,4,5,1} \text{circle=} \integer{coeff=2} #endif #if #TARGET (twosqr) #define CONDITIONS 2 \title{6: Dos cuadrados} \integer{tot=4} \text{posx=-2,0,2,-2,0,2} \text{posy=1,1,1,-1,-1,-1} \text{first=1,2,3,4} \text{conds=5,1,2,4;6,2,3,5} \text{centers=-0.5,0;0.5,0} \integer{xstep=60} \integer{ystep=60} \integer{xrange=2} \integer{yrange=1} \text{border=0.5} \text{borderline=1,3,6,4,1,2,5} \text{circle=} \integer{coeff=3} #endif #if #TARGET (threesqr) #define CONDITIONS 3 \title{8: Tres cuadrados} \integer{tot=5} \text{posx=-3,-1,1,3,-3,-1,1,3} \text{posy=1,1,1,1,-1,-1,-1,-1} \text{first=1,2,3,4,5} \text{conds=6,1,2,5;7,2,3,6;8,3,4,7} \text{centers=-2,0;0,0;2,0} \integer{xstep=60} \integer{ystep=60} \integer{xrange=3} \integer{yrange=1} \text{border=0.5} \text{borderline=1,4,8,5,1,2,6,7,3} \text{circle=} \integer{coeff=3} #endif #if #TARGET (foursqr) #define CONDITIONS 4 \title{9: Cuatro cuadrados} \integer{tot=5} \text{posx=-1,0,1,-1,0,1,-1,0,1} \text{posy=1,1,1,0,0,0,-1,-1,-1} \text{first=1,2,3,4,7} \text{conds=5,1,2,4;6,2,3,5;8,4,5,7;9,5,6,8} \text{centers=-0.5,0.5;0.5,0.5;-0.5,-0.5;0.5,-0.5} \integer{xstep=120} \integer{ystep=100} \integer{xrange=1} \integer{yrange=1} \text{border=0.3} \text{borderline=1,3,9,7,1,2,8,7,4,6} \text{circle=} \integer{coeff=3} #endif #if #TARGET (cube) #define CONDITIONS 3 \title{7: Cubo} \integer{tot=4} \text{posx=-2,0,2,0,-2,0,2} \text{posy=1,2,1,0,-1,-2,-1} \text{first=1,3,4,6} \text{conds=2,1,3,4;5,1,4,6;7,3,4,6} \text{centers=0,1;-1,0;1,0} \integer{xstep=70} \integer{ystep=60} \integer{xrange=2} \integer{yrange=2} \text{border=0.6} \text{borderline=1,2,3,7,6,5,1,4,3,7,6,4} \text{circle=} \integer{coeff=3} #endif #if #TARGET (house) #define CONDITIONS 4 \title{8: Casa} \integer{tot=4} \text{posx=-1,1,-2,0,2,-2,0,2} \text{posy=1.8,2,0.4,0,0.4,-1.6,-2,-1.6} \text{first=3,4,5,7} \text{conds=1,3,4;2,1,4,5;6,3,4,7;8,4,5,7} \text{centers=-1,1;1,1;-1,-1;1,-1} \integer{xstep=70} \integer{ystep=60} \integer{xrange=2} \integer{yrange=2} \text{border=0.5} \text{borderline=7,8,5,2,1,3,6,7,4,1,3,4,5} \text{circle=} \integer{coeff=3} #endif #if #TARGET (diag) #define CONDITIONS 4 \title{9: Cuadrado + diagonales} \integer{tot=5} \text{posx=-1,0,1,-1,0,1,-1,0,1} \text{posy=1,1,1,0,0,0,-1,-1,-1} \text{first=1,3,5,7,9} \text{conds=2,1,3,5;4,1,5,7;6,3,5,9;8,7,5,9} \text{centers=0,0.5;-0.5,0;0.5,0;0,-0.5} \integer{xstep=120} \integer{ystep=100} \integer{xrange=1} \integer{yrange=1} \text{border=0.3} \text{borderline=1,3,9,7,1,9,7,3} \text{circle=} \integer{coeff=3} #endif #if #TARGET (pizza3) #define CONDITIONS 3 \title{7: Pizza 3} \integer{tot=4} \text{posx=0,0,sqrt(3)/2,sqrt(3)/2,0,-sqrt(3)/2,-sqrt(3)/2} \text{posy=0,1,0.5,-0.5,-1,-0.5,0.5} \text{first=1,2,4,6} \text{conds=3,1,2,4;5,1,4,6;7,1,2,6} \text{centers=0.5,0;0,-0.5;-0.5,0} \integer{xstep=110} \integer{ystep=110} \integer{xrange=1} \integer{yrange=1} \text{border=0.2} \text{borderline=2,1,4,1,6} \text{circle=ellipse 0,0,2,2,black} \integer{coeff=3} #endif #if #TARGET (pizza4) #define CONDITIONS 4 \title{9: Pizza 4} \integer{tot=5} \text{posx=0,0,0.707,1,0.707,0,-0.707,-1,-0.707} \text{posy=0,1,0.707,0,-0.707,-1,-0.707,0,0.707} \text{first=1,2,4,6,8} \text{conds=3,1,2,4;5,1,4,6;7,1,6,8;9,1,2,8} \text{centers=0.5,0.5;0.5,-0.5;-0.5,-0.5;-0.5,0.5} \integer{xstep=130} \integer{ystep=130} \integer{xrange=1} \integer{yrange=1} \text{border=0.2} \text{borderline=2,6,1,4,8} \text{circle=ellipse 0,0,2,2,black} \integer{coeff=3} #endif \integer{Tot=\tot+CONDITIONS} #include "confparm.inc" \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(\coeff*\smin..\coeff*\smax): (\coeff-1)*\smean+randint(2*\smean..2*\smax)} #include "sum.inc" #include "obj.inc" \text{lines=lines black} \for{i in \borderline}{ \text{lines=\lines,\posx[\i],\posy[\i]} } \text{fill=} \for{i=1 to CONDITIONS}{ \text{fill=\fill fill \centers[\i;],\colorlist[\i]} } \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \lines \circle \fill )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de los elementos que limitan cada región coloreada sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=\sum} \text{t2=\sum} \text{t3=\sum} \text{t4=\sum} \text{t5=\sum} \text{t6=\sum} \for{t=1 to 8}{ \text{t1=\conds[1;\t] notsametext?\t1-(\R[\conds[1;\t]])} \text{t2=\conds[2;\t] notsametext?\t2-(\R[\conds[2;\t]])} \text{t3=\conds[3;\t] notsametext?\t3-(\R[\conds[3;\t]])} \text{t4=\conds[4;\t] notsametext?\t4-(\R[\conds[4;\t]])} \text{t5=\conds[5;\t] notsametext?\t5-(\R[\conds[5;\t]])} \text{t6=\conds[6;\t] notsametext?\t6-(\R[\conds[6;\t]])} } \text{t1=simplify(\t1)} \condition{Suma para la región \colornamef[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\t2)} \condition{Suma para la región \colornamef[2] = \sum} {\t2 notsametext and \t2=0} #if CONDITIONS > 2 \text{t3=simplify(\t3)} \condition{Suma para la región \colornamef[3] = \sum} {\t3 notsametext and \t3=0} #endif #if CONDITIONS > 3 \text{t4=simplify(\t4)} \condition{Suma para la región \colornamef[4] = \sum} {\t4 notsametext and \t4=0} #endif #if CONDITIONS > 4 \text{t5=simplify(\t5)} \condition{Suma para la región \colornamef[5] = \sum} {\t5 notsametext and \t5=0} #endif wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/header.inc0000644000175000017500000000015310340570454026273 0ustar georgeskgeorgesk\language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/cpp/obj.inc0000644000175000017500000000066610340570453025625 0ustar georgeskgeorgesk \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/src/asterisk.oef0000644000175000017500000001131510340570454026110 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/sides.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{colorlist=red,green,blue,gray,orange,cyan,violet,black} \text{colornamem=rojo,verde,azul,gris,naranja,cián,violeta,negro} \text{colornamef=roja,verde,azul,gris,naranja,cián,violeta,negra} \title{7: Asterisco} \integer{tot=4} \integer{Tot=7} \text{posx=0,-1,1,-2,2,-1,1} \text{posy=0,1,1,0,0,-1,-1} \text{first=1,2,3,4} \text{conds=5,1,4;6,1,3;7,1,2} \integer{xstep=65} \integer{ystep=100} \integer{xrange=2} \integer{yrange=1} \text{colorname=\colornamef} \text{lname=línea} \text{de=de la} \integer{confparm1=\confparm1 issametext ?1} \integer{confparm2=\confparm2 issametext ?0} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=\list[1;]} \text{parms=\list[2;]} \text{smin=\list[3;1]} \text{smax=\list[3;2]} \integer{smean=(\smin+\smax)/2} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(4..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{list=\sh1} }{ \text{randtype=listed} } \text{list=wims(mathsubst f=\vars[1] in \list)} \text{list=wims(mathsubst g=\vars[2] in \list)} \text{list=wims(mathsubst rt=\rt in \list)} \text{sh=item(1..\tot,shuffle(\list))} \text{bb=wims(values 0 for x=1 to \Tot)} \for{t=1 to \tot} {\text{bb=wims(replace item number \first[\t] by \sh[\t] in \bb)}} \real{sum=\smin<0?randint(2*\smin..2*\smax):\smean+randint(2*\smean..2*\smax)} \integer{condcnt=rows(\conds)} \for{c=1 to \condcnt}{ \text{cond=\conds[\c;]} \integer{cc=items(\cond)} \text{tt=(\sum)} \for{i=2 to \cc}{ \text{tt=\tt-(\bb[\cond[\i]])} } \if{\randtype issametext computed}{ \real{tt=\tt} }{ \text{tt=maxima(expand(\tt))} } \text{bb=wims(replace item number \cond[1] by \tt in \bb)} } \text{redund=} \text{red=wims(listcomplement \bb in \list)} \integer{rcnt=min(\confparm2,items(\red))} \for{t=1 to \rcnt}{ \text{rrr=item(1..\confparm2,\red)} \text{tt=/ isin \rrr[\t]?wims(replace / by /( in \(\rrr[\t]))):\(\rrr[\t])} \text{redund=\redund,\tt} } \text{obj=} \for{t=1 to \Tot}{ \if{/ isin \bb[\t]}{ \text{tt=wims(replace / by /( in \(\bb[\t])))} }{\text{tt=\(\bb[\t])}} \text{obj=wims(append item \tt to \obj)} } \text{py=} \for{t=1 to \condcnt}{ \text{cond=\conds[\t;]} \text{py=\py lines \colorlist[\t],\posx[\cond[1]],\posy[\cond[1]],\posx[\cond[2]],\posy[\cond[2]],\posx[\cond[3]],\posy[\cond[3]] } } \text{border=0.3} \integer{Sizex=2*(\xrange+\border)*\xstep} \integer{Sizey=2*(\yrange+\border)*\ystep} \text{bigimg=draw(\Sizex,\Sizey xrange -\border-\xrange,\xrange+\border yrange -\border-\yrange,\yrange+\border fill 0,0,white linewidth 3 \py )} \text{posx=wims(values x*\xstep+\Sizex/2-\sizex/2 for x in \posx)} \text{posy=wims(values -y*\ystep+\Sizey/2-\sizey/2 for y in \posy)} \text{caselist=} \for{i=1 to \Tot}{ \text{caselist=\caselist r\i,\posx[\i]x\posy[\i]} } \text{steps=item(1..\Tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15)} \steps{\steps} \statement{Rellenar la imagen con los objetos dados, de manera que la suma de cada \lname sea igual a \sum.

\special{imagefill \bigimg,\Sizex \Sizey,\size \caselist }
} \answer{Caja 1}{\r1;\obj[1]\redund}{type=dragfill} \answer{Caja 2}{\r2;\obj[2]}{type=dragfill} \answer{Caja 3}{\r3;\obj[3]}{type=dragfill} \answer{Caja 4}{\r4;\obj[4]}{type=dragfill} \answer{Caja 5}{\r5;\obj[5]}{type=dragfill} \answer{Caja 6}{\r6;\obj[6]}{type=dragfill} \answer{Caja 7}{\r7;\obj[7]}{type=dragfill} \answer{Caja 8}{\r8;\obj[8]}{type=dragfill} \answer{Caja 9}{\r9;\obj[9]}{type=dragfill} \answer{Caja 10}{\r10;\obj[10]}{type=dragfill} \text{r=item(1..\Tot,\r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15)} \text{R=wims(replace internal \ by in \r)} \text{t1=simplify(\sum-(\R[\conds[1;1]])-(\R[\conds[1;2]])-(\R[\conds[1;3]]))} \condition{Suma \de \lname \colorname[1] = \sum} {\t1 notsametext and \t1=0} \text{t2=simplify(\sum-(\R[\conds[2;1]])-(\R[\conds[2;2]])-(\R[\conds[2;3]]))} \condition{Suma \de \lname \colorname[2] = \sum} {\t2 notsametext and \t2=0} \text{t3=simplify(\sum-(\R[\conds[3;1]])-(\R[\conds[3;2]])-(\R[\conds[3;3]]))} \condition{Suma \de \lname \colorname[3] = \sum} {\t3 notsametext and \t3=0} wims-modules-es-3.64.orig/modules/H1/algebra/addfig.es/help.phtml0000644000175000017500000000005210340570455024774 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/0000755000175000017500000000000010340336006023673 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/0000755000175000017500000000000010340336006024431 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/rulefracrelirr.def0000644000175000017500000000450710340336006030142 0ustar georgeskgeorgesk!set title=Regla, fracc. irreductibles (relativo) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette Perrin-Riou email=bpr@math.u-psud.fr computeanswer=no precision=1000 ansorder=r,r varcnt=17 prevarcnt=15 postvarcnt=1 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=1 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(6)] val7=$[rint(-$val6)] tmp=!nonempty items -1,1 tmp0=!randitem $tmp val8=$[rint($(tmp0))] val9=Enunciado. Debe presentarse la fracción en forma irreductible. val10=0 val11= !for val12 =$val7 to $val6 val10=$[rint($val12*1)] val13=$[rint($val12)] val11=$val11 text blue, $val13,-1, medium,$val10 !next tmp=!nonempty items 2,4,5,3 tmp0=!randitem $tmp val14=$(tmp0) tmp0=!randint 1, 10 val15=$(tmp0) t_=!rawmath $val8*$val15/$val14 val10=!exec pari print($t_) t_=!replace internal \( by ( in print(numerator($val10)","denominator($val10)) tmp0=!exec pari $t_ val16=$(tmp0) !ifval $(val16[2])=1 val16= $(val16[1]),2 !endif replytype1=numeric replyname1=numerador replygood1=$[$(val16[1])] replytype2=numeric replyname2=denominador replygood2=$[$(val16[2])] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
!read oef/embed.phtml reply 1,6 $()

!read oef/embed.phtml reply 2,6 $()

!read oef/draw.phtml 600,50 \ xrange $val7-0.1,$val6+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,$val6,0,10,black parallel $val7,-0.8,$val7,0.4,1/2,0, 40, blue parallel $val7,-0.3,$val7,0.3,1/10,0, 200, blue parallel $val7,-0.8,$val7,0.6,1,0, 40, red $val11 arrow $val10,2,$val10,0, 8, black $()

$val9 $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val17=$[$m_reply1/$m_reply2-$val10] !exit :feedback !ifval $val17=0 and $m_reply1<>$(val16[1])

No ha simplificado la fracción. $() !endif !exit :test !exit :stat vsavelist=6,7,9,10,11,16 embedcnt=2 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/croissant2.def0000644000175000017500000000407610340336006027207 0ustar georgeskgeorgesk!set title=Ordenar números relativos II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r varcnt=23 prevarcnt=22 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(3)] val7=$[rint(3)] val8=0 val9= !for val10 =-$val6 to $val7 val8=$[rint($val10)] val11=$[rint($val10)] val9=$val9 text black, $val11,-1, medium,$val8 !next tmp0=!randint 0, 10*$val6-1 val12=$[-$(tmp0)/10] tmp0=!randint 0, 10*$val6-1 val13=$[$(tmp0)/10] tmp0=!randint 10, 10*$val6-1 val14=$[-$(tmp0)/10] tmp0=!randitem 1,-1 tmp1=!randint 10, 10*$val6-1 val15=$[$(tmp0)*$(tmp1)/10] tmp0=!randint 10, 10*$val6-1 val16=$[-$(tmp0)/10] tmp0=!randint 10, 10*$val6-1 val17=$[-$(tmp0)/10] tmp0=!listuniq $val12,$val13,$val14,$val16,$val15,$val17 val18=$(tmp0) tmp0=!randitem 1,2 val19=$(tmp0) tmp0=!item $val19 of creciente,decreciente val20=$(tmp0) tmp0=!sort numeric list $val18 val21=$(tmp0) tmp0=!shuffle $val18 val22=$(tmp0) tmp0=!replace , by ,    in $val22 val22=$(tmp0) tmp0=!sort reverse numeric list $val21 val23=$(tmp0) !ifval $val19=1 val24= $val21 !else val24=$val23 !endif replytype1=vector replyname1= replygood1=$val24 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ayudándose de la regla graduada, ordenar en sentido $val20 los siguientes números

$val22
!read oef/draw.phtml 600,50 \ xrange -$val6-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -$val6,-0.8,-$val6,0.4,1/2,0, 40, blue parallel -$val6,-0.3,-$val6,0.3,1/10,0, 200, blue parallel -$val6,-0.8,-$val6,0.6,1,0, 40, red $val9 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,20,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/rulefrac.def0000644000175000017500000000432710340336006026722 0ustar georgeskgeorgesk!set title=Regla y fracciones !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette Perrin-Riou email=bpr@math.u-psud.fr computeanswer=no precision=1000 ansorder=r,r varcnt=17 prevarcnt=15 postvarcnt=1 replycnt=2 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(6)] val7=$[rint(0)] val8=$[rint(1)] val9= val10=0 val11= !for val12 =$val7 to $val6 val10=$[rint($val12*1)] val13=$[rint($val12)] val11=$val11 text blue, $val13,-1, medium,$val10 !next tmp=!nonempty items 2,4,5,3 tmp0=!randitem $tmp val14=$(tmp0) tmp0=!randint 1, 10 val15=$(tmp0) t_=!rawmath $val8*$val15/$val14 val10=!exec pari print($t_) t_=!replace internal \( by ( in print(numerator($val10)","denominator($val10)) tmp0=!exec pari $t_ val16=$(tmp0) !ifval $(val16[2])=1 val16= $(val16[1]),2 !endif replytype1=numeric replyname1=numerador replygood1=?analyze 17 replytype2=numeric replyname2=denominador replygood2=?analyze 18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
!read oef/embed.phtml reply 1,6 $()

!read oef/embed.phtml reply 2,6 $()

!read oef/draw.phtml 600,50 \ xrange $val7-0.1,$val6+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,$val6,0,10,black parallel $val7,-0.8,$val7,0.4,1/2,0, 40, blue parallel $val7,-0.3,$val7,0.3,1/10,0, 200, blue parallel $val7,-0.8,$val7,0.6,1,0, 40, red $val11 arrow $val10,2,$val10,0, 8, black $()

$val9 $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef !ifval round($m_reply1)=$m_reply1 val19= 1 !else val19=0 !endif !exit :feedback !exit :test !ifval $val19=1 and $m_reply1/$m_reply2=$val10 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=6,7,9,10,11,17,18 embedcnt=2 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/position0.def0000644000175000017500000000214610340336006027040 0ustar georgeskgeorgesk!set title=¿A la derecha o la la izquierda de 0? !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r varcnt=6 prevarcnt=5 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 1, 7 val6=$[rint($(tmp0))] val7=derecha, izquierda tmp0=!randitem 1,2 val8=$(tmp0) tmp0=!item $val8 of $val7 val9=$(tmp0) !ifval $val8=1 val10= $val6 !else val10=-$val6 !endif replytype1=numeric replyname1=Su abscisa es replygood1=$[$val10] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El punto !insmath A $() tiene de abscisa +$val6 o -$val6. Ahora bien, está a la $val9 de 0. ¿Cuál es su abscisa? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/rulefracrel.def0000644000175000017500000000441610340336006027424 0ustar georgeskgeorgesk!set title=Regla y fracciones relativas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette Perrin-Riou email=bpr@math.u-psud.fr computeanswer=no precision=1000 ansorder=r,r varcnt=16 prevarcnt=14 postvarcnt=1 replycnt=2 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(6)] val7=$[rint(-$val6)] tmp=!nonempty items -1,1 tmp0=!randitem $tmp val8=$[rint($(tmp0))] val9=0 val10= !for val11 =$val7 to $val6 val9=$[rint($val11*1)] val12=$[rint($val11)] val10=$val10 text blue, $val12,-1, medium,$val9 !next tmp=!nonempty items 2,4,5,3 tmp0=!randitem $tmp val13=$(tmp0) tmp0=!randint 1, 10 val14=$(tmp0) t_=!rawmath $val8*$val14/$val13 val9=!exec pari print($t_) t_=!replace internal \( by ( in print(numerator($val9)","denominator($val9)) tmp0=!exec pari $t_ val15=$(tmp0) !ifval $(val15[2])=1 val15= $(val15[1]),2 !endif replytype1=numeric replyname1=numerador replygood1=?analyze 16 replytype2=numeric replyname2=denominador replygood2=?analyze 17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
!read oef/embed.phtml reply 1,6 $()

!read oef/embed.phtml reply 2,6 $()

!read oef/draw.phtml 600,50 \ xrange $val7-0.1,$val6+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,$val6,0,10,black parallel $val7,-0.8,$val7,0.4,1/2,0, 40, blue parallel $val7,-0.3,$val7,0.3,1/10,0, 200, blue parallel $val7,-0.8,$val7,0.6,1,0, 40, red $val10 arrow $val9,2,$val9,0, 8, black $()

$m_consigne $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef !ifval round($m_reply1)=$m_reply1 val18= 1 !else val18=0 !endif !exit :feedback !exit :test !ifval $val18=1 and $m_reply1/$m_reply2=$val9 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=6,7,9,10,16,17 embedcnt=2 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/croissant.def0000644000175000017500000000405210340336006027117 0ustar georgeskgeorgesk!set title=Ordenar números relativos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r varcnt=23 prevarcnt=22 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(3)] val7=$[rint(2)] val8=0 val9= !for val10 =-$val6 to $val7 val8=$[rint($val10*1000)] val11=$[rint($val10)] val9=$val9 text black, $val11,-1, medium,$val8 !next tmp0=!randint 0, 10*$val6-1 val12=$[-100*$(tmp0)] tmp0=!randint 0, 10*$val6-1 val13=$[-100*$(tmp0)] tmp0=!randint 10, 10*$val6-1 val14=$[-100*$(tmp0)] tmp0=!randint 10, 10*$val6-1 val15=$[-100*$(tmp0)] tmp0=!randint 10, 10*$val6-1 val16=$[-100*$(tmp0)] tmp0=!randint 10, 10*$val6-1 val17=$[-100*$(tmp0)] tmp0=!listuniq $val12,$val13,$val14,$val16,$val15,$val17 val18=$(tmp0) tmp0=!randitem 1,2 val19=$(tmp0) tmp0=!item $val19 of creciente,decreciente val20=$(tmp0) tmp0=!sort numeric list $val18 val21=$(tmp0) tmp0=!shuffle $val18 val22=$(tmp0) tmp0=!replace , by ,    in $val22 val22=$(tmp0) tmp0=!sort reverse numeric list $val21 val23=$(tmp0) !ifval $val19=1 val24= $val21 !else val24=$val23 !endif replytype1=vector replyname1= replygood1=$val24 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ayudándose de la regla graduada, ordenar de forma $val20 los siguientes números

$val22
!read oef/draw.phtml 600,50 \ xrange -$val6-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -$val6,-0.8,-$val6,0.4,1/2,0, 40, blue parallel -$val6,-0.3,-$val6,0.3,1/10,0, 200, blue parallel -$val6,-0.8,-$val6,0.6,1,0, 40, red $val9 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,20,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/ordre.def0000644000175000017500000000473110340336006026231 0ustar georgeskgeorgesk!set title=Números relativos y orden I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r,r,r varcnt=28 prevarcnt=27 postvarcnt=0 replycnt=3 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(6)] val7=$[rint(6)] val8=0 val9= !for val10 =-$val6 to $val7 val8=$[rint($val10)] val11=$[rint($val10)] val9=$val9 text black, $val11,-1, medium,$val8 !next val12=<,>,= tmp0=!randint 10, 10*$val6-1 val13=$[$(tmp0)/10] tmp0=!randint 10, 10*$val6-1 val14=$[$(tmp0)/10] val15=$[-$val13] val16=$[-$val13] tmp0=!shuffle $val13,$val14,-$val13,-$val14 val17=$(tmp0) tmp0=!item 1 of $val17 val18=$(tmp0) !ifval $val18>0 val18= +$val18 !endif tmp0=!item 2 of $val17 val19=$(tmp0) !ifval $val19>0 val19= +$val19 !endif tmp0=!item 3 of $val17 val20=$(tmp0) !ifval $val20>0 val20= +$val20 !endif val21=>,<,= !ifval $val18>$val19 val22= > !else val22=< !endif !ifval $val18=$val19 val22= = !endif !ifval $val20>$val19 val23= > !else val23=< !endif !ifval $val20=$val19 val23= = !endif !ifval $val18> $val20 val24= > !else val24=< !endif !ifval $val18=$val20 val24= = !endif replytype1=clickfill replyname1= replygood1=$val22;$val21 replytype2=clickfill replyname2= replygood2=$val23;$val21 replytype3=clickfill replyname3= replygood3=$val24;$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Ayudándose de la regla graduada, completar las expresiones con los símbolos <, > o =.
$val18      !read oef/embed.phtml reply 1,40x40 $()    $val19

$val20     !read oef/embed.phtml reply 2,40x40 $()    $val19

$val18     !read oef/embed.phtml reply 3,40x40 $()    $val20

!read oef/draw.phtml 600,50 \ xrange -$val6-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -$val6,-0.8,-$val6,0.4,1/2,0, 40, blue parallel -$val6,-0.3,-$val6,0.3,1/10,0, 200, blue parallel -$val6,-0.8,-$val6,0.6,1,0, 40, red $val9 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,18,19,20 embedcnt=3 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/position.def0000644000175000017500000000276110340336006026763 0ustar georgeskgeorgesk!set title=¿A derecha o izquierda de un punto? !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r varcnt=12 prevarcnt=11 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=!randitem 1,-1 tmp1=!randint 1, 7 val6=$[rint($(tmp0)*$(tmp1))] !ifval $val6>0 val6= +$val6 !endif tmp0=!randint abs($val6)+1, 11 val7=$[rint($(tmp0))] val8=derecha, izquierda tmp0=!randitem 1,2 val9=$(tmp0) tmp0=!item $val9 of $val8 val10=$(tmp0) !ifval $val9=1 and $val7>$val6 val11=$[rint( $val7)] !endif !ifval $val9=1 and $val7<$val6 val11=$[rint( -$val7)] !endif !ifval $val9=2 and $val7>$val6 val11=$[rint( -$val7)] !endif !ifval $val9=1 and $val7<$val6 val11=$[rint( $val7)] !endif !ifval $val11>0 val11= +$val11 !endif replytype1=numeric replyname1=Su abscisa es replygood1=$[$val11] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El punto !insmath B $() tiene de abscisa +$val7 o -$val7. Ahora bien, está a la $val10 de !insmath A $() que tiene de abscisa $val6. ¿Cuál es su abscisa? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/ordrerelatif.def0000644000175000017500000000461310340336006027577 0ustar georgeskgeorgesk!set title=Orden de los relativos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no ansorder=r,r varcnt=21 prevarcnt=20 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=1 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 4, 7 val6=$[rint($(tmp0))] tmp0=!randint 2,30 repeat $val6 val7=$(tmp0) tmp0=!values x/5 for x in $val7 val7=$(tmp0) tmp0=!randint 2,30 repeat $val6 val8=$(tmp0) tmp0=!values -x/5 for x in $val8 val8=$(tmp0) tmp0=!sort numeric item $val7,$val8 val9=$(tmp0) tmp0=!listuniq $val9 val9=$(tmp0) val10= !for val11 =1 to 2*$val6 !ifval $val11%2=0 val12= -1 !else val12=4 !endif tmp0=!item $val11 of $val9 tmp1=!item $val11 of $val9 tmp2=!item $val11 of $val9 val10=$val10 disk $(tmp0),0,6,blue text black,$(tmp1)-0.2,$val12*0.4,medium,$(tmp2) !next tmp0=!itemcnt $val9 val13=$[$(tmp0)] tmp0=!randint 2, $val13-1 val14=$[rint($(tmp0))] tmp0=!item $val14 of $val9 tmp1=!item $val14+1 of $val9 tmp2=!randitem 10*$(tmp0)+1,10*$(tmp1)-1 val15=$[$(tmp2)/10] val15=$[$val15/10] tmp0=!item $val14 of $val9 val13=$[$(tmp0)] tmp0=!item $val14+1 of $val9 val16=$[$(tmp0)] val10=$val10 arrow $val15,3,$val15,0,6,red text red,$val15,3,medium,$val15 tmp0=!shuffle $val9 val17=$(tmp0) tmp0=!replace internal , by     ;    in $val17 val17=$(tmp0) replytype1=numeric replyname1= replygood1=$[$val13] replytype2=numeric replyname2= replygood2=$[$val16] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Dar el mejor marco posible de $val15 tomando los números de la lista siguiente

$val17 :

!read oef/embed.phtml reply 1 $() !insmath \leq $val15 \leq $() !read oef/embed.phtml reply 2 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !ifval 1=1

!read oef/draw.phtml 800,50 \ xrange -6,6 yrange -2,3 hline black,0,0 arrow 0,0,1,0,10,black parallel -6,-0.8,-6,0.4,1/2,0, 120, blue parallel -6,-0.3,-6,0.3,1/10,0, 600, blue parallel -6,-0.8,-6,0.6,1,0, 40, red $val10 $()
$() !endif !exit :test !exit :stat vsavelist=10,15,17 embedcnt=2 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/.htaccess0000644000175000017500000000001610340336006026224 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/relatrule.def0000644000175000017500000000402410340336006027110 0ustar georgeskgeorgesk!set title=Regla y números relativos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=1000 ansorder=r,r,r,r varcnt=19 prevarcnt=18 postvarcnt=0 replycnt=4 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=0 val8= !for val9 =-$val6 to $val6 val7=$[rint($val9*1)] val10=$[rint($val9)] val8=$val8 text blue, $val10,-1, medium,$val7 !next val11=$val6 !for val9 =1 to 10*$val6 val12=$[-$val6+2*$val9*0.1] val11=$val11,$val12 !next tmp0=!shuffle $val11 val11=$(tmp0) tmp0=!item 1 of $val11 val13=$(tmp0) tmp0=!item 2 of $val11 val14=$(tmp0) tmp0=!item 3 of $val11 val15=$(tmp0) tmp0=!item 4 of $val11 val16=$(tmp0) !if $val13>=0 and $val14>=0 and $val15>=0 and $val16>=0 val13=$[-$val13] val16=$[-$val16] !endif replyname1=a replygood1=$val13 replyname2=b replygood2=$val14 replyname3=c replygood3=$val15 replyname4=d replygood4=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()En la siguiente recta graduada, dar el valor de los puntos anotados:
!read oef/draw.phtml 600,50 \ xrange -$val6-0.1,$val6+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,$val6,0,10,black parallel -$val6,-0.8,-$val6,0.4,1/2,0, 40, blue parallel -$val6,-0.3,-$val6,0.3,1/10,0, 200, blue parallel -$val6,-0.8,-$val6,0.6,1,0, 40, red $val8 text black, $val13+0.1,2.2, medium,a text black, $val14+0.1,2.2, medium,b text black, $val15+0.1,2.2, medium,c text black, $val16+0.1,2.2, medium,d arrow $val13,2,$val13,0, 8, black arrow $val14,2,$val14,0, 8, black arrow $val15,2,$val15,0, 8, black arrow $val16,2,$val16,0, 8, black $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,13,14,15,16 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/rulefracirr.def0000644000175000017500000000441010340336006027430 0ustar georgeskgeorgesk!set title=Regla y fracciones irreductibles !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette Perrin-Riou email=bpr@math.u-psud.fr computeanswer=no precision=1000 ansorder=r,r varcnt=17 prevarcnt=15 postvarcnt=1 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=1 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(6)] val7=$[rint(0)] val8=$[rint(1)] val9=Enunciado. Debe presentarse la fracción en forma irreductible. val10=0 val11= !for val12 =$val7 to $val6 val10=$[rint($val12*1)] val13=$[rint($val12)] val11=$val11 text blue, $val13,-1, medium,$val10 !next tmp=!nonempty items 2,4,5,3 tmp0=!randitem $tmp val14=$(tmp0) tmp0=!randint 1, 10 val15=$(tmp0) t_=!rawmath $val8*$val15/$val14 val10=!exec pari print($t_) t_=!replace internal \( by ( in print(numerator($val10)","denominator($val10)) tmp0=!exec pari $t_ val16=$(tmp0) !ifval $(val16[2])=1 val16= $(val16[1]),2 !endif replytype1=numeric replyname1=numerador replygood1=$[$(val16[1])] replytype2=numeric replyname2=denominador replygood2=$[$(val16[2])] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
!read oef/embed.phtml reply 1,6 $()

!read oef/embed.phtml reply 2,6 $()

!read oef/draw.phtml 600,50 \ xrange $val7-0.1,$val6+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,$val6,0,10,black parallel $val7,-0.8,$val7,0.4,1/2,0, 40, blue parallel $val7,-0.3,$val7,0.3,1/10,0, 200, blue parallel $val7,-0.8,$val7,0.6,1,0, 40, red $val11 arrow $val10,2,$val10,0, 8, black $()

$val9 $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val17=$[$m_reply1/$m_reply2-$val10] !exit :feedback !ifval $val17=0 and $m_reply1<>$(val16[1])

No ha simplificado la fracción. $() !endif !exit :test !exit :stat vsavelist=6,7,9,10,11,16 embedcnt=2 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/relatifdist.def0000644000175000017500000000322110340336006027421 0ustar georgeskgeorgesk!set title=Distancia sobre la recta graduada !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r varcnt=14 prevarcnt=13 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(3)] val7=$[rint(3)] val8=0 val9= !for val10 =-$val6 to $val7 val8=$[rint($val10)] val11=$[rint($val10)] val9=$val9 text black, $val11,-1, medium,$val8 !next tmp0=!randitem 1,-1 tmp1=!randint 0, 10*$val6-1 val12=$[$(tmp0)*$(tmp1)/10] tmp0=!randitem 1,-1 tmp1=!randint 0, 10*$val6-1 val13=$[$(tmp0)*$(tmp1)/10] val14=$[abs($val12-($val13))] !ifval $val12>0 val12= +$val12 !endif !ifval $val13>0 val13= +$val13 !endif replytype1=numeric replyname1=Distancia entre \(A) y \(B) replygood1=$[$val14] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ayudándose de la regla graduada, determinar la distancia entre los puntos !insmath A ($val12) $() y !insmath B ($val13) $().

!read oef/draw.phtml 600,50 \ xrange -$val6-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -$val6,-0.8,-$val6,0.4,1/2,0, 40, blue parallel -$val6,-0.3,-$val6,0.3,1/10,0, 200, blue parallel -$val6,-0.8,-$val6,0.6,1,0, 40, red $val9 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/coord.def0000644000175000017500000000444510340336006026226 0ustar georgeskgeorgesk!set title=Coordenadas en el plano !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=10 prevarcnt=9 postvarcnt=0 replycnt=6 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=-4,-3,-2,-1,0,1,2,3,4 tmp0=!shuffle -4,-3,-2,-1,0,1,2,3,4 val6=$(tmp0) tmp0=!shuffle -4,-3,-2,-1,0,1,2,3,4 val7=$(tmp0) tmp0=!item 1 of $val6 val8=$(tmp0) tmp0=!item 1 of $val7 val9=$(tmp0) tmp0=!item 2 of $val6 val10=$(tmp0) tmp0=!item 2 of $val7 val11=$(tmp0) tmp0=!item 3 of $val6 val12=$(tmp0) tmp0=!item 3 of $val7 val13=$(tmp0) replytype1=numeric replyname1=\(x_A) replygood1=$[$val8] replytype2=numeric replyname2=\(y_A) replygood2=$[$val9] replytype3=numeric replyname3=\(x_B) replygood3=$[$val10] replytype4=numeric replyname4=\(y_B) replygood4=$[$val11] replytype5=numeric replyname5=\(x_C) replygood5=$[$val12] replytype6=numeric replyname6=\(y_C) replygood6=$[$val13] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Dar las coordenadas de los puntos !insmath A $() y !insmath B $() y !insmath C $() :
!read oef/draw.phtml 200,200 \ xrange -5.2,5.2 yrange -5.2,5.2 parallel -5,-5,5,-5,0,1,10, grey parallel -5,-5,-5,5,1,0,10, grey hline 0,0,black arrow 0,0,1,0,8, black arrow 0,0,0,1,8, black vline 0,0,black disk $val8,$val9, 7, blue disk $val10,$val11, 7, blue disk $val12,$val13, 7, blue text black, $val8-0.2,$val9-0.2,medium,A text black,$val10-0.2,$val11-0.2,medium,B text black,$val12-0.2,$val13-0.2,medium,C $()
!insmath A= $()( !read oef/embed.phtml reply 1,6 $(), !read oef/embed.phtml reply 2 ,6 $())
!insmath B= $()( !read oef/embed.phtml reply 3 ,6 $(), !read oef/embed.phtml reply 4 ,6 $())
!insmath C= $()( !read oef/embed.phtml reply 5 ,6 $(), !read oef/embed.phtml reply 6 ,6 $())
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13 embedcnt=6 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/def/itineraire.def0000644000175000017500000000417010340336006027246 0ustar georgeskgeorgesk!set title=Itinerario en el plano !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r varcnt=17 prevarcnt=16 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 7, 10 val6=$[rint($(tmp0))] val7=-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6 tmp0=!shuffle A,B,C,D,E,F,G,H,J,K val8=$(tmp0) tmp0=!item 1 of $val8 val9=$(tmp0) tmp0=!item $val6 of $val8 val10=$(tmp0) tmp0=!item 2 to $val6-1 of $val8 val11=$(tmp0) tmp0=!shuffle $val11 val12=$(tmp0) tmp0=!shuffle $val7 val13=$(tmp0) tmp0=!item 1 of $val13 val14=$(tmp0) val15=xrange -7.2,7.2 yrange -7.2,7.2 parallel -7,-7,7,-7,0,1,16, grey parallel -7,-7,-7,7,1,0,16, grey hline 0,0,black arrow 0,0,1,0,8, black arrow 0,0,0,1,8, black vline 0,0,black !for val16 =1 to $val6 val17=$[rint($val16%2)] !if $val17=0 tmp0=!item $val16+1 of $val13 val14=$(tmp0) !else tmp0=!item $val16+1 of $val13 val18=$(tmp0) !endif tmp0=!item $val16 of $val8 val19=$(tmp0) val15=$val15 disk $val14,$val18,8,blue text black,$val14,$val18-0.2,medium,$val19 !next replytype1=atext replyname1=Itinerario replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Deseamos ir del punto !insmath $val9 $() al punto !insmath $val10 $(), pasando por todos los puntos del dibujo una vez y de manera que dos puntos consecutivos tengan una coordenada igual. Proporcionar un itinerario dando la lista ordenada de los puntos por los que se pasa:
!read oef/draw.phtml 300,300 \ $val15 $()
El itinerario es
!insmath $val9 $(), !read oef/embed.phtml reply 1,20 $() , !insmath $val10 $()
(Deberá escribirse el nombre de los puntos separados por comas.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,15 embedcnt=1 wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/intro.phtml0000644000175000017500000000024410340336006026074 0ustar georgeskgeorgesk!header !read Exindex Este módulo agrupa en estos momentos $exototal ejercicios sobre los números relativos y su enfoque gráfico. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/Exindex0000644000175000017500000000121710340336006025223 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of position,position0,coord,relatifdist,itineraire,ordre,croissant,croissant2,ordrerelatif,rulefracrelirr,rulefrac,rulefracirr,rulefracrel,relatrule, !set titlelist=!char 1 to -2 of ¿A derecha o izquierda de un punto?,¿A la derecha o la la izquierda de 0? ,Coordenadas en el plano,Distancia sobre la recta graduada,Itinerario en el plano,Números relativos y orden I,Ordenar números relativos,Ordenar números relativos II,Orden de los relativos,Regla; fracc. irreductibles (relativo),Regla y fracciones,Regla y fracciones irreductibles,Regla y fracciones relativas,Regla y números relativos , !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/Extitles0000644000175000017500000000105110340336006025414 0ustar georgeskgeorgeskcoord:Coordenadas en el plano croissant:Ordenar números relativos croissant2:Ordenar números relativos II itineraire:Itinerario en el plano ordre:Números relativos y orden I ordrerelatif:Orden de los relativos position:¿A derecha o izquierda de un punto? position0:¿A la derecha o la la izquierda de 0? relatifdist:Distancia sobre la recta graduada relatrule:Regla y números relativos rulefrac:Regla y fracciones rulefracirr:Regla y fracciones irreductibles rulefracrel:Regla y fracciones relativas rulefracrelirr:Regla; fracc. irreductibles (relativo) wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/var.proc0000644000175000017500000000024210340336006025346 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto proc/var.proc wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/0000755000175000017500000000000010340336006024636 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/var.proc0000644000175000017500000000002710340336006026312 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/answer.phtml0000644000175000017500000000005410340336006027202 0ustar georgeskgeorgesk!changeto oef/$module_language/answer.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/intromenu.phtml0000644000175000017500000000005710340336006027726 0ustar georgeskgeorgesk!changeto oef/$module_language/intromenu.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/var.prep0000644000175000017500000000002710340336006026315 0ustar georgeskgeorgesk!changeto oef/var.prep wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/about.phtml0000644000175000017500000000005310340336006027014 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/present.phtml0000644000175000017500000000003410340336006027361 0ustar georgeskgeorgesk!changeto oef/present.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/noreply.phtml0000644000175000017500000000005510340336006027374 0ustar georgeskgeorgesk!changeto oef/$module_language/noreply.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/Main.phtml0000644000175000017500000000005210340336006026565 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/print.phtml0000644000175000017500000000005310340336006027036 0ustar georgeskgeorgesk!changeto oef/$module_language/print.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/var.def0000644000175000017500000000231310340336006026105 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/form.phtml0000644000175000017500000000005210340336006026644 0ustar georgeskgeorgesk!changeto oef/$module_language/form.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/mkindex0000755000175000017500000000003010340336006026214 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/names0000644000175000017500000000004510340336006025663 0ustar georgeskgeorgesk!changeto oef/$module_language/names wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/atext.dic0000644000175000017500000000004510340336006026443 0ustar georgeskgeorgeska: an: for: of: s: that: the: this: wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/msg.phtml0000644000175000017500000000005110340336006026466 0ustar georgeskgeorgesk!changeto oef/$module_language/msg.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/exo.init0000644000175000017500000000002710340336006026315 0ustar georgeskgeorgesk!changeto oef/exo.init wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/help.phtml0000644000175000017500000000005210340336006026631 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/proc/hint.phtml0000644000175000017500000000005210340336006026643 0ustar georgeskgeorgesk!changeto oef/$module_language/hint.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/about.phtml0000644000175000017500000000005310340336006026051 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/main.phtml0000644000175000017500000000005210340336005025661 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/var.def0000644000175000017500000000231310340336006025142 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/COPYING0000644000175000017500000004307710340336005024740 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/mkindex0000755000175000017500000000003010340336006025251 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/INDEX0000644000175000017500000000174410340336006024473 0ustar georgeskgeorgesktitle=OEF números relativos # Commencez la description par minuscule! description=colección de ejercicios sobre los números relativos author=Bernadette PERRIN-RIOU address=xiao@unice.fr copyright=© 2003- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.26 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H1, H2 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=eje, número, coordinada, recta graduada # Software packages required to run the module require= # Does the module have scoring system? scoring=yes help=popup wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/README0000644000175000017500000000047610340336006024562 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Modify the link proc if necessary. 5. Install source files. 6. Run the script mkindex. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/0000755000175000017500000000000010340336006024462 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/position.oef0000644000175000017500000000133710340336006027025 0ustar georgeskgeorgesk\title{¿A derecha o izquierda de un punto?} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{A= random(1,-1)*randint(1..7)} \text{A=\A>0 ? +\A} \integer{B= randint(abs(\A)+1..11)} \text{liste=derecha, izquierda} \text{choix=random(1,2)} \text{droite=item(\choix,\liste)} \integer{absc=\choix=1 and \B>\A? \B} \integer{absc=\choix=1 and \B<\A? -\B} \integer{absc=\choix=2 and \B>\A? -\B} \integer{absc=\choix=1 and \B<\A? \B} \text{absc=\absc>0? +\absc} \statement{El punto \(B) tiene de abscisa +\B o -\B. Ahora bien, está a la \droite de \(A) que tiene de abscisa \A. ¿Cuál es su abscisa? } \answer{Su abscisa es}{\absc}{type=number} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/rulefrac.oef0000644000175000017500000000262010340336006026760 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/rulefrac.cpp. \integer{m=6} \title{Regla y fracciones} \integer{m1=0} \integer{signe=1} \text{consigne=} \language{es} \range{-5..5} \author{Bernadette Perrin-Riou} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{1000} \text{a=0} \text{dessin=} \for{i=\m1 to \m}{ \integer{a=\i*1} \integer{s=\i} \text{dessin=\dessin text blue, \s,-1, medium,\a}} \text{den=randitem(2,4,5,3)} \text{num=randint( 1..10)} \rational{a=\signe*\num/\den} \text{nd=pari(print(numerator(\a)","denominator(\a)))} \text{nd=\nd[2]=1? \nd[1],2} \statement{Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
\embed{reply 1,6}

\embed{reply 2,6}

\draw{600,50} {xrange \m1-0.1,\m+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,\m,0,10,black parallel \m1,-0.8,\m1,0.4,1/2,0, 40, blue parallel \m1,-0.3,\m1,0.3,1/10,0, 200, blue parallel \m1,-0.8,\m1,0.6,1,0, 40, red \dessin arrow \a,2,\a,0, 8, black }

\consigne } \answer{numerador}{\nd1}{type=numeric} \answer{denominador}{\nd2}{type=numeric} \text{test1=round(\reply1)=\reply1 ? 1:0} \condition{}{\test1=1 and \reply1/\reply2=\a} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/rulefracrel.oef0000644000175000017500000000263410340336005027467 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/rulefrac.cpp. \integer{m=6} \title{Regla y fracciones relativas} \integer{m1=-\m} \integer{signe=randitem(-1,1)} \language{es} \range{-5..5} \author{Bernadette Perrin-Riou} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{1000} \text{a=0} \text{dessin=} \for{i=\m1 to \m}{ \integer{a=\i*1} \integer{s=\i} \text{dessin=\dessin text blue, \s,-1, medium,\a}} \text{den=randitem(2,4,5,3)} \text{num=randint( 1..10)} \rational{a=\signe*\num/\den} \text{nd=pari(print(numerator(\a)","denominator(\a)))} \text{nd=\nd[2]=1? \nd[1],2} \statement{Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
\embed{reply 1,6}

\embed{reply 2,6}

\draw{600,50} {xrange \m1-0.1,\m+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,\m,0,10,black parallel \m1,-0.8,\m1,0.4,1/2,0, 40, blue parallel \m1,-0.3,\m1,0.3,1/10,0, 200, blue parallel \m1,-0.8,\m1,0.6,1,0, 40, red \dessin arrow \a,2,\a,0, 8, black }

\consigne } \answer{numerador}{\nd1}{type=numeric} \answer{denominador}{\nd2}{type=numeric} \text{test1=round(\reply1)=\reply1 ? 1:0} \condition{}{\test1=1 and \reply1/\reply2=\a} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/position0.oef0000644000175000017500000000075210340336006027105 0ustar georgeskgeorgesk\title{¿A la derecha o la la izquierda de 0? } \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{A= randint(1..7)} \text{liste=derecha, izquierda} \text{choix=random(1,2)} \text{droite=item(\choix,\liste)} \text{absc=\choix=1? \A:-\A} \statement{El punto \(A) tiene de abscisa +\A o -\A. Ahora bien, está a la \droite de 0. ¿Cuál es su abscisa? } \answer{Su abscisa es}{\absc}{type=number} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/rulefracirr.oef0000644000175000017500000000277610340336006027511 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/rulefrac.cpp. \integer{m=6} \title{Regla y fracciones irreductibles} \integer{m1=0} \integer{signe=1} \text{consigne=Enunciado. Debe presentarse la fracción en forma irreductible. } \language{es} \range{-5..5} \author{Bernadette Perrin-Riou} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{1000} \text{a=0} \text{dessin=} \for{i=\m1 to \m}{ \integer{a=\i*1} \integer{s=\i} \text{dessin=\dessin text blue, \s,-1, medium,\a}} \text{den=randitem(2,4,5,3)} \text{num=randint( 1..10)} \rational{a=\signe*\num/\den} \text{nd=pari(print(numerator(\a)","denominator(\a)))} \text{nd=\nd[2]=1? \nd[1],2} \statement{Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
\embed{reply 1,6}

\embed{reply 2,6}

\draw{600,50} {xrange \m1-0.1,\m+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,\m,0,10,black parallel \m1,-0.8,\m1,0.4,1/2,0, 40, blue parallel \m1,-0.3,\m1,0.3,1/10,0, 200, blue parallel \m1,-0.8,\m1,0.6,1,0, 40, red \dessin arrow \a,2,\a,0, 8, black }

\consigne } \answer{numerador}{\nd[1]}{type=numeric} \answer{denominador}{\nd[2]}{type=numeric} \real{test1=\reply1/\reply2-\a} \feedback{\test1=0 and \reply1<>\nd[1]}{No ha simplificado la fracción.} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/Makefile0000644000175000017500000000003010340336005026112 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/relatrule.oef0000644000175000017500000000241610340336006027157 0ustar georgeskgeorgesk\title{Regla y números relativos } \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{1000} \integer{m=5} \text{a=0} \text{dessin=} \for{i=-\m to \m}{ \integer{a=\i*1} \integer{s=\i} \text{dessin=\dessin text blue, \s,-1, medium,\a}} \text{liste=\m} \for{i=1 to 10*\m}{ \real{c= -\m+2*\i*0.1} \text{liste=\liste,\c}} \text{liste=shuffle(\liste)} \text{A=item(1,\liste)} \text{B=item(2,\liste)} \text{C=item(3,\liste)} \text{D=item(4,\liste)} \if{\A>=0 and \B>=0 and \C>=0 and \D>=0}{ \real{A= -\A} \real{D= -\D}} \statement{En la siguiente recta graduada, dar el valor de los puntos anotados:

\draw{600,50} {xrange -\m-0.1,\m+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,\m,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin text black, \A+0.1,2.2, medium,a text black, \B+0.1,2.2, medium,b text black, \C+0.1,2.2, medium,c text black, \D+0.1,2.2, medium,d arrow \A,2,\A,0, 8, black arrow \B,2,\B,0, 8, black arrow \C,2,\C,0, 8, black arrow \D,2,\D,0, 8, black }
} \answer{a}{\A}{type=numerical} \answer{b}{\B}{type=numerical} \answer{c}{\C}{type=numerical} \answer{d}{\D}{type=numerical} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/relatifdist.oef0000644000175000017500000000161710340336006027474 0ustar georgeskgeorgesk\title{Distancia sobre la recta graduada} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{m=3} \integer{n=3} \text{a=0} \text{dessin=} \for{i=-\m to \n}{ \integer{a=\i} \integer{s=\i} \text{dessin=\dessin text black, \s,-1, medium,\a}} \real{A=random(1,-1)*randint(0..10*\m-1)/10} \real{B=random(1,-1)*randint(0..10*\m-1)/10} \real{distance=abs(\A-(\B))} \text{A=\A>0? +\A} \text{B=\B>0? +\B} \statement{Ayudándose de la regla graduada, determinar la distancia entre los puntos \(A (\A)) y \(B (\B)).
\draw{600,50} {xrange -\m-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin }
} \answer{Distancia entre \(A) y \(B)}{\distance}{type=numeric} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/rulefracrelirr.oef0000644000175000017500000000302110340336006030174 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/rulefrac.cpp. \integer{m=6} \title{Regla, fracciones irreductibles (relativo)} \integer{m1=-\m} \integer{signe=randitem(-1,1)} \text{consigne=Enunciado. Debe presentarse la fracción en forma irreductible. } \language{es} \range{-5..5} \author{Bernadette Perrin-Riou} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{1000} \text{a=0} \text{dessin=} \for{i=\m1 to \m}{ \integer{a=\i*1} \integer{s=\i} \text{dessin=\dessin text blue, \s,-1, medium,\a}} \text{den=randitem(2,4,5,3)} \text{num=randint( 1..10)} \rational{a=\signe*\num/\den} \text{nd=pari(print(numerator(\a)","denominator(\a)))} \text{nd=\nd[2]=1? \nd[1],2} \statement{Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
\embed{reply 1,6}

\embed{reply 2,6}

\draw{600,50} {xrange \m1-0.1,\m+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,\m,0,10,black parallel \m1,-0.8,\m1,0.4,1/2,0, 40, blue parallel \m1,-0.3,\m1,0.3,1/10,0, 200, blue parallel \m1,-0.8,\m1,0.6,1,0, 40, red \dessin arrow \a,2,\a,0, 8, black }

\consigne } \answer{numerador}{\nd[1]}{type=numeric} \answer{denominador}{\nd[2]}{type=numeric} \real{test1=\reply1/\reply2-\a} \feedback{\test1=0 and \reply1<>\nd[1]}{No ha simplificado la fracción.} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/.htaccess0000644000175000017500000000001610340336005026254 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/coord.oef0000644000175000017500000000236510340336005026270 0ustar georgeskgeorgesk\title{Coordenadas en el plano} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \text{a=-4,-3,-2,-1,0,1,2,3,4} \text{a=shuffle(-4,-3,-2,-1,0,1,2,3,4)} \text{b=shuffle(-4,-3,-2,-1,0,1,2,3,4)} \text{a1=item(1,\a)} \text{a2=item(1,\b)} \text{b1=item(2,\a)} \text{b2=item(2,\b)} \text{c1=item(3,\a)} \text{c2=item(3,\b)} \statement{Dar las coordenadas de los puntos \(A) y \(B) y \(C) :

\draw{200,200}{xrange -5.2,5.2 yrange -5.2,5.2 parallel -5,-5,5,-5,0,1,10, grey parallel -5,-5,-5,5,1,0,10, grey hline 0,0,black arrow 0,0,1,0,8, black arrow 0,0,0,1,8, black vline 0,0,black disk \a1,\a2, 7, blue disk \b1,\b2, 7, blue disk \c1,\c2, 7, blue text black, \a1-0.2,\a2-0.2,medium,A text black,\b1-0.2,\b2-0.2,medium,B text black,\c1-0.2,\c2-0.2,medium,C }
\(A=)( \embed{reply 1,6}, \embed{reply 2 ,6})
\(B=)( \embed{reply 3 ,6}, \embed{reply 4 ,6})
\(C=)( \embed{reply 5 ,6}, \embed{reply 6 ,6})
} \answer{\(x_A)}{\a1}{type=number} \answer{\(y_A)}{\a2}{type=number} \answer{\(x_B)}{\b1}{type=number} \answer{\(y_B)}{\b2}{type=number} \answer{\(x_C)}{\c1}{type=number} \answer{\(y_C)}{\c2}{type=number} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/ordre.oef0000644000175000017500000000274410340336005026276 0ustar georgeskgeorgesk\title{Números relativos y orden I} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{m=6} \integer{n=6} \text{a=0} \text{dessin=} \for{i=-\m to \n}{ \integer{a=\i} \integer{s=\i} \text{dessin=\dessin text black, \s,-1, medium,\a}} \text{liste=<,>,=} \real{A=randint(10..10*\m-1)/10} \real{B=randint(10..10*\m-1)/10} \real{C=-\A} \real{D=-\A} \text{listeA=shuffle(\A,\B,-\A,-\B)} \text{AA= item(1,\listeA)} \text{AA=\AA>0 ? +\AA} \text{BB=item(2,\listeA)} \text{BB=\BB>0 ? +\BB} \text{CC=item(3,\listeA)} \text{CC=\CC>0 ? +\CC} \text{choix=>,<,=} \text{rep1= \AA>\BB ? >:<} \text{rep1= \AA=\BB ? =} \text{rep2= \CC>\BB ? >:<} \text{rep2= \CC=\BB ? =} \text{rep3= \AA> \CC ? >:<} \text{rep3= \AA=\CC ? =} \statement{ Ayudándose de la regla graduada, completar las expresiones con los símbolos <, > o =.
\AA     \embed{reply 1,40x40}    \BB

\CC    \embed{reply 2,40x40}    \BB

\AA     \embed{reply 3,40x40}    \CC

\draw{600,50} {xrange -\m-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin }
} \answer{}{\rep1;\choix}{type=clickfill} \answer{}{\rep2;\choix}{type=clickfill} \answer{}{\rep3;\choix}{type=clickfill} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/ordrerelatif.oef0000644000175000017500000000270510340336006027643 0ustar georgeskgeorgesk\title{Orden de los relativos} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \integer{n=randint(4..7)} \text{a=wims(randint 2,30 repeat \n)} \text{a=wims(values x/5 for x in \a)} \text{ b=wims(randint 2,30 repeat \n)} \text{b=wims(values -x/5 for x in \b)} \text{liste=wims(sort numeric item \a,\b)} \text{liste=wims(listuniq \liste)} \text{dessin=} \for{i=1 to 2*\n}{ \text{ss=\i%2=0? -1:4} \text{dessin=\dessin disk item(\i,\liste),0,6,blue text black,item(\i,\liste)-0.2,\ss*0.4,medium,item(\i,\liste)} } \real{m=wims(itemcnt \liste)} \integer{s=randint(2..\m-1)} \real{u=randint(10*item(\s,\liste)+1,10*item(\s+1,\liste)-1)/10} \real{u=\u/10} \real{m=item(\s, \liste)} \real{M=item(\s+1, \liste)} \text{dessin=\dessin arrow \u,3,\u,0,6,red text red,\u,3,medium,\u} \text{listemix=shuffle(\liste)} \text{listemix=wims(replace internal , by     ;    in \listemix)} \statement{Dar el mejor marco posible de \u tomando los números de la lista siguiente

\listemix :

\embed{reply 1}\( \leq \u \leq ) \embed{reply 2}
} \answer{}{\m}{type=numeric} \answer{}{\M}{type=numeric} \feedback{1=1}{
\draw{800,50} {xrange -6,6 yrange -2,3 hline black,0,0 arrow 0,0,1,0,10,black parallel -6,-0.8,-6,0.4,1/2,0, 120, blue parallel -6,-0.3,-6,0.3,1/10,0, 600, blue parallel -6,-0.8,-6,0.6,1,0, 40, red \dessin }
} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/croissant.oef0000644000175000017500000000242410340336005027163 0ustar georgeskgeorgesk\title{Ordenar números relativos} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{m=3} \integer{n=2} \text{a=0} \text{dessin=} \for{i=-\m to \n}{ \integer{a=\i*1000} \integer{s=\i} \text{dessin=\dessin text black, \s,-1, medium,\a}} \real{A=-100*randint(0..10*\m-1)} \real{B=-100*randint(0..10*\m-1)} \real{C=-100*randint(10..10*\m-1)} \real{D= -100*randint(10..10*\m-1)} \real{E= -100*randint(10..10*\m-1)} \real{F= -100*randint(10..10*\m-1)} \text{listeA=wims(listuniq \A,\B,\C,\E,\D,\F)} \text{choix=random(1,2)} \text{crois=item(\choix,creciente,decreciente)} \text{listecr=wims(sort numeric list \listeA)} \text{listeB=shuffle(\listeA)} \text{listeB=wims(replace , by ,    in \listeB)} \text{listedec=wims(sort reverse numeric list \listecr)} \text{liste=\choix=1? \listecr:\listedec} \statement{Ayudándose de la regla graduada, ordenar de forma \crois los siguientes números
\listeB
\draw{600,50} {xrange -\m-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin }
} \answer{}{\liste}{type=vector} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/itineraire.oef0000644000175000017500000000252010340336006027307 0ustar georgeskgeorgesk\title{Itinerario en el plano} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} text{listepoint=} \integer{n=randint(7..10)} \text{liste=-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6} \text{point=shuffle(A,B,C,D,E,F,G,H,J,K)} \text{A=item(1,\point)} \text{B=item(\n,\point)} \text{C=item([2..\n-1],\point)} \text{C1=shuffle(\C)} \text{a=shuffle(\liste)}s \text{a1=item(1,\a)} \text{dessin=xrange -7.2,7.2 yrange -7.2,7.2 parallel -7,-7,7,-7,0,1,16, grey parallel -7,-7,-7,7,1,0,16, grey hline 0,0,black arrow 0,0,1,0,8, black arrow 0,0,0,1,8, black vline 0,0,black } \for{i=1 to \n}{ \integer{j=\i%2} \if{\j=0}{\text{a1=item(\i+1,\a)}}{ \text{a2=item(\i+1,\a)}} text{listepoint=\listepoint ,(\a1,\a2)} \text{pt=item(\i,\point)} \text{dessin=\dessin disk \a1,\a2,8,blue text black,\a1,\a2-0.2,medium,\pt}} \statement{Deseamos ir del punto \(\A) al punto \(\B), pasando por todos los puntos del dibujo una vez y de manera que dos puntos consecutivos tengan una coordenada igual. Proporcionar un itinerario dando la lista ordenada de los puntos por los que se pasa:
\draw{300,300}{\dessin }
El itinerario es
\(\A),\embed{reply 1,20} , \(\B)
(Deberá escribirse el nombre de los puntos separados por comas.) } \answer{Itinerario}{\C}{type=atext} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/croissant2.oef0000644000175000017500000000243010340336006027243 0ustar georgeskgeorgesk\title{Ordenar números relativos II} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{m=3} \integer{n=3} \text{a=0} \text{dessin=} \for{i=-\m to \n}{ \integer{a=\i} \integer{s=\i} \text{dessin=\dessin text black, \s,-1, medium,\a}} \real{A=-randint(0..10*\m-1)/10} \real{B=randint(0..10*\m-1)/10} \real{C=-randint(10..10*\m-1)/10} \real{D= random(1,-1)*randint(10..10*\m-1)/10} \real{E= -randint(10..10*\m-1)/10} \real{F= -randint(10..10*\m-1)/10} \text{listeA=wims(listuniq \A,\B,\C,\E,\D,\F)} \text{choix=random(1,2)} \text{crois=item(\choix,creciente,decreciente)} \text{listecr=wims(sort numeric list \listeA)} \text{listeB=shuffle(\listeA)} \text{listeB=wims(replace , by ,    in \listeB)} \text{listedec=wims(sort reverse numeric list \listecr)} \text{liste=\choix=1? \listecr:\listedec} \statement{Ayudándose de la regla graduada, ordenar en sentido \crois los siguientes números
\listeB
\draw{600,50} {xrange -\m-0.1,3 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin }
} \answer{}{\liste}{type=vector} wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/cpp/0000755000175000017500000000000010771700612025252 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/src/cpp/rulefrac.cpp0000644000175000017500000000511710340336005027556 0ustar georgeskgeorgesktarget=rulefrac rulefracirr rulefracrel rulefracrelirr \integer{m=6} #if #TARGET (rulefrac) \title{Regla y fracciones} \integer{m1=0} \integer{signe=1} \text{consigne=} #endif #if #TARGET (rulefracirr) \title{Regla y fracciones irreductibles} \integer{m1=0} \integer{signe=1} \text{consigne=Enunciado. Debe presentarse la fracción en forma irreductible. } #endif #if #TARGET (rulefracrel) \title{Regla y fracciones relativas} \integer{m1=-\m} \integer{signe=randitem(-1,1)} #endif #if #TARGET (rulefracrelirr) \title{Regla, fracc. irreductibles (relativo)} \integer{m1=-\m} \integer{signe=randitem(-1,1)} \text{consigne=Enunciado. Debe presentarse la fracción en forma irreductible. } #endif \language{es} \range{-5..5} \author{Bernadette Perrin-Riou} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{1000} \text{a=0} \text{dessin=} \for{i=\m1 to \m}{ \integer{a=\i*1} \integer{s=\i} \text{dessin=\dessin text blue, \s,-1, medium,\a}} \text{den=randitem(2,4,5,3)} \text{num=randint( 1..10)} \rational{a=\signe*\num/\den} \text{nd=pari(print(numerator(\a)","denominator(\a)))} \text{nd=\nd[2]=1? \nd[1],2} \statement{Esta es una recta graduada. El punto indicado por la flecha sobre la recta tiene como abscisa el cociente de dos enteros. Se trata de
\embed{reply 1,6}

\embed{reply 2,6}

\draw{600,50} {xrange \m1-0.1,\m+0.1 yrange -2,2.2 hline black,0,0 arrow 2.5,0,\m,0,10,black parallel \m1,-0.8,\m1,0.4,1/2,0, 40, blue parallel \m1,-0.3,\m1,0.3,1/10,0, 200, blue parallel \m1,-0.8,\m1,0.6,1,0, 40, red \dessin arrow \a,2,\a,0, 8, black }

\consigne } #if #TARGET (rulefrac) \answer{numerador}{\nd1}{type=numeric} \answer{denominador}{\nd2}{type=numeric} \text{test1=round(\reply1)=\reply1 ? 1:0} \condition{}{\test1=1 and \reply1/\reply2=\a} #endif #if #TARGET (rulefracrel) \answer{numerador}{\nd1}{type=numeric} \answer{denominador}{\nd2}{type=numeric} \text{test1=round(\reply1)=\reply1 ? 1:0} \condition{}{\test1=1 and \reply1/\reply2=\a} #endif #if #TARGET (rulefracirr) \answer{numerador}{\nd[1]}{type=numeric} \answer{denominador}{\nd[2]}{type=numeric} \real{test1=\reply1/\reply2-\a} \feedback{\test1=0 and \reply1<>\nd[1]}{No ha simplificado la fracción.} #endif #if #TARGET (rulefracrelirr) \answer{numerador}{\nd[1]}{type=numeric} \answer{denominador}{\nd[2]}{type=numeric} \real{test1=\reply1/\reply2-\a} \feedback{\test1=0 and \reply1<>\nd[1]}{No ha simplificado la fracción.} #endif wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/endhook.phtml0000644000175000017500000000010210340336006026361 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H1/algebra/oefrelatif.es/help.phtml0000644000175000017500000000005210340336006025666 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/0000755000175000017500000000000010771677763023257 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/0000755000175000017500000000000010771700006023766 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Tapis.def0000644000175000017500000000226610340335770025540 0ustar georgeskgeorgesk!set title=Alfombra !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=c varcnt=6 prevarcnt=5 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=!randitem 20,25,30,35,40,45,50,55,60 val6=$[rint($(tmp0)*100)] tmp0=!randint 10, 40 val7=$[rint($(tmp0))] tmp0=!randitem 1,2 val8=$[rint($(tmp0))] tmp0=!item $val8 of sube,baja val9=$(tmp0) tmp0=!item $val8 of baja,sube val10=$(tmp0) choicename1=El nuevo precio es choicegood1=$val6 francos menos choicebad1=$val6 francos más, el mismo precio question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Una alfombra costaba $val6 francos en noviembre, $val9 el $val7 % en diciembre, después $val10 el $val7 % en enero. ¿Cuál es su nuevo precio? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/EchelleII.def0000644000175000017500000000200410340335770026231 0ustar georgeskgeorgesk!set title=Escala II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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=!randitem 15,20,25,50,100,200,250,500 val6=$[rint($(tmp0)*1000)] tmp0=!randint 3, 15 val7=$[rint($(tmp0))] val8=$[($val7*$val6)/100000] replytype1=default replyname1=Distancia real replygood1=$val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Un mapa de carreteras está a escala 1/$val6. Para una distancia real de $val8 km, ¿cuál es la distancia en el mapa? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Solvingproport4.def0000644000175000017500000000300710340335770027605 0ustar georgeskgeorgesk!set title=Resolución de proporciones (nivel 1b) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=100 ansorder=r varcnt=10 prevarcnt=9 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=!randitem 2,3,5,7 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,7 val7=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val8=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val9=$[rint($(tmp0))] val10=$[rint(($val8*$val7))] val11=$[rint(($val6*$val9))] val12=$[rint($val6*$val8)] val13=$[rint($val7*$val9)] val14=$[rint($val12*$val13)] replyname1=x replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

Resolver para x:

$val10/$val13 = $val12/x $() !exit :hint $()Los productos cruzados son iguales. Establezca una ecuación

($val10)x = $val12($val13) $() !exit :help $() $() !exit :solution $()

$val12($val13) = ($val10)x (productos cruzados)

$val14 = $val10 x

$val14/$val10 = ($val10)x/$val10 (dividir ambos lados por $val10)

$val11 = x (respuesta)

$() !exit :feedback !exit :test !exit :stat vsavelist=10,11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Pyramide.def0000644000175000017500000000213310340335770026223 0ustar georgeskgeorgesk!set title=Pirámide !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=5 prevarcnt=4 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 10, 22 val6=$[rint($(tmp0)*10)] tmp0=!randint 5, 13 val7=$[rint($(tmp0)*10)] tmp0=!randint 5, 14 val8=$[rint($(tmp0)*100)] val9=$[($val6*100)/$val8] replytype1=default replyname1=Lado de la base replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Una pirámide tiene una base cuadrada de $val6 m. Su altura es $val7 m. Quiero realizar una maqueta de madera a escala 1/$val8. ¿Qué longitud tiene el lado de la base (en cm) ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Poids.def0000644000175000017500000000231010340335770025524 0ustar georgeskgeorgesk!set title=Pesos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=6 prevarcnt=5 postvarcnt=0 replycnt=2 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=!randitem 8,10 val6=$[rint($(tmp0))] tmp0=!randitem 4,5 val7=$[rint($(tmp0))] tmp0=!randint 8, 12 val8=$[rint($(tmp0))] val9=$[$val8/$val6] val10=$[rint($val8*$val7)] replytype1=default replyname1=Peso del coche replygood1=$val9 replytype2=default replyname2=Peso del tanque replygood2=$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Un camión es $val6 veces más pesado que un coche, mientras que el camión es $val7 veces más ligero que un tanque. Sabiendo que el camión pesa $val8 toneladas, calcular los pesos (in toneladas) del coche y del tanque. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/CDRom.def0000644000175000017500000000210510340335770025414 0ustar georgeskgeorgesk!set title=CD Rom !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=5 prevarcnt=4 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, 10 val6=$[rint($(tmp0))] tmp0=!randint 10, 50 val7=$[rint($(tmp0))] tmp0=!randint 80, 200 val8=$[rint($(tmp0))] val9=$[rint(($val6*$val7)+$val8)] replytype1=default replyname1=Precio (en dólares) replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()He comprado un lector de CD y $val6 CD roms. He pagado $val9 dólares. ¿Cuál es el precio del lector de CD si los CD roms valen $val7 dólares cada uno? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Densit.def0000644000175000017500000000200510340335770025675 0ustar georgeskgeorgesk!set title=Densidad !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 5, 15 val6=$[rint($(tmp0)*10)] tmp0=!randint 40, 70 val7=$[rint($(tmp0)*10)] val8=$[$val7*$val6/1000] replytype1=default replyname1=Área replygood1=$val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()La densidad de población de un país es de $val6 habitantes/km2. Su población es $val8 millions. ¿Cuál es su área (en miles de km2)? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Echelle.def0000644000175000017500000000200010340335770026003 0ustar georgeskgeorgesk!set title=Escala !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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=!randitem 15,20,25,50,100,200,250,500 val6=$[rint($(tmp0)*1000)] tmp0=!randint 3, 15 val7=$[rint($(tmp0))] val8=$[($val7*$val6)/100000] replytype1=default replyname1=Distancia real replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Un mapa de carreteras está a la escala 1/$val6. ¿Qué distancia real (en km) representa $val7 cm
en el mapa? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Essence.def0000644000175000017500000000201610340335770026036 0ustar georgeskgeorgesk!set title=Gasolina !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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=!randitem 8,10,12,14,16 val6=$[rint($(tmp0))] tmp0=!randint 4*$val6, 7*$val6 val7=$[rint($(tmp0))] val8=$[($val7/$val6)*100] replytype1=default replyname1=Autonomía (en km) replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Un vehículo consume $val6 litros de gasolina a los 100 km. Su depósito puede contener $val7 litros de gasolina, ¿cuál es su autonomía? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Solvingproport5.def0000644000175000017500000000243510340335770027612 0ustar georgeskgeorgesk!set title=Resolución de proporciones (nivel 1d) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=100 ansorder=r varcnt=10 prevarcnt=9 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=!randitem 2,3,5,7 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,7 val7=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val8=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val9=$[rint($(tmp0))] val10=$[rint(($val8*$val7))] val11=$[rint(($val6*$val9))] val12=$[rint($val6*$val8)] val13=$[rint($val7*$val9)] val14=$[rint($val12*$val13)] replyname1=x replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

Resolver para x: x/$val12 = $val13/$val10 $() !exit :hint $()Los productos cruzados son iguales. Establezca una ecuación

($val10)x = $val12($val13) $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Tempsdeparcour.def0000644000175000017500000000203610340335770027450 0ustar georgeskgeorgesk!set title=Tiempo de recorrido !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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=!randitem 60,66,72,84,90,96,102,108,114,120 val6=$[rint($(tmp0))] tmp0=!randitem 62,70,80,92,100,110 val7=$[rint($(tmp0))] val8=$[rint($val7*$val6/60)] replytype1=default replyname1=Tiempo en min replygood1=$val6 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()En coche, he recorrido $val8 km circulando a la velocidad media de $val7 km/h. ¿Durante cuántos minutos he circulado? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/.htaccess0000644000175000017500000000001610340335770025565 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Moliere.def0000644000175000017500000000215010340335770026044 0ustar georgeskgeorgesk!set title=Molière !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=5 prevarcnt=4 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 15, 30 val6=$[rint($(tmp0))] tmp0=!randint 2, 10 val7=$[rint($(tmp0))] tmp0=!randint 50, 100 val8=$[$(tmp0)/2] val9=$[($val8*$val6)-($val7*$val6)] replytype1=default replyname1=Precio (en francos) replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El profesor de francés ha comprado $val6 ejemplares de El Avaro. El librero le ha hecho un descuento de $val7 francos por libro. Ha pagado $val9 francos. ¿Qué vale un libro sin el descuento? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/SolvingPercent2.def0000644000175000017500000000255210340335770027502 0ustar georgeskgeorgesk!set title=Porcentajes con proporciones II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=100 ansorder=r varcnt=6 prevarcnt=5 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 1, 99 val6=$[rint($(tmp0))] tmp0=!randint 1, 99 val7=$[rint($(tmp0))] val8=$[rint($val7)] val9=$[($val8*$val6/100)] val10=$[rint($val8*$val6)] replyname1=El número replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

¿Cuál es el $val8 por ciento de $val6 (simplificado a la centésima más cercana)? $() !exit :hint $()Is/Of = Porcentaje/100

Sustituya $val6 por Of y $val8 por Porcentaje

Multiplique $val6 * $val8 y divida por 100 $() !exit :help $() $() !exit :solution $()

Is/Of = Porcentaje/100

Is * 100 = Porcentaje * Of

100 * Is = $val6 * $val8

100 * Is = $val10

Is = $val10 / 100

Is = $val9

$() !exit :feedback !exit :test !exit :stat vsavelist=6,8,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Solvingproport3.def0000644000175000017500000000243710340335770027612 0ustar georgeskgeorgesk!set title=Resolución de proporciones (nivel 1c) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=100 ansorder=r varcnt=10 prevarcnt=9 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=!randitem 2,3,5,7 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,7 val7=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val8=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val9=$[rint($(tmp0))] val10=$[rint(($val8*$val7))] val11=$[rint(($val6*$val9))] val12=$[rint($val6*$val8)] val13=$[rint($val7*$val9)] val14=$[rint($val12*$val13)] replyname1=x replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

Resolver para x:

$val13/$val10 = x/$val12 $() !exit :hint $()Los productos cruzados son iguales. Establezca una ecuación

($val10)x = $val12($val13) $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/SolvingPercent.def0000644000175000017500000000250710340335770027420 0ustar georgeskgeorgesk!set title=Porcentajes con proporciones I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=100 ansorder=r varcnt=6 prevarcnt=5 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 1, 99 val6=$[rint($(tmp0))] tmp0=!randint 1, 99 val7=$[rint($(tmp0))] val8=$[rint($val7)] val9=$[(100*$val6/$val8)] val10=$[rint($val6*100)] replyname1=El número replygood1=$val9 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

¿$val6 es el $val8 por ciento de qué número (simplificado a la centésima más cercana)? $() !exit :hint $()Is/Of = Porcentaje/100

Sustituya Is por $val6 y Porcentaje por $val8

Multiplique $val6 por 100 y divida por $val8 $() !exit :help $() $() !exit :solution $()

Is/Of = Porcentaje/100

$val6 * 100 dividido por $val8

$val10 / $val8

respuesta = $val9

$() !exit :feedback !exit :test !exit :stat vsavelist=6,8,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Solvingproport2.def0000644000175000017500000000354710340335770027614 0ustar georgeskgeorgesk!set title=Resolución de proporciones (nivel 2) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=10000 ansorder=r,r varcnt=9 prevarcnt=8 postvarcnt=0 replycnt=2 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=!randitem -8,-6,-4,-2,2,4,6,8 val6=$[rint($(tmp0))] tmp0=!randitem -9,-7,-5,-3,3,5,7,9 val7=$[rint($(tmp0))] val8=$[rint($val6+$val7)] val9=$[rint($val6*$val7)] val10=$[rint($val9+1)] val11=$[rint($val10-$val8)] val12=$[rint((-1)*$val6)] val13=$[rint((-1)*$val7)] replyname1=1ª respuesta replygood1=?analyze 14 replyname2=2ª respuesta replygood2=?analyze 15 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

Resolver la siguiente proporción.

(dé dos soluciones)

(x + 1)/x = $val11/(x + $val9) $() !exit :hint $()Los productos cruzados son iguales. Establezca una ecuación utilizando los medios y los extremos, y después resuelva para x. $() !exit :help $() $() !exit :solution $()

(x + 1)(x + $val9) = $val11 x

x2 + $val10 x + $val9 = $val11 x

x2 + $val10 x - $val11 x + $val9 = $val11 x - $val11 x

x2 + $val8 x + $val9 = 0

(x + $val6)(x + $val7) = 0

$val12 y $val13 = respuestas

$() !exit :feedback !exit :test !ifval $val14=$val12 or $val14=$val13 condtest1=1 !else condtest1=0 !endif condname1=$val14 !ifval $val15=$val12 or $val15=$val13 condtest2=1 !else condtest2=0 !endif condname2=$val15 !exit :stat vsavelist=6,7,8,9,10,11,12,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Tourdumonde.def0000644000175000017500000000220410340335770026755 0ustar georgeskgeorgesk!set title=Vuelta al mundo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 3, 16 val6=$[rint($(tmp0))] tmp0=!randitem 80,100,125,160 val7=$[rint($(tmp0))] val8=$[rint(40000/$val7)] replytype1=default replyname1=Horas replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El perímetro de la tierra es de aproximadamente 40 000 km. Para simular una vuelta al globo terráqueo en automóvil, un piloto circula en un circuito de $val6 km a una velocidad media de $val7 km/h (incluidos descansos y comidas). ¿Cuánto durará su aventura en horas? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Solde.def0000644000175000017500000000176110340335770025525 0ustar georgeskgeorgesk!set title=Rebajas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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=!randitem 20,25,40,50 val6=$[rint($(tmp0))] tmp0=!randint 100, 160 val7=$[rint($(tmp0))] val8=$[(100/$val6)*$val7] replytype1=default replyname1=Precio (en francos) replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Con un $val6% de descuento, me ahorro $val7 francos en un par de botines. ¿Qué precio tenían antes de las rebajas? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Solvingproport.def0000644000175000017500000000267110340335770027527 0ustar georgeskgeorgesk!set title=Resolución de proporciones (nivel 1) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=10000 ansorder=r varcnt=10 prevarcnt=9 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=!randitem 2,3,5,7 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,7 val7=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val8=$[rint($(tmp0))] tmp0=!randitem -7,-5,-3,-2,2,3,5,7 val9=$[rint($(tmp0))] val10=$[rint(($val8*$val7))] val11=$[rint(($val6*$val9))] val12=$[rint($val6*$val8)] val13=$[rint($val7*$val9)] val14=$[rint($val12*$val13)] replyname1=respuesta replygood1=$val11 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

Resolver para x:

$val12/x = $val10/$val13 $() !exit :hint $()Los productos cruzados son iguales. Establezca una ecuación

$val12($val13) = ($val10)x $() !exit :help $() $() !exit :solution $()

$val12($val13) = ($val10)x

$val14/$val10 = ($val10)x/$val10

$val11 = x

$() !exit :feedback !exit :test !exit :stat vsavelist=10,11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/DensitII.def0000644000175000017500000000174110340335770026125 0ustar georgeskgeorgesk!set title=Densidad II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 5, 15 val6=$[rint($(tmp0)*10)] tmp0=!randint 40, 70 val7=$[rint($(tmp0)*10)] val8=$[$val7*$val6/1000] replytype1=default replyname1=densidad replygood1=$val6 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()La superficie de un país es de $val7 km2 y su población es de $val8 millones. ¿Cuál es su densidad? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/DensitII2.def0000644000175000017500000000200710340335770026203 0ustar georgeskgeorgesk!set title=Densidad III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 5, 15 val6=$[rint($(tmp0)*10)] tmp0=!randint 40, 70 val7=$[rint($(tmp0)*10)] val8=$[$val7*$val6/1000] replytype1=default replyname1=población replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()La superficie de un país es de $val7 mil km2 y su densidad es de $val6 habitantes/km2. ¿Cuál es su población (en millones)? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Courses.def0000644000175000017500000000265710340335770026107 0ustar georgeskgeorgesk!set title=Compras !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=7 prevarcnt=6 postvarcnt=0 replycnt=2 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, 8 val6=$[rint($(tmp0))] tmp0=!randitem 0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1 val7=$[$(tmp0)] tmp0=!randitem 0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5 val8=$[$(tmp0)] val9=$[$val7+$val8] val10=$[($val6*$val9)-$val8] tmp0=!randitem zumo de naranja, zumo de manzana, Coca Cola, zumo de uvas val11=$(tmp0) replytype1=default replyname1=Precio de una botella replygood1=$val9 replytype2=default replyname2=Mi dinero replygood2=$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mamá me envía a la tienda a comprar $val11. Cojo un paquete de $val6 botellas. La cajera me dice entonces que me faltan $val8 euros. Dejo una botella y vuelvo a la caja. Entonces la cajera me devuelve $val7 euros. ¿Qué vale una botella de $val11? ¿Cuánto dinero llevaba yo al principio? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/SolvingPercent3.def0000644000175000017500000000255310340335770027504 0ustar georgeskgeorgesk!set title=Porcentajes con proporciones III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Mark Miller email=markmillermvhs@hotmail.com computeanswer=no precision=100 ansorder=r varcnt=5 prevarcnt=4 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 1, 99 val6=$[rint($(tmp0))] tmp0=!randint 1, 99 val7=$[rint($(tmp0))] val8=$[$val6*100/$val7] val9=$[rint($val6*100)] replyname1=El número replygood1=$val8 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

¿$val6 es qué porcentaje de $val7 (simplificado a la centésima más cercana)? $() !exit :hint $()Is/Of = Porcentaje/100

Sustituya Is por $val6 por y Of por $val7

Multiplique $val6 por 100 y divida por $val7 $() !exit :help $() $() !exit :solution $()

Is/Of = Porcentaje/100

Is * 100 = Of * Porcentaje

$val6 * 100 = $val7 * Porcentaje

$val9 = $val7 * Porcentaje

$val9 / $val7 = Porcentaje

$val8 = Porcentaje

$() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/def/Pourcentages.def0000644000175000017500000000223310340335770027111 0ustar georgeskgeorgesk!set title=Porcentajes !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Dingyu Xiao email=xiao@unice.fr computeanswer=no precision=1000 ansorder=r,r varcnt=6 prevarcnt=5 postvarcnt=0 replycnt=2 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 800, 950 val6=$[rint($(tmp0))] tmp0=!randint 100, 290 val7=$[rint($(tmp0))] val8=$[round(($val7/$val6)*1000)/10] tmp0=!randint 200, 400 val9=$[rint($(tmp0))] val10=$[round(($val9/$val6)*10000)/100] replytype1=default replyname1=Número de alumnos replygood1=$val7 replytype2=default replyname2=Porcentaje replygood2=$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre los $val6 alumnos del instituto, $val8% dan alemán.
¿Cuántos son?
$val9 dan español. ¿Qué porcentaje representan? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/intro.phtml0000644000175000017500000000021210340335770025430 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene en este momento $exototal ejercicios sobre proporcionalidad. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/Exindex0000644000175000017500000000145610340335770024571 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of Tapis,CDRom,Courses,Densit,DensitII,DensitII2,Echelle,EchelleII,Essence,Moliere,Poids,Pyramide,Pourcentages,SolvingPercent,SolvingPercent2,SolvingPercent3,Solde,Solvingproport,Solvingproport4,Solvingproport3,Solvingproport5,Solvingproport2,Tempsdeparcour,Tourdumonde, !set titlelist=!char 1 to -2 of Alfombra,CD Rom,Compras,Densidad,Densidad II,Densidad III,Escala,Escala II,Gasolina,Molière,Pesos,Pirámide,Porcentajes,Porcentajes con proporciones I,Porcentajes con proporciones II,Porcentajes con proporciones III,Rebajas,Resolución de proporciones (nivel 1),Resolución de proporciones (nivel 1b),Resolución de proporciones (nivel 1c),Resolución de proporciones (nivel 1d),Resolución de proporciones (nivel 2),Tiempo de recorrido,Vuelta al mundo, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/Extitles0000644000175000017500000000131210340335770024755 0ustar georgeskgeorgeskCDRom:CD Rom Courses:Compras Densit:Densidad DensitII:Densidad II DensitII2:Densidad III Echelle:Escala EchelleII:Escala II Essence:Gasolina Moliere:Molière Poids:Pesos Pourcentages:Porcentajes Pyramide:Pirámide Solde:Rebajas SolvingPercent:Porcentajes con proporciones I SolvingPercent2:Porcentajes con proporciones II SolvingPercent3:Porcentajes con proporciones III Solvingproport:Resolución de proporciones (nivel 1) Solvingproport2:Resolución de proporciones (nivel 2) Solvingproport3:Resolución de proporciones (nivel 1c) Solvingproport4:Resolución de proporciones (nivel 1b) Solvingproport5:Resolución de proporciones (nivel 1d) Tapis:Alfombra Tempsdeparcour:Tiempo de recorrido Tourdumonde:Vuelta al mundo wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/var.proc0000644000175000017500000000002710340335770024710 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/images/0000755000175000017500000000000010340335770024501 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/about.phtml0000644000175000017500000000003210340335770025407 0ustar georgeskgeorgesk!changeto oef/about.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/main.phtml0000644000175000017500000000003110340335770025220 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/var.def0000644000175000017500000000231310340335770024503 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/mkindex0000755000175000017500000000003010340335770024612 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/INDEX0000644000175000017500000000073110340335770024027 0ustar georgeskgeorgesktitle=OEF proporcionalidad description=colección de ejercicios sobre proporcionalidad. author=Dingyu XIAO address=xiao@unice.fr copyright=© 2000- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 wims_version=2.35 language=es category=exercise, oef level=E5 E6 H1 H2 domain=algebra keywords=proporcionalidad, división, multiplicación, porcentaje, por ciento require= scoring=yes wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/0000755000175000017500000000000010771677745024046 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Poids.oef0000644000175000017500000000106010340335770025571 0ustar georgeskgeorgesk\title{Pesos} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\c=random(8,10)} \integer{\s=random(4,5)} \integer{\p=random(8..12)} \real{\v=\p/\c} \integer{\t=\p*\s} \statement{Un camión es \c veces más pesado que un coche, mientras que el camión es \s veces más ligero que un tanque. Sabiendo que el camión pesa \p toneladas, calcular los pesos (in toneladas) del coche y del tanque.} \answer{Peso del coche}{\v}{type=default} \answer{Peso del tanque}{\t}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/DensitII2.oef0000644000175000017500000000064210340335770026252 0ustar georgeskgeorgesk\title{Densidad III} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\d=random(5..15)*10} \integer{\s=random(40..70)*10} \real{\p=\s*\d/1000} \statement{La superficie de un país es de \s mil km2 y su densidad es de \d habitantes/km2. ¿Cuál es su población (en millones)?} \answer{población}{\p}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Tapis.oef0000644000175000017500000000101710340335770025575 0ustar georgeskgeorgesk\title{Alfombra} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\f=random(20,25,30,35,40,45,50,55,60)*100} \integer{\s=random(10..40)} \integer{t=random(1,2)} \text{t1=item(\t,sube,baja)} \text{t2=item(\t,baja,sube)} \statement{Una alfombra costaba \f francos en noviembre, \t1 el \s % en diciembre, después \t2 el \s % en enero. ¿Cuál es su nuevo precio?} \choice{El nuevo precio es}{\f francos menos}{\f francos más, el mismo precio} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Solde.oef0000644000175000017500000000061610340335770025567 0ustar georgeskgeorgesk\title{Rebajas} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\r=random(20,25,40,50)} \integer{\e=random(100..160)} \real{\p=(100/\r)*\e} \statement{Con un \r% de descuento, me ahorro \e francos en un par de botines. ¿Qué precio tenían antes de las rebajas?} \answer{Precio (en francos)}{\p}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/SolvingPercent2.oef0000644000175000017500000000124310340335770027542 0ustar georgeskgeorgesk\title{Porcentajes con proporciones II} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{100} \integer{b=random(1..99)} \integer{c=random(1..99)} \integer{p=\c} \real{a=(\p*\b/100)} \integer{h=\p*\b} \statement{

¿Cuál es el \p por ciento de \b (simplificado a la centésima más cercana)?} \hint{Is/Of = Porcentaje/100

Sustituya \b por Of y \p por Porcentaje

Multiplique \b * \p y divida por 100} \answer{El número}{\a} \solution{

Is/Of = Porcentaje/100

Is * 100 = Porcentaje * Of

100 * Is = \b * \p

100 * Is = \h

Is = \h / 100

Is = \a

} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Solvingproport3.oef0000644000175000017500000000107110340335770027647 0ustar georgeskgeorgesk\title{Resolución de proporciones (nivel 1c)} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{100} \integer{a=random(2,3,5,7)} \integer{c=random(2,3,5,7)} \integer{b=random(-7,-5,-3,-2,2,3,5,7)} \integer{d=random(-7,-5,-3,-2,2,3,5,7)} \integer{e=(\b*\c)} \integer{f=(\a*\d)} \integer{g=\a*\b} \integer{h=\c*\d} \integer{j=\g*\h} \statement{

Resolver para x:

\h/\e = x/\g} \hint{Los productos cruzados son iguales. Establezca una ecuación

(\e)x = \g(\h)} \answer{x}{\f} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Pourcentages.oef0000644000175000017500000000101010340335770027145 0ustar georgeskgeorgesk\title{Porcentajes} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{\c=random(800..950)} \integer{\n=random(100..290)} \real{\a=round((\n/\c)*1000)/10} \integer{\e=random(200..400)} \real{\p=round((\e/\c)*10000)/100} \statement{Entre los \c alumnos del instituto, \a% dan alemán.
¿Cuántos son?
\e dan español. ¿Qué porcentaje representan?} \answer{Número de alumnos}{\n}{type=default} \answer{Porcentaje}{\p}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Pyramide.oef0000644000175000017500000000074310340335770026274 0ustar georgeskgeorgesk\title{Pirámide} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\b=random(10..22)*10} \integer{\h=random(5..13)*10} \integer{\e=random(5..14)*100} \real{\c=(\b*100)/\e} \statement{Una pirámide tiene una base cuadrada de \b m. Su altura es \h m. Quiero realizar una maqueta de madera a escala 1/\e. ¿Qué longitud tiene el lado de la base (en cm) ?} \answer{Lado de la base}{\c}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Tempsdeparcour.oef0000644000175000017500000000066410340335770027521 0ustar georgeskgeorgesk\title{Tiempo de recorrido} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{t=random(60,66,72,84,90,96,102,108,114,120)} \integer{v=random(62,70,80,92,100,110)} \integer{d=\v*\t/60} \statement{En coche, he recorrido \d km circulando a la velocidad media de \v km/h. ¿Durante cuántos minutos he circulado?} \answer{Tiempo en min}{\t}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/SolvingPercent.oef0000644000175000017500000000120410340335770027455 0ustar georgeskgeorgesk\title{Porcentajes con proporciones I} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{100} \integer{a=random(1..99)} \integer{c=random(1..99)} \integer{p=\c} \real{b=(100*\a/\p)} \integer{h=\a*100} \statement{

¿\a es el \p por ciento de qué número (simplificado a la centésima más cercana)?} \hint{Is/Of = Porcentaje/100

Sustituya Is por \a y Porcentaje por \p

Multiplique \a por 100 y divida por \p} \answer{El número}{\b} \solution{

Is/Of = Porcentaje/100

\a * 100 dividido por \p

\h / \p

respuesta = \b

} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Essence.oef0000644000175000017500000000064510340335770026110 0ustar georgeskgeorgesk\title{Gasolina} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\l=random(8,10,12,14,16)} \integer{\k=random(4*\l..7*\l)} \real{\a=(\k/\l)*100} \statement{Un vehículo consume \l litros de gasolina a los 100 km. Su depósito puede contener \k litros de gasolina, ¿cuál es su autonomía?} \answer{Autonomía (en km)}{\a}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Tourdumonde.oef0000644000175000017500000000104010340335770027016 0ustar georgeskgeorgesk\title{Vuelta al mundo} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\k=random(3..16)} \integer{\v=random(80,100,125,160)} \integer{\h=40000/\v} \statement{El perímetro de la tierra es de aproximadamente 40 000 km. Para simular una vuelta al globo terráqueo en automóvil, un piloto circula en un circuito de \k km a una velocidad media de \v km/h (incluidos descansos y comidas). ¿Cuánto durará su aventura en horas?} \answer{Horas}{\h}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Solvingproport2.oef0000644000175000017500000000172110340335770027650 0ustar georgeskgeorgesk\title{Resolución de proporciones (nivel 2)} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(-8,-6,-4,-2,2,4,6,8)} \integer{b=random(-9,-7,-5,-3,3,5,7,9)} \integer{c=\a+\b} \integer{d=\a*\b} \integer{e=\d+1} \integer{f=\e-\c} \integer{g=(-1)*\a} \integer{h=(-1)*\b} \statement{

Resolver la siguiente proporción.

(dé dos soluciones)

(x + 1)/x = \f/(x + \d)} \hint{Los productos cruzados son iguales. Establezca una ecuación utilizando los medios y los extremos, y después resuelva para x.} \answer{1ª respuesta}{\ans1} \answer{2ª respuesta}{\ans2} \condition{\ans1}{\ans1=\g or \ans1=\h} \condition{\ans2}{\ans2=\g or \ans2=\h} \solution{

(x + 1)(x + \d) = \f x

x2 + \e x + \d = \f x

x2 + \e x - \f x + \d = \f x - \f x

x2 + \c x + \d = 0

(x + \a)(x + \b) = 0

\g y \h = respuestas

} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Solvingproport5.oef0000644000175000017500000000106710340335770027656 0ustar georgeskgeorgesk\title{Resolución de proporciones (nivel 1d)} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{100} \integer{a=random(2,3,5,7)} \integer{c=random(2,3,5,7)} \integer{b=random(-7,-5,-3,-2,2,3,5,7)} \integer{d=random(-7,-5,-3,-2,2,3,5,7)} \integer{e=(\b*\c)} \integer{f=(\a*\d)} \integer{g=\a*\b} \integer{h=\c*\d} \integer{j=\g*\h} \statement{

Resolver para x: x/\g = \h/\e} \hint{Los productos cruzados son iguales. Establezca una ecuación

(\e)x = \g(\h)} \answer{x}{\f} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Makefile0000644000175000017500000000003010340335770025454 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Courses.oef0000644000175000017500000000140610340335770026142 0ustar georgeskgeorgesk\title{Compras} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{b=random(2..8)} \real{\r=random(0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1)} \real{\m=random(0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5)} \real{\p=\r+\m} \real{\s=(\b*\p)-\m} \text{\n=random(zumo de naranja, zumo de manzana, Coca Cola, zumo de uvas)} \statement{Mamá me envía a la tienda a comprar \n. Cojo un paquete de \b botellas. La cajera me dice entonces que me faltan \m euros. Dejo una botella y vuelvo a la caja. Entonces la cajera me devuelve \r euros. ¿Qué vale una botella de \n? ¿Cuánto dinero llevaba yo al principio?} \answer{Precio de una botella}{\p}{type=default} \answer{Mi dinero}{\s}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/.htaccess0000644000175000017500000000001610340335770025616 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Densit.oef0000644000175000017500000000064010340335770025744 0ustar georgeskgeorgesk\title{Densidad} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\d=random(5..15)*10} \integer{\s=random(40..70)*10} \real{\p=\s*\d/1000} \statement{La densidad de población de un país es de \d habitantes/km2. Su población es \p millions. ¿Cuál es su área (en miles de km2)?} \answer{Área}{\s}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Solvingproport4.oef0000644000175000017500000000132510340335770027652 0ustar georgeskgeorgesk\title{Resolución de proporciones (nivel 1b)} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{100} \integer{a=random(2,3,5,7)} \integer{c=random(2,3,5,7)} \integer{b=random(-7,-5,-3,-2,2,3,5,7)} \integer{d=random(-7,-5,-3,-2,2,3,5,7)} \integer{e=(\b*\c)} \integer{f=(\a*\d)} \integer{g=\a*\b} \integer{h=\c*\d} \integer{j=\g*\h} \statement{

Resolver para x:

\e/\h = \g/x} \hint{Los productos cruzados son iguales. Establezca una ecuación

(\e)x = \g(\h)} \answer{x}{\f} \solution{

\g(\h) = (\e)x (productos cruzados)

\j = \e x

\j/\e = (\e)x/\e (dividir ambos lados por \e)

\f = x (respuesta)

} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/SolvingPercent3.oef0000644000175000017500000000125310340335770027544 0ustar georgeskgeorgesk\title{Porcentajes con proporciones III} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{100} \integer{a=random(1..99)} \integer{b=random(1..99)} \real{p=\a*100/\b} \integer{h=\a*100} \statement{

¿\a es qué porcentaje de \b (simplificado a la centésima más cercana)?} \hint{Is/Of = Porcentaje/100

Sustituya Is por \a por y Of por \b

Multiplique \a por 100 y divida por \b} \answer{El número}{\p} \solution{

Is/Of = Porcentaje/100

Is * 100 = Of * Porcentaje

\a * 100 = \b * Porcentaje

\h = \b * Porcentaje

\h / \b = Porcentaje

\p = Porcentaje

} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Echelle.oef0000644000175000017500000000063310340335770026061 0ustar georgeskgeorgesk\title{Escala} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\e=random(15,20,25,50,100,200,250,500)*1000} \integer{\a=random(3..15)} \real{\d=(\a*\e)/100000} \statement{Un mapa de carreteras está a la escala 1/\e. ¿Qué distancia real (en km) representa \a cm
en el mapa?} \answer{Distancia real}{\d}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/CDRom.oef0000644000175000017500000000071010340335770025460 0ustar georgeskgeorgesk\title{CD Rom} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\c=random(2..10)} \integer{\u=random(10..50)} \integer{\l=random(80..200)} \integer{\t=(\c*\u)+\l} \statement{He comprado un lector de CD y \c CD roms. He pagado \t dólares. ¿Cuál es el precio del lector de CD si los CD roms valen \u dólares cada uno? } \answer{Precio (en dólares)}{\l}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Moliere.oef0000644000175000017500000000075710340335770026123 0ustar georgeskgeorgesk\title{Molière} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\a=random(15..30)} \integer{\r=random(2..10)} \real{\f=randint(50..100)/2} \real{\p=(\f*\a)-(\r*\a)} \statement{El profesor de francés ha comprado \a ejemplares de El Avaro. El librero le ha hecho un descuento de \r francos por libro. Ha pagado \p francos. ¿Qué vale un libro sin el descuento?} \answer{Precio (en francos)}{\f}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/EchelleII.oef0000644000175000017500000000063710340335770026307 0ustar georgeskgeorgesk\title{Escala II} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\e=random(15,20,25,50,100,200,250,500)*1000} \integer{\a=random(3..15)} \real{\d=(\a*\e)/100000} \statement{Un mapa de carreteras está a escala 1/\e. Para una distancia real de \d km, ¿cuál es la distancia en el mapa? } \answer{Distancia real}{\a}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/DensitII.oef0000644000175000017500000000057410340335770026174 0ustar georgeskgeorgesk\title{Densidad II} \language{es} \range{-5..5} \author{Dingyu Xiao} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{\d=random(5..15)*10} \integer{\s=random(40..70)*10} \real{\p=\s*\d/1000} \statement{La superficie de un país es de \s km2 y su población es de \p millones. ¿Cuál es su densidad?} \answer{densidad}{\d}{type=default} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/src/Solvingproport.oef0000644000175000017500000000122310340335770027563 0ustar georgeskgeorgesk\title{Resolución de proporciones (nivel 1)} \language{es} \range{-5..5} \author{Mark Miller} \email{markmillermvhs@hotmail.com} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2,3,5,7)} \integer{c=random(2,3,5,7)} \integer{b=random(-7,-5,-3,-2,2,3,5,7)} \integer{d=random(-7,-5,-3,-2,2,3,5,7)} \integer{e=(\b*\c)} \integer{f=(\a*\d)} \integer{g=\a*\b} \integer{h=\c*\d} \integer{j=\g*\h} \statement{

Resolver para x:

\g/x = \e/\h} \hint{Los productos cruzados son iguales. Establezca una ecuación

\g(\h) = (\e)x} \answer{respuesta}{\f} \solution{

\g(\h) = (\e)x

\j/\e = (\e)x/\e

\f = x

} wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/endhook.phtml0000644000175000017500000000010210340335770025722 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H1/algebra/oefprop.es/help.phtml0000644000175000017500000000003110340335770025224 0ustar georgeskgeorgesk!changeto oef/help.phtml wims-modules-es-3.64.orig/modules/H2/0000755000175000017500000000000010771673315017570 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/0000755000175000017500000000000011164737236021165 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/0000755000175000017500000000000010771744013023701 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/.htaccess0000644000175000017500000000003710340336137025473 0ustar georgeskgeorgeskoption -Index -Followsymlinks wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/var.proc0000644000175000017500000000003210340336140025337 0ustar georgeskgeorgesk !changeto docu/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/0000755000175000017500000000000010771677632024462 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/0000755000175000017500000000000010771677573024626 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/solution.def0000644000175000017500000000170710340336140027135 0ustar georgeskgeorgesk!set titb=Solución !set keyw= !set datm=20030324 !set prev= !set next= !set upbl=chrono !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content !set m_dessin=$m_dessin text black, -1.350+0.05,2, medium,T text black, -2.650+0.05,2, medium,K text black, -0.030+0.05,2, medium,C text black, -1.250+0.05,2, medium,R text black, -2.100+0.05,2, medium,S text black,-0.35+0.05,2, medium,A arrow -1.350,2,-1.350,0, 5,red arrow -2.600,2, -2.600,0, 5,red arrow -2.100,2, -2.100,0, 5,red arrow -0.030,2, -0.030,0, 5,red arrow -1.250,2, -1.250,0,5,red arrow -2.1,2, -2.1,0,medium,5,red arrow -0.35,2, -0.35,0,5,red
!read primitives.phtml 1, draw, 600,50, xrange -\m-0.1,\n+0.5 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/distance.def0000644000175000017500000000275310340336140027055 0ustar georgeskgeorgesk!set titb=Situar un punto, distancia !set keyw= !set datm=20030326 !set prev= !set next=distance0 !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
!read primitives.phtml 1, exercise, cmd=new&module=H1/algebra/relatif.es&cmd=new&dim=1&cnt_date=4, Situar un punto del que se conoce la abscisa

!read primitives.phtml 2, exercise, cmd=new&module=H1/algebra/oefrelatif.es&exo=relatifdist, Determinar la distancia de dos puntos de los que se conoce la abscisa. ¿Qué podemos decir de las distancias !insmath AB y !insmath BA ?

Retendremos la regla siguiente:

La distancia !insmath AB es igual a la abscisa más grande menos la abscisa más pequeña.

!set tmp0=!randint -20, 20 !set m_A=$[$(tmp0)] !ifval $m_A>0 !set m_A= +$m_A !endif !set tmp0=!randint -20, 20 !set m_B=$[$(tmp0)] !ifval $m_B>0 !set m_B= +$m_B !endif !set m_dist=$[abs($m_A-($m_B))]

!read primitives.phtml 3, reload, recargar Así, la distancia entre !insmath A(\A) y !insmath B(\B) es igual a $m_dist.

Volveremos sobre las técnicas del cálculo en la parte dedicada a las actividades numéricas, operación !read primitives.phtml 4, link, soustraction, sustracción de dos números relativos
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/pointdroite.def0000644000175000017500000000232310340336140027614 0ustar georgeskgeorgesk!set titb=Localización de puntos de una recta, construyamos el punto !set keyw= !set datm=20030325 !set prev= !set next=coordplan !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
  • Recta graduada: Para referirnos a los puntos de una recta, elegimos:
    • un origen,
    • un sentido, una unidad de longitud.
  • Abscisa de un punto: Cada punto de una recta graduada está definido por un número relativo llamado abscisa de este punto. El origen tiene de abscisa 0.
  • Relativo a: Cuando conocemos la abscisa de un punto, conocemos entonces la distancia de dicho punto al punto !insmath O (que tiene por abscisa 0), y su posición relativamente al punto !insmath O .

!read primitives.phtml 1, exercise, cmd=new&module=H1/algebra/relatif.es&cmd=new&dim=1 &cnt_date=4, Situar un punto del que se conoce la abscisa
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/tocdroite.def0000644000175000017500000000103510340336140027247 0ustar georgeskgeorgesk!set titb=La recta !set keyw= !set datm=20030327 !set prev= !set next= !set upbl=main !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
  • !read primitives.phtml 1, link, chrono
  • !read primitives.phtml 2, link, abscisse
  • !read primitives.phtml 3, link, croissance
  • !read primitives.phtml 4, link, distance
  • !read primitives.phtml 5, link, distance0
  • !read primitives.phtml 6, link, pointdroite
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/add2.def0000644000175000017500000000242510340336140026071 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=addition !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
    !set tmp0=!randint 1, 9 !set m_a=$[rint($(tmp0))] !set tmp0=!randint $m_a+1, 9 !set m_b=$[rint($(tmp0))] !set m_s=$[rint(-$m_a+$m_b)]
  • !insmath (-\a)+(+\b)=+\s , el signo del resultado es positivo " +$m_s ". La suma tiene el signo del mayor de los dos números sin su signo. Es el signo de "  +$m_b  " porque !insmath \b>\a . Seguidamente hallamos la diferencia entre el mayor de los dos números sin el signo y el menor de los dos números sin su signo. El número !insmath \s se obtiene realizando !insmath \b-\a  ;
  • !insmath (+\a)+(-\b)=-\s , el signo del resultado es negativo " -$m_s ". La suma tiene el signo del mayor de los dos números sin su signo. Es el signo de " -$m_b " porque !insmath \b>\a . Seguidamente hallamos la diferencia entre el mayor de los dos números sin el signo y el menor de los dos números sin su signo. !insmath \s se obtiene realizando !insmath \b-\a  ;

wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/coordplan.def0000644000175000017500000000117510340336140027241 0ustar georgeskgeorgesk!set titb=Leer las coordenadas de un punto dado !set keyw= !set datm=20030511 !set prev= !set next=placer !set upbl=tocplan !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content

Dada una referencia en el plano, !read primitives.phtml 1, exercise, cmd=new&module=H1/algebra/oefrelatif.es&worksheet=&exo=coord, leer las coordenadas de un punto.

Ejercicio: !read primitives.phtml 2, exercise, cmd=new&module=H1/algebra/oefrelatif.es&exo=itineraire, Itinerario en el plano
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/soustraction.def0000644000175000017500000000227110340336140030013 0ustar georgeskgeorgesk!set titb=Sustracción de dos números relativos !set keyw= !set datm=20030326 !set prev= !set next= !set upbl=main !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
Definición de la sustracción: !insmath a y !insmath b son dos números relativos. La diferencia !insmath a-b es el número que es preciso añadir a !insmath b para obtener !insmath a .

Teorema (Sustracción de dos números relativos): Sustraer un número relativo equivale a añadir el opuesto de dicho número.

Dicho de otro modo, sean !insmath a y !insmath b dos números relativos, se tiene que

!insmath a-b=a+{\rm opuesto}(b)

"Transformamos" la sustracción en una suma. Esto nos remite a las técnicas de cálculo de !read primitives.phtml 1, link, addition, la suma.

!read primitives.phtml 2, reload, recargar !read primitives.phtml 3, fold, soustr1, Ejemplo: wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/croissance.def0000644000175000017500000000125410340336140027407 0ustar georgeskgeorgesk!set titb=Ordenar por orden creciente números relativos !set keyw= !set datm=20030327 !set prev=abscisse !set next=distance !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content

Un número negativo es un número inferior o igual a 0

!read primitives.phtml 1, exercise, cmd=new&module=H1/algebra/oefrelatif.es&exo=ordre, Comparar números

!read primitives.phtml 2, exercise, cmd=new&module=H1/algebra/oefrelatif.es&exo=croissant2, Ordenar números por orden creciente o decreciente.
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/placer.def0000644000175000017500000000066310340336140026527 0ustar georgeskgeorgesk!set titb=Situar un punto del que se conocen las coordenadas !set keyw= !set datm=20030325 !set prev= !set next= pointplan !set upbl=tocplan !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
Dada una referencia en el plano, !read primitives.phtml 1, exercise, cmd=new&module=H1/algebra/relatif.es&dim=2&cnt_date=3, situar unos puntos.

wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/.code0000644000175000017500000000000210340336140025477 0ustar georgeskgeorgesk* wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/.def0000644000175000017500000000730010340336140025333 0ustar georgeskgeorgesktit=Los números relativos author=Jean-Baptiste Frondas et Bernadette Perrin-Riou email=bpr@math.u-psud.fr copyright=gnu docopen=yes dlang=es header= wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/pointplan.def0000644000175000017500000000374010340336140027264 0ustar georgeskgeorgesk!set titb=Localización de un punto en el plano con una referencia !set keyw= !set datm=20030511 !set prev= !set next= !set upbl=tocplan !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
  • Referencia del plano: Dos rectas graduadas perpendiculares y del mismo origen !insmath O , constituyen una referencia del plano.
  • Coordenadas, abscisas, ordenadas: Podemos indicar la posición de un punto del plano con la ayua de dos números llamados coordenadas de dicho punto.

    • El primer número, que sirve de referencia horizontal, se llama abscisa;
    • el segundo número, que sirve de referencia vertical, se llama ordenada.
    Al eje horizontal se le llama eje de abscisas, al eje vertical se le llama eje de ordenadas
!read primitives.phtml 1, reload, recargar !set tmp0=!randitem -4,-3,-2,-1,0,1,2 !set m_a=$(tmp0) !set tmp0=!randitem -1,0,1,2 !set m_b=$(tmp0) !ifval $m_b=$m_a !set m_b=$[rint( $m_b-1)] !endif
!read primitives.phtml 2, draw, 300,300, xrange -7.2,7.2 yrange -7.2,7.2 parallel -6,-6,6,-6,0,1,20, grey parallel -6,-6,-6,6,1,0,20, grey hline 0,0,black arrow 0,0,1,0,10,black arrow 0,0,0,1,10,black arrow 0,0,6,0,10,black arrow 0,0,0,6,10,black vline 0,0,black disk \a,\b, 7, blue text black, \a,\b-0.5,medium,(\a,\b) text black, \a-2,\b+3,medium, abscisa arrow \a-1,\b+2,\a+0.5,\b-0.5,8, black text black, \a+2,\b+3,medium, ordenada arrow \a+3,\b+2,\a+1.5,\b-0.5,8, black linewidth 3 line \a,\b,0,\b,blue line \a,\b,\a,0,blue text green,-2,7,medium, eje de ordenadas text green,4,0.7,medium, eje de text green,4,-0.5,medium,abscisas

wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/.index0000644000175000017500000000134410340336140025706 0ustar georgeskgeorgesk :abscisse Leer la abscisa de un punto dado :add1 Ejemplo :add2 Ejemplo :addition Suma de dos números relativos :assoc Ejemplo :chrono Egiptología y cronología :comm Ejemplo :coordplan Leer las coordenadas de un punto dado :croissance Ordenar por orden creciente números relativos :distance0 Distancia y posición con respecto al origen :distance Situar un punto, distancia :main Guía :placer Situar un punto del que se conocen las coordenadas :pointdroite Localización de puntos de una recta, construyamos el punto :pointplan Localización de un punto en el plano con una referencia :propadd Propiedades de la suma :solution Solución :soustr1 Ejemplo :soustraction Sustracción de dos números relativos :tocdroite La recta :tocplan El plano wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/assoc.def0000644000175000017500000000245510340336140026372 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=propadd !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content !set tmp0=!randint 1, 5 !set tmp1=!randitem 1,-1 !set m_a=$[rint($(tmp0)*$(tmp1))] !set tmp0=!randint 1, 11 !set tmp1=!randitem 1,-1 !set m_b=$[rint($(tmp0)*$(tmp1))] !set tmp0=!randint 3, 15 !set tmp1=!randitem 1,-1 !set m_c=$[rint($(tmp0)*$(tmp1))] !set tmp0=!randint 3, 5 !set tmp1=!randitem 1,-1 !set m_d=$[rint($(tmp0)*$(tmp1))] !set m_ab=$[rint($m_a+$m_b)] !set m_ac=$[rint($m_a+$m_c)] !set m_bd=$[rint($m_d+$m_b)] !set m_abc=$[rint($m_ab+$m_c)] !set m_s=$[rint($m_abc+$m_d)] !ifval $m_a>0 !set m_a= +$m_a !endif !ifval $m_b>0 !set m_b= +$m_b !endif !ifval $m_c>0 !set m_c= +$m_c !endif !ifval $m_d>0 !set m_d= +$m_d !endif !ifval $m_ab>0 !set m_ab= +$m_ab !endif !ifval $m_ac>0 !set m_ac= +$m_ac !endif !ifval $m_abc>0 !set m_abc= +$m_abc !endif
!insmath \begin{array}{ccl} A &=&(\a)+(\b)+(\c)+(\d) \\ A &=&(\ab)+(\c)+(\d) \\ A &= & (\abc)+(\d) \\ A &=& \s\\ \\ B & = & ((\a)+(\c))+((\b)+(\d)) \\ B & = & (\ac)+(\bd) \\ B & = & \s \end{array}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/comm.def0000644000175000017500000000117410340336140026212 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=propadd !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
!set tmp0=!randint 2, 9 !set m_a=$[rint($(tmp0))]

!set tmp0=!randint 2, 9 !set m_b=$[rint($(tmp0))] !set tmp0=!randitem +,- !set m_signe1=$(tmp0) !set tmp0=!randitem +,- !set m_signe2=$(tmp0) !set m_s=$[rint($m_signe1 1*$m_a+($m_signe2 1)*$m_b)]

!insmath \matrix{ (\signe1 \a)+(\signe2 \b) & = & \s \\ (\signe2 \b)+(\signe1 \a) & = & \s }
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/chrono.def0000644000175000017500000000421710340336140026550 0ustar georgeskgeorgesk!set titb=Egiptología y cronología !set keyw= !set datm=20030405 !set prev= !set next=abscisse !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content Para las fechas anteriores a J.C., podemos escribir simplemente "-200" en lugar de "200 antes de Cristo", "-52" en lugar de "52 a.C.". !set m_m=$[rint(3)] !set m_n=$[rint(1)] !set m_a=$[0] !set m_dessin= !for m_i=-$m_m to $m_n !set m_a=$[rint($m_i*1000)] !set m_s=$[rint($m_i)] !set m_dessin=$m_dessin text black, $m_s,-1, medium, $m_a !next

Indicar sobre esta recta graduada el lugar de los siguientes hechos:
  • [T] : Reinado de Tutankamón, hacia -1350;
  • [K] : Construcción de la pirámide de Keops, hacia -2600;
  • [C] : Muerte de Cleopatra, en -30;
  • [R] : Reinado de Ramsés II, hacia -1250;
  • [S] : Inicio del culto a Osiris, hacia -2100;
  • [A] : Alejandro Magno invade Egipto, hacia -350.
!read primitives.phtml 1, draw, 600,50, xrange -\m-0.1,\n+0.4 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin

!read primitives.phtml 2, fold, solution, Solución

!read primitives.phtml 3, exercise, lang=es&cmd=new&cnt_date=4&module=H1/algebra/chrono.es , Para practicar

La fecha -350 es anterior a -200. Por tanto se escribe -350 < -200.

Utilizando la recta graduada, colocar por orden creciente los números siguientes:

-1350  -2600 -30 -1250 -2100 -350 

!read primitives.phtml 4, fold, , Solution,

-2600 -2100 -1350 -1250 -350 -30 

!read primitives.phtml 5, exercise, lang=es&cmd=new&cnt_date=4&module=H1/algebra/oefrelatif.es&exo=croissant , Para practicar

wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/abscisse.def0000644000175000017500000000546510340336140027062 0ustar georgeskgeorgesk!set titb=Leer la abscisa de un punto dado !set keyw= !set datm=20030408 !set prev= !set next=croissance !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content !read primitives.phtml 1, reload, recargar
Recta graduada o eje graduado: Un eje graduado es una recta que tiene un origen y una unidad : !set m_m=$[rint(5)] !set m_a=0 !set m_dessin= !for m_i=0 to $m_m-1 !ifval $m_i>0 !set m_a= (+$m_i) !else !set m_a=($m_i) !endif !ifval $m_i=0 !set m_a=$[rint( 0)] !endif !set m_s=$[rint($m_i)] !set m_dessin=$m_dessin text blue, $m_s,-1, medium,$m_a !next

!set tmp0=!randint 1, $m_m-1 !set m_b=$[rint($(tmp0))]

!read primitives.phtml 2, draw, 600,70, xrange -\m-0.1,\m+0.1 yrange -3,3.2 hline black,0,0 arrow 2.5,0,\m,0,10,black arrow 0,-1.2,1,-1.2,10,green arrow 1,-1.2,0,-1.2,10,green text green, 0.2,-1.5, medium, unidad parallel 0,-0.8,0,0.4,1/2,0, 40, blue parallel 0,-0.3,0,0.3,1/10,0, 200, blue parallel 0,-0.8,0,0.6,1,0, 40, red \dessin text orange, 0,2, medium, O text orange, -0.2,3, medium, origen text black, \b,2, medium, A
!ifval $m_b>0 !set m_b=+$m_b !endif

Identificamos cada punto del eje por su abscisa: la abscisa de !insmath A es !insmath (\b) , lo que se escribe como !insmath A(\b) .

Para poder identificar los puntos situados a la izquierda de !insmath O , se utilizan nuevos números llamados números negativos. Los números a la derecha de !insmath O son números positivos. !set tmp0=!randint 1, $m_m-1 !set m_c=$[rint(-$(tmp0))] !for m_i=-$m_m to 0 !ifval $m_i>0 !set m_a= (+$m_i) !else !set m_a=($m_i) !endif !ifval $m_i=0 !set m_a=$[rint( 0)] !endif !set m_s=$[rint($m_i)] !set m_dessin=$m_dessin text blue, $m_s,-1, medium,$m_a !next

!read primitives.phtml 3, draw, 600,70, xrange -\m-0.1,\m+0.1 yrange -3,3.2 hline black,0,0 arrow 2.5,0,\m,0,10,black arrow 0,-1.2,1,-1.2,10,green arrow 1,-1.2,0,-1.2,10,green text green, 0.2,-1.5, medium, unidad parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin text orange, 0,2, medium, O text orange, -0.2,3, medium, origen text black, \c,2, medium, B
La abscisa de !insmath B es !insmath (\c) .

!read primitives.phtml 4, exercise, lang=es&cmd=new&cnt_date=4&module=H1/algebra/oefrelatif.es &exo=relatrule , Leer la abscisa de unos puntos
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/addition.def0000644000175000017500000000253310340336140027052 0ustar georgeskgeorgesk!set titb=Suma de dos números relativos !set keyw= !set datm=20030325 !set prev= !set next=propadd !set upbl=main !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content Determinamos primero el signo del resultado, y después la parte sin signo como muestran los ejemplos que siguen:

!read primitives.phtml 1, reload, recargar

  • Suma de dos números relativos del mismo signo

    !read primitives.phtml 2, fold, add1, Ejemplo

    La suma de dos números positivos es un número positivo, la suma de dos números negativos es un número negativo.
  • Suma de dos números relativos de signos contrarios

    !read primitives.phtml 3, fold, add2, Ejemplo

!set tmp0=!randint 1, 16 !set m_a=$[rint($(tmp0))]
Definición (números opuestos): El opuesto de (+a) es (-a); el opuesto de (-a) es (+a).

Teorema (suma de números opuestos): La suma de dos números opuestos es igual a cero. Por ejemplo !insmath (-\a)+(+\a)=0 .
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/distance0.def0000644000175000017500000000333610340336140027133 0ustar georgeskgeorgesk!set titb=Distancia y posición con respecto al origen !set keyw= !set datm=20030325 !set prev= !set next=pointdroite !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
Dado el punto !insmath A que tiene de abscisa 3, ¿a qué distancia está del punto !insmath O ?

!read primitives.phtml 1, fold, , Solution,

A está a la distancia 3 de O

¿Está a la izquierda o a la derecha del punto !insmath O ?

!read primitives.phtml 2, fold, , Solution,

A está a la derecha de O

Dado el punto !insmath D de abscisa -3, ¿a qué distancia está del punto !insmath O ?

!read primitives.phtml 3, fold, , Solution,

A está a la distancia 3 de O

¿Está a la derecha o a la izquierda del punto !insmath O ?

!read primitives.phtml 4, fold, , Solution,

A está a la izquierda de O

Los números 3 y -3 se llaman opuestos, no se diferencian más que por su signo.

- Retendremos la regla siguiente:

Dos números que no difieren más que por su signo se llaman opuestos

¿Qué podemos decir de dos puntos que tienen abscisas opuestas?

Practicar:

!read primitives.phtml 5, exercise, cmd=new&module=H1/algebra/oefrelatif.es&exo=position0, Posición con respecto al origen

!read primitives.phtml 6, exercise, cmd=new&module=H1/algebra/oefrelatif.es&exo=position, Posición con respecto a otro punto

wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/add1.def0000644000175000017500000000170110340336140026064 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030408 !set prev= !set next= !set upbl=addition !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content !set tmp0=!randint 1, 9 !set m_a=$[rint($(tmp0))] !set tmp0=!randint 1, 9 !set m_b=$[rint($(tmp0))] !set m_s=$[rint($m_a+$m_b)]

  • !insmath (+\a)+(+\b)=+\s , los dos términos " +$m_a " y " +$m_b " son positivos, el resultado es positivo " +$m_s ". !insmath \s se obtiene efectuando la suma de los números sin el signo !insmath \s=\a+\b  ;
  • !insmath (-\a)+(-\b)=-\s , los dos números "  -$m_a " y "  !insmath -\b  " son negativos, el resultado es negativo "  !insmath -\s  ". !insmath \s se obtiene efectuando la suma de los números sin el signo !insmath \s=\a+\b  ;
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/soustr1.def0000644000175000017500000000252610340336140026701 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=soustraction !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
!set tmp0=!randint 1, 10 !set m_a=$[$(tmp0)/2] !set tmp0=!randint 1, 10 !set m_b=$[-$(tmp0)/2] !set m_b1=$[-($m_b)] !set m_s=$[$m_a-$m_b] !set m_sp=$[$m_a-$m_b]
!insmath \begin{array}{ccl} A & = & \a-(\b) \\ A & = & \a+(+\b1) \\ A & = & \a+\b1 \\ A & = & \s \end{array}     !set tmp0=!randint 1, 10 !set m_a=$[-$(tmp0)/2] !set tmp0=!randint 1, 10 !set m_b=$[-$(tmp0)/2] !set m_b1=$[-($m_b)] !set m_s=$[$m_a-$m_b] !insmath \begin{array}{ccl} B & = & \a-(\b) \\ B & = & \a+(+\b1) \\ B & = & \a+\b1 \\ B & = & \s \end{array}     !set tmp0=!randint 1, 10 !set m_a=$[$(tmp0)/2] !set tmp0=!randint 1, 10 !set m_b=$[$(tmp0)/2] !set m_s=$[$m_a-$m_b] !insmath \begin{array}{ccl} D & = & \a-(+\b) \\ D & = & \a+(-\b) \\ D & = & \a-\b \\ D & = & \s \end{array}

Sobre la escritura simplificada: Con el hábito se pasa directamente de la primera a la tercera línea de cada cálculo.
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/main.def0000644000175000017500000000230210340336140026175 0ustar georgeskgeorgesk!set titb=Guía !set keyw=addition, relatif,abscisse, soustraction, suma, relativo, abscisa, sustracción !set datm=20030426 !set prev= !set next= !set upbl= !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
  • Actividades gráficas, comparaciones
    • !read primitives.phtml 1, link, tocdroite
      • !read primitives.phtml 2, link, chrono
      • !read primitives.phtml 3, link, abscisse
      • !read primitives.phtml 4, link, distance
      • !read primitives.phtml 5, link, distance0
      • !read primitives.phtml 6, link, pointdroite
    • !read primitives.phtml 7, link, tocplan
      • !read primitives.phtml 8, link, coordplan
      • !read primitives.phtml 9, link, placer
      • !read primitives.phtml 10, link, pointplan
  • Actividades numéricas, operaciones
    • !read primitives.phtml 11, link, addition
    • !read primitives.phtml 12, link, propadd
    • !read primitives.phtml 13, link, soustraction

Tomado del sitio web de Ambali wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/propadd.def0000644000175000017500000000171510340336140026711 0ustar georgeskgeorgesk!set titb=Propiedades de la suma !set keyw= !set datm=20030426 !set prev=addition !set next=soustraction !set upbl=main !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content !read primitives.phtml 1, reload, recargar

  • Si se cambia el orden de los términos de una suma, el resultado no cambia (se dice que la suma es conmutativa).

    !read primitives.phtml 2, fold, comm

  • Si se agrupan los términos de una suma, el resultado no cambia (se dice que la suma es asociativa).

    !read primitives.phtml 3, fold, assoc

!read primitives.phtml 4, exercise, lang=es&cmd=new&module=H2/algebra/oefcalcul.es&exo=regleadd&qnum=1&qcmlevel=3&scoredelay=, Ejercicio sobre las reglas
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/0000755000175000017500000000000010771677611025406 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/distance00000644000175000017500000000232710340336140027164 0ustar georgeskgeorgesk
Dado el punto \(A) que tiene de abscisa 3, ¿a qué distancia está del punto \(O)?

\fold{}{Solution}{

A está a la distancia 3 de O
}

¿Está a la izquierda o a la derecha del punto \(O)?

\fold{}{Solution}{

A está a la derecha de O
}

Dado el punto \(D) de abscisa -3, ¿a qué distancia está del punto \(O)?

\fold{}{Solution}{

A está a la distancia 3 de O
}

¿Está a la derecha o a la izquierda del punto \(O)?

\fold{}{Solution}{

A está a la izquierda de O
}

Los números 3 y -3 se llaman opuestos, no se diferencian más que por su signo.
- Retendremos la regla siguiente:
Dos números que no difieren más que por su signo se llaman opuestos

¿Qué podemos decir de dos puntos que tienen abscisas opuestas?

Practicar: \exercise{cmd=new&module=H1/algebra/oefrelatif.es&exo=position0}{Posición con respecto al origen} \exercise{cmd=new&module=H1/algebra/oefrelatif.es&exo=position}{Posición con respecto a otro punto}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/pointplan.hd0000644000175000017500000000025710340336140027710 0ustar georgeskgeorgesk!set titb=Localización de un punto en el plano con una referencia !set keyw= !set datm=20030511 !set prev= !set next= !set upbl=tocplan !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/abscisse.hd0000644000175000017500000000024410340336140027474 0ustar georgeskgeorgesk!set titb=Leer la abscisa de un punto dado !set keyw= !set datm=20030408 !set prev= !set next=croissance !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/tocdroite0000644000175000017500000000025410340336140027303 0ustar georgeskgeorgesk
  • \link{chrono}
  • \link{abscisse}
  • \link{croissance}
  • \link{distance}
  • \link{distance0}
  • \link{pointdroite}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/tocplan.hd0000644000175000017500000000017510340336140027343 0ustar georgeskgeorgesk!set titb=El plano !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=main !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/comm.hd0000644000175000017500000000017710340336140026640 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=propadd !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/placer0000644000175000017500000000022410340336140026552 0ustar georgeskgeorgesk
Dada una referencia en el plano, \exercise{cmd=new&module=H1/algebra/relatif.es&dim=2&cnt_date=3}{situar unos puntos.}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/add20000644000175000017500000000170610340336140026124 0ustar georgeskgeorgesk
    \def{integer a=randint(1..9)} \def{integer b=randint(\a+1..9)} \def{integer s=-\a+\b}
  • \( (-\a)+(+\b)=+\s ), el signo del resultado es positivo " +\s ". La suma tiene el signo del mayor de los dos números sin su signo. Es el signo de "  +\b  " porque \( \b>\a ). Seguidamente hallamos la diferencia entre el mayor de los dos números sin el signo y el menor de los dos números sin su signo. El número \(\s ) se obtiene realizando \( \b-\a ) ;
  • \( (+\a)+(-\b)=-\s ), el signo del resultado es negativo " -\s ". La suma tiene el signo del mayor de los dos números sin su signo. Es el signo de " -\b " porque \( \b>\a ). Seguidamente hallamos la diferencia entre el mayor de los dos números sin el signo y el menor de los dos números sin su signo. \(\s ) se obtiene realizando \( \b-\a ) ;
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/add2.hd0000644000175000017500000000020010340336140026502 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=addition !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/tocplan0000644000175000017500000000012510340336140026744 0ustar georgeskgeorgesk
  • \link{coordplan}
  • \link{placer}
  • \link{pointplan}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/main.hd0000644000175000017500000000030310340336140026620 0ustar georgeskgeorgesk!set titb=Guía !set keyw=addition, relatif,abscisse, soustraction, suma, relativo, abscisa, sustracción !set datm=20030426 !set prev= !set next= !set upbl= !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/pointdroite.hd0000644000175000017500000000027510340336140030244 0ustar georgeskgeorgesk!set titb=Localización de puntos de una recta, construyamos el punto !set keyw= !set datm=20030325 !set prev= !set next=coordplan !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/soustr1.hd0000644000175000017500000000020410340336140027314 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=soustraction !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/solution.hd0000644000175000017500000000017710340336140027561 0ustar georgeskgeorgesk!set titb=Solución !set keyw= !set datm=20030324 !set prev= !set next= !set upbl=chrono !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/distance.hd0000644000175000017500000000023510340336140027472 0ustar georgeskgeorgesk!set titb=Situar un punto, distancia !set keyw= !set datm=20030326 !set prev= !set next=distance0 !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/main0000644000175000017500000000107410340336140026234 0ustar georgeskgeorgesk
  • Actividades gráficas, comparaciones
    • \link{tocdroite}
      • \link{chrono}
      • \link{abscisse}
      • \link{distance}
      • \link{distance0}
      • \link{pointdroite}
    • \link{tocplan}
      • \link{coordplan}
      • \link{placer}
      • \link{pointplan}
  • Actividades numéricas, operaciones
    • \link{addition}
    • \link{propadd}
    • \link{soustraction}
Tomado del sitio web de Ambali wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/coordplan0000644000175000017500000000051510340336140027270 0ustar georgeskgeorgesk
Dada una referencia en el plano, \exercise{cmd=new&module=H1/algebra/oefrelatif.es&worksheet=&exo=coord}{ leer las coordenadas de un punto.}
Ejercicio: \exercise{cmd=new&module=H1/algebra/oefrelatif.es&exo=itineraire}{Itinerario en el plano}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/addition.hd0000644000175000017500000000023110340336140027467 0ustar georgeskgeorgesk!set titb=Suma de dos números relativos !set keyw= !set datm=20030325 !set prev= !set next=propadd !set upbl=main !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/soustraction.hd0000644000175000017500000000023110340336140030431 0ustar georgeskgeorgesk!set titb=Sustracción de dos números relativos !set keyw= !set datm=20030326 !set prev= !set next= !set upbl=main !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/soustr10000644000175000017500000000172410340336140026732 0ustar georgeskgeorgesk
\def{real a=randint(1..10)/2} \def{real b=-randint(1..10)/2} \def{real b1=-(\b)} \def{ireal s=\a-\b} \def{real sp=\a-\b}
\( \begin{array}{ccl} A & = & \a-(\b) \\ A & = & \a+(+\b1) \\ A & = & \a+\b1 \\ A & = & \s \end{array})    \def{real a=-randint(1..10)/2} \def{real b=-randint(1..10)/2} \def{real b1=-(\b)} \def{real s=\a-\b} \(\begin{array}{ccl} B & = & \a-(\b) \\ B & = & \a+(+\b1) \\ B & = & \a+\b1 \\ B & = & \s \end{array})     \def{real a=randint(1..10)/2} \def{real b=randint(1..10)/2} \def{real s=\a-\b} \(\begin{array}{ccl} D & = & \a-(+\b) \\ D & = & \a+(-\b) \\ D & = & \a-\b \\ D & = & \s \end{array} )
Sobre la escritura simplificada: Con el hábito se pasa directamente de la primera a la tercera línea de cada cálculo.
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/soustraction0000644000175000017500000000145710340336140030052 0ustar georgeskgeorgesk
Definición de la sustracción: \(a) y \(b) son dos números relativos. La diferencia \(a-b) es el número que es preciso añadir a \(b) para obtener \(a).
Teorema (Sustracción de dos números relativos): Sustraer un número relativo equivale a añadir el opuesto de dicho número.

Dicho de otro modo, sean \(a) y \(b) dos números relativos, se tiene que

\(a-b=a+{\rm opuesto}(b))
"Transformamos" la sustracción en una suma. Esto nos remite a las técnicas de cálculo de \link{addition}{la suma.}
\reload{recargar} \fold{soustr1}{Ejemplo:} wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/croissance.hd0000644000175000017500000000026710340336140030036 0ustar georgeskgeorgesk!set titb=Ordenar por orden creciente números relativos !set keyw= !set datm=20030327 !set prev=abscisse !set next=distance !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/croissance0000644000175000017500000000055510340336140027444 0ustar georgeskgeorgesk
Un número negativo es un número inferior o igual a 0
\exercise{cmd=new&module=H1/algebra/oefrelatif.es&exo=ordre} {Comparar números}
\exercise{cmd=new&module=H1/algebra/oefrelatif.es&exo=croissant2}{Ordenar números por orden creciente o decreciente.}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/assoc.hd0000644000175000017500000000017710340336140027015 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=propadd !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/placer.hd0000644000175000017500000000026410340336140027150 0ustar georgeskgeorgesk!set titb=Situar un punto del que se conocen las coordenadas !set keyw= !set datm=20030325 !set prev= !set next= pointplan !set upbl=tocplan !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/tocdroite.hd0000644000175000017500000000017510340336140027677 0ustar georgeskgeorgesk!set titb=La recta !set keyw= !set datm=20030327 !set prev= !set next= !set upbl=main !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/distance0.hd0000644000175000017500000000026010340336140027550 0ustar georgeskgeorgesk!set titb=Distancia y posición con respecto al origen !set keyw= !set datm=20030325 !set prev= !set next=pointdroite !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/addition0000644000175000017500000000174210340336140027105 0ustar georgeskgeorgeskDeterminamos primero el signo del resultado, y después la parte sin signo como muestran los ejemplos que siguen: \reload{recargar }
  • Suma de dos números relativos del mismo signo \fold{add1}{Ejemplo}
    La suma de dos números positivos es un número positivo, la suma de dos números negativos es un número negativo.
  • Suma de dos números relativos de signos contrarios \fold{add2}{Ejemplo}
\def{integer a=randint(1..16)}
Definición (números opuestos): El opuesto de (+a) es (-a); el opuesto de (-a) es (+a).
Teorema (suma de números opuestos): La suma de dos números opuestos es igual a cero. Por ejemplo \( (-\a)+(+\a)=0 ).
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/pointdroite0000644000175000017500000000161310340336140027647 0ustar georgeskgeorgesk
  • Recta graduada: Para referirnos a los puntos de una recta, elegimos:
    • un origen,
    • un sentido, una unidad de longitud.
  • Abscisa de un punto: Cada punto de una recta graduada está definido por un número relativo llamado abscisa de este punto. El origen tiene de abscisa 0.
  • Relativo a: Cuando conocemos la abscisa de un punto, conocemos entonces la distancia de dicho punto al punto \(O) (que tiene por abscisa 0), y su posición relativamente al punto \(O).
\exercise{cmd=new&module=H1/algebra/relatif.es&cmd=new&dim=1 &cnt_date=4}{Situar un punto del que se conoce la abscisa}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/distance0000644000175000017500000000201210340336140027073 0ustar georgeskgeorgesk
\exercise{cmd=new&module=H1/algebra/relatif.es&cmd=new&dim=1&cnt_date=4}{Situar un punto del que se conoce la abscisa}
\exercise{cmd=new&module=H1/algebra/oefrelatif.es&exo=relatifdist}{Determinar la distancia de dos puntos de los que se conoce la abscisa.} ¿Qué podemos decir de las distancias \(AB) y \(BA)?
Retendremos la regla siguiente:
La distancia \(AB) es igual a la abscisa más grande menos la abscisa más pequeña.
\def{real A=randint(-20..20)} \def{text A=\A>0 ? +\A} \def{real B=randint(-20..20)} \def{text B=\B>0 ? +\B} \def{real dist=abs(\A-(\B))}
\reload{recargar} Así, la distancia entre \(A(\A)) y \(B(\B)) es igual a \dist.

Volveremos sobre las técnicas del cálculo en la parte dedicada a las actividades numéricas, operación \link{soustraction}{sustracción de dos números relativos}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/comm0000644000175000017500000000050210340336140026236 0ustar georgeskgeorgesk
\def{integer a=randint(2..9)} \def{integer b=randint(2..9)} \def{text signe1=random(+,-)} \def{text signe2=random(+,-)} \def{integer s= \signe1 1*\a+(\signe2 1)*\b}
\(\matrix{ (\signe1 \a)+(\signe2 \b) & = & \s \\ (\signe2 \b)+(\signe1 \a) & = & \s } )
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/abscisse0000644000175000017500000000424710340336140027111 0ustar georgeskgeorgesk\reload{recargar}
Recta graduada o eje graduado: Un eje graduado es una recta que tiene un origen y una unidad : \def{integer m=5} \def{text a=0} \def{text dessin=} \for{i=0 to \m-1}{ \def{text a=\i>0? (+\i):(\i)} \def{integer a= \i=0 ? 0} \def{integer s=\i} \def{text dessin=\dessin text blue, \s,-1, medium,\a}} \def{integer b=randint(1..\m-1)}
\draw{600,70} {xrange -\m-0.1,\m+0.1 yrange -3,3.2 hline black,0,0 arrow 2.5,0,\m,0,10,black arrow 0,-1.2,1,-1.2,10,green arrow 1,-1.2,0,-1.2,10,green text green, 0.2,-1.5, medium, unidad parallel 0,-0.8,0,0.4,1/2,0, 40, blue parallel 0,-0.3,0,0.3,1/10,0, 200, blue parallel 0,-0.8,0,0.6,1,0, 40, red \dessin text orange, 0,2, medium, O text orange, -0.2,3, medium, origen text black, \b,2, medium, A }
\def{text b=\b>0?+\b}
Identificamos cada punto del eje por su abscisa: la abscisa de \(A) es \((\b)), lo que se escribe como \(A(\b)).

Para poder identificar los puntos situados a la izquierda de \(O), se utilizan nuevos números llamados números negativos. Los números a la derecha de \(O) son números positivos. \def{integer c=-randint(1..\m-1)} \for{i=-\m to 0}{ \def{text a=\i>0? (+\i):(\i)} \def{integer a= \i=0 ? 0} \def{integer s=\i} \def{text dessin=\dessin text blue, \s,-1, medium,\a}}

\draw{600,70} {xrange -\m-0.1,\m+0.1 yrange -3,3.2 hline black,0,0 arrow 2.5,0,\m,0,10,black arrow 0,-1.2,1,-1.2,10,green arrow 1,-1.2,0,-1.2,10,green text green, 0.2,-1.5, medium, unidad parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin text orange, 0,2, medium, O text orange, -0.2,3, medium, origen text black, \c,2, medium, B }
La abscisa de \(B) es \((\c)).
\exercise{lang=es&cmd=new&cnt_date=4&module=H1/algebra/oefrelatif.es &exo=relatrule }{Leer la abscisa de unos puntos}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/add1.hd0000644000175000017500000000020010340336140026501 0ustar georgeskgeorgesk!set titb=Ejemplo !set keyw= !set datm=20030408 !set prev= !set next= !set upbl=addition !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/solution0000644000175000017500000000134010340336140027160 0ustar georgeskgeorgesk\def{text dessin=\dessin text black, -1.350+0.05,2, medium,T text black, -2.650+0.05,2, medium,K text black, -0.030+0.05,2, medium,C text black, -1.250+0.05,2, medium,R text black, -2.100+0.05,2, medium,S text black,-0.35+0.05,2, medium,A arrow -1.350,2,-1.350,0, 5,red arrow -2.600,2, -2.600,0, 5,red arrow -2.100,2, -2.100,0, 5,red arrow -0.030,2, -0.030,0, 5,red arrow -1.250,2, -1.250,0,5,red arrow -2.1,2, -2.1,0,medium,5,red arrow -0.35,2, -0.35,0,5,red }
\draw{600,50} {xrange -\m-0.1,\n+0.5 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin }
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/pointplan0000644000175000017500000000312610340336140027314 0ustar georgeskgeorgesk
  • Referencia del plano: Dos rectas graduadas perpendiculares y del mismo origen \(O), constituyen una referencia del plano.
  • Coordenadas, abscisas, ordenadas: Podemos indicar la posición de un punto del plano con la ayua de dos números llamados coordenadas de dicho punto.
    • El primer número, que sirve de referencia horizontal, se llama abscisa;
    • el segundo número, que sirve de referencia vertical, se llama ordenada.
    Al eje horizontal se le llama eje de abscisas, al eje vertical se le llama eje de ordenadas
\reload{recargar} \def{text a=random(-4,-3,-2,-1,0,1,2)} \def{text b=random(-1,0,1,2)} \def{integer b=\b=\a? \b-1}
\draw{300,300}{xrange -7.2,7.2 yrange -7.2,7.2 parallel -6,-6,6,-6,0,1,20, grey parallel -6,-6,-6,6,1,0,20, grey hline 0,0,black arrow 0,0,1,0,10,black arrow 0,0,0,1,10,black arrow 0,0,6,0,10,black arrow 0,0,0,6,10,black vline 0,0,black disk \a,\b, 7, blue text black, \a,\b-0.5,medium,(\a,\b) text black, \a-2,\b+3,medium, abscisa arrow \a-1,\b+2,\a+0.5,\b-0.5,8, black text black, \a+2,\b+3,medium, ordenada arrow \a+3,\b+2,\a+1.5,\b-0.5,8, black linewidth 3 line \a,\b,0,\b,blue line \a,\b,\a,0,blue text green,-2,7,medium, eje de ordenadas text green,4,0.7,medium, eje de text green,4,-0.5,medium,abscisas }
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/propadd.hd0000644000175000017500000000023710340336140027333 0ustar georgeskgeorgesk!set titb=Propiedades de la suma !set keyw= !set datm=20030426 !set prev=addition !set next=soustraction !set upbl=main !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/chrono0000644000175000017500000000330310340336140026575 0ustar georgeskgeorgeskPara las fechas anteriores a J.C., podemos escribir simplemente "-200" en lugar de "200 antes de Cristo", "-52" en lugar de "52 a.C.". \def{integer m=3} \def{integer n=1} \def{itext a=0} \def{text dessin=} \for{i=-\m to \n}{ \def{integer a=\i*1000} \def{integer s=\i} \def{text dessin=\dessin text black, \s,-1, medium, \a}}
Indicar sobre esta recta graduada el lugar de los siguientes hechos:
  • [T] : Reinado de Tutankamón, hacia -1350;
  • [K] : Construcción de la pirámide de Keops, hacia -2600;
  • [C] : Muerte de Cleopatra, en -30;
  • [R] : Reinado de Ramsés II, hacia -1250;
  • [S] : Inicio del culto a Osiris, hacia -2100;
  • [A] : Alejandro Magno invade Egipto, hacia -350.
\draw{600,50} {xrange -\m-0.1,\n+0.4 yrange -2,2 hline black,0,0 arrow 2.5,0,3,0,10,black parallel -\m,-0.8,-\m,0.4,1/2,0, 40, blue parallel -\m,-0.3,-\m,0.3,1/10,0, 200, blue parallel -\m,-0.8,-\m,0.6,1,0, 40, red \dessin }
\fold{solution}{Solución} \exercise{lang=es&cmd=new&cnt_date=4&module=H1/algebra/chrono.es }{Para practicar}
La fecha -350 es anterior a -200. Por tanto se escribe -350 < -200.
Utilizando la recta graduada, colocar por orden creciente los números siguientes:

-1350  -2600 -30 -1250 -2100 -350 
\fold{}{Solution}{
-2600 -2100 -1350 -1250 -350 -30 
} \exercise{lang=es&cmd=new&cnt_date=4&module=H1/algebra/oefrelatif.es&exo=croissant }{Para practicar}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/propadd0000644000175000017500000000115510340336140026741 0ustar georgeskgeorgesk\reload{recargar}
  • Si se cambia el orden de los términos de una suma, el resultado no cambia (se dice que la suma es conmutativa).

    \fold{comm}

  • Si se agrupan los términos de una suma, el resultado no cambia (se dice que la suma es asociativa).

    \fold{assoc}

\exercise{lang=es&cmd=new&module=H2/algebra/oefcalcul.es&exo=regleadd&qnum=1&qcmlevel=3&scoredelay=} {Ejercicio sobre las reglas}
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/coordplan.hd0000644000175000017500000000024310340336140027660 0ustar georgeskgeorgesk!set titb=Leer las coordenadas de un punto dado !set keyw= !set datm=20030511 !set prev= !set next=placer !set upbl=tocplan !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/chrono.hd0000644000175000017500000000023310340336140027166 0ustar georgeskgeorgesk!set titb=Egiptología y cronología !set keyw= !set datm=20030405 !set prev= !set next=abscisse !set upbl=tocdroite !set dat1=19000101 !set dat2=24000101 wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/add10000644000175000017500000000116410340336140026121 0ustar georgeskgeorgesk\def{integer a=randint(1..9)} \def{integer b=randint(1..9)} \def{integer s=\a+\b}
  • \((+\a)+(+\b)=+\s), los dos términos " +\a " y " +\b " son positivos, el resultado es positivo " +\s ". \(\s) se obtiene efectuando la suma de los números sin el signo \(\s=\a+\b) ;
  • \((-\a)+(-\b)=-\s ), los dos números "  -\a " y " \(-\b ) " son negativos, el resultado es negativo " \( -\s ) ". \( \s) se obtiene efectuando la suma de los números sin el signo \( \s=\a+\b ) ;
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/src/assoc0000644000175000017500000000140410340336140026415 0ustar georgeskgeorgesk\def{integer a=randint(1..5)*random(1,-1)} \def{integer b=randint(1..11)*random(1,-1)} \def{integer c=randint( 3..15)*random(1,-1)} \def{integer d=randint( 3..5)*random(1,-1)} \def{integer ab=\a+\b} \def{integer ac=\a+\c} \def{integer bd=\d+\b} \def{integer abc=\ab+\c} \def{integer s=\abc+\d} \def{text a=\a>0? +\a} \def{text b=\b>0? +\b} \def{text c=\c>0? +\c} \def{text d=\d>0? +\d} \def{text ab=\ab>0? +\ab} \def{text ac=\ac>0? +\ac} \def{text abc=\abc>0? +\abc}
\(\begin{array}{ccl} A &=&(\a)+(\b)+(\c)+(\d) \\ A &=&(\ab)+(\c)+(\d) \\ A &= & (\abc)+(\d) \\ A &=& \s\\ \\ B & = & ((\a)+(\c))+((\b)+(\d)) \\ B & = & (\ac)+(\bd) \\ B & = & \s \end{array})
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/doc/1/tocplan.def0000644000175000017500000000056210340336140026717 0ustar georgeskgeorgesk!set titb=El plano !set keyw= !set datm=20030325 !set prev= !set next= !set upbl=main !set dat1=19000101 !set dat2=24000101 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif !exit :content
  • !read primitives.phtml 1, link, coordplan
  • !read primitives.phtml 2, link, placer
  • !read primitives.phtml 3, link, pointplan
wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/primitives.phtml0000644000175000017500000000006010340336140027124 0ustar georgeskgeorgesk!changeto docu/primitives.phtml $wims_read_parm wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/main.phtml0000644000175000017500000000003210340336140025654 0ustar georgeskgeorgesk!changeto docu/main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/mkindex0000755000175000017500000000046110340336140025255 0ustar georgeskgeorgesk#! /bin/sh cd `dirname $0` thisdir=`pwd` lastdir=$thisdir wims_home=$w_wims_home while [ -z "$wims_home" ] && [ "$lastdir" != "/" ] do wims_home=`cat $lastdir/.wimshome 2>/dev/null` lastdir=`dirname $lastdir` done if [ -z "$wims_home" ]; then exit; fi . $wims_home/public_html/scripts/docu/mkindex wims-modules-es-3.64.orig/modules/H2/algebra/docrelatif.es/INDEX0000644000175000017500000000203710340336140024463 0ustar georgeskgeorgesktitle=Números relativos # Commencez la description par minuscule! description=introducción a los números relativos author=Jean-Baptiste FRONDAS y Bernadette PERRIN-RUIOU address=bpr@math.u-psud.fr copyright=© 2004- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.36 vardef=docu/var.def language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=document # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H1,H2 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=analysis # Anything you like. keywords=nombre, relatif, opération, règle, número, relativo, operación, regla # Software packages required to run the module require=pari # Does the module have scoring system? scoring=no help=popup wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/0000755000175000017500000000000010774712015022672 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/endhook.phtml0000644000175000017500000000010210771701577025370 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/INDEX0000644000175000017500000000103610775371200023462 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Sistemas lineales 2x2 description=colección de ejercicios de sistemas lineales 2x2 elementales. language=es category=exercise, oef domain=algebra, linear algebra level=H1,H2,H3,H4 keywords=linear system, Gauss pivot require= scoring=yes copyright=© 2000- (GNU GPL) 2008 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/var.proc0000644000175000017500000000115110771701577024355 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/def/0000755000175000017500000000000010774712015023430 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/def/resto.def0000644000175000017500000000331510774712015025246 0ustar georgeskgeorgesk!set title=Restaurante !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-5.000000 rightrange=5.000000 author=XIAO Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=7 prevarcnt=6 postvarcnt=0 replycnt=2 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, 8 val6=$[rint($(tmp0))] tmp0=!randint 2, 8 val7=$[rint($(tmp0))] val8=$[rint($val6+$val7)] tmp0=!randint 13, 25 val9=$[rint($(tmp0))] tmp0=!randint $val9*1.2, $val9*1.8 val10=$[rint($(tmp0))] val11=$[rint($val9*$val6+$val10*$val7)] replytype1=default replyname1=Niños replygood1=$val6 replytype2=default replyname2=Adultos replygood2=$val7 question=__EXECUTED_1692754_EXERCISE__ solution=!nosubst Sea x el número de niños, e y el número de adultos. Tenemos el siguiente sistema:

x + y = $val8
$val9 x + $val10 y = $val11

Y la solución de este sistema es x=$val6, y=$val7. !goto stat !exit :question $()$val8 personas van a cenar a un restaurante.

El menu cuesta $val9 euros por niño, y $val10 euros por adulto. El coste total de la cena ha sido $val11 euros.

Entre estas $val8 personas, ¿cuántos niños y cuántos adultos hay? $() !exit :hint $() $() !exit :help $() $() !exit :solution $()Sea x el número de niños, e y el número de adultos. Tenemos el siguiente sistema:

x + y = $val8
$val9 x + $val10 y = $val11

Y la solución de este sistema es x=$val6, y=$val7. $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,10,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/def/rectangle.def0000644000175000017500000000271710774711016026063 0ustar georgeskgeorgesk!set title=Rectángulo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-5.000000 rightrange=5.000000 author=XIAO Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=5 prevarcnt=4 postvarcnt=0 replycnt=2 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 20, 50 val6=$[rint($(tmp0))] tmp0=!randint 20, 50 val7=$[rint($(tmp0))] val8=$[rint($val6+$val7)] val9=$[rint(2*($val8+$val6))] replytype1=default replyname1=Altura replygood1=$val8 replytype2=default replyname2=Anchura replygood2=$val6 question=__EXECUTED_1692754_EXERCISE__ solution=!nosubst Sea x = altura, y = anchura. Entonces tenemos el siguiente sistema:

2x + 2y = $val9
x - y = $val7

Y la solución de este sistema es x=$val8, y=$val6. !goto stat !exit :question $()Tenemos un rectángulo cuyo perímetro es $val9 mm. Sabiendo que la altura mide $val7 mm más que la anchura, encontrar ambas longitudes (en mm). $() !exit :hint $() $() !exit :help $() $() !exit :solution $()Sea x = altura, y = anchura. Entonces tenemos el siguiente sistema:

2x + 2y = $val9
x - y = $val7

Y la solución de este sistema es x=$val8, y=$val6. $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/def/System2x2.def0000644000175000017500000000332510774710005025730 0ustar georgeskgeorgesk!set title=Sistema 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en leftrange=-5.000000 rightrange=5.000000 author=XIAO Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=14 prevarcnt=13 postvarcnt=0 replycnt=2 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 -3, 2 tmp1=!randitem 1,2 val6=$[rint(3*$(tmp0)+$(tmp1))] tmp0=!randint -3, 2 tmp1=!randitem 1,2 val7=$[rint(3*$(tmp0)+$(tmp1))] tmp0=!randint -3, 2 tmp1=!randitem 1,2 val8=$[rint(3*$(tmp0)+$(tmp1))] tmp0=!randitem -3,-2,-1,1,2,3 val9=$[rint(3*$(tmp0))] tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=0 val11=$[rint($val8)] !else val11=$[rint($val9)] !endif !ifval $val10=0 val12=$[rint($val9)] !else val12=$[rint($val8)] !endif tmp0=!randint -5, 5 val13=$[rint($(tmp0))] tmp0=!randint -5, 5 val14=$[rint($(tmp0))] tmp0=!htmlmath $val6*x+$val7*y val15=$(tmp0) tmp0=!htmlmath $val11*x+$val12*y val16=$(tmp0) val17=$[rint($val6*($val13)+($val7)*($val14))] val18=$[rint($val11*($val13)+($val12)*($val14))] replytype1=default replyname1=x replygood1=$val13 replytype2=default replyname2=y replygood2=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Resolver el siguiente sistema de ecuaciones para x e y:

$val15=$val17
$val16=$val18

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,16,17,18 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/def/.htaccess0000644000175000017500000000001610771701577025233 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/images/0000755000175000017500000000000010771701577024147 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/Exindex0000644000175000017500000000024110774712015024216 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of rectangle,resto,System2x2, !set titlelist=!char 1 to -2 of Rectángulo,Restaurante,Sistema 2x2, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/Extitles0000644000175000017500000000007510774712015024420 0ustar georgeskgeorgeskSystem2x2:Sistema 2x2 rectangle:Rectángulo resto:Restaurante wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/main.phtml0000644000175000017500000000003110771701577024666 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/content.html0000644000175000017500000000130510774712015025231 0ustar georgeskgeorgesk


Sistema 2x2

Resolver el siguiente sistema de ecuaciones para x e y:

$val15=$val17
$val16=$val18


Rectángulo

Tenemos un rectángulo cuyo perímetro es $val9 mm. Sabiendo que la altura mide $val7 mm más que la anchura, encontrar ambas longitudes (en mm).

Restaurante

$val8 personas van a cenar a un restaurante.

El menu cuesta $val9 euros por niño, y $val10 euros por adulto. El coste total de la cena ha sido $val11 euros.

Entre estas $val8 personas, ¿cuántos niños y cuántos adultos hay? wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/intro.phtml0000644000175000017500000000042310771701577025102 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene en este momento $exototal ejercicios de sistemas lineales con 2 variables y dos ecuaciones elementales. Estos sistemas siempre tendrán solución entera única. Incluye varios problemas de aplicación. !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/help.phtml0000644000175000017500000000005210771701577024675 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/about.phtml0000644000175000017500000000005310771701577025060 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/src/0000755000175000017500000000000010772654357023475 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/src/resto.oef0000644000175000017500000000152110774712015025307 0ustar georgeskgeorgesk\title{Restaurante} \language{en} \range{-5..5} \author{XIAO Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{x=random(2..8)} \integer{y=random(2..8)} \integer{pers=\x+\y} \integer{child=random(13..25)} \integer{adult=random(\child*1.2..\child*1.8)} \integer{tot=\child*\x+\adult*\y} \statement{\pers personas van a cenar a un restaurante.

El menu cuesta \child euros por niño, y \adult euros por adulto. El coste total de la cena ha sido \tot euros.

Entre estas \pers personas, ¿cuántos niños y cuántos adultos hay? } \answer{Niños}{\x}{type=default} \answer{Adultos}{\y}{type=default} \solution{Sea x el número de niños, e y el número de adultos. Tenemos el siguiente sistema:

x + y = \pers
\child x + \adult y = \tot

Y la solución de este sistema es x=\x, y=\y. } wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/src/rectangle.oef0000644000175000017500000000122210774711016026115 0ustar georgeskgeorgesk\title{Rectángulo} \language{en} \range{-5..5} \author{XIAO Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{y=random(20..50)} \integer{diff=random(20..50)} \integer{x=\y+\diff} \integer{peri=2*(\x+\y)} \statement{Tenemos un rectángulo cuyo perímetro es \peri mm. Sabiendo que la altura mide \diff mm más que la anchura, encontrar ambas longitudes (en mm). } \answer{Altura}{\x}{type=default} \answer{Anchura}{\y}{type=default} \solution{Sea x = altura, y = anchura. Entonces tenemos el siguiente sistema:

2x + 2y = \peri
x - y = \diff

Y la solución de este sistema es x=\x, y=\y. } wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/src/System2x2.oef0000644000175000017500000000144710774710005025777 0ustar georgeskgeorgesk\title{Sistema 2x2} \language{en} \range{-5..5} \author{XIAO Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a1=3*random(-3..2)+random(1,2)} \integer{b1=3*random(-3..2)+random(1,2)} \integer{s=3*random(-3..2)+random(1,2)} \integer{t=3*random(-3,-2,-1,1,2,3)} \integer{v=random(0,1)} \integer{a2=\v=0?\s:\t} \integer{b2=\v=0?\t:\s} \integer{x=random(-5..5)} \integer{y=random(-5..5)} \text{e1=htmlmath(\a1*x+\b1*y)} \text{e2=htmlmath(\a2*x+\b2*y)} \integer{c1=\a1*(\x)+(\b1)*(\y)} \integer{c2=\a2*(\x)+(\b2)*(\y)} \statement{Resolver el siguiente sistema de ecuaciones para x e y:

\e1=\c1
\e2=\c2

} \answer{x}{\x}{type=default} \answer{y}{\y}{type=default} wims-modules-es-3.64.orig/modules/H2/algebra/oef2x2.es/src/.htaccess0000644000175000017500000000001610771701577025264 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/0000755000175000017500000000000010340336113023151 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/intro.phtml0000644000175000017500000000135010340336113025351 0ustar georgeskgeorgesk!header $module_title es un pequeño juego que se juega contra mí (es decir, el servidor), metiendo por turnos bolas en casillas que hay dentro de una barra. La partida termina cuando la barra está llena, y quien pone la última bola ganará o perderá, según las circunstancias.

Para lograr la máxima funcionalidad de este juego es necesario un navegador que reconozca javascript.


!form new Puede definir mi nivel de inteligencia: !set level=30 !set variation=3 !formselect level list 0,15,30,50,70,85,100 prompt 0 (super-torpe),15,30,50,70,85,100 (super-listo) y la variación del número de bolas: !formselect variation from 1 to 6 !tail wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/var.init0000644000175000017500000000122110340336113024622 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. # contenu du fichier: initialisation du probleme. !bound level between integer 0,100 default 30 !bound variation between integer 1,6 default 3 last=!randitem user,server tmin =!item $variation of 1,1,1,2,2,3 step1=!item $variation of 1,1,2,1,2,3 step2=!item $variation of 1,3,4,4,5,6 min=!randint 1,$tmin step=!randint $min+$step1,$min+$step2 t=$[min(45,22+2*($step+$min))] total=!randint 8+2*($step+$min),$t filled=0 flist= slist= this=0 !if $last=user object=$total !else object=$[$total-1] !endif status=waiting wims_module_log=$cmd: $total steps, $min-$step. IQ=$level wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/gif/0000755000175000017500000000000010771677546023750 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/gif/red.gif0000644000175000017500000000010210340336113025150 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§í©žDr‚jñ»z÷Æ|aGa‹¹ i;wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/gif/white.gif0000644000175000017500000000006410340336113025525 0ustar georgeskgeorgeskGIF89a €ÿÿÿ!ù,  „©Ëí£œ´Ò;wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/gif/green.gif0000644000175000017500000000010210340336113025476 0ustar georgeskgeorgeskGIF89a €ÿÿÿÀ!ù, „§í©žDr‚jñ»z÷Æ|aGa‹¹ i;wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/var.proc0000644000175000017500000000327510340336113024635 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. colorU=red colorS=green colorE=white slen=!itemcnt $slist !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting mystep=!trim $mystep !if $mystep=redo and $this<$slen !advance this ss=!item $this of $slist filled=$ss !exit !endif !if $mystep=back and $this>0 this=$[$this-1] !if $this=0 filled=0 !else ss=!item $this of $slist filled=$ss !endif !exit !endif !if $mystep=restart and $this>0 this=0 filled=0 !exit !endif !if $mystep=$empty error=empty_data !exit !endif mystep=$[rint($mystep)] !if NaN isin $mystep or $mystep<$min or $mystep>$step error=bad_step !exit !endif flist=!char 1 to $filled of $flist add=!char 1 to $mystep of UUUUUUUUUUUUUUUUUUUUU flist=$flist$add filled=$[$filled+min($mystep,$total-$filled)] !if $filled=$total # User termine filled=$total status=user !else # A moi de jouer! rest=$[$object%($step+1)] r=$[$filled%($step+1)] !ifval $r=$rest or $filled<(100-$level)*$total/100 # Un pas stupide. s=!randint $min,$step !else # Je suis parti pour gagner. s=$[max($min,($rest-$r+$step+1)%($step+1))] !endif add=!char 1 to $s of SSSSSSSSSSSSSSSSSSSSSS flist=$flist$add serverput=$[min($s,$total-$filled)] filled=$[$filled+$serverput] !if $filled>=$total # Serveur termine status=server !endif !endif slist=!item 1 to $this of $slist slist=!append item $filled to $slist !advance this !if $status!=waiting !if $status=$last status=win !else status=lose !endif wims_module_log=$status !endif !endif wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/answer.phtml0000644000175000017500000000021410340336113025513 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. !if $status=win ¡Sí, has ganado! Felicidades. !endif !if $status=lose Gano yo, lo siento. !endif wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/about.phtml0000644000175000017500000000001710340336113025327 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/present.phtml0000644000175000017500000000142010340336113025674 0ustar georgeskgeorgesk!! Ce fichier présente la question à résoudre. !set last_user=ganador !set last_server=perdedor Reglas del juego. Tenemos una barra que contiene $total casillas. Tú y yo meteremos por turnos bolas en estas casillas. Cada uno puede poner entre $min y $step bolas en cada turno. Quien meta la última bola será el $(last_$last).

!for i=1 to $total !if $i>$filled !set gif=white !else !set t=!char $i of $flist !set gif=$(color$t) !endif !next i !for i=1 to $total !if $i=1 or $[$i%5]=0 !else !endif !next i
$i

wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/main.phtml0000644000175000017500000000146710340336113025153 0ustar georgeskgeorgesk!header !!Presentación del ejercicio !read present.phtml


!if $status=waiting !if $error!=$empty !read msg.phtml

!endif !read form.phtml

!href cmd=renew&worksheet=$worksheet&$module_init_parm Reiniciar la partida . !href cmd=help Pista . !else !if $error!=$empty !read msg.phtml

!endif !read answer.phtml

!href cmd=renew&worksheet=$worksheet&$module_init_parm Nueva partida . !if $worksheet=$empty !href module=$module Cambiar la configuración del juego . !endif !endif :end !tail !set mystep= wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/var.def0000644000175000017500000000124110340336113024417 0ustar georgeskgeorgesk#This is the variable definition file of the exercice module `test'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim status deny total deny step deny filled deny flist deny slist deny this deny object deny min deny level init last init variation init mystep reply wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/form.phtml0000644000175000017500000000143410340336113025164 0ustar georgeskgeorgesk!! On pose les questions dans ce fichier. D'habitude, c'est par !! des forms. Voici un exemple de conception de la forme de réponse. !form reply !if $filled=0 Te toca empezar la partida.
¿Cuántas bolas pones? !else !if $mystep notwordof redo back restart Añado $serverput bolas por mi parte. !endif Se han llenado $filled casillas (turno $this).
¿Cuántas bolas añades ahora? !endif !for i=$min to $step  $i  !next i

!if $this>0 Puedes !href cmd=reply&mystep=back deshacer tu último paso , o !href cmd=reply&mystep=restart volver al principio . !endif !if $this<$slen !href cmd=reply&mystep=redo Recuperar el último paso . !endif wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/INDEX0000644000175000017500000000165110340336113023746 0ustar georgeskgeorgesktitle=El juego de la barra # Commencez la description par minuscule! description=sencillo juego por turnos que se juega contra el servidor. author=XIAO Gang address=xiao@unice.fr copyright=© 1999 (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.01 # minimal version of wims server under which the module may run wims_version=1.35 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=recreation # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=E4,E5,E6,H1,H2,H3,H4,H5,H6,U1,U2 # e.g. algebra, analysis, geometry, etc. domain=algebra, arithmetic # Anything you like. keywords=arithmetic, congruence, rest, aritmética, congruencia # Software packages required to run the module require= # Does the module have scoring system? scoring=no wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/msg.phtml0000644000175000017500000000046110340336113025006 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. !! bad_step !set error_head=Error. !if empty_data=$error Si no pones nada, yo tampoco. !exit !endif !if bad_step=$error $error_head Has hecho una jugada ilegal. No vale. !exit !endif wims-modules-es-3.64.orig/modules/H2/algebra/bargame.es/help.phtml0000644000175000017500000000154410340336113025153 0ustar georgeskgeorgesk !read present.phtml


!set base=$[$step+$min] Es fácil ser infalible (o casi) en este juego.

!if $last=user Si quieres estar seguro de poner la última bola, debes dejarme exactamente $base casillas vacías en el penúltimo turno, es decir, una barra con $[$total-$base] bolas.

Igualmente, para el turno previo, debes dejarme una barra con $[$total-$base]-$base=$[$total-2*$base] bolas, y así sucesivamente. !else Ganas si en el último turno me dejas una única casilla vacía. Para lograrlo, en el turno precedente debes dejarme exactamente $[$base+1] casillas vacías, es decir, una barra con $[$total-$base-1] bolas.

Igualmente, para el turno previo, debes dejarme una barra con $[$total-$base-1]-$base=$[$total-2*$base-1] bolas, y así sucesivamente. !endif

¡Buena suerte!

!href cmd=resume Volver al juego .

wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/0000755000175000017500000000000010340567623024120 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/def/0000755000175000017500000000000010340567623024656 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/def/.htaccess0000644000175000017500000000001610340567623026451 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/def/pourcentage.def0000644000175000017500000000245710340567623027662 0ustar georgeskgeorgesk!set title=Porcentaje !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 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 10, 90 val6=$[rint($(tmp0))] tmp0=!randint 1, 5 val7=$(tmp0) tmp0=!item $val7 of una longitud, un volumen,una altura,una masa,un precio val8=$(tmp0) tmp0=!item $val7 of l,v,h,m,p val9=$(tmp0) tmp0=!randitem 1,-1 val10=$(tmp0) val11=aumenta,disminuye !ifval $val10=1 tmp0=!item 1 of $val11 val12= $(tmp0) !else tmp1=!item 2 of $val11 val12=$(tmp1) !endif val13=$[(100+($val10)*$val6)/100] replytype1=numeric replyname1=Debemos multiplicar \($val9) por replygood1=$[$val13] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Se $val12 $val8 !insmath $val9 $() de $val6 %. ¿Por cuánto debemos multiplicar !insmath $val9 $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,9,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/def/pourcentage2.def0000644000175000017500000000327410340567623027742 0ustar georgeskgeorgesk!set title=Porcentaje II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r varcnt=10 prevarcnt=9 postvarcnt=0 replycnt=2 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 10, 90 val6=$[rint($(tmp0))] tmp0=!randint 1, 5 val7=$(tmp0) tmp0=!item $val7 of una longitud, un volumen,una altura,una masa,un precio val8=$(tmp0) tmp0=!item $val7 of l,v,h,m,p val9=$(tmp0) tmp0=!randitem 1,-1 val10=$(tmp0) !ifval $val10=1 val11= 1 !else val11=2 !endif val12=aumento, disminución !ifval $val10=1 tmp0=!item 1 of $val12 val13= $(tmp0) !else tmp1=!item 2 of $val12 val13=$(tmp1) !endif val14=$[(100+($val10)*$val6)/100] oefsteps=reply1 reply2 nextstep=!nosubst reply1 reply2 !readproc oef/steps.proc replytype1=radio replyname1=Es una replygood1=$val11;$val12 replytype2=numeric replytype2=case replyname2=Porcentaje en % replygood2=$val6 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Cambiamos $val8 en !if una iswordof $val8 $()la !else $() el !endif $() multiplicando por $val14.

!if $m_step<=1 $()¿Es una !read oef/embed.phtml reply 1,1 $() o una !read oef/embed.phtml reply 1,2 $()? !endif $()

!if $m_step=2 $()Expresar este $val13 en porcentaje. !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,13,14 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/intro.phtml0000644000175000017500000000021010340567623026312 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene por el momento $exototal ejercicios sobre los porcentajes. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/Exindex0000644000175000017500000000022610340567623025447 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of pourcentage,pourcentage2, !set titlelist=!char 1 to -2 of Porcentaje,Porcentaje II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/Extitles0000644000175000017500000000006210340567623025642 0ustar georgeskgeorgeskpourcentage:Porcentaje pourcentage2:Porcentaje II wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/var.proc0000644000175000017500000000002710340567623025574 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/0000755000175000017500000000000010340567623025063 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/var.proc0000644000175000017500000000002710340567623026537 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/answer.phtml0000644000175000017500000000003310340567623027424 0ustar georgeskgeorgesk!changeto oef/answer.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/intromenu.phtml0000644000175000017500000000003610340567623030150 0ustar georgeskgeorgesk!changeto oef/intromenu.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/var.prep0000644000175000017500000000002710340567623026542 0ustar georgeskgeorgesk!changeto oef/var.prep wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/about.phtml0000644000175000017500000000003210340567623027236 0ustar georgeskgeorgesk!changeto oef/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/present.phtml0000644000175000017500000000003410340567623027606 0ustar georgeskgeorgesk!changeto oef/present.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/noreply.phtml0000644000175000017500000000003410340567623027616 0ustar georgeskgeorgesk!changeto oef/noreply.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/Main.phtml0000644000175000017500000000003110340567623027007 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/print.phtml0000644000175000017500000000003210340567623027260 0ustar georgeskgeorgesk!changeto oef/print.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/var.def0000644000175000017500000000231310340567623026332 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/form.phtml0000644000175000017500000000003110340567623027066 0ustar georgeskgeorgesk!changeto oef/form.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/mkindex0000744000175000017500000000003010340567623026437 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/names0000644000175000017500000000002410340567623026105 0ustar georgeskgeorgesk!changeto oef/names wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/atext.dic0000644000175000017500000000004510340567623026670 0ustar georgeskgeorgeska: an: for: of: s: that: the: this: wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/msg.phtml0000644000175000017500000000003010340567623026710 0ustar georgeskgeorgesk!changeto oef/msg.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/exo.init0000644000175000017500000000002710340567623026542 0ustar georgeskgeorgesk!changeto oef/exo.init wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/help.phtml0000644000175000017500000000003110340567623027053 0ustar georgeskgeorgesk!changeto oef/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/proc/hint.phtml0000644000175000017500000000003110340567623027065 0ustar georgeskgeorgesk!changeto oef/hint.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/about.phtml0000644000175000017500000000003210340567623026273 0ustar georgeskgeorgesk!changeto oef/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/main.phtml0000644000175000017500000000003110340567623026104 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/var.def0000644000175000017500000000231310340567623025367 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/mkindex0000744000175000017500000000003010340567623025474 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/INDEX0000644000175000017500000000174110340567623024715 0ustar georgeskgeorgesktitle=OEF porcentaje # Commencez la description par minuscule! description=colección de ejercicios sobre los porcentajes author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr copyright=© 2002- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.24 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H2 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=pourcentage, proportion, porcentaje, proporción # Software packages required to run the module require= # Does the module have scoring system? scoring=yes help=popup wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/src/0000755000175000017500000000000010771677515024721 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/src/Makefile0000644000175000017500000000003010340567623026340 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/src/pourcentage2.oef0000644000175000017500000000145410340567623030004 0ustar georgeskgeorgesk\title{Porcentaje II} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{n=randint(10..90)} \text{u=randint(1..5)} \text{longueur=item(\u,una longitud, un volumen,una altura,una masa,un precio)} \text{l=item(\u,l,v,h,m,p)} \text{choix=random(1,-1)} \text{rep0=\choix=1 ? 1:2} \text{augmen=aumento, disminución} \text{augmente=\choix=1 ? item(1,\augmen):item(2,\augmen)} \real{rep=(100+(\choix)*\n)/100} \steps{reply1 reply2} \statement{Cambiamos \longueur multiplicando por \rep.

\if{\step<=1}{¿Es un \embed{reply 1,1} o una \embed{reply 1,2}?}

\if{\step=2}{Expresar este/esta \augmente en porcentaje. } } \answer{Es un/una}{\rep0;\augmen}{type=radio} \answer{Porcentaje en %}{\n}{type=numeric} {type=case} wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/src/.htaccess0000644000175000017500000000001610340567623026502 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/src/pourcentage.oef0000644000175000017500000000115510340567623027720 0ustar georgeskgeorgesk\title{Porcentaje} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{n=randint(10..90)} \text{u=randint(1..5)} \text{longueur=item(\u,una longitud, un volumen,una altura,una masa,un precio)} \text{l=item(\u,l,v,h,m,p)} \text{choix=random(1,-1)} \text{augdim=aumenta,disminuye} \text{augmente=\choix=1 ? item(1,\augdim):item(2,\augdim)} \real{rep=(100+(\choix)*\n)/100} \statement{Se \augmente \longueur \(\l) de \n %. ¿Por cuánto debemos multiplicar \(\l)? } \answer{Debemos multiplicar \(\l) por }{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/endhook.phtml0000644000175000017500000000010210340567623026606 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H2/algebra/oefpourcent.es/help.phtml0000644000175000017500000000003110340567623026110 0ustar georgeskgeorgesk!changeto oef/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/0000755000175000017500000000000010340570400023046 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/0000755000175000017500000000000010771677527023636 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/2term0.def0000644000175000017500000001737310340570400025410 0ustar georgeskgeorgesk!set title=2 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(1)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/5term3.def0000644000175000017500000001740410340570400025411 0ustar georgeskgeorgesk!set title=5 términos 3 pares !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(10)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/8term0.def0000644000175000017500000001737410340570400025417 0ustar georgeskgeorgesk!set title=8 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(14)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/4term2.def0000644000175000017500000001740310340570400025406 0ustar georgeskgeorgesk!set title=4 términos 2 pares !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(6)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/3term0.def0000644000175000017500000001737310340570400025411 0ustar georgeskgeorgesk!set title=3 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(2)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/7term0.def0000644000175000017500000001737410340570400025416 0ustar georgeskgeorgesk!set title=7 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(13)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/5term1.def0000644000175000017500000001740110340570400025404 0ustar georgeskgeorgesk!set title=5 términos 1 par !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(8)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/4term1.def0000644000175000017500000001740110340570400025403 0ustar georgeskgeorgesk!set title=4 términos 1 par !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/6term0.def0000644000175000017500000001737410340570400025415 0ustar georgeskgeorgesk!set title=6 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(11)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/4term0.def0000644000175000017500000001737310340570400025412 0ustar georgeskgeorgesk!set title=4 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(4)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/5term2.def0000644000175000017500000001740310340570400025407 0ustar georgeskgeorgesk!set title=5 términos 2 pares !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(9)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/5term0.def0000644000175000017500000001737310340570400025413 0ustar georgeskgeorgesk!set title=5 términos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(7)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/3term1.def0000644000175000017500000001741210340570400025404 0ustar georgeskgeorgesk!set title=3 términos con paréntesis !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/def/6term1.def0000644000175000017500000001740210340570400025406 0ustar georgeskgeorgesk!set title=6 términos 1 par !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=111 prevarcnt=95 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=1 feedbackcnt=2 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(12)] tmp=!nonempty items $val4 tmp0=!randitem $tmp val7=$(tmp0) tmp0=!word 1 of $val7 val8=$(tmp0) tmp0=!word 2 of $val7 val9=$(tmp0) !ifval $val8 issametext val8=50 !endif !ifval $val9 issametext val9=0 !endif tmp0=!record $val6 of src/styles tmp1=!line 2 to -1 of $(tmp0) val10=$(tmp1) tmp=!nonempty items $val10 tmp0=!randitem $tmp tmp1=!nospace $(tmp0) val11=$(tmp1) tmp0=!text select @ in $val11 val12=$(tmp0) tmp0=!charcnt $val12 val13=$[rint($(tmp0))] tmp0=!shuffle $val13 tmp1=!item 1 to $val8 of $(tmp0) val14=$(tmp1) tmp0=!shuffle $val13-1 tmp1=!item 1 to $val9 of $(tmp0) val15=$(tmp1) val16=$[rint($val5)] tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val17=$(tmp0) tmp0=!randitem 2,3,5 val18=sqrt($(tmp0)) tmp0=!record $val2 of src/data val19=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) val22=$(val21[1]) val23=$(val21[2]) val24=$(val21[3]) !ifval $val23 = val23= 60 !endif !ifval $val24= val24= 35 !endif !ifval $val8=0 val25=30 30 !else val25=$val23 $val24 !endif tmp=!translate internal $ $ to ; in $val19 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val19=$(tmp1) tmp0=!itemcnt $val19 val26=$[rint($(tmp0))] !if $val26<=3 val27=$(val19[1]) val28=$(val19[2]) val29=$(val19[3]) val30=computed !if $val29<0 tmp0=!values $val29*x,-($val29)*x for x=$val27 to $val28 val31=$(tmp0) !else tmp0=!values $val29*x for x=$val27 to $val28 val31=$(tmp0) !endif tmp0=!shuffle $val31 tmp1=!shuffle $val31 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !else val30=listed tmp0=!shuffle $val19 tmp1=!shuffle $val19 tmp2=!item 1 to $val13+$val16 of $(tmp0),$(tmp1) val32=$(tmp2) !endif tmp0=!mathsubst f=$(val17[1]) in $val32 val32=$(tmp0) tmp0=!mathsubst g=$(val17[2]) in $val32 val32=$(tmp0) tmp0=!mathsubst rt=$val18 in $val32 val32=$(tmp0) val33= !for val34 in $val32 val35=$val34 !if / isin $val34 tmp0=!replace internal / by /( in $val34) val35=$(tmp0) !endif !if + isin $val34 or - isin $val34 val35=($val34) !endif tmp0=!append item $val35 to $val33 val33=$(tmp0) !next val32=$val33 val36= tmp0=!makelist \(x) for x in $val32 val37=$(tmp0) tmp0=!item $val3 of (-,+),(-,*,+),(-,*,/,+) tmp1=!declosing $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val39=$(tmp0) tmp0=!replace internal / by ÷ in $val39 val39=$(tmp0) tmp0=!replace internal - by − in $val39 val39=$(tmp0) tmp0=!makelist $val38 for i=1 to 10 val38=$(tmp0) tmp0=!item 1 to max($val3+1,$val13) of $val38 tmp1=!shuffle $(tmp0) val38=$(tmp1) tmp0=!replace internal * by × in $val38 val40=$(tmp0) tmp0=!replace internal / by ÷ in $val40 val40=$(tmp0) tmp0=!replace internal - by − in $val40 val40=$(tmp0) tmp0=!charcnt $val11 val41=$[rint($(tmp0))] val42= val43= val44= val45=$[rint(1)] val26=$[rint(1)] val46= !for val47 =1 to $val41 tmp0=!char $val47 of $val11 val29=$(tmp0) !if $val29 issametext @ val42=$val42 ($(val32[$val45])) !if $val45 isitemof $val14 val43=$val43, val44=$val44, tmp0=!append item $(val37[$val45]) to $val46 val46=$(tmp0) !else val43=$val43 $(val37[$val45]) val44=$val44 $(val32[$val45]) !endif val45=$[rint($val45+1)] !else !if $val29 issametext # val42=$val42 $(val38[$val26]) !if $val26 isitemof $val15 val43=$val43, val44=$val44, tmp0=!append item $(val40[$val26]) to $val46 val46=$(tmp0) !else val43=$val43 $(val40[$val26]) val44=$val44 $(val38[$val26]) !endif val26=$[rint($val26+1)] !else val42=$val42$val29 val43=$val43$val29 val44=$val44$val29 !endif !endif !next tmp0=!replace internal < by ( in $val43 val43=$(tmp0) tmp0=!replace internal > by ) in $val43 val43=$(tmp0) !ifval $val8>0 and $val16>0 val46=$val46,$(val37[$val13+1..$val13+$val16]) !endif !if $val9>0 tmp0=!itemcnt $val46 val48=$[rint($(tmp0))] !for val49 in $val39 !ifval $val49 notin $val46 val46=$val46,$val49 !endif !next tmp0=!itemcnt $val46 val50=$[rint($(tmp0))] !ifval $val50=$val48 tmp=!nonempty items $val39 tmp0=!randitem $tmp val46=$val46,$(tmp0) !endif !endif tmp0=!itemcnt $val43 val51=$[rint($(tmp0)-1)] tmp0=!translate internal <> to () in $val42 val42=$(tmp0) tmp=!translate ";': to $ $ in $val42 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val52=$(tmp0) !if / isin $val52 tmp0=!replace internal / by /( in $val52) val52=$(tmp0) !endif tmp0=!item 1 to $val51 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val53=$(tmp0) oefsteps=$val53 nextstep=!nosubst $val53 !readproc oef/steps.proc replytype1=dragfill replyname1=t1 replygood1=?analyze 54;$val46 replytype2=dragfill replyname2=t2 replygood2=?analyze 55 replytype3=dragfill replyname3=t3 replygood3=?analyze 56 replytype4=dragfill replyname4=t4 replygood4=?analyze 57 replytype5=dragfill replyname5=t5 replygood5=?analyze 58 replytype6=dragfill replyname6=t6 replygood6=?analyze 59 replytype7=dragfill replyname7=t7 replygood7=?analyze 60 replytype8=dragfill replyname8=t8 replygood8=?analyze 61 replytype9=dragfill replyname9=t9 replygood9=?analyze 62 replytype10=dragfill replyname10=t10 replygood10=?analyze 63 replytype11=dragfill replyname11=t11 replygood11=?analyze 64 replytype12=dragfill replyname12=t12 replygood12=?analyze 65 replytype13=dragfill replyname13=t13 replygood13=?analyze 66 replytype14=dragfill replyname14=t14 replygood14=?analyze 67 replytype15=dragfill replyname15=t15 replygood15=?analyze 68 replytype16=dragfill replyname16=t16 replygood16=?analyze 69 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene la siguiente ecuación para convertirla en una igualdad.

!for m_t=1 to $val51 $() $(val43[$m_t]) !read oef/embed.phtml r\t,$val25 1 $() !next $() $(val43[$val51+1]) = !insmath $val52 $()

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val70=$val54,$val55,$val56,$val57,$val58,$val59,$val60,$val61,$val62,$val63,$val64,$val65,$val66,$val67,$val68,$val69 tmp0=!replace internal \ by in $val70 val71=$(tmp0) tmp0=!replace internal − by - in $val71 val71=$(tmp0) tmp0=!replace internal × by * in $val71 val71=$(tmp0) tmp0=!replace internal ÷ by / in $val71 val71=$(tmp0) val72= val73= !for val47 =1 to $val51 val72=$val72 $(val44[$val47]) $(val71[$val47]) val73=$val73 $(val43[$val47]) $(val70[$val47]) !next val72=$val72 $(val44[$val51+1]) val73=$val73 $(val43[$val51+1]) tmp0=!translate internal <> to () in $val72 val72=$(tmp0) tmp=!translate ";': to $ $ in $val72 - ($val52) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val74=$(tmp0) tmp=!translate ";': to $ $ in $val72 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val75=$(tmp0) !exit :feedback !ifval $val74 issametext $val36

Respuesta incorrecta: $val73 no tiene sentido. $() !endif !ifval $val74 notsametext $val36 and $val74 notsametext 0

Cálculo incorrecto: $val73 = !insmath $val75 $() en lugar de !insmath $val52 $(). $() !endif !exit :test !ifval $val74 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=Se verifica la ecuación !exit :stat vsavelist=25,36,43,44,47,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/intro.phtml0000644000175000017500000000074610340570400025256 0ustar georgeskgeorgesk!header !read Exindex Esta es una herramienta de práctica esencial sobre las operaciones aritméticas. Le pone a rellenar una ecuación algebraica, en la que faltan o bien términos o bien operadores, hasta lograr una ecuación correcta.

Y con diferentes configuraciones los ejercicios pueden ser adecuados para alumnos desde educación primaria (números positivos o relativos, decimales) hasta el nivel pre- o universitario (raíces, números complejos). !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/var.init0000644000175000017500000000024710340570377024543 0ustar georgeskgeorgesk n=!recordcnt src/data !bound confparm1 between integer 1 and $n default 1 !bound confparm2 within 1,2,3 default 2 !bound confparm4 between integer 0 and 5 default 1 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/Exindex0000644000175000017500000000063110340570400024375 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of 2term0,3term0,3term1,4term0,4term1,4term2,5term0,5term1,5term2,5term3,6term0,6term1,7term0,8term0, !set titlelist=!char 1 to -2 of 2 términos,3 términos,3 términos con paréntesis,4 términos,4 términos 1 par,4 términos 2 pares,5 términos,5 términos 1 par,5 términos 2 pares,5 términos 3 pares,6 términos,6 términos 1 par,7 términos,8 términos, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/Extitles0000644000175000017500000000046510340570400024577 0ustar georgeskgeorgesk2term0:2 términos 3term0:3 términos 3term1:3 términos con paréntesis 4term0:4 términos 4term1:4 términos 1 par 4term2:4 términos 2 pares 5term0:5 términos 5term1:5 términos 1 par 5term2:5 términos 2 pares 5term3:5 términos 3 pares 6term0:6 términos 6term1:6 términos 1 par 7term0:7 términos 8term0:8 términos wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/var.proc0000644000175000017500000000026710340570400024530 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 class_importation=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/about.phtml0000644000175000017500000000005310340570400025224 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/main.phtml0000644000175000017500000000003110340570377025047 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/introhook.phtml0000644000175000017500000000172410340570400026134 0ustar georgeskgeorgesk!set n=!recordcnt src/data !reset objlist !for i=1 to $n !set l=!record $i of src/data !set l=!line 1 of $l !set objlist=!append item $l to $objlist !next i Objetos que rellenar: !set wims_formselect_switch=multiple size=5 !set confparm3=50 0 !formselect confparm3 list 1 0,2 0,3 0,\ 50 0,0 1,0 2,\ 0 50,1 1,2 1,\ 2 2,50 50\ prompt \ 1 término, 2 términos, 3 términos,\ todos los términos, 1 operador, 2 operadores,\ todos los operadores, 1 término + 1 operador, 2 términos + 1 operador,\ 2 términos + 2 operadores, todo !reset wims_formselect_switch Tipo de términos: !set confparm1=1 !formselect confparm1 from 1 to $n prompt $objlist Tipo de operaciones: !set confparm2=2 !formselect confparm2 from 1 to 3 prompt \ + y -, + - ×, + - × ÷ Número de términos extra: !set confparm4=1 !formselect confparm4 from 0 to 5 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/INDEX0000644000175000017500000000146210340570400023643 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Ecuación parcial description=rellene una ecuación para hacerla correcta, ejercicios de estilo arrastrar-y-dejar caer. language=es category=exercise, recreation, oef domain=algebra,number level=E3,E4,E5,E6,H1,H2,H3,H4,H5,H6 keywords=number, addition, multiplication, subtraction, division, equation, relative number, decimal, fraction, complex number, root,número,adición,multiplicación,sustracción,división,ecuación,número relativo,fracción,número complejo,raíz require=maxima scoring=yes copyright=© 2003- (GNU GPL) 2004 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.41c vardef=oef/var.def translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/0000755000175000017500000000000010771677501023657 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/6term1.oef0000644000175000017500000001256110340570400025453 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{6 términos 1 par} \integer{style=12} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/8term0.oef0000644000175000017500000001255610340570400025460 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{8 términos} \integer{style=14} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/4term2.oef0000644000175000017500000001256210340570377025470 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{4 términos 2 pares} \integer{style=6} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/6term0.oef0000644000175000017500000001255310340570377025470 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{6 términos} \integer{style=11} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/Makefile0000644000175000017500000000003010340570377025303 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/5term0.oef0000644000175000017500000001255210340570400025451 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{5 términos} \integer{style=7} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/7term0.oef0000644000175000017500000001256210340570377025471 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{7 términos} \integer{style=13} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/3term1.oef0000644000175000017500000001257110340570377025466 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{3 términos con paréntesis} \integer{style=3} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/5term1.oef0000644000175000017500000001256010340570377025466 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{5 términos 1 par} \integer{style=8} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/data0000644000175000017500000000424410340570377024512 0ustar georgeskgeorgesk:Números naturales (pequeños) numbers,40 1,9,1 :Números naturales (medianos) numbers,40 1,20,1 :Números naturales (grandes) numbers 15,100,1 :Números relativos (pequeños) numbers 1,2,3,4,5,-1,-2,-3,-4,-5,1,2,3,4,5,-1,-2,-3,-4,-5,1,2,3,4,5,-1,-2,-3,-4,-5 :Números relativos (medianos) numbers 1,10,-1 :Números relativos (grandes) numbers 1,100,-1 :Decimales positivos I numbers,60 3,99,0.1 :Decimales positivos II numbers,70 10,500,0.01 :Decimales relativos I numbers,60 3,99,-0.1 :Decimales relativos II numbers,70 10,400,-0.01 :Fracciones positivas (pequeñas) fractions,40,60 1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3 :Fracciones positivas (medianas) fractions,40,60 1/2,3/2,5/2,7/2, 1/3,2/3,4/3,5/3,7/3,8/3, 1/4,3/4,5/4,7/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5, 1/6,5/6,7/6, 1/8,3/8,5/8,7/8 :Fracciones relativas fractions,60,60 1/2,3/2,5/2,1/3,2/3,4/3,5/3,1/4,3/4,5/4,1/5,2/5,3/5,4/5,-1/2,-3/2,-5/2,-1/3,-2/3,-4/3,-5/3,-1/4,-3/4,-5/4,-1/5,-2/5,-3/5,-4/5 :Expresiones 1 variable grado 1 expressions,60,38 f+1,f+2,2*f+1,2*f+2,f-1,f-2,2*f-1,2*f-2,1-f,2-f,1-2*f,2-2*f,-f-1,-f-2,-2*f-1,-2*f-2,f,-f,2*f,-2*f,1,2,-1,-2 :Expresiones 1 variable grado 2 expressions, 110, 38 1,f,f+1, f^2,f^2+1,f^2+f,f^2+f+1, -1,-f,f-1,1-f, -f^2,f^2-1,1-f^2,f^2-f,f-f^2, f^2+f-1,f^2-f+1,f^2-f-1, -f^2+f+1,-f^2+f-1,-f^2-f+1,-f^2-f-1 :Expresiones 2 variables no-homogéneas expressions,90,38 f,g,-f,-g,1,-1,f+g,f-g,g-f,-f-g,f+1,f-1,1-f,-f-1,g+1,g-1,1-g,-g-1 :Expresiones 2 variables homogéneas expressions,90,38 f,g,2*f,2*g,-f,-g,-2*f,-2*g, f+g,f-g,g-f,-f-g, f+2*g,f-2*g,g-2*f,-f-2*g, 2*f+g,2*f-g,2*g-f,-2*f-g, 2*f+2*g,2*f-2*g,2*g-2*f,-2*f-2*g :Raíces cuadradas I numbers,110,38 rt+1,rt-1,1-rt,-rt-1,rt,-rt,1,-1,rt+1,rt-1,1-rt,-rt-1,rt,-rt,1,-1,rt+1,rt-1,1-rt,-rt-1,rt,-rt,1,-1 :Raíces cuadradas II numbers,110,38 rt+1,rt+2,2*rt+1,2*rt+2,rt-1,rt-2,2*rt-1,2*rt-2,1-rt,2-rt,1-2*rt,2-2*rt,-rt-1,-rt-2,-2*rt-1,-2*rt-2,rt,-rt,2*rt,-2*rt,1,2,-1,-2 :Números complejos I numbers,90 i+1,i-1,1-i,-i-1,i,-i,1,-1,i-1,1-i,-i-1,i,-i,1,-1,i-1,1-i,-i-1,i,-i,1,-1 :Números complejos II numbers,90 i+1,i+2,2*i+1,2*i+2,i-1,i-2,2*i-1,2*i-2,1-i,2-i,1-2*i,2-2*i,-i-1,-i-2,-2*i-1,-2*i-2,i,-i,2*i,-2*i,1,2,-1,-2 wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/5term2.oef0000644000175000017500000001256210340570377025471 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{5 términos 2 pares} \integer{style=9} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/3term0.oef0000644000175000017500000001255710340570377025471 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{3 términos} \integer{style=2} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/4term1.oef0000644000175000017500000001256010340570377025465 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{4 términos 1 par} \integer{style=5} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/4term0.oef0000644000175000017500000001255210340570377025465 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{4 términos} \integer{style=4} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/styles0000644000175000017500000000236310340570377025124 0ustar georgeskgeorgesk: 2 terms @#@ : 3 terms 0 pair @#@#@ : 3 terms 1 pair <@#@>#@,@#<@#@> : 4 terms 0 pair @#@#@#@ : 4 terms 1 pair <@#@>#@#@,@#<@#@>#@,@#@#<@#@>,<@#@#@>#@,@#<@#@#@> : 4 terms 2 pair <@#@>#<@#@>,<<@#@>#@>#@,@#<<@#@>#@>,<@#<@#@>>#@,@#<@#<@#@>> : 5 terms 0 pair @#@#@#@#@ : 5 terms 1 pair <@#@>#@#@#@,@#<@#@>#@#@,@#@#<@#@>#@,@#@#@#<@#@>, <@#@#@>#@#@,@#<@#@#@>#@,@#@#<@#@#@>, <@#@#@#@>#@,@#<@#@#@#@> : 5 terms 2 pair <@#@>#<@#@>#@,<@#@>#@#<@#@>,@#<@#@>#<@#@>, <@#@>@<@#@#@>,<@#@#@>#<@#@>, <<@#@>#@>#@#@,@#<<@#@>#@>#@,@#@#<<@#@>#@>, <@#<@#@>>#@#@,@#<@#<@#@>>#@,@#@#<@#<@#@>>, <<@#@>#@#@>#@,@#<<@#@>#@#@>, <@#<@#@>#@>#@,@#<@#<@#@>#@>, <@#@#<@#@>>#@,@#<@#@#<@#@>>, <<@#@#@>#@>#@,@#<<@#@#@>#@>, <@#<@#@#@>>#@,@#<@#<@#@#@>> : 5 terms 3 pair <@#@>#<<@#@>#@>,<<@#@>#@>#<@#@>, <@#@>#<@#<@#@>>,<@#<@#@>>#<@#@>, <<@#@>#<@#@>>#@,@#<<@#@>#<@#@>>, <<<@#@>#@>#@>#@,@#<<<@#@>#@>#@>,<@#<<@#@>#@>>#@,@#<@#<<@#@>#@>>, <<@#<@#@>>#@>#@,@#<<@#<@#@>>#@>,<@#<@#<@#@>>>#@,@#<@#<@#<@#@>>> : 6 terms 0 pair @#@#@#@#@#@ : 6 terms 1 pair <@#@>#@#@#@#@,@#<@#@>#@#@#@,@#@#<@#@>#@#@,@#@#@#<@#@>#@,@#@#@#@#<@#@>, <@#@#@>#@#@#@,@#<@#@#@>#@#@,@#@#<@#@#@>#@,@#@#@#<@#@#@>, <@#@#@#@>#@#@,@#<@#@#@#@>#@,@#@#<@#@#@#@>, <@#@#@#@#@>#@,@#<@#@#@#@#@> : 7 terms 0 pair @#@#@#@#@#@#@ : 8 terms 0 pair @#@#@#@#@#@#@#@ wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/5term3.oef0000644000175000017500000001256310340570377025473 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{5 términos 3 pares} \integer{style=10} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/cpp/0000755000175000017500000000000010771677463024450 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/cpp/Makefile0000644000175000017500000000002610340570377026072 0ustar georgeskgeorgesk all: ../../mkindex wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/cpp/common.inc0000644000175000017500000001177010340570377026425 0ustar georgeskgeorgesk\text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/cpp/term.cpp0000644000175000017500000000224710340570377026114 0ustar georgeskgeorgesktarget=2term0 3term0 3term1 4term0 4term1 4term2 5term0 5term1 5term2 5term3 6term0 6term1 7term0 8term0 #include "header.inc" #if #TARGET (2term0) \title{2 términos} \integer{style=1} #endif #if #TARGET (3term0) \title{3 términos} \integer{style=2} #endif #if #TARGET (3term1) \title{3 términos con paréntesis} \integer{style=3} #endif #if #TARGET (4term0) \title{4 términos} \integer{style=4} #endif #if #TARGET (4term1) \title{4 términos 1 par} \integer{style=5} #endif #if #TARGET (4term2) \title{4 términos 2 pares} \integer{style=6} #endif #if #TARGET (5term0) \title{5 términos} \integer{style=7} #endif #if #TARGET (5term1) \title{5 términos 1 par} \integer{style=8} #endif #if #TARGET (5term2) \title{5 términos 2 pares} \integer{style=9} #endif #if #TARGET (5term3) \title{5 términos 3 pares} \integer{style=10} #endif #if #TARGET (6term0) \title{6 términos} \integer{style=11} #endif #if #TARGET (6term1) \title{6 términos 1 par} \integer{style=12} #endif #if #TARGET (7term0) \title{7 términos} \integer{style=13} #endif #if #TARGET (8term0) \title{8 términos} \integer{style=14} #endif #include "confparm3.inc" #include "common.inc" wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/cpp/header.inc0000644000175000017500000000010610340570377026354 0ustar georgeskgeorgesk\language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/cpp/confparm3.inc0000644000175000017500000000023110340570377027013 0ustar georgeskgeorgesk \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/src/2term0.oef0000644000175000017500000001255310340570377025464 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/term.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{2 términos} \integer{style=1} \text{cp3=randitem(\confparm3)} \text{ts=wims(word 1 of \cp3)} \text{os=wims(word 2 of \cp3)} \text{ts=\ts issametext ?50} \text{os=\os issametext ?0} \text{left=wims(line 2 to -1 of wims(record \style of src/styles))} \text{left0=wims(nospace randitem(\left))} \text{terms=wims(text select @ in \left0)} \integer{tcnt=wims(charcnt \terms)} \text{tlist=item(1..\ts,shuffle(\tcnt))} \text{olist=item(1..\os,shuffle(\tcnt-1))} \integer{redundant=\confparm4} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\ts=0?30 30:\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tcnt+\redundant,shuffle(\sh1),shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tcnt+\redundant,shuffle(\list),shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{sh2=} \for{s in \sh}{ \text{s2=\s} \if{/ isin \s}{ \text{s2=wims(replace internal / by /( in \s))} } \if{+ isin \s or - isin \s}{ \text{s2=(\s)} } \text{sh2=wims(append item \s2 to \sh2)} } \text{sh=\sh2} \text{empty=} \text{Sh=wims(makelist \(x) for x in \sh)} \text{ops=wims(declosing item(\confparm2,(-,+),(-,*,+),(-,*,/,+)))} \text{op1=wims(replace internal * by × in \ops)} \text{op1=wims(replace internal / by ÷ in \op1)} \text{op1=wims(replace internal - by − in \op1)} \text{ops=wims(makelist \ops for i=1 to 10)} \text{ops=shuffle(item(1..max(\confparm2+1,\tcnt),\ops))} \text{Ops=wims(replace internal * by × in \ops)} \text{Ops=wims(replace internal / by ÷ in \Ops)} \text{Ops=wims(replace internal - by − in \Ops)} \integer{lcnt=wims(charcnt \left0)} \text{left1=} \text{left2=} \text{left3=} \integer{k=1} \integer{n=1} \text{qlist=} \for{i=1 to \lcnt}{ \text{c=wims(char \i of \left0)} \if{\c issametext @}{ \text{left1=\left1 (\sh[\k]) } \if{\k isitemof \tlist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Sh[\k] to \qlist)} }{ \text{left2=\left2 \Sh[\k] } \text{left3=\left3 \sh[\k] } } \integer{k=\k+1} }{ \if{\c issametext #}{ \text{left1=\left1 \ops[\n] } \if{\n isitemof \olist}{ \text{left2=\left2,} \text{left3=\left3,} \text{qlist=wims(append item \Ops[\n] to \qlist)} }{ \text{left2=\left2 \Ops[\n] } \text{left3=\left3 \ops[\n] } } \integer{n=\n+1} } { \text{left1=\left1\c} \text{left2=\left2\c} \text{left3=\left3\c} } } } \text{left2=wims(replace internal < by ( in \left2)} \text{left2=wims(replace internal > by ) in \left2)} \text{qlist=\ts>0 and \redundant>0?\qlist,\Sh[\tcnt+1..\tcnt+\redundant]} \if{\os>0}{ \integer{qtest1=items(\qlist)} \for{op in \op1}{ \text{qlist=\op notin \qlist?\qlist,\op} } \integer{qtest2=items(\qlist)} \text{qlist=\qtest2=\qtest1?\qlist,randitem(\op1)} } \integer{qcnt=items(\left2)-1} \text{left1=wims(translate internal <> to () in \left1)} \text{sum=simplify(\left1)} \if{/ isin \sum}{ \text{sum=wims(replace internal / by /( in \sum))} } \text{rs=item(1..\qcnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\rs} \statement{Rellene la siguiente ecuación para convertirla en una igualdad.

\for{t=1 to \qcnt}{ \left2[\t] \embed{r\t,\size 1} } \left2[\qcnt+1] = \(\sum)

Arrastre los términos u operadores de abajo hasta los espacios en blanco de la ecuación. } \answer{t1}{\t1;\qlist}{type=dragfill} \answer{t2}{\t2}{type=dragfill} \answer{t3}{\t3}{type=dragfill} \answer{t4}{\t4}{type=dragfill} \answer{t5}{\t5}{type=dragfill} \answer{t6}{\t6}{type=dragfill} \answer{t7}{\t7}{type=dragfill} \answer{t8}{\t8}{type=dragfill} \answer{t9}{\t9}{type=dragfill} \answer{t10}{\t10}{type=dragfill} \answer{t11}{\t11}{type=dragfill} \answer{t12}{\t12}{type=dragfill} \answer{t13}{\t13}{type=dragfill} \answer{t14}{\t14}{type=dragfill} \answer{t15}{\t15}{type=dragfill} \answer{t16}{\t16}{type=dragfill} \text{t=\t1,\t2,\t3,\t4,\t5,\t6,\t7,\t8,\t9,\t10,\t11,\t12,\t13,\t14,\t15,\t16} \text{T=wims(replace internal \ by in \t)} \text{T=wims(replace internal − by - in \T)} \text{T=wims(replace internal × by * in \T)} \text{T=wims(replace internal ÷ by / in \T)} \text{R=} \text{r=} \for{i=1 to \qcnt}{ \text{R=\R \left3[\i] \T[\i]} \text{r=\r \left2[\i] \t[\i]} } \text{R=\R \left3[\qcnt+1]} \text{r=\r \left2[\qcnt+1]} \text{R=wims(translate internal <> to () in \R)} \text{test=simplify(\R - (\sum))} \text{test2=simplify(\R)} \condition{Se verifica la ecuación}{\test issametext 0} \feedback{\test issametext \empty}{ Respuesta incorrecta: \r no tiene sentido. } \feedback{\test notsametext \empty and \test notsametext 0}{ Cálculo incorrecto: \r = \(\test2) en lugar de \(\sum). } wims-modules-es-3.64.orig/modules/H2/algebra/parteq.es/help.phtml0000644000175000017500000000005210340570400025041 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/0000755000175000017500000000000010340567607023417 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/0000755000175000017500000000000010340567606024154 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/power.def0000644000175000017500000000402510340567606025771 0ustar georgeskgeorgesk!set title=Potencia de un número !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r varcnt=11 prevarcnt=10 postvarcnt=0 replycnt=2 choicecnt=0 conditioncnt=0 feedbackcnt=2 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, 5 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,4 val7=$[$(tmp0)] tmp0=!randitem 2,3,6,5,7,11 val8=$[rint($(tmp0))] val9=$[rint($val7*$val8)] tmp0=!randint 2, 5 val10=$[rint($(tmp0))] val11=$[rint($val8)] val12=$[rint($val6*$val10)] t_=!replace internal \( by ( in $val7^($val12) tmp0=!exec pari $t_ val13=$(tmp0) t_=!replace internal \( by ( in $val6+$val10 tmp0=!exec pari $t_ val14=$(tmp0) val15=$[rint($val7^($val14))] replytype1=numeric replyname1= replygood1=$[$val11] replytype2=numeric replyname2= replygood2=$[$val12] question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Escriba !insmath (\frac{$val9^{$val6}}{$val7^{$val6}})^{$val10} $() como la potencia de un entero (con la máxima potencia posible) :

!insmath (\frac{$val9^{$val6}}{$val7^{$val6}})^$val10 $()= !read oef/embed.phtml reply 1, 4 $() !read oef/embed.phtml reply 2,4 $()
$() !exit :hint $()Simplifique la fracción primero. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !ifval $m_reply2<>$val12

¿Ha aplicado la regla: !insmath (a^n)^m=a^(n*m) $()? $() !endif !ifval $m_reply2=$val14 and $m_reply2 <> $val12

No confunda

!insmath ($val7^$val6)^$val10= $val7^{$val6\times $val10}=$val7^{$val12}=$val13 $()
con
!insmath $val7^$val6\times $val7^$val10=$val7^{$val6+$val10}=$val7^{$val14}=$val15 $()
$() !endif !exit :test !exit :stat vsavelist=6,7,9,10,12,13,14,15 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/decimal.def0000644000175000017500000000373710340567606026244 0ustar georgeskgeorgesk!set title=Números y potencias decimales de 10 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=4 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 3, 8 val6=$[rint($(tmp0))] tmp0=!randint 5, 7 tmp1=!randint 1, 5 tmp2=!randitem $(tmp0),$(tmp1) val7=$[rint($(tmp2))] tmp0=!randint 10^($val6), 10^($val6+1)-1 val8=$[$(tmp0)] val9=$[$val8/10^($val7)] val10=$[$val8] val11=$[rint(0)] !for val12 =1 to $val6 val13=$[10*floor($val10/10)] !if $val13=$val10 val10=$[$val10/10] val11=$[rint($val11+1)] !endif !next val14=$[$val8/10^($val6)] val15=$[$val6-($val7)] t_=!replace internal \( by ( in $val10 tmp0=!exec pari $t_ val16=$(tmp0) val17=$[$val11-$val7] replytype1=numeric replyname1=exposant replygood1=$[$val14] replytype2=numeric replyname2=exposant replygood2=$[$val15] replytype3=numeric replyname3=exposant replygood3=$[$val16] replytype4=numeric replyname4=exposant replygood4=$[$val17] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Escriba el número !insmath $val9 $() de dos formas:
  • en notación científica
    !insmath $val9 $() = !read oef/embed.phtml reply 1, 12 $()$m_times 10 !read oef/embed.phtml reply 2,4 $()
  • como !insmath a\times 10^p $() con !insmath a $() entero y no múltiplo de 10:
    !insmath $val9 $() = !read oef/embed.phtml reply 3, 12 $()$m_times 10 !read oef/embed.phtml reply 4,4 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/encadr.def0000644000175000017500000000272410340567606026075 0ustar georgeskgeorgesk!set title=Límites de los números decimales !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r varcnt=7 prevarcnt=6 postvarcnt=0 replycnt=2 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 3, 6 val6=$[rint($(tmp0))] tmp0=!randint 5, 7 tmp1=!randint 1, 3 tmp2=!randitem $(tmp0),$(tmp1) val7=$[rint($(tmp2))] tmp0=!randint 10^($val6), 10^($val6+1)-1 val8=$[$(tmp0)] val9=$[$val8/10^($val7)] val10=$[$val6-($val7)] val11=$[$val6-($val7)+1] replytype1=numeric replyname1=exposant replygood1=$[$val10] replytype2=numeric replyname2=exposant replygood2=$[$val11] question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Señale los límites del número !insmath $val9 $() por las potencias consecutivas de 10.
10 !read oef/embed.phtml reply 1,4 $() !insmath \leq $() $val9 < 10 !read oef/embed.phtml reply 2,4 $()
$() !exit :hint $()Puede escribir primero !insmath A $() en notación científica. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/.htaccess0000644000175000017500000000001610340567606025747 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/power10.def0000644000175000017500000000276510340567606026143 0ustar georgeskgeorgesk!set title=Potencias de 10 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r varcnt=12 prevarcnt=11 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, 11 tmp1=!randitem 1,-1 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val10=$[rint($(tmp0)*$(tmp1))] val11=10^{$val6} val12=10^($val7) val13=10^($val9) val14=10^($val8) val15=10^($val10) val16=$[rint(($val6)+($val7)+($val9)-($val8)-($val10))] replytype1=numeric replyname1=exposant replygood1=$[$val16] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Escriba el número como !insmath 10^n $() :
!insmath \frac{10^{$val6}\times 10^{$val7} \times 10^{$val9}}{10^{$val8}\times 10^{$val10}} $() = 10 !read oef/embed.phtml reply 1,3 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,10 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/def/powerneg.def0000644000175000017500000001312110340567606026460 0ustar georgeskgeorgesk!set title=Potencias !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=c,r,r varcnt=41 prevarcnt=40 postvarcnt=0 replycnt=2 choicecnt=1 conditioncnt=0 feedbackcnt=2 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randitem 2,4,5,7,11,13,17,23 val6=$(tmp0) tmp0=!randitem 3,2,5,7,$val6, 11, 13,19,29 val7=$(tmp0) tmp0=!randitem 1,-1 val8=$[rint($val6*$(tmp0))] tmp0=!randitem 1,2 val9=$(tmp0) tmp0=!randitem 1,-1 val10=$[rint($val7*$(tmp0))] tmp0=!item $val9 of $val8,$val10 val11=$[rint($(tmp0))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val12=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val13=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 11 tmp1=!randitem 1,-1 val14=$[rint($(tmp0)*$(tmp1))] !ifval $val8>0 val15= $val8 !else val15=($val8) !endif !ifval $val11>0 val16= $val11 !else val16=($val11) !endif !ifval $val10>0 val17= $val10 !else val17=($val10) !endif !ifval abs($val8)=abs($val10) val18= (-1) !else val18= $val15 !endif val18=$[abs($val8)] !ifval abs($val8)=abs($val10) val19= $val7 !else val19=$val17 !endif val19=$[abs($val10)] !ifval $val9=1 val20=$[rint( $val12+($val13))] !else val20=$[rint( $val12)] !endif !ifval $val9=2 val21=$[rint( $val14+($val13))] !else val21=$[rint( $val14)] !endif !ifval abs($val8)=abs($val10) val20=$[rint($val12+($val13)+($val14))] !endif val22=$[rint(sign(($val8)^($val12)*($val11)^($val13)*($val10)^($val14)))] tmp0=!shuffle 1,2,3 val23=$(tmp0) val24=$val15^$val12,$val16^$val13,$val17^$val14 tmp0=!item 1 of $val23 tmp1=!item $(tmp0) of $val24 val25=$(tmp1) tmp0=!item 2 of $val23 tmp1=!item $(tmp0) of $val24 val26=$(tmp1) tmp0=!item 3 of $val23 tmp1=!item $(tmp0) of $val24 val27=$(tmp1) val28=positivo, negativo !ifval $val22=1 tmp0=!item 1 of $val28 val29= $(tmp0) !else tmp1=!item 2 of $val28 val29= $(tmp1) !endif tmp0=!item 1 of $val23 tmp1=!item $(tmp0) of $val8,$val11,$val10 val30=$(tmp1) tmp0=!item 2 of $val23 tmp1=!item $(tmp0) of $val8,$val11,$val10 val31=$(tmp1) tmp0=!item 3 of $val23 tmp1=!item $(tmp0) of $val8,$val11,$val10 val32=$(tmp1) !ifval $val30 <0 tmp0=!item 1 of $val23 tmp1=!item $(tmp0) of $val12,$val13,$val14 val33= $(tmp1) !else val33= !endif !ifval $val31 <0 tmp0=!item 2 of $val23 tmp1=!item $(tmp0) of $val12,$val13,$val14 val33= $val33,$(tmp1) !endif !ifval $val32 <0 tmp0=!item 3 of $val23 tmp1=!item $(tmp0) of $val12,$val13,$val14 val33= $val33,$(tmp1) !endif !ifval $val30 <0 tmp0=!item 1 of $val23 tmp1=!item $(tmp0) of $val8,$val11,$val10 val34= $(tmp1) !else val34= !endif !ifval $val31 <0 tmp0=!item 2 of $val23 tmp1=!item $(tmp0) of $val8,$val11,$val10 val34= $val34,$(tmp1) !endif !ifval $val32 <0 tmp0=!item 3 of $val23 tmp1=!item $(tmp0) of $val8,$val11,$val10 val34= $val34,$(tmp1) !endif tmp0=!listuniq $val34 val34=$(tmp0) tmp0=!itemcnt $val33 val35=$(tmp0) tmp0=!itemcnt $val34 val36=$(tmp0) !ifval $val18 = $val19 val37= choice1 reply1 !else val37= choice1 reply1, reply2 !endif oefsteps=$val37 nextstep=!nosubst $val37 !readproc oef/steps.proc replytype1=numeric replyname1= replygood1=$[$val20] replytype2=numeric replyname2= replygood2=$[$val21] choicename1= choicegood1=$val29 choicebad1=$val28 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() !if $m_step <=1 $() El número !insmath $val25 $() !insmath \times $() !insmath $val26 $() !insmath \times $() !insmath $val27 $() es !read oef/embed.phtml choice 1 $(). !endif $() !if $m_step=2 $()Escríbalo como producto de potencias:
!if $val22=1 and $val18 !=$val19 $() !insmath $val25 $() !insmath \times $() !insmath $val26 $() !insmath \times $() !insmath $val27 $()= $val18 !read oef/embed.phtml reply 1,3 $() $val19 !read oef/embed.phtml reply 2,3 $() !endif $() !if $val22=1 and $val18=$val19 $() !insmath $val25 $() !insmath \times $() !insmath $val26 $() !insmath \times $() !insmath $val27 $()= $val18 !read oef/embed.phtml reply 1,3 $() !endif $() !if $val22=-1 and $val18<>$val19 $() !insmath $val25 $() !insmath \times $() !insmath $val26 $() !insmath \times $() !insmath $val27 $()= -$val18 !read oef/embed.phtml reply 1,3 $() $val19 !read oef/embed.phtml reply 2,3 $()
!endif $() !if $val22=-1 and $val18=$val19 $() !insmath $val25 $() !insmath \times $() !insmath $val26 $() !insmath \times $() !insmath $val27 $()= -$val18\ !read oef/embed.phtml reply 1,3 $() !endif $()

!endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !if $m_choice1 notsametext $val29 and ($val8<0 or $val10<0)

¿Ha comprobado que !if $val35=1 $()el exponente !else $() los exponentes !endif $() $val33 !if $val36=1 $()del número no positivo $val34 es par o impar !else $() de los números no positivos $val34 son pares o impares !endif $()? El signo de !if $val35=1 $()este exponente !else $() estos exponentes !endif $() no nos sirve para responder a la pregunta. $() !endif !if $m_choice1 notsametext $val29 and $val8>0 and $val10>0

El producto de los números positivos, las potencias de los números positivos son siempre positivos. $() !endif !exit :test !exit :stat vsavelist=8,10,18,19,22,25,26,27,29,33,34,35,36 embedcnt=7 wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/intro.phtml0000644000175000017500000000025710340567606025623 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal ejercicios de potencias de un número, potencias de 10, notación científica. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/Exindex0000644000175000017500000000037710340567606024754 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of encadr,decimal,power,powerneg,power10, !set titlelist=!char 1 to -2 of Límites de los números decimales,Números y potencias decimales de 10,Potencia de un número,Potencias,Potencias de 10, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/Extitles0000644000175000017500000000023310340567606025140 0ustar georgeskgeorgeskdecimal:Números y potencias decimales de 10 encadr:Límites de los números decimales power:Potencia de un número power10:Potencias de 10 powerneg:Potencias wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/var.proc0000644000175000017500000000024210340567606025071 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto proc/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/0000755000175000017500000000000010340567607024362 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/var.proc0000644000175000017500000000002710340567606026035 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/answer.phtml0000644000175000017500000000003310340567606026722 0ustar georgeskgeorgesk!changeto oef/answer.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/intromenu.phtml0000644000175000017500000000003610340567606027446 0ustar georgeskgeorgesk!changeto oef/intromenu.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/var.prep0000644000175000017500000000002710340567607026041 0ustar georgeskgeorgesk!changeto oef/var.prep wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/about.phtml0000644000175000017500000000003210340567607026535 0ustar georgeskgeorgesk!changeto oef/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/present.phtml0000644000175000017500000000003410340567606027104 0ustar georgeskgeorgesk!changeto oef/present.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/noreply.phtml0000644000175000017500000000003410340567606027114 0ustar georgeskgeorgesk!changeto oef/noreply.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/Main.phtml0000644000175000017500000000003110340567606026305 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/print.phtml0000644000175000017500000000003210340567606026556 0ustar georgeskgeorgesk!changeto oef/print.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/var.def0000644000175000017500000000231310340567606025630 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/form.phtml0000644000175000017500000000003110340567606026364 0ustar georgeskgeorgesk!changeto oef/form.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/mkindex0000744000175000017500000000003010340567606025735 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/names0000644000175000017500000000002410340567607025404 0ustar georgeskgeorgesk!changeto oef/names wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/atext.dic0000644000175000017500000000004510340567606026166 0ustar georgeskgeorgeska: an: for: of: s: that: the: this: wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/msg.phtml0000644000175000017500000000003010340567606026206 0ustar georgeskgeorgesk!changeto oef/msg.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/exo.init0000644000175000017500000000002710340567607026041 0ustar georgeskgeorgesk!changeto oef/exo.init wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/help.phtml0000644000175000017500000000003110340567607026352 0ustar georgeskgeorgesk!changeto oef/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/proc/hint.phtml0000644000175000017500000000003110340567607026364 0ustar georgeskgeorgesk!changeto oef/hint.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/about.phtml0000644000175000017500000000003210340567607025572 0ustar georgeskgeorgesk!changeto oef/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/main.phtml0000644000175000017500000000003110340567606025402 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/var.def0000644000175000017500000000231310340567606024665 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/mkindex0000744000175000017500000000003010340567606024772 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/INDEX0000644000175000017500000000171410340567606024213 0ustar georgeskgeorgesktitle=OEF potencias # Commencez la description par minuscule! description=colección de ejercicios sobre el cálculo de potencias author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr copyright=© 2002- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.22 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H2 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=power, potencia # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes help=popup wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/README0000644000175000017500000000047610340567606024305 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Modify the link proc if necessary. 5. Install source files. 6. Run the script mkindex. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/0000755000175000017500000000000010771676633024216 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/powerneg.oef0000644000175000017500000000621010340567606026525 0ustar georgeskgeorgesk\title{Potencias} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \text{aa=randint(2,4,5,7,11,13,17,23)} \text{cc= randint(3,2,5,7,\aa, 11, 13,19,29)} \integer{a = \aa*random(1,-1)} \text{cho=random(1,2)} \integer{c=\cc*random(1,-1)} \integer{b= item(\cho,\a,\c)} \integer{n=random(2..11)*random(1,-1)} \integer{m=random(2..11)*random(1,-1)} \integer{p=random(2..11)*random(1,-1)} \text{at=\a>0 ? \a:(\a)} \text{bt=\b>0 ? \b:(\b)} \text{ct=\c>0 ? \c:(\c)} \text{ar=abs(\a)=abs(\c) ? (-1) : \at} \real{ar=abs(\a)} \text{cr= abs(\a)=abs(\c) ? \cc :\ct} \real{cr=abs(\c)} \integer{sol1=\cho=1 ? \n+(\m): \n} \integer{sol2=\cho=2 ? \p+(\m): \p} \integer{sol1= abs(\a)=abs(\c) ?\n+(\m)+(\p)} \integer{signe=sign((\a)^(\n)*(\b)^(\m)*(\c)^(\p))} integer{sol1= abs(\a)=abs(\c) and \signe=1? 0} integer{sol1= abs(\a)=abs(\c) and \signe=-1? 1} \text{shu=shuffle(1,2,3)} \text{liste=\at^\n,\bt^\m,\ct^\p} \text{atn=item(item(1,\shu),\liste)} \text{btm=item(item(2,\shu),\liste)} \text{ctp=item(item(3,\shu),\liste)} \text{choix=positivo, negativo} \text{pos=\signe=1 ? item(1,\choix): item(2,\choix)} \text{as= item(item(1,\shu),\a,\b,\c)} \text{bs= item(item(2,\shu),\a,\b,\c)} \text{cs= item(item(3,\shu),\a,\b,\c)} \text{listeexp=\as <0 ? item(item(1,\shu),\n,\m,\p):} \text{listeexp= \bs <0 ? \listeexp,item(item(2,\shu),\n,\m,\p)} \text{listeexp= \cs <0 ? \listeexp,item(item(3,\shu),\n,\m,\p)} \text{listeneg=\as <0 ? item(item(1,\shu),\a,\b,\c):} \text{listeneg= \bs <0 ? \listeneg,item(item(2,\shu),\a,\b,\c)} \text{listeneg= \cs <0 ? \listeneg,item(item(3,\shu),\a,\b,\c)} \text{listeneg=wims(listuniq \listeneg)} \text{n0=wims(itemcnt \listeexp)} \text{n1=wims(itemcnt \listeneg)} \text{STEPS=\ar = \cr ? choice1 reply1 : choice1 reply1, reply2 } \steps{\STEPS} \statement{ \if{\step <=1}{ El número \(\atn)\(\times)\( \btm)\(\times )\(\ctp) es \embed{choice 1}.} \if{\step=2}{Escríbalo como producto de potencias:

\if{\signe=1 and \ar !=\cr }{\(\atn)\(\times)\( \btm)\(\times )\(\ctp)= \ar\embed{reply 1,3} \cr\embed{reply 2,3}} \if{\signe=1 and \ar=\cr }{\(\atn)\(\times)\( \btm)\(\times )\(\ctp)= \ar\embed{reply 1,3} } \if{\signe=-1 and \ar<>\cr}{\(\atn)\(\times)\( \btm)\(\times )\(\ctp)= -\ar\embed{reply 1,3} \cr\embed{reply 2,3}
} \if{\signe=-1 and \ar=\cr}{\(\atn)\(\times)\( \btm)\(\times )\(\ctp)= -\ar\ \embed{reply 1,3}}

} } \choice{}{\pos}{\choix} \answer{}{\sol1}{type=numeric} \answer{}{\sol2}{type=numeric} \feedback{\choice1 notsametext \pos and (\a<0 or \c<0)}{¿Ha comprobado que \if{\n0=1}{el exponente}{los exponentes} \listeexp \if{\n1=1}{del número no positivo \listeneg es par o impar} {de los números no positivos \listeneg son pares o impares }? El signo de \if{\n0=1}{este exponente }{estos exponentes } no nos sirve para responder a la pregunta. } \feedback{\choice1 notsametext \pos and \a>0 and \c>0} {El producto de los números positivos, las potencias de los números positivos son siempre positivos. } wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/encadr.oef0000644000175000017500000000131110340567606026130 0ustar georgeskgeorgesk\title{Límites de los números decimales} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{n=randint(3..6)} \integer{p=random(randint(5..7),randint(1..3))} \real{a=randint(10^(\n)..10^(\n+1)-1)} \real{A=\a/10^(\p)} \real{sol1= \n-(\p)} \real{sol2=\n-(\p)+1} \statement{Señale los límites del número \(\A) delimitado por las potencias consecutivas de 10.
10\embed{reply 1,4}\(\leq) \A < 10\embed{reply 2,4}
} \answer{exposant}{\sol1}{type=numeric} \answer{exposant}{\sol2}{type=numeric} \hint{Puede escribir primero \(\A) en notación científica. } wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/Makefile0000644000175000017500000000003010340567606025636 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/.htaccess0000644000175000017500000000001610340567606026000 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/power10.oef0000644000175000017500000000127510340567606026202 0ustar georgeskgeorgesk\title{Potencias de 10} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{n=random(2..11)*random(1,-1)} \integer{m=random(2..11)*random(1,-1)} \integer{p=random(2..11)*random(1,-1)} \integer{o=random(2..11)*random(1,-1)} \integer{q=random(2..11)*random(1,-1)} \text{a=10^{\n}} \text{b=10^(\m)} \text{c=10^(\o)} \text{d=10^(\p)} \text{f=10^(\q)} \integer{sol= (\n)+(\m)+(\o)-(\p)-(\q)} \statement{Escriba el número como \(10^n) :
\(\frac{10^{\n}\times 10^{\m} \times 10^{\o}}{10^{\p}\times 10^{\q}}) = 10\embed{reply 1,3}
} \answer{exposant}{\sol}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/decimal.oef0000644000175000017500000000201010340567606026267 0ustar georgeskgeorgesk\title{Números y potencias decimales de 10} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{n=randint(3..8)} \integer{p=random(randint(5..7),randint(1..5))} \real{a=randint(10^(\n)..10^(\n+1)-1)} \real{A=\a/10^(\p)} \real{s=\a} \integer{ct=0} \for{i=1 to \n}{\real{b=10*floor(\s/10)} \if{\b=\s}{\real{s=\s/10} \integer{ct=\ct+1}} } \real{sol1= \a/10^(\n)} \real{sol2=\n-(\p)} \text{sol3=pari(\s)} \real{sol4=\ct-\p} \statement{Escriba el número \(\A) de dos formas:
  • en notación científica
    \(\A) = \embed{reply 1, 12}\times 10\embed{reply 2,4}
  • como \(a\times 10^p) con \(a) entero y no múltiplo de 10:
    \(\A) = \embed{reply 3, 12}\times 10\embed{reply 4,4}
} \answer{exposant}{\sol1}{type=numeric} \answer{exposant}{\sol2}{type=numeric} \answer{exposant}{\sol3}{type=numeric} \answer{exposant}{\sol4}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/src/power.oef0000644000175000017500000000177610340567606026047 0ustar georgeskgeorgesk\title{Potencia de un número} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{n=randint(2..5)} \real{a=randint(2,3,5,4)} \integer{c=randint(2,3,6,5,7,11)} \integer{b= \a*\c} \integer{p=randint(2..5)} \integer{sol1= \c} \integer{sol2= \n*\p} \text{aa=pari(\a^(\sol2))} \text{faux=pari(\n+\p)} \integer{afaux=\a^(\faux)} \statement{Escriba \((\frac{\b^{\n}}{\a^{\n}})^{\p}) como la potencia de un entero (con la máxima potencia posible) :
\((\frac{\b^{\n}}{\a^{\n}})^\p)= \embed{reply 1, 4} \embed{reply 2,4}
} \answer{}{\sol1}{type=numeric} \answer{}{\sol2}{type=numeric} \hint{Simplifique la fracción primero.} \feedback{\reply2<>\sol2} {¿Ha aplicado la regla: \((a^n)^m=a^(n*m))?} \feedback{\reply2=\faux and \reply2 <> \sol2 }{No confunda
\((\a^\n)^\p= \a^{\n\times \p}=\a^{\sol2}=\aa )
con
\(\a^\n\times \a^\p=\a^{\n+\p}=\a^{\faux}=\afaux)
} wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/endhook.phtml0000644000175000017500000000010210340567606026104 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H2/algebra/oefpower.es/help.phtml0000644000175000017500000000003110340567606025406 0ustar georgeskgeorgesk!changeto oef/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/0000755000175000017500000000000010340570422023152 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/0000755000175000017500000000000010771676523023731 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/signprodfacteurs.def0000644000175000017500000000421510340570421027753 0ustar georgeskgeorgesk!set title=Signo del producto de enteros !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=c varcnt=28 prevarcnt=27 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 2, 100 val6=$[rint($(tmp0))] tmp0=!randitem 1,-1 val7=$[rint($(tmp0))] val8=$[rint($val7*$val6)] !ifval $val7=1 val8=$val8 !else val8=($val8) !endif tmp0=!randint 2, 10 val9=$[rint($(tmp0))] tmp0=!randitem 1,-1 val10=$[rint($(tmp0))] val11=$[rint($val10*$val9)] !ifval $val10=1 val11=$val11 !else val11=($val11) !endif tmp0=!randint 2, 100 val12=$[rint($(tmp0))] tmp0=!randitem 1,-1 val13=$[rint($(tmp0))] val14=$[rint($val13*$val12)] !ifval $val13=1 val14=$val14 !else val14=($val14) !endif tmp0=!randint 2, 1000 val15=$[rint($(tmp0))] tmp0=!randitem 1,-1 val16=$[rint($(tmp0))] val17=$[rint($val16*$val15)] !ifval $val16=1 val17=$val17 !else val17=($val17) !endif tmp0=!randint 2, 10 val18=$[rint($(tmp0))] tmp0=!randitem 1,-1 val19=$[rint($(tmp0))] val20=$[rint($val19*$val18)] !ifval $val19=1 val20=$val20 !else val20=($val20) !endif tmp0=!randint 2, 100 val21=$[rint($(tmp0))] tmp0=!randitem 1,-1 val22=$[rint($(tmp0))] val23=$[rint($val22*$val21)] !ifval $val22=1 val23=$val23 !else val23=($val23) !endif val24=$[rint($val7*$val10*$val13*$val16*$val19*$val22)] val25=Positivo,Negativo !ifval $val24>0 tmp0=!item 1 of $val25 val26=$(tmp0) !else tmp1=!item 2 of $val25 val26=$(tmp1) !endif choicename1=Respuesta choicegood1=$val26 choicebad1=$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es el signo del producto de factores siguiente?
!insmath $val8\times$val11\times$val14\times$val17\times$val20\times$val23 $().
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,11,14,17,20,23 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/nbreabs.def0000644000175000017500000000254610340570421026012 0ustar georgeskgeorgesk!set title=Número ausente !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=8 prevarcnt=7 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=!randitem -1,1 tmp1=!randint 2, 12 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 2, 12 val7=$[rint($(tmp0)*$(tmp1))] !ifval ($val6>0 and $val7>0) val7=$[rint(-$val7)] !endif tmp0=!randitem -,+,* val8=$(tmp0) val9=$[rint(($val6)$val8($val7))] tmp0=!randitem 1,2 val10=$[rint($(tmp0))] !ifval $val10=1 val11=$[rint($val6)] !else val11=$[rint($val7)] !endif replytype1=numexp replyname1=Respuesta replygood1=$[$val11] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Encontrar el número que falta:
!if $val10=1 $() !read oef/embed.phtml reply 1,5 $()$val8($val7)=$val9. !else $() ($val6)$val8 !read oef/embed.phtml reply 1,5 $()=$val9. !endif $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,10 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/substition.def0000644000175000017500000000275210340570421026600 0ustar georgeskgeorgesk!set title=Sustitución !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=14 prevarcnt=13 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, 10 val6=$[rint($(tmp0))] tmp0=!randitem 1,-1 val7=$[rint($(tmp0))] val8=$[rint($val7*$val6)] tmp0=!randint 2, 10 val9=$[rint($(tmp0))] tmp0=!randitem 1,-1 val10=$[rint($(tmp0))] val11=$[rint($val10*$val9)] tmp0=!randint -10, -2 val12=$[rint($(tmp0))] tmp0=!randitem x,y,a,b val13=$(tmp0) tmp=!trim \ax+$val11 $val11+\ax val14=!translate internal $ \ $ to ;; in $tmp tmp0=!randitem $val8 $val13+$val11,$val11+$val8 $val13 val15=$(tmp0) val16=$[rint($val8*$val12+$val11)] tmp0=!replace $val13 by \times($val12) in $val15 val17=$(tmp0) val18=$val15=$val17=$val16 replytype1=numexp replyname1=Respuesta replygood1=$[$val16] question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular la expresión !insmath $val15 $() cuando !insmath $val13 $() vale $val12. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() !insmath $val18 $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,13,15,18 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/subsprio.def0000644000175000017500000000415010340570422026236 0ustar georgeskgeorgesk!set title=Sustitución-prioridad !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=14 prevarcnt=13 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=!randitem -1,1 tmp1=!randint 2, 15 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 2, 15 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 2, 15 val8=$[rint($(tmp0)*$(tmp1))] tmp=!trim a,b,c x,y,z u,v,w val9=!translate internal $ \ $ to ;; in $tmp tmp0=!randitem 1,2,3 tmp=!translate internal $ $ to ; in $val9 tmp=!row $(tmp0) of $tmp tmp1=!translate internal $\ $ to ; in $tmp val9=$(tmp1) tmp0=!item 1 of $val9 val10=$(tmp0) tmp0=!item 2 of $val9 val11=$(tmp0) tmp0=!item 3 of $val9 val12=$(tmp0) tmp=!trim $val10$val11+$val12,($val6)*($val7)+($val8) $val10+$val11$val12,($val6)+($val7)*($val8) $val10($val11+$val12),($val6)*($val7+($val8)) ($val10+$val11)$val12,($val6+($val7))*($val8) $val10$val11-$val12,($val6)*($val7)-($val8) $val10-$val11$val12,($val6)-($val7)*($val8) $val10($val11-$val12),($val6)*($val7-($val8)) ($val10-$val11)$val12,($val6-($val7))*($val8) val13=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 8 val14=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val13 tmp=!row $val14 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp0=!item 1 of $val15 val16=$(tmp0) tmp0=!item 2 of $val15 val17=$[rint($(tmp0))] replytype1=numexp replyname1=Respuesta replygood1=$[$val17] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Para !insmath $val10=$val6 , $val11=$val7 , $val12=$val8 $(), calcular la expresión siguiente:
!insmath $val16 $().
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,10,11,12,16 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/inco.def0000644000175000017500000000241410340570422025321 0ustar georgeskgeorgesk!set title=Símbolo ausente !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=10 prevarcnt=9 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=!randitem -1,1 tmp1=!randint 2, 15 val6=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem -1,1 tmp1=!randint 2, 15 val7=$[rint($(tmp0)*$(tmp1))] !ifval ($val6>0 and $val7>0) val7=$[rint(-$val7)] !endif tmp0=!randint 1, 3 val8=$[rint($(tmp0))] val9=-,+,\(\times) tmp0=!item $val8 of $val9 val10=$(tmp0) val11=-,+,* tmp0=!item $val8 of $val11 val11=$(tmp0) val12=$[rint(($val6)$val11($val7))] replytype1=dragfill replyname1=Respuesta replygood1=$val10;$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Completar el cálculo siguiente:
($val6) !read oef/embed.phtml reply 1 $()($val7)=$val12.
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,12 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/calcprio2.def0000644000175000017500000000355010340570422026251 0ustar georgeskgeorgesk!set title=Cálculo de prioridad 2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=10 prevarcnt=9 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, 15 val6=$[rint($(tmp0))] tmp0=!randint 2, 15 val7=$[rint($(tmp0))] tmp0=!randint 2, 15 val8=$[rint($(tmp0))] tmp0=!randint 2, 15 val9=$[rint($(tmp0))] tmp=!trim (-$val6)-(-$val7)\times $val8-$val9,(-$val6)-(-$val7)*$val8-$val9 (-$val6)\times$val7+$val8\times$val9,(-$val6)*$val7+$val8*$val9 (-$val6)\times(+$val7)+(-$val8)-$val9,(-$val6)*(+$val7)+(-$val8)-$val9 (-$val6)-$val7-$val8+$val9,(-$val6)-$val7-$val8+$val9 (-$val6)-($val7-$val8)\times$val9,(-$val6)-($val7-$val8)*$val9 $val6-$val7\times(-$val8)-$val9,$val6-$val7*(-$val8)-$val9 $val6\times($val7-$val8)-(-$val9),$val6*($val7-$val8)-(-$val9) $val6\times(-$val7)-$val8\times$val9,$val6*(-$val7)-$val8*$val9 $val6\times((-$val7)-$val8\times$val9),$val6*((-$val7)-$val8*$val9) val10=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 9 val11=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val10 tmp=!row $val11 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$[rint($(tmp0))] replytype1=numexp replyname1=Respuesta replygood1=$[$val14] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Efectuar el cálculo siguiente: !insmath $val13 $().

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/parentheses.def0000644000175000017500000000406610340570421026716 0ustar georgeskgeorgesk!set title=Suprimir paréntesis !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=10 prevarcnt=9 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 1, 15 val6=$[rint($(tmp0))] tmp0=!randint 1, 15 val7=$[rint($(tmp0))] tmp0=!randint 1, 15 val8=$[rint($(tmp0))] tmp=!trim $val6+($val7+$val8),$val6+$val7+$val8,$val6+($val7+$val8)=$val6+$val7+$val8=$val6+$val7+$val8 $val6+($val7-$val8),$val6+$val7-$val8,$val6+($val7-$val8)=$val6+$val7-$val8 $val6-($val7+$val8),$val6-$val7-$val8,$val6-($val7+$val8)=$val6-($val7)-(+$val8)=$val6-$val7-$val8 $val6-($val7-$val8),$val6-$val7+$val8,$val6-($val7-$val8)=$val6-($val7)-(-$val8)=$val6-$val7+$val8 $val6+(-$val7+$val8),$val6-$val7+$val8,$val6+(-$val7+$val8)=$val6-$val7+$val8 $val6+(-$val7-$val8),$val6-$val7-$val8,$val6+(-$val7-$val8)=$val6-$val7-$val8 $val6-(-$val7+$val8),$val6+$val7-$val8,$val6-(-$val7+$val8)=$val6-(-$val7)-(+$val8)=$val6+$val7-$val8 $val6-(-$val7-$val8),$val6+$val7+$val8,$val6-(-$val7-$val8)=$val6-(-$val7)-(-$val8)=$val6+$val7+$val8 val9=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 8 val10=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val9 tmp=!row $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!item 1 of $val11 val12=$(tmp0) tmp0=!item 2 of $val11 val13=$(tmp0) tmp0=!item 3 of $val11 val14=$(tmp0) replytype1=litexp replyname1=Respuesta replygood1=$val13 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Reescribir sin los paréntesis la expresión: !insmath $val12 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() !insmath $val14 $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/calcZ.def0000644000175000017500000000224210340570421025423 0ustar georgeskgeorgesk!set title=Cálculo Z !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=6 prevarcnt=5 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 1, 10 val6=$[rint($(tmp0))] tmp0=!randint 1, 10 val7=$[rint($(tmp0))] tmp0=!randitem -$val6,$val6 val8=$(tmp0) tmp0=!randitem +$val7,-$val7,-(-$val7) val9=$(tmp0) val10=$[rint($val8$val9)] replytype1=numexp replyname1=Respuesta replygood1=$[$val10] question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcule !insmath $val8$val9 $(): $() !exit :hint $() $() !exit :help $() $() !exit :solution $() !if $val9=-(-$val7) $() !insmath $val8$val9=$val8+$val7=$val10 $() !else $() !insmath $val8$val9=$val10 $() !endif $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/calcdec.def0000644000175000017500000000267710340570422025762 0ustar georgeskgeorgesk!set title=Cálculo decimal !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10 ansorder=r varcnt=10 prevarcnt=9 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 1, 10 val6=$[rint($(tmp0))] tmp0=!randint 1, 10 val7=$[rint($(tmp0))] tmp0=!randint 0, 10 val8=$[rint($(tmp0))] tmp0=!randint 0, 10 val9=$[rint($(tmp0))] !ifval $val8=0 val10=$val6 !else val10=$val6.$val8 !endif !ifval $val9=0 val11=$val7 !else val11=$val7.$val9 !endif tmp0=!randitem -$val10,$val10 val12=$(tmp0) tmp0=!randitem +$val11,-$val11,-(-$val11) val13=$(tmp0) t_=!replace internal \( by ( in $val12$val13; tmp0=!exec maxima $t_ val14=$(tmp0) replytype1=numexp replyname1=Respuesta replygood1=$[$val14] question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcule !insmath $val12$val13 $(): $() !exit :hint $() $() !exit :help $() $() !exit :solution $() !if $val13=-(-$val11) $() !insmath $val12$val13=$val12+$val11=$val14 $() !else $() !insmath $val12$val13=$val14 $() !endif $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/quizzvoc.def0000644000175000017500000000332610340570421026265 0ustar georgeskgeorgesk!set title=Vocabulario * + número !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=13 prevarcnt=12 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 1, 10 val6=$[rint($(tmp0))] tmp0=!randitem -$val6,$val6 val7=$[rint($(tmp0))] val8=una suma,un producto,un término,un factor,la distancia a cero tmp=!trim (Cuando se suman dos números, cada número es),3,( de la suma.) (El resultado de una multiplicación es ),2,(.) (Cuando se multiplica dos números, cada número es),4,(del producto.) (El resultado de una adición es),1,(.) ($val6 es),5,(de $val7) val9=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 5 val10=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val9 tmp=!row $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!item 1 of $val9 val11=$(tmp0) tmp0=!declosing $val11 val11=$(tmp0) tmp0=!item 2 of $val9 val12=$[rint($(tmp0))] tmp0=!item $val12 of $val8 val13=$(tmp0) tmp0=!item 3 of $val9 val14=$(tmp0) tmp0=!declosing $val14 val14=$(tmp0) replytype1=dragfill replyname1=Respuesta replygood1=$val13;$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Complete la expresión:

$val11 !read oef/embed.phtml reply 1 $() $val14
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,14 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/calcprio1.def0000644000175000017500000000317510340570421026252 0ustar georgeskgeorgesk!set title=Cálculo de prioridad 1 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 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, 15 val6=$[rint($(tmp0))] tmp0=!randint 2, 15 val7=$[rint($(tmp0))] tmp0=!randint 2, 15 val8=$[rint($(tmp0))] tmp=!trim (-$val6)-(-$val7)\times $val8,(-$val6)-(-$val7)*$val8 (-$val6)\times$val7+$val8,-$val6*$val7+$val8 (-$val6)\times(+$val7)+(-$val8),-$val6*(+$val7)+(-$val8) (-$val6)-$val7-$val8,(-$val6)-$val7-$val8 (-$val6)-($val7-$val8),(-$val6)-($val7-$val8) $val6-$val7\times(-$val8),$val6-$val7*(-$val8) $val6\times($val7-$val8),$val6*($val7-$val8) $val6\times(-$val7)-$val8,$val6*(-$val7)-$val8 val9=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 8 val10=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val9 tmp=!row $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!item 1 of $val11 val12=$(tmp0) tmp0=!item 2 of $val11 val13=$[rint($(tmp0))] replytype1=numexp replyname1=Respuesta replygood1=$[$val13] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Efectuar el cálculo siguiente: !insmath $val12 $().

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/prodsom.def0000644000175000017500000000316710340570421026061 0ustar georgeskgeorgesk!set title=Producto o suma !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=11 prevarcnt=10 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, 10 val6=$[rint($(tmp0))] tmp0=!randint 2, 10 val7=$[rint($(tmp0))] tmp0=!randint 2, 10 val8=$[rint($(tmp0))] tmp0=!randint 2, 10 val9=$[rint($(tmp0))] val10=una suma,un producto tmp=!trim $val6 \times $val7,2 $val6+$val7,1 $val6\times$val7+$val8,1 $val6\times($val7+$val8),2 $val6+$val7\times$val8,1 ($val6+$val7)\times$val8,2 ($val6+$val7)\times($val8+$val9),2 $val6+$val7\times$val8+$val9,1 $val6+$val7\times($val8+$val9),1 val11=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 9 val12=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val11 tmp=!row $val12 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!item 1 of $val11 val13=$(tmp0) tmp0=!item 2 of $val11 tmp1=!item $(tmp0) of $val10 val14=$(tmp1) replytype1=dragfill replyname1=Respuesta replygood1=$val14;$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Complete la expresión:

!insmath $val13 $() es !read oef/embed.phtml reply 1 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/calcment.def0000644000175000017500000000253310340570421026160 0ustar georgeskgeorgesk!set title=Clc Mental reglas * + !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=r varcnt=12 prevarcnt=11 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=!randitem 0,(-1),1,0.1,(-0.1) val6=$(tmp0) tmp0=!randint 1, 100 val7=$[rint($(tmp0))] tmp0=!randint 1, 100 val8=$[rint($(tmp0))] tmp0=!randitem $val7.$val8,$val7,-$val7,-$val7.$val8 val9=$(tmp0) tmp0=!randitem 1,2 val10=$[rint($(tmp0))] val11=\times,+ tmp0=!item $val10 of $val11 val11=$(tmp0) val12=*,+ tmp0=!item $val10 of $val12 val12=$(tmp0) tmp0=!randitem $val9$val11$val6,$val6$val11$val9 val13=$(tmp0) tmp=!translate ";': to $ $ in $val6$val12$val9 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val14=$(tmp0) replytype1=numexp replyname1=Respuesta replygood1=$[$val14] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular rápidemente !insmath $val13 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/def/quizz.def0000644000175000017500000000432310340570422025554 0ustar georgeskgeorgesk!set title=Acertijo sobre incógnitas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=100 ansorder=c varcnt=12 prevarcnt=11 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 tmp=!trim a,b,c x,y,z u,v,w val6=!translate internal $ \ $ to ;; in $tmp tmp0=!randitem 1,2,3 tmp=!translate internal $ $ to ; in $val6 tmp=!row $(tmp0) of $tmp tmp1=!translate internal $\ $ to ; in $tmp val6=$(tmp1) tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp0=!item 3 of $val6 val9=$(tmp0) tmp=!trim La suma $val7 + $val7 es siempre del signo de $val7,1 El producto \($val7 \times $val7) es siempre del signo de $val7,2 El producto \(-$val7 \times $val7) es siempre negativo,1 El producto \($val7 \times $val8) es siempre positivo,2 Si el producto \($val7 \times $val8) es positivo entonces la suma $val7+$val8 lo es también,2 Si el producto \($val7 \times $val8) es negativo entonces la suma $val7+$val8 es siempre negativa,2 El producto \($val7 \times $val8 \times $val7 \times $val8) es siempre positivo,1 El producto \(-$val7 \times $val8 \times $val7 \times $val8) es siempre negativo,1 -$val7 es siempre negativo,2 val10=!translate internal $ \ $ to ;; in $tmp tmp0=!randint 1, 9 val11=$[rint($(tmp0))] tmp=!translate internal $ $ to ; in $val10 tmp=!row $val11 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) val14=Sí es verdadera, Es falsa tmp0=!item 2 of $val12 tmp1=!item $(tmp0) of $val14 val15=$(tmp1) choicename1=Respuesta choicegood1=$val15 choicebad1=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val7 et $val8 son dos números relativos diferentes de cero. ¿La expresión siguiente es verdadera sean cuales sean $val7 y $val8?
$val13.
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/intro.phtml0000644000175000017500000000026510340570421025355 0ustar georgeskgeorgesk!header !read Exindex Este módulo agrupa por el momento $exototal ejercicios sobre el cálculo con números relativos y las prioridades en el cálculo. !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/Exindex0000644000175000017500000000076610340570422024512 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of quizz,calcdec,calcprio1,calcprio2,calcZ,calcment,nbreabs,prodsom,signprodfacteurs,inco,parentheses,substition,subsprio,quizzvoc, !set titlelist=!char 1 to -2 of Acertijo sobre incógnitas,Cálculo decimal,Cálculo de prioridad 1,Cálculo de prioridad 2,Cálculo Z,Clc Mental reglas * +,Número ausente,Producto o suma,Signo del producto de enteros,Símbolo ausente,Suprimir paréntesis,Sustitución,Sustitución-prioridad,Vocabulario * + número, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/Extitles0000644000175000017500000000062210340570422024676 0ustar georgeskgeorgeskcalcZ:Cálculo Z calcdec:Cálculo decimal calcment:Clc Mental reglas * + calcprio1:Cálculo de prioridad 1 calcprio2:Cálculo de prioridad 2 inco:Símbolo ausente nbreabs:Número ausente parentheses:Suprimir paréntesis prodsom:Producto o suma quizz:Acertijo sobre incógnitas quizzvoc:Vocabulario * + número signprodfacteurs:Signo del producto de enteros subsprio:Sustitución-prioridad substition:Sustitución wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/var.proc0000644000175000017500000000030610340570421024625 0ustar georgeskgeorgesk# Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 class_importation=no common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/about.phtml0000644000175000017500000000005310340570422025330 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/main.phtml0000644000175000017500000000003110340570421025135 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/INDEX0000644000175000017500000000101410340570421023737 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF cálculo 2 description=cálculo con los números relativos. language=es category=exercise, oef domain=algebra level=H2,H3 keywords=Números relativos,calcul,cálculo require= scoring=yes copyright=© 2003 (GNU GPL) 2004 author=Fabrice Guerimand address=fwguerima@free.fr version=1.02 wims_version=3.44 vardef=oef/var.def translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/README0000644000175000017500000000047610340570422024041 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Modify the link proc if necessary. 5. Install source files. 6. Run the script mkindex. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/0000755000175000017500000000000010771676702023761 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/parentheses.oef0000644000175000017500000000160610340570421026757 0ustar georgeskgeorgesk\title{Suprimir paréntesis} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(1..15)} \integer{b=random(1..15)} \integer{c=random(1..15)} \matrix{don=\a+(\b+\c),\a+\b+\c,\a+(\b+\c)=\a+\b+\c=\a+\b+\c \a+(\b-\c),\a+\b-\c,\a+(\b-\c)=\a+\b-\c \a-(\b+\c),\a-\b-\c,\a-(\b+\c)=\a-(\b)-(+\c)=\a-\b-\c \a-(\b-\c),\a-\b+\c,\a-(\b-\c)=\a-(\b)-(-\c)=\a-\b+\c \a+(-\b+\c),\a-\b+\c,\a+(-\b+\c)=\a-\b+\c \a+(-\b-\c),\a-\b-\c,\a+(-\b-\c)=\a-\b-\c \a-(-\b+\c),\a+\b-\c,\a-(-\b+\c)=\a-(-\b)-(+\c)=\a+\b-\c \a-(-\b-\c),\a+\b+\c,\a-(-\b-\c)=\a-(-\b)-(-\c)=\a+\b+\c} \integer{n=random(1..8)} \text{list=row(\n,\don)} \text{enonce=item(1,\list)} \text{rep=item(2,\list)} \text{sol=item(3,\list)} \statement{Reescribir sin los paréntesis la expresión: \(\enonce).} \answer{Respuesta}{\rep}{type=litexp} \solution{\(\sol)} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/prodsom.oef0000644000175000017500000000127610340570421026124 0ustar georgeskgeorgesk\title{Producto o suma} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(2..10)} \integer{b=random(2..10)} \integer{c=random(2..10)} \integer{d=random(2..10)} \text{bad=una suma,un producto} \matrix{don=\a \times \b,2 \a+\b,1 \a\times\b+\c,1 \a\times(\b+\c),2 \a+\b\times\c,1 (\a+\b)\times\c,2 (\a+\b)\times(\c+\d),2 \a+\b\times\c+\d,1 \a+\b\times(\c+\d),1} \integer{no=random(1..9)} \text{don=row(\no,\don)} \text{enonce=item(1,\don)} \text{good=item(item(2,\don),\bad)} \statement{Complete la expresión:
\(\enonce) es \embed{reply 1}
} \reply{Respuesta}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/calcment.oef0000644000175000017500000000107610340570421026225 0ustar georgeskgeorgesk\title{Clc Mental reglas * +} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \text{a=random(0,(-1),1,0.1,(-0.1))} \integer{b1=random(1..100)} \integer{b2=random(1..100)} \text{b=random(\b1.\b2,\b1,-\b1,-\b1.\b2)} \integer{n=random(1,2)} \text{symb=\times,+} \text{symb=item(\n,\symb)} \text{symbc=*,+} \text{symbc=item(\n,\symbc)} \text{enonce=random(\b\symb\a,\a\symb\b)} \text{rep=simplify(\a\symbc\b)} \statement{Calcular rápidemente \(\enonce).} \answer{Respuesta}{\rep}{type=numexp} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/signprodfacteurs.oef0000644000175000017500000000210010340570421030006 0ustar georgeskgeorgesk\title{Signo del producto de enteros} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a1=random(2..100)} \integer{sa1=random(1,-1)} \integer{b1=\sa1*\a1} \text{b1=\sa1=1?\b1:(\b1)} \integer{a2=random(2..10)} \integer{sa2=random(1,-1)} \integer{b2=\sa2*\a2} \text{b2=\sa2=1?\b2:(\b2)} \integer{a3=random(2..100)} \integer{sa3=random(1,-1)} \integer{b3=\sa3*\a3} \text{b3=\sa3=1?\b3:(\b3)} \integer{a4=random(2..1000)} \integer{sa4=random(1,-1)} \integer{b4=\sa4*\a4} \text{b4=\sa4=1?\b4:(\b4)} \integer{a5=random(2..10)} \integer{sa5=random(1,-1)} \integer{b5=\sa5*\a5} \text{b5=\sa5=1?\b5:(\b5)} \integer{a6=random(2..100)} \integer{sa6=random(1,-1)} \integer{b6=\sa6*\a6} \text{b6=\sa6=1?\b6:(\b6)} \integer{sg=\sa1*\sa2*\sa3*\sa4*\sa5*\sa6} \text{bad1=Positivo,Negativo} \text{good1=\sg>0?item(1,\bad1):item(2,\bad1)} \statement{¿Cuál es el signo del producto de factores siguiente?
\(\b1\times\b2\times\b3\times\b4\times\b5\times\b6).
} \choice{Respuesta}{\good1}{\bad1} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/substition.oef0000644000175000017500000000122110340570421026632 0ustar georgeskgeorgesk\title{Sustitución} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a1=random(2..10)} \integer{sa=random(1,-1)} \integer{a=\sa*\a1} \integer{b1=random(2..10)} \integer{sb=random(1,-1)} \integer{b=\sb*\b1} \integer{c=random(-10..-2)} \text{inc=random(x,y,a,b)} \matrix{don=\ax+\b \b+\ax} \text{enonce=random(\a \inc+\b,\b+\a \inc)} \integer{rep=\a*\c+\b} \text{s1=wims(replace \inc by \times(\c) in \enonce)} \text{sol=\enonce=\s1=\rep} \statement{Calcular la expresión \(\enonce) cuando \(\inc) vale \c.} \answer{Respuesta}{\rep}{type=numexp} \solution{\(\sol)} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/calcprio1.oef0000644000175000017500000000130110340570421026303 0ustar georgeskgeorgesk\title{Cálculo de prioridad 1} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(2..15)} \integer{b=random(2..15)} \integer{c=random(2..15)} \matrix{don=(-\a)-(-\b)\times \c,(-\a)-(-\b)*\c (-\a)\times\b+\c,-\a*\b+\c (-\a)\times(+\b)+(-\c),-\a*(+\b)+(-\c) (-\a)-\b-\c,(-\a)-\b-\c (-\a)-(\b-\c),(-\a)-(\b-\c) \a-\b\times(-\c),\a-\b*(-\c) \a\times(\b-\c),\a*(\b-\c) \a\times(-\b)-\c,\a*(-\b)-\c} \integer{n=random(1..8)} \text{list=row(\n,\don)} \text{enonce=item(1,\list)} \integer{result=item(2,\list)} \statement{Efectuar el cálculo siguiente: \(\enonce).

} \answer{Respuesta}{\result}{type=numexp} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/quizzvoc.oef0000644000175000017500000000163110340570421026326 0ustar georgeskgeorgesk\title{Vocabulario * + número} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(1..10)} \integer{b=random(-\a,\a)} \text{bad=una suma,un producto,un término,un factor,la distancia a cero} \matrix{don=(Cuando se suman dos números, cada número es),3,( de la suma.) (El resultado de una multiplicación es ),2,(.) (Cuando se multiplica dos números, cada número es),4,(del producto.) (El resultado de una adición es),1,(.) (\a es),5,(de \b)} \integer{no=random(1..5)} \text{don=row(\no,\don)} \text{enonce1=item(1,\don)} \text{enonce1=wims(declosing \enonce1)} \integer{nogood=item(2,\don)} \text{good=item(\nogood,\bad)} \text{enonce2=item(3,\don)} \text{enonce2=wims(declosing \enonce2)} \statement{Complete la expresión:

\enonce1 \embed{reply 1} \enonce2
} \answer{Respuesta}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/quizz.oef0000644000175000017500000000234510340570421025621 0ustar georgeskgeorgesk\title{Acertijo sobre incógnitas} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \matrix{listinc=a,b,c x,y,z u,v,w} \text{listinc=row(random(1,2,3),\listinc)} \text{a1=item(1,\listinc)} \text{a2=item(2,\listinc)} \text{a3=item(3,\listinc)} \matrix{don=La suma \a1 + \a1 es siempre del signo de \a1,1 El producto \(\a1 \times \a1) es siempre del signo de \a1,2 El producto \(-\a1 \times \a1) es siempre negativo,1 El producto \(\a1 \times \a2) es siempre positivo,2 Si el producto \(\a1 \times \a2) es positivo entonces la suma \a1+\a2 lo es también,2 Si el producto \(\a1 \times \a2) es negativo entonces la suma \a1+\a2 es siempre negativa,2 El producto \(\a1 \times \a2 \times \a1 \times \a2) es siempre positivo,1 El producto \(-\a1 \times \a2 \times \a1 \times \a2) es siempre negativo,1 -\a1 es siempre negativo,2} \integer{n=random(1..9)} \text{list=row(\n,\don)} \text{enonce=item(1,\list)} \text{bad=Sí es verdadera, Es falsa} \text{good=item(item(2,\list),\bad)} \statement{\a1 et \a2 son dos números relativos diferentes de cero. ¿La expresión siguiente es verdadera sean cuales sean \a1 y \a2?
\enonce.
} \choice{Respuesta}{\good}{\bad} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/calcprio2.oef0000644000175000017500000000151710340570421026315 0ustar georgeskgeorgesk\title{Cálculo de prioridad 2} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(2..15)} \integer{b=random(2..15)} \integer{c=random(2..15)} \integer{d=random(2..15)} \matrix{don=(-\a)-(-\b)\times \c-\d,(-\a)-(-\b)*\c-\d (-\a)\times\b+\c\times\d,(-\a)*\b+\c*\d (-\a)\times(+\b)+(-\c)-\d,(-\a)*(+\b)+(-\c)-\d (-\a)-\b-\c+\d,(-\a)-\b-\c+\d (-\a)-(\b-\c)\times\d,(-\a)-(\b-\c)*\d \a-\b\times(-\c)-\d,\a-\b*(-\c)-\d \a\times(\b-\c)-(-\d),\a*(\b-\c)-(-\d) \a\times(-\b)-\c\times\d,\a*(-\b)-\c*\d \a\times((-\b)-\c\times\d),\a*((-\b)-\c*\d)} \integer{n=random(1..9)} \text{list=row(\n,\don)} \text{enonce=item(1,\list)} \integer{result=item(2,\list)} \statement{Efectuar el cálculo siguiente: \(\enonce).

} \answer{Respuesta}{\result}{type=numexp} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/inco.oef0000644000175000017500000000104710340570421025365 0ustar georgeskgeorgesk\title{Símbolo ausente} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(-1,1)*random(2..15)} \integer{b=random(-1,1)*random(2..15)} \integer{b=(\a>0 and \b>0)?-\b} \integer{ch=random(1..3)} \text{bad=-,+,\(\times)} \text{good=item(\ch,\bad)} \text{sg=-,+,*} \text{sg=item(\ch,\sg)} \integer{res=(\a)\sg(\b)} \statement{Completar el cálculo siguiente:

(\a)\embed{reply 1}(\b)=\res.
} \answer{Respuesta}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/calcdec.oef0000644000175000017500000000103510340570421026010 0ustar georgeskgeorgesk\title{Cálculo decimal} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10} \integer{a1=random(1..10)} \integer{b1=random(1..10)} \integer{a2=random(0..10)} \integer{b2=random(0..10)} \text{a=\a2=0?\a1:\a1.\a2} \text{b=\b2=0?\b1:\b1.\b2} \text{e1=random(-\a,\a)} \text{e2=random(+\b,-\b,-(-\b))} \text{rep=maxima(\e1\e2;)} \statement{Calcule \(\e1\e2):} \answer{Respuesta}{\rep}{type=numexp} \solution{\if{\e2=-(-\b)} {\(\e1\e2=\e1+\b=\rep)} {\(\e1\e2=\rep)}} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/calcZ.oef0000644000175000017500000000064610340570421025475 0ustar georgeskgeorgesk\title{Cálculo Z} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(1..10)} \integer{b=random(1..10)} \text{e1=random(-\a,\a)} \text{e2=random(+\b,-\b,-(-\b))} \integer{rep=\e1\e2} \statement{Calcule \(\e1\e2):} \answer{Respuesta}{\rep}{type=numexp} \solution{\if{\e2=-(-\b)} {\(\e1\e2=\e1+\b=\rep)} {\(\e1\e2=\rep)}} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/subsprio.oef0000644000175000017500000000164110340570421026303 0ustar georgeskgeorgesk\title{Sustitución-prioridad} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(-1,1)*random(2..15)} \integer{b=random(-1,1)*random(2..15)} \integer{c=random(-1,1)*random(2..15)} \matrix{listinc=a,b,c x,y,z u,v,w} \text{listinc=row(random(1,2,3),\listinc)} \text{a1=item(1,\listinc)} \text{a2=item(2,\listinc)} \text{a3=item(3,\listinc)} \matrix{don=\a1\a2+\a3,(\a)*(\b)+(\c) \a1+\a2\a3,(\a)+(\b)*(\c) \a1(\a2+\a3),(\a)*(\b+(\c)) (\a1+\a2)\a3,(\a+(\b))*(\c) \a1\a2-\a3,(\a)*(\b)-(\c) \a1-\a2\a3,(\a)-(\b)*(\c) \a1(\a2-\a3),(\a)*(\b-(\c)) (\a1-\a2)\a3,(\a-(\b))*(\c)} \integer{n=random(1..8)} \text{list=row(\n,\don)} \text{enonce=item(1,\list)} \integer{result=item(2,\list)} \statement{Para \(\a1=\a , \a2=\b , \a3=\c), calcular la expresión siguiente:
\(\enonce).
} \answer{Respuesta}{\result}{type=numexp} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/src/nbreabs.oef0000644000175000017500000000107310340570421026050 0ustar georgeskgeorgesk\title{Número ausente} \language{es} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100} \integer{a=random(-1,1)*random(2..12)} \integer{b=random(-1,1)*random(2..12)} \integer{b=(\a>0 and \b>0)?-\b} \text{symb=random(-,+,*)} \integer{res=(\a)\symb(\b)} \integer{choix=random(1,2)} \integer{\goodrep=\choix=1?\a:\b} \statement{Encontrar el número que falta:
\if{\choix=1} {\embed{reply 1,5}\symb(\b)=\res.} {(\a)\symb\embed{reply 1,5}=\res.}
} \answer{Respuesta}{\goodrep}{type=numexp} wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/endhook.phtml0000644000175000017500000000010510340570421025642 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. wims-modules-es-3.64.orig/modules/H2/algebra/oefcalc.es/help.phtml0000644000175000017500000000005210340570422025145 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/0000755000175000017500000000000010340567674024074 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/0000755000175000017500000000000010771676336024636 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/eqconst6.def0000644000175000017500000000646110340567674027063 0ustar georgeskgeorgesk!set title=Construcción de la igualdad 6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=27 postvarcnt=3 replycnt=4 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(6)] val7=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val10 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!translate internal / to , in $(val9[1]) val17=$(tmp0) tmp0=!translate internal / to , in $(val9[2]) val18=$(tmp0) tmp0=!translate internal / to , in $val10 val10=$(tmp0) tmp0=!rows2lines $val10 tmp1=!lines2items $(tmp0) val10=$(tmp1) tmp0=!listuniq $val10 val10=$(tmp0) tmp0=!listcomplement $val17,$val18 in $val10 val10=$(tmp0) val19=
val20= val21= !if $val6>4 tmp0=!shuffle $val10 tmp1=!item 1 to $val6-4 of $(tmp0) val10=,$(tmp1) tmp0=!replace internal , by $val21,$val20 in $val20$val10$val21 val10=$(tmp0) !else val10= !endif val22=50x40x1 replytype1=dragfill replyname1=Numerador 1 replygood1=?analyze 23;$val20$(val17[1])$val21 $val10 replytype2=dragfill replyname2=Denominador 1 replygood2=?analyze 24;$val20$(val17[2])$val21 replytype3=dragfill replyname3=Numerador 2 replygood3=?analyze 25;$val20$(val18[1])$val21 replytype4=dragfill replyname4=Denominador 2 replygood4=?analyze 26;$val20$(val18[2])$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Construye dos facciones iguales a partir de los números dados más abajo.

!read oef/embed.phtml reply 1,$val22 $() $val20  =  $val21 !read oef/embed.phtml reply 3,$val22 $()
$val19 $val19
!read oef/embed.phtml reply 2,$val22 $() !read oef/embed.phtml reply 4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal $val20 by in $val23,$val24,$val25,$val26 val27=$(tmp0) tmp0=!replace internal $val21 by in $val27 val27=$(tmp0) val28=$[rint($(val27[1])*$(val27[4])-$(val27[2])*$(val27[3]))] !exit :feedback !exit :test !ifval ? notin $val27 and $(val27[1])*$(val27[2])*$(val27[3])*$(val27[4])>0 and $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=\($(val27[1])/($(val27[2])) = $(val27[3])/($(val27[4]))) !exit :stat vsavelist=19,20,21,22,23,24,25,26 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/guidadd.def0000644000175000017500000001744610340567674026727 0ustar georgeskgeorgesk!set title=Suma guiada !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 computeanswer=no ansorder=r,r,r,r,r,r,r,r,r,r,r,r varcnt=30 prevarcnt=24 postvarcnt=5 replycnt=12 choicecnt=0 conditioncnt=2 feedbackcnt=8 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randitem 8,9,10,12,14,15,16 val6=$[rint($(tmp0))] tmp0=!randint $val6/2+1, $val6-1 tmp1=!randint $val6+1, 2*$val6-1 tmp2=!randitem $(tmp0),$(tmp1) val7=$[rint($(tmp2))] tmp0=!randint 2, 1.5*$val6 val8=$[rint($(tmp0))] !ifval gcd($val8,$val6)>1 val8=$[rint($val8+1)] !endif tmp0=!randint 2, 1.5*$val7 val9=$[rint($(tmp0))] !ifval gcd($val9,$val7)>1 val9=$[rint($val9+1)] !endif val10=
val11= val12=$[rint(0)] val13= val14= val15=sólo el numerador,sólo el denominador, el numerador y el denominador tmp0=!randitem Reescribir las dos fracciones para que tengan el mismo denominador, Igualar el denominador de las dos fracciones val16=$(tmp0) val17=$val16, Reescribir las dos fracciones para que tengan el mismo numerador, Sumar los numeradores primero, Sumar los denominadores primero, Sumar los numeradores y multiplicar los denominadores, Multiplicar los numeradores tmp0=!itemcnt $val17 val18=$[rint($(tmp0))] tmp0=!shuffle $val18 val19=$(tmp0) tmp0=!positionof item 1 in $val19 val20=$[rint($(tmp0))] tmp0=!item $val19 of $val17 val17=$(tmp0) val21=Sumar los numeradores y guardar el denominador común, Sumar separadamente los numeradores y los denominadores tmp0=!itemcnt $val21 val22=$[rint($(tmp0))] tmp0=!shuffle $val22 val23=$(tmp0) tmp0=!positionof item 1 in $val23 val24=$[rint($(tmp0))] tmp0=!item $val23 of $val21 val21=$(tmp0) val25=r1 dynsteps=yes oefsteps=$val25 nextstep=!nosubst $val25 !readproc oef/steps.proc replytype1=click replyname1=Método etapa 1 replygood1=$val20;$val17 replytype2=menu replyname2=Objetos que hay que multiplicar 1 replygood2=3;$val15 replytype3=numeric replyname3=Multiplicador 1 replygood3=?analyze 26 replytype4=menu replyname4=Objetos que hay que multiplicar 2 replygood4=3;$val15 replytype5=numeric replyname5=Multiplicador 2 replygood5=?analyze 27 replytype6=numeric replyname6=Nuevo numerador 1 replygood6=?analyze 28 replytype7=numeric replyname7=Nuevo denominador 1 replygood7=?analyze 29 replytype8=numeric replyname8=Nuevo numerador 2 replygood8=?analyze 30 replytype9=numeric replyname9=Nuevo denominador 2 replygood9=?analyze 31 replytype10=click replyname10=Método etapa 2 replygood10=$val24;$val21 replytype11=numeric replyname11=Numerador de la suma replygood11=?analyze 32 replytype12=numeric replyname12=Denominador de la suma replygood12=?analyze 33 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcula la siguiente suma.

!insmath $val8/($val6) + $val9/($val7) $()

!if $m_step=1 $() Elige el método inicial:

    !for m_k=1 to $val18 $()
  • !read oef/embed.phtml r1,\k $() !next $()
!exit {} !endif $() !if $m_step=2 or $val12<1 $() Etapa 1. Igualar los denominadores de las fracciones.

Multiplicando !read oef/embed.phtml r2 $() de !insmath $val8/($val6) $() por !read oef/embed.phtml r3,3 $(), se obtiene

$val8 $val13=$val14  !read oef/embed.phtml r6,3 $()
$val10$val10
$val6 !read oef/embed.phtml r7,3 $()

Multiplicando !read oef/embed.phtml r4 $() de !insmath $val9/($val7) $() por !read oef/embed.phtml r5,3 $(), se obtiene

$val9 $val13=$val14  !read oef/embed.phtml r8,3 $()
$val10$val10
$val7 !read oef/embed.phtml r9,3 $()

!exit {} !endif $() Etapa 1. Se tiene !insmath $val8/($val6) = $(val11[1])/($(val11[2])) $() y !insmath $val9/($val7) = $(val11[3])/($(val11[4])) $(), luego la suma es

!insmath $(val11[1])/($(val11[2])) + $(val11[3])/($(val11[4])) $() .

!if $m_step=3 $() ¿Cuál es la siguiente etapa?

    !for m_k=1 to $val22 $()
  • !read oef/embed.phtml r10,\k $() !next $()
!exit {} !endif $() Etapa 2. Sumamos los numeradores y guardamos el denominador común, luego la suma es

$val8   $val13+$val14   $val9    $val13=$val14    $(val11[1])   $val13+$val14   $(val11[3])    $val13=$val14    !read oef/embed.phtml r11,4 $()
$val10$val10$val10$val10$val10
$val6 $val7 $(val11[2]) $(val11[4]) !read oef/embed.phtml r12,4 $()

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef !if $m_step=2 val25=r2,r3,r4,r5,r6,r7,r8,r9 !endif !ifval $val12<1 and $val26>0 and $val26=floor($val26) and $val27>0 and $val27=floor($val27) and $val28=$val8*$val26 and $val29=$val6*$val26 and $val30=$val9*$val27 and $val31=$val7*$val27 and $val29=$val31 val12=1 !endif !if $val12>0 val11=$val28,$val29,$val30,$val31 !endif !if $m_step=3 and $val12>0 val25=r10 !endif !if $m_step=4 val25=r11,r12 !endif !exit :feedback !ifval $m_step=1 and $m_reply1 notsametext ~$val20

Las dos fracciones tienen denominadores diferentes. No podemos sumarlas directamente; es necesario reescribirlas para igualar su denominador. $() !endif !ifval $m_step=2 and ($m_reply2 notsametext ~3 or $m_reply4 notsametext ~3)

Para que una fracción siga siendo la misma, es necesario multiplicar su numerador y denominador por el mismo número. $() !endif !ifval $m_step=3 and ($val26=0 or $val27=0)

¡No puedes multiplicar el numerador y el denominador de una fracción por 0!

Vous obtiendriez une ``fraction'' !insmath 0/(0) $(), qui n'a pas de sens. $() !endif !ifval $m_step=3 and ($val26<0 or $val27<0)

Lo siento pero en este ejercicio no está permitido multiplicar por números negativos. $() !endif !ifval $m_step=3 and $val26>0 and $val27>0 and (\floor($val26)!=$val26 or \floor($val27)!=$val27)

Debes multiplicar el numerador y el denominador de una fracción por un entero. $() !endif !ifval $m_step=3 and $val29=$val6*$val26 and $val31=$val7*$val27 and $val29!=$val31

El objetivo es igualar el denominador de las fracciones. Las multiplicaciones que has realizado no producen este resultado, ya que las fracciones producidas tienen denominadores diferentes. Multiplicaciones equivocadas. $() !endif !ifval $m_step=3 and ($val29!=$val6*$val26 or $val28!=$val8*$val26 or $val31!=$val7*$val27 or $val30!=$val9*$val27)

Error de cálculo en las multiplicaciones. $() !endif !ifval $m_step=3 and $m_reply10 notsametext ~$val24

Para sumar dos fracciones con el mismo denominador, se suman los numeradores y se guarda el denominador común. $() !endif !exit :test !ifval $val12>0 condtest1=1 !else condtest1=0 !endif condname1=Las multiplicaciones son correctas !ifval $val12>0 and $val32=$val28+$val30 and $val33=$val29 condtest2=1 !else condtest2=0 !endif condname2=La suma está bien !exit :stat vsavelist=6,7,8,9,10,11,12,13,14,18,20,22,24,26,27,28,29,30,31,32,33 embedcnt=12 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/corrinv4.def0000644000175000017500000000345110340567674027063 0ustar georgeskgeorgesk!set title=Correspondencia inversa 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=22 prevarcnt=21 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(4)] val7=1,2,3,4,5,6,8,9,10,12 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val9 tmp1=!shuffle $(tmp0) val17=$(tmp1) tmp0=!translate internal / to , in $(val10[$(val17[1..$val6]);1,2]) val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!append item \($(val18[$val21;1])/($(val18[$val21;2]))) to $val19 val19=$(tmp0) tmp0=!append item \($(val18[$val21;4])/($(val18[$val21;3]))) to $val20 val20=$(tmp0) !next val22=50x50x50 replytype1=correspond replyname1=La correspondencia replygood1=$val19;$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia entre las fracciones y sus inversas.

!read oef/embed.phtml reply 1,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/eqconst10.def0000644000175000017500000000646310340567674027140 0ustar georgeskgeorgesk!set title=Construcción de la igualdad 10 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=27 postvarcnt=3 replycnt=4 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(10)] val7=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val10 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!translate internal / to , in $(val9[1]) val17=$(tmp0) tmp0=!translate internal / to , in $(val9[2]) val18=$(tmp0) tmp0=!translate internal / to , in $val10 val10=$(tmp0) tmp0=!rows2lines $val10 tmp1=!lines2items $(tmp0) val10=$(tmp1) tmp0=!listuniq $val10 val10=$(tmp0) tmp0=!listcomplement $val17,$val18 in $val10 val10=$(tmp0) val19=
val20= val21= !if $val6>4 tmp0=!shuffle $val10 tmp1=!item 1 to $val6-4 of $(tmp0) val10=,$(tmp1) tmp0=!replace internal , by $val21,$val20 in $val20$val10$val21 val10=$(tmp0) !else val10= !endif val22=50x40x1 replytype1=dragfill replyname1=Numerador 1 replygood1=?analyze 23;$val20$(val17[1])$val21 $val10 replytype2=dragfill replyname2=Denominador 1 replygood2=?analyze 24;$val20$(val17[2])$val21 replytype3=dragfill replyname3=Numerador 2 replygood3=?analyze 25;$val20$(val18[1])$val21 replytype4=dragfill replyname4=Denominador 2 replygood4=?analyze 26;$val20$(val18[2])$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Construye dos facciones iguales a partir de los números dados más abajo.

!read oef/embed.phtml reply 1,$val22 $() $val20  =  $val21 !read oef/embed.phtml reply 3,$val22 $()
$val19 $val19
!read oef/embed.phtml reply 2,$val22 $() !read oef/embed.phtml reply 4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal $val20 by in $val23,$val24,$val25,$val26 val27=$(tmp0) tmp0=!replace internal $val21 by in $val27 val27=$(tmp0) val28=$[rint($(val27[1])*$(val27[4])-$(val27[2])*$(val27[3]))] !exit :feedback !exit :test !ifval ? notin $val27 and $(val27[1])*$(val27[2])*$(val27[3])*$(val27[4])>0 and $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=\($(val27[1])/($(val27[2])) = $(val27[3])/($(val27[4]))) !exit :stat vsavelist=19,20,21,22,23,24,25,26 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq3b.def0000644000175000017500000000701010340567674027162 0ustar georgeskgeorgesk!set title=Fracciones iguales IIIb !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=32 prevarcnt=25 postvarcnt=6 replycnt=6 choicecnt=0 conditioncnt=3 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=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 3,2,2,1,1, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 3 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_3*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) replytype3=dragfill replyname3=Fracción 3 replygood3=?analyze 26;$(val20[3]) replytype4=dragfill replyname4=Fracción 4 replygood4=?analyze 27;$(val20[4]) replytype5=dragfill replyname5=Fracción 5 replygood5=?analyze 28;$(val20[5]) replytype6=dragfill replyname6=Fracción 6 replygood6=?analyze 29;$(val20[6]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Primer par: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
Segundo par: !read oef/embed.phtml r3,$val22 $() = !read oef/embed.phtml r4,$val22 $()
Tercer par: !read oef/embed.phtml r5,$val22 $() = !read oef/embed.phtml r6,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30= tmp0=!replace internal \over by / in $val24,$val25,$val26,$val27,$val28,$val29 val31=$(tmp0) tmp0=!text select /1234567890, in $val31 val31=$(tmp0) t_=!replace internal \( by ( in ($(val31[1]))-($(val31[2])) tmp0=!exec pari $t_ val32=$(tmp0) t_=!replace internal \( by ( in ($(val31[3]))-($(val31[4])) tmp0=!exec pari $t_ val33=$(tmp0) t_=!replace internal \( by ( in ($(val31[5]))-($(val31[6])) tmp0=!exec pari $t_ val34=$(tmp0) !exit :feedback !exit :test !ifval $val32 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val30 !ifval $val33 issametext 0 condtest2=1 !else condtest2=0 !endif condname2=$val26 = $val27 $val30 !ifval $val34 issametext 0 condtest3=1 !else condtest3=0 !endif condname3=$val28 = $val29 $val30 !exit :stat vsavelist=22,23,24,25,26,27,28,29 embedcnt=6 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/corrinv3.def0000644000175000017500000000345110340567674027062 0ustar georgeskgeorgesk!set title=Correspondencia inversa 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=22 prevarcnt=21 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(3)] val7=1,2,3,4,5,6,8,9,10,12 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val9 tmp1=!shuffle $(tmp0) val17=$(tmp1) tmp0=!translate internal / to , in $(val10[$(val17[1..$val6]);1,2]) val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!append item \($(val18[$val21;1])/($(val18[$val21;2]))) to $val19 val19=$(tmp0) tmp0=!append item \($(val18[$val21;4])/($(val18[$val21;3]))) to $val20 val20=$(tmp0) !next val22=50x50x50 replytype1=correspond replyname1=La correspondencia replygood1=$val19;$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia entre las fracciones y sus inversas.

!read oef/embed.phtml reply 1,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/missnuminv.def0000644000175000017500000000562510340567674027532 0ustar georgeskgeorgesk!set title=Numerador ignorado inverso !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=32 prevarcnt=31 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=numerador tmp0=!randitem 1,3 val7=$(tmp0) val8=× val9=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val9 val10=$[rint($(tmp0))] val11=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val12= !for val13 in $val11 tmp0=!translate / to , in $val13 val14=$(tmp0) tmp0=!values $(val14[1])*x for x in $val9 val15=$(tmp0) tmp0=!values $(val14[2])*x for x in $val9 val16=$(tmp0) val17= !for val18 =1 to $val10 tmp0=!append item $(val15[$val18])/$(val16[$val18]) to $val17 val17=$(tmp0) !next tmp0=!shuffle $val17 tmp=!trim $val12 $(tmp0) val12=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!translate internal / to , in $(val11[1]) val19=$(tmp0) tmp0=!translate internal / to , in $(val11[2]) val20=$(tmp0) !if $val8 issametext × val20=$(val20[2,1]) !endif !if $val8 issametext + val21=$[rint(min($(val19[1]),$(val19[2])))] val22=$[rint(max($(val19[1]),$(val19[2])))] val23=$[rint(max($(val20[1]),$(val20[2])))] val24=$[rint(($val22-$val21)*$val23/$val22)] val19=$val21,$val22 val20=$val24,$val23 !endif tmp0=!item $val7 of $val19,$val20 val25=$(tmp0) val26=
val27=60 val28= val29= val30=2 replytype1=numeric replyname1=El $val6 replygood1=$[$val25] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellena el $val6 siguiente para establecer la igualdad:

$val28 !if $val7=1 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[1]) !endif $()$val29 $val28  $val8  $val29 $val28 !if $val7=3 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[1]) !endif $()$val29 $val28  =  1$val29
$val26 $val26
$val28 !if $val7=2 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[2]) !endif $()$val29 $val28 !if $val7=4 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[2]) !endif $()$val29
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,19,20,26,27,28,29,30 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq2b.def0000644000175000017500000000603710340567674027171 0ustar georgeskgeorgesk!set title=Fracciones iguales IIb !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=25 postvarcnt=5 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 val6=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 2,2,1,1,1,1, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 2 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_2*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) replytype3=dragfill replyname3=Fracción 3 replygood3=?analyze 26;$(val20[3]) replytype4=dragfill replyname4=Fracción 4 replygood4=?analyze 27;$(val20[4]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Primer par: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
Segundo par: !read oef/embed.phtml r3,$val22 $() = !read oef/embed.phtml r4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val28= tmp0=!replace internal \over by / in $val24,$val25,$val26,$val27,\o5,\o6 val29=$(tmp0) tmp0=!text select /1234567890, in $val29 val29=$(tmp0) t_=!replace internal \( by ( in ($(val29[1]))-($(val29[2])) tmp0=!exec pari $t_ val30=$(tmp0) t_=!replace internal \( by ( in ($(val29[3]))-($(val29[4])) tmp0=!exec pari $t_ val31=$(tmp0) !exit :feedback !exit :test !ifval $val30 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val28 !ifval $val31 issametext 0 condtest2=1 !else condtest2=0 !endif condname2=$val26 = $val27 $val28 !exit :stat vsavelist=22,23,24,25,26,27 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq2a.def0000644000175000017500000000603110340567674027162 0ustar georgeskgeorgesk!set title=Fracciones iguales IIa !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=25 postvarcnt=5 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 val6=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 3,2,1, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 2 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_2*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) replytype3=dragfill replyname3=Fracción 3 replygood3=?analyze 26;$(val20[3]) replytype4=dragfill replyname4=Fracción 4 replygood4=?analyze 27;$(val20[4]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Primer par: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
Segundo par: !read oef/embed.phtml r3,$val22 $() = !read oef/embed.phtml r4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val28= tmp0=!replace internal \over by / in $val24,$val25,$val26,$val27,\o5,\o6 val29=$(tmp0) tmp0=!text select /1234567890, in $val29 val29=$(tmp0) t_=!replace internal \( by ( in ($(val29[1]))-($(val29[2])) tmp0=!exec pari $t_ val30=$(tmp0) t_=!replace internal \( by ( in ($(val29[3]))-($(val29[4])) tmp0=!exec pari $t_ val31=$(tmp0) !exit :feedback !exit :test !ifval $val30 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val28 !ifval $val31 issametext 0 condtest2=1 !else condtest2=0 !endif condname2=$val26 = $val27 $val28 !exit :stat vsavelist=22,23,24,25,26,27 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq1c.def0000644000175000017500000000510110340567674027160 0ustar georgeskgeorgesk!set title=Fracciones iguales Ic !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=30 prevarcnt=25 postvarcnt=4 replycnt=2 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=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 2,1,1,1,1, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 1 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_1*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Las fracciones idénticas: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val26= tmp0=!replace internal \over by / in $val24,$val25,\o3,\o4,\o5,\o6 val27=$(tmp0) tmp0=!text select /1234567890, in $val27 val27=$(tmp0) t_=!replace internal \( by ( in ($(val27[1]))-($(val27[2])) tmp0=!exec pari $t_ val28=$(tmp0) !exit :feedback !exit :test !ifval $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val26 !exit :stat vsavelist=22,23,24,25 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/missden.def0000644000175000017500000000500410340567674026753 0ustar georgeskgeorgesk!set title=Denominador ignorado !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=24 prevarcnt=23 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=denominador tmp0=!randitem 2,4 val7=$(tmp0) val8=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val8 val9=$[rint($(tmp0))] val10=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val11= !for val12 in $val10 tmp0=!translate / to , in $val12 val13=$(tmp0) tmp0=!values $(val13[1])*x for x in $val8 val14=$(tmp0) tmp0=!values $(val13[2])*x for x in $val8 val15=$(tmp0) val16= !for val17 =1 to $val9 tmp0=!append item $(val14[$val17])/$(val15[$val17]) to $val16 val16=$(tmp0) !next tmp0=!shuffle $val16 tmp=!trim $val11 $(tmp0) val11=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val10=$(tmp0) tmp0=!translate internal / to , in $(val10[1]) val18=$(tmp0) tmp0=!translate internal / to , in $(val10[2]) val19=$(tmp0) tmp0=!item $val7 of $val18,$val19 val20=$(tmp0) val21=
val22=60 val23= val24= val25=2 replytype1=numeric replyname1=El $val6 replygood1=$[$val20] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellena el $val6 siguiente para establecer la igualdad:

$val23 !if $val7=1 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val18[1]) !endif $()$val24 $val23  =  $val24 $val23 !if $val7=3 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val19[1]) !endif $()$val24
$val21 $val21
$val23 !if $val7=2 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val18[2]) !endif $()$val24 $val23 !if $val7=4 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val19[2]) !endif $()$val24
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,18,19,21,22,23,24,25 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/.htaccess0000644000175000017500000000001610340567674026425 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/correq4.def0000644000175000017500000000344310340567674026675 0ustar georgeskgeorgesk!set title=Correspondencia igualdad 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=22 prevarcnt=21 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(4)] val7=1,2,3,4,5,6,8,9,10,12 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val9 tmp1=!shuffle $(tmp0) val17=$(tmp1) tmp0=!translate internal / to , in $(val10[$(val17[1..$val6]);1,2]) val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!append item \($(val18[$val21;1])/($(val18[$val21;2]))) to $val19 val19=$(tmp0) tmp0=!append item \($(val18[$val21;3])/($(val18[$val21;4]))) to $val20 val20=$(tmp0) !next val22=50x50x50 replytype1=correspond replyname1=La correspondencia replygood1=$val19;$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia entre las fracciones iguales.

!read oef/embed.phtml reply 1,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq3a.def0000644000175000017500000000700410340567674027164 0ustar georgeskgeorgesk!set title=Fracciones iguales IIIa !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=32 prevarcnt=25 postvarcnt=6 replycnt=6 choicecnt=0 conditioncnt=3 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=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 2,2,2, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 3 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_3*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) replytype3=dragfill replyname3=Fracción 3 replygood3=?analyze 26;$(val20[3]) replytype4=dragfill replyname4=Fracción 4 replygood4=?analyze 27;$(val20[4]) replytype5=dragfill replyname5=Fracción 5 replygood5=?analyze 28;$(val20[5]) replytype6=dragfill replyname6=Fracción 6 replygood6=?analyze 29;$(val20[6]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Primer par: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
Segundo par: !read oef/embed.phtml r3,$val22 $() = !read oef/embed.phtml r4,$val22 $()
Tercer par: !read oef/embed.phtml r5,$val22 $() = !read oef/embed.phtml r6,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30= tmp0=!replace internal \over by / in $val24,$val25,$val26,$val27,$val28,$val29 val31=$(tmp0) tmp0=!text select /1234567890, in $val31 val31=$(tmp0) t_=!replace internal \( by ( in ($(val31[1]))-($(val31[2])) tmp0=!exec pari $t_ val32=$(tmp0) t_=!replace internal \( by ( in ($(val31[3]))-($(val31[4])) tmp0=!exec pari $t_ val33=$(tmp0) t_=!replace internal \( by ( in ($(val31[5]))-($(val31[6])) tmp0=!exec pari $t_ val34=$(tmp0) !exit :feedback !exit :test !ifval $val32 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val30 !ifval $val33 issametext 0 condtest2=1 !else condtest2=0 !endif condname2=$val26 = $val27 $val30 !ifval $val34 issametext 0 condtest3=1 !else condtest3=0 !endif condname3=$val28 = $val29 $val30 !exit :stat vsavelist=22,23,24,25,26,27,28,29 embedcnt=6 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/corrinv5.def0000644000175000017500000000345110340567674027064 0ustar georgeskgeorgesk!set title=Correspondencia inversa 5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=22 prevarcnt=21 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=1,2,3,4,5,6,8,9,10,12 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val9 tmp1=!shuffle $(tmp0) val17=$(tmp1) tmp0=!translate internal / to , in $(val10[$(val17[1..$val6]);1,2]) val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!append item \($(val18[$val21;1])/($(val18[$val21;2]))) to $val19 val19=$(tmp0) tmp0=!append item \($(val18[$val21;4])/($(val18[$val21;3]))) to $val20 val20=$(tmp0) !next val22=50x50x50 replytype1=correspond replyname1=La correspondencia replygood1=$val19;$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia entre las fracciones y sus inversas.

!read oef/embed.phtml reply 1,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/correq5.def0000644000175000017500000000344310340567674026676 0ustar georgeskgeorgesk!set title=Correspondencia igualdad 5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=22 prevarcnt=21 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=1,2,3,4,5,6,8,9,10,12 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val9 tmp1=!shuffle $(tmp0) val17=$(tmp1) tmp0=!translate internal / to , in $(val10[$(val17[1..$val6]);1,2]) val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!append item \($(val18[$val21;1])/($(val18[$val21;2]))) to $val19 val19=$(tmp0) tmp0=!append item \($(val18[$val21;3])/($(val18[$val21;4]))) to $val20 val20=$(tmp0) !next val22=50x50x50 replytype1=correspond replyname1=La correspondencia replygood1=$val19;$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia entre las fracciones iguales.

!read oef/embed.phtml reply 1,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/eqconst8.def0000644000175000017500000000646110340567674027065 0ustar georgeskgeorgesk!set title=Construcción de la igualdad 8 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=27 postvarcnt=3 replycnt=4 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(8)] val7=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val10 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!translate internal / to , in $(val9[1]) val17=$(tmp0) tmp0=!translate internal / to , in $(val9[2]) val18=$(tmp0) tmp0=!translate internal / to , in $val10 val10=$(tmp0) tmp0=!rows2lines $val10 tmp1=!lines2items $(tmp0) val10=$(tmp1) tmp0=!listuniq $val10 val10=$(tmp0) tmp0=!listcomplement $val17,$val18 in $val10 val10=$(tmp0) val19=
val20= val21= !if $val6>4 tmp0=!shuffle $val10 tmp1=!item 1 to $val6-4 of $(tmp0) val10=,$(tmp1) tmp0=!replace internal , by $val21,$val20 in $val20$val10$val21 val10=$(tmp0) !else val10= !endif val22=50x40x1 replytype1=dragfill replyname1=Numerador 1 replygood1=?analyze 23;$val20$(val17[1])$val21 $val10 replytype2=dragfill replyname2=Denominador 1 replygood2=?analyze 24;$val20$(val17[2])$val21 replytype3=dragfill replyname3=Numerador 2 replygood3=?analyze 25;$val20$(val18[1])$val21 replytype4=dragfill replyname4=Denominador 2 replygood4=?analyze 26;$val20$(val18[2])$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Construye dos facciones iguales a partir de los números dados más abajo.

!read oef/embed.phtml reply 1,$val22 $() $val20  =  $val21 !read oef/embed.phtml reply 3,$val22 $()
$val19 $val19
!read oef/embed.phtml reply 2,$val22 $() !read oef/embed.phtml reply 4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal $val20 by in $val23,$val24,$val25,$val26 val27=$(tmp0) tmp0=!replace internal $val21 by in $val27 val27=$(tmp0) val28=$[rint($(val27[1])*$(val27[4])-$(val27[2])*$(val27[3]))] !exit :feedback !exit :test !ifval ? notin $val27 and $(val27[1])*$(val27[2])*$(val27[3])*$(val27[4])>0 and $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=\($(val27[1])/($(val27[2])) = $(val27[3])/($(val27[4]))) !exit :stat vsavelist=19,20,21,22,23,24,25,26 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/eqconst5.def0000644000175000017500000000646110340567674027062 0ustar georgeskgeorgesk!set title=Construcción de la igualdad 5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=27 postvarcnt=3 replycnt=4 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(5)] val7=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val10 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!translate internal / to , in $(val9[1]) val17=$(tmp0) tmp0=!translate internal / to , in $(val9[2]) val18=$(tmp0) tmp0=!translate internal / to , in $val10 val10=$(tmp0) tmp0=!rows2lines $val10 tmp1=!lines2items $(tmp0) val10=$(tmp1) tmp0=!listuniq $val10 val10=$(tmp0) tmp0=!listcomplement $val17,$val18 in $val10 val10=$(tmp0) val19=
val20= val21= !if $val6>4 tmp0=!shuffle $val10 tmp1=!item 1 to $val6-4 of $(tmp0) val10=,$(tmp1) tmp0=!replace internal , by $val21,$val20 in $val20$val10$val21 val10=$(tmp0) !else val10= !endif val22=50x40x1 replytype1=dragfill replyname1=Numerador 1 replygood1=?analyze 23;$val20$(val17[1])$val21 $val10 replytype2=dragfill replyname2=Denominador 1 replygood2=?analyze 24;$val20$(val17[2])$val21 replytype3=dragfill replyname3=Numerador 2 replygood3=?analyze 25;$val20$(val18[1])$val21 replytype4=dragfill replyname4=Denominador 2 replygood4=?analyze 26;$val20$(val18[2])$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Construye dos facciones iguales a partir de los números dados más abajo.

!read oef/embed.phtml reply 1,$val22 $() $val20  =  $val21 !read oef/embed.phtml reply 3,$val22 $()
$val19 $val19
!read oef/embed.phtml reply 2,$val22 $() !read oef/embed.phtml reply 4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal $val20 by in $val23,$val24,$val25,$val26 val27=$(tmp0) tmp0=!replace internal $val21 by in $val27 val27=$(tmp0) val28=$[rint($(val27[1])*$(val27[4])-$(val27[2])*$(val27[3]))] !exit :feedback !exit :test !ifval ? notin $val27 and $(val27[1])*$(val27[2])*$(val27[3])*$(val27[4])>0 and $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=\($(val27[1])/($(val27[2])) = $(val27[3])/($(val27[4]))) !exit :stat vsavelist=19,20,21,22,23,24,25,26 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq1a.def0000644000175000017500000000507310340567674027166 0ustar georgeskgeorgesk!set title=Fracciones iguales Ia !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=30 prevarcnt=25 postvarcnt=4 replycnt=2 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=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 2,1, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 1 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_1*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Las fracciones idénticas: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val26= tmp0=!replace internal \over by / in $val24,$val25,\o3,\o4,\o5,\o6 val27=$(tmp0) tmp0=!text select /1234567890, in $val27 val27=$(tmp0) t_=!replace internal \( by ( in ($(val27[1]))-($(val27[2])) tmp0=!exec pari $t_ val28=$(tmp0) !exit :feedback !exit :test !ifval $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val26 !exit :stat vsavelist=22,23,24,25 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/missdensum.def0000644000175000017500000000562010340567674027504 0ustar georgeskgeorgesk!set title=Denominador ignorado suma !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=32 prevarcnt=31 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=Denominador tmp0=!randitem 2,4 val7=$(tmp0) val8=+ val9=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val9 val10=$[rint($(tmp0))] val11=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val12= !for val13 in $val11 tmp0=!translate / to , in $val13 val14=$(tmp0) tmp0=!values $(val14[1])*x for x in $val9 val15=$(tmp0) tmp0=!values $(val14[2])*x for x in $val9 val16=$(tmp0) val17= !for val18 =1 to $val10 tmp0=!append item $(val15[$val18])/$(val16[$val18]) to $val17 val17=$(tmp0) !next tmp0=!shuffle $val17 tmp=!trim $val12 $(tmp0) val12=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!translate internal / to , in $(val11[1]) val19=$(tmp0) tmp0=!translate internal / to , in $(val11[2]) val20=$(tmp0) !if $val8 issametext × val20=$(val20[2,1]) !endif !if $val8 issametext + val21=$[rint(min($(val19[1]),$(val19[2])))] val22=$[rint(max($(val19[1]),$(val19[2])))] val23=$[rint(max($(val20[1]),$(val20[2])))] val24=$[rint(($val22-$val21)*$val23/$val22)] val19=$val21,$val22 val20=$val24,$val23 !endif tmp0=!item $val7 of $val19,$val20 val25=$(tmp0) val26=
val27=60 val28= val29= val30=2 replytype1=numeric replyname1=El $val6 replygood1=$[$val25] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellena el $val6 siguiente para establecer la igualdad:

$val28 !if $val7=1 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[1]) !endif $()$val29 $val28  $val8  $val29 $val28 !if $val7=3 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[1]) !endif $()$val29 $val28  =  1$val29
$val26 $val26
$val28 !if $val7=2 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[2]) !endif $()$val29 $val28 !if $val7=4 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[2]) !endif $()$val29
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,19,20,26,27,28,29,30 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/correq3.def0000644000175000017500000000344310340567674026674 0ustar georgeskgeorgesk!set title=Correspondencia igualdad 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=22 prevarcnt=21 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(3)] val7=1,2,3,4,5,6,8,9,10,12 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val9 tmp1=!shuffle $(tmp0) val17=$(tmp1) tmp0=!translate internal / to , in $(val10[$(val17[1..$val6]);1,2]) val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!append item \($(val18[$val21;1])/($(val18[$val21;2]))) to $val19 val19=$(tmp0) tmp0=!append item \($(val18[$val21;3])/($(val18[$val21;4]))) to $val20 val20=$(tmp0) !next val22=50x50x50 replytype1=correspond replyname1=La correspondencia replygood1=$val19;$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia entre las fracciones iguales.

!read oef/embed.phtml reply 1,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22 embedcnt=1 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/missnumsum.def0000644000175000017500000000561410340567674027540 0ustar georgeskgeorgesk!set title=Numerador ignorado suma !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=32 prevarcnt=31 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=Numerador tmp0=!randitem 1,3 val7=$(tmp0) val8=+ val9=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val9 val10=$[rint($(tmp0))] val11=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val12= !for val13 in $val11 tmp0=!translate / to , in $val13 val14=$(tmp0) tmp0=!values $(val14[1])*x for x in $val9 val15=$(tmp0) tmp0=!values $(val14[2])*x for x in $val9 val16=$(tmp0) val17= !for val18 =1 to $val10 tmp0=!append item $(val15[$val18])/$(val16[$val18]) to $val17 val17=$(tmp0) !next tmp0=!shuffle $val17 tmp=!trim $val12 $(tmp0) val12=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!translate internal / to , in $(val11[1]) val19=$(tmp0) tmp0=!translate internal / to , in $(val11[2]) val20=$(tmp0) !if $val8 issametext × val20=$(val20[2,1]) !endif !if $val8 issametext + val21=$[rint(min($(val19[1]),$(val19[2])))] val22=$[rint(max($(val19[1]),$(val19[2])))] val23=$[rint(max($(val20[1]),$(val20[2])))] val24=$[rint(($val22-$val21)*$val23/$val22)] val19=$val21,$val22 val20=$val24,$val23 !endif tmp0=!item $val7 of $val19,$val20 val25=$(tmp0) val26=
val27=60 val28= val29= val30=2 replytype1=numeric replyname1=El $val6 replygood1=$[$val25] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellena el $val6 siguiente para establecer la igualdad:

$val28 !if $val7=1 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[1]) !endif $()$val29 $val28  $val8  $val29 $val28 !if $val7=3 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[1]) !endif $()$val29 $val28  =  1$val29
$val26 $val26
$val28 !if $val7=2 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[2]) !endif $()$val29 $val28 !if $val7=4 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[2]) !endif $()$val29
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,19,20,26,27,28,29,30 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/eqconst4.def0000644000175000017500000000646110340567674027061 0ustar georgeskgeorgesk!set title=Construcción de la igualdad 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=31 prevarcnt=27 postvarcnt=3 replycnt=4 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(4)] val7=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val7 val8=$[rint($(tmp0))] val9=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val10= !for val11 in $val9 tmp0=!translate / to , in $val11 val12=$(tmp0) tmp0=!values $(val12[1])*x for x in $val7 val13=$(tmp0) tmp0=!values $(val12[2])*x for x in $val7 val14=$(tmp0) val15= !for val16 =1 to $val8 tmp0=!append item $(val13[$val16])/$(val14[$val16]) to $val15 val15=$(tmp0) !next tmp0=!shuffle $val15 tmp=!trim $val10 $(tmp0) val10=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val10 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!translate internal / to , in $(val9[1]) val17=$(tmp0) tmp0=!translate internal / to , in $(val9[2]) val18=$(tmp0) tmp0=!translate internal / to , in $val10 val10=$(tmp0) tmp0=!rows2lines $val10 tmp1=!lines2items $(tmp0) val10=$(tmp1) tmp0=!listuniq $val10 val10=$(tmp0) tmp0=!listcomplement $val17,$val18 in $val10 val10=$(tmp0) val19=
val20= val21= !if $val6>4 tmp0=!shuffle $val10 tmp1=!item 1 to $val6-4 of $(tmp0) val10=,$(tmp1) tmp0=!replace internal , by $val21,$val20 in $val20$val10$val21 val10=$(tmp0) !else val10= !endif val22=50x40x1 replytype1=dragfill replyname1=Numerador 1 replygood1=?analyze 23;$val20$(val17[1])$val21 $val10 replytype2=dragfill replyname2=Denominador 1 replygood2=?analyze 24;$val20$(val17[2])$val21 replytype3=dragfill replyname3=Numerador 2 replygood3=?analyze 25;$val20$(val18[1])$val21 replytype4=dragfill replyname4=Denominador 2 replygood4=?analyze 26;$val20$(val18[2])$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Construye dos facciones iguales a partir de los números dados más abajo.

!read oef/embed.phtml reply 1,$val22 $() $val20  =  $val21 !read oef/embed.phtml reply 3,$val22 $()
$val19 $val19
!read oef/embed.phtml reply 2,$val22 $() !read oef/embed.phtml reply 4,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal $val20 by in $val23,$val24,$val25,$val26 val27=$(tmp0) tmp0=!replace internal $val21 by in $val27 val27=$(tmp0) val28=$[rint($(val27[1])*$(val27[4])-$(val27[2])*$(val27[3]))] !exit :feedback !exit :test !ifval ? notin $val27 and $(val27[1])*$(val27[2])*$(val27[3])*$(val27[4])>0 and $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=\($(val27[1])/($(val27[2])) = $(val27[3])/($(val27[4]))) !exit :stat vsavelist=19,20,21,22,23,24,25,26 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/fracteq1b.def0000644000175000017500000000507510340567674027171 0ustar georgeskgeorgesk!set title=Fracciones iguales Ib !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r,r varcnt=30 prevarcnt=25 postvarcnt=4 replycnt=2 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=1,2,3,4,5,6 tmp0=!itemcnt $val6 val7=$[rint($(tmp0))] val8=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val9= !for val10 in $val8 tmp0=!translate / to , in $val10 val11=$(tmp0) tmp0=!values $(val11[1])*x for x in $val6 val12=$(tmp0) tmp0=!values $(val11[2])*x for x in $val6 val13=$(tmp0) val14= !for val15 =1 to $val7 tmp0=!append item $(val12[$val15])/$(val13[$val15]) to $val14 val14=$(tmp0) !next tmp0=!shuffle $val14 tmp=!trim $val9 $(tmp0) val9=!translate internal $ \ $ to ;; in $tmp !next tmp0=!itemcnt $val8 tmp1=!values 0 for x=1 to 100 tmp2=!item 1 to $(tmp0) of 3,1,1, $(tmp1) val16=$(tmp2) tmp0=!shuffle $val16 val16=$(tmp0) val17= tmp0=!itemcnt $val8 !for val10 =1 to $(tmp0) !if $(val16[$val10])>0 val18=$(val9[$val10;1..$(val16[$val10])]) tmp0=!append item $val18 to $val17 val17=$(tmp0) !endif !next tmp0=!itemcnt $val17 val19=$[rint($(tmp0))] val20= !for val21 in $val17 tmp0=!replace internal / by \over in $val21 val18=$(tmp0) tmp0=!append item \({$val18}) to $val20 val20=$(tmp0) !next val22=40x60x1 tmp0=!item 1 of dos,dos pares, tres pares val23=$(tmp0) replytype1=dragfill replyname1=Fracción 1 replygood1=?analyze 24;$(val20[1]),$(val20[$m_1*2+1..$val19]) replytype2=dragfill replyname2=Fracción 2 replygood2=?analyze 25;$(val20[2]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Entre las fracciones siguientes, encuentra $val23 que sean iguales.

Las fracciones idénticas: !read oef/embed.phtml r1,$val22 $() = !read oef/embed.phtml r2,$val22 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val26= tmp0=!replace internal \over by / in $val24,$val25,\o3,\o4,\o5,\o6 val27=$(tmp0) tmp0=!text select /1234567890, in $val27 val27=$(tmp0) t_=!replace internal \( by ( in ($(val27[1]))-($(val27[2])) tmp0=!exec pari $t_ val28=$(tmp0) !exit :feedback !exit :test !ifval $val28 issametext 0 condtest1=1 !else condtest1=0 !endif condname1=$val24 = $val25 $val26 !exit :stat vsavelist=22,23,24,25 embedcnt=2 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/missdeninv.def0000644000175000017500000000563110340567674027476 0ustar georgeskgeorgesk!set title=Denominador ignorado inverso !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=32 prevarcnt=31 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=denominador tmp0=!randitem 2,4 val7=$(tmp0) val8=× val9=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val9 val10=$[rint($(tmp0))] val11=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val12= !for val13 in $val11 tmp0=!translate / to , in $val13 val14=$(tmp0) tmp0=!values $(val14[1])*x for x in $val9 val15=$(tmp0) tmp0=!values $(val14[2])*x for x in $val9 val16=$(tmp0) val17= !for val18 =1 to $val10 tmp0=!append item $(val15[$val18])/$(val16[$val18]) to $val17 val17=$(tmp0) !next tmp0=!shuffle $val17 tmp=!trim $val12 $(tmp0) val12=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!translate internal / to , in $(val11[1]) val19=$(tmp0) tmp0=!translate internal / to , in $(val11[2]) val20=$(tmp0) !if $val8 issametext × val20=$(val20[2,1]) !endif !if $val8 issametext + val21=$[rint(min($(val19[1]),$(val19[2])))] val22=$[rint(max($(val19[1]),$(val19[2])))] val23=$[rint(max($(val20[1]),$(val20[2])))] val24=$[rint(($val22-$val21)*$val23/$val22)] val19=$val21,$val22 val20=$val24,$val23 !endif tmp0=!item $val7 of $val19,$val20 val25=$(tmp0) val26=
val27=60 val28= val29= val30=2 replytype1=numeric replyname1=El $val6 replygood1=$[$val25] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellena el $val6 siguiente para establecer la igualdad:

$val28 !if $val7=1 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[1]) !endif $()$val29 $val28  $val8  $val29 $val28 !if $val7=3 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[1]) !endif $()$val29 $val28  =  1$val29
$val26 $val26
$val28 !if $val7=2 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val19[2]) !endif $()$val29 $val28 !if $val7=4 $() !read oef/embed.phtml reply 1,$val30 $() !else $() $(val20[2]) !endif $()$val29
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,19,20,26,27,28,29,30 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/def/missnum.def0000644000175000017500000000500010340567674027000 0ustar georgeskgeorgesk!set title=Numerador ignorado !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=XIAO, Gang email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=24 prevarcnt=23 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=numerador tmp0=!randitem 1,3 val7=$(tmp0) val8=1,2,3,4,5,6,8,10 tmp0=!itemcnt $val8 val9=$[rint($(tmp0))] val10=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6 val11= !for val12 in $val10 tmp0=!translate / to , in $val12 val13=$(tmp0) tmp0=!values $(val13[1])*x for x in $val8 val14=$(tmp0) tmp0=!values $(val13[2])*x for x in $val8 val15=$(tmp0) val16= !for val17 =1 to $val9 tmp0=!append item $(val14[$val17])/$(val15[$val17]) to $val16 val16=$(tmp0) !next tmp0=!shuffle $val16 tmp=!trim $val11 $(tmp0) val11=!translate internal $ \ $ to ;; in $tmp !next tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val10=$(tmp0) tmp0=!translate internal / to , in $(val10[1]) val18=$(tmp0) tmp0=!translate internal / to , in $(val10[2]) val19=$(tmp0) tmp0=!item $val7 of $val18,$val19 val20=$(tmp0) val21=
val22=60 val23= val24= val25=2 replytype1=numeric replyname1=El $val6 replygood1=$[$val20] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellena el $val6 siguiente para establecer la igualdad:

$val23 !if $val7=1 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val18[1]) !endif $()$val24 $val23  =  $val24 $val23 !if $val7=3 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val19[1]) !endif $()$val24
$val21 $val21
$val23 !if $val7=2 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val18[2]) !endif $()$val24 $val23 !if $val7=4 $() !read oef/embed.phtml reply 1,$val25 $() !else $() $(val19[2]) !endif $()$val24
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,18,19,21,22,23,24,25 embedcnt=4 wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/intro.phtml0000644000175000017500000000026410340567673026276 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal ejercicios sobre fracciones.

!read related.phtml fracciones !read oef/$module_language/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/Exindex0000644000175000017500000000170310340567674025424 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of eqconst10,eqconst4,eqconst5,eqconst6,eqconst8,correq3,correq4,correq5,corrinv3,corrinv4,corrinv5,missden,missdeninv,missdensum,fracteq1a,fracteq1b,fracteq1c,fracteq2a,fracteq2b,fracteq3a,fracteq3b,missnum,missnuminv,missnumsum,guidadd, !set titlelist=!char 1 to -2 of Construcción de la igualdad 10,Construcción de la igualdad 4,Construcción de la igualdad 5,Construcción de la igualdad 6,Construcción de la igualdad 8,Correspondencia igualdad 3,Correspondencia igualdad 4,Correspondencia igualdad 5,Correspondencia inversa 3,Correspondencia inversa 4,Correspondencia inversa 5,Denominador ignorado,Denominador ignorado inverso,Denominador ignorado suma,Fracciones iguales Ia,Fracciones iguales Ib,Fracciones iguales Ic,Fracciones iguales IIa,Fracciones iguales IIb,Fracciones iguales IIIa,Fracciones iguales IIIb,Numerador ignorado,Numerador ignorado inverso,Numerador ignorado suma,Suma guiada, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/Extitles0000644000175000017500000000153710340567674025626 0ustar georgeskgeorgeskcorreq3:Correspondencia igualdad 3 correq4:Correspondencia igualdad 4 correq5:Correspondencia igualdad 5 corrinv3:Correspondencia inversa 3 corrinv4:Correspondencia inversa 4 corrinv5:Correspondencia inversa 5 eqconst10:Construcción de la igualdad 10 eqconst4:Construcción de la igualdad 4 eqconst5:Construcción de la igualdad 5 eqconst6:Construcción de la igualdad 6 eqconst8:Construcción de la igualdad 8 fracteq1a:Fracciones iguales Ia fracteq1b:Fracciones iguales Ib fracteq1c:Fracciones iguales Ic fracteq2a:Fracciones iguales IIa fracteq2b:Fracciones iguales IIb fracteq3a:Fracciones iguales IIIa fracteq3b:Fracciones iguales IIIb guidadd:Suma guiada missden:Denominador ignorado missdeninv:Denominador ignorado inverso missdensum:Denominador ignorado suma missnum:Numerador ignorado missnuminv:Numerador ignorado inverso missnumsum:Numerador ignorado suma wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/var.proc0000644000175000017500000000075510340567674025560 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/about.phtml0000644000175000017500000000005310340567674026252 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/main.phtml0000644000175000017500000000005210340567673026062 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/mkindex0000755000175000017500000000046010340567674025461 0ustar georgeskgeorgesk#! /bin/sh cd `dirname $0` thisdir=`pwd` lastdir=$thisdir wims_home=$w_wims_home while [ -z "$wims_home" ] && [ "$lastdir" != "/" ] do wims_home=`cat $lastdir/.wimshome 2>/dev/null` lastdir=`dirname $lastdir` done if [ -z "$wims_home" ]; then exit; fi . $wims_home/public_html/scripts/oef/mkindex wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/INDEX0000644000175000017500000000173310340567673024671 0ustar georgeskgeorgesktitle=OEF fracciones # Commencez la description par minuscule! description=colección de ejercicios sobre las fracciones. author=XIAO Gang address=xiao@unice.fr copyright=© 2003- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.32 vardef=oef/var.def language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=E6, H1, H2, H3, H4 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=fractions, fracciones # Software packages required to run the module require=pari # Does the module have scoring system? scoring=yes help=popup wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/TODO0000644000175000017500000000034410340567674024565 0ustar georgeskgeorgeskFill a fraction to be equal to given one, dragfill. Fill a fraction such that sum/prod equals 1, dragfill. Two numerators missing, two denominators missing. Among the following fractions, pick those who are equal to given one. wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/0000755000175000017500000000000010771676345024667 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq2a.oef0000644000175000017500000000377010340567673027234 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales IIa} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),3,2,1, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(2,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Première paire :\embed{r1,\size} = \embed{r2,\size}
Deuxième paire :\embed{r3,\size} = \embed{r4,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\2*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} \answer{Fraction 3}{\o3;\Select[3]}{type=dragfill} \answer{Fraction 4}{\o4;\Select[4]}{type=dragfill} \text{eq2=pari((\os[3])-(\os[4]))} \condition{\o3 = \o4 \empty}{\eq2 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/missnum.oef0000644000175000017500000000317610340567673027057 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/miss.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Numérateur manquant} \text{name=numérateur} \text{fill=random(1,3)} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{rep=item(\fill,\f1,\f2)} \text{hr=
} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Remplissez le \name ci-dessous pour établir l'égalité :

\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2 \big1  =  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{Le \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq1a.oef0000644000175000017500000000335610340567673027233 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales Ia} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),2,1, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(1,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Les fractions identiques : \embed{r1,\size} = \embed{r2,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\1*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/eqconst4.oef0000644000175000017500000000433210340567673027117 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/eqconst.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Egaligé constituée 4} \integer{cnt=4} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{all=wims(translate internal / to , in \all)} \text{all=wims(lines2items wims(rows2lines \all))} \text{all=wims(listuniq \all)} \text{all=wims(listcomplement \f1,\f2 in \all)} \text{hr=
} \text{big1=} \text{big2=} \if{\cnt>4}{ \text{all=,item(1..\cnt-4,shuffle(\all))} \text{all=wims(replace internal , by \big2,\big1 in \big1\all\big2)} }{ \text{all=} } \text{size=50x40x1} \statement{Constituez deux fractions égales à partir des nombres donnés en bas.

\embed{reply 1,\size} \big1  =  \big2 \embed{reply 3,\size}
\hr \hr
\embed{reply 2,\size} \embed{reply 4,\size}
} \answer{Numérateur 1}{\r1;\big1\f1[1]\big2 \all}{type=dragfill} \answer{Dénominateur 1}{\r2;\big1\f1[2]\big2}{type=dragfill} \answer{Numérateur 2}{\r3;\big1\f2[1]\big2}{type=dragfill} \answer{Dénominateur 2}{\r4;\big1\f2[2]\big2}{type=dragfill} \text{rr=wims(replace internal \big1 by in \r1,\r2,\r3,\r4)} \text{rr=wims(replace internal \big2 by in \rr)} \integer{text=\rr[1]*\rr[4]-\rr[2]*\rr[3]} \condition{\(\rr[1]/(\rr[2]) = \rr[3]/(\rr[4]))} {? notin \rr and \rr[1]*\rr[2]*\rr[3]*\rr[4]>0 and \text issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/missnumsum.oef0000644000175000017500000000371110340567673027577 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/miss.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Numérateur manquant somme} \text{name=numérateur} \text{fill=random(1,3)} \text{op=+} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \if{\op issametext ×}{ \text{f2=\f2[2,1]} } \if{\op issametext +}{ \integer{n1=min(\f1[1],\f1[2])} \integer{d1=max(\f1[1],\f1[2])} \integer{d2=max(\f2[1],\f2[2])} \integer{n2=(\d1-\n1)*\d2/\d1} \text{f1=\n1,\d1} \text{f2=\n2,\d2} } \text{rep=item(\fill,\f1,\f2)} \text{hr=
} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Remplissez le \name ci-dessous pour établir l'égalité :

\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2 \big1  \op  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2 \big1  =  1\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{Le \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/missdensum.oef0000644000175000017500000000371410340567673027551 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/miss.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Dénominateur manquant somme} \text{name=dénominateur} \text{fill=random(2,4)} \text{op=+} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \if{\op issametext ×}{ \text{f2=\f2[2,1]} } \if{\op issametext +}{ \integer{n1=min(\f1[1],\f1[2])} \integer{d1=max(\f1[1],\f1[2])} \integer{d2=max(\f2[1],\f2[2])} \integer{n2=(\d1-\n1)*\d2/\d1} \text{f1=\n1,\d1} \text{f2=\n2,\d2} } \text{rep=item(\fill,\f1,\f2)} \text{hr=
} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Remplissez le \name ci-dessous pour établir l'égalité :

\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2 \big1  \op  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2 \big1  =  1\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{Le \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq3a.oef0000644000175000017500000000442210340567673027230 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales IIIa} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),2,2,2, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(3,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Première paire :\embed{r1,\size} = \embed{r2,\size}
Deuxième paire :\embed{r3,\size} = \embed{r4,\size}
Troisième paire :\embed{r5,\size} = \embed{r6,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\3*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} \answer{Fraction 3}{\o3;\Select[3]}{type=dragfill} \answer{Fraction 4}{\o4;\Select[4]}{type=dragfill} \text{eq2=pari((\os[3])-(\os[4]))} \condition{\o3 = \o4 \empty}{\eq2 issametext 0} \answer{Fraction 5}{\o5;\Select[5]}{type=dragfill} \answer{Fraction 6}{\o6;\Select[6]}{type=dragfill} \text{eq3=pari((\os[5])-(\os[6]))} \condition{\o5 = \o6 \empty}{\eq3 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/eqconst5.oef0000644000175000017500000000433210340567673027120 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/eqconst.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Egaligé constituée 5} \integer{cnt=5} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{all=wims(translate internal / to , in \all)} \text{all=wims(lines2items wims(rows2lines \all))} \text{all=wims(listuniq \all)} \text{all=wims(listcomplement \f1,\f2 in \all)} \text{hr=
} \text{big1=} \text{big2=} \if{\cnt>4}{ \text{all=,item(1..\cnt-4,shuffle(\all))} \text{all=wims(replace internal , by \big2,\big1 in \big1\all\big2)} }{ \text{all=} } \text{size=50x40x1} \statement{Constituez deux fractions égales à partir des nombres donnés en bas.

\embed{reply 1,\size} \big1  =  \big2 \embed{reply 3,\size}
\hr \hr
\embed{reply 2,\size} \embed{reply 4,\size}
} \answer{Numérateur 1}{\r1;\big1\f1[1]\big2 \all}{type=dragfill} \answer{Dénominateur 1}{\r2;\big1\f1[2]\big2}{type=dragfill} \answer{Numérateur 2}{\r3;\big1\f2[1]\big2}{type=dragfill} \answer{Dénominateur 2}{\r4;\big1\f2[2]\big2}{type=dragfill} \text{rr=wims(replace internal \big1 by in \r1,\r2,\r3,\r4)} \text{rr=wims(replace internal \big2 by in \rr)} \integer{text=\rr[1]*\rr[4]-\rr[2]*\rr[3]} \condition{\(\rr[1]/(\rr[2]) = \rr[3]/(\rr[4]))} {? notin \rr and \rr[1]*\rr[2]*\rr[3]*\rr[4]>0 and \text issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/correq3.oef0000644000175000017500000000227710340567673026743 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Correspondance égalité 3} \integer{cnt=3} \text{mulist=1,2,3,4,5,6,8,9,10,12} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} \text{right=wims(append item \(\choice[\i;3]/(\choice[\i;4])) to \right)} } \text{size=50x50x50} \statement{Etablissez la correspondance entre les fractions égales.

\embed{reply 1,\size}
} \reply{La correspondance}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq2b.oef0000644000175000017500000000377610340567673027243 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales IIb} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),2,2,1,1,1,1, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(2,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Première paire :\embed{r1,\size} = \embed{r2,\size}
Deuxième paire :\embed{r3,\size} = \embed{r4,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\2*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} \answer{Fraction 3}{\o3;\Select[3]}{type=dragfill} \answer{Fraction 4}{\o4;\Select[4]}{type=dragfill} \text{eq2=pari((\os[3])-(\os[4]))} \condition{\o3 = \o4 \empty}{\eq2 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/Makefile0000644000175000017500000000003010340567673026313 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/eqconst8.oef0000644000175000017500000000433210340567673027123 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/eqconst.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Egaligé constituée 8} \integer{cnt=8} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{all=wims(translate internal / to , in \all)} \text{all=wims(lines2items wims(rows2lines \all))} \text{all=wims(listuniq \all)} \text{all=wims(listcomplement \f1,\f2 in \all)} \text{hr=
} \text{big1=} \text{big2=} \if{\cnt>4}{ \text{all=,item(1..\cnt-4,shuffle(\all))} \text{all=wims(replace internal , by \big2,\big1 in \big1\all\big2)} }{ \text{all=} } \text{size=50x40x1} \statement{Constituez deux fractions égales à partir des nombres donnés en bas.

\embed{reply 1,\size} \big1  =  \big2 \embed{reply 3,\size}
\hr \hr
\embed{reply 2,\size} \embed{reply 4,\size}
} \answer{Numérateur 1}{\r1;\big1\f1[1]\big2 \all}{type=dragfill} \answer{Dénominateur 1}{\r2;\big1\f1[2]\big2}{type=dragfill} \answer{Numérateur 2}{\r3;\big1\f2[1]\big2}{type=dragfill} \answer{Dénominateur 2}{\r4;\big1\f2[2]\big2}{type=dragfill} \text{rr=wims(replace internal \big1 by in \r1,\r2,\r3,\r4)} \text{rr=wims(replace internal \big2 by in \rr)} \integer{text=\rr[1]*\rr[4]-\rr[2]*\rr[3]} \condition{\(\rr[1]/(\rr[2]) = \rr[3]/(\rr[4]))} {? notin \rr and \rr[1]*\rr[2]*\rr[3]*\rr[4]>0 and \text issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq3b.oef0000644000175000017500000000442610340567673027235 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales IIIb} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),3,2,2,1,1, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(3,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Première paire :\embed{r1,\size} = \embed{r2,\size}
Deuxième paire :\embed{r3,\size} = \embed{r4,\size}
Troisième paire :\embed{r5,\size} = \embed{r6,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\3*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} \answer{Fraction 3}{\o3;\Select[3]}{type=dragfill} \answer{Fraction 4}{\o4;\Select[4]}{type=dragfill} \text{eq2=pari((\os[3])-(\os[4]))} \condition{\o3 = \o4 \empty}{\eq2 issametext 0} \answer{Fraction 5}{\o5;\Select[5]}{type=dragfill} \answer{Fraction 6}{\o6;\Select[6]}{type=dragfill} \text{eq3=pari((\os[5])-(\os[6]))} \condition{\o5 = \o6 \empty}{\eq3 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/.htaccess0000644000175000017500000000001610340567673026455 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/eqconst6.oef0000644000175000017500000000433210340567673027121 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/eqconst.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Egaligé constituée 6} \integer{cnt=6} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{all=wims(translate internal / to , in \all)} \text{all=wims(lines2items wims(rows2lines \all))} \text{all=wims(listuniq \all)} \text{all=wims(listcomplement \f1,\f2 in \all)} \text{hr=
} \text{big1=} \text{big2=} \if{\cnt>4}{ \text{all=,item(1..\cnt-4,shuffle(\all))} \text{all=wims(replace internal , by \big2,\big1 in \big1\all\big2)} }{ \text{all=} } \text{size=50x40x1} \statement{Constituez deux fractions égales à partir des nombres donnés en bas.

\embed{reply 1,\size} \big1  =  \big2 \embed{reply 3,\size}
\hr \hr
\embed{reply 2,\size} \embed{reply 4,\size}
} \answer{Numérateur 1}{\r1;\big1\f1[1]\big2 \all}{type=dragfill} \answer{Dénominateur 1}{\r2;\big1\f1[2]\big2}{type=dragfill} \answer{Numérateur 2}{\r3;\big1\f2[1]\big2}{type=dragfill} \answer{Dénominateur 2}{\r4;\big1\f2[2]\big2}{type=dragfill} \text{rr=wims(replace internal \big1 by in \r1,\r2,\r3,\r4)} \text{rr=wims(replace internal \big2 by in \rr)} \integer{text=\rr[1]*\rr[4]-\rr[2]*\rr[3]} \condition{\(\rr[1]/(\rr[2]) = \rr[3]/(\rr[4]))} {? notin \rr and \rr[1]*\rr[2]*\rr[3]*\rr[4]>0 and \text issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/missnuminv.oef0000644000175000017500000000372010340567673027567 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/miss.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Numérateur manquant inverse} \text{name=numérateur} \text{fill=random(1,3)} \text{op=×} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \if{\op issametext ×}{ \text{f2=\f2[2,1]} } \if{\op issametext +}{ \integer{n1=min(\f1[1],\f1[2])} \integer{d1=max(\f1[1],\f1[2])} \integer{d2=max(\f2[1],\f2[2])} \integer{n2=(\d1-\n1)*\d2/\d1} \text{f1=\n1,\d1} \text{f2=\n2,\d2} } \text{rep=item(\fill,\f1,\f2)} \text{hr=
} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Remplissez le \name ci-dessous pour établir l'égalité :

\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2 \big1  \op  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2 \big1  =  1\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{Le \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/eqconst10.oef0000644000175000017500000000433410340567673027176 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/eqconst.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Egaligé constituée 10} \integer{cnt=10} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{all=wims(translate internal / to , in \all)} \text{all=wims(lines2items wims(rows2lines \all))} \text{all=wims(listuniq \all)} \text{all=wims(listcomplement \f1,\f2 in \all)} \text{hr=
} \text{big1=} \text{big2=} \if{\cnt>4}{ \text{all=,item(1..\cnt-4,shuffle(\all))} \text{all=wims(replace internal , by \big2,\big1 in \big1\all\big2)} }{ \text{all=} } \text{size=50x40x1} \statement{Constituez deux fractions égales à partir des nombres donnés en bas.

\embed{reply 1,\size} \big1  =  \big2 \embed{reply 3,\size}
\hr \hr
\embed{reply 2,\size} \embed{reply 4,\size}
} \answer{Numérateur 1}{\r1;\big1\f1[1]\big2 \all}{type=dragfill} \answer{Dénominateur 1}{\r2;\big1\f1[2]\big2}{type=dragfill} \answer{Numérateur 2}{\r3;\big1\f2[1]\big2}{type=dragfill} \answer{Dénominateur 2}{\r4;\big1\f2[2]\big2}{type=dragfill} \text{rr=wims(replace internal \big1 by in \r1,\r2,\r3,\r4)} \text{rr=wims(replace internal \big2 by in \rr)} \integer{text=\rr[1]*\rr[4]-\rr[2]*\rr[3]} \condition{\(\rr[1]/(\rr[2]) = \rr[3]/(\rr[4]))} {? notin \rr and \rr[1]*\rr[2]*\rr[3]*\rr[4]>0 and \text issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq1b.oef0000644000175000017500000000336010340567673027227 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales Ib} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),3,1,1, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(1,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Les fractions identiques : \embed{r1,\size} = \embed{r2,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\1*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/guidadd.oef0000644000175000017500000001410110340567673026753 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/guidadd.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \computeanswer{no} \title{Addition guidée} \integer{den1=random(8,9,10,12,14,15,16)} \integer{den2=random(randint(\den1/2+1..\den1-1),randint(\den1+1..2*\den1-1))} \integer{num1=randint(2..1.5*\den1)} \integer{num1=gcd(\num1,\den1)>1?\num1+1} \integer{num2=randint(2..1.5*\den2)} \integer{num2=gcd(\num2,\den2)>1?\num2+1} \text{hr=
} \text{new=} \integer{test1=0} \text{big1=} \text{big2=} \text{objets=seulement le numérateur,seulement le dénominateur, le numérateur et le dénominateur} \text{gtext1=random(Réécrire les deux fractions pour les mettre sur un même dénominateur, Mettre les deux fractions sur le même dénominateur )} \text{method1=\gtext1, Réécrire les deux fractions pour les mettre en même numérateur, Ajouter les numérateurs d'abord, Ajouter les dénominateurs d'abord, Ajouter les numérateurs et multiplier les dénominateurs, Multiplier les numérateurs } \integer{cnt1=items(\method1)} \text{sh1=shuffle(\cnt1)} \integer{good1=position(1,\sh1)} \text{method1=item(\sh1,\method1)} \text{method2=Ajouter les numérateurs et garder le dénominateur commun, Ajouter séparément les numérateurs et les dénominateurs } \integer{cnt2=items(\method2)} \text{sh2=shuffle(\cnt2)} \integer{good2=position(1,\sh2)} \text{method2=item(\sh2,\method2)} \text{nstep=r1} \nextstep{\nstep} \statement{Calculez l'addition suivante.

\(\num1/(\den1) + \num2/(\den2))

\if{\step=1}{ Choisissez la méthode de départ :

    \for{k=1 to \cnt1}{
  • \embed{r1,\k} }
\exit{} } \if{\step=2 or \test1<1}{ Etape 1. Mettre les fractions sur le même dénominateur.

Multipliant \embed{r2} de \(\num1/(\den1)) par \embed{r3,3}, on a

\num1 \big1=\big2  \embed{r6,3}
\hr\hr
\den1 \embed{r7,3}

Multipliant \embed{r4} de \(\num2/(\den2)) par \embed{r5,3}, on a

\num2 \big1=\big2  \embed{r8,3}
\hr\hr
\den2 \embed{r9,3}

\exit{} } Etape 1. On a \(\num1/(\den1) = \new[1]/(\new[2])) et \(\num2/(\den2) = \new[3]/(\new[4])), donc la somme devient

\(\new[1]/(\new[2]) + \new[3]/(\new[4])) .

\if{\step=3}{ Quelle est la prochaine étape ?

    \for{k=1 to \cnt2}{
  • \embed{r10,\k} }
\exit{} } Etape 2. On ajoute les numérateurs et garde le dénominateur en commun, donc la somme est

\num1   \big1+\big2   \num2    \big1=\big2    \new[1]   \big1+\big2   \new[3]    \big1=\big2    \embed{r11,4}
\hr\hr\hr\hr\hr
\den1 \den2 \new[2] \new[4] \embed{r12,4}

} \answer{Méthode étape 1}{\good1;\method1}{type=click} \answer{Objets à multiplier 1}{3;\objets}{type=menu} \answer{Multiplicateur 1}{\m1}{type=number} \answer{Objets à multiplier 2}{3;\objets}{type=menu} \answer{Multiplicateur 2}{\m2}{type=number} \answer{Nouveau numérateur 1}{\nn1}{type=number} \answer{Nouveau dénominateur 1}{\nd1}{type=number} \answer{Nouveau numérateur 2}{\nn2}{type=number} \answer{Nouveau dénominateur 2}{\nd2}{type=number} \answer{Méthode étape 2}{\good2;\method2}{type=click} \answer{Numérateur de la somme}{\nsum}{type=number} \answer{Dénominateur de la somme}{\dsum}{type=number} \if{\step=2}{ \text{nstep=r2,r3,r4,r5,r6,r7,r8,r9} } \text{test1=\test1<1 and \m1>0 and \m1=floor(\m1) and \m2>0 and \m2=floor(\m2) and \nn1=\num1*\m1 and \nd1=\den1*\m1 and \nn2=\num2*\m2 and \nd2=\den2*\m2 and \nd1=\nd2?1} \if{\test1>0}{ \text{new=\nn1,\nd1,\nn2,\nd2} } \condition{Les multiplications sont correctes}{\test1>0} \if{\step=3 and \test1>0}{ \text{nstep=r10} } \if{\step=4}{ \text{nstep=r11,r12} } \condition{La somme est bonne}{\test1>0 and \nsum=\nn1+\nn2 and \dsum=\nd1} \feedback{\step=1 and \reply1 notsametext ~\good1}{ Les deux fractions ont des dénominateurs différents. On ne peut pas les ajouter directement ; il faut d'abord les réécrire pour les mettre sur le même dénominateur. } \feedback{\step=2 and (\reply2 notsametext ~3 or \reply4 notsametext ~3)}{ Pour qu'une fraction reste la même, il faut multiplier son numérateur et dé nominateur par un même nombre. } \feedback{\step=3 and (\m1=0 or \m2=0)}{ Vous n'avez pas le droit de multiplier le numérateur et le dénominateur d'une fraction par 0 !

Vous obtiendriez une ``fraction'' \(0/(0)), qui n'a pas de sens. } \feedback{\step=3 and (\m1<0 or \m2<0)}{ Désolé mais cet exercice ne vous autorise pas de multiplier par un nombre négatif. } \feedback{\step=3 and \m1>0 and \m2>0 and (\floor(\m1)!=\m1 or \floor(\m2)!=\m2)}{ Vous devez multiplier le numérateur et le dénominateur d'une fraction par un entier. } \feedback{\step=3 and \nd1=\den1*\m1 and \nd2=\den2*\m2 and \nd1!=\nd2}{ Votre but est de mettre les fractions sur un même dénominateur. Vos multiplications n'ont pas produit cet effet, puisque les nouvelles écritures des fractions ont des dénominateurs différents. Multiplications erronées. } \feedback{\step=3 and (\nd1!=\den1*\m1 or \nn1!=\num1*\m1 or \nd2!=\den2*\m2 or \nn2!=\num2*\m2)}{ Erreur de calcul dans les multiplications. } \feedback{\step=3 and \reply10 notsametext ~\good2}{ Pour ajouter deux fractions du même dénominateur, on ajoute les numérateurs, et on garde le dénominateur en commun. } wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/corrinv3.oef0000644000175000017500000000231210340567673027120 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Correspondance inverse 3} \integer{cnt=3} \text{mulist=1,2,3,4,5,6,8,9,10,12} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} \text{right=wims(append item \(\choice[\i;4]/(\choice[\i;3])) to \right)} } \text{size=50x50x50} \statement{Etablissez la correspondance entre les fractions et leurs inverses.

\embed{reply 1,\size}
} \reply{La correspondance}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/corrinv4.oef0000644000175000017500000000231210340567673027121 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Correspondance inverse 4} \integer{cnt=4} \text{mulist=1,2,3,4,5,6,8,9,10,12} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} \text{right=wims(append item \(\choice[\i;4]/(\choice[\i;3])) to \right)} } \text{size=50x50x50} \statement{Etablissez la correspondance entre les fractions et leurs inverses.

\embed{reply 1,\size}
} \reply{La correspondance}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/fracteq1c.oef0000644000175000017500000000336410340567673027234 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fracteq.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Fractions égales Ic} \text{mulist=1,2,3,4,5,6} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{choices=item(1..items(\data),2,1,1,1,1, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(1,deux,deux paires, trois paires)} \statement{Parmi les fractions présentées ci-dessous, trouvez \ch qui sont en égalité.

Les fractions identiques : \embed{r1,\size} = \embed{r2,\size}
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fraction 1}{\o1;\Select[1],\Select[\1*2+1..\selcnt]}{type=dragfill} \answer{Fraction 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/correq5.oef0000644000175000017500000000227710340567673026745 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Correspondance égalité 5} \integer{cnt=5} \text{mulist=1,2,3,4,5,6,8,9,10,12} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} \text{right=wims(append item \(\choice[\i;3]/(\choice[\i;4])) to \right)} } \text{size=50x50x50} \statement{Etablissez la correspondance entre les fractions égales.

\embed{reply 1,\size}
} \reply{La correspondance}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/corrinv5.oef0000644000175000017500000000231210340567673027122 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Correspondance inverse 5} \integer{cnt=5} \text{mulist=1,2,3,4,5,6,8,9,10,12} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} \text{right=wims(append item \(\choice[\i;4]/(\choice[\i;3])) to \right)} } \text{size=50x50x50} \statement{Etablissez la correspondance entre les fractions et leurs inverses.

\embed{reply 1,\size}
} \reply{La correspondance}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/missden.oef0000644000175000017500000000317510340567673027025 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/miss.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Dénominateur manquant} \text{name=dénominateur} \text{fill=random(2,4)} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{rep=item(\fill,\f1,\f2)} \text{hr=
} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Remplissez le \name ci-dessous pour établir l'égalité :

\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2 \big1  =  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{Le \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/correq4.oef0000644000175000017500000000227710340567673026744 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Correspondance égalité 4} \integer{cnt=4} \text{mulist=1,2,3,4,5,6,8,9,10,12} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} \text{right=wims(append item \(\choice[\i;3]/(\choice[\i;4])) to \right)} } \text{size=50x50x50} \statement{Etablissez la correspondance entre les fractions égales.

\embed{reply 1,\size}
} \reply{La correspondance}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/missdeninv.oef0000644000175000017500000000372410340567673027542 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/miss.cpp. \language{fr} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \title{Dénominateur manquant inverse} \text{name=dénominateur} \text{fill=random(2,4)} \text{op=×} \text{mulist=1,2,3,4,5,6,8,10} \integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \if{\op issametext ×}{ \text{f2=\f2[2,1]} } \if{\op issametext +}{ \integer{n1=min(\f1[1],\f1[2])} \integer{d1=max(\f1[1],\f1[2])} \integer{d2=max(\f2[1],\f2[2])} \integer{n2=(\d1-\n1)*\d2/\d1} \text{f1=\n1,\d1} \text{f2=\n2,\d2} } \text{rep=item(\fill,\f1,\f2)} \text{hr=
} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Remplissez le \name ci-dessous pour établir l'égalité :

\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2 \big1  \op  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2 \big1  =  1\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{Le \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/0000755000175000017500000000000010771676353025450 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/guidadd.cpp0000644000175000017500000001351610340567673027557 0ustar georgeskgeorgesktarget=guidadd #include "header.inc" \computeanswer{no} \title{Suma guiada} \integer{den1=random(8,9,10,12,14,15,16)} \integer{den2=random(randint(\den1/2+1..\den1-1),randint(\den1+1..2*\den1-1))} \integer{num1=randint(2..1.5*\den1)} \integer{num1=gcd(\num1,\den1)>1?\num1+1} \integer{num2=randint(2..1.5*\den2)} \integer{num2=gcd(\num2,\den2)>1?\num2+1} \text{hr=
} \text{new=} \integer{test1=0} \text{big1=} \text{big2=} \text{objets=sólo el numerador,sólo el denominador, el numerador y el denominador} \text{gtext1=random(Reescribir las dos fracciones para que tengan el mismo denominador, Igualar el denominador de las dos fracciones )} \text{method1=\gtext1, Reescribir las dos fracciones para que tengan el mismo numerador, Sumar los numeradores primero, Sumar los denominadores primero, Sumar los numeradores y multiplicar los denominadores, Multiplicar los numeradores } \integer{cnt1=items(\method1)} \text{sh1=shuffle(\cnt1)} \integer{good1=position(1,\sh1)} \text{method1=item(\sh1,\method1)} \text{method2=Sumar los numeradores y guardar el denominador común, Sumar separadamente los numeradores y los denominadores } \integer{cnt2=items(\method2)} \text{sh2=shuffle(\cnt2)} \integer{good2=position(1,\sh2)} \text{method2=item(\sh2,\method2)} \text{nstep=r1} \nextstep{\nstep} \statement{Calcula la siguiente suma.

\(\num1/(\den1) + \num2/(\den2))

\if{\step=1}{ Elige el método inicial:

    \for{k=1 to \cnt1}{
  • \embed{r1,\k} }
\exit{} } \if{\step=2 or \test1<1}{ Etapa 1. Igualar los denominadores de las fracciones.

Multiplicando \embed{r2} de \(\num1/(\den1)) por \embed{r3,3}, se obtiene

\num1 \big1=\big2  \embed{r6,3}
\hr\hr
\den1 \embed{r7,3}

Multiplicando \embed{r4} de \(\num2/(\den2)) por \embed{r5,3}, se obtiene

\num2 \big1=\big2  \embed{r8,3}
\hr\hr
\den2 \embed{r9,3}

\exit{} } Etapa 1. Se tiene \(\num1/(\den1) = \new[1]/(\new[2])) y \(\num2/(\den2) = \new[3]/(\new[4])), luego la suma es

\(\new[1]/(\new[2]) + \new[3]/(\new[4])) .

\if{\step=3}{ ¿Cuál es la siguiente etapa?

    \for{k=1 to \cnt2}{
  • \embed{r10,\k} }
\exit{} } Etapa 2. Sumamos los numeradores y guardamos el denominador común, luego la suma es

\num1   \big1+\big2   \num2    \big1=\big2    \new[1]   \big1+\big2   \new[3]    \big1=\big2    \embed{r11,4}
\hr\hr\hr\hr\hr
\den1 \den2 \new[2] \new[4] \embed{r12,4}

} \answer{Método etapa 1}{\good1;\method1}{type=click} \answer{Objetos que hay que multiplicar 1}{3;\objets}{type=menu} \answer{Multiplicador 1}{\m1}{type=number} \answer{Objetos que hay que multiplicar 2}{3;\objets}{type=menu} \answer{Multiplicador 2}{\m2}{type=number} \answer{Nuevo numerador 1}{\nn1}{type=number} \answer{Nuevo denominador 1}{\nd1}{type=number} \answer{Nuevo numerador 2}{\nn2}{type=number} \answer{Nuevo denominador 2}{\nd2}{type=number} \answer{Método etapa 2}{\good2;\method2}{type=click} \answer{Numerador de la suma}{\nsum}{type=number} \answer{Denominador de la suma}{\dsum}{type=number} \if{\step=2}{ \text{nstep=r2,r3,r4,r5,r6,r7,r8,r9} } \text{test1=\test1<1 and \m1>0 and \m1=floor(\m1) and \m2>0 and \m2=floor(\m2) and \nn1=\num1*\m1 and \nd1=\den1*\m1 and \nn2=\num2*\m2 and \nd2=\den2*\m2 and \nd1=\nd2?1} \if{\test1>0}{ \text{new=\nn1,\nd1,\nn2,\nd2} } \condition{Las multiplicaciones son correctas}{\test1>0} \if{\step=3 and \test1>0}{ \text{nstep=r10} } \if{\step=4}{ \text{nstep=r11,r12} } \condition{La suma está bien}{\test1>0 and \nsum=\nn1+\nn2 and \dsum=\nd1} \feedback{\step=1 and \reply1 notsametext ~\good1}{ Las dos fracciones tienen denominadores diferentes. No podemos sumarlas directamente; es necesario reescribirlas para igualar su denominador. } \feedback{\step=2 and (\reply2 notsametext ~3 or \reply4 notsametext ~3)}{ Para que una fracción siga siendo la misma, es necesario multiplicar su numerador y denominador por el mismo número. } \feedback{\step=3 and (\m1=0 or \m2=0)}{ ¡No puedes multiplicar el numerador y el denominador de una fracción por 0!

Vous obtiendriez une ``fraction'' \(0/(0)), qui n'a pas de sens. } \feedback{\step=3 and (\m1<0 or \m2<0)}{ Lo siento pero en este ejercicio no está permitido multiplicar por números negativos. } \feedback{\step=3 and \m1>0 and \m2>0 and (\floor(\m1)!=\m1 or \floor(\m2)!=\m2)}{ Debes multiplicar el numerador y el denominador de una fracción por un entero. } \feedback{\step=3 and \nd1=\den1*\m1 and \nd2=\den2*\m2 and \nd1!=\nd2}{ El objetivo es igualar el denominador de las fracciones. Las multiplicaciones que has realizado no producen este resultado, ya que las fracciones producidas tienen denominadores diferentes. Multiplicaciones equivocadas. } \feedback{\step=3 and (\nd1!=\den1*\m1 or \nn1!=\num1*\m1 or \nd2!=\den2*\m2 or \nn2!=\num2*\m2)}{ Error de cálculo en las multiplicaciones. } \feedback{\step=3 and \reply10 notsametext ~\good2}{ Para sumar dos fracciones con el mismo denominador, se suman los numeradores y se guarda el denominador común. } wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/miss.cpp0000644000175000017500000000510710340567673027126 0ustar georgeskgeorgesktarget=missden missnum missdeninv missnuminv missdensum missnumsum #include "header.inc" #define TIT ignorado #if #TARGET (missden) \title{Denominador TIT} \text{name=denominador} \text{fill=random(2,4)} #endif #if #TARGET (missnum) \title{Numerador TIT} \text{name=numerador} \text{fill=random(1,3)} #endif #if #TARGET (missdeninv) #define INVERSE 1 \title{Denominador TIT inverso} \text{name=denominador} \text{fill=random(2,4)} \text{op=×} #endif #if #TARGET (missnuminv) #define INVERSE 1 \title{Numerador TIT inverso} \text{name=numerador} \text{fill=random(1,3)} \text{op=×} #endif #if #TARGET (missdensum) #define INVERSE 1 \title{Denominador TIT suma} \text{name=Denominador} \text{fill=random(2,4)} \text{op=+} #endif #if #TARGET (missnumsum) #define INVERSE 1 \title{Numerador TIT suma} \text{name=Numerador} \text{fill=random(1,3)} \text{op=+} #endif \text{mulist=1,2,3,4,5,6,8,10} #include "matrix.inc" \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} #ifdef INVERSE \if{\op issametext ×}{ \text{f2=\f2[2,1]} } \if{\op issametext +}{ \integer{n1=min(\f1[1],\f1[2])} \integer{d1=max(\f1[1],\f1[2])} \integer{d2=max(\f2[1],\f2[2])} \integer{n2=(\d1-\n1)*\d2/\d1} \text{f1=\n1,\d1} \text{f2=\n2,\d2} } #endif \text{rep=item(\fill,\f1,\f2)} \text{hr=


} \text{fw=60} \text{big1=} \text{big2=} \text{size=2} \statement{Rellena el \name siguiente para establecer la igualdad:

#ifdef INVERSE #else #endif /* INVERSE */
\big1 \if{\fill=1}{\embed{reply 1,\size}}{\f1[1]}\big2\big1  \op  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2 \big1  =  1\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2\big1  =  \big2 \big1 \if{\fill=3}{\embed{reply 1,\size}}{\f2[1]}\big2
\hr \hr
\big1 \if{\fill=2}{\embed{reply 1,\size}}{\f1[2]}\big2 \big1 \if{\fill=4}{\embed{reply 1,\size}}{\f2[2]}\big2
} \answer{El \name}{\rep}{type=numeric} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/Makefile0000644000175000017500000000003310340567673027100 0ustar georgeskgeorgesk all: cd ../..;./mkindex wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/corr.cpp0000644000175000017500000000246310340567673027122 0ustar georgeskgeorgesktarget=correq3 correq4 correq5 corrinv3 corrinv4 corrinv5 #include "header.inc" #define TIT Correspondencia #if #TARGET (correq3) #define TIT2 igualdad #define CNT 3 #endif #if #TARGET (correq4) #define TIT2 igualdad #define CNT 4 #endif #if #TARGET (correq5) #define TIT2 igualdad #define CNT 5 #endif #if #TARGET (corrinv3) #define TIT2 inversa #define CNT 3 #define INVERSE 1 #endif #if #TARGET (corrinv4) #define TIT2 inversa #define CNT 4 #define INVERSE 1 #endif #if #TARGET (corrinv5) #define TIT2 inversa #define CNT 5 #define INVERSE 1 #endif \title{TIT TIT2 CNT} \integer{cnt=CNT} \text{mulist=1,2,3,4,5,6,8,9,10,12} #include "matrix.inc" \text{sh=shuffle(items(\data))} \text{choice=wims(translate internal / to , in \all[\sh[1..\cnt];1,2])} \text{left=} \text{right=} \for{i=1 to \cnt}{ \text{left=wims(append item \(\choice[\i;1]/(\choice[\i;2])) to \left)} #ifdef INVERSE \text{right=wims(append item \(\choice[\i;4]/(\choice[\i;3])) to \right)} #else \text{right=wims(append item \(\choice[\i;3]/(\choice[\i;4])) to \right)} #endif } \text{size=50x50x50} \statement{Establece la correspondencia entre #ifdef INVERSE las fracciones y sus inversas. #else las fracciones iguales. #endif

\embed{reply 1,\size}
} \reply{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/matrix.inc0000644000175000017500000000064610340567673027451 0ustar georgeskgeorgesk\integer{mucnt=items(\mulist)} \text{data=1/2,3/2,5/2,1/3,2/3,4/3,5/3, 1/4,3/4,5/4,1/5,2/5,3/5,4/5,6/5,1/6,5/6} \text{all=} \for{f in \data}{ \text{ff=wims(translate / to , in \f)} \text{nums=wims(values \ff[1]*x for x in \mulist)} \text{dens=wims(values \ff[2]*x for x in \mulist)} \text{this=} \for{F=1 to \mucnt}{ \text{this=wims(append item \nums[\F]/\dens[\F] to \this)} } \matrix{all=\all shuffle(\this)} } wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/eqconst.cpp0000644000175000017500000000370210340567673027626 0ustar georgeskgeorgesktarget=eqconst4 eqconst5 eqconst6 eqconst8 eqconst10 #include "header.inc" #define TIT Construcción de la igualdad #if #TARGET (eqconst4) #define CNT 4 #endif #if #TARGET (eqconst5) #define CNT 5 #endif #if #TARGET (eqconst6) #define CNT 6 #endif #if #TARGET (eqconst8) #define CNT 8 #endif #if #TARGET (eqconst10) #define CNT 10 #endif \title{TIT CNT} \integer{cnt=CNT} \text{mulist=1,2,3,4,5,6,8,10} #include "matrix.inc" \text{data=randomrow(\all)} \text{f1=wims(translate internal / to , in \data[1])} \text{f2=wims(translate internal / to , in \data[2])} \text{all=wims(translate internal / to , in \all)} \text{all=wims(lines2items wims(rows2lines \all))} \text{all=wims(listuniq \all)} \text{all=wims(listcomplement \f1,\f2 in \all)} \text{hr=
} \text{big1=} \text{big2=} \if{\cnt>4}{ \text{all=,item(1..\cnt-4,shuffle(\all))} \text{all=wims(replace internal , by \big2,\big1 in \big1\all\big2)} }{ \text{all=} } \text{size=50x40x1} \statement{Construye dos facciones iguales a partir de los números dados más abajo.

\embed{reply 1,\size} \big1  =  \big2 \embed{reply 3,\size}
\hr \hr
\embed{reply 2,\size} \embed{reply 4,\size}
} \answer{Numerador 1}{\r1;\big1\f1[1]\big2 \all}{type=dragfill} \answer{Denominador 1}{\r2;\big1\f1[2]\big2}{type=dragfill} \answer{Numerador 2}{\r3;\big1\f2[1]\big2}{type=dragfill} \answer{Denominador 2}{\r4;\big1\f2[2]\big2}{type=dragfill} \text{rr=wims(replace internal \big1 by in \r1,\r2,\r3,\r4)} \text{rr=wims(replace internal \big2 by in \rr)} \integer{text=\rr[1]*\rr[4]-\rr[2]*\rr[3]} \condition{\(\rr[1]/(\rr[2]) = \rr[3]/(\rr[4]))} {? notin \rr and \rr[1]*\rr[2]*\rr[3]*\rr[4]>0 and \text issametext 0} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/fracteq.cpp0000644000175000017500000000507110340567673027600 0ustar georgeskgeorgesktarget=fracteq1a fracteq1b fracteq1c fracteq2a fracteq2b fracteq3a fracteq3b #include "header.inc" #define TIT Fracciones iguales #if #TARGET (fracteq1a) \title{TIT Ia} #define EQCNT 1 #define TAKELIST 2,1 #endif #if #TARGET (fracteq1b) \title{TIT Ib} #define EQCNT 1 #define TAKELIST 3,1,1 #endif #if #TARGET (fracteq1c) \title{TIT Ic} #define EQCNT 1 #define TAKELIST 2,1,1,1,1 #endif #if #TARGET (fracteq2a) \title{TIT IIa} #define EQCNT 2 #define TAKELIST 3,2,1 #endif #if #TARGET (fracteq2b) \title{TIT IIb} #define EQCNT 2 #define TAKELIST 2,2,1,1,1,1 #endif #if #TARGET (fracteq3a) \title{TIT IIIa} #define EQCNT 3 #define TAKELIST 2,2,2 #endif #if #TARGET (fracteq3b) \title{TIT IIIb} #define EQCNT 3 #define TAKELIST 3,2,2,1,1 #endif \text{mulist=1,2,3,4,5,6} #include "matrix.inc" \text{choices=item(1..items(\data),TAKELIST, wims(values 0 for x=1 to 100))} \text{choices=shuffle(\choices)} \text{select=} \for{f=1 to items(\data)}{ \if{\choices[\f]>0}{ \text{s1=\all[\f;1..\choices[\f]]} \text{select=wims(append item \s1 to \select)} } } \integer{selcnt=items(\select)} \text{Select=} \for{s in \select}{ \text{s1=wims(replace internal / by \over in \s)} \text{Select=wims(append item \({\s1}) to \Select)} } \text{size=40x60x1} \text{ch=item(EQCNT,dos,dos pares, tres pares)} \statement{Entre las fracciones siguientes, encuentra \ch que sean iguales.

#if EQCNT ==1
Las fracciones idénticas: \embed{r1,\size} = \embed{r2,\size} #else
Primer par:\embed{r1,\size} = \embed{r2,\size}
Segundo par:\embed{r3,\size} = \embed{r4,\size} #if EQCNT > 2
Tercer par:\embed{r5,\size} = \embed{r6,\size} #endif #endif
} \text{empty=} \text{os=wims(replace internal \over by / in \o1,\o2,\o3,\o4,\o5,\o6)} \text{os=wims(text select /1234567890, in \os)} \answer{Fracción 1}{\o1;\Select[1],\Select[\EQCNT*2+1..\selcnt]}{type=dragfill} \answer{Fracción 2}{\o2;\Select[2]}{type=dragfill} \text{eq1=pari((\os[1])-(\os[2]))} \condition{\o1 = \o2 \empty}{\eq1 issametext 0} #if EQCNT > 1 \answer{Fracción 3}{\o3;\Select[3]}{type=dragfill} \answer{Fracción 4}{\o4;\Select[4]}{type=dragfill} \text{eq2=pari((\os[3])-(\os[4]))} \condition{\o3 = \o4 \empty}{\eq2 issametext 0} #if EQCNT > 2 \answer{Fracción 5}{\o5;\Select[5]}{type=dragfill} \answer{Fracción 6}{\o6;\Select[6]}{type=dragfill} \text{eq3=pari((\os[5])-(\os[6]))} \condition{\o5 = \o6 \empty}{\eq3 issametext 0} #endif #endif wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/src/cpp/header.inc0000644000175000017500000000015310340567673027366 0ustar georgeskgeorgesk\language{fr} \author{XIAO, Gang} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} wims-modules-es-3.64.orig/modules/H2/algebra/oeffraction.es/help.phtml0000644000175000017500000000005210340567674026067 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H2/geometry/0000755000175000017500000000000010771673315021423 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/0000755000175000017500000000000010340336067024320 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/0000755000175000017500000000000010771676732025074 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/types.def0000644000175000017500000000425610340336067026711 0ustar georgeskgeorgesk!set title=Reconocimiento de tipos !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=10000 ansorder=c varcnt=17 prevarcnt=16 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, 4 val6=$[rint($(tmp0))] val7=Es un triángulo rectángulo val8=Es un triángulo agudo val9=Es un triángulo obtuso val10=No es un triángulo tmp0=!item $val6 of $val7,$val8,$val9,$val10 val11=$(tmp0) tmp=!trim 3,4,5 6,8,10 9,12,15 12,16,20 15,20,25 5,12,13 10,24,26 7,24,25 val12=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 tmp1=!randint 5, 15 tmp2=!randint 4, 13 tmp3=!randint 3, 10 tmp4=!item $val6 of $(tmp0),$(tmp1),$(tmp2), $(tmp3) val13=$[rint($(tmp4))] tmp0=!item 2 of $val12 tmp1=!randint 5, 15 tmp2=!randint 4, 13 tmp3=!randint 3, 10 tmp4=!item $val6 of $(tmp0),$(tmp1),$(tmp2), $(tmp3) val14=$[rint($(tmp4))] tmp0=!item 3 of $val12 tmp1=!randint max($val13,$val14), ceil(sqrt($val13^2+$val14^2))-1 tmp2=!randint floor(sqrt($val13^2+$val14^2))+1, $val13+$val14-1 tmp3=!randint $val13+$val14+1, $val13+$val14+6 tmp4=!item $val6 of $(tmp0), $(tmp1), $(tmp2), $(tmp3) val15=$[rint($(tmp4))] tmp0=!shuffle $val13,$val14,$val15 val16=$(tmp0) tmp0=!item 1 of $val16 val17=$[rint($(tmp0))] tmp0=!item 2 of $val16 val18=$[rint($(tmp0))] tmp0=!item 3 of $val16 val19=$[rint($(tmp0))] val20=$val7,$val8,$val9,$val10 choicename1=El triángulo: choicegood1=$val11 choicebad1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿De qué clase es un ``triángulo'' ABC con los 3 lados

AB = $val17 , BC = $val18, CA = $val19 ?
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/twosides.def0000644000175000017500000000254710340336067027407 0ustar georgeskgeorgesk!set title=Dados dos lados !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=10000 ansorder=r varcnt=10 prevarcnt=9 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 10, 40 val6=$[rint($(tmp0))] tmp0=!randint 10, 40 val7=$[rint($(tmp0))] val8=$[rint(max($val6,$val7))] val9=$[rint(min($val6,$val7))] !ifval $val6>$val7 val10=AB !else val10=BC !endif !ifval $val6>$val7 val11=BC !else val11=AB !endif val12=$[rint($val8-$val9+1)] val13=$[rint($val6+$val7-1)] val14=$[rint($val13 - $val12 + 1)] replytype1=default replyname1=Número de triángulos replygood1=$val14 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuántos triángulos ABC hay, donde

AB = $val6 , BC = $val7 , AC = un entero?
$() !exit :hint $() $() !exit :help $() $() !exit :solution $()Para que ABC sea un triángulo, AC debe ser al menos $val10-$val11+1=$val12, y como mucho AB+BC-1=$val13. $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,10,11,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/.htaccess0000644000175000017500000000001610340336067026651 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/twosidesb.def0000644000175000017500000000435210340336067027545 0ustar georgeskgeorgesk!set title=Dos lados agudos !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=10000 ansorder=r varcnt=18 prevarcnt=17 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 10, 40 val6=$[rint($(tmp0))] tmp0=!randint 10, 40 val7=$[rint($(tmp0))] val8=$[rint(max($val6,$val7))] val9=$[rint(min($val6,$val7))] !ifval $val6>$val7 val10=AB !else val10=BC !endif !ifval $val6>$val7 val11=BC !else val11=AB !endif val12=$[sqrt($val8^2+$val9^2)] val13=$[sqrt($val8^2-$val9^2)] val14=$[rint((ceil($val12)-1) - (floor($val13)+1) + 1)] val15=$[rint(($val6+$val7-1) - (floor($val12)+1) + 1)] val16=$[rint((ceil($val13)-1) - ($val8-$val9+1) + 1)] !ifval $val16<0 val16=$[rint(0)] !endif tmp0=!randitem 1,2 val17=$[rint($(tmp0))] tmp0=!item $val17 of agudos, obtusos val18=$(tmp0) tmp0=!item $val17 of $val14,$val15+$val16 val19=$[rint($(tmp0))] !ifval $val17=1 val20=Para que ABC sea un triángulo agudo, AC debe ser mayor que sqrt($val102-$val112)=$val13 y menor que sqrt(AB2+BC2)=$val12, por el teorema de Pitágoras. !endif !ifval $val17=2 val20=Para que ABC sea un triángulo, AC debe ser al menos $val8-$val9+1 y como mucho $val6+$val7-1.

Cuando $val10 es el lado más largo del triángulo, AC debe ser menor de $val13 por el teorema de Pitágoras. Cuando AC es el lado más largo, debe ser mayor que $val12, de nuevo por el teorema de Pitágoras.

Por tanto hay $val16 (resp. $val15) triángulos obtusos cuyo lado más largo es $val10 (resp. AC) !endif replytype1=default replyname1=Número de triángulos replygood1=$val19 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuántos triángulos ABC $val18 hay, donde

AB = $val6 , BC = $val7 , AC = un entero?
$() !exit :hint $() $() !exit :help $() $() !exit :solution $()$val20 $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,18,20 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/typesb.def0000644000175000017500000000432110340336067027044 0ustar georgeskgeorgesk!set title=Reconocimiento de tipos bis !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=10000 ansorder=c varcnt=18 prevarcnt=17 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, 4 val6=$[rint($(tmp0))] val7=Es un triángulo rectángulo val8=Es un triángulo agudo val9=Es un triángulo obtuso val10=No es un triángulo tmp0=!item $val6 of $val7,$val8,$val9,$val10 val11=$(tmp0) tmp=!trim 3,4,5 6,8,10 9,12,15 12,16,20 15,20,25 5,12,13 10,24,26 7,24,25 val12=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 tmp1=!randint 5, 15 tmp2=!randint 4, 13 tmp3=!randint 3, 10 tmp4=!item $val6 of $(tmp0),$(tmp1),$(tmp2), $(tmp3) val13=$[rint($(tmp4))] tmp0=!item 2 of $val12 tmp1=!randint 5, 15 tmp2=!randint 4, 13 tmp3=!randint 3, 10 tmp4=!item $val6 of $(tmp0),$(tmp1),$(tmp2), $(tmp3) val14=$[rint($(tmp4))] tmp0=!item 3 of $val12 tmp1=!randint max($val13,$val14), ceil(sqrt($val13^2+$val14^2))-1 tmp2=!randint floor(sqrt($val13^2+$val14^2))+1, $val13+$val14-1 tmp3=!randint $val13+$val14+1, $val13+$val14+6 tmp4=!item $val6 of $(tmp0), $(tmp1), $(tmp2), $(tmp3) val15=$[rint($(tmp4))] tmp0=!shuffle $val13,$val14,$val15 val16=$(tmp0) tmp0=!item 1 of $val16 val17=$[rint($(tmp0))] tmp0=!item 2 of $val16 val18=$[rint($(tmp0))] tmp0=!item 3 of $val16 val19=$[rint($(tmp0))] val20=$[rint($val13+$val14+$val15)] val21=$val7,$val8,$val9,$val10 choicename1=El triángulo: choicegood1=$val11 choicebad1=$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿De qué clase es un ``triángulo'' ABC con

AB = $val17 , BC = $val18, perímetro = $val20 ?
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,20 embedcnt=0 wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/def/centers.def0000644000175000017500000000433410340336067027205 0ustar georgeskgeorgesk!set title=Centros !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=10000 ansorder=r,c varcnt=14 prevarcnt=13 postvarcnt=0 replycnt=1 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 val6=siempre dentro val7=algunas veces fuera val8=siempre fuera tmp=!trim semiperpendiculares, circumcentro, $val7, semiperpendiculares, centro de un circumcírculo altitudes, ortocentro, $val7 bisectores de ángulo, incentro, $val6, bisectores de ángulos|bisectores, centro de un círculo inscrito medianas, centro de gravedad, $val6, , baricentro val9=!translate internal $ \ $ to ;; in $tmp val10=triángulo ángulo lados perímetro vértice punto intersección línea recta tmp=!translate internal $ $ to ; in $val9 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!randitem 1,2 val12=$[rint($(tmp0))] val13=    (A)     val14=    (B)     !ifval $val12=1 val15=$val13 !else tmp0=!item 1 of $val11 val15=$(tmp0) !endif !ifval $val12=1 tmp0=!item 2 of $val11 val16=$(tmp0) !else val16=$val13 !endif tmp0=!item $val12 of $val11 tmp1=!item 3+$val12 of $val11 val17=$(tmp0)|$(tmp1) tmp0=!item 3 of $val11 val18=$(tmp0) replytype1=atext replyname1=(A) replygood1=$val17;$val9 $val10 choicename1=(B) choicegood1=$val18 choicebad1=$val6,$val7,$val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Rellene el texto:

La intersección de las tres !if $val12=1 $() !read oef/embed.phtml reply 1,25 $() !else $() $val15 !endif $() de un triángulo recibe el nombre de !if $val12=1 $()$val16 !else $() !read oef/embed.phtml reply 1,25 $() !endif $() de dicho triángulo, y está !read oef/embed.phtml choice 1 $() del triángulo. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,15,16 embedcnt=3 wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/intro.phtml0000644000175000017500000000020410340336067026515 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal ejercicios sobre los triángulos. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/Exindex0000644000175000017500000000035110340336067025646 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of centers,twosides,twosidesb,types,typesb, !set titlelist=!char 1 to -2 of Centros,Dados dos lados,Dos lados agudos,Reconocimiento de tipos,Reconocimiento de tipos bis, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/Extitles0000644000175000017500000000020510340336067026041 0ustar georgeskgeorgeskcenters:Centros twosides:Dados dos lados twosidesb:Dos lados agudos types:Reconocimiento de tipos typesb:Reconocimiento de tipos bis wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/var.proc0000644000175000017500000000024210340336067025773 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto proc/var.proc wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/images/0000755000175000017500000000000010340336067025565 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/0000755000175000017500000000000010340336067025263 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/var.proc0000644000175000017500000000002710340336067026737 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/answer.phtml0000644000175000017500000000005410340336067027627 0ustar georgeskgeorgesk!changeto oef/$module_language/answer.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/intromenu.phtml0000644000175000017500000000005710340336067030353 0ustar georgeskgeorgesk!changeto oef/$module_language/intromenu.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/var.prep0000644000175000017500000000002710340336067026742 0ustar georgeskgeorgesk!changeto oef/var.prep wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/about.phtml0000644000175000017500000000005310340336067027441 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/present.phtml0000644000175000017500000000003410340336067030006 0ustar georgeskgeorgesk!changeto oef/present.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/noreply.phtml0000644000175000017500000000005510340336067030021 0ustar georgeskgeorgesk!changeto oef/$module_language/noreply.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/Main.phtml0000644000175000017500000000005210340336067027212 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/print.phtml0000644000175000017500000000005310340336067027463 0ustar georgeskgeorgesk!changeto oef/$module_language/print.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/var.def0000644000175000017500000000231310340336067026532 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/form.phtml0000644000175000017500000000005210340336067027271 0ustar georgeskgeorgesk!changeto oef/$module_language/form.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/mkindex0000755000175000017500000000003010340336067026641 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/names0000644000175000017500000000004510340336067026310 0ustar georgeskgeorgesk!changeto oef/$module_language/names wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/atext.dic0000644000175000017500000000004510340336067027070 0ustar georgeskgeorgeska: an: for: of: s: that: the: this: wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/msg.phtml0000644000175000017500000000005110340336067027113 0ustar georgeskgeorgesk!changeto oef/$module_language/msg.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/exo.init0000644000175000017500000000002710340336067026742 0ustar georgeskgeorgesk!changeto oef/exo.init wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/help.phtml0000644000175000017500000000005210340336067027256 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/proc/hint.phtml0000644000175000017500000000005210340336067027270 0ustar georgeskgeorgesk!changeto oef/$module_language/hint.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/about.phtml0000644000175000017500000000005310340336067026476 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/main.phtml0000644000175000017500000000005210340336067026307 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/var.def0000644000175000017500000000231310340336067025567 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/mkindex0000755000175000017500000000003010340336067025676 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/INDEX0000644000175000017500000000107710340336067025117 0ustar georgeskgeorgesktitle=Triángulos OEF description=colección de ejercicios sobre los triángulos. author=XIAO Gang address=xiao@unice.fr copyright=© 2002- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 wims_version=3.11 language=es category=exercise, oef level=E5, E6, H1, H2, H3, H4 domain=geometry keywords=acute, obtuse, right triangle, angle, pythagoras, equilateral, isoceles, thales, agudo, obtuso, triángulo equilátero, pitágoras, equilátero, isóceles, tales require= scoring=yes help=popup wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/0000755000175000017500000000000010771676432025122 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/twosidesb.oef0000644000175000017500000000262010340336067027605 0ustar georgeskgeorgesk\title{Dos lados agudos} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ab=random(10..40)} \integer{bc=random(10..40)} \integer{max=max(\ab,\bc)} \integer{min=min(\ab,\bc)} \text{long=\ab>\bc?AB:BC} \text{short=\ab>\bc?BC:AB} \real{sq1=sqrt(\max^2+\min^2)} \real{sq2=sqrt(\max^2-\min^2)} \integer{n1=(ceil(\sq1)-1) - (floor(\sq2)+1) + 1} \integer{n2=(\ab+\bc-1) - (floor(\sq1)+1) + 1} \integer{n3=(ceil(\sq2)-1) - (\max-\min+1) + 1} \integer{n3=\n3<0?0} \integer{o=random(1,2)} \text{type=item(\o,agudos, obtusos)} \integer{n=item(\o,\n1,\n2+\n3)} \text{ans=\o=1?Para que ABC sea un triángulo agudo, AC debe ser mayor que sqrt(\long2-\short2)=\sq2 y menor que sqrt(AB2+BC2)=\sq1, por el teorema de Pitágoras. } \text{ans=\o=2?Para que ABC sea un triángulo, AC debe ser al menos \max-\min+1 y como mucho \ab+\bc-1.

Cuando \long es el lado más largo del triángulo, AC debe ser menor de \sq2 por el teorema de Pitágoras. Cuando AC es el lado más largo, debe ser mayor que \sq1, de nuevo por el teorema de Pitágoras.

Por tanto hay \n3 (resp. \n2) triángulos obtusos cuyo lado más largo es \long (resp. AC)} \statement{¿Cuántos triángulos ABC \type hay, donde

AB = \ab , BC = \bc , AC = un entero?
} \answer{Número de triángulos}{\n}{type=default} \solution{\ans} wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/types.oef0000644000175000017500000000213210340336067026744 0ustar georgeskgeorgesk\title{Reconocimiento de tipos} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{type=random(1..4)} \text{right=Es un triángulo rectángulo} \text{acute=Es un triángulo agudo} \text{obtuse=Es un triángulo obtuso} \text{non=No es un triángulo} \text{this=item(\type,\right,\acute,\obtuse,\non)} \matrix{rdata=3,4,5 6,8,10 9,12,15 12,16,20 15,20,25 5,12,13 10,24,26 7,24,25 } \text{rdata=randomrow(\rdata)} \integer{a=item(\type,item(1,\rdata),random(5..15),random(4..13), random(3..10))} \integer{b=item(\type,item(2,\rdata),random(5..15),random(4..13), random(3..10))} \integer{c=item(\type,item(3,\rdata), random(max(\a,\b)..ceil(sqrt(\a^2+\b^2))-1), random(floor(sqrt(\a^2+\b^2))+1..\a+\b-1), random(\a+\b+1..\a+\b+6))} \text{abc=shuffle(\a,\b,\c)} \integer{aa=item(1,\abc)} \integer{bb=item(2,\abc)} \integer{cc=item(3,\abc)} \text{all=\right,\acute,\obtuse,\non} \statement{¿De qué clase es un ``triángulo'' ABC con los 3 lados

AB = \aa , BC = \bb, CA = \cc ?
} \choice{El triángulo:}{\this}{\all} wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/Makefile0000644000175000017500000000003010340336067026540 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/twosides.oef0000644000175000017500000000123610340336067027445 0ustar georgeskgeorgesk\title{Dados dos lados} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ab=random(10..40)} \integer{bc=random(10..40)} \integer{max=max(\ab,\bc)} \integer{min=min(\ab,\bc)} \text{long=\ab>\bc?AB:BC} \text{short=\ab>\bc?BC:AB} \integer{least=\max-\min+1} \integer{most=\ab+\bc-1} \integer{n=\most - \least + 1} \statement{¿Cuántos triángulos ABC hay, donde

AB = \ab , BC = \bc , AC = un entero?
} \answer{Número de triángulos}{\n}{type=default} \solution{Para que ABC sea un triángulo, AC debe ser al menos \long-\short+1=\least, y como mucho AB+BC-1=\most.} wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/.htaccess0000644000175000017500000000001610340336067026702 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/typesb.oef0000644000175000017500000000216310340336067027112 0ustar georgeskgeorgesk\title{Reconocimiento de tipos bis} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{type=random(1..4)} \text{right=Es un triángulo rectángulo} \text{acute=Es un triángulo agudo} \text{obtuse=Es un triángulo obtuso} \text{non=No es un triángulo} \text{this=item(\type,\right,\acute,\obtuse,\non)} \matrix{rdata=3,4,5 6,8,10 9,12,15 12,16,20 15,20,25 5,12,13 10,24,26 7,24,25 } \text{rdata=randomrow(\rdata)} \integer{a=item(\type,item(1,\rdata),random(5..15),random(4..13), random(3..10))} \integer{b=item(\type,item(2,\rdata),random(5..15),random(4..13), random(3..10))} \integer{c=item(\type,item(3,\rdata), random(max(\a,\b)..ceil(sqrt(\a^2+\b^2))-1), random(floor(sqrt(\a^2+\b^2))+1..\a+\b-1), random(\a+\b+1..\a+\b+6))} \text{abc=shuffle(\a,\b,\c)} \integer{aa=item(1,\abc)} \integer{bb=item(2,\abc)} \integer{cc=item(3,\abc)} \integer{peri=\a+\b+\c} \text{all=\right,\acute,\obtuse,\non} \statement{¿De qué clase es un ``triángulo'' ABC con

AB = \aa , BC = \bb, perímetro = \peri ?
} \choice{El triángulo:}{\this}{\all} wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/src/centers.oef0000644000175000017500000000240310340336067027244 0ustar georgeskgeorgesk\title{Centros} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{always=siempre dentro} \text{depend=algunas veces fuera} \text{never =siempre fuera} \matrix{data= semiperpendiculares, circumcentro, \depend, semiperpendiculares, centro de un circumcírculo altitudes, ortocentro, \depend bisectores de ángulo, incentro, \always, bisectores de ángulos|bisectores, centro de un círculo inscrito medianas, centro de gravedad, \always, , baricentro } \text{bad=triángulo ángulo lados perímetro vértice punto intersección línea recta} \text{one=randomrow(\data)} \integer{type=random(1,2)} \text{A=    (A)    } \text{B=    (B)    } \text{AA=\type=1?\A:item(1,\one)} \text{BB=\type=1?item(2,\one):\A} \text{good=item(\type,\one)|item(3+\type,\one)} \text{good2=item(3,\one)} \statement{Rellene el texto:

La intersección de las tres \if{\type=1}{\embed{reply 1,25}}{\AA} de un triángulo recibe el nombre de \if{\type=1}{\BB}{\embed{reply 1,25}} de dicho triángulo, y está \embed{choice 1} del triángulo. } \answer{(A)}{\good;\data \bad}{type=atext} \choice{(B)}{\good2}{\always,\depend,\never} wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/endhook.phtml0000644000175000017500000000010210340336067027006 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H2/geometry/oeftriangle.es/help.phtml0000644000175000017500000000005210340336067026313 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/E6/0000755000175000017500000000000010603511344017554 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/0000755000175000017500000000000011262662673021062 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/0000755000175000017500000000000011262662154023247 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/intro.phtml0000644000175000017500000000031410246675343025453 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene en estos momentos $exototal ejercicios de lectura de la hora en el reloj y cálculo del tiempo, horas, minutos, segundos, etc. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/INDEX0000644000175000017500000000177610246675216024060 0ustar georgeskgeorgesktitle=OEF clock # Commencez la description par minuscule! description=colección de ejercicios de lectura de las horas del reloj. author=XIAO Gang address=xiao@unice.fr copyright=© 2003- (GNU GPL) translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.31 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=E3, E4, E5, E6, H1 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra, number # Anything you like. keywords=hour, minute, second, clock, time, hora, minuto, segundo, reloj # Software packages required to run the module require= # Does the module have scoring system? scoring=yes help=popup wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/0000755000175000017500000000000010251100307023765 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/aeroport.def0000644000175000017500000000617010251100307026304 0ustar georgeskgeorgesk!set title=Aeropuerto !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=10000 ansorder=r varcnt=29 prevarcnt=28 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=!randitem París, Londres, Nueva York, Los Angeles, Pekín, Tokyo, Hong Kong, Roma, Niza, Moscú, Shanghai, Singapur, Ginebra, Zurich, Bruselas, Berlín, Montreal val6=$(tmp0) val7=h tmp0=!randint 9, 15 val8=$[rint($(tmp0))] tmp0=!randint 1, 11 val9=$[rint($(tmp0)*5)] val10=$[rint($val8*60+$val9)] tmp0=!char -2,-1 of 0$val9 val9=$(tmp0) tmp0=!randitem 30,35,40,45,50 val11=$[rint($(tmp0))] val12=$[rint($val10-$val11)] tmp0=!randint 6, 11 val13=$[rint($(tmp0)*5)] tmp0=!randint 3, 5 val14=$[rint($(tmp0)*5)] tmp0=!randint 2, 5 val15=$[rint($(tmp0)*5)] val16=$[rint($val13+$val14)] val17=$[rint($val16+$val15)] tmp0=!randint 1, 4 val18=$[rint($(tmp0))] tmp0=!randint $val17+2, $val17+20 tmp1=!randint $val16+2, $val17-2 tmp2=!randint $val13+2, $val16-2 tmp3=!randint $val13-15, $val13-2 tmp4=!item $val18 of $(tmp0), $(tmp1), $(tmp2), $(tmp3) val19=$[rint($(tmp4))] val20=$[rint($val12-$val19)] val21=$[rint(floor($val20/60))] val22=$[rint($val20-60*$val21)] tmp0=!char -2,-1 of 0$val22 val22=$(tmp0) val23=$[rint(160)] !readproc slib/draw/clock $val21:$val22,160,1,nosecond tmp0=$slib_out val24=$(tmp0) !readproc slib/lang/fname boy tmp0=$slib_out val25=$(tmp0) tmp0=!randint 3, 10 val26=$[rint($(tmp0))] tmp0=!randint ($val26+1)*1.2, ($val26+1)*1.8 val27=$[rint($(tmp0))] tmp0=!randint $val27*1.6, $val27*3 val28=$[rint($(tmp0))] val29=$[rint(floor($val12/60))] val30=$[rint($val12-60*$val29)] tmp0=!char -2,-1 of 0$val30 val30=$(tmp0) replytype1=menu replyname1=Respuesta replygood1=$val18;El autobús urbano, El autobús del aeropuerto, Un taxi, Ninguno: ya es demasiado tarde question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()

$val25 debe coger un vuelo para $val6 a las $val8$val7$val9. Debe estar en el aeropuerto al menos $val11 minutos antes del despegue.

Para ir al aeropuerto puede elegir entre:

  • El autobús urbano, que tarda $val17 minutos. Precio: $val26 euros.
  • El autobús del aeropuerto, que tarda $val16 minutos. Precio: $val27 euros.
  • Un taxi, que tarda $val13 minutos. Precio: $val28 euros.
      !read oef/draw.phtml $val23,$val23 \ $val24 $()

¿Cuál es el medio más barato para ir al aeropuerto?

!read oef/embed.phtml reply 1 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $()Son las $val21$val7$val22. $val25 debe llegar al aeropuerto a las $val29$val7$val30. Por tanto tiene $val19 minutos para llegar. $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,11,13,16,17,19,21,22,23,24,25,26,27,28,29,30 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/.htaccess0000644000175000017500000000001606634516636025612 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/futur1_4.def0000644000175000017500000000462010251100307026120 0ustar georgeskgeorgesk!set title=Futuro I-4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=27 prevarcnt=26 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(4)] val7=h tmp0=!randint 6, 57 val8=$[rint($(tmp0))] val9=$[rint(120)] tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] !readproc slib/draw/clock $val10:$val11,$val9,1,exactmin nosecond tmp0=$slib_out val13=$(tmp0) val14=$[rint($val12+$val8)] val15=-$val8,60,$val8*2,-$val8*2, -$val8-10,-$val8-60,-$val8-30,-$val8-15,-$val8-5, -$val8+5,-$val8+10,-$val8+15,-$val8+20,-$val8+30, $val8+2, $val8-2, $val8+3, $val8-3, $val8+60,$val8-60,$val8+59,$val8+61,$val8-59,$val8-61, $val8+10,$val8-10,$val8+5,$val8-5,$val8+30,$val8-30, $val8+15,$val8-15 tmp0=!itemcnt $val15 val16=$[rint($(tmp0))] tmp0=!values x+$val12 for x in $val15 tmp1=!shuffle $(tmp0) val15=$(tmp1) val14=$[rint($val12+$val8)] tmp0=!item 1 to $val6 of $val15 tmp1=!listuniq $val14,$(tmp0) val15=$(tmp1) tmp0=!shuffle $val6 val17=$(tmp0) tmp0=!positionof item 1 in $val17 val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!item $val21 of $val17 tmp1=!item $(tmp0) of $val15 val22=$[rint($(tmp1))] val23=$[rint(floor($val22/60))] val24=$[rint($val22%60)] !readproc slib/draw/clock $val23:$val24,$val9,1,exactmin nosecond tmp0=$slib_out val25=$(tmp0) !readproc oef/draw.phtml $val9,$val9 \ $val25 tmp0=$ins_url val26=$(tmp0) tmp0=!append item to $val19 val19=$(tmp0) !if $val21=$val18 val27= !endif !next replytype1=dragfill replyname1=El reloj correcto replygood1=$val27;$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Arrastre el reloj correcto a la casilla vacía:

Son las !read oef/draw.phtml $val9,$val9 \ $val13 $(). Dentro de $val8 minutos, serán las !read oef/embed.phtml reply 1,$val9 $val9 $() .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/futur1_5.def0000644000175000017500000000462010251100307026121 0ustar georgeskgeorgesk!set title=Futuro I-5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=27 prevarcnt=26 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=h tmp0=!randint 6, 57 val8=$[rint($(tmp0))] val9=$[rint(120)] tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] !readproc slib/draw/clock $val10:$val11,$val9,1,exactmin nosecond tmp0=$slib_out val13=$(tmp0) val14=$[rint($val12+$val8)] val15=-$val8,60,$val8*2,-$val8*2, -$val8-10,-$val8-60,-$val8-30,-$val8-15,-$val8-5, -$val8+5,-$val8+10,-$val8+15,-$val8+20,-$val8+30, $val8+2, $val8-2, $val8+3, $val8-3, $val8+60,$val8-60,$val8+59,$val8+61,$val8-59,$val8-61, $val8+10,$val8-10,$val8+5,$val8-5,$val8+30,$val8-30, $val8+15,$val8-15 tmp0=!itemcnt $val15 val16=$[rint($(tmp0))] tmp0=!values x+$val12 for x in $val15 tmp1=!shuffle $(tmp0) val15=$(tmp1) val14=$[rint($val12+$val8)] tmp0=!item 1 to $val6 of $val15 tmp1=!listuniq $val14,$(tmp0) val15=$(tmp1) tmp0=!shuffle $val6 val17=$(tmp0) tmp0=!positionof item 1 in $val17 val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!item $val21 of $val17 tmp1=!item $(tmp0) of $val15 val22=$[rint($(tmp1))] val23=$[rint(floor($val22/60))] val24=$[rint($val22%60)] !readproc slib/draw/clock $val23:$val24,$val9,1,exactmin nosecond tmp0=$slib_out val25=$(tmp0) !readproc oef/draw.phtml $val9,$val9 \ $val25 tmp0=$ins_url val26=$(tmp0) tmp0=!append item to $val19 val19=$(tmp0) !if $val21=$val18 val27= !endif !next replytype1=dragfill replyname1=El reloj correcto replygood1=$val27;$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Arrastre el reloj correcto a la casilla vacía:

Son las !read oef/draw.phtml $val9,$val9 \ $val13 $(). Dentro de $val8 minutos, serán las !read oef/embed.phtml reply 1,$val9 $val9 $() .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/futur1_6.def0000644000175000017500000000462010251100307026122 0ustar georgeskgeorgesk!set title=Futuro I-6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=27 prevarcnt=26 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(6)] val7=h tmp0=!randint 6, 57 val8=$[rint($(tmp0))] val9=$[rint(120)] tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] !readproc slib/draw/clock $val10:$val11,$val9,1,exactmin nosecond tmp0=$slib_out val13=$(tmp0) val14=$[rint($val12+$val8)] val15=-$val8,60,$val8*2,-$val8*2, -$val8-10,-$val8-60,-$val8-30,-$val8-15,-$val8-5, -$val8+5,-$val8+10,-$val8+15,-$val8+20,-$val8+30, $val8+2, $val8-2, $val8+3, $val8-3, $val8+60,$val8-60,$val8+59,$val8+61,$val8-59,$val8-61, $val8+10,$val8-10,$val8+5,$val8-5,$val8+30,$val8-30, $val8+15,$val8-15 tmp0=!itemcnt $val15 val16=$[rint($(tmp0))] tmp0=!values x+$val12 for x in $val15 tmp1=!shuffle $(tmp0) val15=$(tmp1) val14=$[rint($val12+$val8)] tmp0=!item 1 to $val6 of $val15 tmp1=!listuniq $val14,$(tmp0) val15=$(tmp1) tmp0=!shuffle $val6 val17=$(tmp0) tmp0=!positionof item 1 in $val17 val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!item $val21 of $val17 tmp1=!item $(tmp0) of $val15 val22=$[rint($(tmp1))] val23=$[rint(floor($val22/60))] val24=$[rint($val22%60)] !readproc slib/draw/clock $val23:$val24,$val9,1,exactmin nosecond tmp0=$slib_out val25=$(tmp0) !readproc oef/draw.phtml $val9,$val9 \ $val25 tmp0=$ins_url val26=$(tmp0) tmp0=!append item to $val19 val19=$(tmp0) !if $val21=$val18 val27= !endif !next replytype1=dragfill replyname1=El reloj correcto replygood1=$val27;$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Arrastre el reloj correcto a la casilla vacía:

Son las !read oef/draw.phtml $val9,$val9 \ $val13 $(). Dentro de $val8 minutos, serán las !read oef/embed.phtml reply 1,$val9 $val9 $() .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/futur2_4.def0000644000175000017500000000462110251100307026122 0ustar georgeskgeorgesk!set title=Futuro II-4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=27 prevarcnt=26 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(4)] val7=h tmp0=!randint 6, 57 val8=$[rint($(tmp0))] val9=$[rint(120)] tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] !readproc slib/draw/clock $val10:$val11,$val9,1,exactmin nosecond tmp0=$slib_out val13=$(tmp0) val14=$[rint($val12+$val8)] val15=-$val8,60,$val8*2,-$val8*2, -$val8-10,-$val8-60,-$val8-30,-$val8-15,-$val8-5, -$val8+5,-$val8+10,-$val8+15,-$val8+20,-$val8+30, $val8+2, $val8-2, $val8+3, $val8-3, $val8+60,$val8-60,$val8+59,$val8+61,$val8-59,$val8-61, $val8+10,$val8-10,$val8+5,$val8-5,$val8+30,$val8-30, $val8+15,$val8-15 tmp0=!itemcnt $val15 val16=$[rint($(tmp0))] tmp0=!values $val12-x for x in $val15 tmp1=!shuffle $(tmp0) val15=$(tmp1) val14=$[rint($val12-$val8)] tmp0=!item 1 to $val6 of $val15 tmp1=!listuniq $val14,$(tmp0) val15=$(tmp1) tmp0=!shuffle $val6 val17=$(tmp0) tmp0=!positionof item 1 in $val17 val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!item $val21 of $val17 tmp1=!item $(tmp0) of $val15 val22=$[rint($(tmp1))] val23=$[rint(floor($val22/60))] val24=$[rint($val22%60)] !readproc slib/draw/clock $val23:$val24,$val9,1,exactmin nosecond tmp0=$slib_out val25=$(tmp0) !readproc oef/draw.phtml $val9,$val9 \ $val25 tmp0=$ins_url val26=$(tmp0) tmp0=!append item to $val19 val19=$(tmp0) !if $val21=$val18 val27= !endif !next replytype1=dragfill replyname1=El reloj correcto replygood1=$val27;$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Arrastre el reloj correcto a la casilla vacía:

Son las !read oef/embed.phtml reply 1,$val9 $val9 $() . Dentro de $val8 minutos, serán las !read oef/draw.phtml $val9,$val9 \ $val13 $() .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/futur2_5.def0000644000175000017500000000462110251100307026123 0ustar georgeskgeorgesk!set title=Futuro II-5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=27 prevarcnt=26 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=h tmp0=!randint 6, 57 val8=$[rint($(tmp0))] val9=$[rint(120)] tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] !readproc slib/draw/clock $val10:$val11,$val9,1,exactmin nosecond tmp0=$slib_out val13=$(tmp0) val14=$[rint($val12+$val8)] val15=-$val8,60,$val8*2,-$val8*2, -$val8-10,-$val8-60,-$val8-30,-$val8-15,-$val8-5, -$val8+5,-$val8+10,-$val8+15,-$val8+20,-$val8+30, $val8+2, $val8-2, $val8+3, $val8-3, $val8+60,$val8-60,$val8+59,$val8+61,$val8-59,$val8-61, $val8+10,$val8-10,$val8+5,$val8-5,$val8+30,$val8-30, $val8+15,$val8-15 tmp0=!itemcnt $val15 val16=$[rint($(tmp0))] tmp0=!values $val12-x for x in $val15 tmp1=!shuffle $(tmp0) val15=$(tmp1) val14=$[rint($val12-$val8)] tmp0=!item 1 to $val6 of $val15 tmp1=!listuniq $val14,$(tmp0) val15=$(tmp1) tmp0=!shuffle $val6 val17=$(tmp0) tmp0=!positionof item 1 in $val17 val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!item $val21 of $val17 tmp1=!item $(tmp0) of $val15 val22=$[rint($(tmp1))] val23=$[rint(floor($val22/60))] val24=$[rint($val22%60)] !readproc slib/draw/clock $val23:$val24,$val9,1,exactmin nosecond tmp0=$slib_out val25=$(tmp0) !readproc oef/draw.phtml $val9,$val9 \ $val25 tmp0=$ins_url val26=$(tmp0) tmp0=!append item to $val19 val19=$(tmp0) !if $val21=$val18 val27= !endif !next replytype1=dragfill replyname1=El reloj correcto replygood1=$val27;$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Arrastre el reloj correcto a la casilla vacía:

Son las !read oef/embed.phtml reply 1,$val9 $val9 $() . Dentro de $val8 minutos, serán las !read oef/draw.phtml $val9,$val9 \ $val13 $() .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/futur2_6.def0000644000175000017500000000462110251100307026124 0ustar georgeskgeorgesk!set title=Futuro II-6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=27 prevarcnt=26 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(6)] val7=h tmp0=!randint 6, 57 val8=$[rint($(tmp0))] val9=$[rint(120)] tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] !readproc slib/draw/clock $val10:$val11,$val9,1,exactmin nosecond tmp0=$slib_out val13=$(tmp0) val14=$[rint($val12+$val8)] val15=-$val8,60,$val8*2,-$val8*2, -$val8-10,-$val8-60,-$val8-30,-$val8-15,-$val8-5, -$val8+5,-$val8+10,-$val8+15,-$val8+20,-$val8+30, $val8+2, $val8-2, $val8+3, $val8-3, $val8+60,$val8-60,$val8+59,$val8+61,$val8-59,$val8-61, $val8+10,$val8-10,$val8+5,$val8-5,$val8+30,$val8-30, $val8+15,$val8-15 tmp0=!itemcnt $val15 val16=$[rint($(tmp0))] tmp0=!values $val12-x for x in $val15 tmp1=!shuffle $(tmp0) val15=$(tmp1) val14=$[rint($val12-$val8)] tmp0=!item 1 to $val6 of $val15 tmp1=!listuniq $val14,$(tmp0) val15=$(tmp1) tmp0=!shuffle $val6 val17=$(tmp0) tmp0=!positionof item 1 in $val17 val18=$(tmp0) val19= val20= !for val21 =1 to $val6 tmp0=!item $val21 of $val17 tmp1=!item $(tmp0) of $val15 val22=$[rint($(tmp1))] val23=$[rint(floor($val22/60))] val24=$[rint($val22%60)] !readproc slib/draw/clock $val23:$val24,$val9,1,exactmin nosecond tmp0=$slib_out val25=$(tmp0) !readproc oef/draw.phtml $val9,$val9 \ $val25 tmp0=$ins_url val26=$(tmp0) tmp0=!append item to $val19 val19=$(tmp0) !if $val21=$val18 val27= !endif !next replytype1=dragfill replyname1=El reloj correcto replygood1=$val27;$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Arrastre el reloj correcto a la casilla vacía:

Son las !read oef/embed.phtml reply 1,$val9 $val9 $() . Dentro de $val8 minutos, serán las !read oef/draw.phtml $val9,$val9 \ $val13 $() .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=1 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/meet3.def0000644000175000017500000000514510246674615025515 0ustar georgeskgeorgesk!set title=Reunión 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=32 prevarcnt=31 postvarcnt=0 replycnt=2 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(3)] val7=h val8=$[rint(120)] tmp0=!shuffle 3,6,8,10,12,15,17,20,24,27,30,35,42 tmp1=!item 1 to $val6-2 of $(tmp0) val9=$(tmp1) tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] tmp0=!randitem 2,3,4 val13=$[rint($(tmp0))] tmp0=!randint 1, 11 val14=$[rint($(tmp0)*5)] val15=$[rint($val13*60+$val14)] val16=$[rint($val12+$val15)] val17=$val12,$val16 !for val18 =1 to $val6-2 tmp0=!item $val18 of $val9 val19=$[rint($(tmp0))] tmp0=!randitem $val12-$val19,$val12+$val19,$val16-$val19,$val16+$val19 val20=$[rint($(tmp0))] val17=$val17,$val20 !next tmp0=!shuffle $val6 val9=$(tmp0) tmp0=!positionof item 1 in $val9 val21=$(tmp0) tmp0=!positionof item 2 in $val9 val22=$(tmp0) val23= val24= !for val18 =1 to $val6 tmp0=!item $val18 of $val9 tmp1=!item $(tmp0) of $val17 val25=$[rint($(tmp1))] val26=$[rint(floor($val25/60))] val27=$[rint($val25%60)] !readproc slib/draw/clock $val26:$val27,$val8,2,exactmin nosecond tmp0=$slib_out val28=$(tmp0) !readproc oef/draw.phtml $val8,$val8 \ $val28 tmp0=$ins_url val29=$(tmp0) tmp0=!append item to $val23 val23=$(tmp0) !if $val18=$val21 val30= !endif !if $val18=$val22 val31= !endif !next tmp0=!listcomplement $val30,$val31 in $val23 val23=$(tmp0) replytype1=dragfill replyname1=Comienzo replygood1=$val30;$val23 replytype2=dragfill replyname2=Final replygood2=$val31 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Nuestra reunión duró $val13 horas y $val14 minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
!read oef/embed.phtml reply 1,$val8 $val8 $() $val13 horas
$val14 minutos
!read oef/embed.phtml reply 2,$val8 $val8 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,13,14 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/meet4.def0000644000175000017500000000514510246674615025516 0ustar georgeskgeorgesk!set title=Reunión 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=32 prevarcnt=31 postvarcnt=0 replycnt=2 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(4)] val7=h val8=$[rint(120)] tmp0=!shuffle 3,6,8,10,12,15,17,20,24,27,30,35,42 tmp1=!item 1 to $val6-2 of $(tmp0) val9=$(tmp1) tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] tmp0=!randitem 2,3,4 val13=$[rint($(tmp0))] tmp0=!randint 1, 11 val14=$[rint($(tmp0)*5)] val15=$[rint($val13*60+$val14)] val16=$[rint($val12+$val15)] val17=$val12,$val16 !for val18 =1 to $val6-2 tmp0=!item $val18 of $val9 val19=$[rint($(tmp0))] tmp0=!randitem $val12-$val19,$val12+$val19,$val16-$val19,$val16+$val19 val20=$[rint($(tmp0))] val17=$val17,$val20 !next tmp0=!shuffle $val6 val9=$(tmp0) tmp0=!positionof item 1 in $val9 val21=$(tmp0) tmp0=!positionof item 2 in $val9 val22=$(tmp0) val23= val24= !for val18 =1 to $val6 tmp0=!item $val18 of $val9 tmp1=!item $(tmp0) of $val17 val25=$[rint($(tmp1))] val26=$[rint(floor($val25/60))] val27=$[rint($val25%60)] !readproc slib/draw/clock $val26:$val27,$val8,2,exactmin nosecond tmp0=$slib_out val28=$(tmp0) !readproc oef/draw.phtml $val8,$val8 \ $val28 tmp0=$ins_url val29=$(tmp0) tmp0=!append item to $val23 val23=$(tmp0) !if $val18=$val21 val30= !endif !if $val18=$val22 val31= !endif !next tmp0=!listcomplement $val30,$val31 in $val23 val23=$(tmp0) replytype1=dragfill replyname1=Comienzo replygood1=$val30;$val23 replytype2=dragfill replyname2=Final replygood2=$val31 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Nuestra reunión duró $val13 horas y $val14 minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
!read oef/embed.phtml reply 1,$val8 $val8 $() $val13 horas
$val14 minutos
!read oef/embed.phtml reply 2,$val8 $val8 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,13,14 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/meet5.def0000644000175000017500000000514510246674615025517 0ustar georgeskgeorgesk!set title=Reunión 5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=32 prevarcnt=31 postvarcnt=0 replycnt=2 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=h val8=$[rint(120)] tmp0=!shuffle 3,6,8,10,12,15,17,20,24,27,30,35,42 tmp1=!item 1 to $val6-2 of $(tmp0) val9=$(tmp1) tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] tmp0=!randitem 2,3,4 val13=$[rint($(tmp0))] tmp0=!randint 1, 11 val14=$[rint($(tmp0)*5)] val15=$[rint($val13*60+$val14)] val16=$[rint($val12+$val15)] val17=$val12,$val16 !for val18 =1 to $val6-2 tmp0=!item $val18 of $val9 val19=$[rint($(tmp0))] tmp0=!randitem $val12-$val19,$val12+$val19,$val16-$val19,$val16+$val19 val20=$[rint($(tmp0))] val17=$val17,$val20 !next tmp0=!shuffle $val6 val9=$(tmp0) tmp0=!positionof item 1 in $val9 val21=$(tmp0) tmp0=!positionof item 2 in $val9 val22=$(tmp0) val23= val24= !for val18 =1 to $val6 tmp0=!item $val18 of $val9 tmp1=!item $(tmp0) of $val17 val25=$[rint($(tmp1))] val26=$[rint(floor($val25/60))] val27=$[rint($val25%60)] !readproc slib/draw/clock $val26:$val27,$val8,2,exactmin nosecond tmp0=$slib_out val28=$(tmp0) !readproc oef/draw.phtml $val8,$val8 \ $val28 tmp0=$ins_url val29=$(tmp0) tmp0=!append item to $val23 val23=$(tmp0) !if $val18=$val21 val30= !endif !if $val18=$val22 val31= !endif !next tmp0=!listcomplement $val30,$val31 in $val23 val23=$(tmp0) replytype1=dragfill replyname1=Comienzo replygood1=$val30;$val23 replytype2=dragfill replyname2=Final replygood2=$val31 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Nuestra reunión duró $val13 horas y $val14 minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
!read oef/embed.phtml reply 1,$val8 $val8 $() $val13 horas
$val14 minutos
!read oef/embed.phtml reply 2,$val8 $val8 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,13,14 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/def/meet6.def0000644000175000017500000000514510246674615025520 0ustar georgeskgeorgesk!set title=Reunión 6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=32 prevarcnt=31 postvarcnt=0 replycnt=2 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(6)] val7=h val8=$[rint(120)] tmp0=!shuffle 3,6,8,10,12,15,17,20,24,27,30,35,42 tmp1=!item 1 to $val6-2 of $(tmp0) val9=$(tmp1) tmp0=!randint 12, 23 val10=$[rint($(tmp0))] tmp0=!randint 1, 59 val11=$[rint($(tmp0))] val12=$[rint($val10*60+$val11)] tmp0=!randitem 2,3,4 val13=$[rint($(tmp0))] tmp0=!randint 1, 11 val14=$[rint($(tmp0)*5)] val15=$[rint($val13*60+$val14)] val16=$[rint($val12+$val15)] val17=$val12,$val16 !for val18 =1 to $val6-2 tmp0=!item $val18 of $val9 val19=$[rint($(tmp0))] tmp0=!randitem $val12-$val19,$val12+$val19,$val16-$val19,$val16+$val19 val20=$[rint($(tmp0))] val17=$val17,$val20 !next tmp0=!shuffle $val6 val9=$(tmp0) tmp0=!positionof item 1 in $val9 val21=$(tmp0) tmp0=!positionof item 2 in $val9 val22=$(tmp0) val23= val24= !for val18 =1 to $val6 tmp0=!item $val18 of $val9 tmp1=!item $(tmp0) of $val17 val25=$[rint($(tmp1))] val26=$[rint(floor($val25/60))] val27=$[rint($val25%60)] !readproc slib/draw/clock $val26:$val27,$val8,2,exactmin nosecond tmp0=$slib_out val28=$(tmp0) !readproc oef/draw.phtml $val8,$val8 \ $val28 tmp0=$ins_url val29=$(tmp0) tmp0=!append item to $val23 val23=$(tmp0) !if $val18=$val21 val30= !endif !if $val18=$val22 val31= !endif !next tmp0=!listcomplement $val30,$val31 in $val23 val23=$(tmp0) replytype1=dragfill replyname1=Comienzo replygood1=$val30;$val23 replytype2=dragfill replyname2=Final replygood2=$val31 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Nuestra reunión duró $val13 horas y $val14 minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
!read oef/embed.phtml reply 1,$val8 $val8 $() $val13 horas
$val14 minutos
!read oef/embed.phtml reply 2,$val8 $val8 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,13,14 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/0000755000175000017500000000000010251101004024011 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/Makefile0000644000175000017500000000003006754271320025470 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/cpp/0000755000175000017500000000000010251100307024600 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/cpp/Makefile0000644000175000017500000000003307632413514026254 0ustar georgeskgeorgesk all: cd ../..;./mkindex wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/cpp/futur.cpp0000644000175000017500000000445110251100306026454 0ustar georgeskgeorgesktarget=futur1_4 futur1_5 futur1_6 futur2_4 futur2_5 futur2_6 #include "header.inc" #if #TARGET (futur1_4) \title{Futuro I-4} \integer{give=4} #define FUTUR1 1 #endif #if #TARGET (futur1_5) \title{Futuro I-5} \integer{give=5} #define FUTUR1 1 #endif #if #TARGET (futur1_6) \title{Futuro I-6} \integer{give=6} #define FUTUR1 1 #endif #if #TARGET (futur2_4) \title{Futuro II-4} \integer{give=4} #define FUTUR2 1 #endif #if #TARGET (futur2_5) \title{Futuro II-5} \integer{give=5} #define FUTUR2 1 #endif #if #TARGET (futur2_6) \title{Futuro II-6} \integer{give=6} #define FUTUR2 1 #endif \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} #ifdef FUTUR1 \text{list=shuffle(wims(values x+\now for x in \list))} \integer{fut=\now+\more} #else \text{list=shuffle(wims(values \now-x for x in \list))} \integer{fut=\now-\more} #endif \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las #ifdef FUTUR1 \draw{\size,\size}{\nowclock}. Dentro de \more minutos, serán las \embed{reply 1,\size \size} #else \embed{reply 1,\size \size} . Dentro de \more minutos, serán las \draw{\size,\size}{\nowclock} #endif .

} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/cpp/meet.cpp0000644000175000017500000000363210246673333026264 0ustar georgeskgeorgesktarget=meet3 meet4 meet5 meet6 #include "header.inc" #if #TARGET (meet4) \title{Reunión 4} \integer{give=4} #endif #if #TARGET (meet3) \title{Reunión 3} \integer{give=3} #endif #if #TARGET (meet5) \title{Reunión 5} \integer{give=5} #endif #if #TARGET (meet6) \title{Reunión 6} \integer{give=6} #endif \text{h=h} \integer{size=120} \text{sh=item(1..\give-2,shuffle(3,6,8,10,12,15,17,20,24,27,30,35,42))} \integer{starth=random(12..23)} \integer{startm=random(1..59)} \integer{start=\starth*60+\startm} \integer{durh=random(2,3,4)} \integer{durm=random(1..11)*5} \integer{dur=\durh*60+\durm} \integer{end=\start+\dur} \text{list=\start,\end} \for{i=1 to \give-2}{ \integer{s=item(\i,\sh)} \integer{b=random(\start-\s,\start+\s,\end-\s,\end+\s)} \text{list=\list,\b} } \text{sh=shuffle(\give)} \text{gp1=wims(positionof item 1 in \sh)} \text{gp2=wims(positionof item 2 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,2,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp1}{\text{good1=}} \if{\i=\gp2}{\text{good2=}} } \text{bad=wims(listcomplement \good1,\good2 in \bad)} \statement{Nuestra reunión duró \durh horas y \durm minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
\embed{reply 1,\size \size} \durh horas
\durm minutos
\embed{reply 2,\size \size}
} \answer{Comienzo}{\good1;\bad}{type=dragfill} \answer{Final}{\good2}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/cpp/header.inc0000644000175000017500000000010510246673036026541 0ustar georgeskgeorgesk\language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/aeroport.oef0000644000175000017500000000402210251100306026341 0ustar georgeskgeorgesk\title{Aeropuerto} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{ville=random(París, Londres, Nueva York, Los Angeles, Pekín, Tokyo, Hong Kong, Roma, Niza, Moscú, Shanghai, Singapur, Ginebra, Zurich, Bruselas, Berlín, Montreal)} \text{h=h} \integer{ah=random(9..15)} \integer{am=random(1..11)*5} \integer{a=\ah*60+\am} \text{am=wims(char -2,-1 of 0\am)} \integer{comptoir=random(30,35,40,45,50)} \integer{ta=\a-\comptoir} \integer{t1=random(6..11)*5} \integer{s1=random(3..5)*5} \integer{s2=random(2..5)*5} \integer{t2=\t1+\s1} \integer{t3=\t2+\s2} \integer{good=random(1..4)} \integer{tt=item(\good,randint(\t3+2..\t3+20), randint(\t2+2..\t3-2), randint(\t1+2..\t2-2), randint(\t1-15..\t1-2))} \integer{td=\ta-\tt} \integer{hd=floor(\td/60)} \integer{md=\td-60*\hd} \text{md=wims(char -2,-1 of 0\md)} \integer{size=160} \text{clock=slib(draw/clock \hd:\md,160,1,nosecond)} \text{nom=slib(lang/fname boy)} \integer{prix1=random(3..10)} \integer{prix2=random((\prix1+1)*1.2..(\prix1+1)*1.8)} \integer{prix3=random(\prix2*1.6..\prix2*3)} \integer{ha=floor(\ta/60)} \integer{ma=\ta-60*\ha} \text{ma=wims(char -2,-1 of 0\ma)} \statement{
\nom debe coger un vuelo para \ville a las \ah\h\am. Debe estar en el aeropuerto al menos \comptoir minutos antes del despegue.

Para ir al aeropuerto puede elegir entre:

  • El autobús urbano, que tarda \t3 minutos. Precio: \prix1 euros.
  • El autobús del aeropuerto, que tarda \t2 minutos. Precio: \prix2 euros.
  • Un taxi, que tarda \t1 minutos. Precio: \prix3 euros.
      \draw{\size,\size}{\clock}

¿Cuál es el medio más barato para ir al aeropuerto?

\embed{reply 1}
} \answer{Respuesta}{\good;El autobús urbano, El autobús del aeropuerto, Un taxi, Ninguno: ya es demasiado tarde}{type=menu} \solution{Son las \hd\h\md. \nom debe llegar al aeropuerto a las \ha\h\ma. Por tanto tiene \tt minutos para llegar.}wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/.htaccess0000644000175000017500000000001606634516636025643 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/futur1_4.oef0000644000175000017500000000322610251100307026165 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/futur.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Futuro I-4} \integer{give=4} \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} \text{list=shuffle(wims(values x+\now for x in \list))} \integer{fut=\now+\more} \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las \draw{\size,\size}{\nowclock}. Dentro de \more minutos, serán las \embed{reply 1,\size \size} .
} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/futur1_5.oef0000644000175000017500000000323310251100307026164 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/futur.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Futuro I-5} \integer{give=5} \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} \text{list=shuffle(wims(values x+\now for x in \list))} \integer{fut=\now+\more} \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las \draw{\size,\size}{\nowclock}. Dentro de \more minutos, serán las \embed{reply 1,\size \size} .
} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/futur1_6.oef0000644000175000017500000000322510251100307026166 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/futur.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Futuro I-6} \integer{give=6} \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} \text{list=shuffle(wims(values x+\now for x in \list))} \integer{fut=\now+\more} \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las \draw{\size,\size}{\nowclock}. Dentro de \more minutos, serán las \embed{reply 1,\size \size} .
} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/futur2_4.oef0000644000175000017500000000322610251100307026166 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/futur.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Futuro II-4} \integer{give=4} \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} \text{list=shuffle(wims(values \now-x for x in \list))} \integer{fut=\now-\more} \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las \embed{reply 1,\size \size} . Dentro de \more minutos, serán las \draw{\size,\size}{\nowclock} .
} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/futur2_5.oef0000644000175000017500000000323510251100307026167 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/futur.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Futuro II-5} \integer{give=5} \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} \text{list=shuffle(wims(values \now-x for x in \list))} \integer{fut=\now-\more} \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las \embed{reply 1,\size \size} . Dentro de \more minutos, serán las \draw{\size,\size}{\nowclock} .
} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/futur2_6.oef0000644000175000017500000000323010251100307026163 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/futur.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Futuro II-6} \integer{give=6} \text{h=h} \integer{more=random(6..57)} \integer{size=120} \integer{nowh=random(12..23)} \integer{nowm=random(1..59)} \integer{now=\nowh*60+\nowm} \text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)} \integer{fut=\now+\more} \text{list=-\more,60,\more*2,-\more*2, -\more-10,-\more-60,-\more-30,-\more-15,-\more-5, -\more+5,-\more+10,-\more+15,-\more+20,-\more+30, \more+2, \more-2, \more+3, \more-3, \more+60,\more-60,\more+59,\more+61,\more-59,\more-61, \more+10,\more-10,\more+5,\more-5,\more+30,\more-30, \more+15,\more-15} \integer{n=items(\list)} \text{list=shuffle(wims(values \now-x for x in \list))} \integer{fut=\now-\more} \text{list=wims(listuniq \fut,item(1..\give,\list))} \text{sh=shuffle(\give)} \text{gp=wims(positionof item 1 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp}{\text{good=}} } \statement{Arrastre el reloj correcto a la casilla vacía:

Son las \embed{reply 1,\size \size} . Dentro de \more minutos, serán las \draw{\size,\size}{\nowclock} .
} \answer{El reloj correcto}{\good;\bad}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/meet3.oef0000644000175000017500000000346110246674615025560 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/meet.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Reunión 3} \integer{give=3} \text{h=h} \integer{size=120} \text{sh=item(1..\give-2,shuffle(3,6,8,10,12,15,17,20,24,27,30,35,42))} \integer{starth=random(12..23)} \integer{startm=random(1..59)} \integer{start=\starth*60+\startm} \integer{durh=random(2,3,4)} \integer{durm=random(1..11)*5} \integer{dur=\durh*60+\durm} \integer{end=\start+\dur} \text{list=\start,\end} \for{i=1 to \give-2}{ \integer{s=item(\i,\sh)} \integer{b=random(\start-\s,\start+\s,\end-\s,\end+\s)} \text{list=\list,\b} } \text{sh=shuffle(\give)} \text{gp1=wims(positionof item 1 in \sh)} \text{gp2=wims(positionof item 2 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,2,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp1}{\text{good1=}} \if{\i=\gp2}{\text{good2=}} } \text{bad=wims(listcomplement \good1,\good2 in \bad)} \statement{Nuestra reunión duró \durh horas y \durm minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
\embed{reply 1,\size \size} \durh horas
\durm minutos
\embed{reply 2,\size \size}
} \answer{Comienzo}{\good1;\bad}{type=dragfill} \answer{Final}{\good2}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/meet4.oef0000644000175000017500000000345510246674615025564 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/meet.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Reunión 4} \integer{give=4} \text{h=h} \integer{size=120} \text{sh=item(1..\give-2,shuffle(3,6,8,10,12,15,17,20,24,27,30,35,42))} \integer{starth=random(12..23)} \integer{startm=random(1..59)} \integer{start=\starth*60+\startm} \integer{durh=random(2,3,4)} \integer{durm=random(1..11)*5} \integer{dur=\durh*60+\durm} \integer{end=\start+\dur} \text{list=\start,\end} \for{i=1 to \give-2}{ \integer{s=item(\i,\sh)} \integer{b=random(\start-\s,\start+\s,\end-\s,\end+\s)} \text{list=\list,\b} } \text{sh=shuffle(\give)} \text{gp1=wims(positionof item 1 in \sh)} \text{gp2=wims(positionof item 2 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,2,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp1}{\text{good1=}} \if{\i=\gp2}{\text{good2=}} } \text{bad=wims(listcomplement \good1,\good2 in \bad)} \statement{Nuestra reunión duró \durh horas y \durm minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
\embed{reply 1,\size \size} \durh horas
\durm minutos
\embed{reply 2,\size \size}
} \answer{Comienzo}{\good1;\bad}{type=dragfill} \answer{Final}{\good2}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/meet5.oef0000644000175000017500000000346110246674615025562 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/meet.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Reunión 5} \integer{give=5} \text{h=h} \integer{size=120} \text{sh=item(1..\give-2,shuffle(3,6,8,10,12,15,17,20,24,27,30,35,42))} \integer{starth=random(12..23)} \integer{startm=random(1..59)} \integer{start=\starth*60+\startm} \integer{durh=random(2,3,4)} \integer{durm=random(1..11)*5} \integer{dur=\durh*60+\durm} \integer{end=\start+\dur} \text{list=\start,\end} \for{i=1 to \give-2}{ \integer{s=item(\i,\sh)} \integer{b=random(\start-\s,\start+\s,\end-\s,\end+\s)} \text{list=\list,\b} } \text{sh=shuffle(\give)} \text{gp1=wims(positionof item 1 in \sh)} \text{gp2=wims(positionof item 2 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,2,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp1}{\text{good1=}} \if{\i=\gp2}{\text{good2=}} } \text{bad=wims(listcomplement \good1,\good2 in \bad)} \statement{Nuestra reunión duró \durh horas y \durm minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
\embed{reply 1,\size \size} \durh horas
\durm minutos
\embed{reply 2,\size \size}
} \answer{Comienzo}{\good1;\bad}{type=dragfill} \answer{Final}{\good2}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/src/meet6.oef0000644000175000017500000000345510246674615025566 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/meet.cpp. \language{es} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \title{Reunión 6} \integer{give=6} \text{h=h} \integer{size=120} \text{sh=item(1..\give-2,shuffle(3,6,8,10,12,15,17,20,24,27,30,35,42))} \integer{starth=random(12..23)} \integer{startm=random(1..59)} \integer{start=\starth*60+\startm} \integer{durh=random(2,3,4)} \integer{durm=random(1..11)*5} \integer{dur=\durh*60+\durm} \integer{end=\start+\dur} \text{list=\start,\end} \for{i=1 to \give-2}{ \integer{s=item(\i,\sh)} \integer{b=random(\start-\s,\start+\s,\end-\s,\end+\s)} \text{list=\list,\b} } \text{sh=shuffle(\give)} \text{gp1=wims(positionof item 1 in \sh)} \text{gp2=wims(positionof item 2 in \sh)} \text{bad=} \text{mins=} \for{i=1 to \give}{ \integer{f=item(item(\i,\sh),\list)} \integer{fh=floor(\f/60)} \integer{fm=\f%60} \text{clock=slib(draw/clock \fh:\fm,\size,2,exactmin nosecond)} \text{dr=draw(\size,\size \clock)} \text{bad=wims(append item to \bad)} \if{\i=\gp1}{\text{good1=}} \if{\i=\gp2}{\text{good2=}} } \text{bad=wims(listcomplement \good1,\good2 in \bad)} \statement{Nuestra reunión duró \durh horas y \durm minutos.

Usando los relojes de abajo, localice el comienzo y el final de la reunión, y arrástrelos a las casillas vacías.

La reunión empieza a las La reunión termina a las
\embed{reply 1,\size \size} \durh horas
\durm minutos
\embed{reply 2,\size \size}
} \answer{Comienzo}{\good1;\bad}{type=dragfill} \answer{Final}{\good2}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/endhook.phtml0000644000175000017500000000010210141661471025731 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/images/0000755000175000017500000000000010251070636024507 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/about.phtml0000777000175000017500000000000011263403036030540 2proc/about.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/help.phtml0000777000175000017500000000000011263403036030174 2proc/help.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/main.phtml0000777000175000017500000000000011263403036030124 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/mkindex0000777000175000017500000000000011263403036027144 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/proc0000777000175000017500000000000011263403036027030 2../../../adm/texo.enustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/var.def0000777000175000017500000000000011263403036026720 2proc/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/oefclock.es/var.proc0000644000175000017500000000024207336662006024725 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto proc/var.proc wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/Exindex0000644000175000017500000000046310251100307024561 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of aeroport,futur1_4,futur1_5,futur1_6,futur2_4,futur2_5,futur2_6,meet3,meet4,meet5,meet6, !set titlelist=!char 1 to -2 of Aeropuerto,Futuro I-4,Futuro I-5,Futuro I-6,Futuro II-4,Futuro II-5,Futuro II-6,Reunión 3,Reunión 4,Reunión 5,Reunión 6, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/E6/number/oefclock.es/Extitles0000644000175000017500000000031710251100307024754 0ustar georgeskgeorgeskaeroport:Aeropuerto futur1_4:Futuro I-4 futur1_5:Futuro I-5 futur1_6:Futuro I-6 futur2_4:Futuro II-4 futur2_5:Futuro II-5 futur2_6:Futuro II-6 meet3:Reunión 3 meet4:Reunión 4 meet5:Reunión 5 meet6:Reunión 6 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/0000755000175000017500000000000011262662522023427 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/Exindex0000644000175000017500000000140210251112374024743 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of posdec1,posdec2,reldec1,reldec2,posfrac1,posfrac2,posfrac3,posfrac4,posfrac5,relfrac1,relfrac2,relfrac3,relfrac4,relfrac5,posint3,posint2,posint1,relint3,relint2,relint1, !set titlelist=!char 1 to -2 of Decimales positivos I,Decimales positivos II,Decimales relativos I,Decimales relativos II,Fracciones positivas I,Fracciones positivas II,Fracciones positivas III,Fracciones positivas IV,Fracciones positivas V,Fracciones relativas I,Fracciones relativas II,Fracciones relativas III,Fracciones relativas IV,Fracciones relativas V,Números positivos (grandes),Números positivos (medianos),Números positivos (pequeños),Números relativos (grandes),Números relativos (medianos),Números relativos (pequeños), !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/E6/number/orderange.es/Extitles0000644000175000017500000000123610251112374025145 0ustar georgeskgeorgeskposdec1:Decimales positivos I posdec2:Decimales positivos II posfrac1:Fracciones positivas I posfrac2:Fracciones positivas II posfrac3:Fracciones positivas III posfrac4:Fracciones positivas IV posfrac5:Fracciones positivas V posint1:Números positivos (pequeños) posint2:Números positivos (medianos) posint3:Números positivos (grandes) reldec1:Decimales relativos I reldec2:Decimales relativos II relfrac1:Fracciones relativas I relfrac2:Fracciones relativas II relfrac3:Fracciones relativas III relfrac4:Fracciones relativas IV relfrac5:Fracciones relativas V relint1:Números relativos (pequeños) relint2:Números relativos (medianos) relint3:Números relativos (grandes) wims-modules-es-3.64.orig/modules/E6/number/orderange.es/INDEX0000644000175000017500000000114610251112564024214 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Ordenación de números description=ordenar unos números dados. language=es category=exercise, oef domain=algebra,number level=E6 keywords=order, real, relative number, decimal number, fraction, roots, pi, orden, número relativo, número decimal, fracción, raíces require=pari scoring=yes copyright=© 2003- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.48 vardef=oef/var.def translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es wims-modules-es-3.64.orig/modules/E6/number/orderange.es/about.phtml0000777000175000017500000000000011263403036030721 2proc/about.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/0000755000175000017500000000000010251112374024155 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/.htaccess0000644000175000017500000000001606634455300025761 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posdec1.def0000644000175000017500000000503210251112300026160 0ustar georgeskgeorgesk!set title=Decimales positivos I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=26 prevarcnt=25 postvarcnt=0 replycnt=8 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=randint val7=40x30 tmp0=!values x/10 for x=1 to 99 val8=$(tmp0) val9=números val10=Números !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val17= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val18 =1 to $val11 tmp0=!append item \({$(val8[$val18])}) to $val17 val17=$(tmp0) val19=es !next !else !for val18 =1 to $val11 tmp0=!append item \($(val8[$val18])) to $val17 val17=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val20=$(tmp0) oefsteps=$val20 nextstep=!nosubst $val20 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val17[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val17[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val17[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val17[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val17[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val17[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val17[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val17[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val20[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,9,11,12,13,15,16,20 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posdec2.def0000644000175000017500000000525410251112300026167 0ustar georgeskgeorgesk!set title=Decimales positivos II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=8 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=randint val7=60x30 val8=$[rint(4)] tmp0=!values $val6(19)+x/10 for x=1 to 9 val9=$(tmp0) tmp0=!values $val6(199)/10+x/100 for x=1 to 9 val10=$(tmp0) val11=$(val9[1..$val8]),$(val10[1..$val8]) val12=números val13=Números !if $val2>=3 and $val2<=8 val14=$[rint($val2)] !else val14=$[rint(4)] !endif tmp0=!randitem 1,2 val15=$[rint($(tmp0))] !if $val3=2 val15=$[rint(1)] !endif !if $val3=3 val15=$[rint(2)] !endif tmp0=!item $val15 of <,> val16=$(tmp0) tmp0=!item $val15 of ,reverse val17=$(tmp0) val18=menor,mayor val19=creciente, decreciente tmp0=!nonempty items $val11 val11=$(tmp0) tmp0=!shuffle $val11 val11=$(tmp0) !ifval $val15=1 tmp0=!sort numeric items $(val11[1..$val14]) val11=$(tmp0) !else tmp1=!sort reverse numeric items $(val11[1..$val14]) val11= $(tmp1) !endif val20= !if $val12 iswordof fraction tmp0=!replace internal / by \over in $val11 val11=$(tmp0) !for val21 =1 to $val14 tmp0=!append item \({$(val11[$val21])}) to $val20 val20=$(tmp0) val22=es !next !else !for val21 =1 to $val14 tmp0=!append item \($(val11[$val21])) to $val20 val20=$(tmp0) !next !endif tmp0=!item 1 to $val14 of r1,r2,r3,r4,r5,r6,r7,r8 val23=$(tmp0) oefsteps=$val23 nextstep=!nosubst $val23 !readproc oef/steps.proc replytype1=dragfill replyname1=$val13 1 replygood1=$(val20[1]) replytype2=dragfill replyname2=$val13 2 replygood2=$(val20[2]) replytype3=dragfill replyname3=$val13 3 replygood3=$(val20[3]) replytype4=dragfill replyname4=$val13 4 replygood4=$(val20[4]) replytype5=dragfill replyname5=$val13 5 replygood5=$(val20[5]) replytype6=dragfill replyname6=$val13 6 replygood6=$(val20[6]) replytype7=dragfill replyname7=$val13 7 replygood7=$(val20[7]) replytype8=dragfill replyname8=$val13 8 replygood8=$(val20[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val12 de abajo en orden $(val19[$val15]), de $(val18[$val15]) a $(val18[3-$val15]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val14 $() $val16 !read oef/embed.phtml $(val23[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,12,14,15,16,18,19,23 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posfrac1.def0000644000175000017500000000547310251112300026351 0ustar georgeskgeorgesk!set title=Fracciones positivas I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=25 prevarcnt=24 postvarcnt=0 replycnt=8 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=35x55 tmp=!translate internal $ $ to ; in 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,14/3,16/3,17/3,19/3,20/3 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,14/5,16/5,17/5,18/5,19/5 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7,13/7,15/7,16/7,17/7,18/7,19/7 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val7=$(tmp0) val8=fracciones val9=Fracciones !if $val2>=3 and $val2<=8 val10=$[rint($val2)] !else val10=$[rint(4)] !endif tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !if $val3=2 val11=$[rint(1)] !endif !if $val3=3 val11=$[rint(2)] !endif tmp0=!item $val11 of <,> val12=$(tmp0) tmp0=!item $val11 of ,reverse val13=$(tmp0) val14=menor,mayor val15=creciente, decreciente tmp0=!nonempty items $val7 val7=$(tmp0) tmp0=!shuffle $val7 val7=$(tmp0) !ifval $val11=1 tmp0=!sort numeric items $(val7[1..$val10]) val7=$(tmp0) !else tmp1=!sort reverse numeric items $(val7[1..$val10]) val7= $(tmp1) !endif val16= !if $val8 iswordof fraction tmp0=!replace internal / by \over in $val7 val7=$(tmp0) !for val17 =1 to $val10 tmp0=!append item \({$(val7[$val17])}) to $val16 val16=$(tmp0) val18=es !next !else !for val17 =1 to $val10 tmp0=!append item \($(val7[$val17])) to $val16 val16=$(tmp0) !next !endif tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8 val19=$(tmp0) oefsteps=$val19 nextstep=!nosubst $val19 !readproc oef/steps.proc replytype1=dragfill replyname1=$val9 1 replygood1=$(val16[1]) replytype2=dragfill replyname2=$val9 2 replygood2=$(val16[2]) replytype3=dragfill replyname3=$val9 3 replygood3=$(val16[3]) replytype4=dragfill replyname4=$val9 4 replygood4=$(val16[4]) replytype5=dragfill replyname5=$val9 5 replygood5=$(val16[5]) replytype6=dragfill replyname6=$val9 6 replygood6=$(val16[6]) replytype7=dragfill replyname7=$val9 7 replygood7=$(val16[7]) replytype8=dragfill replyname8=$val9 8 replygood8=$(val16[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val8 de abajo en orden $(val15[$val11]), de $(val14[$val11]) a $(val14[3-$val11]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val10 $() $val12 !read oef/embed.phtml $(val19[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,10,11,12,14,15,19 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posfrac2.def0000644000175000017500000000534510251112300026350 0ustar georgeskgeorgesk!set title=Fracciones positivas II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=28 prevarcnt=27 postvarcnt=0 replycnt=8 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=40x55 tmp0=!randitem 7,11,13,17 val7=$[rint($(tmp0))] tmp0=!values x,x+$val7,x+2*$val7 for x=1 to $val7-1 val8=$(tmp0) tmp0=!replace , by ,$val7/ in $val7/$(val8[2..-1]) val8=$(tmp0) t_=!replace internal \( by ( in [$val8] tmp0=!exec pari $t_ val8=$(tmp0) val9=fracciones val10=Fracciones !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val17= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val18 =1 to $val11 tmp0=!append item \({$(val8[$val18])}) to $val17 val17=$(tmp0) val19=es !next !else !for val18 =1 to $val11 tmp0=!append item \($(val8[$val18])) to $val17 val17=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val20=$(tmp0) oefsteps=$val20 nextstep=!nosubst $val20 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val17[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val17[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val17[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val17[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val17[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val17[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val17[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val17[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val20[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,11,12,13,15,16,20 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posfrac3.def0000644000175000017500000000504010251112300026341 0ustar georgeskgeorgesk!set title=Fracciones positivas III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=25 prevarcnt=24 postvarcnt=0 replycnt=8 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=35x55 val7=1/2,3/2,5/2, 1/3,2/3,4/3,5/3, 1/4,3/4,5/4, 1/5,2/5,3/5,4/5 val8=fracciones val9=Fracciones !if $val2>=3 and $val2<=8 val10=$[rint($val2)] !else val10=$[rint(4)] !endif tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !if $val3=2 val11=$[rint(1)] !endif !if $val3=3 val11=$[rint(2)] !endif tmp0=!item $val11 of <,> val12=$(tmp0) tmp0=!item $val11 of ,reverse val13=$(tmp0) val14=menor,mayor val15=creciente, decreciente tmp0=!nonempty items $val7 val7=$(tmp0) tmp0=!shuffle $val7 val7=$(tmp0) !ifval $val11=1 tmp0=!sort numeric items $(val7[1..$val10]) val7=$(tmp0) !else tmp1=!sort reverse numeric items $(val7[1..$val10]) val7= $(tmp1) !endif val16= !if $val8 iswordof fraction tmp0=!replace internal / by \over in $val7 val7=$(tmp0) !for val17 =1 to $val10 tmp0=!append item \({$(val7[$val17])}) to $val16 val16=$(tmp0) val18=es !next !else !for val17 =1 to $val10 tmp0=!append item \($(val7[$val17])) to $val16 val16=$(tmp0) !next !endif tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8 val19=$(tmp0) oefsteps=$val19 nextstep=!nosubst $val19 !readproc oef/steps.proc replytype1=dragfill replyname1=$val9 1 replygood1=$(val16[1]) replytype2=dragfill replyname2=$val9 2 replygood2=$(val16[2]) replytype3=dragfill replyname3=$val9 3 replygood3=$(val16[3]) replytype4=dragfill replyname4=$val9 4 replygood4=$(val16[4]) replytype5=dragfill replyname5=$val9 5 replygood5=$(val16[5]) replytype6=dragfill replyname6=$val9 6 replygood6=$(val16[6]) replytype7=dragfill replyname7=$val9 7 replygood7=$(val16[7]) replytype8=dragfill replyname8=$val9 8 replygood8=$(val16[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val8 de abajo en orden $(val15[$val11]), de $(val14[$val11]) a $(val14[3-$val11]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val10 $() $val12 !read oef/embed.phtml $(val19[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,10,11,12,14,15,19 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posfrac4.def0000644000175000017500000000551710251112300026353 0ustar georgeskgeorgesk!set title=Fracciones positivas IV !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=25 prevarcnt=24 postvarcnt=0 replycnt=8 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=40x55 val7=1/2,3/2,5/2,7/2,9/2,11/2, 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3, 1/4,3/4,5/4,7/4,9/4,11/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5, 1/6,5/6,7/6,11/6, 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7, 1/8,3/8,5/8,7/8,9/8,11/8, 1/9,2/9,4/9,5/9,7/9,8/9,10/9,11/9, 1/10,3/10,7/10,9/10,11/10, 1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,12/11, 1/12,5/12,7/12,11/12 val8=fracciones val9=Fracciones !if $val2>=3 and $val2<=8 val10=$[rint($val2)] !else val10=$[rint(4)] !endif tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !if $val3=2 val11=$[rint(1)] !endif !if $val3=3 val11=$[rint(2)] !endif tmp0=!item $val11 of <,> val12=$(tmp0) tmp0=!item $val11 of ,reverse val13=$(tmp0) val14=menor,mayor val15=creciente, decreciente tmp0=!nonempty items $val7 val7=$(tmp0) tmp0=!shuffle $val7 val7=$(tmp0) !ifval $val11=1 tmp0=!sort numeric items $(val7[1..$val10]) val7=$(tmp0) !else tmp1=!sort reverse numeric items $(val7[1..$val10]) val7= $(tmp1) !endif val16= !if $val8 iswordof fraction tmp0=!replace internal / by \over in $val7 val7=$(tmp0) !for val17 =1 to $val10 tmp0=!append item \({$(val7[$val17])}) to $val16 val16=$(tmp0) val18=es !next !else !for val17 =1 to $val10 tmp0=!append item \($(val7[$val17])) to $val16 val16=$(tmp0) !next !endif tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8 val19=$(tmp0) oefsteps=$val19 nextstep=!nosubst $val19 !readproc oef/steps.proc replytype1=dragfill replyname1=$val9 1 replygood1=$(val16[1]) replytype2=dragfill replyname2=$val9 2 replygood2=$(val16[2]) replytype3=dragfill replyname3=$val9 3 replygood3=$(val16[3]) replytype4=dragfill replyname4=$val9 4 replygood4=$(val16[4]) replytype5=dragfill replyname5=$val9 5 replygood5=$(val16[5]) replytype6=dragfill replyname6=$val9 6 replygood6=$(val16[6]) replytype7=dragfill replyname7=$val9 7 replygood7=$(val16[7]) replytype8=dragfill replyname8=$val9 8 replygood8=$(val16[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val8 de abajo en orden $(val15[$val11]), de $(val14[$val11]) a $(val14[3-$val11]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val10 $() $val12 !read oef/embed.phtml $(val19[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,10,11,12,14,15,19 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posfrac5.def0000644000175000017500000000527110251112300026351 0ustar georgeskgeorgesk!set title=Fracciones positivas V !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=27 prevarcnt=26 postvarcnt=0 replycnt=8 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=40x55 tmp0=!randitem 20,24,30,36,40,48,50,54,60 val7=$[rint($(tmp0))] tmp0=!values x,x+$val7,x+2*$val7 for x=1 to $val7-1 val8=$(tmp0) t_=!replace internal \( by ( in [$val8]/$val7 tmp0=!exec pari $t_ val8=$(tmp0) val9=fracciones val10=Fracciones !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val17= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val18 =1 to $val11 tmp0=!append item \({$(val8[$val18])}) to $val17 val17=$(tmp0) val19=es !next !else !for val18 =1 to $val11 tmp0=!append item \($(val8[$val18])) to $val17 val17=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val20=$(tmp0) oefsteps=$val20 nextstep=!nosubst $val20 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val17[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val17[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val17[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val17[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val17[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val17[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val17[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val17[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val20[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,11,12,13,15,16,20 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posint1.def0000644000175000017500000000503610251112374026236 0ustar georgeskgeorgesk!set title=Números positivos (pequeños) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=26 prevarcnt=25 postvarcnt=0 replycnt=8 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=randint val7=35x30 tmp0=!values x for x=1 to 20 val8=$(tmp0) val9=números val10=Números !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val17= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val18 =1 to $val11 tmp0=!append item \({$(val8[$val18])}) to $val17 val17=$(tmp0) val19=es !next !else !for val18 =1 to $val11 tmp0=!append item \($(val8[$val18])) to $val17 val17=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val20=$(tmp0) oefsteps=$val20 nextstep=!nosubst $val20 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val17[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val17[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val17[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val17[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val17[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val17[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val17[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val17[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val20[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,9,11,12,13,15,16,20 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posint2.def0000644000175000017500000000534110251112374026236 0ustar georgeskgeorgesk!set title=Números positivos (medianos) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=8 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=randint val7=45x30 val8=$[rint(4)] tmp0=!values $val6(9)*10+10+x for x=0 to 9 tmp1=!shuffle $(tmp0) val9=$(tmp1) tmp0=!values $val6(90)*10+100+x for x=0 to 9 tmp1=!shuffle $(tmp0) val10=$(tmp1) val11=$(val9[1..$val8]),$(val10[1..$val8]) val12=números val13=Números !if $val2>=3 and $val2<=8 val14=$[rint($val2)] !else val14=$[rint(4)] !endif tmp0=!randitem 1,2 val15=$[rint($(tmp0))] !if $val3=2 val15=$[rint(1)] !endif !if $val3=3 val15=$[rint(2)] !endif tmp0=!item $val15 of <,> val16=$(tmp0) tmp0=!item $val15 of ,reverse val17=$(tmp0) val18=menor,mayor val19=creciente, decreciente tmp0=!nonempty items $val11 val11=$(tmp0) tmp0=!shuffle $val11 val11=$(tmp0) !ifval $val15=1 tmp0=!sort numeric items $(val11[1..$val14]) val11=$(tmp0) !else tmp1=!sort reverse numeric items $(val11[1..$val14]) val11= $(tmp1) !endif val20= !if $val12 iswordof fraction tmp0=!replace internal / by \over in $val11 val11=$(tmp0) !for val21 =1 to $val14 tmp0=!append item \({$(val11[$val21])}) to $val20 val20=$(tmp0) val22=es !next !else !for val21 =1 to $val14 tmp0=!append item \($(val11[$val21])) to $val20 val20=$(tmp0) !next !endif tmp0=!item 1 to $val14 of r1,r2,r3,r4,r5,r6,r7,r8 val23=$(tmp0) oefsteps=$val23 nextstep=!nosubst $val23 !readproc oef/steps.proc replytype1=dragfill replyname1=$val13 1 replygood1=$(val20[1]) replytype2=dragfill replyname2=$val13 2 replygood2=$(val20[2]) replytype3=dragfill replyname3=$val13 3 replygood3=$(val20[3]) replytype4=dragfill replyname4=$val13 4 replygood4=$(val20[4]) replytype5=dragfill replyname5=$val13 5 replygood5=$(val20[5]) replytype6=dragfill replyname6=$val13 6 replygood6=$(val20[6]) replytype7=dragfill replyname7=$val13 7 replygood7=$(val20[7]) replytype8=dragfill replyname8=$val13 8 replygood8=$(val20[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val12 de abajo en orden $(val19[$val15]), de $(val18[$val15]) a $(val18[3-$val15]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val14 $() $val16 !read oef/embed.phtml $(val23[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,12,14,15,16,18,19,23 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/posint3.def0000644000175000017500000000552410251112374026242 0ustar georgeskgeorgesk!set title=Números positivos (grandes) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=30 prevarcnt=29 postvarcnt=0 replycnt=8 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=randint val7=75x30 val8=$[rint(3)] tmp0=!values 10*$val6(900)+1000+x for x=0 to 9 tmp1=!shuffle $(tmp0) val9=$(tmp1) tmp0=!values 10*$val6(9000)+10000+x for x=0 to 9 tmp1=!shuffle $(tmp0) val10=$(tmp1) tmp0=!values 10*$val6(90000)+100000+x for x=0 to 9 tmp1=!shuffle $(tmp0) val11=$(tmp1) val12=$(val9[1..$val8]),$(val10[1..$val8]),$(val11[1..$val8]) val13=números val14=Números !if $val2>=3 and $val2<=8 val15=$[rint($val2)] !else val15=$[rint(4)] !endif tmp0=!randitem 1,2 val16=$[rint($(tmp0))] !if $val3=2 val16=$[rint(1)] !endif !if $val3=3 val16=$[rint(2)] !endif tmp0=!item $val16 of <,> val17=$(tmp0) tmp0=!item $val16 of ,reverse val18=$(tmp0) val19=menor,mayor val20=creciente, decreciente tmp0=!nonempty items $val12 val12=$(tmp0) tmp0=!shuffle $val12 val12=$(tmp0) !ifval $val16=1 tmp0=!sort numeric items $(val12[1..$val15]) val12=$(tmp0) !else tmp1=!sort reverse numeric items $(val12[1..$val15]) val12= $(tmp1) !endif val21= !if $val13 iswordof fraction tmp0=!replace internal / by \over in $val12 val12=$(tmp0) !for val22 =1 to $val15 tmp0=!append item \({$(val12[$val22])}) to $val21 val21=$(tmp0) val23=es !next !else !for val22 =1 to $val15 tmp0=!append item \($(val12[$val22])) to $val21 val21=$(tmp0) !next !endif tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8 val24=$(tmp0) oefsteps=$val24 nextstep=!nosubst $val24 !readproc oef/steps.proc replytype1=dragfill replyname1=$val14 1 replygood1=$(val21[1]) replytype2=dragfill replyname2=$val14 2 replygood2=$(val21[2]) replytype3=dragfill replyname3=$val14 3 replygood3=$(val21[3]) replytype4=dragfill replyname4=$val14 4 replygood4=$(val21[4]) replytype5=dragfill replyname5=$val14 5 replygood5=$(val21[5]) replytype6=dragfill replyname6=$val14 6 replygood6=$(val21[6]) replytype7=dragfill replyname7=$val14 7 replygood7=$(val21[7]) replytype8=dragfill replyname8=$val14 8 replygood8=$(val21[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val13 de abajo en orden $(val20[$val16]), de $(val19[$val16]) a $(val19[3-$val16]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val15 $() $val17 !read oef/embed.phtml $(val24[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,13,15,16,17,19,20,24 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/reldec1.def0000644000175000017500000000531410251112300026144 0ustar georgeskgeorgesk!set title=Decimales relativos I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=30 prevarcnt=29 postvarcnt=0 replycnt=8 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=randint val7=45x30 tmp0=!values x/10 for x=1 to 99 val8=$(tmp0) val9=números val10=Números !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) val17=$[rint(($val11+3)/2)] tmp0=!shuffle $val8 val18=$(tmp0) tmp0=!replace , by ,- in -$val8 tmp1=!shuffle $(tmp0) val19=$(tmp1) val8=$(val18[1..$val17]),$(val19[1..$val17]) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val20= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val21 =1 to $val11 tmp0=!append item \({$(val8[$val21])}) to $val20 val20=$(tmp0) val22=es !next !else !for val21 =1 to $val11 tmp0=!append item \($(val8[$val21])) to $val20 val20=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val23=$(tmp0) oefsteps=$val23 nextstep=!nosubst $val23 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val20[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val20[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val20[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val20[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val20[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val20[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val20[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val20[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val23[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,9,11,12,13,15,16,23 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/reldec2.def0000644000175000017500000000553710251112300026154 0ustar georgeskgeorgesk!set title=Decimales relativos II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=33 prevarcnt=32 postvarcnt=0 replycnt=8 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=randint val7=65x30 val8=$[rint(8)] tmp0=!values $val6(19)+x/10 for x=1 to 9 val9=$(tmp0) tmp0=!values $val6(199)/10+x/100 for x=1 to 9 val10=$(tmp0) val11=$(val9[1..$val8]),$(val10[1..$val8]) val12=números val13=Números !if $val2>=3 and $val2<=8 val14=$[rint($val2)] !else val14=$[rint(4)] !endif tmp0=!randitem 1,2 val15=$[rint($(tmp0))] !if $val3=2 val15=$[rint(1)] !endif !if $val3=3 val15=$[rint(2)] !endif tmp0=!item $val15 of <,> val16=$(tmp0) tmp0=!item $val15 of ,reverse val17=$(tmp0) val18=menor,mayor val19=creciente, decreciente tmp0=!nonempty items $val11 val11=$(tmp0) val20=$[rint(($val14+3)/2)] tmp0=!shuffle $val11 val9=$(tmp0) tmp0=!replace , by ,- in -$val11 tmp1=!shuffle $(tmp0) val10=$(tmp1) val11=$(val9[1..$val20]),$(val10[1..$val20]) tmp0=!shuffle $val11 val11=$(tmp0) !ifval $val15=1 tmp0=!sort numeric items $(val11[1..$val14]) val11=$(tmp0) !else tmp1=!sort reverse numeric items $(val11[1..$val14]) val11= $(tmp1) !endif val21= !if $val12 iswordof fraction tmp0=!replace internal / by \over in $val11 val11=$(tmp0) !for val22 =1 to $val14 tmp0=!append item \({$(val11[$val22])}) to $val21 val21=$(tmp0) val23=es !next !else !for val22 =1 to $val14 tmp0=!append item \($(val11[$val22])) to $val21 val21=$(tmp0) !next !endif tmp0=!item 1 to $val14 of r1,r2,r3,r4,r5,r6,r7,r8 val24=$(tmp0) oefsteps=$val24 nextstep=!nosubst $val24 !readproc oef/steps.proc replytype1=dragfill replyname1=$val13 1 replygood1=$(val21[1]) replytype2=dragfill replyname2=$val13 2 replygood2=$(val21[2]) replytype3=dragfill replyname3=$val13 3 replygood3=$(val21[3]) replytype4=dragfill replyname4=$val13 4 replygood4=$(val21[4]) replytype5=dragfill replyname5=$val13 5 replygood5=$(val21[5]) replytype6=dragfill replyname6=$val13 6 replygood6=$(val21[6]) replytype7=dragfill replyname7=$val13 7 replygood7=$(val21[7]) replytype8=dragfill replyname8=$val13 8 replygood8=$(val21[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val12 de abajo en orden $(val19[$val15]), de $(val18[$val15]) a $(val18[3-$val15]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val14 $() $val16 !read oef/embed.phtml $(val24[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,12,14,15,16,18,19,24 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relfrac1.def0000644000175000017500000000575510251112300026335 0ustar georgeskgeorgesk!set title=Fracciones relativas I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=8 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=40x55 tmp=!translate internal $ $ to ; in 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,14/3,16/3,17/3,19/3,20/3 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,14/5,16/5,17/5,18/5,19/5 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7,13/7,15/7,16/7,17/7,18/7,19/7 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val7=$(tmp0) val8=fracciones val9=Fracciones !if $val2>=3 and $val2<=8 val10=$[rint($val2)] !else val10=$[rint(4)] !endif tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !if $val3=2 val11=$[rint(1)] !endif !if $val3=3 val11=$[rint(2)] !endif tmp0=!item $val11 of <,> val12=$(tmp0) tmp0=!item $val11 of ,reverse val13=$(tmp0) val14=menor,mayor val15=creciente, decreciente tmp0=!nonempty items $val7 val7=$(tmp0) val16=$[rint(($val10+3)/2)] tmp0=!shuffle $val7 val17=$(tmp0) tmp0=!replace , by ,- in -$val7 tmp1=!shuffle $(tmp0) val18=$(tmp1) val7=$(val17[1..$val16]),$(val18[1..$val16]) tmp0=!shuffle $val7 val7=$(tmp0) !ifval $val11=1 tmp0=!sort numeric items $(val7[1..$val10]) val7=$(tmp0) !else tmp1=!sort reverse numeric items $(val7[1..$val10]) val7= $(tmp1) !endif val19= !if $val8 iswordof fraction tmp0=!replace internal / by \over in $val7 val7=$(tmp0) !for val20 =1 to $val10 tmp0=!append item \({$(val7[$val20])}) to $val19 val19=$(tmp0) val21=es !next !else !for val20 =1 to $val10 tmp0=!append item \($(val7[$val20])) to $val19 val19=$(tmp0) !next !endif tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8 val22=$(tmp0) oefsteps=$val22 nextstep=!nosubst $val22 !readproc oef/steps.proc replytype1=dragfill replyname1=$val9 1 replygood1=$(val19[1]) replytype2=dragfill replyname2=$val9 2 replygood2=$(val19[2]) replytype3=dragfill replyname3=$val9 3 replygood3=$(val19[3]) replytype4=dragfill replyname4=$val9 4 replygood4=$(val19[4]) replytype5=dragfill replyname5=$val9 5 replygood5=$(val19[5]) replytype6=dragfill replyname6=$val9 6 replygood6=$(val19[6]) replytype7=dragfill replyname7=$val9 7 replygood7=$(val19[7]) replytype8=dragfill replyname8=$val9 8 replygood8=$(val19[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val8 de abajo en orden $(val15[$val11]), de $(val14[$val11]) a $(val14[3-$val11]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val10 $() $val12 !read oef/embed.phtml $(val22[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,10,11,12,14,15,22 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relfrac2.def0000644000175000017500000000562710251112300026334 0ustar georgeskgeorgesk!set title=Fracciones relativas II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=32 prevarcnt=31 postvarcnt=0 replycnt=8 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=45x55 tmp0=!randitem 7,11,13,17 val7=$[rint($(tmp0))] tmp0=!values x,x+$val7,x+2*$val7 for x=1 to $val7-1 val8=$(tmp0) tmp0=!replace , by ,$val7/ in $val7/$(val8[2..-1]) val8=$(tmp0) t_=!replace internal \( by ( in [$val8] tmp0=!exec pari $t_ val8=$(tmp0) val9=fracciones val10=Fracciones !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) val17=$[rint(($val11+3)/2)] tmp0=!shuffle $val8 val18=$(tmp0) tmp0=!replace , by ,- in -$val8 tmp1=!shuffle $(tmp0) val19=$(tmp1) val8=$(val18[1..$val17]),$(val19[1..$val17]) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val20= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val21 =1 to $val11 tmp0=!append item \({$(val8[$val21])}) to $val20 val20=$(tmp0) val22=es !next !else !for val21 =1 to $val11 tmp0=!append item \($(val8[$val21])) to $val20 val20=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val23=$(tmp0) oefsteps=$val23 nextstep=!nosubst $val23 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val20[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val20[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val20[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val20[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val20[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val20[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val20[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val20[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val23[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,11,12,13,15,16,23 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relfrac3.def0000644000175000017500000000532210251112300026325 0ustar georgeskgeorgesk!set title=Fracciones relativas III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=8 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=40x55 val7=1/2,3/2,5/2, 1/3,2/3,4/3,5/3, 1/4,3/4,5/4, 1/5,2/5,3/5,4/5 val8=fracciones val9=Fracciones !if $val2>=3 and $val2<=8 val10=$[rint($val2)] !else val10=$[rint(4)] !endif tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !if $val3=2 val11=$[rint(1)] !endif !if $val3=3 val11=$[rint(2)] !endif tmp0=!item $val11 of <,> val12=$(tmp0) tmp0=!item $val11 of ,reverse val13=$(tmp0) val14=menor,mayor val15=creciente, decreciente tmp0=!nonempty items $val7 val7=$(tmp0) val16=$[rint(($val10+3)/2)] tmp0=!shuffle $val7 val17=$(tmp0) tmp0=!replace , by ,- in -$val7 tmp1=!shuffle $(tmp0) val18=$(tmp1) val7=$(val17[1..$val16]),$(val18[1..$val16]) tmp0=!shuffle $val7 val7=$(tmp0) !ifval $val11=1 tmp0=!sort numeric items $(val7[1..$val10]) val7=$(tmp0) !else tmp1=!sort reverse numeric items $(val7[1..$val10]) val7= $(tmp1) !endif val19= !if $val8 iswordof fraction tmp0=!replace internal / by \over in $val7 val7=$(tmp0) !for val20 =1 to $val10 tmp0=!append item \({$(val7[$val20])}) to $val19 val19=$(tmp0) val21=es !next !else !for val20 =1 to $val10 tmp0=!append item \($(val7[$val20])) to $val19 val19=$(tmp0) !next !endif tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8 val22=$(tmp0) oefsteps=$val22 nextstep=!nosubst $val22 !readproc oef/steps.proc replytype1=dragfill replyname1=$val9 1 replygood1=$(val19[1]) replytype2=dragfill replyname2=$val9 2 replygood2=$(val19[2]) replytype3=dragfill replyname3=$val9 3 replygood3=$(val19[3]) replytype4=dragfill replyname4=$val9 4 replygood4=$(val19[4]) replytype5=dragfill replyname5=$val9 5 replygood5=$(val19[5]) replytype6=dragfill replyname6=$val9 6 replygood6=$(val19[6]) replytype7=dragfill replyname7=$val9 7 replygood7=$(val19[7]) replytype8=dragfill replyname8=$val9 8 replygood8=$(val19[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val8 de abajo en orden $(val15[$val11]), de $(val14[$val11]) a $(val14[3-$val11]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val10 $() $val12 !read oef/embed.phtml $(val22[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,10,11,12,14,15,22 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relfrac4.def0000644000175000017500000000600110251112300026321 0ustar georgeskgeorgesk!set title=Fracciones relativas IV !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=8 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=45x55 val7=1/2,3/2,5/2,7/2,9/2,11/2, 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3, 1/4,3/4,5/4,7/4,9/4,11/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5, 1/6,5/6,7/6,11/6, 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7, 1/8,3/8,5/8,7/8,9/8,11/8, 1/9,2/9,4/9,5/9,7/9,8/9,10/9,11/9, 1/10,3/10,7/10,9/10,11/10, 1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,12/11, 1/12,5/12,7/12,11/12 val8=fracciones val9=Fracciones !if $val2>=3 and $val2<=8 val10=$[rint($val2)] !else val10=$[rint(4)] !endif tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !if $val3=2 val11=$[rint(1)] !endif !if $val3=3 val11=$[rint(2)] !endif tmp0=!item $val11 of <,> val12=$(tmp0) tmp0=!item $val11 of ,reverse val13=$(tmp0) val14=menor,mayor val15=creciente, decreciente tmp0=!nonempty items $val7 val7=$(tmp0) val16=$[rint(($val10+3)/2)] tmp0=!shuffle $val7 val17=$(tmp0) tmp0=!replace , by ,- in -$val7 tmp1=!shuffle $(tmp0) val18=$(tmp1) val7=$(val17[1..$val16]),$(val18[1..$val16]) tmp0=!shuffle $val7 val7=$(tmp0) !ifval $val11=1 tmp0=!sort numeric items $(val7[1..$val10]) val7=$(tmp0) !else tmp1=!sort reverse numeric items $(val7[1..$val10]) val7= $(tmp1) !endif val19= !if $val8 iswordof fraction tmp0=!replace internal / by \over in $val7 val7=$(tmp0) !for val20 =1 to $val10 tmp0=!append item \({$(val7[$val20])}) to $val19 val19=$(tmp0) val21=es !next !else !for val20 =1 to $val10 tmp0=!append item \($(val7[$val20])) to $val19 val19=$(tmp0) !next !endif tmp0=!item 1 to $val10 of r1,r2,r3,r4,r5,r6,r7,r8 val22=$(tmp0) oefsteps=$val22 nextstep=!nosubst $val22 !readproc oef/steps.proc replytype1=dragfill replyname1=$val9 1 replygood1=$(val19[1]) replytype2=dragfill replyname2=$val9 2 replygood2=$(val19[2]) replytype3=dragfill replyname3=$val9 3 replygood3=$(val19[3]) replytype4=dragfill replyname4=$val9 4 replygood4=$(val19[4]) replytype5=dragfill replyname5=$val9 5 replygood5=$(val19[5]) replytype6=dragfill replyname6=$val9 6 replygood6=$(val19[6]) replytype7=dragfill replyname7=$val9 7 replygood7=$(val19[7]) replytype8=dragfill replyname8=$val9 8 replygood8=$(val19[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val8 de abajo en orden $(val15[$val11]), de $(val14[$val11]) a $(val14[3-$val11]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val10 $() $val12 !read oef/embed.phtml $(val22[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,10,11,12,14,15,22 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relfrac5.def0000644000175000017500000000555310251112300026335 0ustar georgeskgeorgesk!set title=Fracciones relativas V !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=31 prevarcnt=30 postvarcnt=0 replycnt=8 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=45x55 tmp0=!randitem 20,24,30,36,40,48,50,54,60 val7=$[rint($(tmp0))] tmp0=!values x,x+$val7,x+2*$val7 for x=1 to $val7-1 val8=$(tmp0) t_=!replace internal \( by ( in [$val8]/$val7 tmp0=!exec pari $t_ val8=$(tmp0) val9=fracciones val10=Fracciones !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) val17=$[rint(($val11+3)/2)] tmp0=!shuffle $val8 val18=$(tmp0) tmp0=!replace , by ,- in -$val8 tmp1=!shuffle $(tmp0) val19=$(tmp1) val8=$(val18[1..$val17]),$(val19[1..$val17]) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val20= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val21 =1 to $val11 tmp0=!append item \({$(val8[$val21])}) to $val20 val20=$(tmp0) val22=es !next !else !for val21 =1 to $val11 tmp0=!append item \($(val8[$val21])) to $val20 val20=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val23=$(tmp0) oefsteps=$val23 nextstep=!nosubst $val23 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val20[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val20[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val20[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val20[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val20[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val20[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val20[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val20[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val6 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val23[$m_t]),$val6 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,9,11,12,13,15,16,23 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relint1.def0000644000175000017500000000532010251112374026213 0ustar georgeskgeorgesk!set title=Números relativos (pequeños) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=30 prevarcnt=29 postvarcnt=0 replycnt=8 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=randint val7=40x30 tmp0=!values x for x=1 to 20 val8=$(tmp0) val9=números val10=Números !if $val2>=3 and $val2<=8 val11=$[rint($val2)] !else val11=$[rint(4)] !endif tmp0=!randitem 1,2 val12=$[rint($(tmp0))] !if $val3=2 val12=$[rint(1)] !endif !if $val3=3 val12=$[rint(2)] !endif tmp0=!item $val12 of <,> val13=$(tmp0) tmp0=!item $val12 of ,reverse val14=$(tmp0) val15=menor,mayor val16=creciente, decreciente tmp0=!nonempty items $val8 val8=$(tmp0) val17=$[rint(($val11+3)/2)] tmp0=!shuffle $val8 val18=$(tmp0) tmp0=!replace , by ,- in -$val8 tmp1=!shuffle $(tmp0) val19=$(tmp1) val8=$(val18[1..$val17]),$(val19[1..$val17]) tmp0=!shuffle $val8 val8=$(tmp0) !ifval $val12=1 tmp0=!sort numeric items $(val8[1..$val11]) val8=$(tmp0) !else tmp1=!sort reverse numeric items $(val8[1..$val11]) val8= $(tmp1) !endif val20= !if $val9 iswordof fraction tmp0=!replace internal / by \over in $val8 val8=$(tmp0) !for val21 =1 to $val11 tmp0=!append item \({$(val8[$val21])}) to $val20 val20=$(tmp0) val22=es !next !else !for val21 =1 to $val11 tmp0=!append item \($(val8[$val21])) to $val20 val20=$(tmp0) !next !endif tmp0=!item 1 to $val11 of r1,r2,r3,r4,r5,r6,r7,r8 val23=$(tmp0) oefsteps=$val23 nextstep=!nosubst $val23 !readproc oef/steps.proc replytype1=dragfill replyname1=$val10 1 replygood1=$(val20[1]) replytype2=dragfill replyname2=$val10 2 replygood2=$(val20[2]) replytype3=dragfill replyname3=$val10 3 replygood3=$(val20[3]) replytype4=dragfill replyname4=$val10 4 replygood4=$(val20[4]) replytype5=dragfill replyname5=$val10 5 replygood5=$(val20[5]) replytype6=dragfill replyname6=$val10 6 replygood6=$(val20[6]) replytype7=dragfill replyname7=$val10 7 replygood7=$(val20[7]) replytype8=dragfill replyname8=$val10 8 replygood8=$(val20[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val9 de abajo en orden $(val16[$val12]), de $(val15[$val12]) a $(val15[3-$val12]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val11 $() $val13 !read oef/embed.phtml $(val23[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,9,11,12,13,15,16,23 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relint2.def0000644000175000017500000000562410251112374026223 0ustar georgeskgeorgesk!set title=Números relativos (medianos) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=33 prevarcnt=32 postvarcnt=0 replycnt=8 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=randint val7=50x30 val8=$[rint(9)] tmp0=!values $val6(9)*10+10+x for x=0 to 9 tmp1=!shuffle $(tmp0) val9=$(tmp1) tmp0=!values $val6(90)*10+100+x for x=0 to 9 tmp1=!shuffle $(tmp0) val10=$(tmp1) val11=$(val9[1..$val8]),$(val10[1..$val8]) val12=números val13=Números !if $val2>=3 and $val2<=8 val14=$[rint($val2)] !else val14=$[rint(4)] !endif tmp0=!randitem 1,2 val15=$[rint($(tmp0))] !if $val3=2 val15=$[rint(1)] !endif !if $val3=3 val15=$[rint(2)] !endif tmp0=!item $val15 of <,> val16=$(tmp0) tmp0=!item $val15 of ,reverse val17=$(tmp0) val18=menor,mayor val19=creciente, decreciente tmp0=!nonempty items $val11 val11=$(tmp0) val20=$[rint(($val14+3)/2)] tmp0=!shuffle $val11 val9=$(tmp0) tmp0=!replace , by ,- in -$val11 tmp1=!shuffle $(tmp0) val10=$(tmp1) val11=$(val9[1..$val20]),$(val10[1..$val20]) tmp0=!shuffle $val11 val11=$(tmp0) !ifval $val15=1 tmp0=!sort numeric items $(val11[1..$val14]) val11=$(tmp0) !else tmp1=!sort reverse numeric items $(val11[1..$val14]) val11= $(tmp1) !endif val21= !if $val12 iswordof fraction tmp0=!replace internal / by \over in $val11 val11=$(tmp0) !for val22 =1 to $val14 tmp0=!append item \({$(val11[$val22])}) to $val21 val21=$(tmp0) val23=es !next !else !for val22 =1 to $val14 tmp0=!append item \($(val11[$val22])) to $val21 val21=$(tmp0) !next !endif tmp0=!item 1 to $val14 of r1,r2,r3,r4,r5,r6,r7,r8 val24=$(tmp0) oefsteps=$val24 nextstep=!nosubst $val24 !readproc oef/steps.proc replytype1=dragfill replyname1=$val13 1 replygood1=$(val21[1]) replytype2=dragfill replyname2=$val13 2 replygood2=$(val21[2]) replytype3=dragfill replyname3=$val13 3 replygood3=$(val21[3]) replytype4=dragfill replyname4=$val13 4 replygood4=$(val21[4]) replytype5=dragfill replyname5=$val13 5 replygood5=$(val21[5]) replytype6=dragfill replyname6=$val13 6 replygood6=$(val21[6]) replytype7=dragfill replyname7=$val13 7 replygood7=$(val21[7]) replytype8=dragfill replyname8=$val13 8 replygood8=$(val21[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val12 de abajo en orden $(val19[$val15]), de $(val18[$val15]) a $(val18[3-$val15]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val14 $() $val16 !read oef/embed.phtml $(val24[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,12,14,15,16,18,19,24 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/def/relint3.def0000644000175000017500000000600710251112374026220 0ustar georgeskgeorgesk!set title=Números relativos (grandes) !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r varcnt=34 prevarcnt=33 postvarcnt=0 replycnt=8 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=randint val7=80x30 val8=$[rint(7)] tmp0=!values 10*$val6(900)+1000+x for x=0 to 9 tmp1=!shuffle $(tmp0) val9=$(tmp1) tmp0=!values 10*$val6(9000)+10000+x for x=0 to 9 tmp1=!shuffle $(tmp0) val10=$(tmp1) tmp0=!values 10*$val6(90000)+100000+x for x=0 to 9 tmp1=!shuffle $(tmp0) val11=$(tmp1) val12=$(val9[1..$val8]),$(val10[1..$val8]),$(val11[1..$val8]) val13=números val14=Números !if $val2>=3 and $val2<=8 val15=$[rint($val2)] !else val15=$[rint(4)] !endif tmp0=!randitem 1,2 val16=$[rint($(tmp0))] !if $val3=2 val16=$[rint(1)] !endif !if $val3=3 val16=$[rint(2)] !endif tmp0=!item $val16 of <,> val17=$(tmp0) tmp0=!item $val16 of ,reverse val18=$(tmp0) val19=menor,mayor val20=creciente, decreciente tmp0=!nonempty items $val12 val12=$(tmp0) val21=$[rint(($val15+3)/2)] tmp0=!shuffle $val12 val9=$(tmp0) tmp0=!replace , by ,- in -$val12 tmp1=!shuffle $(tmp0) val10=$(tmp1) val12=$(val9[1..$val21]),$(val10[1..$val21]) tmp0=!shuffle $val12 val12=$(tmp0) !ifval $val16=1 tmp0=!sort numeric items $(val12[1..$val15]) val12=$(tmp0) !else tmp1=!sort reverse numeric items $(val12[1..$val15]) val12= $(tmp1) !endif val22= !if $val13 iswordof fraction tmp0=!replace internal / by \over in $val12 val12=$(tmp0) !for val23 =1 to $val15 tmp0=!append item \({$(val12[$val23])}) to $val22 val22=$(tmp0) val24=es !next !else !for val23 =1 to $val15 tmp0=!append item \($(val12[$val23])) to $val22 val22=$(tmp0) !next !endif tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8 val25=$(tmp0) oefsteps=$val25 nextstep=!nosubst $val25 !readproc oef/steps.proc replytype1=dragfill replyname1=$val14 1 replygood1=$(val22[1]) replytype2=dragfill replyname2=$val14 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=$val14 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=$val14 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=$val14 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=$val14 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=$val14 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=$val14 8 replygood8=$(val22[8]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ordenar los/las $val13 de abajo en orden $(val20[$val16]), de $(val19[$val16]) a $(val19[3-$val16]).

!read oef/embed.phtml r1,$val7 $() !for m_t=2 to $val15 $() $val17 !read oef/embed.phtml $(val25[$m_t]),$val7 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,13,15,16,17,19,20,25 embedcnt=2 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/help.phtml0000777000175000017500000000000011263403036030355 2proc/help.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/images/0000755000175000017500000000000010251104030024652 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/intro.phtml0000644000175000017500000000044310251112300025606 0ustar georgeskgeorgesk!header !read Exindex Este es un ejercicio clásico: ordenar unos números dados (enteros, decimales, fracciones, etc.). Y mediante las opciones de los parámetros de configuración, puede satisfacer las necesidades de aprendizaje de una amplia gama de niveles. !read proc/intromenu.phtml !tailwims-modules-es-3.64.orig/modules/E6/number/orderange.es/introhook.phtml0000644000175000017500000000037110251107534026504 0ustar georgeskgeorgeskNúmero de objetos que ordenar: !set confparm1=4 !formselect confparm1 from 3 to 8 Orden: !formselect confparm2 from 1 to 3 prompt Aleatorio,\ Siempre creciente, Siempre decrecientewims-modules-es-3.64.orig/modules/E6/number/orderange.es/main.phtml0000777000175000017500000000000011263403036030305 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/mkindex0000777000175000017500000000000011263403036027325 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/proc0000777000175000017500000000000011263403036027211 2../../../adm/texo.enustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/0000755000175000017500000000000010251104030024174 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/.htaccess0000644000175000017500000000001606634455300026012 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/Makefile0000644000175000017500000000003006754262700025653 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/0000755000175000017500000000000010251112374024770 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/Makefile0000644000175000017500000000003307733040500026426 0ustar georgeskgeorgesk all: cd ../..;./mkindex wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/common.inc0000644000175000017500000000310310251112300026735 0ustar georgeskgeorgesk\if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} #ifdef ADDNEG \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} #endif \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill}wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/decimal.cpp0000644000175000017500000000146510251112300027065 0ustar georgeskgeorgesktarget=posdec1 reldec1 posdec2 reldec2 #include "header.inc" \text{randint=randint} #if #TARGET (posdec1) || #TARGET (reldec1) #if #TARGET (posdec1) \title{Decimales positivos I} \text{size=40x30} #else \title{Decimales relativos I} \text{size=45x30} #define ADDNEG 1 #endif \text{data=wims(values x/10 for x=1 to 99)} #endif #if #TARGET (posdec2) || #TARGET (reldec2) #if #TARGET (posdec2) \title{Decimales positivos II} \text{size=60x30} \integer{lim=4} #else \title{Decimales relativos II} \text{size=65x30} \integer{lim=8} #define ADDNEG 1 #endif \text{data1=wims(values \randint(19)+x/10 for x=1 to 9)} \text{data2=wims(values \randint(199)/10+x/100 for x=1 to 9)} \text{data=\data1[1..\lim],\data2[1..\lim]} #endif \text{name=números} \text{Name=Números} #include "common.inc"wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/fraction.cpp0000644000175000017500000000440610251112300027272 0ustar georgeskgeorgesktarget=posfrac1 posfrac2 posfrac3 posfrac4 posfrac5 relfrac1 relfrac2 relfrac3 relfrac4 relfrac5 #include "header.inc" #if #TARGET (posfrac1) || #TARGET (relfrac1) #if #TARGET (posfrac1) \title{Fracciones positivas I} \text{size=35x55} #else \title{Fracciones relativas I} \text{size=40x55} #define ADDNEG 1 #endif \text{data=randomrow( 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,14/3,16/3,17/3,19/3,20/3 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,14/5,16/5,17/5,18/5,19/5 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7,13/7,15/7,16/7,17/7,18/7,19/7 )} #endif #if #TARGET (posfrac2) || #TARGET (relfrac2) #if #TARGET (posfrac2) \title{Fracciones positivas II} \text{size=40x55} #else \title{Fracciones relativas II} \text{size=45x55} #define ADDNEG 1 #endif \integer{num=random(7,11,13,17)} \text{data=wims(values x,x+\num,x+2*\num for x=1 to \num-1)} \text{data=wims(replace , by ,\num/ in \num/\data[2..-1])} \text{data=pari([\data])} #endif #if #TARGET (posfrac3) || #TARGET (relfrac3) #if #TARGET (posfrac3) \title{Fracciones positivas III} \text{size=35x55} #else \title{Fracciones relativas III} \text{size=40x55} #define ADDNEG 1 #endif \text{data= 1/2,3/2,5/2, 1/3,2/3,4/3,5/3, 1/4,3/4,5/4, 1/5,2/5,3/5,4/5 } #endif #if #TARGET (posfrac4) || #TARGET (relfrac4) #if #TARGET (posfrac4) \title{Fracciones positivas IV} \text{size=40x55} #else \title{Fracciones relativas IV} \text{size=45x55} #define ADDNEG 1 #endif \text{data= 1/2,3/2,5/2,7/2,9/2,11/2, 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3, 1/4,3/4,5/4,7/4,9/4,11/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5, 1/6,5/6,7/6,11/6, 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7, 1/8,3/8,5/8,7/8,9/8,11/8, 1/9,2/9,4/9,5/9,7/9,8/9,10/9,11/9, 1/10,3/10,7/10,9/10,11/10, 1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,12/11, 1/12,5/12,7/12,11/12 } #endif #if #TARGET (posfrac5) || #TARGET (relfrac5) #if #TARGET (posfrac5) \title{Fracciones positivas V} \text{size=40x55} #else \title{Fracciones relativas V} \text{size=45x55} #define ADDNEG 1 #endif \integer{denom=random(20,24,30,36,40,48,50,54,60)} \text{data=wims(values x,x+\denom,x+2*\denom for x=1 to \denom-1)} \text{data=pari([\data]/\denom)} #endif \text{name=fracciones} \text{Name=Fracciones} #include "common.inc"wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/header.inc0000644000175000017500000000010510251105254026706 0ustar georgeskgeorgesk\language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html}wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/cpp/integer.cpp0000644000175000017500000000262110251112374027132 0ustar georgeskgeorgesktarget=posint1 relint1 posint2 relint2 posint3 relint3 #include "header.inc" \text{randint=randint} #if #TARGET (posint1) || #TARGET (relint1) #if #TARGET (posint1) \title{Números positivos (pequeños)} \text{size=35x30} #else \title{Números relativos (pequeños)} \text{size=40x30} #define ADDNEG 1 #endif \text{data=wims(values x for x=1 to 20)} #endif #if #TARGET (posint2) || #TARGET (relint2) #if #TARGET (posint2) \title{Números positivos (medianos)} \text{size=45x30} \integer{lim=4} #else \title{Números relativos (medianos)} \text{size=50x30} \integer{lim=9} #define ADDNEG 1 #endif \text{data1=shuffle(wims(values \randint(9)*10+10+x for x=0 to 9))} \text{data2=shuffle(wims(values \randint(90)*10+100+x for x=0 to 9))} \text{data=\data1[1..\lim],\data2[1..\lim]} #endif #if #TARGET (posint3) || #TARGET (relint3) #if #TARGET (posint3) \title{Números positivos (grandes)} \text{size=75x30} \integer{lim=3} #else \title{Números relativos (grandes)} \text{size=80x30} \integer{lim=7} #define ADDNEG 1 #endif \text{data1=shuffle(wims(values 10*\randint(900)+1000+x for x=0 to 9))} \text{data2=shuffle(wims(values 10*\randint(9000)+10000+x for x=0 to 9))} \text{data3=shuffle(wims(values 10*\randint(90000)+100000+x for x=0 to 9))} \text{data=\data1[1..\lim],\data2[1..\lim],\data3[1..\lim]} #endif \text{name=números} \text{Name=Números} #include "common.inc"wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posdec1.oef0000644000175000017500000000336310251112300026231 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/decimal.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Decimales positivos I} \text{size=40x30} \text{data=wims(values x/10 for x=1 to 99)} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posdec2.oef0000644000175000017500000000357710251112300026241 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/decimal.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Decimales positivos II} \text{size=60x30} \integer{lim=4} \text{data1=wims(values \randint(19)+x/10 for x=1 to 9)} \text{data2=wims(values \randint(199)/10+x/100 for x=1 to 9)} \text{data=\data1[1..\lim],\data2[1..\lim]} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posfrac1.oef0000644000175000017500000000364610251112300026415 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones positivas I} \text{size=35x55} \text{data=randomrow( 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,14/3,16/3,17/3,19/3,20/3 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,14/5,16/5,17/5,18/5,19/5 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7,13/7,15/7,16/7,17/7,18/7,19/7 )} \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posfrac2.oef0000644000175000017500000000355510251112300026415 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones positivas II} \text{size=40x55} \integer{num=random(7,11,13,17)} \text{data=wims(values x,x+\num,x+2*\num for x=1 to \num-1)} \text{data=wims(replace , by ,\num/ in \num/\data[2..-1])} \text{data=pari([\data])} \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posfrac3.oef0000644000175000017500000000340110251112300026404 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones positivas III} \text{size=35x55} \text{data= 1/2,3/2,5/2, 1/3,2/3,4/3,5/3, 1/4,3/4,5/4, 1/5,2/5,3/5,4/5 } \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posfrac4.oef0000644000175000017500000000406010251112300026407 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones positivas IV} \text{size=40x55} \text{data= 1/2,3/2,5/2,7/2,9/2,11/2, 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3, 1/4,3/4,5/4,7/4,9/4,11/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5, 1/6,5/6,7/6,11/6, 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7, 1/8,3/8,5/8,7/8,9/8,11/8, 1/9,2/9,4/9,5/9,7/9,8/9,10/9,11/9, 1/10,3/10,7/10,9/10,11/10, 1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,12/11, 1/12,5/12,7/12,11/12 } \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posfrac5.oef0000644000175000017500000000352010251112300026410 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones positivas V} \text{size=40x55} \integer{denom=random(20,24,30,36,40,48,50,54,60)} \text{data=wims(values x,x+\denom,x+2*\denom for x=1 to \denom-1)} \text{data=pari([\data]/\denom)} \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posint1.oef0000644000175000017500000000336710251112374026307 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/integer.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Números positivos (pequeños)} \text{size=35x30} \text{data=wims(values x for x=1 to 20)} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posint2.oef0000644000175000017500000000362710251112374026307 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/integer.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Números positivos (medianos)} \text{size=45x30} \integer{lim=4} \text{data1=shuffle(wims(values \randint(9)*10+10+x for x=0 to 9))} \text{data2=shuffle(wims(values \randint(90)*10+100+x for x=0 to 9))} \text{data=\data1[1..\lim],\data2[1..\lim]} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/posint3.oef0000644000175000017500000000377410251112374026313 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/integer.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Números positivos (grandes)} \text{size=75x30} \integer{lim=3} \text{data1=shuffle(wims(values 10*\randint(900)+1000+x for x=0 to 9))} \text{data2=shuffle(wims(values 10*\randint(9000)+10000+x for x=0 to 9))} \text{data3=shuffle(wims(values 10*\randint(90000)+100000+x for x=0 to 9))} \text{data=\data1[1..\lim],\data2[1..\lim],\data3[1..\lim]} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/reldec1.oef0000644000175000017500000000362510251112300026213 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/decimal.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Decimales relativos I} \text{size=45x30} \text{data=wims(values x/10 for x=1 to 99)} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/reldec2.oef0000644000175000017500000000403510251112300026210 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/decimal.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Decimales relativos II} \text{size=65x30} \integer{lim=8} \text{data1=wims(values \randint(19)+x/10 for x=1 to 9)} \text{data2=wims(values \randint(199)/10+x/100 for x=1 to 9)} \text{data=\data1[1..\lim],\data2[1..\lim]} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relfrac1.oef0000644000175000017500000000411010251112300026361 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones relativas I} \text{size=40x55} \text{data=randomrow( 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,14/3,16/3,17/3,19/3,20/3 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,14/5,16/5,17/5,18/5,19/5 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7,13/7,15/7,16/7,17/7,18/7,19/7 )} \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relfrac2.oef0000644000175000017500000000401410251112300026365 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones relativas II} \text{size=45x55} \integer{num=random(7,11,13,17)} \text{data=wims(values x,x+\num,x+2*\num for x=1 to \num-1)} \text{data=wims(replace , by ,\num/ in \num/\data[2..-1])} \text{data=pari([\data])} \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relfrac3.oef0000644000175000017500000000364010251112300026372 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones relativas III} \text{size=40x55} \text{data= 1/2,3/2,5/2, 1/3,2/3,4/3,5/3, 1/4,3/4,5/4, 1/5,2/5,3/5,4/5 } \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relfrac4.oef0000644000175000017500000000431710251112300026375 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones relativas IV} \text{size=45x55} \text{data= 1/2,3/2,5/2,7/2,9/2,11/2, 1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3, 1/4,3/4,5/4,7/4,9/4,11/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5, 1/6,5/6,7/6,11/6, 1/7,2/7,3/7,4/7,5/7,6/7,8/7,9/7,10/7,11/7,12/7, 1/8,3/8,5/8,7/8,9/8,11/8, 1/9,2/9,4/9,5/9,7/9,8/9,10/9,11/9, 1/10,3/10,7/10,9/10,11/10, 1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,12/11, 1/12,5/12,7/12,11/12 } \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relfrac5.oef0000644000175000017500000000375710251112300026405 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fraction.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Fracciones relativas V} \text{size=45x55} \integer{denom=random(20,24,30,36,40,48,50,54,60)} \text{data=wims(values x,x+\denom,x+2*\denom for x=1 to \denom-1)} \text{data=pari([\data]/\denom)} \text{name=fracciones} \text{Name=Fracciones} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relint1.oef0000644000175000017500000000363110251112374026262 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/integer.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Números relativos (pequeños)} \text{size=40x30} \text{data=wims(values x for x=1 to 20)} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relint2.oef0000644000175000017500000000406510251112374026265 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/integer.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Números relativos (medianos)} \text{size=50x30} \integer{lim=9} \text{data1=shuffle(wims(values \randint(9)*10+10+x for x=0 to 9))} \text{data2=shuffle(wims(values \randint(90)*10+100+x for x=0 to 9))} \text{data=\data1[1..\lim],\data2[1..\lim]} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/src/relint3.oef0000644000175000017500000000423210251112374026262 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/integer.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \text{randint=randint} \title{Números relativos (grandes)} \text{size=80x30} \integer{lim=7} \text{data1=shuffle(wims(values 10*\randint(900)+1000+x for x=0 to 9))} \text{data2=shuffle(wims(values 10*\randint(9000)+10000+x for x=0 to 9))} \text{data3=shuffle(wims(values 10*\randint(90000)+100000+x for x=0 to 9))} \text{data=\data1[1..\lim],\data2[1..\lim],\data3[1..\lim]} \text{name=números} \text{Name=Números} \if{\confparm1>=3 and \confparm1<=8} {\integer{\cnt=\confparm1}}{\integer{\cnt=4}} \integer{orient=random(1,2)} \if{\confparm2=2}{\integer{orient=1}} \if{\confparm2=3}{\integer{orient=2}} \text{sign=item(\orient,<,>)} \text{sorder=item(\orient,,reverse)} \text{smallbig=menor,mayor} \text{dir=creciente, decreciente} \text{data=wims(nonempty items \data)} \integer{half=(\cnt+3)/2} \text{data1=shuffle(\data)} \text{data2=shuffle(wims(replace , by ,- in -\data))} \text{data=\data1[1..\half],\data2[1..\half]} \text{data=shuffle(\data)} \text{data=\orient=1?wims(sort numeric items \data[1..\cnt]): wims(sort reverse numeric items \data[1..\cnt]) } \text{good=} \if{\name iswordof fraction}{ \text{data=wims(replace internal / by \over in \data)} \for{i=1 to \cnt}{ \text{good=wims(append item \({\data[\i]}) to \good)} \text{s=es} } }{ \for{i=1 to \cnt}{\text{good=wims(append item \(\data[\i]) to \good)}} } \text{rlist=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8)} \steps{\rlist} \statement{Ordenar los/las \name de abajo en orden \dir[\orient], de \smallbig[\orient] a \smallbig[3-\orient].

\embed{r1,\size} \for{t=2 to \cnt}{ \sign \embed{\rlist[\t],\size} }
} \answer{\Name 1}{\good[1]}{type=dragfill} \answer{\Name 2}{\good[2]}{type=dragfill} \answer{\Name 3}{\good[3]}{type=dragfill} \answer{\Name 4}{\good[4]}{type=dragfill} \answer{\Name 5}{\good[5]}{type=dragfill} \answer{\Name 6}{\good[6]}{type=dragfill} \answer{\Name 7}{\good[7]}{type=dragfill} \answer{\Name 8}{\good[8]}{type=dragfill} wims-modules-es-3.64.orig/modules/E6/number/orderange.es/var.init0000644000175000017500000000013507734032700025101 0ustar georgeskgeorgesk !bound confparm1 between integer 3 and 8 default 4 !bound confparm2 within 1,2,3 default 1 wims-modules-es-3.64.orig/modules/E6/number/orderange.es/var.proc0000644000175000017500000000024207734032700025100 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto proc/var.proc wims-modules-es-3.64.orig/modules/E6/geometry/0000755000175000017500000000000011262663116021416 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/0000755000175000017500000000000011262662734023460 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/INDEX0000644000175000017500000000112510253345651024244 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF rectángulos description=colección de ejercicios sobre rectángulos. language=es category=exercise, oef domain=geometry, algebra level=E5,E6,H1,H2 keywords=rectangle, length, width, perimeter, area, rectángulo, longitud, anchura, perímetro, área require= scoring=yes copyright=© 2000- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=2.32 vardef=oef/var.def translator=Juan Rafael Fernández García translator_address=juanrafael.fernandez@hispalinux.es wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/about.phtml0000777000175000017500000000000011263403036030745 2proc/about.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/0000755000175000017500000000000010253346763024216 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/.htaccess0000644000175000017500000000001606634455300026005 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/Airerectangle.def0000644000175000017500000000174710253342464027446 0ustar georgeskgeorgesk!set title=Del área a la anchura !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 4, 15 val7=$[rint($val6+$(tmp0))] val8=$[rint($val6*$val7)] replytype1=units replyname1=Ancho replygood1=$val6 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es $val8 cm2. Sabiendo que su longitud es $val7 cm, calcular su anchura. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/Primtrerectang.def0000644000175000017500000000176210253342643027663 0ustar georgeskgeorgesk!set title=Del perímetro a la longitud !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 10, 50 val6=$[rint($(tmp0))] tmp0=!randint 10, 40 val7=$[rint($val6+$(tmp0))] val8=$[rint(($val6+$val7)*2)] replytype1=units replyname1=Longitud replygood1=$val7 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El perímetro de un rectángulo es de $val8 cm. Sabiendo que su anchura es $val6 cm, calcular su longitud. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/airlength.def0000644000175000017500000000175310253346763026661 0ustar georgeskgeorgesk!set title=Del área a la longitud !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 4, 15 val7=$[rint($val6+$(tmp0))] val8=$[rint($val6*$val7)] replytype1=units replyname1=Longitud replygood1=$val7 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es $val8 cm2. Sabiendo que su anchura es $val6 cm, calcular su longitud. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/airperim.def0000644000175000017500000000244310253343123026474 0ustar georgeskgeorgesk!set title=Del área al perímetro !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=10000 ansorder=r varcnt=5 prevarcnt=4 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 4, 15 val7=$[rint($val6+$(tmp0))] val8=$[rint($val6*$val7)] val9=$[rint(2*($val6+$val7))] replytype1=units replyname1=Perímetro replygood1=$val9 cm question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es de $val8 cm2. Sabiendo que su anchura es $val6 cm, calcular su perímetro. $() !exit :hint $()Debe calcular primero la longitud. $() !exit :help $() $() !exit :solution $()La longitud del rectángulo es

$val8/$val6 = $val7 cm,

y por tanto el perímetro es igual a

2($val7 + $val6) = $val9 cm.

$() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/areadiff.def0000644000175000017500000000244110253343373026432 0ustar georgeskgeorgesk!set title=Área y diferencia * !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=10000 ansorder=r varcnt=10 prevarcnt=9 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 4, 15 val7=$[rint($val6+$(tmp0))] val8=$[rint($val6*$val7)] val9=$[rint(2*($val6+$val7))] val10=$[rint($val7-$val6)] tmp0=!randitem 0,1 val11=$[rint($(tmp0))] !ifval $val11=0 val12=$[rint($val6)] !else val12=$[rint($val7)] !endif !ifval $val11=0 val13=Anchura !else val13=Longitud !endif !ifval $val11=0 val14=anchura !else val14=longitud !endif replytype1=units replyname1=$val13 replygood1=$val12 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es $val8 cm2. Sabiendo que su longitud es $val10 cm mayor que su anchura, calcular la $val14. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,14 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/areadiff2.def0000644000175000017500000000257210253343700026513 0ustar georgeskgeorgesk!set title=Área y diferencia II * !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=10000 ansorder=r varcnt=10 prevarcnt=9 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 4, 15 val7=$[rint($val6+$(tmp0))] val8=$[rint($val6*$val7)] val9=$[rint(2*($val6+$val7))] val10=$[rint($val7-$val6)] tmp0=!randitem 0,1 val11=$[rint($(tmp0))] !ifval $val11=0 val12=$[rint($val6)] !else val12=$[rint($val7)] !endif !ifval $val11=0 val13=Anchura !else val13=Longitud !endif !ifval $val11=0 val14=anchura !else val14=longitud !endif replytype1=units replyname1=Perímetro replygood1=$val9 cm question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es $val8 cm2. Sabiendo que su longitud es $val10 cm mayor que su anchura, calcular el perímetro. $() !exit :hint $()Debe determinar primero la longitud y la anchura. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/areaprop.def0000644000175000017500000000245610253344104026501 0ustar georgeskgeorgesk!set title=Área y proporción * !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=10000 ansorder=r varcnt=11 prevarcnt=10 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 4, 12 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,4 val7=$[rint($(tmp0))] val8=$[rint($val6*$val7)] val9=$[rint($val6*$val8)] val10=$[rint(2*($val6+$val8))] val11=$[rint($val8-$val6)] tmp0=!randitem 0,1 val12=$[rint($(tmp0))] !ifval $val12=0 val13=$[rint($val6)] !else val13=$[rint($val8)] !endif !ifval $val12=0 val14=Anchura !else val14=Longitud !endif !ifval $val12=0 val15=anchura !else val15=longitud !endif replytype1=units replyname1=$val14 replygood1=$val13 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un triángulo es $val9 cm2. Sabiendo que su longitud es $val7 veces su anchura, calcular la $val15. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,9,15 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/areaprop2.def0000644000175000017500000000371410253344607026571 0ustar georgeskgeorgesk!set title=Área y proporción II * !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=10000 ansorder=r varcnt=12 prevarcnt=11 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 4, 12 val6=$[rint($(tmp0))] val7=$[rint($val6*$val6)] tmp0=!randitem 2,3,4 val8=$[rint($(tmp0))] val9=$[rint($val6*$val8)] val10=$[rint($val6*$val9)] val11=$[rint(2*($val6+$val9))] val12=$[rint($val9-$val6)] tmp0=!randitem 0,1 val13=$[rint($(tmp0))] !ifval $val13=0 val14=$[rint($val6)] !else val14=$[rint($val9)] !endif !ifval $val13=0 val15=Anchura !else val15=Longitud !endif !ifval $val13=0 val16=anchura !else val16=longitud !endif replytype1=units replyname1=Perímetro replygood1=$val11 cm question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es $val10 cm2. Sabiendo que su longitud es $val8 veces su anchura, calcular el perímetro. $() !exit :hint $()Debe calcular primero la anchura. $() !exit :help $() $() !exit :solution $()El área es igual a longitud×anchura. Como la longitud=$val8×anchura tenemos

área = $val10 cm2 = longitud×anchura = $val8×$val6×$val6 cm2,

o

anchura×anchura = $val10 cm2/$val8 = $val7 cm2,

y por tanto la anchura = $val6 cm. Ahora bien la longitud = $val8×$val6 cm = $val9 cm, y

el perímetro = 2(longitud + anchura) = 2($val9 + $val6) cm = $val11 cm.

$() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,10,11 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/peridiff.def0000644000175000017500000000325110253345122026453 0ustar georgeskgeorgesk!set title=Perímetro y diferencia !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=10000 ansorder=r varcnt=12 prevarcnt=11 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 4, 15 val6=$[rint($(tmp0))] val7=$[rint($val6*4)] tmp0=!randint 4, 15 val8=$[rint($val6+$(tmp0))] val9=$[rint($val6*$val8)] val10=$[rint(2*($val6+$val8))] val11=$[rint($val8-$val6)] val12=$[rint($val11*2)] tmp0=!randitem 0,1 val13=$[rint($(tmp0))] !ifval $val13=0 val14=$[rint($val6)] !else val14=$[rint($val8)] !endif !ifval $val13=0 val15=Anchura !else val15=Longitud !endif !ifval $val13=0 val16=anchura !else val16=longitud !endif replytype1=units replyname1=$val15 replygood1=$val14 cm question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El perímetro de un rectángulo es $val10 cm. Sabiendo que su longitud es $val11 cm mayor que su anchura, calcular la $val16. $() !exit :hint $() $() !exit :help $() $() !exit :solution $()

$val10 cm = perímetro = 2(longitud + anchura) = 4 × anchura + 2× $val11 cm,

de donde

4 × anchura = $val10 - $val12 cm = $val7 cm,
y

anchura = $val7/4 cm = $val6 cm, longitud = $val6 + $val11 cm = $val8 cm.

$() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,10,11,12,16 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/perimwidth.def0000644000175000017500000000175510253345256027056 0ustar georgeskgeorgesk!set title=Del perímetro a la anchura !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=4 prevarcnt=3 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 10, 50 val6=$[rint($(tmp0))] tmp0=!randint 10, 40 val7=$[rint($val6+$(tmp0))] val8=$[rint(($val6+$val7)*2)] replytype1=units replyname1=Anchura replygood1=$val6 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El perímetro de un rectángulo es $val8 cm. Sabiendo que su longitud es $val7 cm, calcular su anchura. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/def/widlen.def0000644000175000017500000000243310253345463026156 0ustar georgeskgeorgesk!set title=Longitud - anchura * !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=10000 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 4, 15 val6=$[rint($(tmp0))] tmp0=!randint 4, 15 val7=$[rint($val6+$(tmp0))] val8=$[rint($val6*$val7)] val9=$[rint(2*($val6+$val7))] tmp0=!randitem 0,1 val10=$[rint($(tmp0))] !ifval $val10=0 val11=$[rint($val6)] !else val11=$[rint($val7)] !endif !ifval $val10=0 val12=Anchura !else val12=Longitud !endif !ifval $val10=0 val13=anchura !else val13=longitud !endif replytype1=units replyname1=$val12 replygood1=$val11 cm question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()El área de un rectángulo es $val8 cm2. Sabiendo que su perímetro es $val9 cm, calcular su $val13.

(La anchura es menor que la longitud.) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=0 wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/endhook.phtml0000644000175000017500000000010210141673300026130 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/help.phtml0000777000175000017500000000000011263403036030401 2proc/help.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/images/0000755000175000017500000000000010251116460024710 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/intro.phtml0000644000175000017500000000024510253342207025647 0ustar georgeskgeorgesk!header !read Exindex Este módulo reúne por el momento $exototal ejercicios sobre rectángulos: longitud, anchura, perímetro, área. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/main.phtml0000777000175000017500000000000011263403036030331 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/mkindex0000777000175000017500000000000011263403036027351 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/proc0000777000175000017500000000000011263403036027235 2../../../adm/texo.enustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/0000755000175000017500000000000010253346424024241 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/.htaccess0000644000175000017500000000001606634455300026036 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/Airerectangle.oef0000644000175000017500000000065310253342464027505 0ustar georgeskgeorgesk\title{Del área a la anchura} \language{es} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \statement{El área de un rectángulo es \aire cm2. Sabiendo que su longitud es \longueur cm, calcular su anchura.} \answer{Ancho}{\largeur cm}{type=units}wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/Makefile0000644000175000017500000000003006754262700025677 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/Primtrerectang.oef0000644000175000017500000000066610253342643027731 0ustar georgeskgeorgesk\title{Del perímetro a la longitud} \language{es} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(10..50)} \integer{longueur=\largeur+random(10..40)} \integer{peri=(\largeur+\longueur)*2} \statement{El perímetro de un rectángulo es de \peri cm. Sabiendo que su anchura es \largeur cm, calcular su longitud.} \answer{Longitud}{\longueur cm}{type=units}wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/airlength.oef0000644000175000017500000000065710253346763026727 0ustar georgeskgeorgesk\title{Del área a la longitud} \language{es} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \statement{El área de un rectángulo es \aire cm2. Sabiendo que su anchura es \largeur cm, calcular su longitud.} \answer{Longitud}{\longueur cm}{type=units}wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/airperim.oef0000644000175000017500000000130010253343123026527 0ustar georgeskgeorgesk\title{Del área al perímetro} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \statement{El área de un rectángulo es de \aire cm2. Sabiendo que su anchura es \largeur cm, calcular su perímetro.} \answer{Perímetro}{\peri cm}{type=units} \hint{Debe calcular primero la longitud.} \solution{La longitud del rectángulo es

\aire/\largeur = \longueur cm,

y por tanto el perímetro es igual a

2(\longueur + \largeur) = \peri cm.

} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/areadiff.oef0000644000175000017500000000120210253343372026467 0ustar georgeskgeorgesk\title{Área y diferencia *} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \integer{diff=\longueur-\largeur} \integer{test=random(0,1)} \integer{gv=\test=0?\largeur:\longueur} \text{Get=\test=0?Anchura:Longitud} \text{get=\test=0?anchura:longitud} \statement{El área de un rectángulo es \aire cm2. Sabiendo que su longitud es \diff cm mayor que su anchura, calcular la \get.} \answer{\Get}{\gv cm}{type=units} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/areadiff2.oef0000644000175000017500000000131210253343700026546 0ustar georgeskgeorgesk\title{Área y diferencia II *} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \integer{diff=\longueur-\largeur} \integer{test=random(0,1)} \integer{gv=\test=0?\largeur:\longueur} \text{Get=\test=0?Anchura:Longitud} \text{get=\test=0?anchura:longitud} \statement{El área de un rectángulo es \aire cm2. Sabiendo que su longitud es \diff cm mayor que su anchura, calcular el perímetro.} \answer{Perímetro}{\peri cm}{type=units} \hint{Debe determinar primero la longitud y la anchura.} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/areaprop.oef0000644000175000017500000000121710253344104026537 0ustar georgeskgeorgesk\title{Área y proporción *} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..12)} \integer{prop=random(2,3,4)} \integer{longueur=\largeur*\prop} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \integer{diff=\longueur-\largeur} \integer{test=random(0,1)} \integer{gv=\test=0?\largeur:\longueur} \text{Get=\test=0?Anchura:Longitud} \text{get=\test=0?anchura:longitud} \statement{El área de un triángulo es \aire cm2. Sabiendo que su longitud es \prop veces su anchura, calcular la \get.} \answer{\Get}{\gv cm}{type=units} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/areaprop2.oef0000644000175000017500000000241310253344607026630 0ustar georgeskgeorgesk\title{Área y proporción II *} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..12)} \integer{l2=\largeur*\largeur} \integer{prop=random(2,3,4)} \integer{longueur=\largeur*\prop} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \integer{diff=\longueur-\largeur} \integer{test=random(0,1)} \integer{gv=\test=0?\largeur:\longueur} \text{Get=\test=0?Anchura:Longitud} \text{get=\test=0?anchura:longitud} \statement{El área de un rectángulo es \aire cm2. Sabiendo que su longitud es \prop veces su anchura, calcular el perímetro.} \answer{Perímetro}{\peri cm}{type=units} \hint{Debe calcular primero la anchura.} \solution{El área es igual a longitud×anchura. Como la longitud=\prop×anchura tenemos

área = \aire cm2 = longitud×anchura = \prop×\largeur×\largeur cm2,

o

anchura×anchura = \aire cm2/\prop = \l2 cm2,

y por tanto la anchura = \largeur cm. Ahora bien la longitud = \prop×\largeur cm = \longueur cm, y

el perímetro = 2(longitud + anchura) = 2(\longueur + \largeur) cm = \peri cm.

} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/peridiff.oef0000644000175000017500000000174010253345122026520 0ustar georgeskgeorgesk\title{Perímetro y diferencia} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{l4=\largeur*4} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \integer{diff=\longueur-\largeur} \integer{d2=\diff*2} \integer{test=random(0,1)} \integer{gv=\test=0?\largeur:\longueur} \text{Get=\test=0?Anchura:Longitud} \text{get=\test=0?anchura:longitud} \statement{El perímetro de un rectángulo es \peri cm. Sabiendo que su longitud es \diff cm mayor que su anchura, calcular la \get.} \answer{\Get}{\gv cm}{type=units} \solution{

\peri cm = perímetro = 2(longitud + anchura) = 4 × anchura + 2× \diff cm,

de donde

4 × anchura = \peri - \d2 cm = \l4 cm,
y

anchura = \l4/4 cm = \largeur cm, longitud = \largeur + \diff cm = \longueur cm.

} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/perimwidth.oef0000644000175000017500000000066210253345256027116 0ustar georgeskgeorgesk\title{Del perímetro a la anchura} \language{es} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(10..50)} \integer{longueur=\largeur+random(10..40)} \integer{peri=(\largeur+\longueur)*2} \statement{El perímetro de un rectángulo es \peri cm. Sabiendo que su longitud es \longueur cm, calcular su anchura.} \answer{Anchura}{\largeur cm}{type=units} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/src/widlen.oef0000644000175000017500000000117010253345463026217 0ustar georgeskgeorgesk\title{Longitud - anchura *} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{largeur=random(4..15)} \integer{longueur=\largeur+random(4..15)} \integer{aire=\largeur*\longueur} \integer{peri=2*(\largeur+\longueur)} \integer{test=random(0,1)} \integer{gv=\test=0?\largeur:\longueur} \text{Get=\test=0?Anchura:Longitud} \text{get=\test=0?anchura:longitud} \statement{El área de un rectángulo es \aire cm2. Sabiendo que su perímetro es \peri cm, calcular su \get.

(La anchura es menor que la longitud.)} \answer{\Get}{\gv cm}{type=units} wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/var.def0000777000175000017500000000000011263403036027125 2proc/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/var.proc0000777000175000017500000000000011263403036027537 2proc/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/Exindex0000644000175000017500000000072110253346763025007 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of perimwidth,Primtrerectang,Airerectangle,airlength,airperim,widlen,peridiff,areadiff,areadiff2,areaprop,areaprop2, !set titlelist=!char 1 to -2 of Del perímetro a la anchura,Del perímetro a la longitud,Del área a la anchura,Del área a la longitud,Del área al perímetro,Longitud - anchura *,Perímetro y diferencia,Área y diferencia *,Área y diferencia II *,Área y proporción *,Área y proporción II *, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/E6/geometry/oefrect.es/Extitles0000644000175000017500000000055510253346763025211 0ustar georgeskgeorgeskAirerectangle:Del área a la anchura Primtrerectang:Del perímetro a la longitud airlength:Del área a la longitud airperim:Del área al perímetro areadiff:Área y diferencia * areadiff2:Área y diferencia II * areaprop:Área y proporción * areaprop2:Área y proporción II * peridiff:Perímetro y diferencia perimwidth:Del perímetro a la anchura widlen:Longitud - anchura * wims-modules-es-3.64.orig/modules/H6/0000755000175000017500000000000010771673315017574 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/0000755000175000017500000000000010771673315021171 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/decrypt.es/0000755000175000017500000000000010603511344023234 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/decrypt.es/.htaccess0000644000175000017500000000001610603511344025027 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/algebra/doccomplex.es/0000755000175000017500000000000010603511344023717 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/doccomplex.es/.htaccess0000644000175000017500000000003710603511344025515 0ustar georgeskgeorgeskoption -Index -Followsymlinks wims-modules-es-3.64.orig/modules/H6/algebra/oefcombi.es/0000755000175000017500000000000010603511344023345 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/oefcombi.es/.htaccess0000644000175000017500000000001610603511344025140 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/0000755000175000017500000000000010335075164023266 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/0000755000175000017500000000000010335075164024024 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/airequadri.def0000644000175000017500000000445310335073447026642 0ustar georgeskgeorgesk!set title=Área del cuadrilátero !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=23 prevarcnt=22 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(13)] tmp0=!randint $val6, $val7 val8=$[rint($(tmp0))] tmp0=!randint $val6, $val7 val9=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val10=$[rint($(tmp0))] tmp0=!randint $val6, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val12=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val13=$[rint($(tmp0))] tmp0=!randint $val6, $val7 val14=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val15=$[rint($(tmp0))] val16=$[rint($val10-$val8)] val17=$[rint($val11-$val9)] val18=$[rint($val12-$val8)] val19=$[rint($val13-$val9)] val20=$[rint($val14-$val8)] val21=$[rint($val15-$val9)] val22=$[rint($val16*$val19-$val18*$val17)] val23=$[rint($val18*$val21-$val20*$val19)] val24=$[0.5*abs($val22+$val23)] tmp0=!randitem 0,1 val25=$[rint($(tmp0))] !ifval $val25=1 val26=$val10,$val11 !else val26=$val14,$val15 !endif !ifval $val25=1 val27=$val14,$val15 !else val27=$val10,$val11 !endif replyname1=Area replygood1=$val24 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar el área del cuadrilátero ABCD en el plano cartesiano, cuyos 4 vértices son

A = ($val8,$val9) , B = ($val26) , C = ($val12,$val13) , D = ($val27) .

!read oef/draw.phtml 200,200 \ xrange -15,15 yrange -15,15 arrow -15,0,15,0,10,grey arrow 0,-15,0,15,10,grey linewidth 2 polygon red,$val8,$val9,$val10,$val11,$val12,$val13,$val14,$val15 linewidth 4 points blue,$val8,$val9,$val10,$val11,$val12,$val13,$val14,$val15 $()

$() !exit :hint $()Puede dividir el cuadrilátero en dos triángulos y calcular el área de cada triángulo mediante el producto vectorial. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,14,15,26,27 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/angle.def0000644000175000017500000000363210335074137025575 0ustar georgeskgeorgesk!set title=Ángulo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=no precision=200 ansorder=r varcnt=22 prevarcnt=21 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(8)] 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 -$val7, $val7 val16=$[rint($(tmp0))] val17=$[rint($val14+$val8)] val18=$[rint($val15+$val9)] val19=$[rint($val16+$val10)] val20=$[rint($val14+$val11)] val21=$[rint($val15+$val12)] val22=$[rint($val16+$val13)] val23=$[rint($val8*$val11+$val9*$val12)] val24=$[sqrt(($val8)^2+($val9)^2)] val25=$[sqrt(($val11)^2+($val12)^2)] val26=$[acos($val23/($val24*$val25))*180/pi] replyname1=Ángulo replygood1=$val26 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean los 3 puntos del plano:

!insmath A($val14,$val15) $() , !insmath B($val17,$val18) $() , !insmath C($val20,$val21) $() .

Hallar el ángulo !insmath \widehat{BAC} $() (ien grados, entre 0 y 180). $() !exit :hint $()Use la relación entre el producto escalar de dos vectores y el ángulo entre ellos. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,17,18,20,21 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/rellin.def0000644000175000017500000000377110335075164026001 0ustar georgeskgeorgesk!set title=Relació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 varcnt=7 prevarcnt=6 postvarcnt=0 replycnt=3 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))] replyname1=a replygood1=?analyze 12 replyname2=b replygood2=?analyze 13 replyname3=c replygood3=?analyze 14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean los 3 vectores del plano:

v1 = ($val6,$val9) , v2 = ($val7,$val10) , v3 = ($val8,$val11) ,

Hallar 3 enteros a,b,c tales que

a v1 + b v2 + c v3 = 0 ,

siendo los números a,b,c no todos cero. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !ifval abs($val12)+abs($val13)+abs($val14)>0 and abs(round($val12)-($val12))<=0 and abs(round($val13)-($val13))<=0 and abs(round($val14)-($val14))<=0 condtest1=1 !else condtest1=0 !endif condname1=a,b,c son enteros y no todos cero !ifval ($val6)*($val12)+($val7)*($val13)+($val8)*($val14)=0 y ($val9)*($val12)+($val10)*($val13)+($val11)*($val14)=0 condtest2=1 !else condtest2=0 !endif condname2=La suma algebráica de los vectores es cero !exit :stat vsavelist=6,7,8,9,10,11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/airepent.def0000644000175000017500000000432510335073274026317 0ustar georgeskgeorgesk!set title=Área del pentágono !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=30 prevarcnt=29 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(6)] val7=$[rint(13)] tmp0=!randint $val7-2, $val7+4 val8=$[rint($(tmp0))] tmp0=!randint -2, 2 val9=$[rint($(tmp0))] tmp0=!randint $val6, $val7 val10=$[rint($(tmp0))] tmp0=!randint $val6+3, $val7+3 val11=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val12=$[rint($(tmp0))] tmp0=!randint $val6, $val7 val13=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val14=$[rint($(tmp0))] tmp0=!randint -$val6, -$val7 val15=$[rint($(tmp0))] tmp0=!randint $val6, $val7 val16=$[rint($(tmp0))] tmp0=!randint -$val6-3, -$val7-3 val17=$[rint($(tmp0))] val18=$[rint($val10-$val8)] val19=$[rint($val11-$val9)] val20=$[rint($val12-$val8)] val21=$[rint($val13-$val9)] val22=$[rint($val14-$val8)] val23=$[rint($val15-$val9)] val24=$[rint($val16-$val8)] val25=$[rint($val17-$val9)] val26=$[rint($val18*$val21-$val20*$val19)] val27=$[rint($val20*$val23-$val22*$val21)] val28=$[rint($val22*$val25-$val24*$val23)] val29=$[0.5*abs($val26+$val27+$val28)] tmp0=!randitem 0,1 val30=$[rint($(tmp0))] !ifval $val30=1 val31=$val10,$val11 !else val31=$val16,$val17 !endif !ifval $val30=1 val32=$val16,$val17 !else val32=$val10,$val11 !endif !ifval $val30=1 val33=$val12,$val13 !else val33=$val14,$val15 !endif !ifval $val30=1 val34=$val14,$val15 !else val34=$val12,$val13 !endif replyname1=Área replygood1=$val29 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar el área del pentágono ABCDE en el plano cartesiano, cuyos 5 vértices son

A = ($val8,$val9) , B = ($val31) , C = ($val33) , D = ($val34) , E = ($val32) .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,31,32,33,34 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/parallelo.def0000644000175000017500000000315110335074760026460 0ustar georgeskgeorgesk!set title=Vértice de paralelogramo !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=16 prevarcnt=15 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(8)] 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val7, $val7 val12=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val13=$[rint($(tmp0))] val14=$[rint($val12+$val8)] val15=$[rint($val13+$val9)] val16=$[rint($val12+$val10)] val17=$[rint($val13+$val11)] val18=$[rint($val14+$val10)] val19=$[rint($val15+$val11)] val20=$[rint(abs($val8*$val11-$val10*$val9))] replytype1=vector replyname1=D replygood1=$val16,$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea el paralelogramo ABCD, en el plano, cuyos 3 primeros vértices tienen de ocordenadas

A = ($val12,$val13) , B = ($val14,$val15) , C = ($val18,$val19) .

Hallar las coordenadas del cuarto vértice D. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,13,14,15,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/givenscale.def0000644000175000017500000000307010335074573026627 0ustar georgeskgeorgesk!set title=Dados los productos escalares !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=11 prevarcnt=10 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(8)] 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val13=$[rint($(tmp0)*$(tmp1))] val14=$[rint($val8*$val12+$val9*$val13)] val15=$[rint($val10*$val12+$val11*$val13)] replytype1=vector replyname1=v replygood1=$val12,$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9) , v2 = ($val10,$val11)

dos vectores del plano. Hallar el vector v que verifica las siguientes relaciones de productos escalares:

<v,v1> = $val14 , and <v,v2> = $val15 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/.htaccess0000644000175000017500000000001606634516636025632 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/combi3.def0000644000175000017500000000335510335074315025663 0ustar georgeskgeorgesk!set title=Combinación de 3 vectores !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=15 prevarcnt=14 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val7, $val7 val12=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val13=$[rint($(tmp0))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val14=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val15=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val16=$[rint($(tmp0)*$(tmp1))] val17=$[rint($val8*$val14+$val10*$val15+$val12*$val16)] val18=$[rint($val9*$val14+$val11*$val15+$val13*$val16)] tmp0=!htmlmath $val14*v1 + $val15*v2 + $val16*v3 val19=$(tmp0) replytype1=vector replyname1=v replygood1=$val17,$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9) , v2 = ($val10,$val11) , v3 = ($val12,$val13)

tres vectores del plano. Calcular el vector

v = $val19 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,19 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/combifind.def0000644000175000017500000000306110335074435026436 0ustar georgeskgeorgesk!set title=Encontrar combinación !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,r varcnt=11 prevarcnt=10 postvarcnt=0 replycnt=2 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(8)] 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val13=$[rint($(tmp0)*$(tmp1))] val14=$[rint($val8*$val12+$val10*$val13)] val15=$[rint($val9*$val12+$val11*$val13)] replyname1=a replygood1=$val12 replyname2=b replygood2=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9) , v2 = ($val10,$val11)

dos vectores en el pano y sea v=($val14,$val15) otro vector. Escribir v como combinación lineal de v1 y v2 :

v = av1 + bv2 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/airellelo.def0000644000175000017500000000321310335073142026445 0ustar georgeskgeorgesk!set title=Área del paralelogramo !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=16 prevarcnt=15 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(8)] 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val7, $val7 val12=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val13=$[rint($(tmp0))] val14=$[rint($val12+$val8)] val15=$[rint($val13+$val9)] val16=$[rint($val12+$val10)] val17=$[rint($val13+$val11)] val18=$[rint($val14+$val10)] val19=$[rint($val15+$val11)] val20=$[rint(abs($val8*$val11-$val10*$val9))] replyname1=Área replygood1=$val20 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar el área del paralelogramo cuyos 4 vértices son

($val12,$val13) , ($val14,$val15) , ($val16,$val17) , ($val18,$val19) .

$() !exit :hint $()El área del paralelogramo es el módulo del producto vectorial de dos vectores que representen dos lados adyacentes del paralelogramo. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,13,14,15,16,17,18,19 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/airetriang.def0000644000175000017500000000314410335073741026632 0ustar georgeskgeorgesk!set title=Área del triándulo !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=16 prevarcnt=15 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(20)] 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val7, $val7 val12=$[rint($(tmp0))] tmp0=!randint -$val7, $val7 val13=$[rint($(tmp0))] val14=$[rint($val12+$val8)] val15=$[rint($val13+$val9)] val16=$[rint($val12+$val10)] val17=$[rint($val13+$val11)] val18=$[rint($val14+$val10)] val19=$[rint($val15+$val11)] val20=$[0.5*abs($val8*$val11-$val10*$val9)] replyname1=Area replygood1=$val20 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar el área del triángulo cuyos tres vértices son

($val12,$val13) , ($val14,$val15) , ($val16,$val17) .

$() !exit :hint $()El módulo del producto vectorial de dos vectores es el área del paralelogramo, la mitad de un paralelogramo es un triángulo. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,13,14,15,16,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/def/combi.def0000644000175000017500000000273010335074216025574 0ustar georgeskgeorgesk!set title=Combinación !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=12 prevarcnt=11 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(8)] 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 -$val6, $val6-2 val11=$[rint(2*$(tmp0)+1)] tmp0=!randint 2, $val7 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, $val7 tmp1=!randitem -1,1 val13=$[rint($(tmp0)*$(tmp1))] tmp0=!htmlmath $val12*v1 + $val13*v2 val14=$(tmp0) val15=$[rint($val8*$val12+$val10*$val13)] val16=$[rint($val9*$val12+$val11*$val13)] replytype1=vector replyname1=v replygood1=$val15,$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9) , v2 = ($val10,$val11)

dos vectores del plano. Hallar el vector

v = $val14 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/intro.phtml0000644000175000017500000000041610335072724025467 0ustar georgeskgeorgesk!header !read Exindex Este módulo tiene $exototal tipos de ejercicios sobre vectores del plano afín. (combinaciones lineales, ángulo, módulo, producto escalar, producto vectorial, etc.). !read oef/intromenu.phtml !read related.phtml vectores, espacios vectoriales !tailwims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/Exindex0000644000175000017500000000064310335075164024620 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of combi,combi3,givenscale,combifind,rellin,parallelo,angle,airequadri,airellelo,airepent,airetriang, !set titlelist=!char 1 to -2 of Combinación,Combinación de 3 vectores,Dados los productos escalares,Encontrar combinación,Relación lineal,Vértice de paralelogramo,Ángulo,Área del cuadrilátero,Área del paralelogramo,Área del pentágono,Área del triándulo, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/Extitles0000644000175000017500000000047710335075164025022 0ustar georgeskgeorgeskairellelo:Área del paralelogramo airepent:Área del pentágono airequadri:Área del cuadrilátero airetriang:Área del triándulo angle:Ángulo combi:Combinación combi3:Combinación de 3 vectores combifind:Encontrar combinación givenscale:Dados los productos escalares parallelo:Vértice de paralelogramo rellin:Relación lineal wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/var.proc0000644000175000017500000000115110060323403024724 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/about.phtml0000644000175000017500000000005310060323403025427 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/main.phtml0000644000175000017500000000003110060323403025235 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/INDEX0000644000175000017500000000111310335075507024055 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=vectores en el plano afin (OEF) description=coleción de ejercicios con los vectores del plano. language=es category=exercise, oef domain=álgebra, álgebra lineal, geometría level=H5,H6,U1 keywords=vector, producto escalar, suma, combinación lineal, polígono, paralelogramo require= scoring=yes copyright=© 2001- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.10 wims_version=3.37f vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/0000755000175000017500000000000010060323403024040 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/rellin.oef0000644000175000017500000000206310335075164026036 0ustar georgeskgeorgesk\title{Relación lineal} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000000} \integer{c11=random(2..10)*random(-1,1)} \integer{c12=random(2..10)*random(-1,1)} \integer{c13=random(2..10)*random(-1,1)} \integer{c21=random(2..10)*random(-1,1)} \integer{c22=random(2..10)*random(-1,1)} \integer{c23=random(2..10)*random(-1,1)} \statement{Sean los 3 vectores del plano:

v1 = (\c11,\c21) , v2 = (\c12,\c22) , v3 = (\c13,\c23) ,

Hallar 3 enteros a,b,c tales que

a v1 + b v2 + c v3 = 0 ,

siendo los números a,b,c no todos cero. } \answer{a}{\sx} \answer{b}{\sy} \answer{c}{\sz} \condition{a,b,c son enteros y no todos cero} { abs(\sx)+abs(\sy)+abs(\sz)>0 and abs(round(\sx)-(\sx))<=0 and abs(round(\sy)-(\sy))<=0 and abs(round(\sz)-(\sz))<=0 } \condition{La suma algebráica de los vectores es cero} { (\c11)*(\sx)+(\c12)*(\sy)+(\c13)*(\sz)=0 y (\c21)*(\sx)+(\c22)*(\sy)+(\c23)*(\sz)=0 }wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/combifind.oef0000644000175000017500000000144010335074435026501 0ustar georgeskgeorgesk\title{Encontrar combinación} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b} \integer{B=\b1*\a+\b2*\b} \statement{Sean

v1 = (\a1,\b1) , v2 = (\a2,\b2)

dos vectores en el pano y sea v=(\A,\B) otro vector. Escribir v como combinación lineal de v1 y v2 :

v = av1 + bv2 .

} \answer{a}{\a} \answer{b}{\b}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/airellelo.oef0000644000175000017500000000156310335073142026517 0ustar georgeskgeorgesk\title{Área del paralelogramo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{x4=\x2+\a2} \integer{y4=\y2+\b2} \integer{aire=abs(\a1*\b2-\a2*\b1)} \statement{Hallar el área del paralelogramo cuyos 4 vértices son

(\x1,\y1) , (\x2,\y2) , (\x3,\y3) , (\x4,\y4) .

} \answer{Área}{\aire} \hint{El área del paralelogramo es el módulo del producto vectorial de dos vectores que representen dos lados adyacentes del paralelogramo.}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/airetriang.oef0000644000175000017500000000153310335073741026676 0ustar georgeskgeorgesk\title{Área del triándulo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=20} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{x4=\x2+\a2} \integer{y4=\y2+\b2} \real{aire=0.5*abs(\a1*\b2-\a2*\b1)} \statement{Hallar el área del triángulo cuyos tres vértices son

(\x1,\y1) , (\x2,\y2) , (\x3,\y3) .

} \answer{Area}{\aire} \hint{El módulo del producto vectorial de dos vectores es el área del paralelogramo, la mitad de un paralelogramo es un triángulo.}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/airepent.oef0000644000175000017500000000225110335073274026357 0ustar georgeskgeorgesk\title{Área del pentágono} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{min=6} \integer{max=13} \integer{x0=random(\max-2..\max+4)} \integer{y0=random(-2..2)} \integer{x1=random(\min..\max)} \integer{y1=random(\min+3..\max+3)} \integer{x2=random(-\min..-\max)} \integer{y2=random(\min..\max)} \integer{x3=random(-\min..-\max)} \integer{y3=random(-\min..-\max)} \integer{x4=random(\min..\max)} \integer{y4=random(-\min-3..-\max-3)} \integer{u1=\x1-\x0} \integer{v1=\y1-\y0} \integer{u2=\x2-\x0} \integer{v2=\y2-\y0} \integer{u3=\x3-\x0} \integer{v3=\y3-\y0} \integer{u4=\x4-\x0} \integer{v4=\y4-\y0} \integer{a1=\u1*\v2-\u2*\v1} \integer{a2=\u2*\v3-\u3*\v2} \integer{a3=\u3*\v4-\u4*\v3} \real{aire=0.5*abs(\a1+\a2+\a3)} \integer{r=random(0,1)} \text{B=\r=1?\x1,\y1:\x4,\y4} \text{E=\r=1?\x4,\y4:\x1,\y1} \text{C=\r=1?\x2,\y2:\x3,\y3} \text{D=\r=1?\x3,\y3:\x2,\y2} \statement{Hallar el área del pentágono ABCDE en el plano cartesiano, cuyos 5 vértices son

A = (\x0,\y0) , B = (\B) , C = (\C) , D = (\D) , E = (\E) .

} \answer{Área}{\aire}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/.htaccess0000644000175000017500000000001606634516636025663 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/parallelo.oef0000644000175000017500000000155510335074757026540 0ustar georgeskgeorgesk\title{Vértice de paralelogramo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{x4=\x2+\a2} \integer{y4=\y2+\b2} \integer{aire=abs(\a1*\b2-\a2*\b1)} \statement{Sea el paralelogramo ABCD, en el plano, cuyos 3 primeros vértices tienen de ocordenadas

A = (\x1,\y1) , B = (\x2,\y2) , C = (\x4,\y4) .

Hallar las coordenadas del cuarto vértice D. } \answer{D}{\x3,\y3}{type=vector}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/airequadri.oef0000644000175000017500000000245410335073447026705 0ustar georgeskgeorgesk\title{Área del cuadrilátero} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{min=5} \integer{max=13} \integer{x1=random(\min..\max)} \integer{y1=random(\min..\max)} \integer{x2=random(-\min..-\max)} \integer{y2=random(\min..\max)} \integer{x3=random(-\min..-\max)} \integer{y3=random(-\min..-\max)} \integer{x4=random(\min..\max)} \integer{y4=random(-\min..-\max)} \integer{u1=\x2-\x1} \integer{v1=\y2-\y1} \integer{u2=\x3-\x1} \integer{v2=\y3-\y1} \integer{u3=\x4-\x1} \integer{v3=\y4-\y1} \integer{a1=\u1*\v2-\u2*\v1} \integer{a2=\u2*\v3-\u3*\v2} \real{aire=0.5*abs(\a1+\a2)} \integer{r=random(0,1)} \text{B=\r=1?\x2,\y2:\x4,\y4} \text{D=\r=1?\x4,\y4:\x2,\y2} \statement{Hallar el área del cuadrilátero ABCD en el plano cartesiano, cuyos 4 vértices son

A = (\x1,\y1) , B = (\B) , C = (\x3,\y3) , D = (\D) .

\draw{200,200}{ xrange -15,15 yrange -15,15 arrow -15,0,15,0,10,grey arrow 0,-15,0,15,10,grey linewidth 2 polygon red,\x1,\y1,\x2,\y2,\x3,\y3,\x4,\y4 linewidth 4 points blue,\x1,\y1,\x2,\y2,\x3,\y3,\x4,\y4 }

} \answer{Area}{\aire} \hint{Puede dividir el cuadrilátero en dos triángulos y calcular el área de cada triángulo mediante el producto vectorial.}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/angle.oef0000644000175000017500000000205210335074137025634 0ustar georgeskgeorgesk\title{Ángulo} \language{fr} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{200} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{prod=\a1*\a2+\b1*\b2} \real{l1=sqrt((\a1)^2+(\b1)^2)} \real{l2=sqrt((\a2)^2+(\b2)^2)} \real{angle=acos(\prod/(\l1*\l2))*180/pi} \statement{Sean los 3 puntos del plano:

\(A(\x1,\y1)) , \(B(\x2,\y2)) , \(C(\x3,\y3)) .

Hallar el ángulo \(\widehat{BAC}) (ien grados, entre 0 y 180). } \answer{Ángulo}{\angle} \hint{Use la relación entre el producto escalar de dos vectores y el ángulo entre ellos.}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/combi.oef0000644000175000017500000000131410335074216025635 0ustar georgeskgeorgesk\title{Combinación} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{a=random(2..\range)*random(-1,1)} \integer{b=random(2..\range)*random(-1,1)} \text{combi=htmlmath(\a*v1 + \b*v2)} \integer{A=\a1*\a+\a2*\b} \integer{B=\b1*\a+\b2*\b} \statement{Sean

v1 = (\a1,\b1) , v2 = (\a2,\b2)

dos vectores del plano. Hallar el vector

v = \combi .

} \answer{v}{\A,\B}{type=vector}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/combi3.oef0000644000175000017500000000160410335074315025722 0ustar georgeskgeorgesk\title{Combinación de 3 vectores} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b+\a3*\c} \integer{B=\b1*\a+\b2*\b+\b3*\c} \text{combi=htmlmath(\a*v1 + \b*v2 + \c*v3)} \statement{Sean

v1 = (\a1,\b1) , v2 = (\a2,\b2) , v3 = (\a3,\b3)

tres vectores del plano. Calcular el vector

v = \combi .

} \answer{v}{\A,\B}{type=vector}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/src/givenscale.oef0000644000175000017500000000146010335074573026674 0ustar georgeskgeorgesk\title{Dados los productos escalares} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\b1*\b} \integer{B=\a2*\a+\b2*\b} \statement{Sean

v1 = (\a1,\b1) , v2 = (\a2,\b2)

dos vectores del plano. Hallar el vector v que verifica las siguientes relaciones de productos escalares:

<v,v1> = \A , and <v,v2> = \B .

} \answer{v}{\a,\b}{type=vector}wims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/endhook.phtml0000644000175000017500000000076510335072553025772 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting

Herramientas disponibles en línea: !href target=wims_tool module=tool/linear/linsolver Solucionador de sistemas , !href target=wims_tool module=tool/linear/matrix Calculador matricial , !href target=wims_tool module=tool/linear/vector Calculador de vectores , !href target=wims_tool module=tool/number/calcnum Calculador numérico . (Estas herramientas aparecerán en otra ventana de su navegador.) !endifwims-modules-es-3.64.orig/modules/H6/algebra/oefvec2d.es/help.phtml0000644000175000017500000000005210060323403025244 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H6/analysis/0000755000175000017500000000000011262660760021413 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/0000755000175000017500000000000010771742577024164 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/intro.phtml0000644000175000017500000000033310717305404026344 0ustar georgeskgeorgesk!header Este ejercicio presenta varios argumentos de desigualdades los cuales pueden contener errores. Tu objetivo es encontrarlos. !read proc/intromenu.phtml

!read related.phtml escenario, desigualdades !tail wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/var.init0000777000175000017500000000000011263403036030233 2proc/var.initustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/Exindex0000644000175000017500000000024410717310053025467 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of quad1,abs1,abs2, !set titlelist=!char 1 to -2 of Cuadrática I,Valor absoluto I,Valor absoluto II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/Extitles0000644000175000017500000000010010717310053025653 0ustar georgeskgeorgeskabs1:Valor absoluto I abs2:Valor absoluto II quad1:Cuadrática I wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/var.proc0000777000175000017500000000000011263403036030233 2proc/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/proc0000777000175000017500000000000011263403036030562 2../../../adm/scenario.esustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/about.phtml0000777000175000017500000000000011263403036031441 2proc/about.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/0000755000175000017500000000000007055266470026144 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs2.def/0000755000175000017500000000000007443116525027524 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs2.def/10000644000175000017500000000737010717305721027612 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Valor absoluto II XIAO, Gang xiao@unice.fr html <, $m_le, >, $m_ge@>, $m_ge, <, $m_le 1,2,3,4,5,6,7,8,9 1,2,3,4,5,6,7,8,9 :Aquí tenemos un argumento para resolver la desigualdad |x-$r3| $r1 |x+$r4|. :Sustituimos el valor absoluto por cuadrados: (x-$r3)2 $r1 (x+$r4)2. Desarrollamos: x2-$[2*$r3]x+$[$r3^2] $r1 x2+$[2*$r4]x+$[$r4^2]. Podemos eliminar los términos x2 de ambos lados de la desigualdad: -$[2*$r3]x+$[$r3^2] $r1 $[2*$r4]x+$[$r4^2]. Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[2*$r3+2*$r4]x $r1 $[$r4^2-$r3^2]. Finalmente, dividimos por -$[2*$r3+2*$r4] : x $r2 $[-($r4^2-$r3^2)/(2*($r3+$r4))]. :abs,square, alg_err alg_err, illegal illegal, add_neg2 add_neg2, alg_err div_zero, div_neg2, illegal :Para cualquier valor real de a y b, |a|$r1|b| es equivalente a a2$(r1)b2. : :2, alg_err Desarrollando: x2-$[$r3]x+$[$r3^2] $r1 x2+$[$r4]x+$[$r4^2]. Podemos eliminar los términos x2 a ambos lados de la desigualdad: -$[$r3]x+$[$r3^2] $r1 $[$r4]x+$[$r4^2]. Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[$r3+$r4]x $r1 $[$r4^2-$r3^2]. Finalmente, dividimos por -$[$r3+$r4] : x $r2 $[-($r4^2-$r3^2)/($r3+$r4)]. :2, alg_err, 5, div_neg Desarrollando: x2-$[$r3]x+$[$r3^2] $r1 x2+$[$r4]x+$[$r4^2]. Podemos eliminar los términos x2 a ambos lados de la desigualdad: -$[$r3]x+$[$r3^2] $r1 $[$r4]x+$[$r4^2]. Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[$r3+$r4]x $r1 $[$r4^2-$r3^2]. Finalmente, dividimos por -$[$r3+$r4] : x $r1 $[-($r4^2-$r3^2)/($r3+$r4)]. :3, add_neg Restando x2 a ambos lados: -$[2*$r3]x+$[$r3^2] $r2 $[2*$r4]x+$[$r4^2]. Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[2*$r3+2*$r4]x $r2 $[$r4^2-$r3^2]. Finalmente, dividimos -$[2*$r3+2*$r4] : x $r1 $[-($r4^2-$r3^2)/(2*($r3+$r4))]. :3, add_neg, 5, div_neg Restando x2 a ambos lados: -$[2*$r3]x+$[$r3^2] $r2 $[2*$r4]x+$[$r4^2]. Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[2*$r3+2*$r4]x $r2 $[$r4^2-$r3^2]. Finalmente, dividimos -$[2*$r3+2*$r4] : x $r2 $[-($r4^2-$r3^2)/(2*($r3+$r4))]. :4, add_sign Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[2*$r3+2*$r4]x $r1 $[$r4^2+$r3^2]. Finalmente, dividimos -$[2*$r3+2*$r4] : x $r2 $[-($r4^2+$r3^2)/(2*($r3+$r4))]. :4, add_sign Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos $[2*$r3+2*$r4]x $r1 $[$r4^2-$r3^2]. Finalmente, dividimos por $[2*$r3+2*$r4] : x $r1 $[($r4^2-$r3^2)/(2*($r3+$r4))]. :4, add_sign, 5, div_neg Colocando los términos de x a la izquierda y los términos constantes a la derecha, obtenemos -$[2*$r3+2*$r4]x $r1 $[$r4^2+$r3^2]. Finalmente, dividimos por -$[2*$r3+2*$r4] : x $r1 $[-($r4^2+$r3^2)/(2*($r3+$r4))]. :5, div_neg Finalmente, dividimos por -$[2*$r3+2*$r4] : x $r1 $[-($r4^2-$r3^2)/(2*($r3+$r4))]. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs2.def/.title0000644000175000017500000000002210717307011030626 0ustar georgeskgeorgeskValor absoluto II wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs2.def/.files0000644000175000017500000000000310717310053030606 0ustar georgeskgeorgesk:1 wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/Makefile0000644000175000017500000000003006754271320027570 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/0000755000175000017500000000000007054243312027701 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/30000644000175000017500000000752710717305752030010 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Cuadrado I XIAO, Gang xiao@unice.fr html <, $m_le@>, $m_ge :He aquí un argumento para resolver la desigualdad x2 $r1 -2x. :Pasando el término 2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r1 x $r1 0. :add_neg2, add_sign add_sign alg_err square, bad_chain illegal, add_sign, add_neg2, bad_chain : (x+1)2 $r1 1 es de hecho equivalente a {-1 $r1 x+1 and x+1 $r1 1}, con lo que puede ser escrito como -1 $r1 x+1 $r1 1. Es más, podemos añadir el mismo número a cada lado de una cadena de desigualdades. : : 1, div_neg ¿Qué sucede si x es negativo? Dividiendo ambos lados por x, x $r1 -2. : 1, add_sign Pasando el término 2x a la izquierda, la desigualdad se convierte en x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x-1 $r1 1. Añadiendo 1 a cada lado: 0 $r1 x $r1 2. : 1, add_sign, 4, square Pasando el término 2x a la izquierda, la desigualdad se convierte en x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a x-1 $r1 1. Añadiendo 1 a cada lado, x $r1 2. : 1, add_sign, 4, square, 5, add_sign Pasando el término 2x a la izquierda, la desigualdad se convierte en x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a x-1 $r1 1. Pasando -1 a la derecha, x $r1 0. : 2, add_sign Uno debe añadir el MISMO término a ambos lados de la desigualdad. Añadiendo 1 then subtracting it back, x2+2x+1 $r1 -1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 -1. Como los cuadrados nunca pueden ser negativos, no hay solución. : 3, alg_err El lado izquierdo es ahora un cuadrado: (x+2)2 $r1 1. Es por tanto equivalente a: -1 $r1 x+2 $r1 1. Añadiendo -2 a cada lado: -3 $r1 x $r1 -1. :4, square Pensar el caso en el que x+1 es negativo! Es por tanto equivalente a x+1 $r1 1. Pasando 1 a la derecha, x $r1 0. :4, square, 5, add_sign Pensar el caso en el que x+1 es negativo! Es por tanto equivalente a x+1 $r1 1. Pasando 1 a la derecha, x $r1 2. :4, square Es por tanto equivalente a: -1 $r1 x+1 o x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r1 x o x $r1 0. :4, square, 5, add_sign Es por tanto equivalente a: -1 $r1 x+1 o x+1 $r1 1. Pasando el término 1 a los otros lados: 0 $r1 x o x $r1 2. :5, illegal Uno debe añadir el mismo término a cada lado de la cadena. Añadiendo -1 a la primera desigualdad: -2 $r1 x $r1 1. :5, illegal Uno debe añadir el mismo término a cada lado de la cadena. Pasando el término 1 a la izquierda: 0 $r1 x $r1 1. :5, illegal Uno debe añadir el mismo término a cada lado de la cadena. Pasando el término 1 a la derecha: -1 $r1 x $r1 2. :5, add_sign Uno debe añadir el mismo término a cada lado de la cadena. Pasando el término 1 a los otros lados: 0 $r1 x $r1 2. :5, add_neg Añadiendo -1 a cada lado: -2 $r2 x $r2 0. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/10000644000175000017500000000737310717305752030005 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Ecuación I XIAO, Gang xiao@unice.fr html <, $m_le@>, $m_ge :Tenemos un argumento para resolver la desigualdad x2 $r1 2x. :Pasando el término 2x a la izquierda, la desigualdad pasa a ser x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x-1 $r1 1. Añadiendo 1 a cada lado: 0 $r1 x $r1 2. :add_neg2, add_sign add_sign alg_err square, bad_chain illegal, add_sign, add_neg2, bad_chain : (x-1)2 $r1 1 es equivalente a {-1 $r1 x-1 and x-1 $r1 1}, por lo que puede ser escrito como -1 $r1 x-1 $r1 1. Es más, podemos añadir el mismo número a cada lado de una cadena de desigualdades. : : 1, div_neg ¿Qué sucede si x es negativo? Dividiendo a ambos lados por x, x $r1 2. : 1, add_sign Pasando el término 2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r1 x $r1 0. : 1, add_sign, 4, square Pasando el término 2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: x+1 $r1 1. Añadiendo -1 a cada lado: x $r1 0. : 1, add_sign, 4, square, 5, add_neg Pasando el término 2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: x+1 $r1 1. Añadiendo -1 a cada lado: 0 $r1 x $r2 0. : 2, add_sign Uno debe añadir el MISMO término a ambos lados de la desigualdad. Añadiendo 1 entonces subtracting it back, x2-2x+1 $r1 -1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 -1. Como un cuadrado nunca puede ser negativo, no hay solución. : 3, alg_err El lado izquierdo es ahora un cuadrado: (x-2)2 $r1 1. Es por tanto equivalente a: -1 $r1 x-2 $r1 1. Añadiendo 2 a cada lado: 1 $r1 x $r1 3. :4, square Pensar el caso en el que x-1 es negativo! Es por tanto equivalente a x-1 $r1 1. Pasando -1 a la derecha, x $r1 2. :4, square, 5, add_sign Pensar el caso en el que x-1 es negativo! Es por tanto equivalente a x-1 $r1 1. Pasando -1 a la derecha, x $r1 0. :4, square Es por tanto equivalente a: -1 $r1 x-1 o x-1 $r1 1. Añadiendo 1 a cada lado: 0 $r1 x o x $r1 2. :4, square, 5, add_sign Es por tanto equivalente a: -1 $r1 x-1 o x-1 $r1 1. Pasando el término -1 a los otros lados: -2 $r1 x o x $r1 0. :5, illegal Uno debe añadir el mismo término a cada lado de la cadena. Añadiendo 1 a la primera desigualdad: 0 $r1 x $r1 1. :5, illegal Uno debe añadir el mismo término a cada lado de la cadena. Pasando -1 a la izquierda: -2 $r1 x $r1 1. :5, illegal Uno debe añadir el mismo término a cada lado de la cadena. Pasando -1 a la derecha: -1 $r1 x $r1 0. :5, add_sign Uno debe añadir el mismo término a cada lado de la cadena. Pasando -1 a los otros lados: -2 $r1 x $r1 0. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/40000644000175000017500000000563710717305752030011 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Cuadrado I XIAO, Gang xiao@unice.fr html >,$m_ge@<,$m_le :He aquí un argumento para resolver la desigualdad x2 $r1 -2x. :Pasando el término -2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x+1 o x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r1 x o x $r1 0. :add_neg2, add_sign add_sign alg_err square illegal, add_sign, add_neg2 : : : 1, div_neg ¿Qué sucede si x es negativo? Dividiendo ambos lados por x, x $r1 -2. : 1, add_sign Pasando el término 2x a la izquierda, la desigualdad se convierte en x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x-1 o x-1 $r1 1. Añadiendo 1 a cada lado: 0 $r1 x o x $r1 2. : 1, add_sign, 4, square :Pasando el término 2x a la izquierda, la desigualdad se convierte en x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a x-1 $r1 1. Pasando -1 a la derecha, x $r1 2. : 2, add_sign Uno debe añadir el MISMO término a ambos lados de la desigualdad. Añadiendo 1 then subtracting it back, x2+2x+1 $r1 -1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 -1. Ningún valor de x es solución para el cuadrado de un número real si se cumple siempre que $r1 -1. : 3, alg_err El lado izquierdo es ahora un cuadrado: (x+2)2 $r1 1. Es por tanto equivalente a: -1 $r1 x+2 o x+2 $r1 1. Añadiendo -2 a cada lado: -3 $r1 x o x $r1 -1. :4, square Pensar el caso en el que x+1 es negativo! Es por tanto equivalente a x+1 $r1 1. Pasando +1 a la derecha, x $r1 0. :4, square, 5, add_sign Pensar el caso en el que x+1 es negativo! Es por tanto equivalente a x+1 $r1 1. Pasando +1 a la derecha, x $r1 2. :4, bad_chain El cambio de desigualdades implica -1 $r1 1, que nunca es cierto. Es por tanto equivalente a: -1 $r1 x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r1 x $r1 0. :4, bad_chain, 5, add_neg El cambio de desigualdades implica -1 $r1 1, que nunca es cierto. Es por tanto equivalente a: -1 $r1 x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r2 x $r2 0. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/20000644000175000017500000000532710717305752030003 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Cuadrado I XIAO, Gang xiao@unice.fr html >,$m_ge :He aquí un argumento para resolver la desigualdad x2 $r1 2x. :Pasando el término 2x a la izquierda, la desigualdad se convierte en x2-2x $r1 0. Añadiendo 1 a ambos lados, x2-2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x-1 o x-1 $r1 1. Añadiendo 1 a cada lado: 0 $r1 x o x $r1 2. :add_neg2, add_sign add_sign alg_err square illegal, add_sign, add_neg2 : : : 1, div_neg ¿Qué sucede si x es negativo? Dividiendo ambos lados por x, x $r1 2. : 1, add_sign Pasando el término 2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: -1 $r1 x+1 o x+1 $r1 1. Añadiendo -1 a cada lado: -2 $r1 x o x $r1 0. : 1, add_sign, 4, square Pasando el término 2x a la izquierda, la desigualdad se convierte en x2+2x $r1 0. Añadiendo 1 a ambos lados, x2+2x+1 $r1 1. El lado izquierdo es ahora un cuadrado: (x+1)2 $r1 1. Es por tanto equivalente a: x+1 $r1 1. Añadiendo -1 a cada lado: x $r1 0. : 2, add_sign Uno debe añadir el MISMO término a ambos lados de la desigualdad. Añadiendo 1 then subtracting it back, x2-2x+1 $r1 -1. El lado izquierdo es ahora un cuadrado: (x-1)2 $r1 -1. Ningún valor de x es solución para el cuadrado de un número real si se cumple siempre que $r1 -1. : 3, alg_err El lado izquierdo es ahora un cuadrado: (x-2)2 $r1 1. Es por tanto equivalente a: -1 $r1 x-2 o x-2 $r1 1. Añadiendo 2 a cada lado: 1 $r1 x o x $r1 3. :4, square Pensar el caso en el que x-1 es negativo! Es por tanto equivalente a x-1 $r1 1. Pasando -1 a la derecha, x $r1 2. :4, square, 5, add_sign Pensar el caso en el que x-1 es negativo! Es por tanto equivalente a x-1 $r1 1. Pasando -1 a la derecha, x $r1 0. :4, bad_chain El cambio de desigualdades implica -1 $r1 1, que nunca es cierto. Es por tanto equivalente a: -1 $r1 x-1 $r1 1. Añadiendo 1 a cada lado: 0 $r1 x $r1 2. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/.title0000644000175000017500000000001510717310005031011 0ustar georgeskgeorgeskCuadrática I wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/quad1.def/.files0000644000175000017500000000001110717310053030771 0ustar georgeskgeorgesk:1 2 3 4 wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs1.def/0000755000175000017500000000000007055221202027507 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs1.def/10000644000175000017500000000442010717305616027605 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Valor absoluto I XIAO, Gang xiao@unice.fr html <, $m_le@>, $m_ge 1,2,3,4,5,6,7,8,9 1,2,3,4,5,6,7,8,9 :Aquí tenemos un argumento para resolver la desigualdad |x-$r3| $r1 $r4. :Siguiendo los casos donde x-$r3 es positivo o negativo, uno obtiene la condición equivalente: -$r4 $r1 x-$r3 $r1 $r4. Añadiendo $r3 a todos los lados de la cadena de desigualdades, $[-$r4+$r3] $r1 x $r1 $[$r4+$r3]. :bad_chain, abs add_sign, illegal : Es más, podemos añadir el mismo término en todos los lados de la cadena de desigualdades. : :1, abs El caso x-$r3<0 no se puede olvidar! Esta desigualdad implica x-$r3 $r1 $r4. Añadiendo $r3 a ambos lados, x $r1 $[$r4+$r3]. :1, abs, 2, add_sign El caso x-$r3<0 no se puede olvidar! Esta desigualdad implica x-$r3 $r1 $r4. Pasando el término -$r3 a la derecha, x $r1 $[$r4-$r3]. :2, add_sign Pasando el término -$r3 al otro lado, $[-$r4-$r3] $r1 x $r1 $[$r4-$r3]. :2, illegal Pasando el término -$r3 a la izquierda, $[-$r4-$r3] $r1 x $r1 $[$r4]. :2, illegal Pasando el término -$r3 a la izquierda, $[-$r4+$r3] $r1 x $r1 $[$r4]. :2, illegal Pasando el término -$r3 a la derecha, $[-$r4] $r1 x $r1 $[$r4-$r3]. :2, illegal Pasando el término -$r3 a la derecha, $[-$r4] $r1 x $r1 $[$r4+$r3]. :1, abs Siguiendo los casos donde x-$r3 es positivo o negativo, uno obtiene la condición equivalente: x-$r3 $r2 -$r4 o x-$r3 $r1 $r4. Añadiendo $r3 a todos los lados de la cadena de desigualdades, x $r2 $[-$r4+$r3] o x $r1 $[$r4+$r3]. :1, abs, 2, add_sign Siguiendo los casos donde x-$r3 es positivo o negativo, uno obtiene la condición equivalente: x-$r3 $r2 -$r4 o x-$r3 $r1 $r4. Añadiendo $r3 a todos los lados de la cadena de desigualdades, x $r2 $[-$r4-$r3] o x $r1 $[$r4-$r3]. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs1.def/20000644000175000017500000000367310717305616027617 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. # Line 2: remark. # Line 3 and up: one step per line. # :Valor absoluto I XIAO, Gang xiao@unice.fr html >, $m_ge@<, $m_le 1,2,3,4,5,6,7,8,9 1,2,3,4,5,6,7,8,9 :Aquí tenemos un argumento para resolver la desigualdad |x-$r3| $r1 $r4. :Siguiendo los casos donde x-$r3 es positivo o negativo, uno obtiene la condición equivalente: x-$r3 $r2 -$r4 o x-$r3 $r1 $r4. Añadiendo $r3 a todos los lados de la cadena de desigualdades, x $r2 $[-$r4+$r3] o x $r1 $[$r4+$r3]. :bad_chain, abs add_sign, illegal : Es más, podemos añadir el mismo término en todos los lados de la cadena de desigualdades. : :1, abs El caso x-$r3<0 no se debe olvidar! Esta desigualdad implica x-$r3 $r1 $r4. Añadiendo $r3 a ambos lados, x $r1 $[$r4+$r3]. :1, abs, 2, add_sign El caso x-$r3<0 no se debe olvidar! Esta desigualdad implica x-$r3 $r1 $r4. Pasando el término -$r3 a la derecha, x $r1 $[$r4-$r3]. :2, add_sign Pasando el término -$r3 a otros lados, x $r2 $[-$r4-$r3] o x $r1 $[$r4-$r3]. :1, abs Siguiendo los casos donde x-$r3 es positivo o negativo, uno obtiene la condición equivalente: -$r4 $r1 x-$r3 $r1 $r4. Añadiendo $r3 a todos los lados de la cadena de desigualdades, $[-$r4+$r3] $r1 x $r1 $[$r4+$r3]. :1, abs, 2, add_sign Siguiendo los casos donde x-$r3 es positivo o negativo, uno obtiene la condición equivalente: -$r4 $r1 x-$r3 $r1 $r4. Añadiendo $r3 a todos los lados de la cadena de desigualdades, $[-$r4-$r3] $r1 x $r1 $[$r4-$r3]. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs1.def/.title0000644000175000017500000000002110717306757030644 0ustar georgeskgeorgeskValor absoluto I wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/abs1.def/.files0000644000175000017500000000000510717310053030607 0ustar georgeskgeorgesk:1 2 wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/scenarios/.format0000644000175000017500000000114607052022523027421 0ustar georgeskgeorgesk# Format of the scenario data file: Multi-record data file. # # Record 1: header. # Line 1: title # Line 2: author # Line 3: email # Line 4: translator # Line 5: email # Line 6: format (html,tex; default html) # Line 7 and up: random data. # Record 2: presentation of the problem. # Record 3: Good scenario. One step per line. # Record 4: Seemingly bad reason(s) for each step, one line per step. # Record 5: Remarks. One line per step. # Record 6: Reserved. # Record 7 and up: Bad scenarios. # Line 1: starting step, bad reason. One pair for each bad step. # Line 2: remark. # Line 3 and up: one step per line. # wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/main.phtml0000777000175000017500000000000011263403036031025 2proc/Main.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/var.def0000777000175000017500000000000011263403036027621 2proc/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/0000755000175000017500000000000007053507022025615 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/div_zero.det0000644000175000017500000000022610717305532030137 0ustar georgeskgeorgeskEsto es una regla general: cuando se divide una fórmula por una variable o una función, el caso en el que el denominador sea cero debe ser excluido. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/trans_eq.det0000644000175000017500000000040210717305532030126 0ustar georgeskgeorgeskDespués de aplicar la transitividad, las desigualdades x $m_le y Y y $m_le z implican x $m_le z. Saber que en este caso se puede tener x=y Y y=z, luego x=z es una posibilidad que no se debería perder.

Esto es, x $m_le y Y y $m_le z no implican x < z. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/lose_eq.det0000644000175000017500000000022310717305532027742 0ustar georgeskgeorgeskEn general, si uno quiere reemplazar x $m_le y por una desigualdad estricta x < y, debe existir una razón por la que x no pueda ser igual a y. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/mult_neg.det0000644000175000017500000000044410717305532030132 0ustar georgeskgeorgeskEn general, si se multiplica una desigualdad por un número negativo, la dirección de la desigualdad se invierte.

Cuando una desigualdad se multiplica por una variable o una función, se debe distinguir el caso en el que la variable o función es positiva del caso en el que sea negativa. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/bad_chain.det0000644000175000017500000000027010717305532030205 0ustar georgeskgeorgeskLa cadena de desigualdades a<b<c significa {a<b Y b<c}. No siendo éste equivalente a {a<b O b<c}, éste no puede ser escrito en la forma a<b<c. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/div_neg.det0000644000175000017500000000061510717305532027733 0ustar georgeskgeorgeskEn general, si se divide una desigualdad por un número negativo, la dirección de la desigualdad debe ser invertida.

Cuando una desigualdad es dividida por una variable o una función, se debe distinguir el caso en el que la variable o función sea positiva del caso en el que sea negativa. Y por supuesto, se debería también tener en cuenta que la división por cero no ocurre en ningún caso. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/mult_nochain.det0000644000175000017500000000037310717305532031001 0ustar georgeskgeorgeskEn general, las condiciones a<b y c<d implican ac<bd solo en el caso donde a,b,c,d son todos positivos.

Cuando alguno de esos valores es negativo, la implicación no es cierta siempre, por ejemplo -2<1 y -3<2 pero (-2)*(-3)>1*2. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/reasons0000644000175000017500000000230010717305532027210 0ustar georgeskgeorgeskreason_title=mult_neg,\ div_neg,\ add_neg,\ div_zero,\ mult_zero,\ mult_nochain,\ add_sign,\ trans_eq,\ lose_eq,\ square,\ abs,\ alg_err,\ illegal,\ bad_trans,\ bad_chain reason_name=multiplicar por un número negativo invierte la desigualdad,\ dividir por un número negativo invierte la desigualdad,\ añadir un número negativo no invierte la desigualdad,\ posibilidad de dividir por cero,\ multiplicar por 0 no conserva la desigualdad estricta,\ a<b y c<d no implica ac<bd,\ señal de error en la adición del término,\ pérdida de igualdad tras la transitividad,\ el caso de igualdad está perdido sin razón,\ error en la manipulación del cuadrado,\ error en la manipulación del valor absoluto,\ error en las operaciones algebraicas,\ operación ilegal,\ mala aplicación de la transitividad,\ mal encadenamiento de desigualdades reason_title2=mult_neg2,\ div_neg2,\ add_neg2,\ trans_eq2,\ add_eq2 reason_name2=la multiplicación debe conservar la desigualdad,\ la división debe conservar la desigualdad,\ añadir un número negativo no debe invertir la desigualdad,\ igualdad añadida después de la transitividad,\ igualdad añadida sin razón no_name=este paso es incorrecto wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/mult_zero.det0000644000175000017500000000053710717305532030343 0ustar georgeskgeorgeskEn general, cuando una desigualdad estricta es multiplicada por 0, se obtiene 0=0, por eso no se obtiene una desigualdad estricta.

Y cuando una desigualdad estricta es multiplicada por una variable o función que puede tomar el valor 0, se debe reemplazar < (resp. >) por $m_le (resp. $m_ge), debido a la posibilidad de multiplicar por cero. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/square.det0000644000175000017500000000051710717305532027621 0ustar georgeskgeorgeskComprobar la manipulación del cuadrado. Recordar en particular que si $m_a2 es siempre positivo o cero, $m_a puede ser positivo o negative.

Si b>0, a2<b2 es equivalente a {-b<a Y a<b}, mientras a2>b2 es equivalente a {a<-b O a>b}. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/add_sign.det0000644000175000017500000000026410717305532030070 0ustar georgeskgeorgeskSi se mueve un término al otro lado de la desigualdad se debe cambiar el signo de dicho término. De hecho, la desigualdad a<b+c es equivalente a a-c<b, pero no a a+c<b. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/alg_err.det0000644000175000017500000000006510717305532027732 0ustar georgeskgeorgeskComprueba las operaciones algebraicas en este paso. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/bad_trans.det0000644000175000017500000000026210717305532030253 0ustar georgeskgeorgeskPara aplicar la transitividad de desigualdades es necesario que éstas estén en la misma dirección.

Por ejemplo, de x < y Y y > z, no se puede deducir nada entre x y z. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/illegal.det0000644000175000017500000000003610717305532027726 0ustar georgeskgeorgeskEsta operación es infundada. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/add_neg.det0000644000175000017500000000030610717305532027676 0ustar georgeskgeorgeskEn general, la desigualdad x < y es equivalente a x+$m_a < y+$m_a, para cualquier valor real de $m_a.

De todas formas, la operación de adición no modifica la dirección de la desigualdad. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/reasons/abs.det0000644000175000017500000000044010717305532027061 0ustar georgeskgeorgeskComprobar la manipulación del valor absoluto. En particular debes tener en cuenta el caso en el que el valor que está dentro del valor absoluto sea negativo.

Si b>0, |a|<b es equivalente a {-b<a Y a<b}, mientras |a|>b es equivalente a {a<-b O a>b}. wims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/mkindex0000777000175000017500000000000011263403036030045 2proc/mkindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/scenarineq.es/INDEX0000644000175000017500000000166110717305374024750 0ustar georgeskgeorgesktitle=Escenario de desigualdades # Commencez la description par minuscule! description=descubrir errores en los razonamientos sobre desigualdades. author=XIAO Gang address=xiao@unice.fr copyright=© 1999- (GNU GPL) translator=Pilar Ullán translator_address=plar.ullan@gmail.com version=1.10 # minimal version of wims server under which the module may run wims_version=3.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H4 H5 H6 U1 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra, analysis # Anything you like. keywords=inequality, scenario # Software packages required to run the module require= # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/0000755000175000017500000000000011155707606023641 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/var.def0000644000175000017500000000134511155707602025110 0ustar georgeskgeorgesk#This is the variable definition file of the exercice module `test'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim repeat init asktype init present init list init status deny replycnt deny fcnt deny cumul deny f deny shuf deny ask deny click reply t1 reply t2 reply t3 reply t4 reply t5 reply t6 reply t7 reply t8 reply t9 reply wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/.htaccess0000644000175000017500000000001611155707602025430 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/var.init0000644000175000017500000000111511155707603025311 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. wims_print_precision=5 !if $repeat notwordof 0 1 2 3 4 5 6 7 8 repeat= !endif !if $present notwordof 3 4 6 8 present= !endif !if $list notwordof 3 4 5 6 7 8 list= !endif !default repeat=1 !default present=4 !default list=4 !if $present>$list list=$present !endif !for i=1 to $list !if $i isin $asktype at=!append item $i to $at !endif !next i asktype=$at !default asktype=1,2,3 wims_module_log=$cmd: repeat $repeat, $present figs from $list, ask $asktype replycnt=0 fcnt=0 cumul=0 status=start wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/present.phtml0000644000175000017500000000061411155707603026365 0ustar georgeskgeorgesk

Esta es la gráfica de
una función monótona $m_f(x). !if $repeat>1

(Función número $fcnt
de esta sesión que contiene
$repeat funciones) !endif
!set iset=$insplot_set !set insplot_set=$insplot_set; size 0.38,0.5 !insplot [-4:4] [-3:3] [-3:3] $fx,$fy title "f(x)" !set insplot_set=$iset; size 0.24,0.33
wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/definitions0000644000175000017500000000031711155707604026076 0ustar georgeskgeorgesk# possible stops: 4,5,6,7,8 flist=f^-1(x),-f^-1(x),f^-1(-x),-f^-1(-x),f(-x),-f(x),-f(-x),f(x) xlist=f, f, -(f), -(f), -t, t, -t, t ylist=t, -t, t, -t, f, -(f), -(f), f wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/var.proc0000644000175000017500000000333711155707604025322 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !if $status notwordof waiting finish !read var.prep !endif insplot_set=zeroaxis; parametric;\ tmargin 1;rmargin 1;lmargin 3; bmargin 2 fx=t fy=$f !read definitions !for i=1 to $present j=!item $i of $shuf !if $j=$ask askshuf=$i !endif v$i =$j x$i =!item $j of $xlist y$i =!item $j of $ylist n$i =!item $j of $flist x$i=!mathsubst f=$f in $(x$i) y$i=!mathsubst f=$f in $(y$i) n$i=!htmlmath $(n$i) n$i=!mathsubst f=$m_f in $(n$i) !next i askname=!item $ask of $flist askname=!htmlmath $askname askname=!mathsubst f=$m_f in $askname !ifval $repeat=0 !for i=1 to $present !if $(t$i)>0 nt$i=!item $(t$i) of $flist nt$i=!htmlmath $(nt$i) nt$i=!mathsubst f=$m_f in $(nt$i) !endif !next i !endif !if $cmd=reply and $status=waiting replycnt=$[$replycnt+1] status=done !ifval $repeat>1 and (($click>0 and $click=$askshuf) or ($click=0 and $askshuf=$empty)) cumul=$[$cumul+1] !endif !if $replycnt>=$repeat status=finish !ifval $repeat=0 sc=0 !for i=1 to $present !if $(t$i)=$(v$i) sc=$[$sc+2] !else !if $(t$i)>0 sc=$[$sc-1] !endif !endif !next i !if $sc<0 module_score=0 !else module_score=$[rint(50*$sc/$present)/10] !endif !endif !if $repeat=1 !ifval ($click>0 and $click=$askshuf) or ($click=0 and $askshuf=$empty) module_score=10 !else module_score=0 !endif !endif !if $repeat>1 module_score=$[rint(100*($cumul*$list-$repeat)/($list-1)/$repeat)/10] !if $module_score<0 module_score=0 !endif !endif wims_module_log=score $module_score/10 !endif !endif !if $status=wait status=waiting !endif wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/answer.phtml0000644000175000017500000000236611155707605026214 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. !if $repeat>0 !ifval $click=0 !if $askshuf>0 Respuesta incorrecta. La gráfica de $askname está aquí! Vea más abajo. !else Es cierto, la gráfica de $askname no está entre las figuras presentes. Muy bien. !endif !else Tiene que hacer click sobre la gráfica de $(n$click) !ifval $click=$askshuf como es necesario. Muy bien. !else en lugar de $askname. Error. !endif !endif !else Aquí está la solución (los nombres en rojo indican sus respuestas). !set wims_texsize=-3 !endif !if $module_score!=$empty !if $repeat<=1 Puntuación = $module_score/10. !else

Ha obtenido una puntuación de $module_score/10 en esta sesión de $repeat funciones. !endif !endif

!!set ins_border=1 !for j=1 to $present !endif !next j
!if $repeat>0 !if $j=$click !endif !if $j=$askshuf !endif $(n$j)
!else !if $(t$j)=0 $(n$j) !else !if $(t$j)=$(v$j) $(n$j) yes !else $(n$j)$m_ne$(nt$j) !endif !endif
!endif !insplot [-4:4] [-3:3] [-3:3] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2
wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/var.prep0000644000175000017500000000063211155707605025321 0ustar georgeskgeorgesk fdata=!randfile functions fdata=!trim $fdata f=!line 1 of $fdata n=!linecnt $fdata !for i=1 to $n-1 step 1 c=!line $i+1 of $fdata c$i=!random $c f=!mathsubst c$i=$(c$i) in $f !next i f=!rawmath $f n=!randitem 0,1 !if $n=1 f=-($f) !endif n=!randitem 0,1 !if $n=1 f=!mathsubst t=(-t) in $f !endif shuf=!shuffle $list ask=!randitem $asktype fcnt=$[$fcnt+1] status=wait !for i=1 to 9 t$i= !next i click= wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/main.phtml0000644000175000017500000000126411155707605025635 0ustar georgeskgeorgesk!header !! La présentation de l'exercice. !read present.phtml

!if $status=waiting !! La forme de réponse !read form.phtml

!if $repeat>1 !set nn=Abandonar la sesión !else !set nn=Cambiar la función !endif !href cmd=renew&worksheet=$worksheet&$module_init_parm $nn . !else !! L'analyse de réponse !read answer.phtml

!if $status=finish !if $repeat>1 !set nn=Una nueva sesión !else !set nn=Una nueva función !endif !href cmd=renew&worksheet=$worksheet&$module_init_parm $nn . !else !href cmd=next Continuar la sesión con la siguiente función .   !href cmd=renew&worksheet=$worksheet&$module_init_parm Abandonar la sesión . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/form.phtml0000644000175000017500000000233411155707605025653 0ustar georgeskgeorgesk!! On pose les questions dans ce fichier. D'habitude, c'est par !! des forms. Voici un exemple de conception de la forme de réponse. !if $repeat>0 Pregunta. Entre las siguientes figuras, ¿cuál corresponde a la función $askname? Haga click sobre ella.

!!set ins_border=1 !for j=1 to $present !href cmd=reply&click=$j !insplot [-4:4] [-3:3] [-3:3] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2
!endif !next j
!href cmd=reply&click=0 Haga click aquí si piensa que ninguna de las figuras corresponde a $askname. !else !form reply Pregunta. Determina qué función corresponde a cada una de las figuras de más abajo.

!!set ins_border=1 !for j=1 to $present !endif !next j

!insplot [-4:4] [-3:3] [-3:3] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2

Atención. Las respuestas incorrectas disminuirán su puntuación! Si no está seguro, elija "??". !endif wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/INDEX0000644000175000017500000000076511155707605024442 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Gráfica de una inversa description=reconocer la gráfica de una función inversa. language=es category=exercise domain=análisis level=H4,H5,H6,U1 keywords=función, gráfica, función inversa require= scoring=yes copyright=© 1998- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.30 wims_version=3.30 vardef= translator=Pilar Ullán translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/functions0000644000175000017500000000067211155707606025601 0ustar georgeskgeorgesk# List of functions used for infinitesimal approaching. # An item in this list will be picked randomly at each exercise. # Structure of item: multi-line. # line 1 is function description. # The rest is values for parameters c1, c2, etc. # Different items are separated by lines starting with `:'. :(t-c1)^3/c2+c3 2.9,3.1 20,30 1.5,2.8 :(t-c1)^3/c2+c3+c4*t 0.5,2 8,12 0.7,2 0,0.15 :c2*atan(c1*(t-c3))+c4 0.8,2 1.5,2 0.5,2 -0.1,0.3 wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/about.phtml0000644000175000017500000000002511155707606026016 0ustar georgeskgeorgesk$module_about !tail wims-modules-es-3.64.orig/modules/H6/analysis/graphinv.es/intro.phtml0000644000175000017500000000606511155707607026052 0ustar georgeskgeorgesk!header El ejercicio de este módulo consiste en reconocer la gráfica de una función inversa.

El servidor le dará la curva de una función monótona $m_f(x) en el intervalo [-3,3]. Esta función está generada al azar por el servidor, y su expresión está escondida para usted. A continuación aparecerán las gráficas de otras curvas y ha de reconocer entre ellas la función inversa ($m_f-1(x), $m_f-1(-x), -$m_f-1(x) o -$m_f-1(-x), según la configuración del ejercicio). Para enviar la respuesta, debe simplemente hacer click en la curva que usted crea es la correcta.


!if $special_parm != expert Elige el nivel de dificultad apropiado para usted: !href module=$module&cmd=new&repeat=1&asktype=1&present=3&list=3 1 . !href module=$module&cmd=new&repeat=1&asktype=1&present=4&list=4 2 . !href module=$module&cmd=new&repeat=1&asktype=1&present=3&list=4 3 . !href module=$module&cmd=new&repeat=1&asktype=1,2&present=4&list=6 4 . !href module=$module&cmd=new&repeat=2&asktype=1,2&present=4&list=6 5 . !href module=$module&cmd=new&repeat=3&asktype=1,2&present=6&list=7 6 . !href module=$module&cmd=new&repeat=4&asktype=1,2,3&present=6&list=7 7 . !href module=$module&cmd=new&repeat=0&asktype=1&present=6&list=7 8 . !href module=$module&cmd=new&repeat=0&asktype=1&present=8&list=8 9 .

También hay un !href cmd=intro&module=$module&special_parm=expert menú detallado para los parámetros de este ejercicio. !else !form new La dificultad del ejercicio varía considerablemente con la elección de varios parámetros.

También puede ir al ejercicio mediante una !href cmd=intro&module=$module simple elección del nivel de dificultad. !endif expert?

!read related.phtml gráfica, función inversa, funciones !tail wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/0000755000175000017500000000000011244621131023772 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/def/0000755000175000017500000000000011244621131024530 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/def/.htaccess0000644000175000017500000000001611074456077026343 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/def/imfunc.def0000644000175000017500000000473211244621131026477 0ustar georgeskgeorgesk!set title=Imagen de una función !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=c,c varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=0 choicecnt=2 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=acotado val7=acotado inferiormente val8=acotado superiormente val9=no necesariamente acotado por algún lado tmp0=!randitem 1,2,3 val10=$[rint($(tmp0))] tmp0=!item $val10 of $val7,$val8,$val6 val11=$(tmp0) tmp0=!item $val10 of $val8,$val7,$val6 val12=$(tmp0) tmp0=!item $val10 of $val9,$val9,$val6 val13=$(tmp0) tmp0=!randitem 1,2 val14=$[rint($(tmp0))] tmp=!trim biyectiva, $val9, $val9 continua, $val13, $val9 continua y biyectiva, $val13, $val13 continua y diferenciable, $val13, $val9 continua y periódica, $val6, $val9 creciente, $val11, $val9 creciente y periódica, $val6, $val9 creciente y epiyectiva surjective, $val11, $val11 decreciente, $val12, $val9 decreciente y periódica, $val6, $val9 decreciente y epiyectiva surjective, $val12, $val12 impar, $val9, $val9 impar y creciente, $val11, $val9 impar y decreciente, $val12, $val9 inyectiva, $val9, $val9 par, $val9, $val9 par y creciente, $val6, $val9 par y decreciente, $val6, $val9 periódica, $val9, $val9 estrictamente creciente, $val11, $val9 estrictamente decreciente, $val12, $val9 val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp0=!item 1 of $val15 val16=$(tmp0) tmp0=!item 2 of $val15 val17=$(tmp0) tmp0=!item 3 of $val15 val18=$(tmp0) choicename1=B es choicegood1=$val17 choicebad1=$val6,$val7,$val8,$val9, choicename2=C es choicegood2=$val18 choicebad2=$val6,$val7,$val8,$val9, question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea $m_f: $m_RR $m_rightarrow $m_RR una función $val16, y sea A un subconjunto $val11 de $m_RR. Consideramos la imagen B=$m_f(A), y la imagen inversa C=$m_f-1(A) de A.

¿Qué podemos decir sobre B y C?

Debes elegir la respuesta más adecuada. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,16 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/def/majunion.def0000644000175000017500000000402511244617610027040 0ustar georgeskgeorgesk!set title=Acotación, unión e intersección !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=c,c varcnt=12 prevarcnt=11 postvarcnt=0 replycnt=0 choicecnt=2 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=!randitem 1,2 val6=$[rint($(tmp0))] tmp0=!item $val6 of acotado superiormente, acotado inferiormente val7=$(tmp0) tmp0=!item $val6 of upper bounder, lower bounder val8=$(tmp0) val9=Es cierto siempre val10=A veces cierto y a veces falso val11=Nunca es cierto tmp0=!item $val6 of max,min tmp1=!item $val6 of min,max tmp2=!item $val6 of |a|+|b|,-|a|-|b| tmp3=!item $val6 of -|a|-|b|,|a|+|b| tmp4=!item $val6 of |a+b|,-|a+b| tmp5=!item $val6 of -|a+b|,|a+b| tmp=!trim a,$val9,$val10 b,$val9,$val10 $(tmp0)(a,b),$val9,$val9 $(tmp1)(a,b),$val9,$val10 a+b,$val10,$val10 $(tmp2),$val9,$val9 $(tmp3),$val10,$val10 $(tmp4),$val9,$val10 $(tmp5),$val10,$val10 val12=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$(tmp0) tmp0=!item 3 of $val12 val15=$(tmp0) choicename1=I. intersección choicegood1=$val14 choicebad1=$val9,$val10,$val11 choicename2=II. unión choicegood2=$val15 choicebad2=$val9,$val10,$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean A y B dos subconjuntos de $m_RR. Supongamos que A (resp. B) está $val7 por a (resp. por b). ¿Son ciertas las siguientes afirmaciones?

I. A $m_cap B está $val7 por $val13.

II. A $m_cup B está $val7 por $val13. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/intro.phtml0000644000175000017500000000035111244620450026175 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal ejercicios de las acotaciones de subconjuntos de números reales: cota superior, cota inferior, relación con unión e intersección, etc. !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/Exindex0000644000175000017500000000025211244621131025320 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of majunion,imfunc, !set titlelist=!char 1 to -2 of Acotación; unión e intersección,Imagen de una función, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/Extitles0000644000175000017500000000010611244621131025513 0ustar georgeskgeorgeskimfunc:Imagen de una función majunion:Acotación; unión e intersección wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/var.proc0000644000175000017500000000024111074456077025464 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/images/0000755000175000017500000000000011074456077025257 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/about.phtml0000644000175000017500000000005311074456077026170 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/content.html0000644000175000017500000000116211244621131026332 0ustar georgeskgeorgesk


Imagen de una función

Sea $m_f: $m_RR $m_rightarrow $m_RR una función $val16, y sea A un subconjunto $val11 de $m_RR. Consideramos la imagen B=$m_f(A), y la imagen inversa C=$m_f-1(A) de A.

¿Qué podemos decir sobre B y C?

Debes elegir la respuesta más adecuada.


Acotación, unión e intersección

Sean A y B dos subconjuntos de $m_RR. Supongamos que A (resp. B) está $val7 por a (resp. por b). ¿Son ciertas las siguientes afirmaciones?

I. A $m_cap B está $val7 por $val13.

II. A $m_cup B está $val7 por $val13. wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/main.phtml0000644000175000017500000000003111074456077025776 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/INDEX0000644000175000017500000000104011244620324024562 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF acotaciones description=colección de ejercicios de acotaciones de conjuntos de números reales. language=es category=exercise, oef domain=análisis, cálculo level=H5,H6,U1 keywords=cotas, cota superior, cota inferior, acotación require= scoring=yes copyright=© 2002- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán González translator_address= data= wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/src/0000755000175000017500000000000011213710131024554 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/src/.htaccess0000644000175000017500000000001611074456077026374 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/src/imfunc.oef0000644000175000017500000000311411244621131026534 0ustar georgeskgeorgesk\title{Imagen de una función} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{bo=acotado} \text{mino=acotado inferiormente} \text{majo=acotado superiormente} \text{no=no necesariamente acotado por algún lado} \integer{o=random(1,2,3)} \text{direct=item(\o,\mino,\majo,\bo)} \text{reverse=item(\o,\majo,\mino,\bo)} \text{strong=item(\o,\no,\no,\bo)} \integer{dir=random(1,2)} \matrix{data=biyectiva, \no, \no continua, \strong, \no continua y biyectiva, \strong, \strong continua y diferenciable, \strong, \no continua y periódica, \bo, \no creciente, \direct, \no creciente y periódica, \bo, \no creciente y epiyectiva surjective, \direct, \direct decreciente, \reverse, \no decreciente y periódica, \bo, \no decreciente y epiyectiva surjective, \reverse, \reverse impar, \no, \no impar y creciente, \direct, \no impar y decreciente, \reverse, \no inyectiva, \no, \no par, \no, \no par y creciente, \bo, \no par y decreciente, \bo, \no periódica, \no, \no estrictamente creciente, \direct, \no estrictamente decreciente, \reverse, \no } \text{data=randomrow(\data)} \text{cond=item(1,\data)} \text{dimage=item(2,\data)} \text{rimage=item(3,\data)} \statement{Sea \f: \RR \rightarrow \RR una función \cond, y sea A un subconjunto \direct de \RR. Consideramos la imagen B=\f(A), y la imagen inversa C=\f-1(A) de A.

¿Qué podemos decir sobre B y C?

Debes elegir la respuesta más adecuada. } \choice{B es }{\dimage}{\bo,\mino,\majo,\no,} \choice{C es }{\rimage}{\bo,\mino,\majo,\no,} wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/src/majunion.oef0000644000175000017500000000207411244617610027106 0ustar georgeskgeorgesk\title{Acotación, unión e intersección} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{o=random(1,2)} \text{bounded=item(\o,acotado superiormente, acotado inferiormente)} \text{bounder=item(\o,upper bounder, lower bounder)} \text{yes=Es cierto siempre} \text{no=A veces cierto y a veces falso} \text{bad=Nunca es cierto} \matrix{meth=a,\yes,\no b,\yes,\no item(\o,max,min)(a,b),\yes,\yes item(\o,min,max)(a,b),\yes,\no a+b,\no,\no item(\o,|a|+|b|,-|a|-|b|),\yes,\yes item(\o,-|a|-|b|,|a|+|b|),\no,\no item(\o,|a+b|,-|a+b|),\yes,\no item(\o,-|a+b|,|a+b|),\no,\no } \text{meth=randomrow(\meth)} \text{rant=item(1,\meth)} \text{good1=item(2,\meth)} \text{good2=item(3,\meth)} \statement{Sean A y B dos subconjuntos de \RR. Supongamos que A (resp. B) está \bounded por a (resp. por b). ¿Son ciertas las siguientes afirmaciones?

I. A \cap B está \bounded por \rant.

II. A \cup B está \bounded por \rant.} \choice{I. intersección}{\good1}{\yes,\no,\bad} \choice{II. unión}{\good2}{\yes,\no,\bad} wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/endhook.phtml0000644000175000017500000000010211074456077026500 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H6/analysis/oefbounds.es/help.phtml0000644000175000017500000000005211074456077026005 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H6/geometry/0000755000175000017500000000000010771673315021427 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/0000755000175000017500000000000010334440637023525 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/0000755000175000017500000000000010334440637024263 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/volpara.def0000644000175000017500000000452010334437757026421 0ustar georgeskgeorgesk!set title=Volumen del paralelepípedo !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)] replyname1=Volumev replygood1=$val32 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar el volumen del paralelepípedo que tiene como vértice A = ($val17,$val18,$val19) y tal que los 3 vértices adyacentes a A son

B = ($val20,$val21,$val22) , C = ($val23,$val24,$val25) , D = ($val26,$val27,$val28) .

$() !exit :hint $()El volumen del paralelepípedo viene dado por el producto mixto de 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 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/perpvec.def0000644000175000017500000000533010333724236026407 0ustar georgeskgeorgesk!set title=Perpendicular y producto vectorial !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=30 prevarcnt=29 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(8)] val7=2,3,2,3,4,4,5,6,5,6,7 val8=1,1,2,2,2,3,3,3,4,4,4 tmp0=!itemcnt $val7 val9=$[rint($(tmp0))] tmp0=!randint 1, $val9 val10=$[rint($(tmp0))] tmp0=!item $val10 of $val7 val11=$[rint($(tmp0))] tmp0=!item $val10 of $val8 val12=$[rint($(tmp0))] val13=$[rint(1)] tmp0=!randint 2, $val6 val14=$[rint($(tmp0))] tmp0=!randint 2, $val6 val15=$[rint($(tmp0))] val16=$[rint($val11*$val14-$val12*$val15)] tmp0=!randint 1, 12 val10=$[rint($(tmp0))] tmp0=!item $val10 of -$val11,-$val11,$val12,$val12,$val13,$val13, $val11,$val11,$val12,$val12,$val13,$val13 val17=$[rint($(tmp0))] tmp0=!item $val10 of $val12,$val13,-$val11,$val13,-$val11,$val12, $val12,$val13,$val11,$val13,$val11,$val12 val18=$[rint($(tmp0))] tmp0=!item $val10 of $val13,$val12,$val13,-$val11,$val12,-$val11, $val13,$val12,$val13,$val11,$val12,$val11 val19=$[rint($(tmp0))] tmp0=!item $val10 of $val14,$val14,$val15,$val15,$val16,$val16, -$val14,-$val14,$val15,$val15,$val16,$val16 val20=$[rint($(tmp0))] tmp0=!item $val10 of $val15,$val16,$val14,$val16,$val14,$val15, $val15,$val16,-$val14,$val16,-$val14,$val15 val21=$[rint($(tmp0))] tmp0=!item $val10 of $val16,$val15,$val16,$val14,$val15,$val14, $val16,$val15,$val16,-$val14,$val15,-$val14 val22=$[rint($(tmp0))] tmp0=!randitem 1,2 val23=$[rint($(tmp0))] tmp0=!randitem 1,2 val24=$[rint($(tmp0))] !ifval $val23=1 val17=$[rint(-$val17)] !endif !ifval $val23=1 val18=$[rint(-$val18)] !endif !ifval $val23=1 val19=$[rint(-$val19)] !endif !ifval $val24=1 val20=$[rint(-$val20)] !endif !ifval $val24=1 val21=$[rint(-$val21)] !endif !ifval $val24=1 val22=$[rint(-$val22)] !endif val25=$[rint($val18*$val22-$val19*$val21)] val26=$[rint($val19*$val20-$val17*$val22)] val27=$[rint($val17*$val21-$val18*$val20)] replytype1=vector replyname1=v replygood1=$val20,$val21,$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea u=($val17,$val18,$val19) un vector del espacio. Hallar el vector v que es perpendicular a u y se cumple la igualdad del producto vectorial: uv = ($val25,$val26,$val27). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,17,18,19,25,26,27 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/combi4.def0000644000175000017500000000457610333722212026123 0ustar georgeskgeorgesk!set title=Combinación 4 vectores !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=23 prevarcnt=22 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 -$val6, $val6 val10=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint(2*$(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 1, $val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val20=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val21=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val22=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val23=$[rint($(tmp0)*$(tmp1))] val24=$[rint($val8*$val20+$val11*$val21+$val14*$val22+$val17*$val23)] val25=$[rint($val9*$val20+$val12*$val21+$val15*$val22+$val18*$val23)] val26=$[rint($val10*$val20+$val13*$val21+$val16*$val22+$val19*$val23)] tmp0=!htmlmath $val20*v1 + $val21*v2 + $val22*v3 + $val23*v4 val27=$(tmp0) replytype1=vector replyname1=v replygood1=$val24,$val25,$val26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13) , v3 = ($val14,$val15,$val16) , v4 = ($val17,$val18,$val19)

cuatro vectores. Calcular el vector

v = $val27 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,14,15,16,17,18,19,27 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/combifind2.def0000644000175000017500000000375110333722476026770 0ustar georgeskgeorgesk!set title=Encontrar combinación de 2 vectores !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,r varcnt=18 prevarcnt=17 postvarcnt=0 replycnt=2 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 -$val6, $val6 val10=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint(2*$(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 1, $val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] val20=$[rint($val8*$val17+$val11*$val18)] val21=$[rint($val9*$val17+$val12*$val18)] val22=$[rint($val10*$val17+$val13*$val18)] replyname1=a replygood1=$val17 replyname2=b replygood2=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13)

dos vectores del espacio y sea v=($val20,$val21,$val22) otro vector. Expresar v como una combinación lineal de v1 y v2 :

v = av1 + bv2 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/angle.def0000644000175000017500000000374110333721711026030 0ustar georgeskgeorgesk!set title=Ángulo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Gang XIAO email=xiao@unice.fr computeanswer=no precision=200 ansorder=r varcnt=22 prevarcnt=21 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(8)] 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 -$val7, $val7 val16=$[rint($(tmp0))] val17=$[rint($val14+$val8)] val18=$[rint($val15+$val9)] val19=$[rint($val16+$val10)] val20=$[rint($val14+$val11)] val21=$[rint($val15+$val12)] val22=$[rint($val16+$val13)] val23=$[rint($val8*$val11+$val9*$val12+$val10*$val13)] val24=$[sqrt(($val8)^2+($val9)^2+($val10)^2)] val25=$[sqrt(($val11)^2+($val12)^2+($val13)^2)] val26=$[acos($val23/($val24*$val25))*180/pi] replyname1=El ángulo replygood1=$val26 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Tenemos 3 puntos en el espacio:

!insmath A($val14,$val15,$val16) $() , !insmath B($val17,$val18,$val19) $() , !insmath C($val20,$val21,$val22) $() .

Hallar el ángulo !insmath \widehat{BAC} $() (en grados, entre 0 y 180). $() !exit :hint $()Usar la relación entre el producto escalar de dos vectores y el ángulo que forman. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,17,18,19,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/perp2.def0000644000175000017500000000344010334440146025767 0ustar georgeskgeorgesk!set title=Perpendicular a dos vectores !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,r varcnt=16 prevarcnt=15 postvarcnt=0 replycnt=2 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(8)] 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))] val14=$[rint($val9*$val13-$val10*$val12)] val15=$[rint($val10*$val11-$val8*$val13)] val16=$[rint($val8*$val12-$val9*$val11)] tmp0=!randint 1, 2*$val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] val18=$[$val17/$val16] val19=$[$val14*$val18] val20=$[$val15*$val18] replyname1=a replygood1=$val19 replyname2=b replygood2=$val20 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13)

dos vectores. Tenemos un vector v=(a,b,$val17) que es perpendicular v1 y v2. ¿Cuál es el vector v ? $() !exit :hint $()The vector product of v1 and v2 is perpendicular to both v1 and v2. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/rellin.def0000644000175000017500000000540010333724702026224 0ustar georgeskgeorgesk!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:

v1 = ($val6,$val10,$val14) , v2 = ($val7,$val11,$val15) , v3 = ($val8,$val12,$val16) , v4 = ($val9,$val13,$val17) .

Hallar 4 enteros a,b,c,d tal que

a v1 + b v2 + c v3 + d v4 = 0 ,

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 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/parallelo.def0000644000175000017500000000374510334440310026713 0ustar georgeskgeorgesk!set title=Vértice de un paralelogramo !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=25 prevarcnt=24 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 -$val7, $val7 val16=$[rint($(tmp0))] val17=$[rint($val14+$val8)] val18=$[rint($val15+$val9)] val19=$[rint($val16+$val10)] val20=$[rint($val14+$val11)] val21=$[rint($val15+$val12)] val22=$[rint($val16+$val13)] val23=$[rint($val17+$val11)] val24=$[rint($val18+$val12)] val25=$[rint($val19+$val13)] val26=$[$val8*$val12-$val11*$val9] val27=$[$val9*$val13-$val12*$val10] val28=$[$val10*$val11-$val13*$val8] val29=$[sqrt(($val26)^2+($val27)^2+($val28)^2)] replytype1=vector replyname1=D replygood1=$val20,$val21,$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea el paralelogramo ABCD cuyos tres primeros vértices tienen de coordenadas

A = ($val14,$val15,$val16) , B = ($val17,$val18,$val19) , C = ($val23,$val24,$val25) .

Hallar las coordenadas del cuarto vértice D. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,17,18,19,23,24,25 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/givenscale.def0000644000175000017500000000412610333722721027062 0ustar georgeskgeorgesk!set title=Dados productos escalares !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=18 prevarcnt=17 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 -$val6, $val6 val10=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint(2*$(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 1, $val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] val20=$[rint($val8*$val17+$val9*$val18+$val10*$val19)] val21=$[rint($val11*$val17+$val12*$val18+$val13*$val19)] val22=$[rint($val14*$val17+$val15*$val18+$val16*$val19)] replytype1=vector replyname1=v replygood1=$val17,$val18,$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13) , v3 = ($val14,$val15,$val16)

tres vectores del espacio. Hallar el vector v que verifica las siguientes igualdades de productos escalares:

<v,v1> = $val20 , <v,v2> = $val21 , <v,v3> = $val22 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,14,15,16,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/.htaccess0000644000175000017500000000001606634516636026071 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/vecscal.def0000644000175000017500000000317610333725421026366 0ustar georgeskgeorgesk!set title=Productos escalares y vectoriales !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=13 prevarcnt=12 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(8)] val7=$[rint($val6*2)] tmp0=!randint -$val6, $val6-2 val8=$[rint(2*$(tmp0)+1)] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -$val6, $val6 val11=$[rint(2*$(tmp0))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val13=$[rint($(tmp0)*$(tmp1))] val14=$[rint($val9*$val13-$val10*$val12)] val15=$[rint($val10*$val11-$val8*$val13)] val16=$[rint($val8*$val12-$val9*$val11)] val17=$[rint($val8*$val11+$val9*$val12+$val10*$val13)] replytype1=vector replyname1=v replygood1=$val11,$val12,$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea u=($val8,$val9,$val10) un vector del espacio. Hallar el vector v tal que el producto escalar <u,v> = $val17, y el producto vectorial uv = ($val14,$val15,$val16). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,8,9,10,14,15,16,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/voltetra.def0000644000175000017500000000476510333725242026614 0ustar georgeskgeorgesk!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

A = ($val17,$val18,$val19) , B = ($val20,$val21,$val22) , C = ($val23,$val24,$val25) , D = ($val26,$val27,$val28) .

$() !exit :hint $()Un tetraedro es un poliedro del espacio con 4 vértices.

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.

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 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/combifind.def0000644000175000017500000000416310333722347026701 0ustar georgeskgeorgesk!set title=Encontrar combinación !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,r,r varcnt=18 prevarcnt=17 postvarcnt=0 replycnt=3 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 -$val6, $val6 val10=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint(2*$(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 1, $val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] val20=$[rint($val8*$val17+$val11*$val18+$val14*$val19)] val21=$[rint($val9*$val17+$val12*$val18+$val15*$val19)] val22=$[rint($val10*$val17+$val13*$val18+$val16*$val19)] replyname1=a replygood1=$val17 replyname2=b replygood2=$val18 replyname3=c replygood3=$val19 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13) , v3 = ($val14,$val15,$val16)

tres vectores del espacio y sea v=($val20,$val21,$val22) otro vector. Expesar v como combinación lineal de v1, v2 y v3 :

v = av1 + bv2 + cv3 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,14,15,16,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/airellelo.def0000644000175000017500000000405510333721230026705 0ustar georgeskgeorgesk!set title=Área el paralelogramo !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=10000 ansorder=r varcnt=25 prevarcnt=24 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 -$val7, $val7 val16=$[rint($(tmp0))] val17=$[rint($val14+$val8)] val18=$[rint($val15+$val9)] val19=$[rint($val16+$val10)] val20=$[rint($val14+$val11)] val21=$[rint($val15+$val12)] val22=$[rint($val16+$val13)] val23=$[rint($val17+$val11)] val24=$[rint($val18+$val12)] val25=$[rint($val19+$val13)] val26=$[$val8*$val12-$val11*$val9] val27=$[$val9*$val13-$val12*$val10] val28=$[$val10*$val11-$val13*$val8] val29=$[sqrt(($val26)^2+($val27)^2+($val28)^2)] replyname1=Área replygood1=$val29 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular el área del paralelogramo en el espacio, cuyos cuatro vértices son

($val14,$val15,$val16) , ($val17,$val18,$val19) , ($val20,$val21,$val22) , ($val23,$val24,$val25) .

$() !exit :hint $()El área del paralelogramos es el módulo del producto vectorial de los dos vectores que representan dos lados adyacentes del paralelogramo. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,17,18,19,20,21,22,23,24,25 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/airetriang.def0000644000175000017500000000376110333721461027073 0ustar georgeskgeorgesk!set title=Área del triángulo !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=25 prevarcnt=24 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 -$val7, $val7 val16=$[rint($(tmp0))] val17=$[rint($val14+$val8)] val18=$[rint($val15+$val9)] val19=$[rint($val16+$val10)] val20=$[rint($val14+$val11)] val21=$[rint($val15+$val12)] val22=$[rint($val16+$val13)] val23=$[rint($val17+$val11)] val24=$[rint($val18+$val12)] val25=$[rint($val19+$val13)] val26=$[$val8*$val12-$val11*$val9] val27=$[$val9*$val13-$val12*$val10] val28=$[$val10*$val11-$val13*$val8] val29=$[0.5*sqrt(($val26)^2+($val27)^2+($val28)^2)] replyname1=Área replygood1=$val29 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar el área del triángulo cuyos vértices en el espacio son

($val14,$val15,$val16) , ($val17,$val18,$val19) , ($val20,$val21,$val22) .

$() !exit :hint $()El módulo del producto vectorial de dos vectores da el área del paralelogramo y la mitad de un paralelogramo es un triángulo. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15,16,17,18,19,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/lenvec.def0000644000175000017500000000251510334440637026222 0ustar georgeskgeorgesk!set title=Producto vectorial y módulo !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=8 prevarcnt=7 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(8)] val7=$[rint($val6*2)] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 val11=$[rint($(tmp0))] val12=$[$val11*sqrt(($val8)^2+($val9)^2+($val10)^2)] replyname1=Módulo replygood1=$val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea u=($val8,$val9,$val10) un vector del espacio. Tenemos otro vector v que es perpendicular a u. Sabiendo que la longitud de v es igual a $val11, calcular el módulo del producto vectorial uv ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,8,9,10,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/givenvec.def0000644000175000017500000000317710333723207026555 0ustar georgeskgeorgesk!set title=Dado el producto vectorial !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,r varcnt=13 prevarcnt=12 postvarcnt=0 replycnt=2 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(8)] val7=$[rint($val6*2)] tmp0=!randint -$val6, $val6-2 val8=$[rint(2*$(tmp0)+1)] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val6 tmp1=!randitem -2,2 val11=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val13=$[rint($(tmp0)*$(tmp1))] val14=$[rint($val9*$val13-$val10*$val12)] val15=$[rint($val10*$val11-$val8*$val13)] val16=$[rint($val8*$val12-$val9*$val11)] val17=$[rint($val8*$val11+$val9*$val12+$val10*$val13)] replyname1=b replygood1=$val12 replyname2=c replygood2=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea u=($val8,$val9,$val10) un vector del espacio. Hallar el vector v=($val11,b,c) que cumpla la igualdad del producto vectorial:

uv = ($val14,$val15,$val16) .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,8,9,10,11,14,15,16 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/lenvec2.def0000644000175000017500000000320210334440612026267 0ustar georgeskgeorgesk!set title=Producto escalar y módulo II !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=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 val6=$[rint(15)] tmp0=!randint 1, $val6 tmp1=!randitem -1,1 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val6 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val6 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 3, $val6 val10=$[rint($(tmp0))] val11=$[sqrt(($val7)^2+($val8)^2+($val9)^2)] tmp0=!randint 1, floor($val10*$val11)-2 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*$(tmp1))] val13=$[sqrt($val10^2-($val12/$val11)^2)*$val11] replyname1=Módulo replygood1=$val13 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea u=($val7,$val8,$val9) un vector del espacio. tenemos otro vector v cuyo módulo es $val10. Sabiendo que el producto escalar <u,v> = $val12, ¿Cuál es el módulo del producto vectorial uv ? $() !exit :hint $()Decomponer v en la suma de dos vectores v1 y v2, donde v1 es perpendicular a y v2 es proporcional a u. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,7,8,9,10,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/combi.def0000644000175000017500000000374510333722065026042 0ustar georgeskgeorgesk!set title=Combinación !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=19 prevarcnt=18 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 -$val6, $val6 val10=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint(2*$(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 1, $val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] val20=$[rint($val8*$val17+$val11*$val18+$val14*$val19)] val21=$[rint($val9*$val17+$val12*$val18+$val15*$val19)] val22=$[rint($val10*$val17+$val13*$val18+$val16*$val19)] tmp0=!htmlmath $val17*v1 + $val18*v2 + $val19*v3 val23=$(tmp0) replytype1=vector replyname1=v replygood1=$val20,$val21,$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13) , v3 = ($val14,$val15,$val16)

tres vectores del espacio. Calcular el vector

v = $val23 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,14,15,16,23 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/def/combi2.def0000644000175000017500000000357410333722143026121 0ustar georgeskgeorgesk!set title=Combinación 2 vectores !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=19 prevarcnt=18 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 -$val6, $val6 val10=$[rint(2*$(tmp0))] tmp0=!randint -$val7, $val7 val11=$[rint($(tmp0))] tmp0=!randint -$val6, $val6-2 val12=$[rint(2*$(tmp0)+1)] tmp0=!randint -$val6, $val6 val13=$[rint(2*$(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 1, $val7 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, $val7 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] val20=$[rint($val8*$val17+$val11*$val18)] val21=$[rint($val9*$val17+$val12*$val18)] val22=$[rint($val10*$val17+$val13*$val18)] tmp0=!htmlmath $val17*v1 + $val18*v2 val23=$(tmp0) replytype1=vector replyname1=v replygood1=$val20,$val21,$val22 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sean

v1 = ($val8,$val9,$val10) , v2 = ($val11,$val12,$val13)

tres vectores. Calcular el vector

v = $val23 .

$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,13,23 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/intro.phtml0000644000175000017500000000041110333720751025717 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene $exototal tipos de ejercicios sobre vectores en 3D (combinaciones lineales, ángulo, longitud, producto escalar, producto vectorial, etc.). !read oef/intromenu.phtml !read related.phtml vectores, espacios vectoriales !tailwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/Exindex0000644000175000017500000000132710334440637025057 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of combi,combi2,combi4,rellin,givenvec,givenscale,combifind,combifind2,perp2,perpvec,lenvec2,lenvec,vecscal,volpara,voltetra,parallelo,angle,airetriang,airellelo, !set titlelist=!char 1 to -2 of Combinación,Combinación 2 vectores,Combinación 4 vectores,Combinación lineal,Dado el producto vectorial,Dados productos escalares,Encontrar combinación,Encontrar combinación de 2 vectores,Perpendicular a dos vectores,Perpendicular y producto vectorial,Producto escalar y módulo II,Producto vectorial y módulo,Productos escalares y vectoriales,Volumen del paralelepípedo,Volumen del tetraedro,Vértice de un paralelogramo,Ángulo,Área del triángulo,Área el paralelogramo, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/Extitles0000644000175000017500000000116310334440637025252 0ustar georgeskgeorgeskairellelo:Área el paralelogramo airetriang:Área del triángulo angle:Ángulo combi:Combinación combi2:Combinación 2 vectores combi4:Combinación 4 vectores combifind:Encontrar combinación combifind2:Encontrar combinación de 2 vectores givenscale:Dados productos escalares givenvec:Dado el producto vectorial lenvec:Producto vectorial y módulo lenvec2:Producto escalar y módulo II parallelo:Vértice de un paralelogramo perp2:Perpendicular a dos vectores perpvec:Perpendicular y producto vectorial rellin:Combinación lineal vecscal:Productos escalares y vectoriales volpara:Volumen del paralelepípedo voltetra:Volumen del tetraedro wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/var.proc0000644000175000017500000000115110060323403025163 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/0000755000175000017500000000000007245737572025010 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/vecscal/0000755000175000017500000000000007245662544026424 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/vecscal/wedge.gif0000644000175000017500000000017406533254441030200 0ustar georgeskgeorgeskGIF89a ãÿÿÿYYYWWW °°°„„„®®®UUUÙÙÙ---îîî»»»ªªª!ù, )ÈIë –Š0²ÄXF@`dáRêeÈ”¬€B—TpTËâ¾F#ãD;wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/givenvec/0000755000175000017500000000000007245662544026612 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/givenvec/wedge.gif0000644000175000017500000000017406533254441030366 0ustar georgeskgeorgeskGIF89a ãÿÿÿYYYWWW °°°„„„®®®UUUÙÙÙ---îîî»»»ªªª!ù, )ÈIë –Š0²ÄXF@`dáRêeÈ”¬€B—TpTËâ¾F#ãD;wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/lenvec2/0000755000175000017500000000000007245662544026342 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/lenvec2/wedge.gif0000644000175000017500000000017406533254441030116 0ustar georgeskgeorgeskGIF89a ãÿÿÿYYYWWW °°°„„„®®®UUUÙÙÙ---îîî»»»ªªª!ù, )ÈIë –Š0²ÄXF@`dáRêeÈ”¬€B—TpTËâ¾F#ãD;wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/perpvec/0000755000175000017500000000000007245662544026450 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/perpvec/wedge.gif0000644000175000017500000000017406533254441030224 0ustar georgeskgeorgeskGIF89a ãÿÿÿYYYWWW °°°„„„®®®UUUÙÙÙ---îîî»»»ªªª!ù, )ÈIë –Š0²ÄXF@`dáRêeÈ”¬€B—TpTËâ¾F#ãD;wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/lenvec/0000755000175000017500000000000007245662544026260 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/images/lenvec/wedge.gif0000644000175000017500000000017406533254441030034 0ustar georgeskgeorgeskGIF89a ãÿÿÿYYYWWW °°°„„„®®®UUUÙÙÙ---îîî»»»ªªª!ù, )ÈIë –Š0²ÄXF@`dáRêeÈ”¬€B—TpTËâ¾F#ãD;wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/about.phtml0000644000175000017500000000005310060323403025666 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/main.phtml0000644000175000017500000000003110060323403025474 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/INDEX0000644000175000017500000000114210333723440024310 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF vectores 3D description=colección de ejercicios con vectores del espacio. language=es category=exercise, oef domain=álgebra, álgebra lineal, geometría level=H5,H6,U1 keywords=vector, producto vectorial, suma de vectores, combinación lineal, polígono, poliedro, paralelogramo, paralelepípedo require= scoring=yes copyright=© 2001- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.10 wims_version=3.37f vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/0000755000175000017500000000000010060323403024277 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/rellin.oef0000644000175000017500000000303210333724702026267 0ustar georgeskgeorgesk\title{Combinación lineal} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000000} \integer{c11=random(2..10)*random(-1,1)} \integer{c12=random(2..10)*random(-1,1)} \integer{c13=random(2..10)*random(-1,1)} \integer{c14=random(2..10)*random(-1,1)} \integer{c21=random(2..10)*random(-1,1)} \integer{c22=random(2..10)*random(-1,1)} \integer{c23=random(2..10)*random(-1,1)} \integer{c24=random(2..10)*random(-1,1)} \integer{c31=random(2..10)*random(-1,1)} \integer{c32=random(2..10)*random(-1,1)} \integer{c33=random(2..10)*random(-1,1)} \integer{c34=random(2..10)*random(-1,1)} \statement{Tenemos 4 vectores del espacio:

v1 = (\c11,\c21,\c31) , v2 = (\c12,\c22,\c32) , v3 = (\c13,\c23,\c33) , v4 = (\c14,\c24,\c34) .

Hallar 4 enteros a,b,c,d tal que

a v1 + b v2 + c v3 + d v4 = 0 ,

con la condición de que los enteros a,b,c,d no sean todos nulos. } \answer{a}{\sx} \answer{b}{\sy} \answer{c}{\sz} \answer{d}{\st} \condition{a,b,c son enteros y no todos nulos} { abs(\sx)+abs(\sy)+abs(\sz)+abs(\st)>0 and abs(round(\sx)-(\sx))<=0 and abs(round(\sy)-(\sy))<=0 and abs(round(\sz)-(\sz))<=0 and abs(round(\st)-(\st))<=0 } \condition{La suma algebraica de los vectores es cero} { (\c11)*(\sx)+(\c12)*(\sy)+(\c13)*(\sz)+(\c14)*(\st)=0 and (\c21)*(\sx)+(\c22)*(\sy)+(\c23)*(\sz)+(\c24)*(\st)=0 and (\c31)*(\sx)+(\c32)*(\sy)+(\c33)*(\sz)+(\c34)*(\st)=0 }wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/lenvec2.oef0000644000175000017500000000157310334440612026344 0ustar georgeskgeorgesk\title{Producto escalar y módulo II} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{range=15} \integer{a1=random(1..\range)*random(-1,1)} \integer{b1=random(1..\range)*random(-1,1)} \integer{c1=random(1..\range)*random(-1,1)} \integer{l=random(3..\range)} \real{ll=sqrt((\a1)^2+(\b1)^2+(\c1)^2)} \integer{ss=random(1..floor(\l*\ll)-2)*random(-1,1)} \real{lon=sqrt(\l^2-(\ss/\ll)^2)*\ll} \statement{Sea u=(\a1,\b1,\c1) un vector del espacio. tenemos otro vector v cuyo módulo es \l. Sabiendo que el producto escalar <u,v> = \ss, ¿Cuál es el módulo del producto vectorial uv ? } \answer{Módulo}{\lon} \hint{Decomponer v en la suma de dos vectores v1 y v2, donde v1 es perpendicular a y v2 es proporcional a u. }wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/vecscal.oef0000644000175000017500000000150310333725421026422 0ustar georgeskgeorgesk\title{Productos escalares y vectoriales} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=random(1..\range)*random(-1,1)} \integer{c1=random(1..\range)*random(-1,1)} \integer{a2=2*random(-\mid..\mid)} \integer{b2=random(1..\range)*random(-1,1)} \integer{c2=random(1..\range)*random(-1,1)} \integer{v1=\b1*\c2-\c1*\b2} \integer{v2=\c1*\a2-\a1*\c2} \integer{v3=\a1*\b2-\b1*\a2} \integer{scal=\a1*\a2+\b1*\b2+\c1*\c2} \statement{Sea u=(\a1,\b1,\c1) un vector del espacio. Hallar el vector v tal que el producto escalar <u,v> = \scal, y el producto vectorial uv = (\v1,\v2,\v3). } \answer{v}{\a2,\b2,\c2}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/voltetra.oef0000644000175000017500000000301310333725242026641 0ustar georgeskgeorgesk\title{Volumen del tetraedro} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{x4=\x1+\a3} \integer{y4=\y1+\b3} \integer{z4=\z1+\c3} \real{d1=\a1*\b2-\a2*\b1} \real{d2=\b1*\c2-\b2*\c1} \real{d3=\c1*\a2-\c2*\a1} \real{vol=abs(\a1*\b2*\c3+\a2*\b3*\c1+\a3*\b1*\c2 -\a1*\b3*\c2-\a2*\b1*\c3-\a3*\b2*\c1)/6} \statement{Calcular el volumen del tetraedro cuyos 4 vértices son

A = (\x1,\y1,\z1) , B = (\x2,\y2,\z2) , C = (\x3,\y3,\z3) , D = (\x4,\y4,\z4) .

} \answer{Volumen}{\vol} \hint{Un tetraedro es un poliedro del espacio con 4 vértices.

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.

El volumen del paralelepípedo puede obtenerse mediante el producto mixto de tres vectores. }wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/combi2.oef0000644000175000017500000000172710333722143026163 0ustar georgeskgeorgesk\title{Combinación 2 vectores} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=2*random(-\mid..\mid)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b} \integer{B=\b1*\a+\b2*\b} \integer{C=\c1*\a+\c2*\b} \text{combi=htmlmath(\a*v1 + \b*v2)} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2)

tres vectores. Calcular el vector

v = \combi .

} \answer{v}{\A,\B,\C}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/combifind.oef0000644000175000017500000000221510333722347026741 0ustar georgeskgeorgesk\title{Encontrar combinación} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=2*random(-\mid..\mid)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b+\a3*\c} \integer{B=\b1*\a+\b2*\b+\b3*\c} \integer{C=\c1*\a+\c2*\b+\c3*\c} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2) , v3 = (\a3,\b3,\c3)

tres vectores del espacio y sea v=(\A,\B,\C) otro vector. Expesar v como combinación lineal de v1, v2 y v3 :

v = av1 + bv2 + cv3 .

} \answer{a}{\a} \answer{b}{\b} \answer{c}{\c}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/combi4.oef0000644000175000017500000000240210333722212026151 0ustar georgeskgeorgesk\title{Combinación 4 vectores} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=2*random(-\mid..\mid)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{a4=random(1..\range)*random(-1,1)} \integer{b4=random(1..\range)*random(-1,1)} \integer{c4=random(1..\range)*random(-1,1)} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{d=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b+\a3*\c+\a4*\d} \integer{B=\b1*\a+\b2*\b+\b3*\c+\b4*\d} \integer{C=\c1*\a+\c2*\b+\c3*\c+\c4*\d} \text{combi=htmlmath(\a*v1 + \b*v2 + \c*v3 + \d*v4)} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2) , v3 = (\a3,\b3,\c3) , v4 = (\a4,\b4,\c4)

cuatro vectores. Calcular el vector

v = \combi .

} \answer{v}{\A,\B,\C}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/airellelo.oef0000644000175000017500000000223710333721230026751 0ustar georgeskgeorgesk\title{Área el paralelogramo} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{x4=\x2+\a2} \integer{y4=\y2+\b2} \integer{z4=\z2+\c2} \real{d1=\a1*\b2-\a2*\b1} \real{d2=\b1*\c2-\b2*\c1} \real{d3=\c1*\a2-\c2*\a1} \real{aire=sqrt((\d1)^2+(\d2)^2+(\d3)^2)} \statement{Calcular el área del paralelogramo en el espacio, cuyos cuatro vértices son

(\x1,\y1,\z1) , (\x2,\y2,\z2) , (\x3,\y3,\z3) , (\x4,\y4,\z4) .

} \answer{Área}{\aire} \hint{El área del paralelogramos es el módulo del producto vectorial de los dos vectores que representan dos lados adyacentes del paralelogramo.}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/perp2.oef0000644000175000017500000000174410334440145026037 0ustar georgeskgeorgesk\title{Perpendicular a dos vectores} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{v1=\b1*\c2-\c1*\b2} \integer{v2=\c1*\a2-\a1*\c2} \integer{v3=\a1*\b2-\b1*\a2} \integer{c=random(1..2*\range)*random(-1,1)} \real{ratio=\c/\v3} \real{a=\v1*\ratio} \real{b=\v2*\ratio} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2)

dos vectores. Tenemos un vector v=(a,b,\c) que es perpendicular v1 y v2. ¿Cuál es el vector v ? } \answer{a}{\a} \answer{b}{\b} \hint{The vector product of v1 and v2 is perpendicular to both v1 and v2. }wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/airetriang.oef0000644000175000017500000000216510333721461027134 0ustar georgeskgeorgesk\title{Área del triángulo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{x4=\x2+\a2} \integer{y4=\y2+\b2} \integer{z4=\z2+\c2} \real{d1=\a1*\b2-\a2*\b1} \real{d2=\b1*\c2-\b2*\c1} \real{d3=\c1*\a2-\c2*\a1} \real{aire=0.5*sqrt((\d1)^2+(\d2)^2+(\d3)^2)} \statement{Hallar el área del triángulo cuyos vértices en el espacio son

(\x1,\y1,\z1) , (\x2,\y2,\z2) , (\x3,\y3,\z3) .

} \answer{Área}{\aire} \hint{El módulo del producto vectorial de dos vectores da el área del paralelogramo y la mitad de un paralelogramo es un triángulo.}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/.htaccess0000644000175000017500000000001606634516636026122 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/volpara.oef0000644000175000017500000000254610334437757026473 0ustar georgeskgeorgesk\title{Volumen del paralelepípedo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{x4=\x1+\a3} \integer{y4=\y1+\b3} \integer{z4=\z1+\c3} \real{d1=\a1*\b2-\a2*\b1} \real{d2=\b1*\c2-\b2*\c1} \real{d3=\c1*\a2-\c2*\a1} \real{vol=abs(\a1*\b2*\c3+\a2*\b3*\c1+\a3*\b1*\c2 -\a1*\b3*\c2-\a2*\b1*\c3-\a3*\b2*\c1)} \statement{Hallar el volumen del paralelepípedo que tiene como vértice A = (\x1,\y1,\z1) y tal que los 3 vértices adyacentes a A son

B = (\x2,\y2,\z2) , C = (\x3,\y3,\z3) , D = (\x4,\y4,\z4) .

} \answer{Volumev}{\vol} \hint{El volumen del paralelepípedo viene dado por el producto mixto de vectores.}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/combifind2.oef0000644000175000017500000000207410333722476027031 0ustar georgeskgeorgesk\title{Encontrar combinación de 2 vectores} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=2*random(-\mid..\mid)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b} \integer{B=\b1*\a+\b2*\b} \integer{C=\c1*\a+\c2*\b} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2)

dos vectores del espacio y sea v=(\A,\B,\C) otro vector. Expresar v como una combinación lineal de v1 y v2 :

v = av1 + bv2 .

} \answer{a}{\a} \answer{b}{\b}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/parallelo.oef0000644000175000017500000000216610334440310026753 0ustar georgeskgeorgesk\title{Vértice de un paralelogramo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{x4=\x2+\a2} \integer{y4=\y2+\b2} \integer{z4=\z2+\c2} \real{d1=\a1*\b2-\a2*\b1} \real{d2=\b1*\c2-\b2*\c1} \real{d3=\c1*\a2-\c2*\a1} \real{aire=sqrt((\d1)^2+(\d2)^2+(\d3)^2)} \statement{Sea el paralelogramo ABCD cuyos tres primeros vértices tienen de coordenadas

A = (\x1,\y1,\z1) , B = (\x2,\y2,\z2) , C = (\x4,\y4,\z4) .

Hallar las coordenadas del cuarto vértice D. } \answer{D}{\x3,\y3,\z3}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/lenvec.oef0000644000175000017500000000122110334440637026257 0ustar georgeskgeorgesk\title{Producto vectorial y módulo} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=random(1..\range)*random(-1,1)} \integer{b1=random(1..\range)*random(-1,1)} \integer{c1=random(1..\range)*random(-1,1)} \integer{l=random(1..\range)} \real{lon=\l*sqrt((\a1)^2+(\b1)^2+(\c1)^2)} \statement{Sea u=(\a1,\b1,\c1) un vector del espacio. Tenemos otro vector v que es perpendicular a u. Sabiendo que la longitud de v es igual a \l, calcular el módulo del producto vectorial uv ? } \answer{Módulo}{\lon}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/angle.oef0000644000175000017500000000212310333721711026065 0ustar georgeskgeorgesk\title{Ángulo} \language{fr} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{200} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=random(-\range..\range)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(-\range..\range)} \integer{x1=random(-\range..\range)} \integer{y1=random(-\range..\range)} \integer{z1=random(-\range..\range)} \integer{x2=\x1+\a1} \integer{y2=\y1+\b1} \integer{z2=\z1+\c1} \integer{x3=\x1+\a2} \integer{y3=\y1+\b2} \integer{z3=\z1+\c2} \integer{prod=\a1*\a2+\b1*\b2+\c1*\c2} \real{l1=sqrt((\a1)^2+(\b1)^2+(\c1)^2)} \real{l2=sqrt((\a2)^2+(\b2)^2+(\c2)^2)} \real{angle=acos(\prod/(\l1*\l2))*180/pi} \statement{Tenemos 3 puntos en el espacio:

\(A(\x1,\y1,\z1)) , \(B(\x2,\y2,\z2)) , \(C(\x3,\y3,\z3)) .

Hallar el ángulo \(\widehat{BAC}) (en grados, entre 0 y 180). } \answer{El ángulo}{\angle} \hint{Usar la relación entre el producto escalar de dos vectores y el ángulo que forman.}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/combi.oef0000644000175000017500000000202510333722065026074 0ustar georgeskgeorgesk\title{Combinación} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=2*random(-\mid..\mid)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\a2*\b+\a3*\c} \integer{B=\b1*\a+\b2*\b+\b3*\c} \integer{C=\c1*\a+\c2*\b+\c3*\c} \text{combi=htmlmath(\a*v1 + \b*v2 + \c*v3)} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2) , v3 = (\a3,\b3,\c3)

tres vectores del espacio. Calcular el vector

v = \combi .

} \answer{v}{\A,\B,\C}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/perpvec.oef0000644000175000017500000000255410333724236026460 0ustar georgeskgeorgesk\title{Perpendicular y producto vectorial} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{range=8} \text{alist=2,3,2,3,4,4,5,6,5,6,7} \text{blist=1,1,2,2,2,3,3,3,4,4,4} \integer{cnt=items(\alist)} \integer{r=random(1..\cnt)} \integer{a=item(\r,\alist)} \integer{b=item(\r,\blist)} \integer{c=1} \integer{A=random(2..\range)} \integer{B=random(2..\range)} \integer{C=\a*\A-\b*\B} \integer{r=random(1..12)} \integer{a1=item(\r,-\a,-\a,\b,\b,\c,\c, \a,\a,\b,\b,\c,\c)} \integer{b1=item(\r,\b,\c,-\a,\c,-\a,\b, \b,\c,\a,\c,\a,\b)} \integer{c1=item(\r,\c,\b,\c,-\a,\b,-\a, \c,\b,\c,\a,\b,\a)} \integer{a2=item(\r,\A,\A,\B,\B,\C,\C, -\A,-\A,\B,\B,\C,\C)} \integer{b2=item(\r,\B,\C,\A,\C,\A,\B, \B,\C,-\A,\C,-\A,\B)} \integer{c2=item(\r,\C,\B,\C,\A,\B,\A, \C,\B,\C,-\A,\B,-\A)} \integer{r1=random(1,2)} \integer{r2=random(1,2)} \integer{a1=\r1=1?-\a1} \integer{b1=\r1=1?-\b1} \integer{c1=\r1=1?-\c1} \integer{a2=\r2=1?-\a2} \integer{b2=\r2=1?-\b2} \integer{c2=\r2=1?-\c2} \integer{v1=\b1*\c2-\c1*\b2} \integer{v2=\c1*\a2-\a1*\c2} \integer{v3=\a1*\b2-\b1*\a2} \statement{Sea u=(\a1,\b1,\c1) un vector del espacio. Hallar el vector v que es perpendicular a u y se cumple la igualdad del producto vectorial: uv = (\v1,\v2,\v3). } \answer{v}{\a2,\b2,\c2}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/givenvec.oef0000644000175000017500000000147210333723207026615 0ustar georgeskgeorgesk\title{Dado el producto vectorial} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=8} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=random(1..\range)*random(-1,1)} \integer{c1=random(1..\range)*random(-1,1)} \integer{a2=random(1..\mid)*random(-2,2)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=random(1..\range)*random(-1,1)} \integer{v1=\b1*\c2-\c1*\b2} \integer{v2=\c1*\a2-\a1*\c2} \integer{v3=\a1*\b2-\b1*\a2} \integer{scal=\a1*\a2+\b1*\b2+\c1*\c2} \statement{Sea u=(\a1,\b1,\c1) un vector del espacio. Hallar el vector v=(\a2,b,c) que cumpla la igualdad del producto vectorial:

uv = (\v1,\v2,\v3) .

} \answer{b}{\b2} \answer{c}{\c2}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/src/givenscale.oef0000644000175000017500000000220710333722721027124 0ustar georgeskgeorgesk\title{Dados productos escalares} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \integer{mid=5} \integer{range=\mid*2} \integer{a1=2*random(-\mid..\mid-2)+1} \integer{b1=2*random(-\mid..\mid)} \integer{c1=2*random(-\mid..\mid)} \integer{a2=random(-\range..\range)} \integer{b2=2*random(-\mid..\mid-2)+1} \integer{c2=2*random(-\mid..\mid)} \integer{a3=random(-\range..\range)} \integer{b3=random(-\range..\range)} \integer{c3=2*random(-\mid..\mid-2)+1} \integer{a=random(1..\range)*random(-1,1)} \integer{b=random(1..\range)*random(-1,1)} \integer{c=random(1..\range)*random(-1,1)} \integer{A=\a1*\a+\b1*\b+\c1*\c} \integer{B=\a2*\a+\b2*\b+\c2*\c} \integer{C=\a3*\a+\b3*\b+\c3*\c} \statement{Sean

v1 = (\a1,\b1,\c1) , v2 = (\a2,\b2,\c2) , v3 = (\a3,\b3,\c3)

tres vectores del espacio. Hallar el vector v que verifica las siguientes igualdades de productos escalares:

<v,v1> = \A , <v,v2> = \B , <v,v3> = \C .

} \answer{v}{\a,\b,\c}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/endhook.phtml0000644000175000017500000000077210333712166026226 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting

Herramientas disponibles en línea: !href target=wims_tool module=tool/linear/linsolver Solucionador de sistemas , !href target=wims_tool module=tool/linear/matrix Calculador de matrices , !href target=wims_tool module=tool/linear/vector calculador de vectores , !href target=wims_tool module=tool/number/calcnum calculador numérico . (Estas herramientas aparecerán en otra ventana de su navegador.) !endif wims-modules-es-3.64.orig/modules/H6/geometry/oefvec3d.es/help.phtml0000644000175000017500000000005210060323403025503 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/0000755000175000017500000000000010334362672023642 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/0000755000175000017500000000000010334362672024400 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/poinplan2.def0000644000175000017500000000762210333711457026767 0ustar georgeskgeorgesk!set title=Distancia de un punto a un plano 2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=c,r varcnt=25 prevarcnt=24 postvarcnt=0 replycnt=1 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 -10, 10 val6=$[rint($(tmp0))] tmp0=!randint -10, 10 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0))] tmp0=!randint -5, 5 val9=$[rint($(tmp0))] tmp0=!randint -5, 5 val10=$[rint($(tmp0))] tmp0=!randint -1, 1 val11=$[rint($(tmp0))] tmp0=!randint -5, 5 val12=$[rint($(tmp0))] tmp0=!randint -5, 5 val13=$[rint($(tmp0))] tmp0=!randint -1, 1 val14=$[rint($(tmp0))] !ifval $val12=$val9 and $val13=$val10 and $val14=$val11 val12=$[rint( $val12-1)] !endif tmp0=!randint -5, 5 val15=$[rint($(tmp0))] tmp0=!randint -5, 5 val16=$[rint($(tmp0))] tmp0=!randint -5, 5 val17=$[rint($(tmp0))] val18=$val12-($val9),$val13-($val10),$val14-($val11) val19=$val15-($val9),$val16-($val10),$val17-($val11) !ifval ($val12-($val9))*($val16-($val10))=($val15-($val9))*($val13-($val10)) and ($val15-($val12))*($val10-($val13))=($val9-($val12))*($val16-($val13)) and ($val9-($val15))*($val13-($val16))=($val12-($val15))*($val10-($val16)) val20= 1 !else val20=2 !endif val21=una recta,un plano tmp0=!item $val20 of $val21 val22=$(tmp0) val23=$val6-($val9),$val7-($val10),$val8-($val11) !ifval $val22=1 val19= $val23 !endif tmp0=!item 2 of $val18 tmp1=!item 3 of $val19 tmp2=!item 3 of $val18 tmp3=!item 2 of $val19 tmp4=!item 3 of $val18 tmp5=!item 1 of $val19 tmp6=!item 1 of $val18 tmp7=!item 3 of $val19 tmp8=!item 1 of $val18 tmp9=!item 2 of $val19 tmp10=!item 2 of $val18 tmp11=!item 1 of $val19 val24=$[(($(tmp0))*($(tmp1))-($(tmp2))*($(tmp3)))^2 +(($(tmp4))*($(tmp5))-($(tmp6))*($(tmp7)))^2 +(($(tmp8))*($(tmp9))-($(tmp10))*($(tmp11)))^2] !if $val22=1 tmp0=!item 1 of $val18 tmp1=!item 2 of $val18 tmp2=!item 3 of $val18 val25=$[(($val24)/($(tmp0))^2+($(tmp1))^2+($(tmp2))^2)^(1/2)] !else tmp=!trim $val18 $val19 $val23 val26=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val26 tmp0=!exec pari matdet([$tmp]) val25=$[abs($(tmp0))/($val24)^(1/2)] !endif oefsteps=choice 1 reply 1 nextstep=!nosubst choice 1 reply 1 !readproc oef/steps.proc replytype1=numeric replyname1=distancia replygood1=$[$val25] choicename1= choicegood1=$val22 choicebad1=$val21 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Soit !insmath Q = ($val9 , $val10 , $val11) $() , !insmath R = ($val12 , $val13 , $val14) $() , !insmath S = ($val15 , $val16 , $val17) $(). !if $m_step <= 1 $() Los puntos !insmath Q $(), !insmath R $() et !insmath S $() definen !read oef/embed.phtml choice 1 $() !endif $() !if $m_step=2 $()Calcular la distancia del punto !insmath P = ($val6 , $val7 , $val8) $() !if $val20=2 $()al plano que contiene a los puntos !insmath Q $(), !insmath R $() y !insmath S $(). !endif $() !if $val20=1 $()a la recta que contiene a los puntos !insmath Q $(), !insmath R $() et !insmath S $(). !endif $() !endif $() $() !exit :hint $() !if $m_step=2 and $val20=2 $() La distancia de un punto !insmath P $() al plano determinado por tres puntos !insmath Q $(), !insmath R $() et !insmath S $() puede calcularse mediante la fórmula

!insmath \frac{ |\vec{QR}.(\vec{QS}\wedge \vec{QP})||}{|| \vec{QR}\wedge \vec{QS}|} = \frac{|det(\vec{QR} , \vec{QS} , \vec{QP})|}{|| \vec{QR}\wedge \vec{QS}|| } $()
!endif $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,10,11,12,13,14,15,16,17,20 embedcnt=1 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/plan.def0000644000175000017500000001114110333710113025772 0ustar georgeskgeorgesk!set title=Proyección ortogonal inversa !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Adeline GRELOT et Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r varcnt=30 prevarcnt=26 postvarcnt=3 replycnt=1 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 !readproc slib/matrix/invertible 3,2 tmp0=$slib_out tmp=!trim $(tmp0) val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val6 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val7=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val8=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val9=$(tmp0) tmp0=!item 1 of $val7 val10=$[rint($(tmp0))] tmp0=!item 2 of $val7 val11=$[rint($(tmp0))] tmp0=!item 3 of $val7 val12=$[rint($(tmp0))] !ifval $val12=0 tmp0=!randint 1, 3 tmp1=!randitem -1,1 val12=$[rint($(tmp0)*($(tmp1)))] !endif tmp0=!item 1 of $val9 val13=$[rint($(tmp0))] tmp0=!item 2 of $val9 val14=$[rint($(tmp0))] tmp0=!item 3 of $val9 val15=$[rint($(tmp0))] !ifval $val13=0 and $val14=0 tmp0=!randint 1, 3 tmp1=!randitem -1,1 val13=$[rint( $(tmp0)*($(tmp1)))] !endif val15=$[rint(-(($val13)*($val10)+($val14)*($val11)))] val13=$[rint(($val13)*($val12))] val14=$[rint(($val14)*($val12))] val9=$val13 , $val14 , $val15 val16=$[rint($val13*($val10)+($val14)*($val11)+($val15)*($val12))] tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp0=!item 1 of $val17 tmp1=!item 2 of $val17 tmp2=!item 3 of $val17 tmp=!translate ";': to $ $ in ($val13)*($(tmp0)) + ($val14)*($(tmp1)) + ($val15)*($(tmp2)) tmp=!lower $tmp tmp3=!exec maxima fullratsimp($tmp); val18=$(tmp3) tmp0=!item 1 of $val17 tmp1=!item 2 of $val17 tmp2=!item 3 of $val17 tmp=!translate ";': to $ $ in ($(tmp0))^2 + ($(tmp1))^2 + ($(tmp2))^2 tmp=!lower $tmp tmp3=!exec maxima fullratsimp($tmp); val19=$(tmp3) tmp0=!item 1 of $val17 t_=!rawmath $val13-($val18)*($(tmp0)/$val19) val20=!exec pari print($t_) tmp0=!item 2 of $val17 t_=!rawmath $val14-($val18)*($(tmp0)/$val19) val21=!exec pari print($t_) tmp0=!item 3 of $val17 t_=!rawmath $val15-($val18)*($(tmp0))/$val19 val22=!exec pari print($t_) val23=$val20 , $val21 , $val22 tmp=!translate ";': to $ $ in ($val10)*x + ($val11)*y + ($val12)*z tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val24=$(tmp0) tmp0=!item 1 of $val8 tmp1=!item 2 of $val8 tmp2=!item 3 of $val8 tmp=!translate ";': to $ $ in ($(tmp0))*x + ($(tmp1))*y + ($(tmp2))*z tmp=!lower $tmp tmp3=!exec maxima fullratsimp($tmp); val25=$(tmp3) replytype1=vector replyname1=vector de P replygood1=?analyze 26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath \RR^3 $() con su producto escalar usual, !insmath P $() el plano definido por la ecuación
!insmath $val24=0 $()
y !insmath P' $() el plano definido por la ecuación
!insmath $val25=0 $()
.

Encontrar un vector no nulo !insmath v $() de !insmath P $() tal que la proyección ortogonal de !insmath v $() sobre !insmath P' $() sea ($val20,$val21,$val22). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!item 1 of $val26 tmp1=!item 2 of $val17 tmp2=!item 2 of $val26 tmp3=!item 1 of $val17 val27=$[($(tmp0)-($val20))*($(tmp1)) -($(tmp2)-($val21))*($(tmp3))] tmp0=!item 1 of $val26 tmp1=!item 3 of $val17 tmp2=!item 3 of $val26 tmp3=!item 1 of $val17 val28=$[($(tmp0)-($val20))*($(tmp1)) -($(tmp2)-($val22))*($(tmp3))] tmp0=!item 3 of $val26 tmp1=!item 2 of $val17 tmp2=!item 2 of $val26 tmp3=!item 3 of $val17 val29=$[($(tmp0)-($val22))*($(tmp1)) -($(tmp2)-($val21))*($(tmp3))] !exit :feedback !exit :test tmp0=!item 1 of $val26 tmp1=!item 2 of $val26 tmp2=!item 3 of $val26 tmp3=!item 1 of $val26 tmp4=!item 2 of $val26 tmp5=!item 3 of $val26 !ifval $(tmp0)*($val10)+($(tmp1))*($val11)+ ($(tmp2))*($val12)=0 and ($(tmp3))^2+($(tmp4))^2+($(tmp5))^2 !=0 condtest1=1 !else condtest1=0 !endif condname1=($val26) pertenece a \(P) y es no nulo ? !ifval $val27=0 and $val28=0 and $val29=0 condtest2=1 !else condtest2=0 !endif condname2=La proyección ortogonal de ($val26) sobre \(P') es ($val23) ? !exit :stat vsavelist=10,11,12,17,20,21,22,23,24,25,26 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/orthon.def0000644000175000017500000001140310333707117026364 0ustar georgeskgeorgesk!set title=Bases ortonormales !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r,r,r,r,r,r varcnt=16 prevarcnt=5 postvarcnt=10 replycnt=6 choicecnt=0 conditioncnt=8 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, 2 tmp1=!randint -2, -1 tmp2=!randitem $(tmp0), $(tmp1) tmp3=!randint 1, 2 tmp4=!randint -2, -1 tmp5=!randitem $(tmp3), $(tmp4) tmp6=!randint 1, 2 tmp7=!randint -2, -1 tmp8=!randitem $(tmp6), $(tmp7) val6=$(tmp2),$(tmp5),$(tmp8) tmp0=!randint -2, 2 tmp1=!randint -2, 2 val7=$(tmp0),0,$(tmp1) tmp0=!randint -2, 2 tmp1=!randint -2, 2 val7=$val7 $(tmp0),$(tmp1),0 tmp0=!randint -2, 2 tmp1=!randint -2, 2 val7=$val7 0,$(tmp0),$(tmp1) tmp=!translate internal $ $ to ; in $val7 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val7=$(tmp0) oefsteps=reply1, reply2,reply3 reply4,reply5,reply6 nextstep=!nosubst reply1, reply2,reply3 reply4,reply5,reply6 !readproc oef/steps.proc replytype1=vector replyname1=Primer vector \(v_1) replygood1=?analyze 8 replytype2=vector replyname2=Segundo vector \(v_2) replygood2=?analyze 9 replytype3=vector replyname3=Vector \(v_3) del ortogonal replygood3=?analyze 10 replytype4=numeric replyname4=Norma de \(v_1) replygood4=?analyze 11 replytype5=numeric replyname5=Norma de \(v_2) replygood5=?analyze 12 replytype6=numeric replyname6=Norma de \(v_3) replygood6=?analyze 13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath \RR^3 $() con el producto escalar usual que denotaremos por !insmath < . , . > $() y !insmath F $() el subespacio vectorial generado por ($val6) y ($val7). !if $m_step=1 $()Construir una base ortogonal de !insmath F $() formada por los vectores !insmath v_1 $(), !insmath v_2 $() con coeficientes enteros. Determinar una base !insmath v_3 $() (coeficientes enteros) del ortogonal !insmath F^\perp $() de !insmath F $() .

!insmath F^\perp= \{(x , y , z) \in \RR^3, <(x , y , z) , f> = 0 \ {\rm pour } \ f \in F\} $()
!endif $() !if $m_step=2 $()Calcular la norma de los tres vectores !insmath v_1 = ($val8) $() , !insmath v_2 = ($val9) $() , !insmath v_3 = ($val10) $() que has encontrado. !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef t_=!replace internal \( by ( in print(matrank([$val8;$val9])) tmp0=!exec pari $t_ val14=$(tmp0) t_=!replace internal \( by ( in print(matrank([$val8;$val6;$val7])) tmp0=!exec pari $t_ val15=$(tmp0) t_=!replace internal \( by ( in print(matrank([$val9;$val6;$val7])) tmp0=!exec pari $t_ val16=$(tmp0) tmp0=!item 1 of $val8 tmp1=!item 1 of $val9 tmp2=!item 2 of $val8 tmp3=!item 2 of $val9 tmp4=!item 3 of $val8 tmp5=!item 3 of $val9 val17=$[($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5))] tmp0=!item 1 of $val10 tmp1=!item 2 of $val10 tmp2=!item 3 of $val10 val18=$[($(tmp0))^2+($(tmp1))^2+($(tmp2))^2] val19=$[($val18)^(1/2)] tmp0=!item 1 of $val8 tmp1=!item 2 of $val8 tmp2=!item 3 of $val8 val20=$[(($(tmp0))^2+($(tmp1))^2+($(tmp2))^2)^(1/2)] tmp0=!item 1 of $val9 tmp1=!item 2 of $val9 tmp2=!item 3 of $val9 val21=$[(($(tmp0))^2+($(tmp1))^2+($(tmp2))^2)^(1/2)] tmp0=!item 1 of $val6 tmp1=!item 1 of $val10 tmp2=!item 2 of $val6 tmp3=!item 2 of $val10 tmp4=!item 3 of $val6 tmp5=!item 3 of $val10 val22=$[($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5))] tmp0=!item 1 of $val7 tmp1=!item 1 of $val10 tmp2=!item 2 of $val7 tmp3=!item 2 of $val10 tmp4=!item 3 of $val7 tmp5=!item 3 of $val10 val23=$[($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5))] !exit :feedback !exit :test !ifval $val14=2 condtest1=1 !else condtest1=0 !endif condname1=Los dos vectores forman un sistema libre !ifval $val15=2 condtest2=1 !else condtest2=0 !endif condname2=\(v_1) pertenece a F !ifval $val16=2 condtest3=1 !else condtest3=0 !endif condname3=\(v_2) pertenece a F !ifval $val17=0 condtest4=1 !else condtest4=0 !endif condname4=\(v_1) y \(v_2) forman un abase ortogonal !ifval $val22=0 and $val23=0 and $val18<>0 condtest5=1 !else condtest5=0 !endif condname5=El vector \(v_3) es no nulo y pertenece al ortogonal de \(F) !ifval $val20=$val11 condtest6=1 !else condtest6=0 !endif condname6=Norma de \(v_1)=$val11 !ifval $val21=$val12 condtest7=1 !else condtest7=0 !endif condname7=Norma de \(v_2)=$val12 !ifval $val19=$val13 condtest8=1 !else condtest8=0 !endif condname8=Norma de \(v_3) =$val13 !exit :stat vsavelist=6,7,8,9,10,11,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/droite.log0000644000175000017500000000274110101514015026353 0ustar georgeskgeorgeskThis is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2) (format=pdflatex 2004.7.13) 27 JUL 2004 16:54 entering extended mode \write18 enabled. %&-line parsing enabled. (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx) **droite.def (./droite.def{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg} LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, nohyphenation, loa ded. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.1 ! set title=Distance entre deux droites ? ! Emergency stop. ... l.1 ! set title=Distance entre deux droites You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Here is how much of TeX's memory you used: 6 strings out of 95328 181 string characters out of 1187693 44474 words of memory out of 1500001 3163 multiletter control sequences out of 10000+50000 3640 words of font info for 14 fonts, out of 1000000 for 2000 14 hyphenation exceptions out of 1000 5i,0n,4p,51b,14s stack positions out of 5000i,500n,6000p,200000b,40000s 0 PDF objects out of 300000 0 named destinations out of 131072 1 words of extra memory for PDF output out of 65536 No pages of output. wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/projb.def0000644000175000017500000001071710333705747026205 0ustar georgeskgeorgesk!set title=Proyección ortogonal 1 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Adeline GRELOT et Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r varcnt=19 prevarcnt=18 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(3)] tmp0=!randint 1, 2 tmp1=!randint -2, -1 tmp2=!randitem $(tmp0), $(tmp1) tmp3=!randint 1, 2 tmp4=!randint -2, -1 tmp5=!randitem $(tmp3), $(tmp4) tmp6=!randint 1, 2 tmp7=!randint -2, -1 tmp8=!randitem $(tmp6), $(tmp7) val7=$(tmp2),$(tmp5),$(tmp8) tmp0=!randint -2, 2 tmp1=!randint -2, 2 val8=$(tmp0),0,$(tmp1) tmp0=!randint -2, 2 tmp1=!randint -2, 2 val8=$val8 $(tmp0),$(tmp1),0 tmp0=!randint -2, 2 tmp1=!randint -2, 2 val8=$val8 0,$(tmp0),$(tmp1) tmp=!translate internal $ $ to ; in $val8 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val8=$(tmp0) tmp0=!randint 1, 2 tmp1=!randint -2, -1 tmp2=!randitem $(tmp0), $(tmp1) tmp3=!randint 1, 2 tmp4=!randint -2, -1 tmp5=!randitem $(tmp3), $(tmp4) tmp6=!randint 1, 2 tmp7=!randint -2, -1 tmp8=!randitem $(tmp6), $(tmp7) val9=$(tmp2),$(tmp5),$(tmp8) tmp0=!item 1 of $val7 tmp1=!item 1 of $val8 tmp2=!item 2 of $val7 tmp3=!item 2 of $val8 tmp4=!item 3 of $val7 tmp5=!item 3 of $val8 tmp=!translate ";': to $ $ in ($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5)) tmp=!lower $tmp tmp6=!exec maxima fullratsimp($tmp); val10=$(tmp6) tmp0=!item 1 of $val7 tmp1=!item 2 of $val7 tmp2=!item 3 of $val7 tmp=!translate ";': to $ $ in ($(tmp0))^2+($(tmp1))^2+($(tmp2))^2 tmp=!lower $tmp tmp3=!exec maxima fullratsimp($tmp); val11=$(tmp3) tmp0=!item 1 of $val8 tmp1=!item 2 of $val8 tmp2=!item 3 of $val8 tmp=!translate ";': to $ $ in ($(tmp0))^2+($(tmp1))^2+($(tmp2))^2 tmp=!lower $tmp tmp3=!exec maxima fullratsimp($tmp); val12=$(tmp3) tmp=!trim $val11, $val10 $val10, $val12 val13=!translate internal $ \ $ to ;; in $tmp tmp0=!item 1 of $val9 tmp1=!item 1 of $val8 tmp2=!item 2 of $val9 tmp3=!item 2 of $val8 tmp4=!item 3 of $val9 tmp5=!item 3 of $val8 tmp=!translate ";': to $ $ in ($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5)) tmp=!lower $tmp tmp6=!exec maxima fullratsimp($tmp); val14=$(tmp6) tmp0=!item 1 of $val9 tmp1=!item 1 of $val7 tmp2=!item 2 of $val9 tmp3=!item 2 of $val7 tmp4=!item 3 of $val9 tmp5=!item 3 of $val7 tmp=!translate ";': to $ $ in ($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5)) tmp=!lower $tmp tmp6=!exec maxima fullratsimp($tmp); val15=$(tmp6) tmp=!translate $ $ to ; in $val13 tmp0=!exec pari matdet([$tmp]) !if $(tmp0) =0 t_=!rawmath ($val15)/($val11) val16=!exec pari print($t_) tmp0=!item 1 of $val7 tmp1=!item 2 of $val7 tmp2=!item 3 of $val7 val17=($val16)*($(tmp0)) , ($val16)*($(tmp1)) , ($val16)*($(tmp2)) !else tmp=!translate ";': to $ $ in (($val15)*($val12)-($val14)*($val10))/(($val11)*($val12)-($val10)^2) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); t_=!rawmath $(tmp0) val18=!exec pari print($t_) tmp=!translate ";': to $ $ in (($val15)*($val10)-($val14)*($val11))/(($val10)^2-($val11)*($val12)) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); t_=!rawmath $(tmp0) val19=!exec pari print($t_) tmp0=!item 1 of $val7 tmp1=!item 1 of $val8 tmp=!translate ";': to $ $ in ($val18)*($(tmp0)) + ($val19)*($(tmp1)) tmp=!lower $tmp tmp2=!exec maxima fullratsimp($tmp); tmp3=!item 2 of $val7 tmp4=!item 2 of $val8 tmp=!translate ";': to $ $ in ($val18)*($(tmp3)) + ($val19)*($(tmp4)) tmp=!lower $tmp tmp5=!exec maxima fullratsimp($tmp); tmp6=!item 3 of $val7 tmp7=!item 3 of $val8 tmp=!translate ";': to $ $ in ($val18)*($(tmp6))+($val19)*($(tmp7)) tmp=!lower $tmp tmp8=!exec maxima fullratsimp($tmp); val17=$(tmp2) , $(tmp5) , $(tmp8) !endif replytype1=vector replyname1=proyección ortogonal replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath \RR^3 $() con el producto escalar usual y !insmath F $() el subespacio vectorial generado por ($val7) y ($val8).

Hallar la proyección ortogonal del vector ($val9) sobre !insmath F $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/pointplan.def0000644000175000017500000000324410333711525027061 0ustar georgeskgeorgesk!set title=Distancia de un punto a un plano !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r varcnt=11 prevarcnt=10 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=0 feedbackcnt=1 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 -10, 10 val6=$[rint($(tmp0))] tmp0=!randint -10, 10 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0))] tmp0=!randint -10, 10 val9=$[rint($(tmp0))] tmp0=!randint -10, 10 val10=$[rint($(tmp0))] tmp0=!randint -10, 10 val11=$[rint($(tmp0))] !ifval ($val9)^2+($val10)^2+($val11)^2=0 tmp0=!randint 1, 4 val9=$[rint( $val9+$(tmp0))] !endif tmp0=!randint -10, 10 val12=$[rint($(tmp0))] tmp=!translate ";': to $ $ in ($val9)*x + ($val10)*y + ($val11)*z tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val13=!rawmath $(tmp0) val14=$[abs(($val9)*($val6)+($val10)*($val7)+($val11)*($val8)-$val12)/(($val9)^2+($val10)^2+($val11)^2)^(1/2)] replytype1=numeric replyname1=distancia replygood1=$[$val14] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular la distancia del punto ($val6,$val7,$val8) al plano de !insmath \RR^3 $() de ecuación !insmath $val13 = $val12 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !ifval $m_reply1< 0

Una distancia es un número real positivo $() !endif !exit :test !exit :stat vsavelist=6,7,8,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/proje.def0000644000175000017500000000530210333706225026172 0ustar georgeskgeorgesk!set title=Proyección ortogonal 2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Adeline GRELOT et Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r varcnt=14 prevarcnt=13 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(3)] tmp0=!randint -5, -1 tmp1=!randint 1, 5 tmp2=!randitem $(tmp0),$(tmp1) val7=$[rint($(tmp2))] tmp0=!randint -5, -1 tmp1=!randint 1, 5 tmp2=!randitem $(tmp0),$(tmp1) val8=$[rint($(tmp2))] tmp0=!randint -5, -1 tmp1=!randint 1, 5 tmp2=!randitem $(tmp0),$(tmp1) val9=$[rint($(tmp2))] tmp0=!randint 1, 2 tmp1=!randint -2, -1 tmp2=!randitem $(tmp0), $(tmp1) tmp3=!randint 1, 2 tmp4=!randint -2, -1 tmp5=!randitem $(tmp3), $(tmp4) tmp6=!randint 1, 2 tmp7=!randint -2, -1 tmp8=!randitem $(tmp6), $(tmp7) val10=$(tmp2),$(tmp5),$(tmp8) val11=$val7,$val8,$val9 tmp0=!item 1 of $val10 tmp1=!item 1 of $val11 tmp2=!item 2 of $val10 tmp3=!item 2 of $val11 tmp4=!item 3 of $val10 tmp5=!item 3 of $val11 tmp=!translate ";': to $ $ in ($(tmp0))*($(tmp1))+($(tmp2))*($(tmp3))+($(tmp4))*($(tmp5)) tmp=!lower $tmp tmp6=!exec maxima fullratsimp($tmp); t_=!rawmath $(tmp6) val12=!exec pari print($t_) tmp0=!item 1 of $val11 tmp1=!item 2 of $val11 tmp2=!item 3 of $val11 tmp=!translate ";': to $ $ in ($(tmp0))^2+($(tmp1))^2+($(tmp2))^2 tmp=!lower $tmp tmp3=!exec maxima fullratsimp($tmp); t_=!rawmath $(tmp3) val13=!exec pari print($t_) tmp0=!item 1 of $val10 tmp1=!item 1 of $val11 t_=!rawmath $(tmp0)-($val12)/$val13*($(tmp1)) val14=!exec pari print($t_) tmp0=!item 2 of $val10 tmp1=!item 2 of $val11 t_=!rawmath $(tmp0)-($val12)/$val13*($(tmp1)) val15=!exec pari print($t_) tmp0=!item 3 of $val10 tmp1=!item 3 of $val11 t_=!rawmath $(tmp0)-($val12)/$val13*($(tmp1)) val16=!exec pari print($t_) val17=$val14,$val15,$val16 tmp=!translate ";': to $ $ in ($val7)*x + ($val8)*y + ($val9)*z tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val18=$(tmp0) replytype1=vector replyname1=proyección ortogonal replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Sea !insmath \RR^3 $() con el producto escalar usual y !insmath F $() el subespacio vectorial de ecuación

!insmath $val18=0 $().

Hallar la proyección ortogonal del vector ($val10) sobre !insmath F $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,18 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/droite2.def0000644000175000017500000001432410333646500026426 0ustar georgeskgeorgesk!set title=Distancia entre dos rectas 2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=c,r varcnt=38 prevarcnt=37 postvarcnt=0 replycnt=1 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 -10, 10 val6=$[rint($(tmp0))] tmp0=!randint -10, 10 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0))] !ifval ($val6)^2+($val7)^2+($val8)^2=0 tmp0=!randint 1, 4 val8=$[rint( $(tmp0))] !endif tmp0=!randint -5, 5 val9=$[rint($(tmp0))] tmp0=!randint -5, 5 val10=$[rint($(tmp0))] tmp0=!randint -1, 1 val11=$[rint($(tmp0))] tmp0=!randitem 1,0 val12=$(tmp0) tmp0=!randitem 1,2,3,-1,-2 val13=$(tmp0) !ifval $val12=1 tmp0=!randint -5, 5 val14=$[rint( $(tmp0))] !else val14=$[rint( ($val9)+($val13)*($val6))] !endif !ifval $val12=1 tmp0=!randint -5, 5 val15=$[rint( $(tmp0))] !else val15=$[rint( ($val10)+($val13)*($val7))] !endif !ifval $val12=1 tmp0=!randint -5, 5 val16=$[rint( $(tmp0))] !else val16=$[rint( ($val11)+($val13)*($val8))] !endif tmp0=!randitem 1,2 val17=$(tmp0) tmp0=!randint 1, 5 tmp1=!randitem 1,-1 val18=$[rint($(tmp0)*$(tmp1))] !ifval $val17=1 tmp0=!randint -10, 10 val19=$[rint( $(tmp0))] !else val19=$[rint( ($val18)*($val6))] !endif !ifval $val17=1 tmp0=!randint -10, 10 val20=$[rint( $(tmp0))] !else val20=$[rint( ($val18)*($val7))] !endif !ifval $val17=1 tmp0=!randint -10, 10 val21=$[rint( $(tmp0))] !else val21=$[rint( ($val18)*($val8))] !endif !ifval ($val19)^2+($val20)^2+($val21)^2=0 tmp0=!randint 1, 4 val19=$[rint( $(tmp0))] !endif !ifval $val6<>0 or $val7<>0 tmp=!translate ";': to $ $ in (($val7)*x - ($val9)*($val7) - ($val6)*y + ($val6)*$val10) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in ($val8)*x - ($val8)*($val9) - ($val6)*z + ($val6)*($val11) tmp=!lower $tmp tmp1=!exec maxima fullratsimp($tmp); val22= $(tmp0) = 0 , $(tmp1) = 0 !else val22= x = $val9 , y = $val10 !endif !ifval $val19<>0 or $val20<>0 tmp=!translate ";': to $ $ in ($val20)*x - ($val20)*($val14) - ($val19)*y + ($val19)*$val15 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in ($val21)*x - ($val21)*($val14) - ($val19)*z + ($val19)*($val16) tmp=!lower $tmp tmp1=!exec maxima fullratsimp($tmp); val23= $(tmp0) = 0 , $(tmp1) = 0 !else val23= x = $val14 , y = $val15 !endif val24=$[(($val19)*($val7)-($val20)*($val6))^2+(($val21)*($val7)-($val20)*($val8))^2+(($val19)*($val8)-($val21)*($val6))^2] tmp=!trim $val9 - ($val14) , $val10 - ($val15) , $val11 - ($val16) $val6,$val7,$val8 $val19,$val20,$val21 val25=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val25 tmp0=!exec pari matdet([$tmp]) val26=$[$(tmp0)] val27=paralelas o coincidentes, secantes, no coplanarias (se cruzan) !ifval $val24=0 val28= 1 !else val28=3 !endif !ifval $val26=0 and $val24 <>0 val28= 2 !endif tmp0=!item $val28 of $val27 val29=$(tmp0) !if $val28=2 val30=$[(($val6)*($val19)+($val7)*($val20)+($val8)*($val21))/((($val6)^2+($val7)^2+($val8)^2)*(($val19)^2+($val20)^2+($val21)^2))^(1/2) ] !else val31=$val6 , $val7 , $val8 val32=$val14 - ($val9) , $val15 - ($val10) , $val16 - ($val11) !ifval $val28 = 3 val33= $val19,$val20,$val21 !endif !ifval $val28=1 val33= $val32 !endif tmp0=!item 2 of $val31 tmp1=!item 3 of $val33 tmp2=!item 3 of $val31 tmp3=!item 2 of $val33 tmp4=!item 3 of $val31 tmp5=!item 1 of $val33 tmp6=!item 1 of $val31 tmp7=!item 3 of $val33 tmp8=!item 1 of $val31 tmp9=!item 2 of $val33 tmp10=!item 2 of $val31 tmp11=!item 1 of $val33 val34=$[(($(tmp0))*($(tmp1))-($(tmp2))*($(tmp3)))^2 +(($(tmp4))*($(tmp5))-($(tmp6))*($(tmp7)))^2 +(($(tmp8))*($(tmp9))-($(tmp10))*($(tmp11)))^2] !ifval $val28=1 tmp0=!item 1 of $val31 tmp1=!item 2 of $val31 tmp2=!item 3 of $val31 val30=$[ (($val34)/(($(tmp0))^2+($(tmp1))^2+($(tmp2))^2))^(1/2)] !endif !if $val28=3 tmp=!trim $val31 $val33 $val32 val25=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val25 tmp0=!exec pari matdet([$tmp]) val30=$[abs($(tmp0))/($val34)^(1/2)] !endif !endif !ifval $val28=2 val35= cosinus !else val35= distance !endif oefsteps=choice 1 reply 1 nextstep=!nosubst choice 1 reply 1 !readproc oef/steps.proc replytype1=numeric replyname1=$val35 replygood1=$[$val30] choicename1=Las rectas son choicegood1=$val29 choicebad1=$val27 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Consideremos las dos rectas en el espacio, dadas por sus ecuaciones cartesianas :
!insmath $val22 $()
y
!insmath $val23 $()
!if $m_step <=1 $()Estas rectas son !read oef/embed.phtml choice 1 $(). !endif $() !if $m_step=2 $() !if $val28= 1 $()Calcular la distancia entre estas dos rectas paralelas. !endif $() !if $val28= 2 $()Calcular los cosenos de los ángulos que forman entre ellas estas dos rectas secantes. !endif $() !if $val28= 3 $() Calcular la distancia entre estas dos rectas no coplanarias. !endif $() !endif $() $() !exit :hint $() !if $m_step <=1 $()Dos rectas del espacio o son paralelas, o son secantes o bien ni lo uno ni lo otro y entonces se dice que son no coplanarias o que se cruzan. !endif $() !if $m_step =2 and $val28=2 $() Para calcular el ángulo que forman dos rectas secantes en el espacio, basta calcular el ángulo que forman sus vectores dirección. !endif $() !if $m_step =2 and $val28=3 $() Para calcular la distancia entre dos rectas que se cruzan, se considera un plano paralelo a mabas rectas que contenga a una de ellas. Se calcula a continuación la distancia desde un punto cualquiera de la otra recta al plano hallado. !endif $() !if $m_step =2 and $val28=3 $() Para calcular la distancia entre dos rectas paralelas, se calcula la distancia de un punto cualquiera de una a la otra recta. !endif $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22,23,28 embedcnt=1 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/droiteplan.def0000644000175000017500000000551410334362672027226 0ustar georgeskgeorgesk!set title=Distancia de un punto a una recta !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r varcnt=15 prevarcnt=14 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 -10, 10 val6=$[rint($(tmp0))] tmp0=!randint -10, 10 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0))] tmp0=!randint -10, 10 val9=$[rint($(tmp0))] tmp0=!randint -10, 10 val10=$[rint($(tmp0))] tmp0=!randint -10, 10 val11=$[rint($(tmp0))] tmp0=!randint -10, 10 val12=$[rint($(tmp0))] tmp0=!randint -10, 10 val13=$[rint($(tmp0))] tmp0=!randint -10, 10 val14=$[rint($(tmp0))] !ifval ($val12-($val9))^2+($val13-($val10))^2+($val14-($val11))^2=0 val9=$[rint( $val12+1)] !endif val15=$val12 - ($val9) , $val13 - ($val10) , $val14 - ($val11) val16=$val6 - ($val9) , $val7 - ($val10) , $val8 - ($val11) tmp0=!item 2 of $val15 tmp1=!item 3 of $val16 tmp2=!item 3 of $val15 tmp3=!item 2 of $val16 tmp4=!item 3 of $val15 tmp5=!item 1 of $val16 tmp6=!item 1 of $val15 tmp7=!item 3 of $val16 tmp8=!item 1 of $val15 tmp9=!item 2 of $val16 tmp10=!item 2 of $val15 tmp11=!item 1 of $val16 val17=$[(($(tmp0))*($(tmp1))-($(tmp2))*($(tmp3)))^2 +(($(tmp4))*($(tmp5))-($(tmp6))*($(tmp7)))^2 +(($(tmp8))*($(tmp9))-($(tmp10))*($(tmp11)))^2 ] tmp0=!item 1 of $val15 tmp1=!item 2 of $val15 tmp2=!item 3 of $val15 val18=$[(($val17)/(($(tmp0))^2+($(tmp1))^2+($(tmp2))^2))^(1/2)] replytype1=numeric replyname1=distancia replygood1=$[$val18] question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Calcular la distancia del punto !insmath P $() de coordenadas ($val6 , $val7 , $val8) a la recta !insmath D $() que pasa por los punto !insmath Q $() = ($val9 , $val10 , $val11) et !insmath R $() = ($val12 , $val13 , $val14). $() !exit :hint $()La distancia de un punto !insmath P $() a la recta que pasa por los puntos !insmath Q $() et !insmath R $() está dado por
!insmath \frac{||\vec{QR} \wedge \vec{QP}||}{||QR||} $().
Para comporbarlo, basta ver que en el plano que contiene a !insmath P $(), !insmath Q $() et !insmath R $(). !insmath ||\vec{QR}\wedge\vec{QP}|| $() es el área del paralelogramo construido a partir de !insmath P $(), !insmath Q $() et !insmath R $(). Es decir, el producto de la longitud de !insmath QR $() por la distancia de !insmath P $() a la recta !insmath QR $(). $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,10,11,12,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/planplan.def0000644000175000017500000001047010333705144026661 0ustar georgeskgeorgesk!set title=Distancia o ángulo entre dos planos !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=c,r varcnt=23 prevarcnt=22 postvarcnt=0 replycnt=1 choicecnt=1 conditioncnt=0 feedbackcnt=2 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 -10, 10 val6=$[rint($(tmp0))] tmp0=!randint -10, 10 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0))] !if ($val6)^2+($val7)^2+($val8)^2=0 tmp0=!randint 1, 4 val8=$[rint($(tmp0))] !endif tmp0=!randint -5, 5 val9=$[rint($(tmp0))] tmp0=!randint -5, 5 val10=$[rint($(tmp0))] tmp0=!randint -1, 1 val11=$[rint($(tmp0))] tmp0=!randint 1, 5 tmp1=!randitem 1,-1 val12=$[rint($(tmp0)*$(tmp1))] val13=$[($val6)*($val9)+($val7)*($val10)+($val8)*($val11)] tmp0=!randitem 1,2 val14=$(tmp0) !ifval $val14=1 tmp0=!randint -10, 10 val15=$[rint( $(tmp0))] !else val15=$[rint( $val12*($val6))] !endif !ifval $val14=1 tmp0=!randint -10, 10 val16=$[rint( $(tmp0))] !else val16=$[rint( $val12*($val7))] !endif !ifval $val14=1 tmp0=!randint -10, 10 val17=$[rint( $(tmp0))] !else val17=$[rint( $val12*($val8))] !endif !ifval ($val15)^2+($val16)^2+($val17)^2=0 tmp0=!randint 1, 4 val15=$[rint( $(tmp0))] !endif tmp0=!randint -10, 10 val18=$[rint($(tmp0))] tmp=!translate ";': to $ $ in ($val15)*x + ($val16)*y + ($val17)*z tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val19=!rawmath $(tmp0) tmp=!translate ";': to $ $ in ($val6)*x + ($val7)*y + ($val8)*z tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val20=!rawmath $(tmp0) val21=$[(($val15)*($val7)-($val16)*($val6))^2+(($val17)*($val7)-($val16)*($val8))^2+(($val15)*($val8)-($val17)*($val6))^2] val22=paralelos, no paralelos !ifval $val21=0 tmp0=!item 1 of $val22 val23= $(tmp0) !else tmp1=!item 2 of $val22 val23= $(tmp1) !endif !ifval $val21=0 val24=$[ abs(($val15)*($val9)+($val16)*($val10)+($val17)*($val11)-($val18))/(($val15)^2+($val16)^2+($val17)^2)^(1/2)] !else val24=$[ (abs(($val6)*($val15)+($val7)*($val16)+($val8)*($val17)))/((($val15)^2+($val16)^2+($val17)^2)^(1/2)*(($val6)^2+($val7)^2+($val8)^2)^(1/2))] !endif !ifval $val21=0 val25= distance !else val25=cosinus !endif oefsteps=choice 1 reply 1 nextstep=!nosubst choice 1 reply 1 !readproc oef/steps.proc replytype1=numeric replyname1=$val25 replygood1=$[$val24] choicename1=Los dos planos son choicegood1=$val23 choicebad1=$val22 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Consideremos los dos planos de !insmath \RR^3 $() de ecuaciones respectivas !insmath $val19 = $val18 $() y !insmath $val20 = $val13 $(). !if $m_step <= 1 $()Los planos son !read oef/embed.phtml choice 1 $(). !endif $() !if $m_step=2 $() !if $val21=0 $()Calcular la distancia entre los dos planos paralelos. !else $() Calcular el coseno del ángulo que forman los dos planos no pararlelos. !endif $() !endif $() $() !exit :hint $() !if $val21 <>0 and $m_step=2 $()Para calcular el ángulo que forman dos planos no paralelos, se puede calcular el ángulo que forman los dos vectores normales (perpendiculares) !insmath \vec{n}_1 $() y !insmath \vec{n}_2 $() respectivos a cada plano. El coseno del ángulo buscado está dado por

!insmath cos u= \frac{\vec{n}_1 . \vec{n}_2}{||\vec{n}_1||\ ||\vec{n}_2||} $()
!endif $() !if $val21 =0 and $m_step=2 $()Para calcular la distancia entre dos planos paralelos, se puede calcular la distancia de un punto de uno de ellos al otro plano. Es fácil deducir que si las ecuaciones de los planos son !insmath ax + by + cz = d_1 $() et !insmath ax + by + cz = d_2 $(). La distancia entre los dos planos (paralelos) es igual a
!insmath \frac{|d_1 - d_2|}{\sqrt{a^2 + b^2 + c^2}} $()
!endif $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !ifval $m_reply1 <0 and $val21=0

Una distancia es un número real positivo. $() !endif !ifval abs($m_reply1)>1 and $val21<>0

El coseno de un ángulo está comprendido entre -1 y 1. $() !endif !exit :test !exit :stat vsavelist=13,18,19,20,21 embedcnt=1 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/def/droite.def0000644000175000017500000001414110333645376026353 0ustar georgeskgeorgesk!set title=Distancia entre dos rectas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=c,r varcnt=38 prevarcnt=37 postvarcnt=0 replycnt=1 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 -10, 10 val6=$[rint($(tmp0))] tmp0=!randint -10, 10 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0))] !if ($val6)^2+($val7)^2+($val8)^2=0 tmp0=!randint 1, 4 val8=$[rint($(tmp0))] !endif tmp0=!randint -5, 5 val9=$[rint($(tmp0))] tmp0=!randint -5, 5 val10=$[rint($(tmp0))] tmp0=!randint -1, 1 val11=$[rint($(tmp0))] tmp0=!randitem 1,0 val12=$(tmp0) tmp0=!randitem 1,2,3,-1,-2 val13=$(tmp0) !ifval $val12=1 tmp0=!randint -5, 5 val14=$[rint( $(tmp0))] !else val14=$[rint( ($val9)+($val13)*($val6))] !endif !ifval $val12=1 tmp0=!randint -5, 5 val15=$[rint( $(tmp0))] !else val15=$[rint( ($val10)+($val13)*($val7))] !endif !ifval $val12=1 tmp0=!randint -5, 5 val16=$[rint( $(tmp0))] !else val16=$[rint( ($val11)+($val13)*($val8))] !endif tmp0=!randitem 1,2 val17=$(tmp0) tmp0=!randint 1, 5 tmp1=!randitem 1,-1 val18=$[rint($(tmp0)*$(tmp1))] !ifval $val17=1 tmp0=!randint -10, 10 val19=$[rint( $(tmp0))] !else val19=$[rint( ($val18)*($val6))] !endif !ifval $val17=1 tmp0=!randint -10, 10 val20=$[rint( $(tmp0))] !else val20=$[rint( ($val18)*($val7))] !endif !ifval $val17=1 tmp0=!randint -10, 10 val21=$[rint( $(tmp0))] !else val21=$[rint( ($val18)*($val8))] !endif !ifval ($val19)^2+($val20)^2+($val21)^2=0 tmp0=!randint 1, 4 val19=$[rint( $(tmp0))] !endif tmp=!translate ";': to $ $ in $val9 + ($val6)*t tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in $val10 + ($val7)*t tmp=!lower $tmp tmp1=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in $val11 + ($val8)*t tmp=!lower $tmp tmp2=!exec maxima fullratsimp($tmp); val22=x = $(tmp0), y = $(tmp1), z = $(tmp2) tmp=!translate ";': to $ $ in $val14 + ($val19)*t tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in $val15 + ($val20)*t tmp=!lower $tmp tmp1=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in $val16 + ($val21)*t tmp=!lower $tmp tmp2=!exec maxima fullratsimp($tmp); val23=x = $(tmp0) , y = $(tmp1), z = $(tmp2) val24=$[(($val19)*($val7)-($val20)*($val6))^2+(($val21)*($val7)-($val20)*($val8))^2+(($val19)*($val8)-($val21)*($val6))^2] tmp=!trim $val9-($val14),$val10-($val15), $val11-($val16) $val6,$val7,$val8 $val19,$val20,$val21 val25=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val25 tmp0=!exec pari matdet([$tmp]) val26=$[$(tmp0)] val27=paralelas o coincidentes, secantes, non coplanarias !ifval $val24=0 val28= 1 !else val28=3 !endif !ifval $val26=0 and $val24 <>0 val28= 2 !endif tmp0=!item $val28 of $val27 val29=$(tmp0) !if $val28=2 val30=$[(($val6)*($val19)+($val7)*($val20)+($val8)*($val21))/ ((($val6)^2+($val7)^2+($val8)^2)*(($val19)^2+($val20)^2+($val21)^2))^(1/2)] !else val31=$val6 , $val7 , $val8 val32=$val14 - ($val9) , $val15 - ($val10) , $val16 - ($val11) !ifval $val28=3 val33= $val19 , $val20 , $val21 !endif !ifval $val28 = 1 val33= $val32 !endif tmp0=!item 2 of $val31 tmp1=!item 3 of $val33 tmp2=!item 3 of $val31 tmp3=!item 2 of $val33 tmp4=!item 3 of $val31 tmp5=!item 1 of $val33 tmp6=!item 1 of $val31 tmp7=!item 3 of $val33 tmp8=!item 1 of $val31 tmp9=!item 2 of $val33 tmp10=!item 2 of $val31 tmp11=!item 1 of $val33 val34=$[(($(tmp0))*($(tmp1))-($(tmp2))*($(tmp3)))^2 +(($(tmp4))*($(tmp5))-($(tmp6))*($(tmp7)))^2 +(($(tmp8))*($(tmp9))-($(tmp10))*($(tmp11)))^2] !ifval $val28=1 tmp0=!item 1 of $val31 tmp1=!item 2 of $val31 tmp2=!item 3 of $val31 val30=$[ (($val34)/(($(tmp0))^2+($(tmp1))^2+($(tmp2))^2))^(1/2)] !endif !if $val28=3 tmp=!trim $val31 $val33 $val32 val25=!translate internal $ \ $ to ;; in $tmp tmp=!translate $ $ to ; in $val25 tmp0=!exec pari matdet([$tmp]) val30=$[abs($(tmp0))/($val34)^(1/2)] !endif !endif !ifval para=2 val35= cosinus !else val35=distance !endif oefsteps=choice 1 reply 1 nextstep=!nosubst choice 1 reply 1 !readproc oef/steps.proc replytype1=numeric replyname1=$val35 replygood1=$[$val30] choicename1=Las rectas son choicegood1=$val29 choicebad1=$val27 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Consideremos las dos rectas en el espacio, dadas por sus ecuaciones paramétricas :

!insmath $val22 $()
y
!insmath $val23 $()
!if $m_step <=1 $()Estas reectas son !read oef/embed.phtml choice 1 $() !endif $() !if $m_step=2 $() !if $val28= 1 $() Calcular la distancia entre estas dos rectas paralelas. !endif $() !if $val28= 2 $()Calcular los cosenos de los ángulos que forman entre ellas estas dos rectas secantes. !endif $() !if $val28= 3 $()Calcular la distancia entre estas dos rectas no coplanarias. !endif $() !endif $() $() !exit :hint $() !if $m_step <=1 $()Dos rectas del espacio o son paralelas, o son secantes o bien ni lo uno ni lo otro y entonces se dice que son no coplanarias o que se cruzan. !endif $() !if $m_step =2 and $val28=2 $()Para calcular el ángulo que forman dos rectas secantes en el espacio, basta calcular el ángulo que forman sus vectores dirección. !endif $() !if $m_step =2 and $val28=3 $() Para calcular la distancia entre dos rectas que se cruzan, se considera un plano paralelo a mabas rectas que contenga a una de ellas. Se calcula a continuación la distancia desde un punto cualquiera de la otra recta al plano hallado. !endif $() !if $m_step =2 and $val28=3 $() Para calcular la distancia entre dos rectas paralelas, se calcula la distancia de un punto cualquiera de una a la otra recta. !endif $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=22,23,28 embedcnt=1 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/intro.phtml0000644000175000017500000000027510333643646026051 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene $exototal tipos de ejercicios sobre geometría euclidea en dimensión 3 (distancia entre puntos, planos, rectas). !read oef/intromenu.phtml !tailwims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/Exindex0000644000175000017500000000072310334362672025173 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of orthon,pointplan,poinplan2,droiteplan,droite,droite2,planplan,projb,proje,plan, !set titlelist=!char 1 to -2 of Bases ortonormales,Distancia de un punto a un plano,Distancia de un punto a un plano 2,Distancia de un punto a una recta,Distancia entre dos rectas,Distancia entre dos rectas 2,Distancia o ángulo entre dos planos,Proyección ortogonal 1,Proyección ortogonal 2,Proyección ortogonal inversa, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/Extitles0000644000175000017500000000055710334362672025375 0ustar georgeskgeorgeskdroite:Distancia entre dos rectas droite2:Distancia entre dos rectas 2 droiteplan:Distancia de un punto a una recta orthon:Bases ortonormales plan:Proyección ortogonal inversa planplan:Distancia o ángulo entre dos planos poinplan2:Distancia de un punto a un plano 2 pointplan:Distancia de un punto a un plano projb:Proyección ortogonal 1 proje:Proyección ortogonal 2 wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/var.proc0000644000175000017500000000024110060323402025274 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/about.phtml0000644000175000017500000000005310060323402026000 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/main.phtml0000644000175000017500000000003110060323402025606 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/INDEX0000644000175000017500000000107410333643451024432 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Ejercicios de geometría euclídea 3D description=colección de ejercicios de geometría euclídea en el espacio en dimensión 3. language=es category=exercise, oef domain=geometry level=H6 keywords=recta distancia plano ángulo require=maxima,pari scoring=yes copyright=© 2002- (GNU GPL) 2004 2005 author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr version=1.02 wims_version=3.41b vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/README0000644000175000017500000000047607535653733024543 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Modify the link proc if necessary. 5. Install source files. 6. Run the script mkindex. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/0000755000175000017500000000000010060323402024411 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/orthon.oef0000644000175000017500000000473210333707117026437 0ustar georgeskgeorgesk\title{Bases ortonormales} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \text{v1=random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1))} \text{v2=randint(-2..2),0,randint(-2..2)} \text{v2=\v2 randint(-2..2),randint(-2..2),0} \text{v2=\v2 0,randint(-2..2),randint(-2..2)} \text{v2=randomrow(\v2)} \steps{reply1, reply2,reply3 reply4,reply5,reply6} \statement{Sea \(\RR^3) con el producto escalar usual que denotaremos por \(< . , . >) y \(F) el subespacio vectorial generado por (\v1) y (\v2). \if{\step=1}{Construir una base ortogonal de \(F) formada por los vectores \(v_1), \(v_2) con coeficientes enteros. Determinar una base \(v_3) (coeficientes enteros) del ortogonal \(F^\perp) de \(F) .
\( F^\perp= \{(x , y , z) \in \RR^3, <(x , y , z) , f> = 0 \ {\rm pour } \ f \in F\})
} \if{\step=2}{Calcular la norma de los tres vectores \(v_1 = (\rep1)) , \(v_2 = (\rep2)) , \(v_3 = (\rep3)) que has encontrado.} } \answer{Primer vector \(v_1)}{\rep1}{type=vector} \answer{Segundo vector \(v_2)}{\rep2}{type=vector} \answer{Vector \(v_3) del ortogonal}{\rep3}{type=vector} \answer{Norma de \(v_1)}{\rep4}{type=numeric} \answer{Norma de \(v_2)}{\rep5}{type=numeric} \answer{Norma de \(v_3)}{\rep6}{type=numeric} \text{S=pari( print(matrank([\rep1;\rep2])))} \text{S1=pari(print(matrank([\rep1;\v1;\v2])))} \text{S2=pari(print(matrank([\rep2;\v1;\v2])))} \real{S3=(item(1,\rep1))*(item(1,\rep2))+(item(2,\rep1))*(item(2,\rep2))+(item(3,\rep1))*(item(3,\rep2))} \condition{Los dos vectores forman un sistema libre}{\S=2} \condition{\(v_1) pertenece a F}{\S1=2} \condition{\(v_2) pertenece a F}{\S2=2} \condition{\(v_1) y \(v_2) forman un abase ortogonal}{\S3=0} \real{S0=(item(1,\rep3))^2+(item(2,\rep3))^2+(item(3,\rep3))^2} \real{N3=(\S0)^(1/2)} \real{N1=((item(1,\rep1))^2+(item(2,\rep1))^2+(item(3,\rep1))^2)^(1/2)} \real{N2=((item(1,\rep2))^2+(item(2,\rep2))^2+(item(3,\rep2))^2)^(1/2)} \real{S4=(item(1,\v1))*(item(1,\rep3))+(item(2,\v1))*(item(2,\rep3))+(item(3,\v1))*(item(3,\rep3))} \real{S5=(item(1,\v2))*(item(1,\rep3))+(item(2,\v2))*(item(2,\rep3))+(item(3,\v2))*(item(3,\rep3))} \condition{El vector \(v_3) es no nulo y pertenece al ortogonal de \(F)} {\S4=0 and \S5=0 and \S0<>0} \condition{Norma de \(v_1)=\rep4}{\N1=\rep4} \condition{Norma de \(v_2)=\rep5}{\N2=\rep5} \condition{Norma de \(v_3) =\rep6}{\N3=\rep6}wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/droite.oef0000644000175000017500000000656310333645376026430 0ustar georgeskgeorgesk\title{Distancia entre dos rectas} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=randint(-10..10)} \integer{b=randint(-10..10)} \integer{c=randint(-10..10)} \if{(\a)^2+(\b)^2+(\c)^2=0} {\integer{c=randint(1..4)}} \integer{x1=randint(-5..5)} \integer{y1=randint(-5..5)} \integer{z1=randint(-1..1)} \text{con=random(1,0)} \text{t0=random(1,2,3,-1,-2)} \integer{x2=\con=1 ? randint(-5..5): (\x1)+(\t0)*(\a)} \integer{y2=\con=1 ? randint(-5..5): (\y1)+(\t0)*(\b)} \integer{z2=\con=1 ? randint(-5..5): (\z1)+(\t0)*(\c)} \text{par=random(1,2)} \integer{r=randint(1..5)*random(1,-1)} \integer{u=\par=1 ? randint(-10..10): (\r)*(\a)} \integer{v=\par=1 ? randint(-10..10): (\r)*(\b)} \integer{w=\par=1 ? randint(-10..10): (\r)*(\c)} \integer{u= (\u)^2+(\v)^2+(\w)^2=0 ? randint(1..4)} \text{equa=x = simplify(\x1 + (\a)*t), y = simplify(\y1 + (\b)*t), z = simplify(\z1 + (\c)*t)} \text{equa1=x = simplify(\x2 + (\u)*t) , y = simplify(\y2 + (\v)*t), z = simplify(\z2 + (\w)*t)} \real{cond=((\u)*(\b)-(\v)*(\a))^2+((\w)*(\b)-(\v)*(\c))^2+((\u)*(\c)-(\w)*(\a))^2} \matrix{M= \x1-(\x2),\y1-(\y2), \z1-(\z2) \a,\b,\c \u,\v,\w } \real{condcon=det(\M)} \text{choix= paralelas o coincidentes, secantes, non coplanarias} \text{para= \cond=0 ? 1:3} \text{para= \condcon=0 and \cond <>0 ? 2} \text{sol= item(\para,\choix)} \if{\para=2}{ \real{sol1= ((\a)*(\u)+(\b)*(\v)+(\c)*(\w))/ (((\a)^2+(\b)^2+(\c)^2)*((\u)^2+(\v)^2+(\w)^2))^(1/2)} } { \text{QR= \a , \b , \c} \text{QP= \x2 - (\x1) , \y2 - (\y1) , \z2 - (\z1)} \text{QS = \para=3 ? \u , \v , \w} \text{QS= \para = 1 ? \QP} \real{num= ((item(2,\QR))*(item(3,\QS))-(item(3,\QR))*(item(2,\QS)))^2 +((item(3,\QR))*(item(1,\QS))-(item(1,\QR))*(item(3,\QS)))^2 +((item(1,\QR))*(item(2,\QS))-(item(2,\QR))*(item(1,\QS)))^2} \real{sol1= \para=1 ? ((\num)/((item(1,\QR))^2+(item(2,\QR))^2+(item(3,\QR))^2))^(1/2)} \if{\para=3}{ \matrix{M=\QR \QS \QP } \real{sol1=abs(det(\M))/(\num)^(1/2)}} } \steps{choice 1 reply 1} \text{texte=para=2 ? cosinus:distance} \statement{Consideremos las dos rectas en el espacio, dadas por sus ecuaciones paramétricas :
\(\equa)
y
\(\equa1 )
\if{\step <=1}{Estas reectas son \embed{choice 1} } \if{\step=2}{ \if{ \para= 1}{ Calcular la distancia entre estas dos rectas paralelas.} \if{ \para= 2}{Calcular los cosenos de los ángulos que forman entre ellas estas dos rectas secantes.} \if{ \para= 3}{Calcular la distancia entre estas dos rectas no coplanarias.} } } \choice{Las rectas son}{\sol}{\choix} \answer{\texte}{\sol1}{type=numeric} \hint{ \if{\step <=1}{Dos rectas del espacio o son paralelas, o son secantes o bien ni lo uno ni lo otro y entonces se dice que son no coplanarias o que se cruzan.} \if{\step =2 and \para=2}{Para calcular el ángulo que forman dos rectas secantes en el espacio, basta calcular el ángulo que forman sus vectores dirección. } \if{\step =2 and \para=3}{ Para calcular la distancia entre dos rectas que se cruzan, se considera un plano paralelo a mabas rectas que contenga a una de ellas. Se calcula a continuación la distancia desde un punto cualquiera de la otra recta al plano hallado. } \if{\step =2 and \para=3}{ Para calcular la distancia entre dos rectas paralelas, se calcula la distancia de un punto cualquiera de una a la otra recta. } }wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/planplan.oef0000644000175000017500000000506310333705144026727 0ustar georgeskgeorgesk\title{Distancia o ángulo entre dos planos} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=randint(-10..10)} \integer{b=randint(-10..10)} \integer{c=randint(-10..10)} \if{(\a)^2+(\b)^2+(\c)^2=0}{\integer{c=randint(1..4)}} \integer{x1=randint(-5..5)} \integer{y1=randint(-5..5)} \integer{z1=randint(-1..1)} \integer{r=randint(1..5)*random(1,-1)} \real{d=(\a)*(\x1)+(\b)*(\y1)+(\c)*(\z1)} \text{par=random(1,2)} \integer{u=\par=1 ? randint(-10..10): \r*(\a)} \integer{v=\par=1 ? randint(-10..10): \r*(\b)} \integer{w=\par=1 ? randint(-10..10): \r*(\c)} \integer{u=(\u)^2+(\v)^2+(\w)^2=0? randint(1..4)} \integer{h=randint(-10..10)} \function{equ1=simplify((\u)*x + (\v)*y + (\w)*z)} \function{equ2=simplify((\a)*x + (\b)*y + (\c)*z)} \real{cond=((\u)*(\b)-(\v)*(\a))^2+((\w)*(\b)-(\v)*(\c))^2+((\u)*(\c)-(\w)*(\a))^2} \text{choix=paralelos, no paralelos} \text{para=\cond=0 ? item(1,\choix): item(2,\choix)} \real{sol= \cond=0 ? abs((\u)*(\x1)+(\v)*(\y1)+(\w)*(\z1)-(\h))/((\u)^2+(\v)^2+(\w)^2)^(1/2): (abs((\a)*(\u)+(\b)*(\v)+(\c)*(\w)))/(((\u)^2+(\v)^2+(\w)^2)^(1/2)*((\a)^2+(\b)^2+(\c)^2)^(1/2))} \text{distan=\cond=0 ? distance:cosinus} \steps{choice 1 reply 1} \statement{Consideremos los dos planos de \(\RR^3) de ecuaciones respectivas \(\equ1 = \h) y \(\equ2 = \d). \if{\step <= 1}{Los planos son \embed{choice 1}. } \if{\step=2}{ \if{\cond=0}{Calcular la distancia entre los dos planos paralelos. }{Calcular el coseno del ángulo que forman los dos planos no pararlelos.} } } \choice{Los dos planos son}{\para}{\choix} \answer{\distan}{\sol}{type=numeric} \feedback{\reply1 <0 and \cond=0}{Una distancia es un número real positivo.} \feedback{abs(\reply1)>1 and \cond<>0}{El coseno de un ángulo está comprendido entre -1 y 1. } \hint{ \if{\cond <>0 and \step=2}{Para calcular el ángulo que forman dos planos no paralelos, se puede calcular el ángulo que forman los dos vectores normales (perpendiculares) \(\vec{n}_1) y \(\vec{n}_2) respectivos a cada plano. El coseno del ángulo buscado está dado por

\(cos u= \frac{\vec{n}_1 . \vec{n}_2}{||\vec{n}_1||\ ||\vec{n}_2||})
} \if{\cond =0 and \step=2}{Para calcular la distancia entre dos planos paralelos, se puede calcular la distancia de un punto de uno de ellos al otro plano. Es fácil deducir que si las ecuaciones de los planos son \(ax + by + cz = d_1) et \(ax + by + cz = d_2). La distancia entre los dos planos (paralelos) es igual a
\(\frac{|d_1 - d_2|}{\sqrt{a^2 + b^2 + c^2}})
} }wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/projb.oef0000644000175000017500000000365010333705747026247 0ustar georgeskgeorgesk\title{Proyección ortogonal 1} \language{fr} \range{-5..5} \author{Adeline GRELOT et Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{n=3} \text{v1=random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1))} \text{v2=randint(-2..2),0,randint(-2..2)} \text{v2=\v2 randint(-2..2),randint(-2..2),0} \text{v2=\v2 0,randint(-2..2),randint(-2..2)} \text{v2=randomrow(\v2)} \text{v3=random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1))} la base de F est (v1,v2) On cherche les ai, i=1,2. =sum(ai* sur i) et idem pour v2 Calculs des produits scalaires \text{p21=simplify((item(1,\v1))*(item(1,\v2))+(item(2,\v1))*(item(2,\v2))+(item(3,\v1))*(item(3,\v2)))} \text{p11=simplify((item(1,\v1))^2+(item(2,\v1))^2+(item(3,\v1))^2)} \text{p22=simplify((item(1,\v2))^2+(item(2,\v2))^2+(item(3,\v2))^2)} \matrix{A= \p11, \p21 \p21, \p22 } \text{p32=simplify((item(1,\v3))*(item(1,\v2))+(item(2,\v3))*(item(2,\v2))+(item(3,\v3))*(item(3,\v2)))} \text{p31=simplify((item(1,\v3))*(item(1,\v1))+(item(2,\v3))*(item(2,\v1))+(item(3,\v3))*(item(3,\v1)))} Calculs des solutions \if{det(\A) =0}{ \rational{aa=(\p31)/(\p11)} \text{sol = (\aa)*(item(1,\v1)) , (\aa)*(item(2,\v1)) , (\aa)*(item(3,\v1))} } {\rational{a1=simplify(((\p31)*(\p22)-(\p32)*(\p21))/((\p11)*(\p22)-(\p21)^2))} \rational{a2=simplify(((\p31)*(\p21)-(\p32)*(\p11))/((\p21)^2-(\p11)*(\p22)))} \text{sol=simplify((\a1)*(item(1,\v1)) + (\a2)*(item(1,\v2))) , simplify((\a1)*(item(2,\v1)) + (\a2)*(item(2,\v2))) , simplify((\a1)*(item(3,\v1))+(\a2)*(item(3,\v2)))} } \statement{Sea \(\RR^3) con el producto escalar usual y \(F) el subespacio vectorial generado por (\v1) y (\v2).

Hallar la proyección ortogonal del vector (\v3) sobre \(F).} \answer{proyección ortogonal}{\sol}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/droiteplan.oef0000644000175000017500000000277010334362672027273 0ustar georgeskgeorgesk\title{Distancia de un punto a una recta} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=randint(-10..10)} \integer{b=randint(-10..10)} \integer{c=randint(-10..10)} \integer{u=randint(-10..10)} \integer{v=randint(-10..10)} \integer{w=randint(-10..10)} \integer{u1=randint(-10..10)} \integer{v1=randint(-10..10)} \integer{w1=randint(-10..10)} \integer{u= (\u1-(\u))^2+(\v1-(\v))^2+(\w1-(\w))^2=0 ? \u1+1} \text{QR= \u1 - (\u) , \v1 - (\v) , \w1 - (\w)} \text{QP= \a - (\u) , \b - (\v) , \c - (\w)} \real{num= ((item(2,\QR))*(item(3,\QP))-(item(3,\QR))*(item(2,\QP)))^2 +((item(3,\QR))*(item(1,\QP))-(item(1,\QR))*(item(3,\QP)))^2 +((item(1,\QR))*(item(2,\QP))-(item(2,\QR))*(item(1,\QP)))^2 } \real{sol=((\num)/((item(1,\QR))^2+(item(2,\QR))^2+(item(3,\QR))^2))^(1/2)} \statement{Calcular la distancia del punto \(P) de coordenadas (\a , \b , \c) a la recta \(D) que pasa por los punto \(Q) = (\u , \v , \w) et \(R) = (\u1 , \v1 , \w1). } \answer{distancia}{\sol}{type=numeric} \hint{La distancia de un punto \(P) a la recta que pasa por los puntos \(Q) et \(R) está dado por

\(\frac{||\vec{QR} \wedge \vec{QP}||}{||QR||}).
Para comporbarlo, basta ver que en el plano que contiene a \(P), \(Q) et \(R). \(||\vec{QR}\wedge\vec{QP}||) es el área del paralelogramo construido a partir de \(P), \(Q) et \(R). Es decir, el producto de la longitud de \(QR) por la distancia de \(P) a la recta \(QR). }wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/pointplan.oef0000644000175000017500000000141210333711525027120 0ustar georgeskgeorgesk\title{Distancia de un punto a un plano} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=randint(-10..10)} \integer{b=randint(-10..10)} \integer{c=randint(-10..10)} \integer{u=randint(-10..10)} \integer{v=randint(-10..10)} \integer{w=randint(-10..10)} \integer{u=(\u)^2+(\v)^2+(\w)^2=0 ? \u+randint(1..4)} \integer{h=randint(-10..10)} \function{equ = simplify((\u)*x + (\v)*y + (\w)*z)} \real{sol= abs((\u)*(\a)+(\v)*(\b)+(\w)*(\c)-\h)/((\u)^2+(\v)^2+(\w)^2)^(1/2)} \statement{Calcular la distancia del punto (\a,\b,\c) al plano de \( \RR^3) de ecuación \(\equ = \h). } \answer{distancia}{\sol}{type=numeric} \feedback{\reply1< 0}{Una distancia es un número real positivo}wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/poinplan2.oef0000644000175000017500000000413110333711457027023 0ustar georgeskgeorgesk\title{Distancia de un punto a un plano 2} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=randint(-10..10)} \integer{b=randint(-10..10)} \integer{c=randint(-10..10)} \integer{a1=randint(-5..5)} \integer{b1=randint(-5..5)} \integer{c1=randint(-1..1)} \integer{a2=randint(-5..5)} \integer{b2=randint(-5..5)} \integer{c2=randint(-1..1)} \integer{a2= \a2=\a1 and \b2=\b1 and \c2=\c1 ? \a2-1} \integer{a3=randint(-5..5)} \integer{b3=randint(-5..5)} \integer{c3=randint(-5..5)} \text{QR= \a2-(\a1),\b2-(\b1),\c2-(\c1)} \text{QS= \a3-(\a1),\b3-(\b1),\c3-(\c1)} \text{test= (\a2-(\a1))*(\b3-(\b1))=(\a3-(\a1))*(\b2-(\b1)) and (\a3-(\a2))*(\b1-(\b2))=(\a1-(\a2))*(\b3-(\b2)) and (\a1-(\a3))*(\b2-(\b3))=(\a2-(\a3))*(\b1-(\b3)) ? 1:2} \text{choix= una recta,un plano} \text{sol1= item(\test,\choix)} \text{QP= \a-(\a1),\b-(\b1),\c-(\c1)} \text{QS= \sol1=1 ? \QP} \real{num= ((item(2,\QR))*(item(3,\QS))-(item(3,\QR))*(item(2,\QS)))^2 +((item(3,\QR))*(item(1,\QS))-(item(1,\QR))*(item(3,\QS)))^2 +((item(1,\QR))*(item(2,\QS))-(item(2,\QR))*(item(1,\QS)))^2} \if{\sol1=1}{ \real{sol2=((\num)/(item(1,\QR))^2+(item(2,\QR))^2+(item(3,\QR))^2)^(1/2)} } {\matrix{M= \QR \QS \QP} \real{sol2=abs(det(\M))/(\num)^(1/2)} } \steps{choice 1 reply 1 } \statement{ Soit \(Q = (\a1 , \b1 , \c1)) , \(R = (\a2 , \b2 , \c2)) , \(S = (\a3 , \b3 , \c3)). \if{\step <= 1}{ Los puntos \(Q), \(R) et \(S) definen \embed{choice 1}} \if{\step=2}{Calcular la distancia del punto \(P = (\a , \b , \c) ) \if{\test=2}{al plano que contiene a los puntos \(Q), \(R ) y \(S).} \if{\test=1}{a la recta que contiene a los puntos \(Q), \(R) et \(S).} }} \choice{}{\sol1}{\choix} \answer{distancia}{\sol2}{type=numeric} \hint{\if{\step=2 and \test=2}{ La distancia de un punto \(P) al plano determinado por tres puntos \(Q), \(R) et \( S) puede calcularse mediante la fórmula
\(\frac{ |\vec{QR}.(\vec{QS}\wedge \vec{QP})||}{|| \vec{QR}\wedge \vec{QS}|} = \frac{|det(\vec{QR} , \vec{QS} , \vec{QP})|}{|| \vec{QR}\wedge \vec{QS}|| })
}}wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/proje.oef0000644000175000017500000000241610333706224026240 0ustar georgeskgeorgesk\title{Proyección ortogonal 2} \language{fr} \range{-5..5} \author{Adeline GRELOT et Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{n=3} \integer{a=random(randint(-5..-1),randint(1..5))} \integer{b=random(randint(-5..-1),randint(1..5))} \integer{c=random(randint(-5..-1),randint(1..5))} \text{v3=random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1)),random(randint(1..2), randint(-2..-1))} Calcul de la normale \text{normale=\a,\b,\c} Projection de v3 sur la normale \rational{prod=simplify((item(1,\v3))*(item(1,\normale))+(item(2,\v3))*(item(2,\normale))+(item(3,\v3))*(item(3,\normale)))} \rational{norm2=simplify((item(1,\normale))^2+(item(2,\normale))^2+(item(3,\normale))^2)} \rational{sol1=item(1,\v3)-(\prod)/\norm2*(item(1,\normale))} \rational{sol2=item(2,\v3)-(\prod)/\norm2*(item(2,\normale))} \rational{sol3=item(3,\v3)-(\prod)/\norm2*(item(3,\normale))} \text{sol=\sol1,\sol2,\sol3} \text{equation=simplify((\a)*x + (\b)*y + (\c)*z)} \statement{ Sea \(\RR^3) con el producto escalar usual y \(F) el subespacio vectorial de ecuación

\(\equation=0).

Hallar la proyección ortogonal del vector (\v3) sobre \(F).} \answer{proyección ortogonal}{\sol}{type=vector}wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/droite2.oef0000644000175000017500000000700410333646500026467 0ustar georgeskgeorgesk\title{Distancia entre dos rectas 2} \language{es} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{a=randint(-10..10)} \integer{b=randint(-10..10)} \integer{c=randint(-10..10)} \integer{c= (\a)^2+(\b)^2+(\c)^2=0 ? randint(1..4)} \integer{x1=randint(-5..5)} \integer{y1=randint(-5..5)} \integer{z1=randint(-1..1)} \text{con=random(1,0)} \text{t0=random(1,2,3,-1,-2)} \integer{x2=\con=1 ? randint(-5..5): (\x1)+(\t0)*(\a)} \integer{y2=\con=1 ? randint(-5..5): (\y1)+(\t0)*(\b)} \integer{z2=\con=1 ? randint(-5..5): (\z1)+(\t0)*(\c)} \text{par=random(1,2)} \integer{r=randint(1..5)*random(1,-1)} \integer{u=\par=1 ? randint(-10..10): (\r)*(\a)} \integer{v=\par=1 ? randint(-10..10): (\r)*(\b)} \integer{w=\par=1 ? randint(-10..10): (\r)*(\c)} \integer{u= (\u)^2+(\v)^2+(\w)^2=0 ? randint(1..4)} \text{equa= \a<>0 or \b<>0 ? simplify(((\b)*x - (\x1)*(\b) - (\a)*y + (\a)*\y1)) = 0 , simplify((\c)*x - (\c)*(\x1) - (\a)*z + (\a)*(\z1)) = 0: x = \x1 , y = \y1} \text{equa1= \u<>0 or \v<>0 ? simplify((\v)*x - (\v)*(\x2) - (\u)*y + (\u)*\y2) = 0 , simplify((\w)*x - (\w)*(\x2) - (\u)*z + (\u)*(\z2)) = 0: x = \x2 , y = \y2} \real{cond=((\u)*(\b)-(\v)*(\a))^2+((\w)*(\b)-(\v)*(\c))^2+((\u)*(\c)-(\w)*(\a))^2} \matrix{M= \x1 - (\x2) , \y1 - (\y2) , \z1 - (\z2) \a,\b,\c \u,\v,\w } \real{condcon=det(\M)} \text{choix= paralelas o coincidentes, secantes, no coplanarias (se cruzan)} \text{para= \cond=0 ? 1:3} \text{para= \condcon=0 and \cond <>0 ? 2} \text{sol= item(\para,\choix)} \if{\para=2}{ \real{sol1= ((\a)*(\u)+(\b)*(\v)+(\c)*(\w))/(((\a)^2+(\b)^2+(\c)^2)*((\u)^2+(\v)^2+(\w)^2))^(1/2) } } {\text{QR= \a , \b , \c} \text{QP= \x2 - (\x1) , \y2 - (\y1) , \z2 - (\z1)} \text{QS= \para = 3 ? \u,\v,\w} \text{QS= \para=1 ? \QP} \real{num= ((item(2,\QR))*(item(3,\QS))-(item(3,\QR))*(item(2,\QS)))^2 +((item(3,\QR))*(item(1,\QS))-(item(1,\QR))*(item(3,\QS)))^2 +((item(1,\QR))*(item(2,\QS))-(item(2,\QR))*(item(1,\QS)))^2} \real{sol1= \para=1 ? ((\num)/((item(1,\QR))^2+(item(2,\QR))^2+(item(3,\QR))^2))^(1/2)} \if{\para=3}{ \matrix{M= \QR \QS \QP } \real{sol1=abs(det(\M))/(\num)^(1/2)}} } \text{texte= \para=2 ? cosinus : distance} \steps{choice 1 reply 1} \statement{Consideremos las dos rectas en el espacio, dadas por sus ecuaciones cartesianas :
\(\equa)
y
\(\equa1 )
\if{\step <=1}{Estas rectas son \embed{choice 1}.} \if{\step=2}{ \if{ \para= 1}{Calcular la distancia entre estas dos rectas paralelas.} \if{ \para= 2}{Calcular los cosenos de los ángulos que forman entre ellas estas dos rectas secantes.} \if{ \para= 3}{ Calcular la distancia entre estas dos rectas no coplanarias.} } } \choice{Las rectas son}{\sol}{\choix} \answer{\texte}{\sol1}{type=numeric} \hint{ \if{\step <=1}{Dos rectas del espacio o son paralelas, o son secantes o bien ni lo uno ni lo otro y entonces se dice que son no coplanarias o que se cruzan.} \if{\step =2 and \para=2}{ Para calcular el ángulo que forman dos rectas secantes en el espacio, basta calcular el ángulo que forman sus vectores dirección. } \if{\step =2 and \para=3}{ Para calcular la distancia entre dos rectas que se cruzan, se considera un plano paralelo a mabas rectas que contenga a una de ellas. Se calcula a continuación la distancia desde un punto cualquiera de la otra recta al plano hallado. } \if{\step =2 and \para=3}{ Para calcular la distancia entre dos rectas paralelas, se calcula la distancia de un punto cualquiera de una a la otra recta. } }wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/src/plan.oef0000644000175000017500000000445610333710113026051 0ustar georgeskgeorgesk\title{Proyección ortogonal inversa} \language{fr} \range{-5..5} \author{Adeline GRELOT et Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} Choix des équations et du vecteur v \matrix{M=slib(matrix/invertible 3,2)} \text{C1=column(1,\M)} \text{C2=column(2,\M)} \text{v=column(3,\M)} \integer{a=item(1,\C1)} \integer{b=item(2,\C1)} \integer{c=item(3,\C1)} \integer{c=\c=0?randint(1..3)*(random(-1,1))} \integer{A=item(1,\v)} \integer{B=item(2,\v)} \integer{C=item(3,\v)} Problème si A et B sont nuls (->C=0 donc v=vecteur nul) \integer{A= \A=0 and \B=0 ? randint(1..3)*(random(-1,1))} \integer{C=-((\A)*(\a)+(\B)*(\b))} \integer{A=(\A)*(\c)} \integer{B=(\B)*(\c)} \text{v=\A , \B , \C} \integer{test=\A*(\a)+(\B)*(\b)+(\C)*(\c)} La normale (à P') \text{normale=column(2,\M)} Calcul de la projection \text{prod=simplify((\A)*(item(1,\normale)) + (\B)*(item(2,\normale)) + (\C)*(item(3,\normale)))} \text{norm2=simplify((item(1,\normale))^2 + (item(2 , \normale))^2 + (item(3,\normale))^2)} \rational{vprime1=\A-(\prod)*(item(1,\normale)/\norm2)} \rational{vprime2=\B-(\prod)*(item(2,\normale)/\norm2)} \rational{vprime3=\C-(\prod)*(item(3,\normale))/\norm2} \text{vprime=\vprime1 , \vprime2 , \vprime3} \text{equation=simplify((\a)*x + (\b)*y + (\c)*z)} \text{equation2=simplify((item(1,\C2))*x + (item(2 , \C2))*y + (item(3,\C2))*z)} \statement{Sea \(\RR^3) con su producto escalar usual, \(P) el plano definido por la ecuación
\(\equation=0)
y \(P') el plano definido por la ecuación
\(\equation2=0)
.

Encontrar un vector no nulo \(v) de \(P) tal que la proyección ortogonal de \(v) sobre \(P') sea (\vprime1,\vprime2,\vprime3). } \answer{vector de P}{\rep}{type=vector} \condition{(\rep) pertenece a \(P) y es no nulo ?}{item(1,\rep)*(\a)+(item(2,\rep))*(\b)+ (item(3,\rep))*(\c)=0 and (item(1,\rep))^2+(item(2,\rep))^2+(item(3,\rep))^2 !=0} \real{N1=(item(1,\rep)-(\vprime1))*(item(2,\normale)) -(item(2,\rep)-(\vprime2))*(item(1,\normale))} \real{N2=(item(1,\rep)-(\vprime1))*(item(3,\normale)) -(item(3,\rep)-(\vprime3))*(item(1,\normale))} \real{N3=(item(3,\rep)-(\vprime3))*(item(2,\normale)) -(item(2,\rep)-(\vprime2))*(item(3,\normale))} \condition{La proyección ortogonal de (\rep) sobre \(P') es (\vprime) ?}{\N1=0 and \N2=0 and \N3=0}wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/NEWS0000644000175000017500000000033410104156327024332 0ustar georgeskgeorgesk# This file registers changes to the module. # Please write in reverse order: the last version first. Version 1.02 Bogue in pointplan2 : > = ---> >= Version 1.01 Bogue with compare Version 1.00: First publication. wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/endhook.phtml0000644000175000017500000000054010333712524026330 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting

Herramientas disponibles en línea: !href target=wims_tool module=tool/linear/vector calculadora de vectores , !href target=wims_tool module=tool/number/calcnum calculador numérico . (Estas herramientas aparecerán en otra ventana de su navegador.) !endif wims-modules-es-3.64.orig/modules/H6/geometry/oefeucl3D.es/help.phtml0000644000175000017500000000005210060323402025615 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/tool/0000755000175000017500000000000010771672624020276 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/wcalc.es/0000755000175000017500000000000010603511345021757 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/wcalc.es/form.phtml0000644000175000017500000000107710603511345023775 0ustar georgeskgeorgesk !form renew
Formula =
Operation =
Formula2 =
Option =
variable = range1 = range2 =
wims-modules-es-3.64.orig/modules/tool/wcalc.es/popup.phtml0000644000175000017500000000031010603511345024162 0ustar georgeskgeorgesk !if $operation=$empty Empty operation: you didn't tell what calculation you want me to make. !tail !exit !endif !if $error!=$empty !read msg.phtml !else !read op/$opr.def output !endif !tail wims-modules-es-3.64.orig/modules/tool/wcalc.es/main.phtml0000644000175000017500000000107410603511345023753 0ustar georgeskgeorgesk!header !if $wims_mode=popup !changeto popup.phtml !endif !if $operation=$empty This is a multi-purpose single-step calculator, which can make many kinds of calculations.

You may use the input form below to submit a request for calculation, but this module is mainly designed to serve as a popup calculator, via the searchable !href module=tool/popup database of popup calculator forms . !goto form !endif

!if $error!=$empty !read msg.phtml !else !read op/$opr.def output !endif :form


!read form.phtml !href cmd=renew Refresh . !tail wims-modules-es-3.64.orig/modules/tool/wcalc.es/INDEX0000644000175000017500000000067510603511345022561 0ustar georgeskgeorgesktitle=Wcalc description=multi-purpose single-step calculator usable in popup mode. author=XIAO Gang address=xiao@unice.fr copyright=© 2000- (GNU GPL) translator= translator_address= version=1.00 wims_version=2.42 language=en category=tool level=E1 E2 E3 E4 E5 E6 H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 G R domain=algebra, analysis, geometry keywords=expression, function, calculator require=pari,maxima,m2 scoring=no mode=popup wims-modules-es-3.64.orig/modules/tool/wcalc.es/msg.phtml0000644000175000017500000000167410603511345023623 0ustar georgeskgeorgesk!set wims_module_log=$operation error: $error Error. !goto $error :bad_formula Your data contain errors or are incompatible with the operation $operation. Please verify your request. !goto end :bad_option Your request option is not valid. Please verify it. !goto end :bad_range Your variable ranges are not valid. Please correct them. !goto end :empty_data Please complete data for your computation request. !goto end :fail Sorry, Wcalc is unable to complete your requested computation. Please verify your data. !goto end :incompatible_sides There is no triangle with three sides $formula. !goto end :not_square_matrix Please enter a square matrix for the computation of $operation. !goto end :solve_fail No solution has been found. !goto end :unknown_operation The operation $operation is not (yet) understood by this calculator. Sorry. !goto end :end wims-modules-es-3.64.orig/modules/tool/wcalc.es/about.phtml0000644000175000017500000000001710603511345024135 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/tool/popup.es/0000755000175000017500000000000010603511346022032 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/popup.es/welcome.phtml0000644000175000017500000000074710603511345024542 0ustar georgeskgeorgesk This is a searchable database of many straightforward computational forms. It also registers all user requests, and will be extended and completed according to the demand.

The particularity of these forms is that when you click on a button, a popup window will appear, showing the result. Each of these forms is an independent entity, which can either be used within this module, or be copied and inserted into your own web pages, and you can freely modify them. wims-modules-es-3.64.orig/modules/tool/popup.es/form.phtml0000644000175000017500000000016710603511345024046 0ustar georgeskgeorgesk

!form renew
wims-modules-es-3.64.orig/modules/tool/popup.es/main.phtml0000644000175000017500000000035010603511346024022 0ustar georgeskgeorgesk!header !if $search=$empty Please type a search keyword. (Don't enter mathematical formulas here.) !read form.phtml


!read welcome.phtml !else !read form.phtml


!read search.phtml !endif !tail wims-modules-es-3.64.orig/modules/tool/popup.es/INDEX0000644000175000017500000000067210603511346022631 0ustar georgeskgeorgesktitle=Popup calculator forms description=you can search calculating forms or insert them into your own web pages. author=XIAO Gang address=xiao@unice.fr copyright=© 2000- (GNU GPL) translator= translator_address= version=1.00 wims_version=2.42 language=en category=tool level=E1 E2 E3 E4 E5 E6 H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 G R domain=algebra, analysis, geometry keywords=expression, function, calculator scoring=no wims-modules-es-3.64.orig/modules/tool/popup.es/search.phtml0000644000175000017500000000521210603511346024345 0ustar georgeskgeorgesk !if $gotcnt=0 !if $srch=$empty !exit !endif !if $module!=home Sorry, nothing has been found for $search.

!endif This database of popup calculator forms is still in its preliminary status. The server has registered your failed request, so that the authors will see what people are asking for, and add things according to the demand. Thanks for your patience. !exit !endif !set gotm=!item 1 to 20 of $gotm !if .. isin $gotm !reset gotm !endif !for s in $gotm !set vars=!record 5 of $formdir/$s.def !set vars=!nonempty lines $vars !if $vars!=$empty !set n_=!linecnt $vars !for i=1 to $n_ !set l_=!line $i of $vars !set var_$i=!randitem $l_ !next i !endif !set ops=!record 2 of $formdir/$s.def !set submits=!record 3 of $formdir/$s.def !set content=!record 4 of $formdir/$s.def !set ops=!nonempty lines $ops !set ocnt=!linecnt $ops !reset oplist !for op=1 to $ocnt !set ol=!line $op of $ops !distribute items $ol into n_,v_ !set n_=!word 1 of $n_ !if $n_!=$empty and $v_!=$empty !set op_$n_=$v_ !set oplist=!append item $n_ to $oplist !endif !next op !set oplist=!listcomplement module,size,color,precision in $oplist !set submits=!translate internal " to $ $ in $submits !set submits=!nonempty lines $submits !set scnt=!linecnt $submits !for su=1 to $scnt !set sl=!line $su of $submits !distribute items $sl into n_,v_ !set n_=!word 1 of $n_ !if $v_!=$empty !if $n_!=$empty !set N_=NAME=$n_ !else !reset N_ !endif !set submit$su= !endif !next su !default op_size=$default_size !default op_module=$default_module !default op_color=$default_color !default op_precision=$default_precision !set content=!nonempty lines $content

$sizeinput !for o in $oplist !next o $content
!reset op_module, op_color, op_size, op_precision !next s !if noremark notwordof $wims_read_parm

Remark. All the above forms are independent from the Wims server and from each other. So that they will also work within your own web pages (but only online). You can save this page, open its source, and copy the forms you want into your own page, possibly with modifications. !endif

wims-modules-es-3.64.orig/modules/tool/geometry/0000755000175000017500000000000010771672624022131 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/geometry/animtrace.es/0000755000175000017500000000000010603511346024465 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/geometry/animtrace.es/popup.phtml0000644000175000017500000000156710603511346026707 0ustar georgeskgeorgesk!if $compute=yes and $cmd!=resume !if $error!=$empty !read msg.phtml !exit !endif

!for i=1 to $objcnt !if $(pformula$i)!=$empty --{ !set mfo=!replace , by $ , $ in $(pformula$i) !htmlmath $mfo }--
!endif !next i !set ins_attr=$ins_attr name=ins0 !if 3D isin $type !insplot3d $myformula !else !insplot $myformula !endif
!if $ins_warn=fail

We have failed to plot your formula which probably contains errors.

!exit !endif !if $ins_animation=yes

Animation: !if $set_loop=0 !else   !endif
!endif !endif wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/0000755000175000017500000000000010215112510024246 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/quadratic.var0000644000175000017500000000027410170670747026765 0ustar georgeskgeorgeskvname =hipersuperficie quadrática vnames =hipersuperficies quadráticas vnamed =de hipersuperficie quadrática vnamesd=de hipersuperficies quadráticas vnamel =la hipersuperficie quadrática wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/menu.phtml0000644000175000017500000000423210170670747026306 0ustar georgeskgeorgesk!form reply

Menú de preferencias.

  • Tamaño de la imagen: -+.
  • Calidad de la animación: fluidez -+,  velocidad -+.
  • Reinicio de la animación: !for i in 1,0 !item $i+1 of no ,sí    !next i
  • Densidad de la malla: -+.
  • Ángulos de visión: grados (vertical), grados (horizontal), !for i in 1,0 !item $i+1 of o sin, con   !next i rotación.
  • Fondo transparente: !for i in 1,0 !item $i+1 of no,sí   !next i

Importante. Por favor, sea paciente si usted elige un nivel alto de calidad, especialmente si usted tiene una conexión lenta! Puede ocurrir que la animación sea parcial si el tiempo de ejecución excede del límite.

wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/intro.phtml0000644000175000017500000000153310170670746026475 0ustar georgeskgeorgesk!header ¿Usted ha tratado alguna vez de ver objetos en dimensión 4?

Esto es posible, aunque nuestro espacio sea de dimensión 3. Añadiendo la dimensión del tiempo, tenemos un espacio-tiempo de dimensión 4.

Los objetos en este espacio-tiempo aunque son objetos 3D los deformamos (cambian) con el tiempo. Siguiendo este principio, esta herramienta tiene por objeto la visualización de algunos de esos objetos como objetos 3D deformados, con el fin de ayudarle a establecer esta ``visión'' en dimensión 4.

Le invitamos a ver nuestra !href cmd=new&module=$module&type=quadratic lista de hypersuperficies cuadráticas en el espacio-tiempo de dimensión.

Otras gráficas animadas: !href module=tool/geometry/polyray Polyray , !href module=tool/geometry/animtrace Gráficos animados , !href module=tool/algebra/sweeppoly Barrido polinomial . !tail wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/var.proc0000644000175000017500000000365007122111027025734 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !read var.prep !read $type.var !if $demo_num>0 data=!record $demo_num of $type !endif !if $demo_num=$empty or $data=$empty or $vname=$empty !exit !endif ins_anim_loop=$[1-$set_loop] !if $set_transparent=1 insplot_transparent=255,255,255 !endif !if $set_rotate=1 rot=+180*s !endif tt0=-1.3 tt1=1.3 bar_height=0.13 size_x=$size_base size_y=$[$size_base*1.3] formula=!line 1 of $data plotsrc=!line 2 of $data desc =!line 3 of $data bound =!line 4 of $data samples=!line 5 of $data desc=!trim $desc !for i=1 to 5 b$i=!item $i of $bound !next i !for i=1 to 2 ss=!item $i of $samples s$i=$[rint($ss*$tram_density)] !next i plotsrc=!mathsubst t=($[$tt1-($tt0)]*(s-0.500001)) in $plotsrc plotsrc=!replace , by $ notitle, in $plotsrc arrb=$[$b5*1.2] nomargin=bmargin 1; tmargin 1; lmargin 1; rmargin 1; noxtics coord=arrow 1 from -$arrb,0,0 to $arrb,0,0 linetype 3; arrow 2 from 0,-$arrb,0 to 0,$arrb,0 linetype 3; arrow 3 from 0,0,-$arrb to 0,0,$arrb linetype 3; label 1 "x" at $arrb*1.05,0,0; label 2 "y" at 0,$arrb*1.05,0; label 3 "z" at 0,0,$arrb*1.05 nocoord=noarrow 1; noarrow 2; noarrow 3; nolabel 1; nolabel 2; nolabel 3; bmargin insplot_set=size $size_x,$[$size_y+$bar_height]; \ noborder; noxtics; noytics; noztics;\ isosamples $s1,$s2; hidden3d;\ view (floor(90-$angle1)%180+180)%180,floor($angle2 $rot)%360,1.4 insplot_split=size $size_x*0.95,$bar_height; origin 0,0; noparametric; noytics; $nocoord; label 1 "t" at $tt1+($tt1-($tt0))*0.03,0.5; xtics nomirror\ size $size_x,$size_y; origin 0,$bar_height; parametric; nolabel 1; $nomargin; $coord insplot_parm_2=3D [$b1:$b2] [$b3:$b4] [-$b5:$b5] [-$b5:$b5] [-$b5:$b5] $plotsrc notitle insplot_parm_1=2D [$tt0:$tt1] [0:1] x(s+1/$ins_anim_frames.0)*($tt1-($tt0))+($tt0) ? 0:1 notitle with impulses 6 wims_module_log=$type $demo_num wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/var.prep0000644000175000017500000000212606615561132025750 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. !for i in transparent,loop,rotate !if $(set_$i) notwordof 0 1 set_$i= !endif !next i !default set_transparent=0 !default set_loop=1 !default set_rotate=0 !if $type notwordof quadratic type= !endif !default type=quadratic sizecnt=5 !if $size notwordof 1 2 3 4 5 size= !endif !default size=3 size_base=!item $size of 0.32,0.4,0.5,0.62,0.77 qualitylst=7,12,20,30,50,75,100 qualitycnt=!itemcnt $qualitylst quality=$[floor($quality)] !if $quality>$qualitycnt or $quality<1 or NaN isin $quality quality= !endif !default quality=3 ins_anim_frames=!item $quality of $qualitylst speedcnt=5 !if $speed notwordof 1 2 3 4 5 speed= !endif !default speed=2 ins_anim_delay=!eval 1.7^($speed-1)/$ins_anim_frames densitycnt=5 !if $density notwordof 1 2 3 4 5 density= !endif !default density=3 tram_density=!item $density of 0.65,0.8,1,1.3,1.7 !if $angle1 notwordof 0 10 20 30 40 50 60 70 80 90 angle1= !endif !default angle1=20 !if $angle2 notwordof 0 15 30 45 60 75 90 105 120 135 150 165 180 angle2= !endif !default angle2=15 wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/about.phtml0000644000175000017500000000001710141661505026437 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/quadratic.phtml0000644000175000017500000000200110170670747027307 0ustar georgeskgeorgesk !set listcnt=!recordcnt $type !if $listcnt<=0 !exit !endif

Hipersuperficies cuadráticas

Una hipersuperficie cuadrática es el lugar geométrico de los puntos que verifican una ecuación algebraica de grado 2.

Esta aplicación tiene como fin visualizar la siguiente lista de hipersuperficies cuadráticas en el espacio-tiempo de dimensión 4. En las ecuaciones, x,y,z son las coorde nadas del espacio, la variable t designará la coordenada del tiempo. Una misma hipersuperficie a menudo será representada varias veces, bajo diferentes ángulos de visión (en particular con respecto a t).

!set ddata=!record $i of $type !set formula=!line 1 of $ddata !set formula=!htmlmath $formula !set descr=!line 3 of $ddata !set descr=!trim $descr
.Noecuacióndescripción !for i=1 to $listcnt
!href cmd=reply&demo_num=$i Mostrar $i$formula$descr !next i
wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/main.phtml0000644000175000017500000000077010170670747026271 0ustar georgeskgeorgesk !header

!if $data!=$empty or $cmd=config !if $data!=$empty !read plot.phtml

!href cmd=resume Regresar a la lista $vnamesd


!endif !read menu.phtml !else !read $type.phtml

!href cmd=config Menú de preferencias
!endif

:end Otros gráficos animados: !href module=tool/geometry/polyray Polyray , !href module=tool/geometry/animtrace Dibujos animados , !href module=tool/algebra/sweeppoly Barrido polinomial . !tail !set demo_num= wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/var.def0000644000175000017500000000140306615561231025535 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim help_subject help # type d'objet: quadratic, etc. type init quality any size any speed any density any ins_anim_loop any angle1 any angle2 any set_transparent any 0 set_loop any 0 set_rotate any demo_num any 0 wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/quadratic0000644000175000017500000001226010170670747026174 0ustar georgeskgeorgesk# formula list, multiline format. # line 1 is presentation formula. # line 2 is gnuplot formula. # line 3 is presentation phrase, language-dependent. # the rest is gnuplot parameters. # line 4 is boundaries: u,v,xyz # line 5 is sample rate: sample1,sample2 : x^2+y^2+z^2+t^2=1 sqrt(1-t^2)*cos(u)*cos(v),sqrt(1-t^2)*sin(u)*cos(v),sqrt(1-t^2)*sin(v) esfera S3 0,2*pi,-pi/2,pi/2,1 25,15 : x^2+y^2+z^2-t^2=0 t*cos(u)*cos(v),t*sin(u)*cos(v),t*sin(v) cono esférico cuyo eje principal es el de la variable t 0,2*pi,-pi/2,pi/2,0.8 25,15 : x^2+y^2-z^2+t^2=0 sqrt(v^2-t^2)*cos(u),sqrt(v^2-t^2)*sin(u),v cono esférico cuyo eje principal es el eje z 0,2*pi,-1,1,1 20,30 : x^2-y^2+z^2+t^2=0 sqrt(v^2-t^2)*cos(u),v,sqrt(v^2-t^2)*sin(u) cono esférico cuyo eje principal es el eje y 0,2*pi,-1,1,1 20,30 : x^2+y^2-zt=0 sqrt(v*t)*cos(u),sqrt(v*t)*sin(u),v cono esférico cuyo eje principal es la recta x=y=z+t=0 0,2*pi,-1,1,1.2 20,20 : x^2+z^2-yt=0 sqrt(v*t)*cos(u),-v,sqrt(v*t)*sin(u) cono esférico cuyo eje princial es la recta x=z=y+t=0 0,2*pi,-1,1,1.2 20,20 : x^2+y^2+z^2-t^2=1 sqrt(1+t^2)*cos(u)*cos(v),sqrt(1+t^2)*sin(u)*cos(v),sqrt(1+t^2)*sin(v) hiperboloide esférico cuyo eje principal es el eje t 0,2*pi,-pi/2,pi/2,1.8 25,15 : x^2+y^2-z^2+t^2=1 sqrt(1+v^2-t^2)*cos(u),sqrt(1+v^2-t^2)*sin(u),v hiperboloide esférico cuyo eje principal es el eje z 0,2*pi,-1,1,1.5 20,20 : x^2-y^2+z^2+t^2=1 sqrt(1+v^2-t^2)*cos(u),v,sqrt(1+v^2-t^2)*sin(u) hiperboloide esférico cuyo eje principal es el eje y 0,2*pi,-1,1,1.5 20,20 : x^2+y^2-zt=1 sqrt(1+v*t)*cos(u),sqrt(1+v*t)*sin(u),v hiperboloide esférico cuyo eje principal es la recta x=y=z+t=0 0,2*pi,-2,2,2 20,20 : x^2+z^2-yt=1 sqrt(1+v*t)*cos(u),-v,sqrt(1+v*t)*sin(u) hiperboloide esférico cuyo eje principal es la recta x=z=y+t=0 0,2*pi,-2,2,2 20,20 : x^2+y^2-z^2-t^2=0 sqrt(v^2+t^2)*cos(u),sqrt(v^2+t^2)*sin(u),v cono hiperbólico vertical 0,2*pi,-1,1,1.6 20,15 : x^2-y^2+z^2-t^2=0 sqrt(v^2+t^2)*cos(u),v,sqrt(v^2+t^2)*sin(u) cono hiperbñolico horizontal 0,2*pi,-1,1,1.6 20,15 : x^2-y^2-zt=0 sqrt(abs(t))*u,sqrt(abs(t))*v,u^2-v^2 cono hiperbólico -1,1,-1,1,1 20,20 : x^2-z^2-yt=0 sqrt(abs(t))*u,u^2-v^2,sqrt(abs(t))*v cono hiperbólico -1,1,-1,1,1 20,20 : x^2+y^2-z^2-t^2=1 sqrt(0.6+v^2+t^2)*cos(u),sqrt(0.6+v^2+t^2)*sin(u),v hiperboloide hiperbólico 0,2*pi,-1.5,1.5,2 20,16 : x^2-y^2+z^2-t^2=1 sqrt(0.6+v^2+t^2)*cos(u),v,sqrt(0.6+v^2+t^2)*sin(u) hiperboloide hiperbólico 0,2*pi,-1.5,1.5,2 20,16 : x^2+y^2-z^2-t^2=-1 sqrt(-1+v^2+t^2)*cos(u),sqrt(-1+v^2+t^2)*sin(u),v hiperboloide hiperbólico 0,2*pi,-1.5,1.5,1.5 20,25 : x^2-y^2+z^2-t^2=-1 sqrt(-1+v^2+t^2)*cos(u),v,sqrt(-1+v^2+t^2)*sin(u) hiperboloide hiperbólico 0,2*pi,-1.5,1.5,1.5 20,25 : x^2-y^2-zt=1 u,v,(u^2-v^2-1)/t/5 hiperboloide hiperbólico -2,2,-2,2,2.5 25,25 : x^2-z^2-yt=1 u,(u^2-v^2-1)/t/5,v hiperboloide hiperbólico -2,2,-2,2,2.5 25,25 : x^2+y^2+z^2-t=0 sqrt(t)*cos(u)*cos(v),sqrt(t)*sin(u)*cos(v),sqrt(t)*sin(v) paraboloide esférico orientado hacia el eje t 0,2*pi,-pi/2,pi/2,1.3 20,20 : x^2+y^2-z+t^2=0 sqrt(v-t^2)*cos(u),sqrt(v-t^2)*sin(u),v paraboloide esférico orientado hacia el eje z 0,2*pi,-1,1,1 25,25 : x^2-y+z^2+t^2=0 sqrt(v-t^2)*cos(u),-v,sqrt(v-t^2)*sin(u) paraboloide esférico orientado hacia el eje y 0,2*pi,-1,1,1 20,30 : x^2+y^2-z^2-t=0 sqrt(v^2+t)*cos(u),sqrt(v^2+t)*sin(u),v paraboloide hiperbólico orientado hacia el eje t, vertical 0,2*pi,-1,1,1 20,25 : x^2-y^2+z^2-t=0 sqrt(v^2+t)*cos(u),-v,sqrt(v^2+t)*sin(u) paraboloide hiperbólico orientado hacia el eje t, horizontal 0,2*pi,-1,1,1 20,25 : x^2+y^2-z-t^2=0 sqrt(t^2+v)*cos(u),sqrt(t^2+v)*sin(u),v paraboloide hiperbólico orientado hacia el eje z 0,2*pi,-2,2,2 20,25 : x^2-y^2-z+t^2=0 u,v,u^2-v^2+t^2 paraboloide hiperbólico orientado hacia el eje z -1.5,1.5,-1.5,1.5,2 20,20 : x^2-y+z^2-t^2=0 sqrt(t^2+v)*cos(u),-v,sqrt(t^2+v)*sin(u) paraboloide hiperbólico orientado hacia el eje y 0,2*pi,-2,2,2 20,25 : x^2-y-z^2+t^2=0 u,u^2-v^2+t^2,v paraboloide hiperbólico orientado hacia el eje y -1.5,1.5,-1.5,1.5,2 20,20 : x^2+y^2+t^2=1 sqrt(1-t^2)*cos(u),sqrt(1-t^2)*sin(u),v cilindro esférico vertical 0,2*pi,-1.2,1.2,1 20,18 : x^2+z^2+t^2=1 sqrt(1-t^2)*cos(u),-v,sqrt(1-t^2)*sin(u) cilindro esférico horizontal 0,2*pi,-1.2,1.2,1 20,18 : x^2+y^2-t^2=0 cos(u)*t,sin(u)*t,v cilindro cónico con una recta singular en el eje z 0,2*pi,-1.5,1.5,1.4 20,20 : x^2+z^2-t^2=0 cos(u)*t,-v,sin(u)*t cilindro cónico con una recta singular en el eje y 0,2*pi,-1.5,1.5,1.4 20,20 : x^2+y^2-t^2=1 cos(u)*sqrt(1+t^2),sin(u)*sqrt(1+t^2),v cilindro hiperbólico de una hoja, vertical 0,2*pi,-1.8,1.8,1.8 20,20 : x^2+z^2-t^2=1 cos(u)*sqrt(0.7+t^2),-v,sin(u)*sqrt(0.7+t^2) cilindro hiperbólico de una hoja, horizontal 0,2*pi,-2,2,2 20,20 : x^2+y^2-t^2=-1 cos(u)*sqrt(t^2-0.7),sin(u)*sqrt(t^2-0.7),v cilindro hiperbólico de dos hojas, vertical 0,2*pi,-1,1,1 20,20 : x^2+z^2-t^2=-1 cos(u)*sqrt(t^2-0.6),-v,sin(u)*sqrt(t^2-0.6) cilindro hiperbólico de dos hojas, horizontal 0,2*pi,-1,1,1.1 20,20 wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/INDEX0000644000175000017500000000162010215112735025050 0ustar georgeskgeorgesktitle=Visión 4D # Commencez la description par minuscule! description=gráficas de hypersurperficies etc. en el espacio-tiempo de dimensión 4. author=XIAO Gang address=xiao@unice.fr copyright=© 1998 (GNU GPL) version=1.10 translator=Antonio Ullán translator_address=aullan@unex.es # minimal version of wims server under which the module may run wims_version=1.10 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H5, H6, U1, U2, U3, U4 # e.g. algebra, analysis, geometry, etc. domain=geometry # Anything you like. keywords=function, graphing, hypersurface, quadratic hypersurface, dimension 4, 4D # Software packages required to run the module require= # Does the module have scoring system? scoring=no help=nopop wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/plot.phtml0000644000175000017500000000141610170670747026321 0ustar georgeskgeorgeskGráfica de $vnamel !htmlmath $formula !if $desc!=$empty ($desc) !endif en el espacio-tiempo de dimensión 4.

Animación:

(trabaja con
javascript)

(La barra de la parte inferior de la imagen, indica la variación de t, en sincronización con la deformación del objeto 3D.)

Esta imagen es un archivo gif. Puede ser !href cmd=help&special_parm=download guardado y visualizado con otro software, o incluido en sus páginas web. wims-modules-es-3.64.orig/modules/tool/geometry/vision4d.es/help.phtml0000644000175000017500000000241510141661505026261 0ustar georgeskgeorgesk

How to save and reuse the animated images

The animation clips produced by $module_title are under the format of animated gif.

You may save the animation sequence by using the option ``save image'' of your navigator (try to click on the right button, with the mouse placed on the image). But you have to give a name to the file which terminates by the extension ``.gif'' (otherwise the navigator will deposit the file under the name ``wims.cgi'', which would make it unusable).

Suppose that you have saved the file under the name ``xyz.gif''. Then you may load it into an animation player software of your computer (for example xanim for unix; somebody could tell me the name of a software under windows?) to play the animation. You may notice that this kind of dedicated software usually gives more smooth animation than under the navigator.

Now to include the animation clip into your web page, you have only to, say, drop the file ``xyz.gif'' in the same directory of your html page, and in the html file, add a line of the following style to the place you like:

<IMG SRC="xyz.gif">
If everything is fine, you will then see the animation appear in your page. wims-modules-es-3.64.orig/modules/tool/linear/0000755000175000017500000000000010771672623021547 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/linear/matrix.es/0000755000175000017500000000000010315753121023444 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/linear/matrix.es/var.proc0000644000175000017500000000757110315754132025136 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. pari_precision=20 pari_serieslength=5 wims_multiexec=pari wims_backslash_insmath=yes ins_align=middle f=f !default formula=A^2+3*A+2 !default exp_method=numerical !if $cmd == resume and $preset != A !read deflist mat_pari=!translate $\ $ to ; in $matrix mat_pari=!rawmath $mat_pari preset=!rawmath $preset tmp=!exec pari A=[$mat_pari]; $deflist_pari\ print($preset) tmp=!line 2 of $tmp matrix=!translate ;\]\[ to $\n $ in $tmp !endif matrix=!rawmatrix $matrix !if $cmd != resume and $matrix != $empty and $show != $empty compute=yes l=!linecnt $matrix !if inconsistent_columns isin $wims_warn_rawmatrix use_space=yes !endif loadv=objs=$l !for i=1 to $l ll=!line $i of $matrix loadv=$loadv&v$i=$ll !next i mat_pari=!translate $\ $ to ; in $matrix mat_pari=!rawmath $mat_pari mat_mup=!replace ; by \],\[ in $mat_pari ddd=!exec pari print(matsize([$mat_pari]))\ printtex([$mat_pari])\ print(matrank([$mat_pari]))\ \v size=!line 1 of $ddd matr_tex=!line 2 of $ddd rank=!line 3 of $ddd gp_version=!line 4 of $ddd gp_version=!word 4 of $gp_version n=!itemnum $size !ifval $n=2 rows=!item 1 of $size cols=!item 2 of $size wims_module_log=$show: $rows x $cols !ifval $rows=$cols ddd=!exec pari print(trace(A=[$mat_pari]))\ print(matdet(A))\ if(A==mattranspose(A),print(qfsign(A)),print("fail"))\ printtex(poly=charpoly(A,X))\ print(polroots(poly)) trace=!line 1 of $ddd det=!line 2 of $ddd signat=!line 3 of $ddd polych_tex=!line 4 of $ddd eigenval=!line 5 of $ddd eigenval=!translate \[\]~ to {} $ in $eigenval !if square isin $show tex_src2=!exec pari printtex([$mat_pari]^2) !endif !if cube isin $show tex_src3=!exec pari printtex([$mat_pari]^3) !endif !if inverse isin $show and $det != 0 tex_srci=!exec pari printtex([$mat_pari]^-1) !endif # !if exponent isin $show # !if $exp_method=numerical # tex_srce=!exec mupad print(Unquoted,generate::TeX(exp(Dom::Matrix(Dom::Numerical)([[$mat_mup]])))); # !else # tex_srce=!exec mupad print(Unquoted,generate::TeX(exp(Dom::Matrix(Dom::ExpressionField(normal))([[$mat_mup]])))); # !endif # !endif !if eigen isin $show # eigen=!exec mupad print(Unquoted,generate::TeX(linalg::eigenVectors(Dom::Matrix(Dom::ExpressionField(normal))([[$mat_mup]])))); eigen=!exec maxima eigenvectors(matrix([$mat_mup])); evalue=!item 1 of $eigen evector=!item 2 to -1 of $eigen evector=!translate internal [] to () in $evector evalue=!declosing $evalue emult=!item 2 of $evalue evalue=!item 1 of $evalue evalue=!declosing $evalue emult=!declosing $emult ecnt=!itemcnt $evalue ecnt2=!itemcnt $evector !if $ecnt2>$ecnt !if $ecnt=1 evec1=$evector !else ecnt3=!sum x for x in $emult !if $ecnt2=$ecnt3 j=1 !for i=1 to $ecnt m=!item $i of $emult evec$i=!item $j to $j+$m-1 of $evector j=$[$j+$m] !next i !endif !endif !else !for i=1 to $ecnt evec$i=!item $i of $evector !next i !endif !endif # !if jordan isin $show # jordan=!exec mupad print(Unquoted,generate::TeX(linalg::jordanForm(Dom::Matrix(Dom::ExpressionField(normal))([[$mat_mup]])))); # !endif !endif !if register isin $show M$register=$matrix !endif !if every isin $show !read deflist !for i=1 to 9 tex_srcM$i=!exec pari printtex([$(M$(i)_pari)]) !next i !endif !if formula isin $show !read deflist formula=!rawmath $formula subst_tex=!exec pari A=[$mat_pari]; $deflist_pari \ printtex($formula) subst_tex=!line 2 of $subst_tex !endif !else #bad matrix bad_mat=yes !endif !endif wims-modules-es-3.64.orig/modules/tool/linear/matrix.es/about.phtml0000644000175000017500000000056210315754132025632 0ustar georgeskgeorgesk$module_about Esta aplicación usa el siguiente software:
!exec pari about for los invariantes
inversa y fórmulas con A
el polinomio característico
!exec maxima about forautovalores y autovectores !! the Jordan form
!! eA
wims-modules-es-3.64.orig/modules/tool/linear/matrix.es/main.phtml0000644000175000017500000001134210315754132025442 0ustar georgeskgeorgesk!header !if $compute != yes Dada una matriz (introduzca sus elementos línea a línea, separando los mismos por comas). !form reply
A =
:
  • rango, determinante, traza, signatura.
  • A2.   A3.   A-1. !goto nextmenu
  • eA:   numerical, or   symbolic. :nextmenu
  • polinomio característico de A.
  • Autovalores y autovectores. !!
  • Jordan form.

  • Todas las matrices registradas.
  • Una expresión matricial: .
  • Registrar A con un nombre .
Usted tiene también el !href module=tool/linear/matmult Multiplicador de matrices para multiplicar rápidamente dos matrices. !else !if $use_space=yes !warn rawmatrix !goto bad_end !endif !if $bad_mat=yes La matriz introducida es errónea. Por favor, corrija el error.

!goto bad_end !else

!instex $$ A=$matr_tex $$

!if invariant isin $show rango(A) = $rank
!ifval $rows=$cols det(A) = $det
traza(A) = $trace
!if fail notin $signat signatura(A) = ($signat)
!else La matriz no es simétrica.
!endif !endif !endif !if $tex_src2 != ? and $tex_src2 != $empty !instex $$$$ A^2 = $tex_src2 $$$$
!endif !if $tex_src3 != ? and $tex_src3 != $empty !instex $$$$ A^3 = $tex_src3 $$$$
!endif !if $tex_srci != ? and $tex_srci != $empty !instex $$$$ A^{-1} = $tex_srci $$$$
!endif !if $tex_srce != ? and $tex_srce != $empty !instex $$$$ e^A = $tex_srce $$$$
!endif !if formula isin $show !if $subst_tex == ? or $subst_tex == $empty El cálculo de $formula ha fallado. Por favor, revise la validez de su expresión. !else $formula = !set ins_attr=align=middle !instex $$$$ $subst_tex $$$$ !endif
!endif !if charpoly isin $show and $polych_tex != $empty and $polych_tex != ? !instex polinomio caract. $$ =$polych_tex $$
!endif !if eigen isin $show !if $eigen = $empty or FAIL isin $eigen El cálculo de los autovalores y autovectores ha fallado.

!else Autovalores y autovectores de A:

!readproc colors-adm !set val=!item $i of $evalue !set mul=!item $i of $emult !next i
ValorMultiplicidadVector !for i=1 to $ecnt !exchange table_color1,table_color2
\($val) \($mul) \($(evec$i))

!endif !endif !if jordan isin $show !if $jordan = $empth or FAIL isin $jordan Computation of Jordan Form has failed.

!else Jordan Form of A: !instex $$$$ $jordan $$$$
!endif !endif !if every isin $show and $deflist_pari != $empty

Registered matrices: !for i=1 to 9 !if $(M$i) != $empty !instex $$$$ M_$i=$(tex_srcM$i) $$$$ . !endif !next i

!endif


!form resume otra matriz, utilizando
(Use A~ para denotar la traspuesta de $m_A.) también puede utilizar el !href module=tool/linear/vector&$loadv calculador de vectores con las filas de $m_A como vectores, o el !href module=tool/linear/linsolver&method=matrix&matrix=$matrix&noshow=yes Solucionador de sistemas lineales utilizando $m_A como matriz de los coeficientes.

!set preset= !endif bad_mat !endif !goto end :bad_end !href cmd=resume&preset=A Corregir error .   :end !tail !set show= wims-modules-es-3.64.orig/modules/tool/linear/matrix.es/var.def0000644000175000017500000000145610315754132024725 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim matrix any 0 show any 0 help_subject help 0 formula any 0 register any 0 preset any 0 exp_method any 0 M1 deny 0 M2 deny 0 M3 deny 0 M4 deny 0 M5 deny 0 M6 deny 0 M7 deny 0 M8 deny 0 M9 deny 0 wims-modules-es-3.64.orig/modules/tool/linear/matrix.es/INDEX0000644000175000017500000000141310315754132024240 0ustar georgeskgeorgesktitle=Calculador de Matrices description=calcula determinantes, matriz inversa, autovectores,... author=XIAO Gang address=xiao@unice.fr copyright=© 1997-1999 (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=2.00 # minimal version of wims server under which the module is running wims_version=3.31 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, etc. domain=algebra, linear algebra # Anything you like. keywords=matrix,determinant,rank,trace # Software required to run this module require=pari,maxima wims-modules-es-3.64.orig/modules/tool/linear/matrix.es/deflist0000644000175000017500000000045110315754132025024 0ustar georgeskgeorgesk# Variable definition file, called by var.proc. # Prepare list of defined matrices for pari. deflist_pari= !for i=1 to 9 !if $(M$i) != $empty M$(i)_pari=!translate $\ $ to ; in $(M$i) M$(i)_pari=!rawmath $(M$(i)_pari) deflist_pari=$deflist_pari M$i=[$(M$(i)_pari)]; !endif !next i wims-modules-es-3.64.orig/modules/tool/linear/matrix.es/help.phtml0000644000175000017500000000210110315754132025437 0ustar georgeskgeorgesk Además de cálculos inmediatos con una matriz (determinante, inversa, autovectores, etc), usted puede usar el botón ``Registrar'' del menú para realizar cálculos más complicados con matrices. Por ejemplo,

  • Para calcular el efecto de la matriz $m_M sobre un vector columna $m_V, puede entrar primero la matriz $m_M, registrarla con el nombre $m_M1. Ahora regrese a la página anterior y escriba el vector columna $m_V. Introduzca la expresión matricial M1*A y calcule esa expresión. Esto dará el resultado buscado.

  • Para calcular una matriz semejante a otra: $m_M $m_T $m_M-1 donde $m_M y $m_T son matrices cuadradas del mismo orden con $m_M invertible, primero introducir $m_M y registrarla con el nombre $m_M1. A continuación, regresar a la página del menú "Calculador de Matrices" e introducir la segunda matriz $m_T. Introducir ahora la expresión matricial M1*A*M1^-1, y calcule esta expresión. Obtendrá su resultado inmediatamente.
Se pueden registrar hasta 9 matrices simultáneamente. wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/0000755000175000017500000000000010315753122023624 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/linear/matmult.es/var.init0000644000175000017500000000010606755544036025315 0ustar georgeskgeorgesk show=!randitem A^-1,B^-1,A*B,B*A,A*B*A^-1,A^-1*B*A,B*A*B^-1,B^-1*A*B wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/var.proc0000644000175000017500000000272107073551761025317 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. pari_precision=20 pari_serieslength=5 ins_align=middle matA=!rawmatrix $matA !if $wims_warn_rawmatrix!=$empty error=rawmatrix wims_warn_rawmatrix= rawmatrix=A !endif matB=!rawmatrix $matB !if $wims_warn_rawmatrix!=$empty error=$error rawmatrix rawmatrix=B !endif wims_rawmath_variables=A,B show=!rawmath $show !if $show=$empty and $matA$matB != $empty and $cmd=reply error=$error no_formula !exit !endif !if $cmd != resume and $matA$matB != $empty and $show != $empty compute=yes !if $matA=$empty and A isvarof $show error=$error empty_data empty_data=A !exit !endif !if $matB=$empty and B isvarof $show error=$error empty_data empty_data=B !exit !endif pariA=!translate $\ $ to ; in $matA pariB=!translate $\ $ to ; in $matB pariout=!exec pari A=Mat([$pariA]);printtex(A)\ B=Mat([$pariB]);printtex(B)\ C=$show;printtex(C)\ print(C) !distribute lines $pariout into texA,texB,texC,rawC !for i in texA,texB,texC,rawC $i=!trim $($i) !next i !if $texA=$empty and $matA!=$empty error=$error bad_mat bad_mat=A !exit !endif !if $texB=$empty and $matB!=$empty error=$error bad_mat bad_mat=B !exit !endif !if $matA!=$empty texA=A=$texA !else texA= !endif !if $matB!=$empty texB=B=$texB !else texB= !endif !if $texC=$empty error=$error eval_fail !exit !endif !endif wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/about.phtml0000644000175000017500000000011610315754132026004 0ustar georgeskgeorgesk$module_about Este módulo utiliza !exec pari about para evaluar matrices. wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/main.phtml0000644000175000017500000000255010315754132025622 0ustar georgeskgeorgesk!header !if $error!=$empty !read msg.phtml !else !if $compute=yes Resultado del cálculo !htmlmath C=$show

!instex $$$$ $texA\quad $texB\quad C=$texC $$$$
!form new Usted puede la matriz al Calculador de matrices para hacer otros cálculos con ella. !warn rawmath !else Esta página tiene una herramienta para calcular rápidamente el producto de dos matrices, (también otras fórmulas). Sólo hay que introducir las dos matrices y hacer click! !endif !endif


Introduzca sus matrices (línea a línea, separando los elementos mediante comas): !form reply
A =   B =
Y la fórmula a  : C =  !href cmd=renew Reinicializar la página.

Para calcular los invariantes de una matriz o evaluar fórmulas con más de dos matrices, se puede utilizar !href module=tool/linear/matrix Calculador de matrices . :end !tail wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/var.def0000644000175000017500000000107306755504724025114 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim matA any matB any show any help_subject help wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/INDEX0000644000175000017500000000136410315754132024424 0ustar georgeskgeorgesktitle=Multiplicador de matrices description=introducir dos matrices y obtener su producto (u otra fórmula). author=XIAO Gang address=xiao@unice.fr copyright=© 1999 (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.02 # minimal version of wims server under which the module is running wims_version=1.35 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, etc. domain=algebra, linear algebra # Anything you like. keywords=matrix # Software required to run this module require=pari wims-modules-es-3.64.orig/modules/tool/linear/matmult.es/msg.phtml0000644000175000017500000000147210315754132025466 0ustar georgeskgeorgesk !set error_header=Error. !if rawmatrix iswordof $error !warn rawmatrix !endif !if bad_mat iswordof $error $error_header No es posible evaluar la matriz $bad_mat. Por favor, corrija su error. !exit !endif !if empty_data iswordof $error $error_header Por favor, rellene el campo para la matriz $empty_data que aparece en la fórmula a calcular. !exit !endif !if no_formula iswordof $error Por favor, precise la fórmula a evaluar. !exit !endif !if eval_fail iswordof $error Usted ha introducido

!instex $$$$ $texA\quad $texB $$$$

$error_header Es imposible evaluar la fórmulaIt !htmlmath $show para esas dos matrices. Verifique que ha escrito correctamente las matrices y que los tamaños de las mismas son compatibles con la fórmula. !exit !endif wims-modules-es-3.64.orig/modules/tool/arithmetic/0000755000175000017500000000000010771672624022427 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/0000755000175000017500000000000010340567367024344 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/var.proc0000644000175000017500000000640310340567367026024 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !default objcnt=2 !default euc1=1 !default euc2=2 pari_precision=12 objcnt=!eval rint($objcnt) !if $objcnt<2 objcnt=2 !endif !if $objcnt>9 objcnt=9 !endif xs= Fs= total= xpari= facsrc= gcdsrc= lcmsrc= !for i=1 to $objcnt x$i=!trim $(x$i) x$i=!lower $(x$i) x$i=!rawmath $(x$i) xx=!eval $(x$i) !if NaN notin $xx and . isin $(x$i) realnum=yes !endif !if $(x$i)=$empty hasempty=yes !endif xs=!append item $(x$i) to $xs Fs=!append item F$i to $Fs total=$total$(x$i) xpari=!append line print(x$i=$(x$i)) to $xpari facsrc=!append line print(factor($(x$i))) to $facsrc !if $i=1 gcdsrc=$x1 lcmsrc=$x1 !else gcdsrc=gcd($gcdsrc,$(x$i)) lcmsrc=lcm($lcmsrc,$(x$i)) !endif !next i !if $total!=$empty and $noshow!=yes compute=yes !if $realnum=yes error_test=$error_test real !endif !if ($hasempty=yes and $gcdlcm$bezout!=$empty) or\ ($eucdiv!=$empty and ($(x$euc1)=$empty or $(x$euc2)=$empty)) error_test=$error_test hasempty !endif !if $gcdlcm$eucdiv$bezout$getfactor=$empty error_test=$error_test nocommand !endif !if $error_test!=$empty wims_module_log=error $error_test !exit !endif wims_module_log=calc $xs ddd=!exec pari $xpari\ print($gcdsrc)\ print($lcmsrc) !for i=1 to $objcnt xpari$i=!line $i of $ddd !next i !if $gcdlcm=yes gcd=!line $objcnt+1 of $ddd lcm=!line $objcnt+2 of $ddd !else gcd=2 lcm=2 !endif !if $getfactor=yes ddd=!exec pari $facsrc\ print(factor($gcd))\ print(factor($lcm)) !for i=1 to $objcnt factor=!line $i of $ddd base=$(x$i) !read htmlfactors xfac$i=$factor_html !next i factor=!line $objcnt+1 of $ddd base=$gcd !read htmlfactors gcdfac=$factor_html factor=!line $objcnt+2 of $ddd base=$lcm !read htmlfactors lcmfac=$factor_html !endif !if $bezout=yes bezsrc=bez=bezout($x1,$x2);bez1=bez[1];bez2=bez[2];bezz=bez[3]; !for i=3 to $objcnt step 1 bezsrc=$bezsrc bez=bezout(bezz,$(x$i));bezz=bez[3];bez$i=bez[2]; !for j=1 to $i-1 bezsrc=$bezsrc bez$j=bez$j*bez[1]; !next j !next i bezsrc=$bezsrc print(bezz) !for i=1 to $objcnt bezsrc=$bezsrc\ print(bez$i) !next i ddd=!exec pari $bezsrc bezgcd=!line 1 of $ddd bezres= !for i = 1 to $objcnt bez$i=!line $i+1 of $ddd !if + isin $(bez$i) or - isin $(bez$i) bez$i=($(bez$i)) !endif !if $i=1 bezres=$bez1*F1 !else bezres=$bezres + $(bez$i)*F$i !endif !next i bezres=$bezres = $bezgcd !endif euc1=!eval rint($euc1) euc2=!eval rint($euc2) !if $eucdiv=yes and $euc1>0 and $euc1<=$objcnt and $euc2>0 and $euc2<=$objcnt ddd=!exec pari euc1=$(x$euc1);euc2=$(x$euc2);while(euc2,print(euc3=euc1%euc2 ",");print((euc1-euc3)/euc2 ",");euc1=euc2;euc2=euc3) euclevel=!itemcnt $ddd euclevel=!eval rint(($euclevel-1)/2) euc1_1=$(x$euc1) euc2_1=$(x$euc2) euc3_1=!item 1 of $ddd euc4_1=!item 2 of $ddd !for i=2 to $euclevel euc1_$i=$(euc2_$[$i-1]) euc2_$i=$(euc3_$[$i-1]) euc3_$i=!item $i*2-1 of $ddd euc4_$i=!item $i*2 of $ddd !next i !for i=1 to $euclevel !for j=2 to 4 e=$(euc$(j)_$i) !if + isin $e or - isin $e euc$(j)_$i=($e) !endif !next j !next i !endif !endif wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/about.phtml0000644000175000017500000000011310340567367026517 0ustar georgeskgeorgesk$module_about Software called by this application :
!exec pari about wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/htmlfactors0000644000175000017500000000153610340567367026622 0ustar georgeskgeorgesk!if $base=1 factor_html=1 !exit !endif factor_html= myn=!eval $base factor=!translate ; to $\ $ in $factor factor=!trim $factor fn=!linecnt $factor t=1 !if $myn != NaN !for k from 1 to $fn ii=!line $k of $factor base=!item 1 of $ii power=!item 2 of $ii !if $t>1 factor_html=$factor_html × !endif factor_html=$factor_html $base !ifval $power != 1 factor_html=$factor_html$power !endif t=!eval $t+1 !next k !else !ifval $content != 1 !if / isin $content factor_html=($content) !else factor_html=$content !endif !endif !for k from 1 to $fn ii=!line $k of $factor base=!item 1 of $ii base=!htmlmath $base power=!item 2 of $ii factor_html=$factor_html ($base) !ifval $power != 1 factor_html=$factor_html$power !endif t=!eval $t+1 !next k !endif wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/main.phtml0000644000175000017500000000653210340567367026344 0ustar georgeskgeorgesk!header

!if $compute=yes !if $error_test!=$empty !read msg.phtml !goto menu !endif Resultados de los cálculos solicitados.

!warn rawmath !for i = 1 to $objcnt F$i = !htmlmath $(xpari$i) !if $getfactor=yes = $(xfac$i) !endif
!next i !if $gcdlcm=yes
m.c.d.($Fs) = !htmlmath $gcd !if $getfactor=yes = $gcdfac !endif
m.c.m.($Fs) = !htmlmath $lcm !if $getfactor=yes = $lcmfac !endif !endif !if $bezout=yes

Relación de Bezout: !htmlmath $bezres !endif !if $eucdiv=yes !let opbeg= !let opend= !let hdstyle= !if $euclevel<1

La división euclídea de F$euc1 por F$euc2 no ha podido hacerse. ¿Un error de escritura?

!else

Divisiones euclídeas sucesivas de F$euc1 por F$euc2:

$hdstyle dividendo $hdstyle cociente $hdstyle divisor $hdstyle resto !for i=1 to $euclevel
!htmlmath $(euc1_$i) $opbeg=$opend !htmlmath $(euc4_$i) $opbeg×$opend !htmlmath $(euc2_$i) $opbeg+$opend !htmlmath $(euc3_$i) !next i
!endif euclevel<1? !endif !else Esta página calcula las siguientes relaciones aritméticas entre $objcnt enteros o polinomios: m.c.d., m.c.m., división euclídea, relación de Bezout. !endif compute=yes? :menu


!form reply Puedes introducir tus expresiones (enteros o polinomios de una variable): (¿Cómo excribir las expresiones? !href cmd=help Ejemplos )

!for i = 1 to $objcnt F$i =
!next i

Entonces elije lo que quieres calcular.

  • m.c.d.($Fs) y m.c.c. ($Fs).
  • Factorización de los enteros y polinomios. (La herramienta !href module=tool/algebra/factor.$lang Factoris está mejor adaptada para la factorización de un entero simple o un polinomio.)
  • Relación de Bezout entre $Fs.
  • Sucesivas divisiones euclídeas de por .
Puedes cambiar el número de expresiones involucradas: !for i = 2 to 9 !if $i != $objcnt !href cmd=resume&objcnt=$i&getfactor=$getfactor&bezout=$bezout&eucdiv=$eucdiv&gcdlcm=$gcdlcm&noshow=yes $i . !endif !next i

Glosario: !pedia greatest common divisor, máximo común divisor , !pedia least common multiple,mínimo común múltiplo , !pedia factorization, factorización , !pedia Bezout numbers,relación de Bezout , !pedia euclidean algorithm,divisón euclídea . :end

!tail !for n in getfactor,bezout,eucdiv,gcdlcm,noshow !set $n= !next n wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/var.def0000644000175000017500000000050710340567367025616 0ustar georgeskgeorgesk style any 0 objcnt any 0 getfactor any 1 bezout any 1 eucdiv any 1 euc1 any 1 euc2 any 1 gcdlcm any 1 noshow any 1 x1 any 1 x2 any 1 x3 any 1 x4 any 1 x5 any 1 x6 any 1 x7 any 1 x8 any 1 x9 any 1 wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/INDEX0000644000175000017500000000134110340567367025135 0ustar georgeskgeorgesktitle=Bezout # Commencez la description par minuscule! description=calcula la división euclídea, m.c.d., m.c.m., igualdad de Bezout. author=XIAO Gang address=xiao@unice.fr copyright=© 1998 (GNU GPL) version=1.02 # minimal version of wims server under which the module may run wims_version=1.32 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H5 H6 U1 U2 U3 U4 # e.g. algebra, analysis, geometry, etc. domain=algebra, arithmetic, number # Anything you like. keywords=integer, polynomial, euclidian division, gcd, lcm require=pari help=popup wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/msg.phtml0000644000175000017500000000110310340567367026173 0ustar georgeskgeorgesk !if real iswordof $error_test

Has dado números reales. Estos cálculos aritméticos sobre números reales no tienen sentido. Por favor, corríge tus fórmulas. (Se aceptan polinomios con coeficientes reales.) !endif !if hasempty iswordof $error_test

Parte de tus fórmulas no están definidas. No puedo hacer cálculos sobre datos no existentes. Por favor, completa los datos. !endif !if nocommand iswordof $error_test

Has solicitado un cálculo sin decir lo que quieres calcular. Elije al menos un botón de elección, antes de pulsar el botón "Calcular". !endif wims-modules-es-3.64.orig/modules/tool/arithmetic/bezout.es/help.phtml0000644000175000017500000000262610340567367026350 0ustar georgeskgeorgesk !default help_subject=example1 !if example isin $help_subject Some examples of formulas and how to type them.

For the formula: You may type: Which gives: !if $help_subject=example1
46-36-26 4^6-3^6-2^6 3303
222-10! 2^22-10! 565504
(35-1)(25-1)-1 (3^5-1)*(2^5-1)-1 7501
!instex $$$$ 15+77-2\over 2^3\cdot 3^5-1$$$$ (15+77-2)/(2^3*3^5-1) 90/1943
X3-3X2+3X-1 X^3-3*X^2+3*X-1 X3-3X2+3X-1
!instex $$$$ \sum^{10}_{n=1}\left(n^2+n\right)$$$$ sum(n=1,10,n^2+n) 440
!instex $$$$ \prod^4_{n=1}(x^n+n) $$$$ prod(n=1,4,x^n+n) !htmlmath (x+1)(x^2+2)(x^3+3)(x^4+4)
12-th Fibonacci number fibonacci(12) 144
!instex $$ C^{12}_{30}={30 \choose 12}$$ binomial(30,12) 86493225
!instex $$$$ 2^{2^{2^2}}-8!$$$$ 2^(2^(2^2))-8! 25216
a random number between
1 and 225
random(2^25)+1 random
!endif example 1 !endif wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/0000755000175000017500000000000010215111576024454 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/intro.phtml0000644000175000017500000000205410146060345026656 0ustar georgeskgeorgesk $wims_html_header !headmenu

$module_title

!if $cmd=help !read help.phtml !goto end !endif


Bienvenido, esta es la herramienta que resuelve ecuaciones de congruencia.

En primer lugar se debe dar el número de ecuaciones del sistema que se desea resolver:

!href module=$module&cmd=new&Degree=2 2 ,  !href module=$module&cmd=new&Degree=3 3 ,  !href module=$module&cmd=new&Degree=4 4 ,  !href module=$module&cmd=new&Degree=5 5 ,  !href module=$module&cmd=new&Degree=6 6 ,  !href module=$module&cmd=new&Degree=7 7 ,  !href module=$module&cmd=new&Degree=8 8 ,  !href module=$module&cmd=new&Degree=9 9

:end




En Wims puede encontrar también un ejercicio que utiliza el teorema chino:

Chinois


!homeref wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/var.init0000644000175000017500000000000210212074477026126 0ustar georgeskgeorgesk wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/var.proc0000644000175000017500000000160610212074477026141 0ustar georgeskgeorgeskwims_print_precision=8 essai= vide=no !for i=1 to $Degree m_$i=!item 2 of $(m_$i) !next i y_1=$(x_1) p_1=$(m_1) n=$[$Degree-1] !if $cmd=reply !for i=1 to $n pari_out=!exec pari print(chinese(Mod($(y_$i),$(p_$i)),Mod($(x_$[$i+1]),$(m_$[$i+1])))) pari_out=!char 5 to -2 of $(pari_out) y_$[$i+1]=!item 1 of $(pari_out) p_$[$i+1]=!item 2 of $(pari_out) !next i reste=$(y_$Degree) modul=$(p_$Degree) d=!charcnt $reste !for i=1 to $Degree t$i=!charcnt $(x_$i) s$i=!charcnt $(m_$i) !ifval $(t$i)=0 or $(s$i)=0 essai=yes vide=yes wims_module_log=$cmd: equat=$Degree case_vide=yes !else !ifval $d=0 wims_module_log=$cmd: equat=$Degree sol=no case_vide=no !else $d!=0 wims_module_log=$cmd: equat=$Degree sol=yes case_vide=no !endif !endif !next i !endif !if $cmd=new or $cmd=renew wims_module_log=$cmd: equations=$Degree !endif wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/about.phtml0000644000175000017500000000013010146060345026626 0ustar georgeskgeorgesk

$module_about
Software empleado en esta aplicación:
!exec pari about wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/main.phtml0000644000175000017500000000276510146060345026460 0ustar georgeskgeorgesk $wims_html_header !headmenu

$module_title

!if $cmd=help and $special_parm=about !read about.phtml !goto end2 !endif !if $cmd=help !read help.phtml !goto end2 !endif


Usted puede resolver un sistema de $Degree ecuaciones



!if $cmd==reply !if $vide=yes No ha Vous n'avez pas rempli toutes les cases , recommencez.
!goto changer !endif Usted desea resolver el sistema siguiente :

!for i=1 to $Degree X $m_equiv $(x_$i) modulo $(m_$i)
!next i



!ifval $d=0

Désolé mais il n'y a pas de solution à ce système.
Regardez l'aide pour voir les conditions de résolution de ce genre de système.
!else $d!=0 La solución del sistema es :

X $m_equiv $reste modulo $modul
!endif


!endif :changer !if $cmd!=reply or $essai=yes !form una solución.

Introducir los valores numéricos del sistema :

!for i=1 to $Degree X $m_equiv   modulo  
!next i
!endif :end




!href cmd=renew&Degree=$Degree Otro sistema. :end2

!homeref wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/var.def0000644000175000017500000000213210212074477025727 0ustar georgeskgeorgesk#name allow log llim ulim Degree init 0 2 9 x_1 reply 1 x_2 reply 1 x_3 reply 1 x_4 reply 1 x_5 reply 1 x_6 reply 1 x_7 reply 1 x_8 reply 1 x_9 reply 1 m_1 reply 1 m_2 reply 1 m_3 reply 1 m_4 reply 1 m_5 reply 1 m_6 reply 1 m_7 reply 1 m_8 reply 1 m_9 reply 1 p_1 deny 3 p_2 deny 3 p_3 deny 3 p_4 deny 3 p_5 deny 3 p_6 deny 3 p_7 deny 3 p_8 deny 3 p_9 deny 3 y_1 deny 3 y_2 deny 3 y_3 deny 3 y_4 deny 3 y_5 deny 3 y_6 deny 3 y_7 deny 3 y_8 deny 3 y_9 deny 3 pari_out deny 3 reste deny 3 modul deny 3 wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/INDEX0000644000175000017500000000117510146060345025252 0ustar georgeskgeorgesktitle=Teorema chino del resto description=resuelve sistemas de congruencia. author=DROUIN Beatrice WANERT Maelle. address=mwanert@clio.unice.fr copyright=© 1997-1999 (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=0.22 # minimal version of wims server under which the module is running wims_version=1.32 language=es category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 G R domain=algebra, arithmetic keywords=entiers # Software required to run this module require=pari wims-modules-es-3.64.orig/modules/tool/arithmetic/chinois.es/help.phtml0000644000175000017500000000101110146060345026443 0ustar georgeskgeorgesk

Página de ayuda





Debe tener presente que los valores a introducir deben ser valores numéricos enteros.
Este tipo de sistema no es resoluble salvo que los valores Xi sean iguales módulo MCD a los valores de Mi.
Se debe verificar pues, que se cumplen estas condiciones antes de introducir el sistema a resolver.





wims-modules-es-3.64.orig/modules/tool/algebra/0000755000175000017500000000000010771672624021673 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/0000755000175000017500000000000010215106540024306 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/menu.phtml0000644000175000017500000000224610170672215026333 0ustar georgeskgeorgesk!! menu definition file


!form reply Introduzca su polinomio:
$m_P(x) =

Menú de opciones.

  • Rango de x : [-$m_a , $m_a], donde $m_a =
  • Rango de y : [-$m_b , $m_b], donde $m_b =
  • Variación de $m_t : desde hasta .
  • Calidad de la animación : tamaño -+,  fluidez -+,  velocidad -+.
!set noshow= wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/var.init0000644000175000017500000000006606546461547026014 0ustar georgeskgeorgesk !default fluidity=4 !default speed=3 !default size=2 wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/var.proc0000644000175000017500000000546706761272540026016 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !default fluidity=4 !default speed=3 !default size=2 !default range=5 !default yrange=30 !default t0=-1 !default t1=1 fluiditycnt=7 speedcnt=5 sizecnt=5 ins_anim_frames=!word $fluidity of 15 22 30 40 55 75 100 duration=!word $speed of 10 7 5 3 2 ins_anim_delay=!eval $duration/$ins_anim_frames size_base=!eval 0.1*$size+0.2 pari_precision=5 wims_rawmath_variables=t poly=!trim $poly poly=!lowercase $poly poly=!translate , to . in $poly # how to detect the need to compute? !if $poly!=$empty and $cmd!=resume and $noshow!=yes error= compute=yes !for f in poly,t0,t1,range,yrange $f=!rawmath $($f) !next f !if x notvarof $poly or y isvarof $poly error=bad_vars !exit !endif equal== !if $equal isin $poly error=has_equal !exit !endif !if i isvarof $poly error=has_complex !exit !endif tt0=!eval $t0 tt1=!eval $t1 !if NaN isin $tt0$tt1 or Inf isin $tt0$tt1 error=bad_t !exit !endif !if abs($tt1-($tt0))<0.001 ins_anim_frames=1 !endif !if t notvarof $poly ins_anim_frames=1 polyp=$poly !else polyp=!mathsubst t=(s*($tt1-($tt0))+($tt0)) in $poly !endif roots=!exec pari for(tt=1,$ins_anim_frames,s=(tt-1)/$ins_anim_frames;a=polroots($polyp,1)~;b=matsize(a)[2]; for(t2=1,b,d=a[t2]; print(real(d),","imag(d)";"));print(";;")) !if $roots=$empty error=root_fail !exit !endif roots=!translate ; to $\ $ in $roots roots=!replace $ $ by $ in $roots !read labels !if $ins_anim_frames=1 bar=0 !else bar=0.08 !endif insplot_set=size $size_base*2,$size_base*1.2+$bar; nozeroaxis; noborder;\ xtics nomirror; ytics nomirror; bmargin;\ arrow 1 from -$range,0 to $range,0 linetype 3 insplot_split=size $size_base,$size_base*1.2; origin 0,$bar; arrow 2 from 0,-$range to 0,$range linetype 3; label 1 "Re" at $range*0.9,$range*0.1; label 2 "Im" at $range*0.05,$range*0.9; label 3 "$label_roots" at $range*0.4,$range*0.9\ size $size_base,$size_base*1.2; origin $size_base,$bar; arrow 2 from 0,-$yrange to 0,$yrange linetype 3; label 1 "x" at $range*0.9,$yrange*0.1; label 2 "y" at $range*0.05,$yrange*0.9; label 3 "P(x)" at $range*0.6,$yrange*0.9 insplot_data=!translate , to $ $ in $roots insplot_parm_1=[-$range:$range] [-$range:$range] \ 'insplot_data' index anim_step notitle with points pointtype 2 insplot_parm_2=[-$range:$range] [-$yrange:$yrange] $polyp notitle !if $ins_anim_frames>1 animation=yes insplot_split=$insplot_split\ size $size_base*1.2,$bar+0.032; origin $size_base*0.4,0; noytics; noarrow 1; noarrow 2; nolabel 1; nolabel 2; label 3 "t" at $tt1+($tt1-$tt0)*0.03,0.5; bmargin 2 insplot_parm_3=[$tt0:$tt1] [0:1] x(s+1/$ins_anim_frames.0)*($tt1-($tt0))+($tt0) ? 0:1 notitle with impulses 6 !endif wims_module_log=sweep $poly !endif wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/answer.phtml0000644000175000017500000000244510170672215026667 0ustar georgeskgeorgesk!! Give answers in this file. Usted ha introducido el polinomio: $m_P(x) = !htmlmath $poly !warn rawmath

!set insplot_data=!translate , to $ $ in $roots !set insplot_parm_1=[-$range:$range] [-$range:$range] \ 'insplot_data' index anim_step notitle with points !set insplot_parm_2=[-$range:$range] [-$yrange:$yrange] $polyp notitle !set ins_attr=$ins_attr name=mainins !insplot
!if $animation=yes
Animación:  

Esta animación tiene 3 partes. A la izquierda, la variación de las raices de $m_P(x) en el plano complejo; a la derecha, la variación de la gráfica (real) de $m_P(x); y en la parte inferior, la variación del parámetro $m_t. Las tres variaciones están sincronizadas.

!href cmd=help&special_parm=download Ayuda: ¿cómo guardar una secuencia animada? !else

El gráfico no está animado, esto es debido a que $m_P(x) no depende del parámetro $m_t, o porque el rango de variación de $m_t no está bien definido.

Este gráfic contiene dos parets. A la izquierda pueden verse las raices de $m_P(x) en el plano complejo, y a la derecha la gráfica (real) de $m_P(x). !endif wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/about.phtml0000644000175000017500000000016110170672215026473 0ustar georgeskgeorgesk$module_about Software utilizado para esta aplicación:

!exec pari about (for the computation of the roots) wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/help/0000755000175000017500000000000010215107142025235 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/help/demo.phtml0000644000175000017500000000354310170672215027244 0ustar georgeskgeorgesk !set com_1=&cmd=renew&fluidity=2 !set com_2=&cmd=renew&noshow=yes !set desc_1=Visualizar la animación !set desc_2=cargar el polinomio en el menú !set sep_1=, o  !set sep_2=.

Ejemplos de demostración

Presentamos aquí, algunos ejemplos de polinomios que dependen de un parámetro, con el fin de ilustrar el uso de esta herramienta $module_title. Usted puede o bien visualizar estos ejemplos directamente, o cargar los mismos en el menú de la herramienta, de esta forma puede modificar los parámetros antes de ser visualizadas las gráficas.
  1. Comenzamos con un caso simple: !htmlmath $m_P(x)=x^2+t , i.e., una parábola moviéndose verticalmente. Podemos ver que tiene dos raices, al principo reales, después coincidentes en cero y a partir de ahí, complejas conjugadas.
    !for i=1 to 2 !href poly=x^2+t&range=1&yrange=1&t0=-0.6&t1=0.6$(com_$i) $(desc_$i) $(sep_$i) !next i
  2. Otra parábola : !htmlmath $m_P(x)=x^2+t*x+1 . Se observa por ejemplo, que cuando las dos raices son complejas conjugadas, sus partes reales siguen el mínimo de la curva real de $m_P(x).
    !for i=1 to 2 !href poly=x^2+t*x+1&range=5&yrange=20&t0=-5&t1=5$(com_$i) $(desc_$i) $(sep_$i) !next i
  3. Uno cúbico !htmlmath $m_P(x)=x^3+t^3 moviéndose verticalmente.
    !for i=1 to 2 !href poly=x^3+t^3&range=1.3&yrange=2&t0=-1&t1=1$(com_$i) $(desc_$i) $(sep_$i) !next i
  4. Otro polinomio cúbico moviéndose verticalmente. !htmlmath $m_P(x)=x^3-x+t . Nótese el movimiento de las tres raices.
    !for i=1 to 2 !href poly=x^3-x+t&range=2&yrange=4&t0=-3&t1=3$(com_$i) $(desc_$i) $(sep_$i) !next i
  5. Y un polinomio cúbico !htmlmath $m_P(x)=x^3-t*x+1 que cambia de forma.
    !for i=1 to 2 !href poly=x^3-t*x+1&range=3&yrange=20&t0=-5&t1=8$(com_$i) $(desc_$i) $(sep_$i) !next i
!href cmd=help Otros temas de ayuda.

wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/help/download.phtml0000644000175000017500000000320710170672215030124 0ustar georgeskgeorgesk

Cómo guardar y reusar imágenes animadas

Los clips de animación producidos por $module_title tienen el formato de animated gif.

Usted puede guardar la secuencia de animación elaborada, usando la opción ``save image'' de su navegador (intentelo haciendo click con el botón derecho del ratón situado sobre la imagen). Debe dar un nombre de archivo que termine con la extensión ``.gif'' (de lo contrario el navegador le dará el nombre de archivo ``wims.cgi'', lo que hará que el fichero sea iniutilizable).

Supongamos que ha guardado su archivo con el nombre ``xyz.gif''. Ahora usted puede cargarlo en un programa visualizador de animaciones (por ejemplo Quicktime para Windows/Mac; xanim para unix) y así visualizar la animación. Dbe notar que esta clase de software dedicado, usualmente muestra las animaciones de modo más suave que bajo el navegador.

Para incluir el clip de animación en una página web, basta poner el archivo ``xyz.gif'' en el mismo directorio que su página html y en el archivo html, añadir una línea del estilo siguiente en el lugar que desee:

<IMG SRC="xyz.gif">
Si todo es correcto, usted verá la animación aparecer en su página.

Si usted incluye una imagen de este tipo en su página web, le sugerimos (pero no obligamos) que indique su origen mediante una línea del estilo

<small>animation generated using
<a href=http://$httpd_HTTP_HOST$httpd_SCRIPT_NAME>WIMS</a>
</small>
En todo caso, el copyright (derechos de autor) de su clip pertenece a usted, no a WIMS.
!href cmd=help Otros temas de ayuda

wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/labels0000644000175000017500000000005606547156100025506 0ustar georgeskgeorgesk#language-dependant labels label_roots=roots wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/main.phtml0000644000175000017500000000150410170672215026307 0ustar georgeskgeorgesk!header !if $compute=yes !if $error!=$empty !read msg.phtml !read menu.phtml !goto end !else !read answer.phtml

!href cmd=resume Regresar al menú. !endif !else El objetivo de esta herramienta es ilustrar visualmente la relación entre los coeficientes de un polinomio y las propiedades geométricas de ese polinomio (su representación gráfica y sus raices).

Para utilizar esta herramienta, introduzca el polinomio de una variable $m_P(x), con algunos coeficientes parametrizados con la variable $m_t. A continuación se podrá visualizar un gráfico animado con las raices de la curva de $m_P(x) variando en función de la variación de $m_t.

!href cmd=help&special_parm=demo Ejemplos de polinomios con variación de coeficientes para ser visualizados. !read menu.phtml !endif compute=yes? :end !tail wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/var.def0000644000175000017500000000123606547103463025576 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim poly any 1 range any 1 yrange any 1 fluidity any 0 1 7 speed any 0 1 5 size any 0 1 5 t0 any 1 t1 any 1 noshow any 0 wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/INDEX0000644000175000017500000000144310214777250025115 0ustar georgeskgeorgesktitle=Barrido polinomial # Commencez la description par minuscule! description=gráficas y raices de un polinomio con deformaciones animadas. author=XIAO Gang address=xiao@unice.fr copyright=© 1998 (GNU GPL) version=1.04 translator=Antonio Ullán translator_address=aullan@unex.es # minimal version of wims server under which the module may run wims_version=1.32 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H4 H5 H6 U1 # e.g. algebra, analysis, geometry, etc. domain=algebra, geometry # Anything you like. keywords=polynomial, root, animation, coefficient, plotter, plot, graphing require=pari help=nopop wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/msg.phtml0000644000175000017500000000171210170672215026152 0ustar georgeskgeorgesk!! error messages in this file. !set wims_module_log=$error: $poly !if root_fail isin $error No es posible calcular las raices de su``polynomio''. ¿Realmente es un polynomio in x lo que ha introducido?

!exit !endif !if bad_vars isin $error Lo sentimos, esta herramienta, solo acepta ppolinomios de una variable x. Por favor, corrija los datos introducidos.

!exit !endif !if has_equal isin $error Usted ha introducido un signo ``='' en su ``polynomio''. Usted ha introducido una ecuación en vez d eun polinomio.

Esta herramienta trabaja con polinomios, no con ecuaciones. Por favor, corrija los datos de entrada.

!exit !endif !if bad_t isin $error El rango de variación del parámetro $m_t no es válido. Por favor, corríjalo.

!exit !endif !if has_complex isin $error Polinomios con coeficientes complejos no son aceptados (todavía). Disculpe.

!exit !endif wims-modules-es-3.64.orig/modules/tool/algebra/sweeppoly.es/help.phtml0000644000175000017500000000040310170672215026310 0ustar georgeskgeorgesk !if $special_parm!=$empty !changeto help/$special_parm.phtml !endif

  • !href cmd=help&special_parm=demo Ejemplos de uso de $module_title.

  • !href cmd=help&special_parm=download Cómo guardar y reutilizar un gráfico animado.
wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/0000755000175000017500000000000010315753121023541 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/algebra/factor.es/resume.phtml0000644000175000017500000000002610315754135026113 0ustar georgeskgeorgesk!changeto factor.phtmlwims-modules-es-3.64.orig/modules/tool/algebra/factor.es/menu.phtml0000644000175000017500000000236410315754135025566 0ustar georgeskgeorgesk !form reply !if $cmd!=reply Fórmula a !else Otra fórmula a !endif :

Esta fórmula puede ser un número entero, un número racional, un polinomio o una función racional. Cómo escribir fórmulas: aquí hay !href cmd=help&help_subject=example1 ejemplos elementales o !href cmd=help&help_subject=example2 más avanzados.


!if $style=expert

Opciones.

Para números enteros: calcular también !pedia Función_Fi_de_Euler ,función de Euler , !pedia Función_de_Möbius ,función de Möbius , etc.

Para polinomios: elegir la base de factorización.

!for i = 1 to 6 !item $i of $field_names ,   !next i

o en el cuerpo finito $m_ZZ/$m_p$m_ZZ, donde $m_p = debe ser un número primo. !endif style=expert !if $style=simple

!endif

wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/primecheck.proc0000644000175000017500000000135607432546342026560 0ustar georgeskgeorgesk!! prepare link to check primarity. Language-independent. len=!charcnt $checking !! We are using several if's due to string length limit consideration. !if $len<10 and $checking<500000 out=$checking !exit !endif !if $checking iswordof $checked out=$checking !exit !endif !if $checking iswordof $certified out=$checking !exit !endif probable=yes !if $len<=$big_digit out=$checking !exit !endif bigprobable=yes !if $len<140 out=$checking !else out=$checking !endif wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/factor.phtml0000644000175000017500000000460310315754135026076 0ustar georgeskgeorgesk !warn rawmath !ifval $factor_cnt=0 !set wims_module_log=fail: $formula La factorización de $formula = !htmlmath $n
falló: error en la fórmula, fórmula desconocida, o excedido el tiempo de ejecución.

!if $myn != NaN Este servicio sólo tiene como objetivo ser una herramienta educativa. No ha sido diseñado para cálculos de computación avanzada. Lo sentimos. !else Nótese también que la factorización de polinomios de varias variables solamente está implementada sobre $m_ZZ por ahora. !endif !exit !endif !if $is_prime=yes $formula = !if $myn != NaN $factor_html
is a !if $probable!=yes !href cmd=help&help_subject=certified (certified) prime. !else !href cmd=help&help_subject=certified (probable) primo. Puede hacer click en él para verificar si es primo. !read bigprob.phtml !endif !else !htmlmath $n
es un polinomio irreducible sobre $field_name. !endif !else Factorización !if $myn = NaN de la expresión polinomial $formula en componentes irreducibles sobre $field_name :

!htmlmath $n !if $append!=10 !if $field<=4 !set factor_html=$m_pm$factor_html !endif !if $varcnt>1 !set factor_html=!htmlmath $factor !endif !else $m_equiv $lead$factor_html   (mod $basep)

!goto dd2 !endif !exec Plouffe = $factor_html !else !set ff=!htmlmath $formula of n = $ff :

$n = $factor_html !endif !if $myn = NaN and $varcnt>1

Nota. La factorización de polinomios de varias varables está implementada solamente sobre $m_ZZ por ahora. !endif !if $myn != NaN !if $probable!=yes

Nota. Todos los factores son !href cmd=help&help_subject=certified verdaderos primos, no son primos probables. !else

Atención. Los factores en color azul son !href cmd=help&help_subject=certified probables primos . Debe hacer click en uno para comprobar rigurosamente si es primo. !read bigprob.phtml !endif !endif

!! $certified

!if $myn != NaN and $myn > 1 and $is_prime!=yes and $moebius != $empty Función de Euler: $m_varphi($m_n) = $phi
Número de divisores de $m_n : $numdiv
Suma de los divisores de $m_n : $sigma
Función de Möbius: $m_mu($m_n) = $moebius
!endif :dd2 !endif wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/var.proc0000644000175000017500000001150010065750476025227 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. pari_precision=20 big_digit=47 field_names=$$m_ZZ,$$m_ZZ[ i ],$$m_QQ,$$m_QQ[ i ],$$m_RR,$$m_CC,,,,$$m_ZZ/$$basep$$m_ZZ append_list= , +0*i, ,+0*i, +0.0, +0.0*i !default append=1 !default style=simple !if $submit_parm!=$empty submit_parm= style=expert noshow=yes !endif !if $style=simple append=1 functions=no !endif !if $cmd=resume calc=resume !endif !if $calc=check and $cmd!=help compute=yes wims_module_log=check $check !read Selfridge.gp pari_header=$Selfridge_src test=!exec pari print(selfridge($check)) !if $test=$empty or $test<0 primarity=? !exit !endif !ifval $test=1 primarity=yes l1=!charcnt $checked l2=!charcnt $check !if $l1+$l2 < 5000 checked=$checked $check !endif !exit !endif primarity=no !exit !endif !if $calc=resume compute=yes !endif !if $calc=resume or $calc=factor formula=!trim $formula !if $formula=$empty compute= !exit !endif !endif !if $calc=factor and $cmd!=help and $noshow!=yes certified= factor= phi= moebius= sigma= numdiv= compute=yes eq== !if $eq isin $formula and , notin $formula error_test=has_equal !exit !endif wims_rawmath_functions=sum,prod,deriv formula=!lowercase $formula formula=!rawmath $formula varlist=!varlist nofn $formula varcnt=!itemcnt $varlist !if $varcnt=2 and i isitemof $varlist varcnt=1 !endif !for v in $varlist !if $v iswordof sin cos exp log ln sh ch th sinh cosh tanh tan tg\ Argch Argsh Argth acos acosh arccos arcsin arctan arctg argch\ argsh argth asin asinh atan atanh cot cotan ctg lg log10 sqrt\ or ($varcnt>1 and abs isvarof $varlist) error_test=transcendental !exit !endif !next v n=!exec pari print($formula) !if $n = $empty error_test=? !exit !endif !if $n=1 or $n=-1 error_test=unit !exit !endif !if $n=0 error_test=iszero !exit !endif ftest=!eval $n !if . isin $n and NaN notin $ftest error_test=real !exit !endif wims_module_log=factor $formula !read myprimes !if $ftest=0 error_test=iszero !exit !endif !if NaN isin $ftest field=1 !if . isin $n$field_append $formula field=!eval $field+4 !endif !if i isvarof $n$field_append $formula field=!eval $field+1 !endif !if $field<$append field=$append !endif !endif !if NaN isin $ftest and $append=10 baseprime=!trim $baseprime baseprime=!rawmath $baseprime !if $baseprime=$empty error_test=nobaseprime !exit !endif ddd=!exec pari pri=abs($baseprime);print(pri)\ print(ispr=isprime(pri))\ formula=$n;if(ispr,degree=poldegree(formula);coefs=Vec(formula);ddd=1;while((degree-ddd+1) && !(coefs[ddd]%pri),ddd++);print(lift(Mod(coefs[ddd],pri))))\ if(ispr,print(lift(factormod(Pol(Mod(Vec(formula),pri)),pri)))) ## if(ispr,print(lift(factormod(formula,pri)))) basep=!line 1 of $ddd isprime=!line 2 of $ddd factor=!line 4 of $ddd lead=!line 3 of $ddd !if matrix isin $factor factor= !endif content= basep=!trim $basep !if $basep=$empty error_test=badprime !exit !endif !if $isprime!=1 error_test=notprime !exit !endif !if $lead=1 lead= !endif !if $lead=0 error_test=divisible !exit !endif !else !if NaN isin $ftest field_append=!item $append of $append_list !if $field>4 cont=pollead !else cont=content !endif !if $varcnt>1 append=1 factor=!exec maxima print(Factor($formula)); field_name=$$m_ZZ content= lead= maxima_factor=yes !else ddd=!exec pari formula=$n; print($cont(formula))\ addprimes([$myprimes]);print(factor(formula$field_append)) ddd=!mathsubst I=i in $ddd content=!line 1 of $ddd factor=!line 2 of $ddd lead= !endif !else !read Selfridge.gp pari_header=$Selfridge_src factor=!exec pari addprimes([$myprimes]);f=factor($n);print(f)\ n=matsize(f)[1];for(k=1,n,p=f[k,1];if(p>10^6/2 && p<10^20,if(Selfridge(p)==1,print(p)))) certified=!line 2 of $factor factor=!line 1 of $factor !if $factor=$empty and / notin $n and . notin $n error_test=cpu !exit !endif !endif number or polynomial !endif append=10 !if $functions=yes and $maxima_factor!=yes f_=!translate ; to $\ $ in $factor factor_cnt=!linecnt $f_ !if $ftest != NaN and $factor_cnt>1 ddd=!exec pari print(eulerphi(formula=$n))\ print(numdiv(formula))\ print(sigma(formula))\ print(moebius(formula)) phi=!line 1 of $ddd numdiv=!line 2 of $ddd sigma=!line 3 of $ddd moebius=!line 4 of $ddd functions= !endif !endif error_test= !endif !if $calc=factor or $calc=resume base=!eval $n !read htmlfactors factor_cnt=$fn c=!item 1 of $factor !if $factor_cnt=1 or ($factor_cnt=2 and $c=-1) power=!item -1 of $factor !ifval $power=1 is_prime=yes !endif !endif !endif field_name=!item $field of $field_names wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/check.phtml0000644000175000017500000000063610315754135025677 0ustar georgeskgeorgesk

Verificación de número primo

!if $primarity=yes Sí, $check ha pasado el test que demuestra que es realmente un número primo. !endif !if $primarity=no ¡No, $check es un número compuesto! !endif !if $primarity=? El test para saber si el número $check es primo ha fallado. Lo sentimos. !endif

!href cmd=reply&calc=resume Regresar al resultado de la factorización wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/about.phtml0000644000175000017500000000034010315754136025725 0ustar georgeskgeorgesk$module_about Software utilizado por esta aplicación:

!exec pari about para factorizaciones distintas de polinomios de varias variables y

!exec maxima about para factorizaciones de polinomios de varias variables. wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/htmlfactors0000644000175000017500000000215507104503545026022 0ustar georgeskgeorgesk!if $base=1 factor_html=1 !exit !endif !if $maxima_factor=yes factor_html=!htmlmath $factor ftest=!replace * by , in $factor fn=!itemcnt $ftest myn=NaN !exit !endif !!par=( !!!if $par isin $factor and $mupad_factor!=yes !! factor_html=$factor !! !exit !!!endif factor_html= myn=!eval $base factor=!translate ; to $\ $ in $factor factor=!trim $factor fn=!linecnt $factor t=1 !if $myn != NaN !for k from 1 to $fn ii=!line $k of $factor checking=!item 1 of $ii power=!item 2 of $ii !read primecheck.proc base=$out !if $t>1 factor_html=$factor_html × !endif factor_html=$factor_html $base !ifval $power != 1 factor_html=$factor_html$power !endif t=!eval $t+1 !next k !else !if $content != 1 !if / isin $content factor_html=($content) !else factor_html=$content !endif !endif !for k from 1 to $fn ii=!line $k of $factor base=!item 1 to -2 of $ii base=!htmlmath $base power=!item -1 of $ii factor_html=$factor_html ($base) !ifval $power != 1 factor_html=$factor_html$power !endif !advance t !next k !endif wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/main.phtml0000644000175000017500000000114010315754136025536 0ustar georgeskgeorgesk!header !if $compute=yes !if $error_test!=$empty !read msg.phtml !set error_test= !else !read $calc.phtml !endif !if $wims_mode!=popup


!endif !else En esta página puede factorizar !!pedia factorization,factors una fórmula en factores primos irreducibles.

No hay límite a los valores introducidos, pero el tiempo de ejecución está limitado ( aproximadamente 20 segundos). !endif !if $wims_mode=popup !tail !exit !endif !read menu.phtml Herramientas relacionadas: !href module=tool/number/primes Primos , !href module=tool/arithmetic/bezout Bezout .

!tail wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/var.def0000644000175000017500000000053007062410612025007 0ustar georgeskgeorgesk formula any 1 functions any 1 help_subject help 1 append any 0 baseprime any 0 style any 0 submit_parm any 0 checked deny 0 calc any 1 check reply 0 error_test deny 0 phi deny 0 numdiv deny 0 sigma deny 0 moebius deny 0 factor deny 0 n deny 0 certified deny 0 content deny 0 lead deny 0 basep deny 0 field deny 0 wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/myprimes0000644000175000017500000000102706761272322025342 0ustar georgeskgeorgesk!! at most 100 primes! !! 2305843009213693951: M61, factor of 2^183-1 !! 61654440233248340616559: factor of 2^193-1 !! 1238926361552897: factor of 2^256+1 !! 7455602825647884208337395736200454918783366342657: factor of 2^512+1 !! 909090909090909091: factor of 10^57+1 !! 1090805842068098677837: factor of 10^59+1 !set myprimes=1238926361552897,\ 7455602825647884208337395736200454918783366342657,\ 909090909090909091,\ 1090805842068098677837,\ 2305843009213693951,\ 61654440233248340616559 !set myprimes=!nospace $myprimes wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/certified.phtml0000644000175000017500000000524110315754135026555 0ustar georgeskgeorgesk

Números primos versus primos probables

Debido a la dificultad de verificar rigurosamente si un número entero muy grande es primo, la mayoría del software matemático realiza solamente un test de ser `fuerte !pedia pseudoprimo,pseudo primo ' y lo presenta como un número primo. Por tanto, es muy probable que el número sea primo, sin embargo habrá ocasiones en las que un número compuesto sea presentado como un número primo.

En particular, en vez de dar una !pedia factorización, factorización prima , tal software solamente dará una probable factorización prima, incluso en la mayoría de los casos no se da la información de que es sólo una factorización prima ¡probable! A veces en la documentación no se dice nada sobre este particular y para un usuario medio, es muy complicado evaluar el riesgo de tomar como primo un número compuesto en ese tipo de software.

Esta herramienta para la factorización de enteros, implementa ahora un mecanismo que combina eficiencia y rigor. La salida de la factorización de PARI, en principio es una factorización en probables primos (con el test de Rabin-Miller en 10 bases aleatorias), los factores que no son demasiado grandes, pasan un test riguroso de primalidad antes de ser mostrados. Los factores en los que el test puede emplear un tiempo largo, serán presentados como un enlace para que si usted lo desea, haciendo clic en él, pueda comprobar que realmente es un número primo.

El test riguroso que utiliza esta herramienta para saber si un número es primo, está basado en el siguiente teorema de John Selfridge:

Teorema. Sea $m_N un entero positivo, con una factorización en números primos

!instex $$$$ N-1 = p_1^{r_1}p_2^{r_2}...p_k^{r_k}. $$$$

Si para todo $m_p$m_j, existe un entero $m_a$m_j tal que

!instex $$$$ a_j^{(N-1)/p_j}\not\equiv 1 \pmod N\qquad{\rm pero}\qquad\ a_j^{(N-1)}\equiv 1 \pmod N\quad, $$$$

entonces $m_N es un número primo.

(ver ``Prime Numbers and Computer Methods for Factorization'' de Hans Riesel, Theorem 4.4 para una demostración)

El algoritmo de nuestro test, implementado en PARI/GP, es fundamentalmente la factorización de $m_N-1, y recursivamente se procesa el test de primalidad rigurosa para todos los factores de $m_N-1 que obtiene PARI. Aquí está el archivo fuente de este algoritmo.

En función del tipo de factorizaciones, hay que tener en cuenta que este test no es eficiente para números muy grandes. En este caso, para ejecutar el test de primalidad, será reenviado a otro sitio web para ejecutarlo en línea (motor ECPP).

wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/INDEX0000644000175000017500000000110710315754136024341 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Factoris description=factorización de enteros y polinomios. language=es category=tool domain=algebra, arithmetic level=E1,E2,E3,E4,E5,E6,H1,H2,H3,H4,H5,H6,U1,U2,U3,U4,G,R,Lang keywords=integer, prime, polynomial, factorisation, irreducible polynomial, finite field require=maxima,pari scoring=no copyright=© 1997-1999 (GNU GPL) 2004 author=XIAO Gang address=xiao@unice.fr version=1.60 wims_version=3.37f vardef= translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/bigcheck.phtml0000644000175000017500000000216610315754135026361 0ustar georgeskgeorgesk

Está usted seguro??

!set n=!charcnt $special_parm !set emph= !set emphend= Usted quiere que ECPP compruebe en línea si un número grande de $n dígitos es primo. Tal comprobación puede necesitar $emph muchos minutos $emphend, incluso $emph horas $emphend para completarse, usted tendrá que permanecer en línea hasta que el proceso temine completamente.

Si usted no va a tener paciencia para esperar mucho tiempo, le sugerimos que !href cmd=reply&calc=resume abandone la comprobación , para no colapsar innecesariamente los recursos de Freelance Systems Programming donde reside el programa ECPP para cálculos en línea.

Por favor, go to the primality check solamente si usted necesita realmente estar seguro de que le número

$special_parm

es primo; en este caso, espere hasta que el resultado final sea mosttrado.

!href cmd=reply&calc=resume Regresar a la lista de números primos

wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/bigprob.phtml0000644000175000017500000000062310315754136026243 0ustar georgeskgeorgesk !if $bigprobable=yes

Para comprobar si un número de más de $big_digit , conectaremos con el programa ECPP de François Morain, accesible en línea en el sitio web Freelance Systems Programming. Los cálculos se visualizarán en una nueva ventana de su navegador; la última línea del script le informará cuando el número es o no primo. !endif wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/msg.phtml0000644000175000017500000000335410315754136025411 0ustar georgeskgeorgesk !set wims_module_log=$error_test: $formula !if $error_test = real $formula=?
Lo siento, un número real no se puede factorizar. !exit !endif !if $error_test=unit $n es la unidad, el único factor es él mismo. !exit !endif !if $error_test=has_equal Por favor, introduzca una formula, no una ecuación. !exit !endif !if $error_test=iszero La factorización de 0 no tiene sentido. !exit !endif !if $error_test = ? $formula=?
Hay un error probable de escritura, por favor corríjalo. !exit !endif !if $error_test = nobaseprime Si quiere factorizar sobre $m_ZZ/$m_p$m_ZZ, debe introducir el número $m_p. !exit !endif !if $error_test = notprime $m_p=$basep no es un número primo. Factorización de polinomios sobre $m_ZZ/$basep$m_ZZ en general, no tiene sentido. !exit !endif !if $error_test=badprime El campo $m_p no se ha introducido correctamente. Por favor, corríjalo. !exit !endif !if $error_test=divisible Todos los coeficientes de la fórmula $formula son divisibles por la base $m_p=$basep. No hay nada que factorizar, ya que la fórmula polinomial es conguente con 0. !exit !endif !if $error_test=cpu La factorización de $formula = !htmlmath $n
se ha interrumpido poruqe requiere demasiado tiempo.

Si necesita realmente cálculos potentes, puede instalar en su máquina el software que usa esta herramienta para calcular factorizaciones. !href cmd=help&help_subject=about Detail . !exit !endif !if $error_test=transcendental Su fórmula $formula contiene ¡funciones transcendentes! No es posible factorizar funciones no polinómicas. Puede usar !href module=tool/analysis/function&fn=$formula&noshow=yes Calculador de funciones para cálculos con funciones transcentes. !exit !endif wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/NEWS0000644000175000017500000000031410065751135024243 0ustar georgeskgeorgesk# This file registers changes to the module. # Please write in reverse order: the last version first. Version 1.60: 20040622 Remove symbolic links. ................... Version 1.00: First publication. wims-modules-es-3.64.orig/modules/tool/algebra/factor.es/help.phtml0000644000175000017500000000410010315754136025541 0ustar georgeskgeorgesk !default help_subject=example1 !if example isin $help_subject Ejemplos de fórmulas para factorizar, y cómo escribirlas.

Para la fórmula : Usted puede escribir : lo que produce : !if $help_subject=example1
46-36-26 4^6-3^6-2^6 3303
222-10! 2^22-10! 565504
(35-1)(25-1)-1 (3^5-1)*(2^5-1)-1 7501
!instex $$$$ 15+77-2\over 2^3\cdot 3^5-1 $$$$ (15+77-2)/(2^3*3^5-1) 90/1943
X3-3X2+3X-1 X^3-3*X^2+3*X-1 X3-3X2+3X-1
!instex $$$$ {1\over y+1}+{1\over y-1} $$$$ 1/(y+1)+1/(y-1) !instex $$$$ 2y\over y^2-1 $$$$

!href cmd=help&help_subject=example2 Ejemplos más avanzados . !else exemple2 ppcm(15,70)-pgcd(21,33) lcm(15,70)-gcd(21,33) 207 !instex $$$$ \sum^{10}_{n=1}\left(n^2+n\right) $$$$ sum(n=1,10,n^2+n) 440 !instex $$$$ \prod^{10}_{n=1}{n^2\over n^2+1}$$$$ prod(n=1,10,n^2/(n^2+1)) !instex $$$$ 658409472\over 2200962205$$$$ !instex $$ C^{12}_{30}={30 \choose 12}$$ binomial(30,12) 86493225 derivative of !set ins_align=middle !instex $$$$ 1\over 2x^4+1$$$$ deriv(1/(2*x^4+1),x) !instex $$$$ -8x^3\over 4x^8+4x^4+1$$$$ !instex $$$$ 2^{2^{2^2}}-8!$$$$ 2^(2^(2^2))-8! 25216 a random number between
1 and 225 random(2^25)+1 random

!href cmd=help&help_subject=example1 Ejemplos elementales .
Para más información sobre las funciones y sus nombres, puede consultar el manual de pari. !endif example 1 or 2 !else !changeto $help_subject.phtml !endif wims-modules-es-3.64.orig/modules/tool/number/0000755000175000017500000000000010771673250021562 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/twosquares.es/0000755000175000017500000000000010340342635024375 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/twosquares.es/menu.phtml0000644000175000017500000000074510340342635026415 0ustar georgeskgeorgesk!! menu definition file


!form reply número entero a descomponer: ( !href cmd=help&special_parm=example Ejemplos )

n =

El resultado será presentado en grupos de !formselect max list 5,10,20,50,100,200 descomposiciones.

Expresiones aritméticas también son aceptadas: escriba 29*173 para 29×173, 65^3 para 653, etc. wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/var.proc0000644000175000017500000000410010340342635026045 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !default ffirst=1 !bound max between integer 1 and 1000 default 10 compute_max=8192 !read pari_src !if $cmd=help or robot isin $session !exit !endif # how to detect the need to compute? input=!trim $input !if $input != $empty and $noshow!=yes and $cmd!=resume error= compute=yes !if $noshow=$empty or $noshow notwordof last next eq== !if $eq isin $input error=has_equal !goto end !endif input=!rawmath $input !if . isin $input error=is_real !goto end !endif !if i isvarof $input or I isvarof $input error=complex !goto end !endif varlist=!varlist nofn $input !if $varlist!=$empty error=function !goto end !endif fact_out=!exec pari $pari_src1 !distribute lines $fact_out into number,factor,delta number=!nospace $number factor=!trim $factor delta=!trim $delta !if $number=$empty error=bad_number !goto end !endif !if $number=0 error=is_zero !goto end !endif !if $number=1 or $number=-1 error=is_one !goto end !endif varlist=!varlist $number !if I isin $varlist error=complex !goto end !endif !if $varlist!=$empty error=function !goto end !endif !if . isin $number or E isin $number or e isin $number error=is_real !goto end !endif !if $factor=$empty error=factor_fail !goto end !endif !if $delta==$empty or $delta<0 error=factor_fail !goto end !endif ffirst=1 wims_module_log=decomp $input !else !if $noshow=last ffirst=$[max(1,$ffirst-$max)] !else !if $ffirst+$max<=$delta ffirst=$[$ffirst+$max] !endif !endif wims_module_log=$noshow: $ffirst !endif !if $max>=$delta ffirst=1 !endif first=$[max(1,min($ffirst,$delta))] last=$[min($first+$max-1,$delta)] !if $delta>0 squares=!exec pari f=[$factor]; $pari_src2 squares=!nospace $squares !if $squares=$empty error=square_fail !goto end !endif squares=!translate ; to \n in $squares !endif !endif :end total=$delta noshow= !read htmlfactors wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/answer.phtml0000644000175000017500000000264610340342635026752 0ustar georgeskgeorgesk!! Give answers in this file. !if $total=0 El número n=$number no tiene una descomposición en suma de 2 cuadrados, ya que tiene un factor primo p$(m_equiv)3 (mod 4) con una potencia impar. !else !if $total>1 Hay $total descomposiciones diferentes en suma de dos cuadrados !else Hay una única descomposición en suma de dos cuadrados !endif para !htmlmath $input !if $max>=$total  :

!else . !if $total>$compute_max Como el número $total excede la capacidad del software, solamente calcularemos $compute_max entre ellos, taken before ordering. Aquí están, en grupos de $max.

!else en grupos de $max :

!endif !endif

   $number !if ; isin $factor or 1 notitemof $factor
= $factor_html !endif !set t=!linecnt $squares !for i=1 to $t !set l=!line $i of $squares !distribute items $l into x,y
= $x2 + $y2 !if $total>1   ($[$first+$i-1]) !endif !next i
!if $max<$total

!if $first>1 !href cmd=reply&noshow=last Preceding group . !endif !if $last<$total !href cmd=reply&noshow=next Next group . !endif !endif

!endif wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/about.phtml0000644000175000017500000000011510340342635026552 0ustar georgeskgeorgesk$module_about Software utilizado por esta aplicación :
!exec pari about wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/htmlfactors0000644000175000017500000000065210340342635026651 0ustar georgeskgeorgeskpar=( !if $par isin $factor factor_html=$factor !exit !endif factor_html= ifactor=!translate ; to \n in $factor ifactor=!trim $ifactor fn=!linecnt $ifactor !for k from 1 to $fn ii=!line $k of $ifactor base=!item 1 of $ii power=!item 2 of $ii !if $k>1 factor_html=$factor_html· !endif factor_html=$factor_html$base !ifval $power != 1 factor_html=$factor_html$power !endif !next k wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/datafile0000644000175000017500000000013310340342635026066 0ustar georgeskgeorgesk# Comment lines must be before any data line. # : record 1 : record 2 : last record is 3 wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/help/0000755000175000017500000000000010771677661025347 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/twosquares.es/help/source.phtml0000644000175000017500000000047510340342635027701 0ustar georgeskgeorgesk!set input=user_input_formula_through_the_web_interface !set first=1 !set last=$[$max+1] Este es el fuente del programa en PARI/GP que ejecuta esta aplicación.

$pari_header

\\ Output the factorization and the decompositions
$pari_src1
$pari_src2

!href cmd=help Main help page
wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/help/example.phtml0000644000175000017500000000430510340342635030030 0ustar georgeskgeorgesk

Ejemplos de descomposiciones
en suma de dos cuadrados

  1. Exceptuando 25=02+52=32+42, el primer entero con dos descomposiciones diferentes es 5*13=65. !href cmd=renew&input=5*13 Ver.

  2. El primer entero con 3 descomposiciones diferentes es 5^2*13=325. !href cmd=renew&input=5^2*13 Ver.

  3. El primer entero con 4 descomposiciones diferentes es 5*13*17. !href cmd=renew&input=5*13*17 Ver.

  4. Algunos números enteros con un número grande $m_n, de descomposiciones diferentes: !href cmd=renew&input=5^2*13*17 $m_n=6 . !href cmd=renew&input=5^3*13*17 $m_n=8 . !href cmd=renew&input=5^3*13*17*29*37 $m_n=25 . !href cmd=renew&input=5^3*13*17*29*37*41*53*61 $m_n=28 . !href cmd=renew&input=5^3*13*17*29*37*41*53*61*73*89 $m_n=210 . !href cmd=renew&input=5^3*13*17*29*37*41*53*61*73*89*97*101*109*113*137*149 $m_n=216 . !href cmd=renew&input=5^3*13^3*17*29*37*41*53*61*73*89*97*101*109*113*137*149*157*173*181 $m_n=220 . Ejercicio. ¿Existe un Are they the first integers for the respective $m_n?

  5. Potencias de un número primo: 13$m_n, para !href cmd=renew&input=13 $m_n=1 , !href cmd=renew&input=13^2 $m_n=2 , !href cmd=renew&input=13^5 $m_n=5 , !href cmd=renew&input=13^10 $m_n=10 , !href cmd=renew&input=13^100 $m_n=100 .

  6. Descomposiciones de 10$m_n+1, para !href cmd=renew&input=10^2+1 $m_n=2 , !href cmd=renew&input=10^6+1 $m_n=6 , !href cmd=renew&input=10^10+1 $m_n=10 , !href cmd=renew&input=10^20+1 $m_n=20 , !href cmd=renew&input=10^30+1 $m_n=30 , !href cmd=renew&input=10^40+1 $m_n=40 , !href cmd=renew&input=10^50+1 $m_n=50 .

  7. Se puede escribir una suma de cuadrados para ver si es suma de otros cuadrados: !href cmd=renew&input=100^2+201^2 1002+2012 .

  8. También puede intentar un entero aleatorio de !href cmd=renew&input=random(10^10-10^9)+10^9 10 , !href cmd=renew&input=random(10^20-10^19)+10^19 20 , !href cmd=renew&input=random(10^30-10^29)+10^29 30 o !href cmd=renew&input=random(10^40-10^39)+10^39 40 cifras.

!href cmd=help Página principal de ayuda
wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/main.phtml0000644000175000017500000000041410340342635026366 0ustar georgeskgeorgesk!header !if $compute=yes !if $error!=$empty !read msg.phtml !else !read answer.phtml !endif !else Esta herramienta calcula la descomposición de un entero positivo en suma de 2 cuadrados. !href cmd=help Explicaciones. !endif !read menu.phtml :end !tail wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/var.def0000644000175000017500000000124110340342635025643 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim reply_cnt deny 3 0 65535 hint_cnt deny 3 0 65535 noshow any max any input any number deny factor deny delta deny ffirst deny wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/INDEX0000644000175000017500000000151710340342635025173 0ustar georgeskgeorgesktitle=Dos cuadrados # Commencez la description par minuscule! description=descomponer un entero en suma de dos cuadrados. author=XIAO Gang address=xiao@unice.fr copyright=© 1999 (GNU GPL) translator=Antonio Ullán de Celis translator_address=aullan@unex.es version=1.02 # minimal version of wims server under which the module may run wims_version=1.32 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, etc. domain=number, algebra # Anything you like. keywords=integer, square, sum of squares, sum of two squares, sum of 2 squares, Gauss ring, gcd require=pari scoring=no help=nopop wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/msg.phtml0000644000175000017500000000416210340342635026234 0ustar georgeskgeorgesk!! error messages in this file. !set wims_module_log=Error: $error !if is_zero iswordof $error El número 0 es una suma de dos cuadrados: 0=02+02. !exit !endif !if is_one iswordof $error El número 1 es una suma de dos cuadrados: 1=02+12. !exit !endif Error. !if has_equal iswordof $error Usted ha introducido una ecuación en vez de un número. !goto end !endif !if bad_number iswordof $error Ha fallado la evaluación de su número n, probablemente tenga un error tipográfico. !goto end !endif !if factor_fail iswordof $error !set n=!charcnt $number !if $n>40 El cálculo de la descomposición del número introducido ha sido interrumpida debido a que dicha factorización requiere demasiado tiempo. !else La factorización del número $input = $number ha fallado. Verifique que el número está correctamente escrito. !endif !goto end !endif !if is_real iswordof $error Usted ha introducido un número real que no es un número entero. La descomposición de un número real en suma de 2 cuadrados no tiene sentido. !goto end !endif !if complex iswordof $error En esta página sólo es posible descomponer integers en suma de 2 cuadrados, no números complejos. !goto end !endif !if function iswordof $error Usted ha introducido una función en vez de un número entero. ¿Qié es lo que usted quiere calcular? !goto end !endif !if transcendental iswordof $error No está permitidas las funciones transcendentes en la fórmula para n, ya que no tienen sentido para un número entero. !goto end !endif !if square_fail iswordof $error !if $delta>$max Bravo, usted ha tenido éxito para "colgar" este software!

El número introducido tiene un número grande ($delta) de descomposiciones distintas en sumas de 2 cuadrados, tan grande que no ha sido posible interrumpir los cálculos debido a que éstos requiren demasiado tiempo.

No podemos dar respuesta a su petición, disculpe! !else Error interno: eel cálculo de la lista de descomposiciones ha fallado, probablemente hay un fallo en el programa. !endif !exit !endif $error :end

Por favor, corrija su error. wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/pari_src0000644000175000017500000000461410340342635026127 0ustar georgeskgeorgeskpari_header=\ \\ gcd in ZZ[i].\ {\ ggcd(x,y)=if(x==0,return(y));\ while(y!=0, t=x;x=y;y=t-y*round(t/y);); return(x);\ }\ \ \\ Compute the factorization of a ZZ-prime in ZZ[i].\ {\ sqp(p)=if(p%4!=1 || !isprime(p),return());\ i=2; while(i<=p-1 && (Mod(i,p)^((p-1)/2))!=Mod(-1,p),i++);\ r=lift(Mod(i,p)^((p-1)/4));\ s=ggcd(p,r+I); return(s);\ }\ \ \\ Add the effect of one more prime into the table.\ {\ expand(table,p,this,power)=tlen=matsize(table)[2];\ this2=this^2; if(power%2==0,\ if(tlen==0, thistab=[p^(power/2)], thistab=p^(power/2)*table);\ acc=this2,\ thistab=[];acc=this;\ );\ en=floor((power+1)/2); for(k=1,en,\ if(tlen==0, thistab=concat(thistab,p^(en-k)*acc),\ if(real(table[1])*imag(table[1])==0, \ thistab=concat(thistab,[p^(en-k)*table[1]*acc]), \ thistab=concat(thistab, p^(en-k)*table[1]*[acc,conj(acc)]);\ );\ if(tlen>=2, tt=vecextract(table,Str("2.."tlen));\ thistab=concat(thistab, p^(en-k)*acc*tt);\ thistab=concat(thistab, p^(en-k)*conj(acc)*tt);\ );\ if(matsize(thistab)[2]>=$compute_max, \ return(vecextract(thistab,"1..$compute_max"));\ );\ );\ acc=acc*this2;\ );\ return(thistab);\ }\ \ \\ Sort the decomposition table, and output it in table format.\ {\ trim(table)=len=matsize(table)[2];\ re=abs(real(table));im=abs(imag(table));\ for(j=1,len, if(re[j]>im[j], x3=re[j]; re[j]=im[j]; im[j]=x3));\ so=vecsort(re,,1); re=vecextract(re,so); im=vecextract(im,so);\ return(concat(Mat(re~),Mat(im~)));\ }\ \ \\ Main routine, compute the table of decompositions.\ {\ twosquare(fac)=n=matsize(fac)[1];mult=1;out=[];mswitch=0;\ for(j=1,n,l=Mat(fac)[j,]; pr=l[1]; pow=l[2];\ if(pr==2, if(pow%2==1, mswitch=1); mult=mult*2^(floor(pow/2)) );\ if(pr%4==3, if(pow%2==1, return(0), mult=mult*pr^(pow/2)));\ if(pr%4==1, this=sqp(pr); out=expand(out,pr,this,pow));\ );\ if(matsize(out)[2]==0, out=[1]);\ if(mswitch!=0, out=out+I*out);\ out=trim(out); return(mult*out);\ }\ \ \\ Compute the number of decompositions from the factorization table.\ {\ total(fac)=n=matsize(fac)[1];delta=1;\ for(j=1,n, l=Mat(fac)[j,]; pr=l[1]; pow=l[2];\ if(pr%4==3 && pow%2==1, return(0));\ if(pr%4==1, delta=(pow+1)*delta);\ );\ return(ceil(delta/2));\ }\ pari_src1=!nosubst p=abs(round($input));print(p)\ f=factor(p);print(f)\ print(total(f)) pari_src2=!nosubst sq=twosquare(f); print(vecextract(sq,"$first..$last",3)) wims-modules-es-3.64.orig/modules/tool/number/twosquares.es/help.phtml0000644000175000017500000001120210340342635026367 0ustar georgeskgeorgesk !if $special_parm!=$empty and $special_parm iswordof source example !changeto help/$special_parm.phtml !endif Algunos enteros positivos pueden expresarse como suma de dos cuadrados, como 13=22+32; otros no, como por ejemplo 3 que no es suma de 2 cuadrados. Algunos se pueden expresar de varias formas como suma de 2 cuadrados, como 65=12+82=42+72.

Para determinar si un entero $m_n es suma de 2 cuadrados, tenemos el siguiente teorema.

Teorema. Sea n un entero positivo y sea

!instex $$$$ n = 2^{r} p_1^{s_1}...p_k^{s_k} q_1^{t_1}...q_l^{t_l} $$$$

su factorización en factores primos, donde pi $m_equiv 1  (mod 4), qi $m_equiv 3  (mod 4). Entonces, el número de descomposiciones de n, esencialmente diferentes en suma de 2 cuadrados es igual a la parte entera de $m_delta/2, donde

!instex $$$$ \delta = \left(\prod_{j=1}^k\left(s_j+1\right)\right)\ \left(\prod_{j=1}^l {(-1)^{t_j}+1 \over 2}\right)\quad. $$$$

En particular, n es suma de 2 cuadrados sí, y solo si !set ins_align=middle !instex $$$$ q_1^{t_1}...q_l^{t_l} $$$$ es un cuadrado.

El significado geométrico de este teorema es que 4$m_delta es igual al número de puntos con coordenadas enteras en un círculo de radio $m_surd$m_n.

Existen varias demostraciones de este teorema, una de las cuales usa el hecho de que el álgebra de Gauss $m_ZZ[$m_i] es Euclidea y por tanto, de factorización única. Toda descomposición $m_n=$m_x2+$m_y2 es obviamente equivalente a la condición $m_n=|$m_z|, es decir a la factorización !instex $$ n=z\overline z$$ , donde $m_z=$m_x+$m_i$m_y es un elemento de $m_ZZ[$m_i].

Un entero primo $m_p es irreducible en $m_ZZ[$m_i] si $m_p$(m_equiv)3 (mod 4). Por otra parte, si $m_p$(m_equiv)1 (mod 4), $m_p se puede factorizar en factores irreductibles en $m_ZZ[$m_i], en la forma $m_p=($m_x+$m_i$m_y)($m_x-$m_i$m_y), lo que nos da una única descomposición $m_p=$m_x2+$m_y2 (única salvo signo y orden). También, 2r tiene una descomposición única 02+(2r/2)2 si $m_r es par, o (2(r-1)/2)2+(2(r-1)/2)2 si $m_r es impar.

Además, si $m_n1 tiene una descomposición $m_n1=$m_a2+$m_b2 y $m_n2 tiene una descomposición $m_n2=$m_c2+$m_d2, podemos escribir dos descomposiciones para $m_n1$m_n2 (no siempre diferentes):

$m_n1$m_n2 = ($m_a$m_c+$m_b$m_d)2+($m_a$m_d-$m_b$m_c)2 = ($m_a$m_c-$m_b$m_d)2+($m_a$m_d+$m_b$m_c)2 .

Ahora, la unicidad de la factorización en $m_ZZ[$m_i] muestra fácilmente que cualquier descomposición de $m_n1$m_n2 es de esta forma. Por inducción, podemos conocer todas las descomposiciones de $m_n si las factorizaciones de $m_p$m_j en $m_ZZ[$m_i] son conocidas.

Para calcular la factorización de un número entero primo $m_p$(m_equiv)1 (mod 4) en $m_ZZ[$m_i], primero buscaremos un entero $m_a tal que !instex $$ a^{p-1 \over 2}\equiv -1\; (\bmod\; p)$$ . Esto es fácil, ya que siempre, !set ins_align= !instex $$ a^{p-1 \over 2}\equiv 1 $$ o -1 (mod $m_p), siendo ambos casos igualmente probables. Por tanto, solamente tendremos que probar, empezando por 2, uno por uno números enteros hasta que encontremos uno que sea bueno, sabiendo que en general, no tendremos que realizar demasiadas pruebas.

Ahora, sea $m_t un número entero tal que !set ins_align=middle !instex $$ t\equiv a^{p-1\over 4}\; (\bmod\; p)$$ , esto es, $m_t2+1$(m_equiv)0 (mod $m_p). Por otra parte, $m_p | ($m_t+$m_i)($m_t-$m_i) en $m_ZZ[$m_i], en particular mcd($m_p,$m_t+$m_i)$(m_ne)1. Como este mcd tampoco es igual a $m_p , debe ser igual a uno de los dos factores irreducibles de $m_p en $m_ZZ[$m_i]. Por tanto, es suficiente encontrar este mcd mediante una serie de divisiones euclídeas sucesivas en $m_ZZ[$m_i].

Nota. Al contrario que !href module=tool/algebra/factor Factoris , esta herramienta no comprueba rigurosamente si los factores encontrados por PARI/GP son primos. Por tanto en algú csao (raro) donde algún pseudo-primo sea tomado como número primo, la lista de descomposiciones puede ser incompleta.

!href cmd=help&special_parm=source Código fuente del programa .  !href cmd=help&special_parm=example Ejemplos de descomposición . wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/0000755000175000017500000000000010340567341023605 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/calcnum.es/menu.phtml0000644000175000017500000000173210340567341025622 0ustar georgeskgeorgesk!! menu definition file


!if $laststep<$steplim !set wims_ref_anchor=#new !form reply !if $laststep>0 Una nueva fórmula :
!else Escriba la fórmula a evaluar:
!endif x$nextstep= !endif !if $laststep>0 and 1=0 !set wims_ref_anchor=#new !form reply the history from step !set step=1 . !endif !form reply Opciones: !href cmd=help&special_parm=char#char característica  = , precisión = !formselect prec list 5,8,10,15,20,30,50,70,100,200,300,500,700,1000 dígitos. wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/var.init0000644000175000017500000000033410340567340025261 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. !default char=0 !distribute item 100,0, into steplim,laststep,varlist,history !for i=1 to 100 varlist=!append item x$i to $varlist !next i wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/var.proc0000644000175000017500000000304010340567341025257 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. nextstep=$[min($laststep+1,$steplim)] !bound step between integer 0 and $nextstep default $nextstep !bound prec between integer 3 and 1000 default 20 chartest=$[floor(abs($char))] !if NaN isin $chartest or Inf isin $chartest char=0 !endif !if $char>0 methd=x$$s=Mod(lift($$l),$char,1); print(lift(x$$s)) !else methd=x$$s=$$l; print(x$$s) !endif wims_rawmath_variables=$varlist wims_rawmath_functions=binomial intnum polroots zeta theta gamma\ eint1 besselk besseljh erf erfc bernreal bernfrac\ gcd lcm sum suminf prod prodinf\ bestappr !read pari.hd formula=!translate '";: to $ $ in $formula formula=!rawmath $formula formula=!trim $formula !if $formula!=$empty or $recomp!=$empty !if $recomp=cut laststep=$[max(0,$step-1)] nextstep=$[$laststep+1] step=0 !endif !distribute item ,yes, into error,compute,gpsrc !for s=1 to $[max($laststep,$step)] !if $s=$step l=$formula !if $s<=$laststep history=!replace line number $s by $l in $history !endif !else l=!line $s of $history !endif gpsrc=!append line $methd to $gpsrc !next s pari_precision=$prec value=!exec pari $gpsrc value=!replace + 0.0\*I by $ in $value result=!replace I by $ i in $value !if $step>$laststep history=!line 1 to $laststep of $history history=!append line $formula to $history !advance laststep !advance nextstep !endif !if $formula!=$empty wims_module_log=$step/$laststep|$char: $formula !endif !endif wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/answer.phtml0000644000175000017500000000106110340567341026150 0ustar georgeskgeorgesk Histórico de valores. !href cmd=renew&char=$char Reiniciar !for i=1 to $laststep !set l=!line $i of $result !set t=!line $i of $history !set h=!htmlmath $l !set h=!mathsubst i=i in $h !set wims_ref_anchor=#his$i !form reply
x$i= !if $l=$empty or x isin $l $ : Error !else !if $char>0 $m_equiv $h  (mod $char) !else = $h !endif !endif !!    !next i wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/about.phtml0000644000175000017500000000012610340567341025764 0ustar georgeskgeorgesk$module_about La computación está a cargo del software
!exec pari about . !tail wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/pari.hd0000644000175000017500000000005510340567341025055 0ustar georgeskgeorgesk pari_header={\ erf(x)=return(1-erfc(x))\ } wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/.htaccess0000644000175000017500000000001610340567340025377 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/0000755000175000017500000000000010771677675024561 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/debug0000644000175000017500000000001310340567340025537 0ustar georgeskgeorgesk Debugging?wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/char.phtml0000644000175000017500000000121510340567340026516 0ustar georgeskgeorgesk: La característica : Si usted no sabe qué es el álgebra finita $m_ZZ/$m_n$m_ZZ, elija característica=0, para hacer los cálculos en los números racionales, reales o complejos. Ahora sáltese el párrafo que viene a continuación.

Por otro lado, puede elegir caracteristica=$m_n (un entero positivo). En este caso, todos los cálculos de $mtit serán realizados sobre $m_ZZ/$m_n$m_ZZ. Obviamente las funciones trascendentes y los números decimales darán errores. Por otra parte, las fracciones de enteros son válidas y serán interpretados como tales en $m_ZZ/$m_n$m_ZZ, con la condición de que el denominador no sea un divisor de cero.

wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/complex.phtml0000644000175000017500000000063310340567340027253 0ustar georgeskgeorgesk: Funciones con números complejos :

wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/index0000644000175000017500000000012210340567340025561 0ustar georgeskgeorgesk:arith char combi complex const earlier finite fraction intnum roots subst transc wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/intnum.phtml0000644000175000017500000000264510340567340027123 0ustar georgeskgeorgesk: Cómo calcular sumas, productos y valores numéricos de integrales :

  • Para calcular la integral

    !instex $$$$ \int _{0} ^{1} e^{-x^2} dx=0.746824... \quad,$$$$

    puede escribir

    !read load.phtml intnum(x=0,1,exp(-x^2))

    or
    !read load.phtml intnum(x=0,1,e^(-x^2))

  • Para calcular la suma

    !instex $$$$ \sum_{n=1}^{15}\left({n\over 1+n^2}\right)={88287964099796088\over 33335865828037825} \quad, $$$$

    puede escribir

    !read load.phtml sum(n=1,20,n/(1+n^2))

    (o !read load.phtml 1.0*sum(n=1,20,n/(1+n^2)) si desea que el resultado sea expresado con decimales).

  • Para calcular la serie

    !instex $$$$ \sum_{n=1}^{\infty}{1\over n^4} \quad, $$$$

    puede escribir !read load.phtml suminf(n=1,1/n^4) . Esto en general está litado a una baja precisión. La herramienta !set n=!module title tool/analysis/sigma.$lang !href module=tool/analysis/sigma.$lang $n es más apropiada para este tipo de cálculos.

  • Para calcular el producto

    !instex $$$$ \prod_{n=3}^{10}\left(1-{1\over n^3}\right)={11560990363\over 12441600000} \quad, $$$$

    puede escrinir

    !read load.phtml prod(n=3,10,1-1/n^3)

    (o !read load.phtml 1.0*prod(n=3,10,1-1/n^3) si desea que el resultado sea expresado con decimales).
wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/transc.phtml0000644000175000017500000000320710340567340027076 0ustar georgeskgeorgesk: Funciones transcendentes :
  • Las funciones clásicas sin, cos, tan, asin, ch, sh, log, exp, ... pueden ser introducidas en la manera habitual. Por ejemplo, podemos escribir !read load.phtml ch(1) o bien !read load.phtml cosh(1) para el valor de ch(1).

  • Escribir !read load.phtml sqrt(10) para calcular la raíz cuadrada !set ins_align=middle !instex $$ \sqrt{10} $$ .

  • podemos escribir |x| o bien abs(x) para el valor absoluto de x.

  • Escriba bernfrac(n) (n debe ser un número entero) para calcular el número de Bernouilli Bn. Si desea que el resultado sea expresado con decimales, utilice bernreal(n).

  • Escriba besseljh(n,x) para la función de J-Bessel Jn+1/2(x), donde el índice n debe ser un entero y x$m_in$m_CC. Escriba besselk(n,x) para la función K-Bessel en x (real positivo) de índice n$m_in$m_CC.

  • Escriba !read load.phtml eint1(1.5) para la integral impropia !instex $$$$ \int_{1.5}^{\infty}{e^{-t}\over t} dt $$$$ .

  • Escriba !read load.phtml erf(1.35) para la integral !instex $$$$ {2\over \sqrt{\pi}}\int_0^{1.35}e^{-t^2} dt $$$$ , y !read load.phtml erfc(3.77) para la integral impropia !instex $$$$ {2\over \sqrt{\pi}}\int_{3.77}^{\infty}e^{-t^2} dt $$$$ .

  • Escriba gamma(x) para la función gamma en x (reemplace x por el valor apropiado):

    !instex $$$$ \Gamma(x)=\int_{0}^{\infty}e^t t^{x-1} dt $$$$ .

  • Escriba zeta(s) para la función zeta de Riemann !instex $$$$ \zeta(s)=\sum_{n=1}^{\infty}n^{-s} $$$$ .
wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/fraction.phtml0000644000175000017500000000060510340567340027410 0ustar georgeskgeorgesk: Fracciones y decimales : Cuando introduzca un cálculo cuyo resultado sea un número racional, este resultado será expresado como una fracción de dos enteros. Si desea ver este resultado con decimales, simplemente multiplique la fórmula por 1.0. Por ejemplo,

!read load.phtml (3*5*7*9)/(2*4*6*8) da 315/128, pero
!read load.phtml 1.0*(3*5*7*9)/(2*4*6*8) da 2.4609375. wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/combi.phtml0000644000175000017500000000052210340567340026672 0ustar georgeskgeorgesk: Funciones de combinatoria :

  • Para el factorial 35! : escriba !read load.phtml 35! o !read load.phtml factorial(35) .
  • Para el coeficiente binomial C53 : escriba !read load.phtml binomial(5,3) .
  • Para el 15º número de Fibonacci : escriba !read load.phtml fibonacci(15) .
wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/earlier.phtml0000644000175000017500000000140510340567340027225 0ustar georgeskgeorgesk: Cómo utilizar un resultado de cálculo anterior : Usted puede incluir un resultado anterior en otros cálculos posteriores. Para hacerlo, es suficiente escribir el nombre del cálculo anterior en la fórmula a calcular.

Por ejemplo, si el histórico de los cálculos muestra x1=3 y x2=5.4, puede escribir x2^x1 en x3, que dará el resultado 157.464.

Usted puede modificar también las fórmulas para x1 o x2 (escriba dentro de los respectivos campos y pulse `Enter'), y el resultado para x3 será automáticamente modificado coherentemente.

Si usted introduce un valor posterior en un cálculo anterior (por ejemplo (usar x4 en el campo de x2), dará error. wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/arith.phtml0000644000175000017500000000175510340567340026721 0ustar georgeskgeorgesk: Funciones aritméticas :

  • Para una potencia, 1320 : escriba !read load.phtml 13^20 .
  • Para el factorial 24! : escriba !read load.phtml 24! o !read load.phtml factorial(24) .
  • las funciones min(x,y), max(x,y) lcm(x,y) and gcd(x,y) son reconocidas por el calculador.
  • !read load.phtml prime(57) da el 57º número primo (269).
  • !read load.phtml eulerphi(120) da el número de enteros primos ente 1 y 120 que son coprimos con 120.
  • moebius(x) da la función de Moebius en x ( debe ser un entero).
  • round(x) (resp. floor(x), ceil(x)) (x es un número real) da el entero más próximo a x (resp. el mayor entero $m_le x, el menor entero $m_ge x).
  • frac(x) (x es un número real) da la parte fraccionaria de x (es decir, x-floor(x)).
  • !read load.phtml random(160) da un entero aleatorio n (que es diferente cada vez) tal que 0 $m_le n < 160.
wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/mkindex.sh0000744000175000017500000000010510340567340026524 0ustar georgeskgeorgesk#! /bin/sh l=`ls *.phtml | sed 's/.phtml//g' ` echo ":$l" >index wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/const.phtml0000644000175000017500000000041710340567340026732 0ustar georgeskgeorgesk: Constantes : Aquí tiene las constantes reconocidas por $mtit.
  • $m_pi=3.14159...: escriba pi, Pi o PI.
  • $m_e=2.71828...: escriba e.
  • Número de Euler (0.5772...): escriba euler o Euler.
wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/roots.phtml0000644000175000017500000000171310340567340026752 0ustar georgeskgeorgesk: Cómo calcular una raíz : Para calcular las raíces (reales y complejas) de un polinomio P(x)=x^5+2x^2+1, puede escribir !read load.phtml polroots(x^5+2*x^2+1) . El resultado será el conjunto de las raíces de P, reales y complejas. Nótese que este resultado es en general, un conjunto en vez de único valor, por lo que no es reusable en los siguientes cálculos.

Más generalmente, se puede calcular la raíz de una función transcendente tal como $m_f(x)=sin(x)-0.1x, dentro de un intervalo dado (por ejemplo [1,5]), escribiendo !read load.phtml solve(x=1,5,sin(x)-0.1*x) . La condición para ejecutar este comando es que $m_f(x) cambie de signo en los extremos del intervalo. De esta forma aseguramos que $m_f tiene al menos una raíz en ese intervalo.

También se puede usar la herramienta !set t=!module title tool/analysis/function.$lang !href module=tool/analysis/function.$lang $t para visualizar las raíces y los extremos de las funciones. wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/finite.phtml0000644000175000017500000000247110340567340027064 0ustar georgeskgeorgesk: Cómo calcular con característica finita : Si usted elige un entero positivo $m_n como característica, todos los cálculos de $mtit serán realizadas en el álgebra finita $m_ZZ/$m_n$m_ZZ.

En este caso, los cálculos con las funciones transcendentales y números decimales darán errores. Por otra parte, las fracciones de número enteros son válidas y serán interpretadas como tales en $m_ZZ/$m_n$m_ZZ, con la condición de que el denominador no sea un divisor de cero.

Si usted desea calcular la potencia de un número tal como 15150, puede escribirlo de la manera habitual 15^150. Nótese que no son posibles fórmulas como 15^x1, donde x1 representa un resultado anterior, ya que en este caso es considerado un elemento de $m_ZZ/$m_n$m_ZZ en vez de un número entero, por tanto 15x1 no tiene sentido.

Supongamos que desea calcular una potencia muy grande en característica finita, por ejemplo 999 (mod 13). Con el fin de evitar cálculos intermedios con enteros ordinarios que pueden producir un desbordamiento del software, se puede primero registrar la base 9, esto es, x1. A continuación introducir x1^(9^9) en x2, así se evitará el posible desbordamiento del software en los cálculos. wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help/subst.phtml0000644000175000017500000000160210340567340026741 0ustar georgeskgeorgesk: Sustituciones sucesivas en una función : Por ejemlo, supongamos que queremos estudiar los valores de una función $m_f(x,y)=x3+y4 para diferentes valores de (x,y) : (1.2,2.3), (3.4,4.5), etc.

Empezamos introduciendo 1.2 para x1, y 2.3 para x2. Ahora para x3, escribimos x1^3+x2^4 y hacemos clic en `Aceptar'. Tendremos x3=29.7121.

Ahora, reemplazamos la definición de x1 por 3.4, y pulsamos `Enter'. Veremos que x3 toma el valor de 67.2881, que es justamente $m_f(3.4,2.3).

Podemos continuar reemplazando la definición de x2 por 4.5, y así sucesivamente.

No hay que olvidar que cada vez que modificamos una definición de un valor en el histórico, debemos pulsar `Enter' para que las modificaciones tengan efecto. wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/main.phtml0000644000175000017500000000135610340567341025604 0ustar georgeskgeorgesk!header !if $laststep>0 !if $error!=$empty !read msg.phtml !else !read answer.phtml !endif !else Esta calculadora numérica solo necesita que usted escriba su fórmula. Además, esta herramienta reconoce muchas más funciones que las calculadoras clásicas de botones, realiza cálculos con números reales y complejos así como números módulo un entero (característica positiva).

Usted también dispone del histórico de los cálculos introducidos previamente que puede usar para modificar sus expresiones o utilizarlos en nuevas fórmulas. Existe a su disposición varios tipos de manipulaciones. !href cmd=help Ver ayuda para las instrucciones. !endif compute=yes? !read menu.phtml :end !tail !distribute item , into formula,recomp wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/var.def0000644000175000017500000000117710340567341025063 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim formula any step any char any recomp any prec any laststep deny steplim deny varlist deny history deny result deny wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/INDEX0000644000175000017500000000203710340567341024401 0ustar georgeskgeorgesktitle=Calculador numérico # Commencez la description par minuscule! description=real/complejo o característica positiva y con histórico de cálculos previos modificable. author=XIAO Gang address=xiao@unice.fr copyright=© 1999 (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=1.00 # minimal version of wims server under which the module may run wims_version=2.13 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=E1 E2 E3 E4 E5 E6 H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=number, algebra # Anything you like. keywords=calculator, complex number, finite characteristique, finite field # Software packages required to run the module require=pari # Does the module have scoring system? scoring=no help=nopop wims-modules-es-3.64.orig/modules/tool/number/calcnum.es/load.phtml0000644000175000017500000000015210340567341025570 0ustar georgeskgeorgesk!if $wims_read_parm=$empty !exit !endif !href cmd=resume&formula=$wims_read_parm $wims_read_parmwims-modules-es-3.64.orig/modules/tool/number/calcnum.es/help.phtml0000644000175000017500000000151610340567341025606 0ustar georgeskgeorgesk!set mtit=$module_title !set helplist=!record 1 of help/index !set helplist=!words2items $helplist !set tlist= !for h in $helplist !set l=!record 1 of help/$h.phtml !set l=!line 1 of $l !set tlist=!append line $l to $tlist !next h !set tlist=!sort nocase line $tlist !set helplist=!item $wims_sort_order of $helplist

!href cmd=resume Regresar al trabajo

wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/0000755000175000017500000000000010215114054023750 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/contfrac.es/var.init0000644000175000017500000000025206641767367025461 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. !default formula=!randitem pi,e,sqrt(2),sqrt(3),sqrt(5),sqrt(10),pi^2,e^2,1/pi,1/e,euler wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/var.proc0000644000175000017500000000214506625757702025456 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. nit=n default num_style=1 !!num_style=1 !default precision=20 !if $precision > 2000 precision=2000 !endif pari_precision=$[2*$precision] sign0=- sign1=+ sign2=+ numerator=!item $num_style of 1,-1,(-1)^n,-(-1)^n !if $cmd=reply formula=!lowercase $formula formula=!rawmath $formula !if $module_language=fr formula=!replace , by . in $formula !endif wims_module_log=dev $formula !if $num_style != 1 ddd=!exec pari \v\ formula=$formula;print(formula)\ print(contfrac(formula,vector($precision+2,n,$numerator))) !else ddd=!exec pari \v\ formula=$formula;print(formula)\ print(contfrac(formula)) !endif gp_version=!line 1 of $ddd gp_version=!word 4 of $gp_version n=!line 2 of $ddd devel=!line 3 of $ddd !if $n = $empty error_test1=? !exit !endif devel=!trim $devel fn=!itemnum $devel myn=!eval $n error_test1=!word 1 of $n int_part=!item 1 of $devel !if $num_style=2 or $num_style=3 int_part=!eval -$int_part !endif !endif wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/conv4.phtml0000644000175000017500000000072410141661506026061 0ustar georgeskgeorgesk n1 + 1/n2$- 1/n3$+ 1/n4$- 1/n5$+ . . . = !set ins_align=top !instex $$$$ n_1+{\strut 1\over\displaystyle n_2-\ {\strut 1\over\displaystyle n_3+\ {\strut 1\over\displaystyle n_4-\ {\strut 1\over\displaystyle n_5+\cdots}}}}} $$$$ wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/about.phtml0000644000175000017500000000011610202107635026131 0ustar georgeskgeorgesk$module_about Software utilizado por esta aplicación :
!exec pari about wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/conv2.phtml0000644000175000017500000000053710141661506026061 0ustar georgeskgeorgesk n1 - !for i = 2 to 5 1/n$i- !next i . . . = !set ins_align=top !instex $$$$ n_1-{\strut 1\over\displaystyle n_2-\ {\strut 1\over\displaystyle n_3-\ {\strut 1\over\displaystyle n_4-\ {\strut 1\over\displaystyle n_5-\cdots}}}}} $$$$ wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/conv1.phtml0000644000175000017500000000053710141661506026060 0ustar georgeskgeorgesk n1 + !for i = 2 to 5 1/n$i+ !next i . . . = !set ins_align=top !instex $$$$ n_1+{\strut 1\over\displaystyle n_2+\ {\strut 1\over\displaystyle n_3+\ {\strut 1\over\displaystyle n_4+\ {\strut 1\over\displaystyle n_5+\cdots}}}}} $$$$ wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/conv3.phtml0000644000175000017500000000072410141661506026060 0ustar georgeskgeorgesk n1 - 1/n2$+ 1/n3$- 1/n4$+ 1/n5$- . . . = !set ins_align=top !instex $$$$ n_1-{\strut 1\over\displaystyle n_2+\ {\strut 1\over\displaystyle n_3-\ {\strut 1\over\displaystyle n_4+\ {\strut 1\over\displaystyle n_5-\cdots}}}}} $$$$ wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/main.phtml0000644000175000017500000000667310202107635025761 0ustar georgeskgeorgesk $wims_html_header !if $cmd=reply and $error_test1 != ? !endif !headmenu !if $cmd=help and $special_parm=about !read about.phtml !goto end !endif !if $cmd=help !read help.phtml !goto end !endif !title !if $cmd=reply !if $error_test1 = ? $formula=?
Syntax error in the expression, please correct. !goto end2 !endif !ifval $fn=0 The expansion of $formula=$n
has failed: a typo, or non-recognised expression. Sorry. !goto end2 !endif Desarrollo en fracción continua de $m_n = !htmlmath $formula $empty:

!char 1 to $precision+10 of $n = $int_part !item $num_style of +,-,-,+ !set t = !itemcnt $devel !if $t > $precision !set t=$precision !endif !for i = 2 to $t !set k=!item $i of $devel 1/=$precision or $i!=$t !set d=$(sign$[sign($k)+1]) !else !set d= !endif >$[abs($k)]$d !next i !if $t >= $precision . . . !endif

Con javascript, colocando el ratón sobre un denominador, será mostrada la !pedia convergencia,convergencia del correspondiente término (precisión limitada):

Modo de presentación de la fracción continua:

!read conv$num_style.phtml :end2


!href cmd=resume Desarrollar otro número.   !goto end !endif Esta página calcula la expresión en !pedia fracción continua,fracción continua de un número real $m_n.

Se puede introducir el número $m_n mediante una expresión. Ejemplos de expresiones: !href cmd=help&help_subject=example1 elementales o !href cmd=help&help_subject=example2 avanzados . !form reply Número a : $m_n =
Número de términos en el desarrollo:
Signos del desarrollo: :end !homeref !if $gp_version != $empty


La fracción continua es calculada por PARI versión $gp_version. Autores: pari@math.u-bordeaux.fr.
PARI está disponible en ftp://megrez.math.u-bordeaux.fr (y en otros muchos sitios ftp).

!endif wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/var.def0000644000175000017500000000125706476057334025252 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim formula any 1 functions any 1 help_subject help 1 precision any 1 # numerator style. 1=+1, 2=-1, 3=-1,+1,-1,..., 4=+1,-1,+1... num_style any 1 wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/INDEX0000644000175000017500000000140010202107635024540 0ustar georgeskgeorgesktitle=ContFrac description=expresa un número real como una fracción continua. author=XIAO Gang address=xiao@unice.fr copyright=© 1998-1999 (GNU GPL) version=1.01 translator=Antonio Ullán translator_address=aullan@unex.es # minimal version of wims server under which the module is running wims_version=1.32 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H5 H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, etc. domain=algebra, analysis, number # Anything you like. keywords=number, continued fraction, development # Software required to run this module require=pari wims-modules-es-3.64.orig/modules/tool/number/contfrac.es/help.phtml0000644000175000017500000000361110202107635025752 0ustar georgeskgeorgesk!default help_subject=example1 !if example isin $help_subject Ejemplos de expresiones y cómo introducirlas.

Para la expresión: Usted puede escribir: Se obtiene: !if $help_subject=example1
!instex $$ \pi^2-3e$$ pi^2-3*e 1.7147589...
!instex $$ \sqrt{2}+{\root 3 \of 5} $$ sqrt(2)+5^(1/3) 3.1241895...
46-36-26 4^6-3^6-2^6 3303
222-10! 2^22-10! 565504
(35-1)(25-1)-1 (3^5-1)*(2^5-1)-1 7501
!instex $$$$ 15+77-2\over 2^3\cdot 3^5-1$$$$ (15+77-2)/(2^3*3^5-1) 90/1943

!href cmd=help&help_subject=example2 Ejemplos más avanzados . !else exemple2 ppcm(15,70)-pgcd(21,33) lcm(15,70)-gcd(21,33) 207 !instex $$$$ \sum^{10}_{n=1}\left(n^2+n\right) $$$$ sum(n=1,10,n^2+n) 440 !instex $$$$ \prod^{10}_{n=1}{n^2\over n^2+1}$$$$ prod(n=1,10,n^2/(n^2+1)) !instex $$$$ 658409472\over 2200962205$$$$ !instex $$ C^{12}_{30}={30 \choose 12}$$ binomial(30,12) 86493225 parte entera de e4 truncate(exp(4)) 54 !instex $$$$ 2^{2^{2^2}}-8!$$$$ 2^(2^(2^2))-8! 25216 raíz de x2+x-1
entre 0 y 1 (número de oro) solve(x=0,1,x^2+x-1) 0.618033988...

!href cmd=help&help_subject=example1 Ejemplos elementales .
Para mayor información sobre las funciones y sus nombres, consulte el manual de pari. !endif ejemplo 1 o 2 !endif wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/0000755000175000017500000000000010215114054023714 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/goldbach.es/menu.phtml0000644000175000017500000000113010156136761025736 0ustar georgeskgeorgesk!! menu definition file


!form reply Introduzca un número par: $m_n = 

Tipo de búsqueda:

  • Diferentes descomposiciones de un mismo número.
  • Una descomposición para cada número par comenzando por uno dado.
Número de descomposiciones en la respuesta: !formselect list$ list 5,8,10,15,20

wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/var.proc0000644000175000017500000000332007011334371025375 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. n=!trim $n !bound type within prime,base default prime !bound list between integer 1 and 20 default 10 prime_limit=40000 histcnt=!itemcnt $hist !if $start=back and $histcnt>=2 start=!item -2 of $hist !if $histcnt>2 hist=!items 1 to -3 of $hist !else hist= !endif !endif !if $start!=$empty start=$[abs(floor($start))] !if NaN isin $start or Inf isin $start or $start>$prime_limit-1000 start= !endif !endif !default start=0 !if $start<=0 hist= !endif # how to detect the need to compute? !if $cmd!=resume and $n!=$empty error= compute=yes n=!rawmath $n test=$[abs($n)] !if NaN isin $test error=bad_formula !exit !endif !if Inf isin $test or inf isin $test or $test>10^200 error=too_big !exit !endif !if $test<4 error=too_small !exit !endif log=$[log($test)] !if $log>60 list=$[min($list,10)] !endif !if $log>100 list=$[min($list,5)] !endif search_prime=for(t=1+$start,$prime_limit,p=prime(t);r=n-p;if(isprime(r),if(2*p>n,break);print(n," ",p," ",r," ",t,",");k++;if(k>=$list,break))) search_base=for(add=$start,$list+$start-1,nn=n+2*add;for(t=1,$prime_limit,p=prime(t);r=nn-p;if(isprime(r),if(2*p<=nn,print(nn," ",p," ",r","));break))) pariout=!exec pari k=0;n=abs(2*floor($n/2));print(n);\ $(search_$type) print("end") !distribute lines $pariout into parin,splits,mark splits=!char 1 to -2 of $splits count=!itemcnt $splits !if $type=base next=$[$start+$count] !else tt=!item $count of $splits tt=!word 4 of $tt !if $tt!=$empty next=$[$tt] !else next=$start !endif !endif hist=!append item $start to $hist !endif histcnt=!itemcnt $hist wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/answer.phtml0000644000175000017500000000217010156136761026276 0ustar georgeskgeorgesk!! Give answers in this file. !if $count=0 !if $start=0 or $type=base No se ha encontrado ninguna descomposición en suma de dos números primos durante el tiempo (limitado) de ejecución de su petición. !if $n>10^20

Su petición requiere cálculos demasiado intensivos para este servidor. Disculpe las molestias. !endif !else No se han encontrado más descomposiciones. Nótese que debido a la limitación de los recursos empleados, solamente se buscan descomposiciones cuyo primer número primo es menor de 500 000, además el tiempo de ejecución está limitado. !endif !exit !endif Hemos encontrado las siguientes descomposiciones en suma de dos números primos.

!for k=1 to $count !set l_=!item $k of $splits !distribute words $l_ into nn,p1,p2
$nn =  $p1 + $p2 !next k

!if $histcnt>=2 !href cmd=reply&n=$n&start=back Retroceder . !endif !if $count=$list and ($type=base or $p1<$n/2) and $histcnt<1000 !href cmd=reply&n=$n&start=$next Continuar . !endif

wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/about.phtml0000644000175000017500000000046610156136761026117 0ustar georgeskgeorgesk$module_about Software que usa esta aplicación : !exec pari about

Los números muy grandes que aparecen en la descomposición como números primos, son "probables primos". Usted puede usar la herramienta !href module=tool/number/primes Primos para comprobar rigurosamente si un número es primo. !tail wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/main.phtml0000644000175000017500000000156710156136761025734 0ustar georgeskgeorgesk!header !if $compute=yes !if $error!=$empty !read msg.phtml !else !read answer.phtml !endif !else La famosa conjetuta de Goldbach establece que todo número par mayor que 2 puede descomponerse como suma de dos números primos. A pesar de los esfuerzos realizados por muchos matemáticos, durante varios siglos, esta conjetura aparentemente sencilla, aún no ha podido ser demostrada (al menos hasta el año en que esta página fué traducida al español: 2004).

Esta página no tiene por cometido ayudar a encontrar una demostración de la conjetura de Goldbach. Es fácil calcular descomposiciiones en sumas de 2 primos para un número dado. Uno de los objetivos de esta página es dar comprobaciones de que para números pares grandes, el número de posibles descompposiciones crece cada vez más. !endif compute=yes? !read menu.phtml !tail !distribute items $ into n,start wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/var.def0000644000175000017500000000106607011332236025173 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim n any type any list any start any hist any wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/INDEX0000644000175000017500000000170210156136761024523 0ustar georgeskgeorgesktitle=Goldbach # Commencez la description par minuscule! description=escribir un número entero par como suma de dos números primos. author=XIAO Gang address=xiao@unice.fr copyright=© 1999 (GNU GPL) translator=Antonio Ullán de Celis translator_address=aullan@unex.es version=1.00 # minimal version of wims server under which the module may run wims_version=2.01 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=number,number theory # Anything you like. keywords=integer, prime, Goldbach # Software packages required to run the module require=pari # Does the module have scoring system? scoring=no wims-modules-es-3.64.orig/modules/tool/number/goldbach.es/msg.phtml0000644000175000017500000000101410156136761025561 0ustar georgeskgeorgesk!! error messages in this file. !set error_head=Error. !if bad_formula iswordof $error $error_head No comprendo la fórmula introducida. Por favor, corríjala. !exit !endif !if too_big iswordof $error $error_head El número introducido es demasiado grande para este software. Lamentamos no poder satisfacer su petición. !exit !endif !if too_small iswordof $error $error_head El número introducido es excesivamente pequeño. La conjetura de Goldbach es para número pares superiores a 4! !exit !endif wims-modules-es-3.64.orig/modules/tool/number/primes.es/0000755000175000017500000000000010315753121023455 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/number/primes.es/menu.phtml0000644000175000017500000000302510315754126025475 0ustar georgeskgeorgesk!set l_up=creciente !set l_down=decreciente !if $wims_mode=popup !exit !endif


Por favor, elija el método de búsqueda de números primos. (Expresiones aritméticas están permitidas en todos los campos que abajo.) !form reply

  1. Lista de números primos sucesivos, comenzando desde , en forma .
  2. Un primo aleatorio de digits.
  3. Lista de números primos en progresión aritmética $m_a$m_n + $m_b, donde
    $m_a = , $m_b = , y $m_n toma valores comenzando en ,
    en forma .

Limitar la lista a números primos. wims-modules-es-3.64.orig/modules/tool/number/primes.es/var.proc0000644000175000017500000000762010065476202025143 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !default all=1 !default all_dir=up !default lin_dir=up !default a=4 !default b=1 !default n=100 !default rand=30 !default plim=20 rand_max=200 rand_min=1 str_max=2000 !if $calc=check compute=yes wims_module_log=check $check ch=!eval $check !if NaN isin $check or $check=$empty error=bad_parm !exit !endif !read Selfridge.gp pari_header=$Selfridge_src test=!exec pari print(selfridge($check)) !if $test=$empty or $test<0 primarity=? !exit !endif !ifval $test=1 primarity=yes l1=!charcnt $checked l2=!charcnt $check !if $l1+$l2 < 5000 checked=$checked $check !endif !exit !endif primarity=no !exit !endif !if $calc=resume compute=yes !exit !endif !if $calc!=$empty and $cmd!=resume compute=yes !if $method=$empty error=no_method !exit !endif !if $method!=all and $method!=rand and $method!=lin error=bad_method !exit !endif !if $method=all all=!trim $all !if $all=$empty error=empty_data !exit !endif primes= wims_module_log=all $all_dir $plim from $all all=!rawmath $all all1=!eval $all !if NaN isin $all1 error=bad_all !exit !endif !if Inf isin $all1 or $all1>40^$rand_max error=too_big !exit !endif !if $all1<-1 or ($all1<3 and $all_dir=down) error=too_small !exit !endif digits=!eval rint(log10($all1+50)) limit=$[$str_max/($digits+3)] !if $all_dir=down primes=!exec pari n=floor($all)+1;k=1;l=0;while(k<$str_max && l<$plim,n=precprime(n-1);k=k+sizedigit(n)+2;if(n<2,break());print(n",");l++) !else primes=!exec pari n=ceil($all)-1; k=1;l=0;while(k<$str_max && l<$plim,n=nextprime(n+1);k=k+sizedigit(n)+2;print(n",");l++) !endif !goto end !endif !if $method=rand !if $rand1=prec and $primes!=$empty primes=!exec pari print(precprime($primes-1)) wims_module_log=rand_prec $primes !goto end !endif !if $rand1=next and $primes!=$empty primes=!exec pari print(nextprime($primes+1)) wims_module_log=rand_next $primes !goto end !endif rand=!trim $rand !if $rand=$empty error=empty_data !exit !endif primes= rand=!rawmath $rand randd=!eval rint($rand) !if NaN isin $randd error=bad_rand !exit !endif !if $randd < $rand_min randd=$rand_min rand=$rand_min rand_warn=min !endif !if $randd > $rand_max randd=$rand_max rand=$rand_max rand_warn=max !endif rn=!randint 1,9 r1=$rn !if $randd>1 !for i=2 to $randd j=!randint 0,9 rn=$rn$j !next i !endif !if $r1>5 primes=!exec pari print(precprime($rn)) !else primes=!exec pari print(nextprime($rn)) !endif wims_module_log=rand $rand: $primes !goto end !endif !if $method=lin primes= wims_module_log=lin $a n + $b, $lin_dir $plim from $n a=!rawmath $a b=!rawmath $b n=!rawmath $n !if $a=$empty or $b=$empty or $n=$empty error=empty_data !exit !endif a1=!eval rint($a) b1=!eval rint($b) n1=!eval rint($n) !if NaN isin $a1$b1$n1 error=bad_lin !exit !endif !ifval $b1=0 error=b_is_zero !exit !endif !ifval $a1=0 error=a_is_zero !exit !endif test=$[$n1*($a1)+($b1)] !if Inf isin $test or $test>40^rand_max error=too_big !exit !endif !if $lin_dir=down primes=!exec pari n=floor($n);a=round($a);b=round($b);k=1;p=2;l=0;while(k<=$str_max && (p>1 || a<0) && l<$plim,p=n*a+b; if(p>40^$rand_max,quit); if(p>1 && isprime(p),l++;print(n" "p",");k=k+sizedigit(p)+sizedigit(n)+3);n--) !else primes=!exec pari n=ceil($n); a=round($a);b=round($b);k=1;p=2;l=0;while(k<=$str_max && (p>1 || a>0) && l<$plim,p=n*a+b; if(p>40^$rand_max,quit); if(p>1 && isprime(p),l++;print(n" "p",");k=k+sizedigit(p)+sizedigit(n)+3);n++) !endif !goto end !endif :end primes=!trim $primes c=!char -1 of $primes !if $c=, primes=!char 1 to -2 of $primes !endif !if $primes=$empty error=empty_$method !endif !endif wims-modules-es-3.64.orig/modules/tool/number/primes.es/answer.phtml0000644000175000017500000000566710315754126026046 0ustar georgeskgeorgesk

!if $calc=check

Verificación de número primo

!if $primarity=yes Sí, $check es efectivamente un número primo. !endif !if $primarity=no No, $check es un número compuesto! !endif !if $primarity=? La verificación de número primo de $check ha fallado. Lo sentimos. !endif

!href cmd=reply&calc=resume Regresar al resultado de la búsqueda !goto end !endif !if $method=all Primos comenzando desde $all :

!for i in $primes !set checking=$i !read primecheck.phtml   !next i !if $wims_mode=popup !exit !endif

!if $all_dir=down !href cmd=reply&calc=yes&all=$i-1 Continuación de la lista !else !href cmd=reply&calc=yes&all=$i+1 Continuación de la lista !endif !goto end !endif !if $method=rand !if $rand1!=next and $rand1!=prec Un número primo aleatorio de $rand cifras: !else Continuación empezando desde un número primo aleatorio de $rand cifras: !endif

!set checking=$primes !read primecheck.phtml

!if $rand_warn != $empty Nota. El número de cifras está limitado entre $rand_min y $rand_max. !endif !if $wims_mode=popup !exit !endif Puede ver el número primo !href cmd=reply&rand1=prec&calc=yes precedente o !href cmd=reply&rand1=next&calc=yes siguiente a éste !goto end !endif !if $method=lin Números primos en progresión aritmética !htmlmath ($a) n + ($b) , comenzando desde $m_n = $n :

!for i in $primes !set i1=!word 1 of $i !set i2=!word 2 of $i
$m_n = $i1,  $m_p = !set checking=$i2 !read primecheck.phtml !next i

!if $wims_mode=popup !exit !endif !if $lin_dir=down !href cmd=reply&calc=yes&n=$i1-1 Continuación de la lista !else !href cmd=reply&calc=yes&n=$i1+1 Continuación de la lista !endif !goto end !endif :end , o !href cmd=resume regresar al menú para otra búsqueda. !if $probable=yes


Atención. Los números que aparezcan en azul son únicamente !href cmd=help&help_subject=certified probables primos . Puede hacer click en ellos para verificar rigurosamente si son primos. !if $bigprobable=yes

Nótese que para probar si un número de más de 45 cifras es primo, éste será enviado al programa ECPP de François Morain, disponible en línea en Freelance Systems Programming. La computación será mostrada en una nueva ventana de su navegador; la última línea del script le dirá si el número es primo.

Advertencia. Es altamente desaconsejable utilizar esta herramienta para usos de encriptación en situaciones reales. Los números primos viajando a través de la red no tienen ninguna confidenciabilidad y pueden ser leidos por otros usuarios de la misma. !endif


!endif !set calc=

wims-modules-es-3.64.orig/modules/tool/number/primes.es/primecheck.phtml0000644000175000017500000000075510315754126026652 0ustar georgeskgeorgesk!! prepare link to check primarity. Language-independent. !set len=!charcnt $checking !if $len<9 or $checking iswordof $checked or $wims_mode=popup $checking !exit !endif !set probable=yes !if $len<=45 !href cmd=reply&calc=check&check=$checking $checking !exit !endif !set bigprobable=yes !if $len<140 $checking !else !href cmd=help&help_subject=bigcheck&special_parm=$checking $checking !endif wims-modules-es-3.64.orig/modules/tool/number/primes.es/about.phtml0000644000175000017500000000012310315754126025637 0ustar georgeskgeorgesk$module_about Software que es utilizado en esta aplicación:
!exec pari about wims-modules-es-3.64.orig/modules/tool/number/primes.es/main.phtml0000644000175000017500000000170610315754126025461 0ustar georgeskgeorgesk!header

!if $compute=yes !if $error!=$empty !read msg.phtml !read menu.phtml !goto end !else !read answer.phtml !goto end !endif !else $module_title es una herramienta para buscar números primos. Le permitirá la búsqueda de primos de diferentes maneras, incluso puede generar números primos de gran tamaño (hasta 200 cifras o más).

Por razones de eficiencia, en algunas ocasiones, esta herramienta le dará primero algunos !href cmd=help&help_subject=certified números probables primos como resultado de la búsqueda; usted puede hacer click en un número de éstos para que pase un test riguroso de prueba de ser primo. (Nótese sin embargo, que solamente hay una posibilidad entre billones de encontrar un probable primo que no sea primo.) !read menu.phtml !endif

Herramientas relacionadas: !href module=tool/algebra/factor Factorización entera .

Glosario: !pedia Número_primo, Número_primo . :end

!tail !set rand1= wims-modules-es-3.64.orig/modules/tool/number/primes.es/var.def0000644000175000017500000000132606550702154024735 0ustar georgeskgeorgesk#This is the variable definition file of the tool module `...'. #It is part of the software wims. Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim calc any 0 method any 1 all any 0 all_dir any 0 lin any 0 lin_dir any 0 rand any 1 a any 1 b any 1 n any 1 primes deny 0 plim any 0 rand1 reply 0 check reply 1 checked deny 0 help_subject help 0 wims-modules-es-3.64.orig/modules/tool/number/primes.es/certified.phtml0000644000175000017500000000271510315754126026474 0ustar georgeskgeorgesk

Probables primos

Existen esencialmente dos tipos de prueba para saber si un número entero es primo: prueba rigurosa y prueba probabilística.

Una prueba probabilística tiene la ventaja de ser mucho más rápida que la rigurosa, pero no asegura que un número es primo. Por otra parte, un número entero que haya pasado este test tiene MUY alta probabilidad de ser realmente primo; sin embargo, realmente exiten números compuestos que pasan el test probabilístico.

Esta herramienta usa el software PARI/GP para la búsqueda de primos. Este software usa exclusivamente el test probabilístico en las búsquedas (Rabin-Miller test en 10 bases aleatorias). Esta es la razón por la que los resultados de esta herramienta son exclusivamente probables primos.

En cualquier caso, si necesita la prueba rigurosa de número primo, haga click en el número. En este caso, PARI/GP será llamado de nuevo para ejecutar el test riguroso que permite saber si el número es primo (con un algoritmo que usa un teorema de John Selfridge; ver ``Prime Numbers and Computer Methods for Factorization'' by Hans Riesel, Theorem 4.4), si el número tiene a lo sumo 45 cifras; en otro caso, llamaremos al test ECPP, disponible en otro sitio web, para un chequeo riguroso y se abrirá otra ventana en su navegador web. ECPP es una herramienta moderna muy potente; debe tener paciencia si quiere saber de modo riguroso si es primo un número con 100 cifras o más.

wims-modules-es-3.64.orig/modules/tool/number/primes.es/INDEX0000644000175000017500000000140710315754126024257 0ustar georgeskgeorgesktitle=Primos # Commencez la description par minuscule! description=búsqueda de números primos de varias maneras. author=XIAO Gang address=xiao@unice.fr copyright=© 1998-1999 (GNU GPL) translator=Antonio Ullán translator_address=aullan@unex.es version=2.10 # minimal version of wims server under which the module may run wims_version=3.37f language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H4 H5 H6 U1 U2 U3 U4 # e.g. algebra, analysis, geometry, arithmetic, number, etc. domain=algebra, arithmetic, number # Anything you like. keywords=prime, cryptology, RSA mode=popup help=popup wims-modules-es-3.64.orig/modules/tool/number/primes.es/bigcheck.phtml0000644000175000017500000000207410315754126026273 0ustar georgeskgeorgesk

¿Está usted seguro?

!set n=!charcnt $special_parm !set emph= !set emphend= Usted puede conectar en línea con ECPP para comprobar si un número grande de más de $n cifras, es primo. Esa comprobación puede tardar $emph muchos minutos $emphend, incluso $emph horas $emphend y usted tendrá que permanecer en línea hasta que el resultado final sea mostrado.

Si no tiene paciencia para esperar tanto, le sugerimos que !href cmd=reply&calc=resume abandone la comprobación , de ese modo no consumirá recursos de Freelance Systems Programming que es donde se ubica el programa de comprobación ECPP en línea.

Por favor comprobar si es primo, solamente si usted realmente necesita saber si el número

$special_parm

es primo; espere hasta que el resultado final sea mostrado.

!href cmd=reply&calc=resume Regresar a la lista de primos

wims-modules-es-3.64.orig/modules/tool/number/primes.es/msg.phtml0000644000175000017500000000425010315754126025320 0ustar georgeskgeorgesk !set wims_module_log=error: $error !if empty_all iswordof $error Ningún número primo ha sido encontrado. Ha habido un error en su petición, o bien el proceso de computación ha sido interrumpido porque requiere demasiado tiempo. !endif !if empty_rand iswordof $error Random prime failure. Internal error! !endif !if empty_lin iswordof $error No se ha encontrado ningún primo en progresión aritmética !htmlmath ($a) n + ($b) . O bien la progresión solo tiene números compuestos, el proceso de cálculo requiere demasiado tiempo, o hay un error en su petición.

Nótese también que únicamente primos positivos serán dados en los resultados. !endif !if no_method iswordof $error Qué es el que usted quiere buscar? !endif !if bad_method iswordof $error No entendemos qué es lo que quiere buscar. Playing with the commands? !endif !if too_small iswordof $error Usted ha pedido buscar números primos entre números negativos. Preferimos darle resultados positivos; por favor, cambie el rango de su búsqueda. !endif !if too_big iswordof $error Usted ha preguntado por números primos muy grandes. Esta búsqueda podría necesitar más recursos que los limitados en este servidor, por tanto la petición ha sido rechazada. Disculpe las molestias. !endif !if bad_all iswordof $error El punto inicial $all para la lista de primos no es correcta. Por favor corríjala. !endif !if bad_rand iswordof $error Para un primo aleatorio, el número de cifras $rand es malo. Por favor corríjalo. !endif !if empty_data iswordof $error Part of data for the computation you asked is missing. Please complete your entries. !endif !if bad_lin iswordof $error Some of the data in the definition of the arithmetic progression is bad. Please correct. !endif !if b_is_zero iswordof $error An arithmetic progression with $m_b = 0 does not contain primes except in trivial cases. Your request is therefore refused, please correct it. !endif !if a_is_zero iswordof $error An arithmetic progression with avec $m_a = 0 is trivial. Your request is therefore refused, please correct it. !endif !if bad_parm iswordof $error Error in command parameters. Playing with the tool? !endif wims-modules-es-3.64.orig/modules/tool/number/primes.es/NEWS0000644000175000017500000000033010065476443024163 0ustar georgeskgeorgesk# This file registers changes to the module. # Please write in reverse order: the last version first. Version 2.10: 20040621 Elimination of symbolic links. ....................... Version 1.00: First publication. wims-modules-es-3.64.orig/modules/tool/number/primes.es/help.phtml0000644000175000017500000000010010315754126025450 0ustar georgeskgeorgesk !default help_subject=certified !changeto $help_subject.phtml wims-modules-es-3.64.orig/modules/tool/analysis/0000755000175000017500000000000010771672624022121 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/0000755000175000017500000000000010215111065023603 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/menu.phtml0000644000175000017500000000374610170672562025645 0ustar georgeskgeorgesk!form reply Para una suma, introducir primero la expresión de su término general: ( !href cmd=help Ejemplos )

$m_f($m_n) =

A continuación elija el timpo de suma a calcular.

  • !if $style=simple !endif Series infinitas, desde $m_n igual a . !if $style=expert Tipo de cálculo: !set desc_series=Simbólico, para series generales. !set desc_seralt=Numérico, para series alternadas. !set desc_serpos=Numérico, para series monótonas.
      !for mode in series,seralt,serpos
    • $(desc_$mode)   !next mode
    !endif
  • Suma finita, tomando $m_n los valores enteros desde hasta , !if $style=expert
  • o tomando $m_n como valores los primos entre y ,
  • o tomando $m_n como valores los divisores del entero . !!
  • or running through the roots (real or complex) of a polynomial !!
    $m_P(x)= . !endif
Precisión numérica: dígitos.
wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/var.proc0000644000175000017500000000521607703161405025277 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !if $style=simple and $type!=series and $type!=finite type= !endif !default series1=1 !default finite1=1 !default finite2=10 !default type=series !default num_precision=12 !default style=simple wims_rawmath_variables=n pari_precision=$num_precision maxima_precision=$num_precision !if $formula!=$empty and $noshow!=yes and $cmd!=resume and $cmd!=help compute=yes formula=!trim $formula formula=!lower $formula formula=!rawmath $formula !if $type=series series1=!rawmath $series1 result=!exec maxima abstr:sum($formula,n,$series1,inf);\ bfloat(abstr); !endif !if $type=seralt or $type=serpos mode=!char 4 to -1 of $type series1=!rawmath $series1 result=!exec pari print("sum")\ print(sum$mode(n=$series1,$formula)) !endif !if $type=finite !default finite1=1 !default finite2=10 finite1=!rawmath $finite1 finite2=!rawmath $finite2 test=!eval $finite2-$finite1 !if . isin $finite1$finite2 and NaN notin $test error_test=realbound !exit !endif !if NaN notin $test !if abs($test)>20 add_term=+0.0 !endif result=!exec pari print(abstr=sum(n=$finite1,$finite2,$formula $add_term))\ print(abstr+0.0) !else result=!exec maxima abstr:sum($formula,n,$finite1,$finite2);\ bfloat(abstr); !endif !endif !if $type=prime !default prime1=1 !default prime2=100 prime1=!rawmath $prime1 prime2=!rawmath $prime2 result=!exec pari somme=0;forprime(n=$prime1,$prime2,somme=somme+$formula);print(somme) !endif !if $type=div div=!trim $div div=!rawmath $div !if $div=$empty error_test=nodivnum !exit !endif result=!exec pari print(sumdiv($div,n,$formula)) !endif !if $type=poly and 1=0 poly=!lowercase $poly poly=!rawmath $poly !if x notvarof $poly error_test=nopoly !exit !endif result=!exec mupad abstr:=sum($formula,n=RootOf($poly,x));\ print(float(abstr)); !endif res_abstr=!line 1 of $result res_abstr=!texmath $res_abstr !if a isin $res_abstr or e isin $res_abstr or i isin $res_abstr\ or o isin $res_abstr or u isin $res_abstr or y isin $res_abstr\ or A isin $res_abstr or E isin $res_abstr or I isin $res_abstr\ or O isin $res_abstr or U isin $res_abstr or Y isin $res_abstr\ or / isin $res_abstr res_num=!line 2 of $result test=!eval $res_num !if NaN isin $test res_num= !endif !endif !if sum isin $res_abstr or abstr isin $res_abstr res_abstr= !endif !if $res_abstr!=$empty and $res_num!=$empty res_link== !endif !if $res_abstr$res_num=$empty error_test=fail !else wims_module_log=$type: $formula !endif !endif wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/answer.phtml0000644000175000017500000000255710170672562026177 0ustar georgeskgeorgeskResult of the requested computation.

!warn rawmath !set ins_align=middle $m_f($m_n) = !htmlmath $formula

!if ser isin $type !instex $$$$ \sum^\infty_{n=$series1}f(n) = $res_abstr $res_link $$$$ !set tmp=!htmlmath $res_num !exec Plouffe $tmp !if $type=seralt

¡Atención! Verifique que los términos de la serie son alternativamente positivos y negativos y que son estrictamente decrecientes en valor absoluto. De otro modo el resultado es probablemente falso. !endif !if $type=serpos

¡Atención! Verifique que los terminos de la serie tienen signo constante y que son estrictamente decrecientes en valor absoluto. De otro modo este resultado es probablemente falso. !endif !exit !endif !if $type=finite !instex $$$$ \sum^{$finite2}_{n=$finite1}f(n) = $res_abstr $res_link $$$$ !set tmp=!htmlmath $res_num !exec Plouffe $tmp !exit !endif !if $type=div !instex $$$$ \sum_{n|$div}f(n) = $res_abstr $$$$ !htmlmath $res_link $res_num !exit !endif !if $type=prime La suma de $m_f($m_n) tomando $m_n como valores los números primos entre $prime1 y $prime2 es:

$res_abstr $res_link $res_num. !exit !endif !if $type=poly La suma de $m_f($m_n) tomando $m_n como valores las raices del polinomio !htmlmath $poly es:

$res_abstr $res_link !exec Plouffe $res_num. !exit !endif wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/style.phtml0000644000175000017500000000042510170672562026030 0ustar georgeskgeorgesk !if $style=simple El menú de esta página está en modo simple. Para más opciones, vaya a !href cmd=resume&style=expert modo experto !else Si encuentra el menú de esta página demasiado complicado, puede elegir el !href cmd=resume&style=simple menú simple . !endif wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/about.phtml0000644000175000017500000000015110170672562025776 0ustar georgeskgeorgesk$module_about Software utilizado por esta aplicación:
!exec maxima about
!exec pari about wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/main.phtml0000644000175000017500000000074010170672562025614 0ustar georgeskgeorgesk!header

!if $compute=yes !if $error_test!=$empty !read msg.phtml !else !read answer.phtml !endif !else Esta página calcula una suma finita o infinita !set ins_align=middle !instex $$ \sum_nf(n) $$ dependiendo de un índice $m_n. Esta suma puede ser numérica o simbólica (por ejemplo una serie de potencias).

!read style.phtml !endif


!read menu.phtml

!read style.phtml !goto end

Glossary: :end

!tail !for n in noshow !set $n= !next n wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/var.def0000644000175000017500000000035607062411115025064 0ustar georgeskgeorgesk style any 0 type any 0 noshow any 0 formula any 1 series1 any 0 seralt1 any 0 finite1 any 0 finite2 any 0 poly any 1 prime1 any 0 prime2 any 0 div any 1 num_precision any 0 wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/INDEX0000644000175000017500000000146110215111212024371 0ustar georgeskgeorgesktitle=Sigma # Commencez la description par minuscule! description=calcula sumas de series o sumas finitas de varios tipos. author=XIAO Gang address=xiao@unice.fr translator=Antonio Ullán translator_address=aullan@unex.es copyright=© 1998- (GNU GPL) version=1.10 # minimal version of wims server under which the module may run wims_version=1.32 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=tool # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H5 H6 U1 U2 U3 U4 G R # e.g. algebra, analysis, geometry, arithmetic, number, etc. domain=analysis, algebra, arithmetic, number # Anything you like. keywords=series, sum, polynomial, integer, root require=pari,maxima help=nopop wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/msg.phtml0000644000175000017500000000312710170672562025460 0ustar georgeskgeorgesk !set wims_module_log=$error_test: $type, $formula !if realbound isin $error_test

Las sumas finitas o infinitas para valores del índice no enteros, no tiene sentido. Por favor, corrija esos datos. !endif !if nopoly iswordof $error_test

Usted ha pedido calcular la suma sobre las raices de un polinomio $m_P(x). Sin embargo $m_P(x) tal como lo ha introducido no parece un polinomio en x. Por favor, corrija sus datos. !endif !if nocommand iswordof $error_test

Ha pedido calcular sin elegir qué es lo que quiere calcular. Seleccione al menos una de las opciones, antes de hacer click en el botón "Calcular". !endif !if nodivnum iswordof $error_test

Por favor, introduzca el número del que quiere calcular la suma de sus divisores. !endif !if fail iswordof $error_test

El cálculo ha fallado. Las motivos por lo que esto puede haber ocurrido pueden ser de diversa índole: serie divergente, cálculos demasiado complicados, error de escritura, etc.

!if (ser isin $type and $series1=0) or ($type=finite and $finite1=0) Atención. La suma pedida comienza para $m_n=0; asegúrese que $m_f(0) está bien definida. !else Verifique también que $m_f($m_n) está bien definida para todos los valores de $m_n en el rango introducido. !endif

!if $type=series Si la serie es alternada o monótona, intente el correspondiente valor numérico !if $style=expert mode. !else utilizando !href cmd=resume&style=expert el menú experto. !endif Este modo tiene más posibilidades de tener éxito en los cálculos. !endif !endif wims-modules-es-3.64.orig/modules/tool/analysis/sigma.es/help.phtml0000644000175000017500000000715010170672562025622 0ustar georgeskgeorgesk!set ins_align=middle A continuación podemos ver una muestra de ejemplos de uso de la herramienta Sigma.


El primer uso de esta herramienta es el cálculo de la suma de series infinitas. Por ejemplo, para calcular

!instex $$$$ \sum^\infty_{n=0}{1\over n!} = 1+{1\over1!}+{1\over2!}+...$$$$

podemos introducir $m_f($m_n) = 1/n!, a continuación elegir el botón "Series infinitas" comenzando en 0. Finalmente hacer click on "Calcular". El resultado aparecerá en unos momentos, obteniendo e=2.718...

!href cmd=resume&formula=1/n!&type=series&series1=0 Cargar el ejemplo en el menú


En esta página también puede calcularse la suma de algunas series funcionales bien conocidas. Si en el ejemplo anterior, reemplazamos $m_f($m_n) por x^n/n!, el cálculo nos dará efectivamentee

!instex $$$$ \sum^\infty_{n=0}{x^n\over n!} = \exp(x).$$$$

!href cmd=resume&formula=x^n/n!&type=series&series1=0 Cargar el ejemplo en el menú


Es bien conocido que en general, la suma se una serie numérica no puede ser expresada en términos de valores númericos perfectamente determinados. Por tanto, no es sorprendente que los métodos simbólicos fallarán con frecuencia. Para las series monótonas alternadas, hay algunos métodos eficientes bien conocidos. Consideremos las siguientes series que convergen muy lentamente:

!instex $$$$ \sum^\infty_{n=1}{(-1)^n\over \sqrt n}=-0.604898... $$$$

Si elegimos calcular esta suma numéricamente, como una serie alternada (esta elección está en el menú experto), el cálculo efectivo es muy rápido.

!href cmd=resume&formula=(-1)^n/sqrt(n)&type=seralt&series1=1&style=expert Cargar el ejemplo en el menú


Sumas finitas: para calcular

!instex $$$$ \sum^{100}_{n=1}n=5050, $$$$

introducir $m_f($m_n) = n, y elegir calcular como suma finita para $m_n tomando los valores enteros desde 1 hasta 100.

!href cmd=resume&formula=n&type=finite&finite1=1&finite2=100 Cargar el ejemplo en el menú


El cálculo de sumas finitas también puede hacerse simbólicamente. Por ejemplo, para hallar la fórmula

!instex $$$$ \sum^{k}_{n=1}n^2={k(k+1)(2k+1)\over 6}, $$$$

basta con introducir $m_f($m_n) = n^2 y elegir calcular la suma finita desde 1 hasta k.

!href cmd=resume&formula=n^2&type=finite&finite1=1&finite2=k Cargar el ejemplo en el menú


Para calcular las suma de los coeficientes binomiales

!instex $$$$ \sum^{k}_{n=0}{k\choose n}=2^k, $$$$

introducir $m_f($m_n) = binomial(k,n), elegir calcular suma finita desde 0 hasta k.

!href cmd=resume&formula=binomial(k,n)&type=finite&finite1=0&finite2=k Cargar el ejemplo en el menú


Para calcular la suma de los cubos de las raices del polinomio !htmlmath x^3+a*x^2+b*x+1, introducir n^3 como $m_f($m_n) (modo de menú experto), a continuación introducir el polinomio x^3+a*x^2+b*x+1 como $m_P(x) y calcular las suma de las raices.

!href cmd=resume&formula=n^3&type=poly&poly=x^3+a*x^2+b*x+1&style=expert Cargar el ejemplo en el menú


Para contar el número de primos entre 1000 y 10000, solamente hay que introducir 1 como $m_f($m_n) en el menú experto y a continuación calcular la suma para $m_n tomando los números primos desde 1000 a 10000.

!href cmd=resume&formula=1&type=prime&prime1=1000&prime2=10000&style=expert Cargar el ejemplo en el menú wims-modules-es-3.64.orig/modules/tool/stat/0000755000175000017500000000000010771672624021251 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/stat/datastat.es/0000755000175000017500000000000010340567444023457 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/stat/datastat.es/menu.phtml0000644000175000017500000000367710340567444025506 0ustar georgeskgeorgesk!! menu definition file


!set wims_backslash_insmath=yes !readproc data !form reply Usted desea ver !set list_show1=!item 1 to 4 of $list_show !set liste_show1=!item 1 to 4 of $liste_show !set list_show2=!item 5 to 7 of $list_show !set liste_show2=!item 5 to 7 of $liste_show !default show=$list_show

  • !formcheckbox show list $list_show1 prompt $liste_show1
  • !formcheckbox show list inv prompt el (los) cuantil(es) de orden
  • !formcheckbox show list $list_show2 prompt $liste_show2
para una serie estadística :

Usted puede


Esta es una herramienta de uso pedagógico, por tanto el tiempo de ejecución como la cantidad de datos está limitada. wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/var.init0000644000175000017500000000027210340567444025135 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. # content of the file: initialisation of the problem. status=waiting mtype=simple insdraw_size=300,200 wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/var.proc0000644000175000017500000001044710340567444025142 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. # how to detect the need to compute? !if $cmd=reply error= compute=yes pari_precision=20 octave_precision=7 wims_multiexec=pari,octave wims_backslash_insmath=yes ins_align=middle !if $simul=$empty error=!append item bad_data to $error !exit !endif !for i in $simul u=!positionof item $i in $liste v=!item $u of $liste2 w=!item $u of $liste3 parm_liste=!replace internal ; by $\ $ in $(parm_$i) parm_lcnt=!linecnt $parm_liste !for j= 1 to $parm_lcnt parmj=!line $j of $parm_liste parm_cnt= !itemcnt $parmj !if $parm_cnt <>$w error=!append item parm$i to $error !endif !distribute item $parmj into parm1, parm2 !if $parm1=$empty error=!append item bad_data to $error !endif !if $i isitemof binomial, pascal,chi2,student,fisher and $[floor($parm1)]<>$parm1 error=!append item integer$i to $error !endif !if ($i isitemof binomial, pascal and (($parm2>=1) or ($parm2<=0))) or ($i isin geometric and (($parm1>=1) or ($parm1<=0))) error= !append item neg$i to $error !endif !if ($i isitemof poisson,exponentiel,weibull,gamma,beta and $parm1<=0) or ($i isitemof normal,weibull,gamma,beta and $parm2<=0) error=!append item pos$i to $error !endif !next j !if $number=$empty and $simul<>vide error=!append item err_number to $error !endif !next i !if $error<>$empty !exit !endif !if $simul <> vide !if $simul iswordof laplace logistic parm_$i=$empty !read slib/stat/$simul $number !else !read slib/stat/$simul $number,$(parm_$simul) !endif data=$slib_out !endif data1=!sort numeric item $data data=!replace internal , by , $empty in $data1 data_cnt=!itemcnt $data !for i in $show !if $i isin arithmean,variance,range,median !read slib/stat/$i $data ans_$i= !item 1 of $slib_out !endif !if $i=inv quantile1=!values floor(x*$data_cnt) for x in $quantile ans_inv=!item $quantile1 of $data1 !endif !if $i isin histo,repart,quantile data1=!sort numeric item $data z1=!item 1 of $data1 z2=!item -1 of $data1 arr=$[floor(log($z2-$z1)/log(10))] !if $simul iswordof binomial geometric hypergeometric poisson pascal baton=baton xtics=noxtics h=1 listx=!values x*$h for x = $[floor($z1/$h)] to $[ceil($z2/$h)] listx=[$listx] h=$[5*10^($arr-1)] listx2=!values 2*$h*x for x=$[floor($z1/(2*$h))] to $[ceil($z2/(2*$h))+1] !else baton=$empty listx=$empty xtics=noxtics h=$[5*10^($arr-1)] arrz= $[floor(log(abs($z1))/log(10))] listx2=!values x*$h for x=$[floor($z1/$h)] to $[ceil($z2/$h)+1] !endif !if $i=histo !read slib/stat/effectif [$data],[$listx] data_e=$slib_out !read slib/stat/histo $data_e,$xtics,noytics,color blue,$baton dessin= $slib_out !endif !if $i=repart dessin=xrange $[($z1)*(1-sign($z1)*0.01)], $[($z2)*(1+sign($z2)*0.01)]\ yrange -0.5,1.5\ hline 0,0,black\ vline 0,0,black\ dhline 0,1,black\ lines red k1=$[1/$data_cnt] Z=$z1 !for j =1 to $[$data_cnt-1] z=!item $[$j+1] of $data1 k=$[($j+1)/$data_cnt] !if $Z<>$z or $j=$[$data_cnt-1] dessin=!append item $Z,$k1,$z,$k1 to $dessin Z=$z k1=$k !endif !next j !endif !for j in $listx2 dessin=!append line text black,$j,0,small, $j to $dessin !next j ans_$i= $dessin\ parallel 0,-0.05,0,0.05,$h,0,100,blue\ parallel 0,-0.05,0,0.05,-$h,0,100,blue !endif !if $i=quantile dessin=xrange -0.2,1.5\ yrange $[($z1)*(1-sign($z1)*0.3)], $[($z2)*(1+sign($z2)*0.2)]\ hline 0,0,black\ vline 0,0,black\ dvline 1,0,black\ parallel 0,$[-($z2-$z1)/20],0,$[-($z2-$z1)/20],0.2,0,10,black\ text black ,-0.2, $z1*(1+sign($z1)*0.3),small,$z1\ text black, -0.2, $z2,small,$z2\ dhline -0.2, $z2,black\ dhline -0.2, $z1,black\ lines red k1=$[1/$data_cnt] Z=$z1 !for j =1 to $[$data_cnt-1] z=!item $[$j+1] of $data1 k=$[($j+1)/$data_cnt] !if $Z<>$z or $j=$[$data_cnt-1] dessin=!append item $k1,$Z,$k1,$z to $dessin Z=$z k1=$k !endif !next j !for j =0 to 5 j1=$[$j/5] dessin=!append line text black,$j1,0,small, $j1 to $dessin !next j ans_$i= $dessin !endif !next i !endif wims_module_log=$cmd: simul=$simul wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/answer.phtml0000644000175000017500000000245510340567444026032 0ustar georgeskgeorgesk!! Give answers in this file. Para !if $simul <>vide !set a=!positionof item $simul in $liste una muestra de tamaño $number simulando la !set b=!item $a of $liste2 $b !if $simul notwordof logistic laplace de parámetro(s) $(parm_$simul) : !endif !else los datos estadísticos que ha introducido (de tamaño $data_cnt): !endif !set test=0 !for i in $show !set u=!positionof item $i in $list_show !set v =!item $u of $liste_show !if $i iswordof histo repart quantile !if $test=0

!set test=1 !endif !endif !next i !set reponse=$empty !for i in $show !set u=!positionof item $i in $list_show !set v =!item $u of $liste_show !set insdraw_size=300,200 !if $i iswordof histo repart quantile !else !if $i iswordof inv !set quant_cnt=!itemcnt $quantile !for s=1 to $quant_cnt !set tmp=!item $s of $quantile !set tmp2=!item $s of $ans_inv !set reponse=!append item

le \ quantile d'ordre $tmp es igual a \ $tmp2 to $reponse !next s !else !set reponse= !append item

\ $v es \ $(ans_$i) to $reponse !endif !endif !next i

$v
   !insdraw $(ans_$i)   
$reponse wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/about.phtml0000644000175000017500000000020110340567444025630 0ustar georgeskgeorgesk$module_about

Este módulo ha sido realizado con la ayuda de Sophie LEMAIRE. wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/help/0000755000175000017500000000000010340567444024407 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/stat/datastat.es/help/glossary.phtml0000644000175000017500000004130110340567444027317 0ustar georgeskgeorgesk!set wims_backslash_insmath=yes !if $special_parm2 isin binomial,poisson,geometric,hypergeometric,pascal !set gloss_fnctcar=Función generatriz !else !set gloss_fnctcar=Función característica !endif !set gloss_table= !goto $special_parm2 :binomial Sea \(n) un entero positivo y \(p) un número real tal que \(0 \leq p \leq 1). La ley binomial \({\mathcal B}(n,p)) es la ley de probabilidad \(q=(q(0),...,q(n))) sobre \(\{0,...,n\}) definida por
\( q(k)=C_n^kp^k(1-p)^{n-k} )
para \(k) entero verificando \(0\leq k \leq n).

$gloss_table

Esperanza Varianza$gloss_fnctcar
\(np) \(np(1-p))\((1-p+pz)^n)

Los parámetros necesarios son \(n), \(p).

Ejemplo : se dispone de una moneda que al lanzarla, tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de caras que se obtienen cuando se lanza \(n) veces, define una variable aleatoria \(X) cuya ley de probabilidad es binomial \({\mathcal B}(n,p)). !exit :poisson Sea \(\lambda) un número real estrictamente positivo. La ley de Poisson \({\mathcal P}(\lambda)) es la ley de probabilidad \(q=\{q(k), k\in \NN\}) sobre \(\NN) definida por

\(q(k)= e^{-\lambda} \frac{\lambda^k}{k!} ) pour \(k\in \NN).

$gloss_table \(\lambda) \(\lambda)\(\exp(\lambda(z-1)))

El parámetro necesario es \(\special{color=red}\lambda). !exit :geometric Sea \(p) un número real tal que \(0ley geométrica \({\mathcal G_{\NN^*}}(p)) sobre \(\NN^*) está definida por

\( P(X=k)=p(1-p)^{k-1} ) para todo \(k \in \NN^*)

$gloss_table \(\frac{1}{p})\(\frac{1-p}{p^2})\(\frac{pz}{1-(1-p)z})

El parámetro necesario es \(p).

Ejemplo : se dispone de una moneda que al lanzarla, tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de veces que hay que lanzar la moneda para que salga cara define una variable aleatoria \(X) cuya ley de probabilidad sigue una ley geométrica \({\mathcal G}_{\NN^*}(p)).

Si \(X) es una variable aleatoria de ley \({\mathcal G}_{\NN^*}(p)) entonces \(X-1) es una variable aleatoria de ley \({\mathcal G}_{\NN}(p)). !exit :geometric2 Sea \(p) un número real tal que \(0ley geométrica \({\mathcal G}_{\NN}(p)) sobre \(\NN) está definida por

\( P(X=k)=p(1-p)^k ) para todo \(k \in \NN)

Exemple : se dispone de una moneda que, al lanzarla tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de lanzamientos efectuados antes de obtener el primer lanzamiento cuyo resultado es cara define una variable aleatoria \(X) cuya ley es la ley geométrica \({\mathcal G_{\NN}}(p)).

Si \(X) es una variable aleatoria de ley \({\mathcal G_{\NN}}(p)) entonces \(X+1) es una variable aleatoria de ley \({\mathcal G_{\NN^*}}(p)).

$gloss_table \(\frac{1-p}{p}\(\frac{1-p}{p^2})(\frac{p}{1-(1-p)z})

El parámetro necesario es \(p). !exit :hypergeometric Sea \(N), \(K) y \(n) enteros positivos tales que

\(0\leq n\leq N) y \(0\leq K\leq N).
La ley hypergeométrica de parámetros \(N), \(K), \(n) es la ley de probabilidad \(q) sobre \(\{\max(0,n-(N-K)),..., \min(n,K)\}) definido por
\( q(k)=\frac{C_K^kC_{N-K}^{n-k}}{C_N^n} )
para un entero \(k) tal que
\(\max(0,n-(N-K))\leq k\leq \min(n,K)).

$gloss_table \(\frac{nK}{N})\(\frac{N-n}{N-1}\frac{nK}{N}(1-\frac{K}{N}))

Los parámetros necesarios son \(N), \(K),\(n).

Ejemplo : tenemos una población de \(N) individuos, que se puede separar en dos clases, \(K) individuos de tipo 1 y \(N-K) individuos de tipe 2. El número de individuos de tipo 1 obtenido eligiendo al azar un subconjunto de \(n) individuos, define una variable aleatoria \(X) de ley hipergeométrica de parámetros \(N,K,n). !exit :pascal Sea \(r) un entero estrictamente positivo y \(p) un número real tal que \(0\leq p\leq 1). La ley binomial negativa (llamada también ley de Pascal) de parámetros \(r) y \(p) es la ley \(q) sobrte \(\NN) definida por

\(q(k)=C^{r-1}_{r+k-1}p^{r}(1-p)^{k}) para todo entero \(k\geq 0)

Ejemplo : se dispone de una moneda que, al ser lanzada tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de cruces obtenidas antes de obtener en el lanzamiento \(r) cara define una vartiable aleatoria de ley binomial negativa de parámetros \(r) et \(p).

$gloss_table \(r(\frac{1}{p}-1))\(r\frac{1-p}{p^2}) \((\frac{p}{1-(1-p)z})^r)

Los parámetros necesarios son \(r) et \(p). !exit :cauchy Sean \(lambda) y \(s) reales. La ley de Cauchy \(C(\lambda,s)) es la ley continua sobre \(\RR) de densidad :

\(x\mapsto \frac{1}{\pi s}\frac{1}{1+(\frac{x-\lambda}{s})^2} )

Los parámetros necesarios son \(\special{color=red}\lambda), \(s).

Si \(X) es una variable aleatoria de ley de Cauchy \(C(0,1)) entonces \(Y=\lambda+sX) es una variable aleatoria de ley de Cauchy \(C(\lambda,s)).

La mediana de \(Y) es \(\lambda) y \(\lambda\pm s) son el primer y tercer cuartil. La ley de Cauchy no tiene esperanza.

$gloss_table    \(\exp(it\lambda-s|t|)) !exit :normal Sea \(m) y \(\sigma) dos números reales con \(\sigma>0). La ley normal \({\mathcal N}(m,\sigma^2)) es la ley continua sobre \(\RR) con función de densidad :

\(x\mapsto\frac{1}{\sigma\sqrt{2\pi}}\exp(-\frac{(x-m)^2}{2\sigma^2}))

$gloss_table \(\m)\(\sigma^2) \(\exp(imt-\frac{1}{2}\sigma^2t^2))

Los parámetros necesarios son \(m), \(\special{color=red}\sigma).

Si \(X) sigue la ley \({\mathcal N}(0,1)), entonces \(Y=m+\sigma X) sigue la ley \({\mathcal N}(m,\sigma^2)). !exit :lognormal Sean \(m) y \(s) reales con \(s>0). La ley log-normal \({\mathcal LN}(m,s)) es la ley de la variable \(exp(X)) donde \(X) es una variable aleatoria de ley \({\mathcal N}(m,s^2)). Su densidad es

\( x \mapsto \frac{1}{sx\sqrt{2\pi}}exp(-\frac{(\log(x)-m)^2}{2s^2})1_{x>0})

$gloss_table \(\exp(m+\frac{s^2}{2}))\((\exp(s^2)-1)\exp(2m+s^2))

Los parámetros necesarios son \(m), \(\special{color=red}s). !exit :exponential Sea \(a ) un real >0. La ley exponencial \({\mathcal E}(a)) es la ley continua sobre \(\RR_+) de densidad

\(x\mapsto ae^{-ax}1_{x>0} )

$gloss_table \(\frac{1}{a})\(\frac{1}{a^2})\(\frac{1}{1-i\frac{t}{a}})

El parámetro necesario es \(a). !exit :chi2 Sea \(n) un entero estrictamente positivo. La ley de chi cuadrado de \(n) grados de libertad, denotada por \(\chi^2(n)), es la ley de la suma de los cuadrados de \(n) variables normales centradas y reducidas independientes. Es una ley continua sobre \(\RR_+) de densidad

\( {\Huge x \mapsto \frac{x^{\frac{n}{2}-1}e^{-\frac{x}{2}}}{2^{\frac{n}{2}}\Gamma(\frac{n}{2})}1_{x>0 }})

$gloss_table \(n)\(2n)\((1-2it)^(-n/2))

El parámetro necesario es \(n) . !exit :gamma Dados los números reales \(a >0) y \(b>0), la ley Gamma \(Gamma(a,b)) es la ley continua sobre \(\RR_+) que tiene como dunción de densidad

\(x\mapsto\frac{b^ae^{-bx}x^{a-1}}{\Gamma(a) }1_{x>0})

$gloss_table \(\frac{a}{b})\(\frac{a}{b^2})\((1-\frac{it}{b})^{-a})

Si \(a) es un entero strictamente positivo, la ley \(Gamma(a,b)) es la ley de la suma de \(a) variables aleatoria independientes de ley exponencial de parámetro \(b).

Los parámetros necesarios son \(a), \(b). !exit :weibull Sean \(a) y \(lambda) reales estrictamente positivos. La ley de Weibull \({\mathcal W}(a,\lambda)) es la ley de la variable aleatoria \(X^a) cuando \(X) sigue la ley exponencial de parámetro \(\lambda). Es la ley continua sobre \(\RR_+) que tiene por función de densidad

\(x\mapsto a\lambda x^{a-1} e^{-\lambda x^a} 1_{x>0})

$gloss_table \(\lambda^{-\frac{1}{a}}\Gamma(\frac{1}{a}+1))\(\lambda^{-\frac{2}{a}}\left ( \Gamma(\frac{2}{a}+1)-\Gamma(\frac{1}{a}+1)^2\right ))

Los parámetros necesarios son \(a), \(\special{color=red} \lambda). !exit :student Sea \(n) un entero estrictamente positivo. La ley de Student \({\mathcal T }(n)) de \(n) grados de libertad es la ley de la variable aleatoria \(\frac{X}{\sqrt{Y/n}}) lorsque \(X) es una variable aleatoria de ley normal \(\mathcal{N}(0,1)) et \(Y) es una variable aleatoria independiente de \(X) de ley chi-cuadrado \(\chi^{2}(n)). Es la ley continua sobre \(\RR) que tiene como función de densidad

\(x\mapsto\frac{\Gamma(\frac{n+1}{2})}{\sqrt{n\pi}\Gamma(\frac{n}{2})}(1+\frac{x^2}{n})^{-\frac{n+1}{2}})

$gloss_table 0 si \(n>1) \(\frac{n}{n-2}) si \(n>2)

El parámetro necesario es \(n) . !exit :beta Soient \(a) et \(b) deux réels strictement positifs. La loi Beta \({\mathcal B}(a,b)) est la loi continue sur \(\rbrack 0, 1\lbrack) dont la densité est

\(x\mapsto\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)} x^{a-1} (1-x)^{b-1} 1_{\rbrack 0, 1\lbrack}(x))

$gloss_table \(\frac{a}{a+b})\(\frac{ab}{(a+b)^2(a+b+1)})

Les paramètres demandés sont \(a), \(\b). !exit :fisher Soient \(n) et \(m) deux entiers strictement positifs. La loi Fisher \({\mathcal F}(n,m)) est la loi de la variable aléatoire \(\frac{mX}{nY}) lorsque \(X) est une variable aléatoire de loi \(\chi^{2}(n)) et \(Y) est une variable aléatoire indépendante de \(X) de loi \(\chi^{2}(m)). C'est la loi continue sur \(\RR_{+}^{*}) qui a comme densité

\(x\mapsto n^{\frac{n}{2}}m^{\frac{m}{2}}\frac{\Gamma(\frac{n+m}{2})}{\Gamma(\frac{n}{2})\Gamma(\frac{m}{2})} x^{-1+\frac{n}{2}} (m+nx)^{-\frac{n+m}{2}}1_{x>0})

$gloss_table \(\frac{m}{m-2}) si \(m>2)\(\frac{2m^2}{n}\frac{n+m-2}{(m-2)^2(m-4)}) si \(m>4)

Les paramètres demandés sont \(n), \(m). !exit :laplace La loi de Laplace est une loi continue sur \(\RR) dont la densité est :

\(x\mapsto \frac{1}{2}\exp(-|x|))

$gloss_table 02\(\frac{1}{1+t^2}) !exit :logistic La loi logistique est la loi de la variable \(\ln(\exp(Y)-1)) lorsque \(Y) est une variable aléatoire de loi exponentielle de paramètre 1. C'est une loi continue sur \(\RR) qui a pour densité :

\(x\mapsto \exp(-x)(1+\exp(-x))^{-2}=\frac{1}{1+\exp(-x)}(1-\frac{1}{1+\exp(-x)}))

$gloss_table 0\(\frac{\pi^2}{3}) !exit :pdf

  • Pour une loi de probabilité \(q) sur les entiers, la densité en l'entier \(k) est par définition \(q(k)).
  • Pour une loi continue \(\mu) sur \(\RR), une fonction \(f) définie sur \(\RR) à valeurs positives ou nulles est une densité pour \(mu) si pour tout réel \(t),
    \(\mu(\rbrack-\infty,t\rbrack)=\int_{-\infty}^t f(u)du).
    (\(\mu(\rbrack-\infty,t\lbrack)) est aussi la probabilité de l'événement \(\{X\leq t\}).)
!exit :cdf La fonction de répartition d'une loi \(\mu) sur \(\RR) est la fonction définie sur \(\RR) par :
\(t\mapsto\mu(\rbrack -\infty,t \rbrack))

Si \(X) est une variable aléatoire réelle, la fonction de répartition de \(X) en \(t) est la probabilité de l'événement \(\{X\leq t\}). !goto exemple !exit :inv

Soient \(q ) un réel tel que \(0quantile d'ordre \(q) est n'importe quel réel \(t) vérifiant

\(\mu(\rbrack -\infty,t \lbrack)\leq q \leq \mu(\rbrack -\infty,t \rbrack)).
Cet outil calcule le plus petit quantile d'ordre \(q) de la loi \(\mu), c'est-à-dire le plus petit réel \(t) vérifiant \(F(t) \geq q).

Si \(X) est une variable aléatoire réelle, c'est aussi le plus petit réel \(t) tel que la probabilité de l'événement \(\{X\leq t\}) soit supérieure ou égale à \(q).

!goto exemple !exit :exemple !set aa=2 !set f= $aa*exp(-t^($aa))*t^($aa-1) !set maxf=$$[(($aa-1)/$aa)^(1/$aa)] !set cc=!mathsubst t= $maxf in $f !set g=1-exp(-t^($aa)) !set insdraw_size=200,200 !set t=!random $[$maxf*0.8],$[$maxf*1.2] !set u=!mathsubst t=$[$t/2] in $f !set u1=!mathsubst t=$[$t] in $g
!insdraw xrange -0.1, 3*$maxf\ yrange -0.1,$cc*1.1\ hline 0,0,black\ vline 0,0,black\ text black, $t,0,medium,t\ trange 0,5\ plot blue,t,$f\ vline $t,0,black\ fill $[$t/2], $[$u/2], grey !insdraw xrange -0.1, 3*$maxf\ yrange -0.1,$cc*1.1\ hline 0,0,black\ vline 0,0,black\ text black, $t,0,medium,t\ disk $t,$u1,5,blue\ dhline 0,$u1,blue\ text black,0,$u1,medium,q\ trange 0,5\ plot green,t,$g\ vline $t,0,black
On a tracé à gauche le graphe de la fonction de densité d'une loi de probabilité continue sur \(\RR) et à droite le graphe de la fonction de répartition. !if $special_parm2=cdf La valeur de la fonction de répartition de \(X) en \(t) est égale à l'aire de la surface en gris.
!exit !endif !if $special_parm2=inv L'outil calcule le plus petit réel \(t) tel que l'aire de la surface en gris soit supérieure ou égale à \(q). !set parm1=20 !set parm2=0.4 !set hist=!values binomial($parm1,x)\ *$parm2^x*(1-$parm2)^($parm1-x) for x =0 to $parm1 !set insdraw_size=200,200 !set q=!random 0.2,0.5 !set dessin1=xrange -0.2, $parm1+1\ yrange -0.3,1.5\ hline 0,0,black\ vline 0,0,black\ dhline 0,1,black !set dessin2=$dessin1 !set dessin1=$dessin1\ lines blue !set dessin2=$dessin2\ dhline 0,$q,\ dhline 0,$q,\ lines green !set h=!randint 5,8 !set z1=0 !set z2=0 !for j =0 to $[$parm1-1] !set z=!item $[$j+1] of $hist !set dessin1=!append item $j,$z2,$j,$z to $dessin1 !set z2=$z !set z=$[$z+$z1] !set dessin2=!append item $j,$z1,$j,$z to $dessin2 !set z1=$z !if $j=$h !set h0=$z1 !endif !next j !for j =0 to $[$parm1/2] !set j1=$[2*$j] !set dessin1=!append line text black,$j1,0,small, $j1 to $dessin1 !set dessin2=!append line text black,$j1,0,small, $j1 to $dessin2 !next j !set dessin2=$dessin2\ dhline red, 0,$h0\ line $h, $h0,$[$h+1],$h0, red\ dhline $h, $h0, red\ dvline $h,0,red\ dvline $h+1,0,red\ linewidth 2\ line $h, 0,$[$h+1],0, red\ text red,0,$h0,medium, q\ $slib_out !insdraw $dessin1 !insdraw $dessin2 Dans le cas d'une loi discrète, l'ensemble des quantiles d'ordre \(q) peut être un intervalle. Le quantile d'ordre $h0$ calculé par l'outil est $h. !exit !endif wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/main.phtml0000644000175000017500000000124010340567444025446 0ustar georgeskgeorgesk!header !! Contenu du module par ici. Ce qui suit est un modele d'organisation de ce !! fichier. !if $compute=yes !if $error!=$empty !read msg.phtml !read menu.phtml !goto end !else !form resume !read answer.phtml

!if $simul<>vide !href cmd=reply Procesar otra muestra con los mismos parámetros de simulación. Usted puede ver los datos que han sido tratados pulsando el botón Regresar. !else Puede volver a los datos tratados regresando al menú. !endif

!endif !else !! put some explanations here. !read menu.phtml !endif compute=yes? :end !tail wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/var.def0000644000175000017500000000254410340567444024734 0ustar georgeskgeorgesk # Variable declaration file. # # Only those variables with possible user inputs or requiring inter-request # savings need to be declared in this file. # #Each non-comment line defines a variable. Format of the line: # #name allow # #name: name of the variable #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. # # #name allow status deny show any data any parm any coeff any simul any coeff any number any quantile any mtype any liste_show any list_show any ans_arithmean reply ans_variance reply ans_median reply ans_range reply ans_histo reply ans_repart reply ans_quantile reply ans_inv reply law any cnt_data any liste any liste2 any liste3 any tableau reply parm_binomial reply parm_cauchy reply parm_normal reply parm_poisson reply parm_geometric reply parm_hypergeometric reply parm_exponential reply parm_lognormal reply parm_chi2 reply parm_gamma reply parm_weibull reply parm_student reply parm_beta reply parm_fisher reply parm_pascal reply parm_logistic reply parm_laplace reply size_binomial reply size_cauchy reply size_normal reply size_poisson reply size_geometric reply size_hypergeometric reply size_exponential reply size_lognormal reply size_chi2 reply size_gamma reply size_weibull reply size_student reply size_beta reply parm_fisher reply parm_pascal reply parm_logistic reply parm_laplace reply wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/data0000644000175000017500000000160210340567444024312 0ustar georgeskgeorgesk!set liste=binomial,poisson,geometric,hypergeometric,pascal,\ normal,exponential,lognormal,cauchy,weibull,\ gamma,chi2,student,fisher,beta,\ laplace,logistic !set liste2=ley binomial,ley de Poisson,ley geométrica,loi hypergeométrica,ley binomial negativa,\ ley normal,ley exponencial,ley log-normal,ley de Cauchy, ley de Weibull,\ ley Gamma,ley \(\chi^2),ley de Student,ley de Fisher,ley Beta,\ ley de Laplace, ley logística !set liste3= 2,1,1,3,2,\ 2,1,2,2,2,\ 2,1,1,2,2,\ 0,0 !set list_type=pdf, cdf,inv !set liste_type=la función de densidad de probabilidad, la fonction de répartition, les quantiles !set type_cnt=!itemcnt $list_type !set cnt=!itemcnt $liste !set list_show=arithmean,variance,range,median, histo,repart,quantile, !set liste_show=la media,la varianza, el rango, la mediana,\ el histograma,la función de distribución, la función cuantil !set cnt_show=!itemcnt $list_show wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/filedesc0000644000175000017500000000113210340567444025155 0ustar georgeskgeorgeskabout_phtml=Fichier apropos. Vous pouvez le laisser tel quel. help_phtml=Aides aux utilisateurs. main_phtml=Fichier principal d'organisation de sortie. present_phtml=Présentation du problème. answer_phtml=Présentation du résultat de calcul. menu_phtml=Menu et formulaire pour la saisie des données à calculer. intro_phtml=Introduction et configuration de l'outil. msg_phtml=Messages d'erreur. var_proc=Traitement de variables général (calcul des données). var_init=Initialisation de variables. var_def=Déclarations de variables d'utilisateurs. filedesc=Explication de chaque fichier dans le module. wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/COPYING0000644000175000017500000004307710340567444024525 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/INDEX0000644000175000017500000000112310340567444024246 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 2.50. # Do not edit by hand. title=Datos estadísticos y simulación description=herramienta para el estudio de datos estadísticos y simulación language=es category=tool domain=analysis,statistics level=H6,U1,U2,U3 keywords=statistics, data,histogram,repartition,histogramme,simulation,quantile require=octave,pari scoring=no copyright=© 2004 (GNU GPL) author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr translator=Antonio Ullán translator_address=aullan@unex.es version=1.00 wims_version=3.34 help=popup vardef= wims-modules-es-3.64.orig/modules/tool/stat/datastat.es/msg.phtml0000644000175000017500000000227010340567444025314 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if bad_data isin $error No es posible evaluar los valores que ha introducido o no ha cumplimentado ciertos campos. !endif !if err_number isin $error Introduzca el tamaño de la muestra. !endif !for i in $simul !set u=!positionof item $i in $liste !set v=!item $u of $liste2 !set w=!item $u of $liste3 !if parm$i isin $error Usted no ha introducido el número correcto de parámetros para $v : ésta depende de $w parámetros. Lea la ayuda correspondiente.

!endif !if integer$i isin $error !if $i isitemof binomial, pascal El primer parámetro !else El parámetro !endif pour la $v doit être un entier.

!endif !if neg$i isin $error El !if $i isitemof binomial,pascal segundo !endif parámetro para $v debe estar comprendido entre 0 y 1.

!endif !if pos$i isin $error !if $i isitemof gamma,weibull,beta Los dos parámetros !else El !if $i isin normal segundo !endif parámetro !endif para $v !if $i isin gamma,weibull,beta deben ser estrictamente positivos. !else debe ser estrictamente positivos. !endif

!endif !endif !next i wims-modules-es-3.64.orig/modules/tool/stat/table.es/0000755000175000017500000000000010340567427022742 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/stat/table.es/menu.phtml0000644000175000017500000000330210340567427024752 0ustar georgeskgeorgesk!! menu definition file !set wims_backslash_insmath=yes


!readproc data !form reply Usted desea calcular

    !for i =1 to $type_cnt
  • !set p=!item $i of $list_type !set q=!item $i of $liste_type !formradio type list $p prompt $q    !href cmd=help&special_parm=glossary&special_parm2=$p Ayuda
  • !next i
para los valores siguientes

o ver

  • !formradio type list histo prompt el diseño de !item 1 of $liste_type
para las leyes siguientes

[marcar las leyes correspondientes e introducir sus parámetros separados por comas ; si usted desea un resultado para una ley con varias elecciones de parámetros, separe las diferentes elecciones de parámetros separadas por punto y coma. Por ejemplo, para la ley normal: 0,1;1,3 dará los resultados para \({\mathcal N}(0,1)) y \({\mathcal N}(1,3))]. !set test=0 !for i =1 to $cnt !set h= !item $i of $liste !set g=!item $i of $liste2 !set u=!item $i of $liste3 !if $u >1 !set u=de parámetros !endif !if $u =1 !set u=de parámetro !endif !if $u=0 !set u=$empty !endif !if $test=0 !endif !endif !set test=$[1-$test] !next i
!formcheckbox law list $h prompt $g $u !if $u<>$empty !endif     !href cmd=help&special_parm=glossary&special_parm2=$h Ayuda !if $test=1


Esta es una herramienta de uso pedagógico, por tanto el tiempo de ejecución como la cantidad de datos está limitada. wims-modules-es-3.64.orig/modules/tool/stat/table.es/var.init0000644000175000017500000000057510340567426024425 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. # content of the file: initialisation of the problem. !distribute items red, green,blue, magenta,brown,cyan,orange,yellow,purple, navy,grey, into couleur1,couleur2,couleur3,couleur4,couleur5,couleur6,couleur7,couleur8,couleur9,couleur10,couleur11,couleur12 wims_backslash_insmath=yes status=waiting wims-modules-es-3.64.orig/modules/tool/stat/table.es/var.proc0000644000175000017500000001026410340567427024422 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. # how to detect the need to compute? !if $cmd=reply error= compute=yes pari_precision=8 octave_precision=7 wims_multiexec=pari,octave wims_backslash_insmath=yes ins_align=middle !distribute item antiquewhite, navajowhite into color0, color1 data=!declosing $data data=!replace internal ; by , in $data data=!lines2items $data !if $data=$empty and $type iswordof pdf cdf inv error=!append item bad_data to $error !endif !if $type=$empty error=!append item error_qu to $error !endif !if $law=$empty error= !append item error_click to $error !endif tableau=$empty cnt_data= !itemcnt $data datasort=!sort item $data datamin=!item 1 of $datasort datamax=!item -1 of $datasort !if inv iswordof $type and ($datamin<0 or $datamax >1) error=!append item range_inv to $error !endif !for i in $law u=!positionof item $i in $liste v=!item $u of $liste2 w=!item $u of $liste3 parm_liste=!replace internal ; by $\ $ in $(parm_$i) parm_lcnt=!linecnt $parm_liste !for j= 1 to $parm_lcnt parmj=!line $j of $parm_liste parm_cnt= !itemcnt $parmj !if $parm_cnt <>$w error=!append item parm$i to $error !endif !distribute item $parmj into parm1, parm2 !if $parm1=$empty error=!append item bad_data to $error !endif !if $i isitemof binomial,pascal, chi2,student,fisher and $[floor($parm1)]<>$parm1 error=!append item integer$i to $error !endif !if ($i isitemof binomial,pascal and (($parm2>=1) or ($parm2<=0))) or ($i isin geometric and (($parm1>=1) or ($parm1<=0))) error= !append item neg$i to $error !endif !if ($i isitemof poisson,exponentiel,weibull,gamma,beta and $parm1<=0) or ($i isitemof normal,weibull,gamma,beta and $parm2<=0) error=!append item pos$i to $error !endif !next j !next i !if $error<>$empty !exit !endif data=[$data] t=1 !for i in $law !if $i iswordof laplace logistic parm_$i=$empty !endif u=!positionof item $i in $liste v=!item $u of $liste2 w=!item $u of $liste3 loi=$i$type parm_liste=!replace internal ; by $\ $ in $(parm_$i) parm_lcnt=!linecnt $parm_liste !if laplace isin $law or logistic isin $law parm_lcnt=1 !endif !if $type=histo !set rangex= !set range_y= !for j= 1 to $parm_lcnt !set parmj=!line $j of $parm_liste !distribute item $parmj into parm1,parm2,parm3 !set couleur=$(couleur$j) !read histoloi !set histogram1= !line 3 to -1 of $(hist_$i) !if $j=1 !set histogram=$histogram1 !else !set histogram=$histogram\ $histogram1 !endif !set taillex= !line 1 of $(hist_$i) !set taillex=!replace internal xrange by $empty in $taillex !set rangex= !sort numeric item $taillex, $rangex !set rangex= !item 1,-1 of $rangex !set tailley= !line 2 of $(hist_$i) !set tailley=!replace internal yrange by $empty in $tailley !set range_y= !sort numeric item $tailley, $range_y !set range_y= !item 1,-1 of $range_y !next j !set hist_$i=xrange $rangex\ yrange $range_y\ $histogram !if $i isitemof binomial,geometric, poisson, hypergeometric,pascal !distribute item $rangex into ech1,ech2 taille=$[10^(round(log($ech2-$ech1)/log(10))-1)] hist_$i=$(hist_$i)\ parallel 0,-0.01, 0, 0.01,$taille,0,100,blue\ text black, $ech2,0,medium, $ech2\ text black, 0,0,medium , 0\ text black, $taille,0,medium, $taille\ text black, 0,0,medium , 0\ $i !endif !else !for j= 1 to $parm_lcnt parmj=!line $j of $parm_liste ans=$empty !read slib/stat/$loi $data, $parmj ans= $slib_out tableau2= !makelist x for x in $ans tableau2=!items2words $tableau2 tableau=$tableau\ $v$parmj$tableau2 !next j t=$[1-$t] !endif !next i data=!declosing $data tableau1= !makelist x for x in $data tableau1=!items2words $tableau1 tableau=\ $tableau1 \ $tableau\
LeyParámetro
wims_module_log=$cmd: law $law, type $type wims-modules-es-3.64.orig/modules/tool/stat/table.es/answer.phtml0000644000175000017500000000206310340567427025310 0ustar georgeskgeorgesk!! Give answers in this file. !if $type=histo

!item 1 of $liste_type

!for i in $law !set u=!positionof item $i in $liste !set v=!item $u of $liste2 !set w=!item $u of $liste3 !if $w >1 !set w_parm=de parámetros !endif !if $w =1 !set w_parm=de parámetro !endif !if $w=0 !set w_parm=$empty !endif !set parm_liste=!replace internal ; by $\ $ in $(parm_$i) !set parm_lcnt=!linecnt $parm_liste !if laplace isin $law or logistic isin $law !set parm_lcnt=1 !endif
$v $w_parm !for j=1 to $parm_lcnt !set parmj=!line $j of $parm_liste $parmj !next j
!set insdraw_size=$(size_$i),200 !insdraw $(hist_$i)
!next i $dessin_hist !else Usted ha solicitado !if $type=cdf los valores siguientes de !item 2 of $liste_type !endif !if $type=pdf los valores siguientes de !item 1 of $liste_type !endif !if $type=inv !item 3 of $liste_type !endif

$tableau !endif wims-modules-es-3.64.orig/modules/tool/stat/table.es/about.phtml0000644000175000017500000000017410340567427025124 0ustar georgeskgeorgesk$module_about

Este módulo se realizado con la ayuda de Sophie LEMAIRE. wims-modules-es-3.64.orig/modules/tool/stat/table.es/help/0000755000175000017500000000000010340567426023671 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/tool/stat/table.es/help/glossary.phtml0000644000175000017500000004130110340567426026601 0ustar georgeskgeorgesk!set wims_backslash_insmath=yes !if $special_parm2 isin binomial,poisson,geometric,hypergeometric,pascal !set gloss_fnctcar=Función generatriz !else !set gloss_fnctcar=Función característica !endif !set gloss_table= !goto $special_parm2 :binomial Sea \(n) un entero positivo y \(p) un número real tal que \(0 \leq p \leq 1). La ley binomial \({\mathcal B}(n,p)) es la ley de probabilidad \(q=(q(0),...,q(n))) sobre \(\{0,...,n\}) definida por
\( q(k)=C_n^kp^k(1-p)^{n-k} )
para \(k) entero verificando \(0\leq k \leq n).

$gloss_table

Esperanza Varianza$gloss_fnctcar
\(np) \(np(1-p))\((1-p+pz)^n)

Los parámetros necesarios son \(n), \(p).

Ejemplo : se dispone de una moneda que al lanzarla, tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de caras que se obtienen cuando se lanza \(n) veces, define una variable aleatoria \(X) cuya ley de probabilidad es binomial \({\mathcal B}(n,p)). !exit :poisson Sea \(\lambda) un número real estrictamente positivo. La ley de Poisson \({\mathcal P}(\lambda)) es la ley de probabilidad \(q=\{q(k), k\in \NN\}) sobre \(\NN) definida por

\(q(k)= e^{-\lambda} \frac{\lambda^k}{k!} ) pour \(k\in \NN).

$gloss_table \(\lambda) \(\lambda)\(\exp(\lambda(z-1)))

El parámetro necesario es \(\special{color=red}\lambda). !exit :geometric Sea \(p) un número real tal que \(0ley geométrica \({\mathcal G_{\NN^*}}(p)) sobre \(\NN^*) está definida por

\( P(X=k)=p(1-p)^{k-1} ) para todo \(k \in \NN^*)

$gloss_table \(\frac{1}{p})\(\frac{1-p}{p^2})\(\frac{pz}{1-(1-p)z})

El parámetro necesario es \(p).

Ejemplo : se dispone de una moneda que al lanzarla, tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de veces que hay que lanzar la moneda para que salga cara define una variable aleatoria \(X) cuya ley de probabilidad sigue una ley geométrica \({\mathcal G}_{\NN^*}(p)).

Si \(X) es una variable aleatoria de ley \({\mathcal G}_{\NN^*}(p)) entonces \(X-1) es una variable aleatoria de ley \({\mathcal G}_{\NN}(p)). !exit :geometric2 Sea \(p) un número real tal que \(0ley geométrica \({\mathcal G}_{\NN}(p)) sobre \(\NN) está definida por

\( P(X=k)=p(1-p)^k ) para todo \(k \in \NN)

Exemple : se dispone de una moneda que, al lanzarla tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de lanzamientos efectuados antes de obtener el primer lanzamiento cuyo resultado es cara define una variable aleatoria \(X) cuya ley es la ley geométrica \({\mathcal G_{\NN}}(p)).

Si \(X) es una variable aleatoria de ley \({\mathcal G_{\NN}}(p)) entonces \(X+1) es una variable aleatoria de ley \({\mathcal G_{\NN^*}}(p)).

$gloss_table \(\frac{1-p}{p}\(\frac{1-p}{p^2})(\frac{p}{1-(1-p)z})

El parámetro necesario es \(p). !exit :hypergeometric Sea \(N), \(K) y \(n) enteros positivos tales que

\(0\leq n\leq N) y \(0\leq K\leq N).
La ley hypergeométrica de parámetros \(N), \(K), \(n) es la ley de probabilidad \(q) sobre \(\{\max(0,n-(N-K)),..., \min(n,K)\}) definido por
\( q(k)=\frac{C_K^kC_{N-K}^{n-k}}{C_N^n} )
para un entero \(k) tal que
\(\max(0,n-(N-K))\leq k\leq \min(n,K)).

$gloss_table \(\frac{nK}{N})\(\frac{N-n}{N-1}\frac{nK}{N}(1-\frac{K}{N}))

Los parámetros necesarios son \(N), \(K),\(n).

Ejemplo : tenemos una población de \(N) individuos, que se puede separar en dos clases, \(K) individuos de tipo 1 y \(N-K) individuos de tipe 2. El número de individuos de tipo 1 obtenido eligiendo al azar un subconjunto de \(n) individuos, define una variable aleatoria \(X) de ley hipergeométrica de parámetros \(N,K,n). !exit :pascal Sea \(r) un entero estrictamente positivo y \(p) un número real tal que \(0\leq p\leq 1). La ley binomial negativa (llamada también ley de Pascal) de parámetros \(r) y \(p) es la ley \(q) sobrte \(\NN) definida por

\(q(k)=C^{r-1}_{r+k-1}p^{r}(1-p)^{k}) para todo entero \(k\geq 0)

Ejemplo : se dispone de una moneda que, al ser lanzada tiene una probabilidad \(p) de salir cara y \(1-p) de salir cruz. El número de cruces obtenidas antes de obtener en el lanzamiento \(r) cara define una vartiable aleatoria de ley binomial negativa de parámetros \(r) et \(p).

$gloss_table \(r(\frac{1}{p}-1))\(r\frac{1-p}{p^2}) \((\frac{p}{1-(1-p)z})^r)

Los parámetros necesarios son \(r) et \(p). !exit :cauchy Sean \(lambda) y \(s) reales. La ley de Cauchy \(C(\lambda,s)) es la ley continua sobre \(\RR) de densidad :

\(x\mapsto \frac{1}{\pi s}\frac{1}{1+(\frac{x-\lambda}{s})^2} )

Los parámetros necesarios son \(\special{color=red}\lambda), \(s).

Si \(X) es una variable aleatoria de ley de Cauchy \(C(0,1)) entonces \(Y=\lambda+sX) es una variable aleatoria de ley de Cauchy \(C(\lambda,s)).

La mediana de \(Y) es \(\lambda) y \(\lambda\pm s) son el primer y tercer cuartil. La ley de Cauchy no tiene esperanza.

$gloss_table    \(\exp(it\lambda-s|t|)) !exit :normal Sea \(m) y \(\sigma) dos números reales con \(\sigma>0). La ley normal \({\mathcal N}(m,\sigma^2)) es la ley continua sobre \(\RR) con función de densidad :

\(x\mapsto\frac{1}{\sigma\sqrt{2\pi}}\exp(-\frac{(x-m)^2}{2\sigma^2}))

$gloss_table \(\m)\(\sigma^2) \(\exp(imt-\frac{1}{2}\sigma^2t^2))

Los parámetros necesarios son \(m), \(\special{color=red}\sigma).

Si \(X) sigue la ley \({\mathcal N}(0,1)), entonces \(Y=m+\sigma X) sigue la ley \({\mathcal N}(m,\sigma^2)). !exit :lognormal Sean \(m) y \(s) reales con \(s>0). La ley log-normal \({\mathcal LN}(m,s)) es la ley de la variable \(exp(X)) donde \(X) es una variable aleatoria de ley \({\mathcal N}(m,s^2)). Su densidad es

\( x \mapsto \frac{1}{sx\sqrt{2\pi}}exp(-\frac{(\log(x)-m)^2}{2s^2})1_{x>0})

$gloss_table \(\exp(m+\frac{s^2}{2}))\((\exp(s^2)-1)\exp(2m+s^2))

Los parámetros necesarios son \(m), \(\special{color=red}s). !exit :exponential Sea \(a ) un real >0. La ley exponencial \({\mathcal E}(a)) es la ley continua sobre \(\RR_+) de densidad

\(x\mapsto ae^{-ax}1_{x>0} )

$gloss_table \(\frac{1}{a})\(\frac{1}{a^2})\(\frac{1}{1-i\frac{t}{a}})

El parámetro necesario es \(a). !exit :chi2 Sea \(n) un entero estrictamente positivo. La ley de chi cuadrado de \(n) grados de libertad, denotada por \(\chi^2(n)), es la ley de la suma de los cuadrados de \(n) variables normales centradas y reducidas independientes. Es una ley continua sobre \(\RR_+) de densidad

\( {\Huge x \mapsto \frac{x^{\frac{n}{2}-1}e^{-\frac{x}{2}}}{2^{\frac{n}{2}}\Gamma(\frac{n}{2})}1_{x>0 }})

$gloss_table \(n)\(2n)\((1-2it)^(-n/2))

El parámetro necesario es \(n) . !exit :gamma Dados los números reales \(a >0) y \(b>0), la ley Gamma \(Gamma(a,b)) es la ley continua sobre \(\RR_+) que tiene como dunción de densidad

\(x\mapsto\frac{b^ae^{-bx}x^{a-1}}{\Gamma(a) }1_{x>0})

$gloss_table \(\frac{a}{b})\(\frac{a}{b^2})\((1-\frac{it}{b})^{-a})

Si \(a) es un entero strictamente positivo, la ley \(Gamma(a,b)) es la ley de la suma de \(a) variables aleatoria independientes de ley exponencial de parámetro \(b).

Los parámetros necesarios son \(a), \(b). !exit :weibull Sean \(a) y \(lambda) reales estrictamente positivos. La ley de Weibull \({\mathcal W}(a,\lambda)) es la ley de la variable aleatoria \(X^a) cuando \(X) sigue la ley exponencial de parámetro \(\lambda). Es la ley continua sobre \(\RR_+) que tiene por función de densidad

\(x\mapsto a\lambda x^{a-1} e^{-\lambda x^a} 1_{x>0})

$gloss_table \(\lambda^{-\frac{1}{a}}\Gamma(\frac{1}{a}+1))\(\lambda^{-\frac{2}{a}}\left ( \Gamma(\frac{2}{a}+1)-\Gamma(\frac{1}{a}+1)^2\right ))

Los parámetros necesarios son \(a), \(\special{color=red} \lambda). !exit :student Sea \(n) un entero estrictamente positivo. La ley de Student \({\mathcal T }(n)) de \(n) grados de libertad es la ley de la variable aleatoria \(\frac{X}{\sqrt{Y/n}}) lorsque \(X) es una variable aleatoria de ley normal \(\mathcal{N}(0,1)) et \(Y) es una variable aleatoria independiente de \(X) de ley chi-cuadrado \(\chi^{2}(n)). Es la ley continua sobre \(\RR) que tiene como función de densidad

\(x\mapsto\frac{\Gamma(\frac{n+1}{2})}{\sqrt{n\pi}\Gamma(\frac{n}{2})}(1+\frac{x^2}{n})^{-\frac{n+1}{2}})

$gloss_table 0 si \(n>1) \(\frac{n}{n-2}) si \(n>2)

El parámetro necesario es \(n) . !exit :beta Soient \(a) et \(b) deux réels strictement positifs. La loi Beta \({\mathcal B}(a,b)) est la loi continue sur \(\rbrack 0, 1\lbrack) dont la densité est

\(x\mapsto\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)} x^{a-1} (1-x)^{b-1} 1_{\rbrack 0, 1\lbrack}(x))

$gloss_table \(\frac{a}{a+b})\(\frac{ab}{(a+b)^2(a+b+1)})

Les paramètres demandés sont \(a), \(\b). !exit :fisher Soient \(n) et \(m) deux entiers strictement positifs. La loi Fisher \({\mathcal F}(n,m)) est la loi de la variable aléatoire \(\frac{mX}{nY}) lorsque \(X) est une variable aléatoire de loi \(\chi^{2}(n)) et \(Y) est une variable aléatoire indépendante de \(X) de loi \(\chi^{2}(m)). C'est la loi continue sur \(\RR_{+}^{*}) qui a comme densité

\(x\mapsto n^{\frac{n}{2}}m^{\frac{m}{2}}\frac{\Gamma(\frac{n+m}{2})}{\Gamma(\frac{n}{2})\Gamma(\frac{m}{2})} x^{-1+\frac{n}{2}} (m+nx)^{-\frac{n+m}{2}}1_{x>0})

$gloss_table \(\frac{m}{m-2}) si \(m>2)\(\frac{2m^2}{n}\frac{n+m-2}{(m-2)^2(m-4)}) si \(m>4)

Les paramètres demandés sont \(n), \(m). !exit :laplace La loi de Laplace est une loi continue sur \(\RR) dont la densité est :

\(x\mapsto \frac{1}{2}\exp(-|x|))

$gloss_table 02\(\frac{1}{1+t^2}) !exit :logistic La loi logistique est la loi de la variable \(\ln(\exp(Y)-1)) lorsque \(Y) est une variable aléatoire de loi exponentielle de paramètre 1. C'est une loi continue sur \(\RR) qui a pour densité :

\(x\mapsto \exp(-x)(1+\exp(-x))^{-2}=\frac{1}{1+\exp(-x)}(1-\frac{1}{1+\exp(-x)}))

$gloss_table 0\(\frac{\pi^2}{3}) !exit :pdf

  • Pour une loi de probabilité \(q) sur les entiers, la densité en l'entier \(k) est par définition \(q(k)).
  • Pour une loi continue \(\mu) sur \(\RR), une fonction \(f) définie sur \(\RR) à valeurs positives ou nulles est une densité pour \(mu) si pour tout réel \(t),
    \(\mu(\rbrack-\infty,t\rbrack)=\int_{-\infty}^t f(u)du).
    (\(\mu(\rbrack-\infty,t\lbrack)) est aussi la probabilité de l'événement \(\{X\leq t\}).)
!exit :cdf La fonction de répartition d'une loi \(\mu) sur \(\RR) est la fonction définie sur \(\RR) par :
\(t\mapsto\mu(\rbrack -\infty,t \rbrack))

Si \(X) est une variable aléatoire réelle, la fonction de répartition de \(X) en \(t) est la probabilité de l'événement \(\{X\leq t\}). !goto exemple !exit :inv

Soient \(q ) un réel tel que \(0quantile d'ordre \(q) est n'importe quel réel \(t) vérifiant

\(\mu(\rbrack -\infty,t \lbrack)\leq q \leq \mu(\rbrack -\infty,t \rbrack)).
Cet outil calcule le plus petit quantile d'ordre \(q) de la loi \(\mu), c'est-à-dire le plus petit réel \(t) vérifiant \(F(t) \geq q).

Si \(X) est une variable aléatoire réelle, c'est aussi le plus petit réel \(t) tel que la probabilité de l'événement \(\{X\leq t\}) soit supérieure ou égale à \(q).

!goto exemple !exit :exemple !set aa=2 !set f= $aa*exp(-t^($aa))*t^($aa-1) !set maxf=$$[(($aa-1)/$aa)^(1/$aa)] !set cc=!mathsubst t= $maxf in $f !set g=1-exp(-t^($aa)) !set insdraw_size=200,200 !set t=!random $[$maxf*0.8],$[$maxf*1.2] !set u=!mathsubst t=$[$t/2] in $f !set u1=!mathsubst t=$[$t] in $g
!insdraw xrange -0.1, 3*$maxf\ yrange -0.1,$cc*1.1\ hline 0,0,black\ vline 0,0,black\ text black, $t,0,medium,t\ trange 0,5\ plot blue,t,$f\ vline $t,0,black\ fill $[$t/2], $[$u/2], grey !insdraw xrange -0.1, 3*$maxf\ yrange -0.1,$cc*1.1\ hline 0,0,black\ vline 0,0,black\ text black, $t,0,medium,t\ disk $t,$u1,5,blue\ dhline 0,$u1,blue\ text black,0,$u1,medium,q\ trange 0,5\ plot green,t,$g\ vline $t,0,black
On a tracé à gauche le graphe de la fonction de densité d'une loi de probabilité continue sur \(\RR) et à droite le graphe de la fonction de répartition. !if $special_parm2=cdf La valeur de la fonction de répartition de \(X) en \(t) est égale à l'aire de la surface en gris.
!exit !endif !if $special_parm2=inv L'outil calcule le plus petit réel \(t) tel que l'aire de la surface en gris soit supérieure ou égale à \(q). !set parm1=20 !set parm2=0.4 !set hist=!values binomial($parm1,x)\ *$parm2^x*(1-$parm2)^($parm1-x) for x =0 to $parm1 !set insdraw_size=200,200 !set q=!random 0.2,0.5 !set dessin1=xrange -0.2, $parm1+1\ yrange -0.3,1.5\ hline 0,0,black\ vline 0,0,black\ dhline 0,1,black !set dessin2=$dessin1 !set dessin1=$dessin1\ lines blue !set dessin2=$dessin2\ dhline 0,$q,\ dhline 0,$q,\ lines green !set h=!randint 5,8 !set z1=0 !set z2=0 !for j =0 to $[$parm1-1] !set z=!item $[$j+1] of $hist !set dessin1=!append item $j,$z2,$j,$z to $dessin1 !set z2=$z !set z=$[$z+$z1] !set dessin2=!append item $j,$z1,$j,$z to $dessin2 !set z1=$z !if $j=$h !set h0=$z1 !endif !next j !for j =0 to $[$parm1/2] !set j1=$[2*$j] !set dessin1=!append line text black,$j1,0,small, $j1 to $dessin1 !set dessin2=!append line text black,$j1,0,small, $j1 to $dessin2 !next j !set dessin2=$dessin2\ dhline red, 0,$h0\ line $h, $h0,$[$h+1],$h0, red\ dhline $h, $h0, red\ dvline $h,0,red\ dvline $h+1,0,red\ linewidth 2\ line $h, 0,$[$h+1],0, red\ text red,0,$h0,medium, q\ $slib_out !insdraw $dessin1 !insdraw $dessin2 Dans le cas d'une loi discrète, l'ensemble des quantiles d'ordre \(q) peut être un intervalle. Le quantile d'ordre $h0$ calculé par l'outil est $h. !exit !endif wims-modules-es-3.64.orig/modules/tool/stat/table.es/main.phtml0000644000175000017500000000057510340567427024743 0ustar georgeskgeorgesk!header !! Contenu du module par ici. Ce qui suit est un modele d'organisation de ce !! fichier. !if $compute=yes !if $error!=$empty !read msg.phtml !read menu.phtml !goto end !else !read answer.phtml !form resume !endif !else !! put some explanations here. !read menu.phtml !endif compute=yes? :end !tail wims-modules-es-3.64.orig/modules/tool/stat/table.es/histoloi0000644000175000017500000001043410340567426024520 0ustar georgeskgeorgesk !default couleur= red !goto $i :binomial hist=!values binomial($parm1,x)\ *$parm2^x*(1-$parm2)^($parm1-x) for x =0 to $parm1 val=!values x for x=0 to $parm1 size_$i=$[min(1000,max(50*$parm1,200))] !goto end !exit :geometric hist=!values $parm1*(1-$parm1)^x for x =0 to 20 val=!values x for x=0 to 20 size_$i=800 !goto end !exit :pascal hist=!values binomial(x-1,$parm1-1)\ *$parm2^($parm1)*(1-$parm2)^(x-$parm1) for x =$parm1 to 3*$parm1 val=!values x for x=$parm1 to 3*$parm1 size_$i=$[min(1000,max(50*$parm1,200))] !goto end !exit :hypergeometric b= $[binomial($parm1,$parm3)^(-1)] min= $[max(0,$parm3+$parm2-$parm1)] max= $[min($parm3,$parm1)] hist=!values binomial($parm2,x)*binomial($parm1-$parm2,$parm3-x)*$b for x=$min to $max val=!values x for x=$min to $max size_$i=$[min(1000,max(100*($max-$min),200))] !goto end !exit :poisson hist=!values $[exp(-$parm1)] * $parm1^x/factorial(x) for x=0 to 20 val=!values x for x=0 to 20 size_$i=800 !goto end !exit :end !read slib/stat/histo [$hist] ,[$val],noxtics,noytics,baton,color $couleur hist_$i=$slib_out !exit :chi2 u= !exec pari gamma($parm1*0.5)^(-1) f=0.5*exp(-0.5*t)*(0.5*t)^($parm1/2-1)*$u !read slib/function/bounds $f,t, 0, 3*$parm1 rangey=!item 2 of $slib_out par=$[$rangey/20] hist_$i=xrange -1, $[3*$parm1]\ yrange -0.1,$rangey*1.1\ hline 0,0,black\ vline 0,0,black\ trange 0,3*$parm1\ plot $couleur, t,$f size_$i=300 !exit :cauchy cst= $[(pi*$parm2)^(-1)] hist_$i=xrange -$[ 2*abs($parm1)], $[2*abs($parm1)]\ yrange -0.5,1.2\ hline 0,0,black\ vline 0,0,black\ plot $couleur,$cst/(1+((x-$parm1)/$parm2)^2) size_$i=300 !exit :exponential hist_$i=xrange -1, $[3*$parm1]\ yrange -0.5,1.2\ hline 0,0,black\ vline 0,0,black\ trange 0,3*$parm1\ plot $couleur,t, $parm1 *exp(-$parm1*t) size_$i=300 !exit :gamma u=!exec pari gamma($parm1)^(-1) f=$parm2*exp(-$parm2*t)*($parm2*t)^($parm1-1)*$u !read slib/function/bounds $f,t, 0, 3*$parm1 rangey=!item 2 of $slib_out par=$[$rangey/10] hist_$i=xrange -1, $[3*$parm1]\ yrange -0.5,$rangey\ hline 0,0,black\ vline 0,0,black\ trange 0,3*$parm1\ plot $couleur,t, $parm2*exp(-$parm2*t)*($parm2*t)^($parm1-1)*$u size_$i=300 !exit :laplace hist_$i=xrange -4,4\ yrange -0.5,1.2\ hline 0,0,black\ vline 0,0,black\ trange -2,2\ plot $couleur, t,exp (- abs (t)) / 2 size_$i=300 !exit :logistic hist_$i=xrange -3, 3\ yrange -0.5,1.2\ hline 0,0,black\ vline 0,0,black\ plot $couleur, 1/(1+exp(-x))^2*exp(-x) size_$i=300 !exit :lognormal hist_$i=xrange -1, $[3*$parm1]\ yrange -0.5,1.2\ hline 0,0,black\ vline 0,0,black\ trange 0,$parm1\ plot $couleur, t, exp(-(log(t/$parm1))^2/(2*$parm2^2))/(t*$parm2*(2*pi)^0.5) size_$i=300 !exit :normal hist_$i=xrange $[$parm1-2*$parm2],$[$parm1+2*$parm2]\ yrange -0.5,1.1\ hline 0,0,black\ vline 0,0,black\ text black , 0,1,medium,1\ text black , $parm1,0,medium,$parm1\ line $parm1,-0.05,$parm1,0.05,blue\ plot $couleur, exp(-(x-$parm1)^2/(2*$parm2^2))/((2*pi)^(1/2)*$parm2) size_$i=300 !exit :weibull f=$parm1*$parm2*exp(-$parm2*t^($parm1))*t^($parm1-1) !read slib/function/bounds $f,t, 0, 3*$parm1 rangey=!item 2 of $slib_out par=$[$rangey/10] hist_$i=xrange -1, $[3*$parm1]\ yrange -0.5,$rangey\ hline 0,0,black\ vline 0,0,black\ trange 0,3*$parm1\ plot $couleur,t,$parm1*$parm2*exp(-$parm2*t^($parm1))*t^($parm1-1) size_$i=200 !exit :student cte=!exec pari gamma(($parm1+1)/2)/(sqrt($parm1*pi)*gamma($parm1/2)) f=$cte*(1+x^2/$parm1)^(-$[($parm1+1)/2]) !read slib/function/bounds $f, -3, 3 rangey=!item 2 of $slib_out par=$[$rangey/10] hist_$i=xrange -3, 3\ yrange -0.5,$rangey\ hline 0,0,black\ vline 0,0,black\ plot $couleur,$f size_$i=300 !exit :fisher cst=!exec pari $parm1^($parm1/2)*$parm2^($parm2/2)*gamma(($parm1+$parm2)/2)/(gamma($parm1/2)*gamma($parm2/2)) f=$cst*t^(-1+$parm1/2)*($parm2+$parm1*t)^(-($parm1+$parm2)/2) !read slib/function/bounds $f,t, 0,5 rangey=!item 2 of $slib_out par=$[$rangey/10] hist_$i=xrange -0.1, 5\ yrange -0.3,$rangey\ hline 0,0,black\ vline 0,0,black\ trange 0,5\ plot $couleur,t,$f size_$i=300 !exit :beta cte=!exec pari gamma($parm1+$parm2)/(gamma($parm1)*gamma($parm2)) f=$cte*t^($[$parm1-1])* (1-t)^($[$parm2-1]) !read slib/function/bounds $f,t, 0,1 rangey=!item 2 of $slib_out par=$[$rangey/10] hist_$i=xrange -0.1, 1.1\ yrange -0.5,$rangey\ hline 0,0,black\ vline 0,0,black\ trange 0,1\ plot $couleur,t,$f size_$i=300 !exit size_$i=300 !exit wims-modules-es-3.64.orig/modules/tool/stat/table.es/var.def0000644000175000017500000000320210340567427024207 0ustar georgeskgeorgesk# Variable declaration file. # # Only those variables with possible user inputs or requiring inter-request # savings need to be declared in this file. # #Each non-comment line defines a variable. Format of the line: # #name allow # #name: name of the variable #allow: when allow the user to override the defined value. # it maybe any , deny, init, config, reply. # # #name allow status deny type any list_type any liste_type any type_cnt any data any parm any parm1 any parm2 any parm3 any law any cnt_data any liste any liste2 any liste3 any cnt any tableau reply parm_binomial reply parm_cauchy reply parm_normal reply parm_poisson reply parm_geometric reply parm_hypergeometric reply parm_exponential reply parm_lognormal reply parm_chi2 reply parm_gamma reply parm_weibull reply parm_student reply parm_beta reply parm_fisher reply parm_pascal reply parm_logistic reply parm_laplace reply size_binomial reply size_cauchy reply size_normal reply size_poisson reply size_geometric reply size_hypergeometric reply size_exponential reply size_lognormal reply size_chi2 reply size_gamma reply size_weibull reply size_student reply size_beta reply size_fisher reply size_pascal reply hist_binomial reply hist_cauchy reply hist_normal reply hist_poisson reply hist_geometric reply hist_hypergeometric reply hist_exponential reply hist_lognormal reply hist_chi2 reply hist_gamma reply hist_weibull reply hist_student reply hist_beta reply hist_fisher reply hist_pascal reply hist_logistic reply hist_laplace reply hist any hist1 any histogram reply color1 any color0 any couleur1 any couleur2 any couleur3 any couleur4 any couleur5 any couleur6 any couleur7 any wims-modules-es-3.64.orig/modules/tool/stat/table.es/data0000644000175000017500000000157410340567427023605 0ustar georgeskgeorgesk!set liste=binomial,poisson,geometric,hypergeometric,pascal,\ normal,exponential,lognormal,cauchy,weibull,\ gamma,chi2,student,fisher,beta,\ laplace,logistic !set liste2=ley binomial,ley de Poisson,ley geométrica,ley hypergeométrica,ley binomial negativa,\ ley normal,ley exponencial,ley log-normal,ley de Cauchy, ley de Weibull,\ ley Gamma,ley \(\chi^2),ley de Student,ley de Fisher,ley Beta,\ ley de Laplace, ley logística !set liste3= 2,1,1,3,2,\ 2,1,2,2,2,\ 2,1,1,2,2,\ 0,0 !set list_type=pdf, cdf,inv !set liste_type=la función de densidad de probabilidad, la función de distribución, los cuantiles !set type_cnt=!itemcnt $list_type !set cnt=!itemcnt $liste !set list_show=arithmean,variance,range,median,\ histo,repart,quantile !set liste_show=la media,la varianza,el rango,la mediana,\ el histograma,la función de distribución, los cuantiles !set cnt_show=!itemcnt $list_show wims-modules-es-3.64.orig/modules/tool/stat/table.es/filedesc0000644000175000017500000000113210340567427024440 0ustar georgeskgeorgeskabout_phtml=Fichier apropos. Vous pouvez le laisser tel quel. help_phtml=Aides aux utilisateurs. main_phtml=Fichier principal d'organisation de sortie. present_phtml=Présentation du problème. answer_phtml=Présentation du résultat de calcul. menu_phtml=Menu et formulaire pour la saisie des données à calculer. intro_phtml=Introduction et configuration de l'outil. msg_phtml=Messages d'erreur. var_proc=Traitement de variables général (calcul des données). var_init=Initialisation de variables. var_def=Déclarations de variables d'utilisateurs. filedesc=Explication de chaque fichier dans le module. wims-modules-es-3.64.orig/modules/tool/stat/table.es/COPYING0000644000175000017500000004307710340567426024007 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/tool/stat/table.es/INDEX0000644000175000017500000000111710340567427023534 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 2.50. # Do not edit by hand. title=Tablas estadísticas description=herramientas de estadística (cálculo con leyes clásicas) language=es category=tool domain=statistics level=U1,U2,U3,U4 keywords=statistics, loi, law, distributive, cumulative,repartition require=octave,pari scoring=no copyright=© 2004 (GNU GPL) author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr translator=Antonio Ullán de Celis translator_address=aullan@unex.es version=1.00 wims_version=3.34 help=popup wims_backslash_insmath=yes vardef= wims-modules-es-3.64.orig/modules/tool/stat/table.es/msg.phtml0000644000175000017500000000271510340567426024602 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if bad_data isin $error No es posible evaluar los datos suministrados o no ha cumplimentado ciertos campos necesarios. !exit !endif !if error_click isin $error Debe seleccionar una ley. !endif !if error_qu isin $error Debe seleccionar una petición. !endif !if range_inv isin $error No se puede calcular el cuantil para un valor comprendido entre 0 y 1.

!endif !for i in $law !set u=!positionof item $i in $liste !set v=!item $u of $liste2 !set w=!item $u of $liste3 !if parm$i isin $error No ha dado un número correcto de parámetros para la $v : esta ley depende de $w parámetros. Lea la ayuda correspondiente. Si usted quiere introducir varios juegos de parámetros, sepárelos por punto y coma.

!endif !if integer$i isin $error !if $i isitemof binomial,pascal El primer parámetro !else El parámetro !endif para la $v debe ser un entero.

!endif !if neg$i isin $error El !if $i isitemof binomial,pascal segundo !endif parámetro para la $v debe estar comprendido entre 0 y 1.

!endif !if pos$i isin $error !if $i isitemof gamma,weibull,beta Los dos parámetros !else El !if $i isin normal segundo !endif parámetro !endif para la $v !if $i isin gamma,weibull,beta deben ser estrictamente positivos. !else debe ser estrictamente positivo. !endif

!endif !endif !next i

!!msg $error wims-modules-es-3.64.orig/modules/H5/0000755000175000017500000000000011262661055017565 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/0000755000175000017500000000000011262661120021401 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/0000755000175000017500000000000010771744013023773 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/intro.phtml0000644000175000017500000000326110315754120026170 0ustar georgeskgeorgesk!header $module_title es un ejercicio sobre el reconocimiento gráfico de funciones de una variable real.

Este servidor le mostrará la gráfica de una función $m_f(x), cuya expresión estará oculta. Se le mostrarán un cierto número de otras gráficas, que representan modificaciones de $m_f(x) tales como $m_f(-x), 2$m_f(x), $m_f(x-1), etc (ver el menú de abajo). Usted deberá localizar la gráfica que corresponda exactamente con la que se le pregunta. Para dar la respuesta, simplemente deberá hacer clic en la gráfica que usted considere que es la correcta.


!form new El ejercicio puede ser configurado mediante los siguientes parámetros.

  • Tipo de variaciones de la función:
    1. $m_f(-x), -$m_f(x), -$m_f(-x) ;
    2. $m_f(x$(m_pm)1), $m_f(x)$(m_pm)1 ;
    3. $m_f(2x), $m_f(x/2), 2$m_f(x), $m_f(x)/2 ;
    4. $m_f($(m_pm)x$(m_pm)1), $m_pm$m_f(x)$(m_pm)1 ;
    5. $m_f($(m_pm)2x), $m_pm$m_f(x/2), etc...
  • Número de preguntas en una sesión: !default repeat=1 !formradio repeat from 1 to 8 (La calificación será atribuida exclusivamente al finalizar la sesión.)
  • o podemos preguntarle que reconozca cada curva que se le presente.

!read related.phtml gráficas, funciones !tail wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/var.init0000644000175000017500000000070407041330161025440 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. wims_print_precision=5 !bound repeat between integer 0 and 8 default 1 #!bound present within 3,4,6,8 default 4 !bound listype between integer 1 and 5 default 1 !read definitions list=!itemcnt $(flist$listype) !default present=6 !if $present>$list present=$list !endif !distribute item 0,0,0,start into replycnt,fcnt,cumul,status wims_module_log=$cmd: type $listype wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/var.proc0000644000175000017500000000343310121613264025443 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !if $status notwordof waiting finish !read var.prep !endif insplot_set=zeroaxis; parametric;\ tmargin 1;rmargin 1;lmargin 3; bmargin 2;\ xtics 1; ytics 1 fx=t fy=$f !read definitions flist=$(flist$listype) xlist=$(xlist$listype) ylist=$(ylist$listype) !for i=1 to $present j=!item $i of $shuf !if $j=$ask askshuf=$i !endif v$i =$j x$i =!item $j of $xlist y$i =!item $j of $ylist n$i =!item $j of $flist y$i=!mathsubst f=($f) in $(y$i) n$i=!htmlmath $(n$i) n$i=!mathsubst f=$m_f in $(n$i) !next i askname=!item $ask of $flist askname=!htmlmath $askname askname=!mathsubst f=$m_f in $askname !ifval $repeat=0 !for i=1 to $present !if $(t$i)>0 nt$i=!item $(t$i) of $flist nt$i=!htmlmath $(nt$i) nt$i=!mathsubst f=$m_f in $(nt$i) !endif !next i !endif !if $cmd=reply and $status=waiting replycnt=$[$replycnt+1] status=done !ifval $repeat>1 and (($click>0 and $click=$askshuf) or ($click=0 and $askshuf=$empty)) cumul=$[$cumul+1] !endif !if $replycnt>=$repeat status=finish !ifval $repeat=0 sc=0 !for i=1 to $present !if $(t$i)=$(v$i) sc=$[$sc+2] !else !if $(t$i)>0 sc=$[$sc-1] !endif !endif !next i !if $sc<0 module_score=0 !else module_score=$[rint(50*$sc/$present)/10] !endif !endif !if $repeat=1 !ifval ($click>0 and $click=$askshuf) or ($click=0 and $askshuf=$empty) module_score=10 !else module_score=0 !endif !endif !if $repeat>1 module_score=$[rint(100*($cumul*$list-$repeat)/($list-1)/$repeat)/10] !if $module_score<0 module_score=0 !endif !endif wims_module_log=score $module_score/10 !endif !endif !if $status=wait status=waiting !endif wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/answer.phtml0000644000175000017500000000235110315754120026333 0ustar georgeskgeorgesk!! Analyse de réponse dans ce fichier. !if $repeat>0 !ifval $click=0 !if $askshuf>0 ¡No, la gráfica de $askname está aquí! Mire debajo. !else Cierto, la gráfica de $askname no está entre las figuras presentadas. Muy bien. !endif !else Usted ha señalado en la gráfica de $(n$click) !ifval $click=$askshuf como se pedía. Muy bien. !else en vez de $askname. Error. !endif !endif !else Aquí está la solución (los nombres rojos denotan sus respuestas). !set wims_texsize=-3 !endif !if $module_score!=$empty !if $repeat<=1 Su calificación = $module_score/10. !else

Usted ha obtenido una calificación de $module_score/10 en esta sesión de $repeat funciones. !endif !endif

!!set ins_border=1 !for j=1 to $present !endif !next j
!if $repeat>0 !if $j=$click !endif !if $j=$askshuf !endif $(n$j)
!else !if $(t$j)=0 $(n$j) !else !if $(t$j)=$(v$j) $(n$j) yes !else $(n$j)$m_ne$(nt$j) !endif !endif
!endif !insplot [-4:4] [-2.5:2.5] [-2.5:2.5] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2
wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/var.prep0000644000175000017500000000053507035700305025451 0ustar georgeskgeorgesk fdata=!randfile functions fdata=!trim $fdata f=!line 1 of $fdata n=!linecnt $fdata !for i=1 to $n-2 step 1 c=!line $i+2 of $fdata c$i=!random $c f=!mathsubst c$i=$(c$i) in $f !next i f=!rawmath $f n=!randitem 0,1 !if $n=1 f=-($f) !endif shuf=!shuffle $list ask=!randint 1,$list fcnt=$[$fcnt+1] status=wait !for i=1 to 9 t$i= !next i click= wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/about.phtml0000644000175000017500000000002510315754120026142 0ustar georgeskgeorgesk$module_about !tail wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/present.phtml0000644000175000017500000000060410315754120026513 0ustar georgeskgeorgesk

Esta es la gráfica
de una función $m_f(x). !if $repeat>1

(Function number $fcnt
in the session of
$repeat functions) !endif
!set iset=$insplot_set !set insplot_set=$insplot_set; size 0.38,0.5 !insplot [-4:4] [-2.5:2.5] [-2.5:2.5] $fx,$fy title "f(x)" !set insplot_set=$iset; size 0.24,0.33
wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/main.phtml0000644000175000017500000000126410315754120025762 0ustar georgeskgeorgesk!header !! La présentation de l'exercice. !read present.phtml

!if $status=waiting !! La forme de réponse !read form.phtml

!if $repeat>1 !set nn=Abandonar la sesión !else !set nn=Cambiar la función !endif !href cmd=renew&worksheet=$worksheet&$module_init_parm $nn . !else !! L'analyse de réponse !read answer.phtml

!if $status=finish !if $repeat>1 !set nn=Una sesión nueva !else !set nn=Una sesión nueva !endif !href cmd=renew&worksheet=$worksheet&$module_init_parm $nn . !else !href cmd=next Continuar la sesión con la siguiente función .   !href cmd=renew&worksheet=$worksheet&$module_init_parm Abandonar la sesión . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/var.def0000644000175000017500000000033307041330056025234 0ustar georgeskgeorgesk repeat init listype init list deny present deny status deny replycnt deny fcnt deny cumul deny f deny shuf deny ask deny click reply t1 reply t2 reply t3 reply t4 reply t5 reply t6 reply t7 reply t8 reply t9 reply wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/form.phtml0000644000175000017500000000222210315754120025774 0ustar georgeskgeorgesk !if $repeat>0 Pregunta. Entre las siguientes figuras, ¿cuál de ellas representa la función $askname? Haga clic en ella.

!!set ins_border=1 !for j=1 to $present !href cmd=reply&click=$j !insplot [-4:4] [-2.5:2.5] [-2.5:2.5] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2
!endif !next j
!if $present<$list !href cmd=reply&click=0 Haga clic aquí si usted piensa que ninguna de las figuras puede corresponder a $askname. !endif !else !form reply Pregunta. Determine qué función corresponde a cada una de las figuras mostradas.

!!set ins_border=1 !for j=1 to $present !endif !next j

!insplot [-4:4] [-2.5:2.5] [-2.5:2.5] $(x$j),$(y$j) notitle !ifval $present>4 and $j=$present/2

Atención. ¡Las respuestas erróneas disminuirán su calificación! Si no está seguro, elija "??". !endif wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/INDEX0000644000175000017500000000150710315754120024562 0ustar georgeskgeorgesktitle=Funciones y gráficas # Commencez la description par minuscule! description=reconocer la gráfica de f(-x) a partir de la de f(x), etc. author=XIAO Gang address=xiao@unice.fr copyright=© 1998- (GNU GPL) version=1.20 # minimal version of wims server under which the module may run wims_version=3.30 language=es translator=Antonio Ullán translator_address=aullan@unex.es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H3 H4 H5 H6 U1 # e.g. algebra, analysis, geometry, etc. domain=analisis # Anything you like. keywords=función, gráfica # Software packages required to run the module require= # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/definitions0000644000175000017500000000106707035676227026247 0ustar georgeskgeorgesk# possible stops: 4,6,8 # f: f(x). g: f'(x). flist1=f(-x),-f(x),-f(-x) xlist1=-t,t,-t ylist1=f,-f,-f flist2=f(x+1),f(x-1),f(x)+1,f(x)-1 xlist2=t-1,t+1,t,t ylist2=f,f,f+1,f-1 flist3=f(2x),f(x/2),2f(x),f(x)/2 xlist3=t/2,2*t,t,t ylist3=f,f,2*f,f/2 flist4=f(x+1),f(x-1),f(x)+1,f(x)-1,f(1-x),f(-x-1),1-f(x),-1-f(x) xlist4=t-1,t+1,t,t,1-t,-1-t,t,t ylist4=f,f,f+1,f-1,f,f,1-f,-1-f flist5=f(2x),f(x/2),2f(x),f(x)/2,-f(2x),-f(x/2),-2f(x),-f(x)/2,f(-2x),f(-x/2),2f(-x),f(-x)/2 xlist5=t/2,2*t,t,t,t/2,2*t,t,t,-t/2,-2*t,-t,-t ylist5=f,f,2*f,f/2,-f,-f,-2*f,-f/2,f,f,2*f,f/2 wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/msg.phtml0000644000175000017500000000041110225522646025623 0ustar georgeskgeorgesk Erreur. !if bad_data=$error I have failed to evaluate the data you have submitted. Problem of java with your browser? !exit !endif !if back_n_forth iswordof $error You should not go back and forth in your curve. Try again. !exit !endif !msg $error wims-modules-es-3.64.orig/modules/H5/analysis/graphfunc.es/functions0000644000175000017500000000160306756330663025740 0ustar georgeskgeorgesk# List of functions used for infinitesimal approaching. # An item in this list will be picked randomly at each exercise. # Structure of item: multi-line. # line 1 is function description. # The rest is values for parameters c1, c2, etc. # Different items are separated by lines starting with `:'. :c1*t^3+(c2)*t^2+(c3)*t-c4 3*(c1)*t^2+2*(c2)*t+(c3) 0.1,0.3 0.3,0.7 -1,1 0.5,1.5 :c1*t^3+(c2)*t^2+(c3)*t+c4 3*(c1)*t^2+2*(c2)*t+(c3) 0.1,0.3 -0.3,-0.7 -1,1 0.5,1.5 :c1*(t+c2)*sin(c3*t+c4)+c5*t^2-c6*t c1*c3*(t+c2)*cos(c3*t+c4)+c1*sin(c3*t+c4)+2*c5*t-c6 0.15,0.4 -1.5,1.5 1,2.5 0,6.28 0.2,0.5 0.3,0.6 :c1*(t+c2)*sin(c3*t+c4)+c5*t^2-c6*t c1*c3*(t+c2)*cos(c3*t+c4)+c1*sin(c3*t+c4)+2*c5*t-c6 0.15,0.4 -1.5,1.5 1,2.5 0,6.28 0.2,0.5 0.3,0.6 :c1*(t+c2)*sin(c3*t+c4)+c5*t^2-c6*t c1*c3*(t+c2)*cos(c3*t+c4)+c1*sin(c3*t+c4)+2*c5*t-c6 0.15,0.4 -1.5,1.5 1,2.5 0,6.28 0.2,0.5 0.3,0.6 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/0000755000175000017500000000000011256207602023424 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/0000755000175000017500000000000011256204214024156 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/crossfrac2.def0000644000175000017500000000271511074456076026727 0ustar georgeskgeorgesk!set title=Cross fractions II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=13 prevarcnt=12 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat expand tmp0=!randitem trans,addineq val2=$(tmp0) m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/$val2, ineq/mulineq, ineq/sqrpos m_minsteps=3 tmp0=!randitem integer, rational number, real number val3=$(tmp0) tmp0=!randitem a,b,c,d,r,s,t,u,v,x,y,z val4=$(tmp0) tmp=!trim >,>=,2,positive <,<=,-2,negative val5=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val5 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val5=$(tmp0) tmp0=!item 1 of $val5 val6=$(tmp0) tmp0=!item 2 of $val5 val7=$(tmp0) tmp0=!item 3 of $val5 val8=$(tmp0) tmp0=!item 4 of $val5 val9=$(tmp0) tmp0=!randint 6, 99 val10=$[rint($(tmp0))] val11=expand($val4/$val10 + $val10/$val4;) val12=$val11 $val7 $val8 m_context=$val4 $val6 0 m_goal=$val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val4 $() be a strictly $val9 $val3. Prove !insmath $val12 $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=3,4,9,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/fracx2.def0000644000175000017500000000354411074456076026046 0ustar georgeskgeorgesk!set title=Simple fraction II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides ineq/trans, ineq/addineq, ineq/mulineq m_minsteps=4 tmp0=!randitem a,b,c,d,p,q,r,s,t,u,v,x,y,z val2=$(tmp0) tmp0=!shuffle 15 val3=$(tmp0) tmp0=!item 1 of $val3 tmp1=!randitem -1,1 val4=$[rint(($(tmp0)+1)*$(tmp1))] tmp0=!item 2 of $val3 tmp1=!randitem -1,1 val5=$[rint(($(tmp0)+1)*$(tmp1))] tmp0=!item 3 of $val3 val6=$[rint(($(tmp0)+1))] tmp=!trim >,<,1 <,>,-1 val7=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val7 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val7=$(tmp0) tmp0=!item 1 of $val7 tmp1=!randitem ,= val8=$(tmp0)$(tmp1) tmp0=!item 2 of $val7 val9=$(tmp0) tmp0=!item 3 of $val7 val10=$[rint($(tmp0))] tmp0=!randint 1, 10 val11=$[rint(-($val5)+($val10)*$(tmp0))] val12=!rawmath ($val2 + $val4)/($val2 + $val5) val13=$[($val11+($val4))/($val11+($val5))] !ifval $val13>1 val6=$[rint(1-$val6)] !else val6=$[rint(1+$val6)] !endif !ifval $val13>1 val9=< !else val9=> !endif tmp0=!randitem ,= val14=$(tmp0) val15=$val9$val14 val16=$val2 $val8 $val11 val17=$val12 $val15 $val6 m_context=$val16 $val17 m_goal=contradiction question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Prove that the inequality !insmath $val12 $val15 $val6 $() has no solution when !insmath $val2 $val8 $val11 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=2,6,8,11,12,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sollin.def0000644000175000017500000000317411074456076026160 0ustar georgeskgeorgesk!set title=Linear solve I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=14 prevarcnt=8 postvarcnt=5 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat askresult m_methods=ineq/addterm, ineq/mulnum, ineq/divnum, ineq/exsides m_minsteps=2 tmp0=!randint 2, 20 tmp1=!randitem -1,1 val2=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 20 tmp1=!randitem -1,1 val3=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 20 tmp1=!randitem -1,1 val4=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 20 tmp1=!randitem -1,1 val5=$[rint($(tmp0)*$(tmp1))] val6=!rawmath $val2*x + $val5 tmp0=!randitem <,<=,>,>= val7=$(tmp0) val8=!rawmath $val3*x + $val4*y val9= m_equivalence=$val6 $val7 $val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Solve for $m_y the inequality !insmath $val6 $val7 $val8 $().

The goal of the exercise is to transform the given inequality into an equivalent one where the left part is $m_y, and the right part is an expression of $m_x. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!translate internal <=> to , , in $m_equivalence val10=$(tmp0) tmp0=!item 1 of $val10 val11=$(tmp0) tmp0=!item 2 of $val10 val12=$(tmp0) tmp0=!varlist $val12 val9=$(tmp0) val13= !exit :feedback !exit :test !ifval $val11 issametext y and ($val9 issametext x or $val9 issametext $val13) condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=6,7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sumprod3b2.def0000644000175000017500000000656311074456076026665 0ustar georgeskgeorgesk!set title=Sum and product of 3 II bis !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=37 prevarcnt=27 postvarcnt=9 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat fixedgoal tmp0=!randitem constineq,obvineq val2=$(tmp0) tmp0=!randitem trans,addineq val3=$(tmp0) m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/lincomb, ineq/$val2, ineq/$val3, ineq/mulineq, ineq/sqrpos m_minsteps=8 tmp=!trim x,y,z a,b,c r,s,t l,m,n u,v,w val4=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val4 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val4=$(tmp0) tmp0=!item 1 of $val4 val5=$(tmp0) tmp0=!item 2 of $val4 val6=$(tmp0) tmp0=!item 3 of $val4 val7=$(tmp0) tmp0=!randitem ,= val8=$(tmp0) tmp0=!randitem <,<= val9=$(tmp0) tmp0=!randitem <,<= val10=$(tmp0) tmp0=!randitem >,>= val11=$(tmp0) tmp0=!randint 20, 100 val12=$[rint($(tmp0))] tmp0=!randint 10, 200 val13=$[rint($val12^2/3+$(tmp0))] tmp0=!randitem integers, rational numbers, real numbers val14=$(tmp0) tmp=!trim +,+, ,+,+,$val10,$val13 +,-, ,-,-,$val10,$val13 -,+, ,-,+,$val11,-$val13 -,-, ,+,-,$val11,-$val13 +,-,-,+,+,$val11,-$val13 -,+,-,+,-,$val10,$val13 -,-,-,-,+,$val10,$val13 val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp0=!item 1 of $val15 val16=$(tmp0) tmp0=!item 2 of $val15 val17=$(tmp0) tmp0=!item 3 of $val15 val18=$(tmp0) tmp0=!item 4 of $val15 val19=$(tmp0) tmp0=!item 5 of $val15 val20=$(tmp0) tmp0=!item 6 of $val15 val21=$(tmp0) tmp0=!item 7 of $val15 val22=$(tmp0) val23=$val5 $val16 $val6 $val17 $val7 $val9 $val12 val24=0 $val9 $val5 $val16 $val6 $val17 $val7 val25=$val18$val5*$val6 $val19 $val5*$val7 $val20 $val6*$val7 val26=$val25 $val21 $val22 m_context=$val24 $val23 m_goal=$val26 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val5, $val6, $val7 $() be three $val14 such that !insmath 0 $val9 $val23 $(). Prove

!insmath $val26 $().
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef !if $m_newobject != $empty tmp0=!exec mathexp cut inequality $m_newobject val27=$(tmp0) tmp0=!item 1 of $val27 val28=$(tmp0) tmp0=!item 2 of $val27 val29=$(tmp0) tmp0=!item 3 of $val27 val30=$(tmp0) !if $val29 issametext $val21 tmp=!translate ";': to $ $ in $val28-($val25) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val31=$(tmp0) tmp=!translate ";': to $ $ in $val30-($val22) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val32=$(tmp0) !else tmp=!translate ";': to $ $ in $val30-($val25) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val31=$(tmp0) tmp=!translate ";': to $ $ in $val28-($val22) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val32=$(tmp0) tmp0=!translate internal <> to >< in $val29 val29=$(tmp0) !endif !endif !exit :feedback !exit :test !ifval $val31 issametext 0 and $val32 issametext 0 and $val29 issametext $val21 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=5,6,7,9,14,21,22,23,25,26 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/majsqr1b.def0000644000175000017500000000244611074456076026401 0ustar georgeskgeorgesk!set title=Upper-bound the squrare Ib !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=12 prevarcnt=10 postvarcnt=1 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq ineq/sqrpos m_minsteps=4 tmp0=!randitem a,b,c,d,r,s,t,x,y,z val2=$(tmp0) tmp0=!randint 2, 100 val3=$[rint($(tmp0))] val4=$[rint($val3^2)] tmp0=!randint 2, 200 val5=$[rint($val4+$(tmp0))] tmp0=!randitem ,= val6=$(tmp0) val7=<$val6 val8=>$val6 val9=$val2^2<$val5 val10=$val2 $val8 -$val3 val11=$val2 $val7 $val3 m_context=$val10 $val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val2 $() be a real number with !insmath -$val3 $val7 $val2 $val7 $val3 $(). Prove !insmath $val2^2 < $val5 $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!nospace $m_newobject val12=$(tmp0) !exit :feedback !exit :test !ifval $val12 issametext $val9 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=2,3,5,7,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/fracx3.def0000644000175000017500000000371411074456076026046 0ustar georgeskgeorgesk!set title=Simple fraction III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=24 prevarcnt=23 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp ineq/trans, ineq/addineq, ineq/mulineq, ineq/splitineq m_minsteps=6 tmp0=!randitem a,b,c,d,p,q,r,s,t,u,v,x,y,z val2=$(tmp0) tmp0=!shuffle 15 val3=$(tmp0) tmp0=!item 1 of $val3 tmp1=!randitem -1,1 val4=$[rint(($(tmp0)+1)*$(tmp1))] tmp0=!item 2 of $val3 tmp1=!randitem -1,1 val5=$[rint(($(tmp0)+1)*$(tmp1))] tmp0=!item 3 of $val3 tmp1=!randitem -1,1 val6=$[rint(($(tmp0)+1)*$(tmp1)+1)] val7=$[rint(-($val5))] tmp=!translate internal $ $ to ; in \data tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val8=$(tmp0) tmp0=!item 1 of $val8 tmp1=!randitem ,= val9=$(tmp0)$(tmp1) tmp0=!item 2 of $val8 val10=$(tmp0) tmp0=!item 3 of $val8 val11=$[rint($(tmp0))] val12=!rawmath ($val2 + $val4)/($val2 + $val5) val13=$[($val4-($val5))*($val6-1)] tmp0=!randitem ,= val14=$(tmp0) !ifval $val6>1 val15=>$val14 !else val15=<$val14 !endif t_=!rawmath ($val5*$val6-$val4)/(1-($val6)) val16=!exec pari print($t_) val17=$val2 != $val7 val18=$val12 $val15 $val6 !if $val13>0 val19=$val2 > $val7 val20=$val2 <$val14 $val16 val21=$val7 < $val2 <$val14 $val16 !else val19=$val2 < $val7 val20=$val2 >$val14 $val16 val21=$val16 <$val14 $val2 < $val7 !endif m_context=$val17 $val18 m_goal=$val19 $val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Solve the inequality !insmath $val18 $(). ( !insmath $val17 $())

(The solution is !insmath $val21 $().) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=17,18,21 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sumprodb.def0000644000175000017500000000247111074456076026512 0ustar georgeskgeorgesk!set title=Sum and product bis !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=11 prevarcnt=7 postvarcnt=3 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos m_minsteps=7 tmp0=!randint 100, 200 val2=$[rint($(tmp0))] tmp0=!randint 50, 200 val3=$[rint(ceil($val2^2/4)+$(tmp0))] tmp0=!randitem <,<= val4=$(tmp0) val5=< val6=> val7=-$val2 $val4 a + b val8=a + b $val4 $val2 m_context=$val7 $val8 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let $m_a and $m_b be two integers such that !insmath -$val2 $val4 a + b $val4 $val2 $(). Prove

!insmath a*b $val5 $val3 $() .
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!nospace $m_newobject val9=$(tmp0) val10=a*b val11=b*a !exit :feedback !exit :test !ifval $val9 iswordof $val10$val5$val3 $val11$val5$val3 $val3$val6$val10 $val3$val6$val11 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=2,3,4,5,6 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sumprod3b.def0000644000175000017500000000543711074456076026602 0ustar georgeskgeorgesk!set title=Sum and product of 3 II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=fr varcnt=24 prevarcnt=14 postvarcnt=9 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat fixedgoal tmp0=!randitem constineq,obvineq val2=$(tmp0) tmp0=!randitem trans,addineq val3=$(tmp0) m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/lincomb, ineq/$val2, ineq/$val3, ineq/mulineq, ineq/sqrpos m_minsteps=7 tmp=!trim x,y,z a,b,c r,s,t l,m,n u,v,w val4=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val4 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val4=$(tmp0) tmp0=!item 1 of $val4 val5=$(tmp0) tmp0=!item 2 of $val4 val6=$(tmp0) tmp0=!item 3 of $val4 val7=$(tmp0) tmp0=!randint 10, 60 val8=$[rint(3*$(tmp0))] val9=$[rint($val8^2/3)] tmp0=!randitem integers, rational numbers, real numbers val10=$(tmp0) tmp0=!randitem <,<= val11=$(tmp0) val12=$val5 + $val6 + $val7 $val11 $val8 val13=0 $val11 $val5 + $val6 + $val7 val14=$val5*$val6 + $val5*$val7 + $val6*$val7 $val11 $val9 m_context=$val13 $val12 m_goal=$val14 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val5, $val6, $val7 $() be three $val10 such that !insmath 0 $val11 $val12 $(). Prove

!insmath $val14 $().
$() !exit :hint $()One should prove

!insmath $val5*$val6 + $val5*$val7 + $val6*$val7 $val11 $val5^2 + $val6^2 + $val7^2 $().

And for this, you should start by !insmath 2*$val5*$val6 $val11 $val5^2 + $val6^2 $(), etc. $() !exit :help $() $() !exit :solution $() $() !exit :postdef !if $m_newobject != $empty tmp0=!exec mathexp cut inequality $m_newobject val15=$(tmp0) tmp0=!item 1 of $val15 val16=$(tmp0) tmp0=!item 2 of $val15 val17=$(tmp0) tmp0=!item 3 of $val15 val18=$(tmp0) !if $val17 issametext $val11 tmp=!translate ";': to $ $ in $val16-(\prv1) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val19=$(tmp0) tmp=!translate ";': to $ $ in $val18-($val9) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val20=$(tmp0) !else tmp=!translate ";': to $ $ in $val18-(\prv1) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val19=$(tmp0) tmp=!translate ";': to $ $ in $val16-($val9) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val20=$(tmp0) tmp0=!translate internal <> to >< in $val17 val17=$(tmp0) !endif !endif !exit :feedback !exit :test !ifval $val19 = 0 and $val20 = 0 and $val17 issametext $val11 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=5,6,7,9,10,11,12,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/twosqrgiv.def0000644000175000017500000000420211074456076026716 0ustar georgeskgeorgesk!set title=Given two squares !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=22 prevarcnt=21 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/trans, ineq/addineq, ineq/mulineq, prf/contrapose tmp=!trim a,b c,d x,y r,s s,t p,q val2=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val2 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val2=$(tmp0) tmp0=!item 1 of $val2 val3=$(tmp0) tmp0=!item 2 of $val2 val4=$(tmp0) tmp0=!randint 3, 20 val5=$[rint($(tmp0))] tmp0=!randint 3, 20 val6=$[rint($(tmp0))] val7=$[rint($val5*$val6)] val8= tmp0=!randitem ,= val9=$(tmp0) val10=> val11=< tmp=!trim $val3^2 $val10 $val4^2, $val3 $val10= 0, $val3 $val10 $val4, 2, 4 $val3^2 $val10 $val4^2, $val3 $val11= 0, $val3 $val11 $val4, 3, 3 $val3^2 $val11 $val4^2, $val4 $val10= 0, $val3 $val11 $val4, 2, 4 $val3^2 $val11 $val4^2, $val4 $val11= 0, $val3 $val10 $val4, 3, 3 val12=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!randitem 1,2 !if $(tmp0)=1 tmp0=!item 2 of $val12 val14=$(tmp0) tmp0=!item 3 of $val12 val15=$(tmp0) tmp0=!item 4 of $val12 val16=$[rint($(tmp0))] !else tmp0=!item 3 of $val12 val14=$(tmp0) tmp0=!item 2 of $val12 val15=$(tmp0) tmp0=!item 5 of $val12 val16=$[rint($(tmp0))] !endif m_minsteps=$val16 m_context=$val13 $val14 m_goal=$val15 val17=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val3 $() and !insmath $val4 $() be two real numbers with !insmath $val13 $() and !insmath $val14 $(). Prove !insmath $val17 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=3,4,13,14,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/boundedsqr2.def0000644000175000017500000000331211215660601027066 0ustar georgeskgeorgesk!set title=Delimitar cuadrados II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=fr varcnt=18 prevarcnt=17 postvarcnt=0 replycnt=0 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 m_environ=QQ m_options=nofloat tmp0=!randitem constineq,obvineq val6=$(tmp0) tmp0=!randitem mulnum, divnum val7=$(tmp0) tmp0=!randitem addnum, addterm val8=$(tmp0) tmp0=!randitem addineq, trans val9=$(tmp0) tmp0=!randitem ineq/sqrpos, ineq/splitineq, prf/splitgoal, exp/rewrite val10=$(tmp0) m_methods=ineq/$val8, ineq/$val7, ineq/exsides, ineq/$val6, ineq/$val9, ineq/mulineq, $val10,prf/contrapose tmp0=!randitem a,b,c,d,r,s,t,x,y,z val11=$(tmp0) tmp0=!randint 8, 60 val12=$[rint($(tmp0))] val13=$[rint($val12^2)] val14= tmp0=!randitem 1,2 val15=$[rint($(tmp0))] !if $val15=1 m_minsteps=2 !else m_minsteps=3 !endif tmp0=!randitem ,= val16=$(tmp0) val17=<$val16 val18=>$val16 tmp0=!item $val15 of $val11 $val18 $val12, $val11 $val17 -$val12 val19=$(tmp0) val20=$val11^2 $val18 $val13 tmp0=!randitem ,= tmp1=!randitem ,= tmp2=!item $val15 of $val11 >$(tmp0) 0, $val11 <$(tmp1) 0 val21=$(tmp2) m_context=$val20 $val21 m_goal=$val19 val22=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath $val11 $() un número real con !insmath $val21 $() y !insmath $val20 = $val12^2 $(). Probar !insmath $val22 $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,12,20,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/crossfrac.def0000644000175000017500000000357211256204214026632 0ustar georgeskgeorgesk!set title=Fracciones !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=0 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 m_options=nofloat expand tmp0=!randitem trans,addineq val6=$(tmp0) m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/$val6, ineq/mulineq, ineq/sqrpos m_minsteps=3 tmp0=!randitem enteros, números reales, números racionales val7=$(tmp0) tmp=!trim a,b c,d x,y r,s s,t p,q val8=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val8 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val8=$(tmp0) tmp0=!item 1 of $val8 val9=$(tmp0) tmp0=!item 2 of $val8 val10=$(tmp0) tmp=!trim >,>,>=,2 <,<,>=,2 <,>,<=,-2 >,<,<=,-2 val11=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!item 1 of $val11 val12=$(tmp0) tmp0=!item 2 of $val11 val13=$(tmp0) tmp0=!item 3 of $val11 val14=$(tmp0) tmp0=!item 4 of $val11 val15=$(tmp0) t_=!replace internal \( by ( in $val9/$val10 + $val10/$val9; tmp0=!exec maxima $t_ val16=$(tmp0) val17=$val16 $val14 $val15 m_context=$val9 $val12 0 $val10 $val13 0 m_goal=$val17 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath $val9 $() y !insmath $val10 $() dos $val7 con !insmath $val9 $val12 0 $() y !insmath $val10 $val13 0 $(). Probar !insmath $val17 $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,9,10,12,13,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/.htaccess0000644000175000017500000000001611074456076025766 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sumprod.def0000644000175000017500000000217511074456076026351 0ustar georgeskgeorgesk!set title=Sum and product !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=10 prevarcnt=9 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulnum, ineq/divnum, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos m_minsteps=7 tmp0=!randint 100, 200 val2=$[rint($(tmp0))] tmp0=!randint 100, 500 val3=$[rint(ceil($val2^2/4)+$(tmp0))] tmp0=!randitem <,<= val4=$(tmp0) tmp0=!randitem <,<= val5=$(tmp0) val6=< val7=> val8=0 $val4 a + b val9=a + b $val5 $val2 m_context=$val8 $val9 m_goal=a*b $val6 $val3 val10=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let $m_a and $m_b be two integers such that !insmath 0 $val4 $val9 $(). Prove

!insmath $val10 $() .
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=4,9,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/possqr2.def0000644000175000017500000000205011074456076026261 0ustar georgeskgeorgesk!set title=Positive square II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=7 prevarcnt=6 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/trans, ineq/obvineq, ineq/addineq, ineq/mulineq, ineq/splitineq m_minsteps=6 tmp0=!randitem a,b,c,d,r,s,t,x,y,z val2=$(tmp0) tmp0=!randint 2, 50 tmp1=!randitem 2,-2 val3=$[rint($(tmp0)*$(tmp1))] tmp0=!randint ($val3)^2/4+1, ($val3)^2/4+50 val4=$[rint($(tmp0))] val5= val6=!rawmath $val2^2 + $val3*$val2 + $val4 m_goal=$val6 > 0 val7=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Please show !insmath $val7 $() for !insmath $val2 in RR $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=2,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/fracx1.def0000644000175000017500000000407611074456076026046 0ustar georgeskgeorgesk!set title=Simple fraction I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=19 prevarcnt=15 postvarcnt=3 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat askresult m_methods=ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides m_minsteps=3 tmp0=!randitem a,b,c,d,p,q,r,s,t,u,v,x,y,z val2=$(tmp0) tmp0=!shuffle 15 val3=$(tmp0) tmp0=!item 1 of $val3 tmp1=!randitem -1,1 val4=$[rint(($(tmp0)+1)*$(tmp1))] tmp0=!item 2 of $val3 tmp1=!randitem -1,1 val5=$[rint(($(tmp0)+1)*$(tmp1))] tmp0=!item 3 of $val3 val6=$[rint(($(tmp0)+1))] val7=$[rint(-($val5))] tmp=!trim >,<,1 <,>,-1 val8=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val8 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val8=$(tmp0) tmp0=!item 1 of $val8 val9=$(tmp0) tmp0=!item 2 of $val8 val10=$(tmp0) tmp0=!item 3 of $val8 val11=$[rint($(tmp0))] val12=!rawmath ($val2 + $val4)/($val2 + $val5) val13=$[($val4-($val5))*($val11)] !ifval $val13>0 val6=$[rint(1+$val6)] !else val6=$[rint(1-$val6)] !endif tmp0=!randitem <,>,<=,>= val14=$(tmp0) m_equivalence=$val12 $val14 $val6 m_context=$val2 $val9 $val7 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Solve the inequality !insmath $val12 $val14 $val6 $(), under the condition !insmath $val2 $val9 $val7 $().

The goal of the exercise is to transform the given inequality into an equivalent one whose left side is $val2, and whos right side is a constant. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!translate internal <=> to , , in $m_equivalence val15=$(tmp0) tmp0=!item 1 of $val15 val16=$(tmp0) tmp0=!item 2 of $val15 val17=$(tmp0) !exit :feedback !exit :test !ifval $val16 issametext $val2 and $val2 notin $val17 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=2,6,7,9,12,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/majsqr2b.def0000644000175000017500000000256411074456076026403 0ustar georgeskgeorgesk!set title=Upper-bound the square IIb !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=14 prevarcnt=12 postvarcnt=1 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos m_minsteps=4 tmp0=!randitem a,b,c,d,r,s,t,x,y,z val2=$(tmp0) tmp0=!randint 2, 100 val3=$[rint($(tmp0))] tmp0=!randint 2, 100 val4=$[rint($(tmp0))] val5=$[rint(max($val3,$val4))] val6=$[rint($val5^2)] tmp0=!randint 2, 200 val7=$[rint($val6+$(tmp0))] tmp0=!randitem ,= val8=$(tmp0) val9=<$val8 val10=>$val8 val11=$val2 $val10 -$val3 val12=$val2 $val9 $val4 val13=$val2^2<$val7 m_context=$val11 $val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val2 $() be a real number !insmath -$val3 $val9 $val2 $val9 $val4 $(). Prove !insmath $val2^2 < $val7 $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!nospace $m_newobject val14=$(tmp0) !exit :feedback !exit :test !ifval $val14 issametext $val13 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=2,3,4,7,9,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/possqr1.def0000644000175000017500000000202211074456076026257 0ustar georgeskgeorgesk!set title=Positive square I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=7 prevarcnt=6 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/trans, ineq/obvineq, ineq/addineq, ineq/mulineq, ineq/splitineq m_minsteps=4 tmp0=!randitem a,b,c,d,r,s,t,x,y,z val2=$(tmp0) tmp0=!randint 2, 50 tmp1=!randitem 2,-2 val3=$[rint($(tmp0)*$(tmp1))] tmp0=!randint ($val3)^2/4+1, ($val3)^2/4+50 val4=$[rint($(tmp0))] val5= val6=!rawmath $val2^2 m_goal=$val6 >= 0 val7=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Please show !insmath $val7 $() for !insmath $val2 in RR $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=2,7 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sumprod3a.def0000644000175000017500000000505411074456076026574 0ustar georgeskgeorgesk!set title=Sum and product of 3 I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=26 prevarcnt=16 postvarcnt=9 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat fixedgoal tmp0=!randitem constineq,obvineq val2=$(tmp0) tmp0=!randitem trans,addineq val3=$(tmp0) m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/lincomb, ineq/$val2, ineq/$val3, ineq/mulineq, ineq/sqrpos m_minsteps=8 tmp=!trim x,y,z a,b,c r,s,t l,m,n u,v,w val4=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val4 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val4=$(tmp0) tmp0=!item 1 of $val4 val5=$(tmp0) tmp0=!item 2 of $val4 val6=$(tmp0) tmp0=!item 3 of $val4 val7=$(tmp0) tmp0=!randint 8, 30 val8=$[rint($(tmp0))] val9=$[rint($val8^3)] tmp0=!randitem rational numbers, real numbers val10=$(tmp0) tmp0=!randitem <,<= val11=$(tmp0) val12=$val5 + $val6 + $val7 $val11 $val8 val13=0 <= $val5 val14=0 <= $val6 val15=0 <= $val7 val16=$val5*$val6*$val7 $val11 $val9 m_context=$val12 $val13 $val14 $val15 m_goal=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val5, $val6, $val7 $() be three non-negative $val10 such that !insmath $val12 $(). Prove

!insmath $val16 $().
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef !if $m_newobject != $empty tmp0=!exec mathexp cut inequality $m_newobject val17=$(tmp0) tmp0=!item 1 of $val17 val18=$(tmp0) tmp0=!item 2 of $val17 val19=$(tmp0) tmp0=!item 3 of $val17 val20=$(tmp0) !if $val19 issametext $val11 tmp=!translate ";': to $ $ in $val18-($val5*$val6*$val7) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val21=$(tmp0) tmp=!translate ";': to $ $ in $val20-($val9) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val22=$(tmp0) !else tmp=!translate ";': to $ $ in $val20-($val5*$val6*$val7) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val21=$(tmp0) tmp=!translate ";': to $ $ in $val18-($val9) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val22=$(tmp0) tmp0=!translate internal <> to >< in $val19 val19=$(tmp0) !endif !endif !exit :feedback !exit :test !ifval $val21 = 0 and $val22 = 0 and $val19 issametext $val11 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=5,6,7,9,10,11,12,16 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/majsqr3.def0000644000175000017500000000326611074456076026242 0ustar georgeskgeorgesk!set title=Upper-bound the square III !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=18 prevarcnt=12 postvarcnt=5 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos m_minsteps=2 tmp0=!randitem a,b,c,d,r,s,t,x,y,z val2=$(tmp0) tmp0=!randint 10, 50 val3=$[rint($(tmp0))] tmp0=!randint 10, 50 val4=$[rint($(tmp0))] tmp0=!randint 1, 20 tmp1=!randitem -1,1 val5=$[rint($(tmp0)*$(tmp1))] val6=$[rint(max($val3-($val5),$val4+($val5)))] val7=$[rint($val6^2)] val8=!rawmath $val2+$val5 tmp0=!randitem ,= val9=$(tmp0) val10=<$val9 val11=>$val9 val12=$val2 $val11 -$val3 val13=$val2 $val10 $val4 m_context=$val12 $val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Find the best upper bound for !insmath ($val8)^2 $(), when

!insmath -$val3 $val10 $val2 $val10 $val4 $() .
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val14= tmp0=!translate internal <=> to , ; in $m_newobject val15=$(tmp0) !if ; notin $val15 and , isin $val15 tmp0=!item 1 of $val15 val12=$(tmp0) tmp0=!item 2 of $val15 val13=$(tmp0) t_=!replace internal \( by ( in Simplify(($val8)^2 - ($val12)) tmp0=!exec yacas $t_ val14=$(tmp0) !endif !exit :feedback !exit :test !ifval $val14 issametext 0 and $val13 = $val7 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=2,3,4,7,8,10,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/boundedsqr1.def0000644000175000017500000000324111215660500027064 0ustar georgeskgeorgesk!set title=Delimitar cuadrados I !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=0 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 m_environ=QQ m_options=nofloat tmp0=!randitem constineq,obvineq val6=$(tmp0) tmp0=!randitem mulnum, divnum val7=$(tmp0) tmp0=!randitem addnum, addterm val8=$(tmp0) tmp0=!randitem addineq, trans val9=$(tmp0) tmp0=!randitem ineq/sqrpos, ineq/splitineq, prf/splitgoal, exp/rewrite val10=$(tmp0) m_methods=ineq/$val8, ineq/$val7, ineq/exsides, ineq/$val6, ineq/$val9, ineq/mulineq, $val10,prf/contrapose tmp0=!randitem a,b,c,d,r,s,t,x,y,z val11=$(tmp0) tmp0=!randint 8, 60 val12=$[rint($(tmp0))] val13=$[rint($val12^2)] val14= tmp0=!randitem 1,2 val15=$[rint($(tmp0))] !if $val15=1 m_minsteps=2 !else m_minsteps=3 !endif tmp0=!randitem ,= val16=$(tmp0) val17=<$val16 val18=>$val16 tmp0=!item $val15 of $val11 $val17 $val12, $val11 $val18 -$val12 val19=$(tmp0) val20=$val11^2 $val17 $val13 m_context=$val20 m_goal=$val19 val21=$m_goal question=__EXECUTED_1692754_EXERCISE__ hint=!nosubst Es necesaria una prueba por contradicción. !goto stat !exit :question $()Sea !insmath $val11 $() un número real con !insmath $val20 = $val12^2 $(). Probar !insmath $val21 $() . $() !exit :hint $() Es necesaria una prueba por contradicción. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,12,20,21 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/twosqr.def0000644000175000017500000000357111074456076026220 0ustar georgeskgeorgesk!set title=Two squares !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=17 prevarcnt=16 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/divexp, ineq/trans, ineq/addineq, ineq/exsides, prf/contrapose tmp=!trim a,b c,d x,y r,s s,t p,q val2=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val2 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val2=$(tmp0) tmp0=!item 1 of $val2 val3=$(tmp0) tmp0=!item 2 of $val2 val4=$(tmp0) tmp0=!randint 3, 20 val5=$[rint($(tmp0))] tmp0=!randint 3, 20 val6=$[rint($(tmp0))] val7=$[rint($val5*$val6)] val8= tmp0=!randitem ,= val9=$(tmp0) val10=>$val9 val11=<$val9 tmp=!trim $val3^2 $val10 $val4^2, $val4 $val10 0, $val3 $val10 $val4 $val3^2 $val10 $val4^2, $val4 $val11 0, $val3 $val11 $val4 $val3^2 $val11 $val4^2, $val3 $val10 0, $val3 $val11 $val4 $val3^2 $val11 $val4^2, $val3 $val11 0, $val3 $val10 $val4 val12=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val12 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$(tmp0) tmp0=!item 3 of $val12 val15=$(tmp0) m_minsteps=4 m_context=$val14 $val15 m_goal=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val3 $() and !insmath $val4 $() be two real numbers with !insmath $val14 $() and !insmath $val15 $(). Prove !insmath $val13 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=3,4,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/sumprod2.def0000644000175000017500000000317211074456076026431 0ustar georgeskgeorgesk!set title=Sum and product II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/rewrite, ineq/simpdeduc, ineq/lincomb, ineq/mulnum, ineq/divnum, ineq/addineq, ineq/mulineq, ineq/sqrpos m_minsteps=4 tmp=!trim a,b c,d r,s s,t u,v x,y val2=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val2 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val2=$(tmp0) tmp0=!item 1 of $val2 val3=$(tmp0) tmp0=!item 2 of $val2 val4=$(tmp0) tmp0=!randitem rational numbers, real numbers val5=$(tmp0) tmp0=!shuffle 25 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$[rint($(tmp0)+2)] tmp0=!item 2 of $val6 val8=$[rint($(tmp0)+2)] tmp0=!randint 50, 100 val9=$[rint($(tmp0)*2)] t_=!rawmath $val9^2/(4*$val7*$val8) val10=!exec pari print($t_) tmp0=!randitem <,<= val11=$(tmp0) val12=!rawmath $val7*$val3 + $val8*$val4 val13=$val12 $val11 $val9 m_context=$val3 > 0 $val4 > 0 $val13 val14=$val3*$val4 $val11 $val10 m_goal=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val3 $() and !insmath $val4 $() be two positive $val5 such that !insmath $val13 $(). Prove

!insmath $val14 $() .
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=3,4,5,13,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/majsqr2.def0000644000175000017500000000247411074456076026241 0ustar georgeskgeorgesk!set title=Upper-bound the square II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=12 prevarcnt=10 postvarcnt=1 replycnt=0 choicecnt=0 conditioncnt=1 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos m_minsteps=2 tmp0=!randitem a,b,c,d,r,s,t,x,y,z val2=$(tmp0) tmp0=!randint 2, 100 val3=$[rint($(tmp0))] tmp0=!randint 2, 100 val4=$[rint($(tmp0))] val5=$[rint(max($val3,$val4))] val6=$[rint($val5^2)] tmp0=!randitem ,= val7=$(tmp0) val8=<$val7 val9=>$val7 val10=$val2 $val9 -$val3 val11=$val2 $val8 $val4 m_context=$val10 $val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val2 $() be a real number with !insmath -$val3 $val8 $val2 $val8 $val4 $(). Prove !insmath $val2^2 $val8 $val6 $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!nospace $m_newobject val12=$(tmp0) !exit :feedback !exit :test !ifval $val12 issametext $val2^2$val8$val6 condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=2,3,4,6,8 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/twoprod.def0000644000175000017500000000411511074456076026352 0ustar georgeskgeorgesk!set title=Given two products !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=22 prevarcnt=21 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/trans, ineq/addineq prf/contrapose m_minsteps=3 tmp=!trim a,b,c,d x,y,z,t r,s,t,u p,q,r,s val2=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val2 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val2=$(tmp0) tmp0=!shuffle $val2 val2=$(tmp0) tmp0=!item 1 of $val2 val3=$(tmp0) tmp0=!item 2 of $val2 val4=$(tmp0) tmp0=!item 3 of $val2 val5=$(tmp0) tmp0=!item 4 of $val2 val6=$(tmp0) tmp0=!randitem ,= val7=$(tmp0) tmp0=!shuffle >,< val8=$(tmp0) tmp0=!item 1 of $val8 val9=$(tmp0)$val7 tmp0=!item 2 of $val8 val10=$(tmp0)$val7 tmp=!trim positifs,>,$val9,$val10 négatifs,<,$val10,$val9 val11=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!item 1 of $val11 val12=$(tmp0) tmp0=!item 2 of $val11 val13=$(tmp0) tmp0=!item 3 of $val11 val14=$(tmp0) tmp0=!item 4 of $val11 val15=$(tmp0) tmp=!translate ";': to $ $ in $val3*$val4 $val10 $val5*$val6 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val16=$(tmp0) val17=$val3 $val14 $val5 val18=$val4 $val15 $val6 m_context=$val3 $val13 0 $val4 $val13 0 $val5 $val13 0 $val6 $val13 0 $val16 $val17 m_goal=$val18 val19=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val3, $val4, $val5, $val6 $() be four $val12 real numbers with !insmath $val16 $() and !insmath $val17 $(). Prove !insmath $val19 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=3,4,5,6,12,16,17,19 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/def/product.def0000644000175000017500000000270211074456076026334 0ustar georgeskgeorgesk!set title=Given produit !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 author=Gang Xiao email=xiao@unice.fr language=en varcnt=16 prevarcnt=15 postvarcnt=0 replycnt=0 choicecnt=0 conditioncnt=0 feedbackcnt=0 format=html val1=$imagedir !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif m_options=nofloat m_methods=ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides, ineq/trans, ineq/addineq, ineq/mulineq, prf/contrapose m_minsteps=3 tmp=!trim a,b c,d x,y r,s s,t p,q val2=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val2 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val2=$(tmp0) tmp0=!item 1 of $val2 val3=$(tmp0) tmp0=!item 2 of $val2 val4=$(tmp0) tmp0=!randint 3, 20 val5=$[rint($(tmp0))] tmp0=!randint 3, 20 val6=$[rint($(tmp0))] val7=$[rint($val5*$val6)] val8= tmp0=!randitem ,= val9=$(tmp0) val10=<$val9 val11=>$val9 val12=$val3*$val4 $val10 $val7 val13=$val3 $val11 $val5 val14=$val4 $val10 $val6 m_context=$val12 $val13 m_goal=$val14 val15=$m_goal question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Let !insmath $val3 $() and !insmath $val4 $() be two real numbers with !insmath $val12 $() and !insmath $val13 $(). Prove !insmath $val15 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=3,4,12,13,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/intro.phtml0000644000175000017500000000044011215655271025627 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal ejercicios interactivos de deducción de desigualdades: fórmulas simples (suma, cuadrado, producto) en una o varias variables. !read related.phtml Deducción, Desigualdades !read deduc/$module_language/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/Extitles0000644000175000017500000000127111256207602025151 0ustar georgeskgeorgeskboundedsqr1:Delimitar cuadrados I boundedsqr2:Delimitar cuadrados II crossfrac2:Cross fractions II crossfrac:Fracciones fracx1:Simple fraction I fracx2:Simple fraction II fracx3:Simple fraction III majsqr1b:Upper-bound the squrare Ib majsqr2b:Upper-bound the square IIb majsqr2:Upper-bound the square II majsqr3:Upper-bound the square III possqr1:Positive square I possqr2:Positive square II product:Given produit sollin:Linear solve I sumprod2:Sum and product II sumprod3a:Sum and product of 3 I sumprod3b2:Sum and product of 3 II bis sumprod3b:Sum and product of 3 II sumprodb:Sum and product bis sumprod:Sum and product twoprod:Given two products twosqr:Two squares twosqrgiv:Given two squares wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/mkindex0000755000175000017500000000127511256207410025013 0ustar georgeskgeorgesk#! /bin/sh if [ ! -d def ]; then exit; fi rm -f Exindex Extitles >/dev/null cd def list=`ls *.def 2>/dev/null | sed 's/\.def//g'` cd .. if [ -z "$list" ]; then exit; fi titlist= for i in $list do tit=`awk -F= 'NF>=2 {print $2; exit}' def/$i.def | tr ',\11' '; '` echo "$i:$tit" >>Extitles titlist="$titlist$tit " done echo "$titlist" >tmp1 echo "$list" >tmp2 llist=`paste tmp1 tmp2 | sort -f` list=`echo "$llist" | awk -F'\11' 'length()>2 {print $2}' | tr '\n' ','` titlist=`echo "$llist" | awk -F'\11' 'length()>2 {print $1}' | tr '\n' ','` cat >Exindex <<@ !set exolist =!char 1 to -2 of $list !set titlelist=!char 1 to -2 of $titlist !set exototal =!itemcnt \$exolist @ rm -f tmp1 tmp2 wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/var.proc0000644000175000017500000000003311074456076025106 0ustar georgeskgeorgesk !changeto deduc/var.proc wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/images/0000755000175000017500000000000011074456076024702 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/about.phtml0000644000175000017500000000005511074456076025615 0ustar georgeskgeorgesk!changeto deduc/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/main.phtml0000644000175000017500000000005711074456076025431 0ustar georgeskgeorgesk !changeto deduc/$module_language/main.phtml wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/INDEX0000644000175000017500000000115611215652473024226 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Deducción de desigualdades simples description=ejercicios de deducción de desigualdades interactivas, fórmulas simples. language=es category=exercise, deductio domain=álgebra, análisis level=E1,E2,E3,E4,E5,E6,H1,H2,H3,H4,H5,H6,U1,U2,U3,U4,G,R,Lang keywords=desigualdad, cuadrado, producto require=maxima scoring=yes copyright=© 2002- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.24 vardef=deduc/var.def translator=Pilar Ullán translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/0000755000175000017500000000000011256207557024224 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/crossfrac2.ded0000644000175000017500000000135011074456076026750 0ustar georgeskgeorgesk\title{Cross fractions II} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat expand} \text{methrand=random(trans,addineq)} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/\methrand, ineq/mulineq, ineq/sqrpos} \minsteps{3} \text{kind=random(integer, rational number, real number)} \text{x=random(a,b,c,d,r,s,t,u,v,x,y,z)} \matrix{data=>,>=,2,positive <,<=,-2,negative } \text{data=randomrow(\data)} \text{s1=item(1,\data)} \text{sign=item(2,\data)} \text{right=item(3,\data)} \text{posneg=item(4,\data)} \integer{y=random(6..99)} \text{left=expand(\x/\y + \y/\x;)} \text{prv=\left \sign \right} \context{\x \s1 0 } \goal{\prv} \statement{Let \(\x) be a strictly \posneg \kind. Prove \( \prv ) . } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/twosqrgiv.ded0000644000175000017500000000210111074456076026741 0ustar georgeskgeorgesk\title{Given two squares} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/trans, ineq/addineq, ineq/mulineq, prf/contrapose} \matrix{vars=a,b c,d x,y r,s s,t p,q } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \integer{a=random(3..20)} \integer{b=random(3..20)} \integer{prod=\a*\b} \text{empty=} \text{eqr=random(,=)} \text{more=>} \text{less=<} \matrix{data=\x^2 \more \y^2, \x \more= 0, \x \more \y, 2, 4 \x^2 \more \y^2, \x \less= 0, \x \less \y, 3, 3 \x^2 \less \y^2, \y \more= 0, \x \less \y, 2, 4 \x^2 \less \y^2, \y \less= 0, \x \more \y, 3, 3 } \text{data=randomrow(\data)} \text{ctx1=item(1,\data)} \if{random(1,2)=1}{ \text{ctx2=item(2,\data)} \text{prv=item(3,\data)} \integer{stp=item(4,\data)} }{ \text{ctx2=item(3,\data)} \text{prv=item(2,\data)} \integer{stp=item(5,\data)} } \minsteps{\stp} \context{\ctx1 \ctx2} \goal{\prv} \text{oldgoal=\goal} \statement{Let \(\x) and \(\y) be two real numbers with \(\ctx1) and \(\ctx2). Prove \( \oldgoal ). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/sumprod3b.ded0000644000175000017500000000276311074456076026630 0ustar georgeskgeorgesk\title{Sum and product of 3 II} \author{Gang Xiao} \email{xiao@unice.fr} \language{fr} \options{nofloat fixedgoal} \text{methcst=random(constineq,obvineq)} \text{methtra=random(trans,addineq)} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/lincomb, ineq/\methcst, ineq/\methtra, ineq/mulineq, ineq/sqrpos} \minsteps{7} \matrix{vars=x,y,z a,b,c r,s,t l,m,n u,v,w } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \text{z=item(3,\vars)} \integer{n=3*random(10..60)} \integer{N=\n^2/3} \text{range=random(integers, rational numbers, real numbers)} \text{less=random(<,<=)} \text{ctx1=\x + \y + \z \less \n} \text{ctx2=0 \less \x + \y + \z} \text{prv=\x*\y + \x*\z + \y*\z \less \N} \context{\ctx2 \ctx1 } \goal{\prv} \statement{Let \(\x, \y, \z) be three \range such that \( 0 \less \ctx1 ). Prove

\(\prv).
} \if{\newobject != $empty}{ \text{cut=wims(exec mathexp cut inequality \newobject)} \text{left=item(1,\cut)} \text{sign=item(2,\cut)} \text{right=item(3,\cut)} \if{\sign issametext \less}{ \text{test1=simplify(\left-(\prv1))} \text{test2=simplify(\right-(\N))} }{ \text{test1=simplify(\right-(\prv1))} \text{test2=simplify(\left-(\N))} \text{sign=wims(translate internal <> to >< in \sign)} } } \condition{\test1 = 0 and \test2 = 0 and \sign issametext \less} \hint{One should prove

\(\x*\y + \x*\z + \y*\z \less \x^2 + \y^2 + \z^2).

And for this, you should start by \(2*\x*\y \less \x^2 + \y^2), etc. } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/possqr1.ded0000644000175000017500000000076511074456076026322 0ustar georgeskgeorgesk\title{Positive square I} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/trans, ineq/obvineq, ineq/addineq, ineq/mulineq, ineq/splitineq } \minsteps{4} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(2..50)*random(2,-2)} \integer{b=random((\a)^2/4+1..(\a)^2/4+50)} \text{empty=} \function{left=\x^2} \goal{\left >= 0} \text{oldgoal=\goal} \statement{Please show \(\oldgoal) for \(\x in RR). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/twoprod.ded0000644000175000017500000000201611074456076026377 0ustar georgeskgeorgesk\title{Given two products} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/trans, ineq/addineq prf/contrapose} \minsteps{3} \matrix{vars=a,b,c,d x,y,z,t r,s,t,u p,q,r,s } \text{vars=randomrow(\vars)} \text{vars=shuffle(\vars)} \text{a=item(1,\vars)} \text{b=item(2,\vars)} \text{c=item(3,\vars)} \text{d=item(4,\vars)} \text{eqr=random(,=)} \text{moreless=shuffle(>,<)} \text{more=item(1,\moreless)\eqr} \text{less=item(2,\moreless)\eqr} \matrix{data=positifs,>,\more,\less négatifs,<,\less,\more } \text{data=randomrow(\data)} \text{posneg=item(1,\data)} \text{sign=item(2,\data)} \text{sign2=item(3,\data)} \text{sign3=item(4,\data)} \text{ctx1=simplify(\a*\b \less \c*\d)} \text{ctx2=\a \sign2 \c} \text{prv=\b \sign3 \d} \context{\a \sign 0 \b \sign 0 \c \sign 0 \d \sign 0 \ctx1 \ctx2} \goal{\prv} \text{oldgoal=\goal} \statement{Let \(\a, \b, \c, \d) be four \posneg real numbers with \(\ctx1) and \(\ctx2). Prove \( \oldgoal ). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/majsqr2.ded0000644000175000017500000000126011074456076026260 0ustar georgeskgeorgesk\title{Upper-bound the square II} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos} \minsteps{2} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(2..100)} \integer{b=random(2..100)} \integer{c=max(\a,\b)} \integer{sqr=\c^2} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{left=\x \more -\a} \text{right=\x \less \b} \context{\left \right } \statement{Let \(\x) be a real number with \(-\a \less \x \less \b). Prove \( \x^2 \less \sqr ) . } \text{cut=wims(nospace \newobject)} \condition{\cut issametext \x^2\less\sqr} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/fracx3.ded0000644000175000017500000000206011074456076026066 0ustar georgeskgeorgesk\title{Simple fraction III} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp ineq/trans, ineq/addineq, ineq/mulineq, ineq/splitineq} \minsteps{6} \text{x=random(a,b,c,d,p,q,r,s,t,u,v,x,y,z)} \text{sh=shuffle(15)} \integer{a=(item(1,\sh)+1)*random(-1,1)} \integer{b=(item(2,\sh)+1)*random(-1,1)} \integer{c=(item(3,\sh)+1)*random(-1,1)+1} \integer{d=-(\b)} \text{data=randomrow(\data)} \text{s1=item(1,\data)random(,=)} \text{s2=item(2,\data)} \integer{it=item(3,\data)} \function{left=(\x + \a)/(\x + \b)} \real{tester=(\a-(\b))*(\c-1)} \text{eqr=random(,=)} \text{sign=\c>1?>\eqr:<\eqr} \rational{mid=(\b*\c-\a)/(1-(\c))} \text{ctx1=\x != \d} \text{ctx2=\left \sign \c} \if{\tester>0}{ \text{prv1=\x > \d} \text{prv2=\x <\eqr \mid} \text{sol=\d < \x <\eqr \mid} }{ \text{prv1=\x < \d} \text{prv2=\x >\eqr \mid} \text{sol=\mid <\eqr \x < \d} } \context{\ctx1 \ctx2} \goal{\prv1 \prv2} \statement{ Solve the inequality \(\ctx2). (\(\ctx1))

(The solution is \(\sol).) } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/sumprod3a.ded0000644000175000017500000000253311074456076026622 0ustar georgeskgeorgesk\title{Sum and product of 3 I} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat fixedgoal} \text{methcst=random(constineq,obvineq)} \text{methtra=random(trans,addineq)} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/lincomb, ineq/\methcst, ineq/\methtra, ineq/mulineq, ineq/sqrpos} \minsteps{8} \matrix{vars=x,y,z a,b,c r,s,t l,m,n u,v,w } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \text{z=item(3,\vars)} \integer{n=random(8..30)} \integer{N=\n^3} \text{range=random(rational numbers, real numbers)} \text{less=random(<,<=)} \text{ctx1=\x + \y + \z \less \n} \text{ctx2=0 <= \x} \text{ctx3=0 <= \y} \text{ctx4=0 <= \z} \text{prv=\x*\y*\z \less \N} \context{\ctx1 \ctx2 \ctx3 \ctx4 } \goal{\prv} \statement{Let \(\x, \y, \z) be three non-negative \range such that \( \ctx1 ). Prove

\(\prv).
} \if{\newobject != $empty}{ \text{cut=wims(exec mathexp cut inequality \newobject)} \text{left=item(1,\cut)} \text{sign=item(2,\cut)} \text{right=item(3,\cut)} \if{\sign issametext \less}{ \text{test1=simplify(\left-(\x*\y*\z))} \text{test2=simplify(\right-(\N))} }{ \text{test1=simplify(\right-(\x*\y*\z))} \text{test2=simplify(\left-(\N))} \text{sign=wims(translate internal <> to >< in \sign)} } } \condition{\test1 = 0 and \test2 = 0 and \sign issametext \less} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/boundedsqr1.ded0000644000175000017500000000166711215660500027125 0ustar georgeskgeorgesk\title{Delimitar cuadrados I} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \environ{QQ} \options{nofloat} \text{methcst=random(constineq,obvineq)} \text{methnum=random(mulnum, divnum)} \text{methadd=random(addnum, addterm)} \text{methsid=random(addineq, trans)} \text{methoth=random(ineq/sqrpos, ineq/splitineq, prf/splitgoal, exp/rewrite)} \methods{ineq/\methadd, ineq/\methnum, ineq/exsides, ineq/\methcst, ineq/\methsid, ineq/mulineq, \methoth,prf/contrapose} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(8..60)} \integer{sqr=\a^2} \text{empty=} \integer{ra=random(1,2)} \if{\ra=1}{\minsteps{2}}{\minsteps{3}} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{prv=item(\ra,\x \less \a, \x \more -\a)} \text{ctx=\x^2 \less \sqr} \context{\ctx} \goal{\prv} \text{oldgoal=\goal} \statement{Sea \(\x) un número real con \(\ctx = \a^2). Probar \( \oldgoal ) . } \hint{ Es necesaria una prueba por contradicción. } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/.htaccess0000644000175000017500000000001611074456076026017 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/fracx1.ded0000644000175000017500000000212611074456076026067 0ustar georgeskgeorgesk\title{Simple fraction I} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat askresult} \methods{ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides} \minsteps{3} \text{x=random(a,b,c,d,p,q,r,s,t,u,v,x,y,z)} \text{sh=shuffle(15)} \integer{a=(item(1,\sh)+1)*random(-1,1)} \integer{b=(item(2,\sh)+1)*random(-1,1)} \integer{c=(item(3,\sh)+1)} \integer{d=-(\b)} \matrix{data=>,<,1 <,>,-1 } \text{data=randomrow(\data)} \text{s1=item(1,\data)} \text{s2=item(2,\data)} \integer{it=item(3,\data)} \function{left=(\x + \a)/(\x + \b)} \real{tester=(\a-(\b))*(\it)} \integer{c=\tester>0?1+\c:1-\c} \text{sign=random(<,>,<=,>=)} \equivalence{\left \sign \c} \context{\x \s1 \d} \statement{ Solve the inequality \(\left \sign \c), under the condition \(\x \s1 \d).

The goal of the exercise is to transform the given inequality into an equivalent one whose left side is \x, and whos right side is a constant. } \text{cut=wims(translate internal <=> to , , in \equivalence)} \text{newleft=item(1,\cut)} \text{newright=item(2,\cut)} \condition{\newleft issametext \x and \x notin \newright} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/twosqr.ded0000644000175000017500000000157511074456076026251 0ustar georgeskgeorgesk\title{Two squares} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/divexp, ineq/trans, ineq/addineq, ineq/exsides, prf/contrapose} \matrix{vars=a,b c,d x,y r,s s,t p,q } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \integer{a=random(3..20)} \integer{b=random(3..20)} \integer{prod=\a*\b} \text{empty=} \text{eqr=random(,=)} \text{more=>\eqr} \text{less=<\eqr} \matrix{data=\x^2 \more \y^2, \y \more 0, \x \more \y \x^2 \more \y^2, \y \less 0, \x \less \y \x^2 \less \y^2, \x \more 0, \x \less \y \x^2 \less \y^2, \x \less 0, \x \more \y } \text{data=randomrow(\data)} \text{prv=item(1,\data)} \text{ctx1=item(2,\data)} \text{ctx2=item(3,\data)} \minsteps{4} \context{\ctx1 \ctx2} \goal{\prv} \statement{Let \(\x) and \(\y) be two real numbers with \(\ctx1) and \(\ctx2). Prove \( \prv ). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/sumprod3b2.ded0000644000175000017500000000360511074456076026706 0ustar georgeskgeorgesk\title{Sum and product of 3 II bis} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat fixedgoal} \text{methcst=random(constineq,obvineq)} \text{methtra=random(trans,addineq)} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/lincomb, ineq/\methcst, ineq/\methtra, ineq/mulineq, ineq/sqrpos} \minsteps{8} \matrix{vars=x,y,z a,b,c r,s,t l,m,n u,v,w } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \text{z=item(3,\vars)} \text{eqr=random(,=)} \text{less=random(<,<=)} \text{less2=random(<,<=)} \text{more2=random(>,>=)} \integer{n=random(20..100)} \integer{N=\n^2/3+random(10..200)} \text{range=random(integers, rational numbers, real numbers)} \matrix{signs= +,+, ,+,+,\less2,\N +,-, ,-,-,\less2,\N -,+, ,-,+,\more2,-\N -,-, ,+,-,\more2,-\N +,-,-,+,+,\more2,-\N -,+,-,+,-,\less2,\N -,-,-,-,+,\less2,\N } \text{signs=randomrow(\signs)} \text{sign1=item(1,\signs)} \text{sign2=item(2,\signs)} \text{sign3=item(3,\signs)} \text{sign4=item(4,\signs)} \text{sign5=item(5,\signs)} \text{sign6=item(6,\signs)} \text{sign7=item(7,\signs)} \text{ctx1=\x \sign1 \y \sign2 \z \less \n} \text{ctx2=0 \less \x \sign1 \y \sign2 \z} \text{prv1=\sign3\x*\y \sign4 \x*\z \sign5 \y*\z} \text{prv=\prv1 \sign6 \sign7} \context{\ctx2 \ctx1 } \goal{\prv} \statement{Let \(\x, \y, \z) be three \range such that \( 0 \less \ctx1 ). Prove

\(\prv).
} \if{\newobject != $empty}{ \text{cut=wims(exec mathexp cut inequality \newobject)} \text{left=item(1,\cut)} \text{sign=item(2,\cut)} \text{right=item(3,\cut)} \if{\sign issametext \sign6}{ \text{test1=simplify(\left-(\prv1))} \text{test2=simplify(\right-(\sign7))} }{ \text{test1=simplify(\right-(\prv1))} \text{test2=simplify(\left-(\sign7))} \text{sign=wims(translate internal <> to >< in \sign)} } } \condition{\test1 issametext 0 and \test2 issametext 0 and \sign issametext \sign6} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/majsqr2b.ded0000644000175000017500000000133011074456076026420 0ustar georgeskgeorgesk\title{Upper-bound the square IIb} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos} \minsteps{4} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(2..100)} \integer{b=random(2..100)} \integer{c=max(\a,\b)} \integer{sqr=\c^2} \integer{Sqr=\sqr+random(2..200)} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{left=\x \more -\a} \text{right=\x \less \b} \text{goal=\x^2<\Sqr} \context{\left \right } \statement{Let \(\x) be a real number \(-\a \less \x \less \b). Prove \( \x^2 < \Sqr ) . } \text{cut=wims(nospace \newobject)} \condition{\cut issametext \goal} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/fracx2.ded0000644000175000017500000000164411074456076026074 0ustar georgeskgeorgesk\title{Simple fraction II} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides ineq/trans, ineq/addineq, ineq/mulineq} \minsteps{4} \text{x=random(a,b,c,d,p,q,r,s,t,u,v,x,y,z)} \text{sh=shuffle(15)} \integer{a=(item(1,\sh)+1)*random(-1,1)} \integer{b=(item(2,\sh)+1)*random(-1,1)} \integer{c=(item(3,\sh)+1)} \matrix{data=>,<,1 <,>,-1 } \text{data=randomrow(\data)} \text{s1=item(1,\data)random(,=)} \text{s2=item(2,\data)} \integer{it=item(3,\data)} \integer{d=-(\b)+(\it)*random(1..10)} \function{left=(\x + \a)/(\x + \b)} \real{tester=(\d+(\a))/(\d+(\b))} \integer{c=\tester>1?1-\c:1+\c} \text{s2=\tester>1?<:>} \text{eqr=random(,=)} \text{sign=\s2\eqr} \text{ctx1=\x \s1 \d} \text{ctx2=\left \sign \c} \context{\ctx1 \ctx2} \goal{contradiction} \statement{ Prove that the inequality \(\left \sign \c) has no solution when \(\x \s1 \d). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/sollin.ded0000644000175000017500000000171411074456076026205 0ustar georgeskgeorgesk\title{Linear solve I} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat askresult} \methods{ineq/addterm, ineq/mulnum, ineq/divnum, ineq/exsides} \minsteps{2} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{c=random(2..20)*random(-1,1)} \integer{d=random(1..20)*random(-1,1)} \function{left=\a*x + \d} \text{sign=random(<,<=,>,>=)} \function{right=\b*x + \c*y} \text{rightvar=} \equivalence{\left \sign \right} \statement{ Solve for \y the inequality \(\left \sign \right).

The goal of the exercise is to transform the given inequality into an equivalent one where the left part is \y, and the right part is an expression of \x. } \text{cut=wims(translate internal <=> to , , in \equivalence)} \text{newleft=item(1,\cut)} \text{newright=item(2,\cut)} \text{rightvar=wims(varlist \newright)} \text{empty=} \condition{\newleft issametext y and (\rightvar issametext x or \rightvar issametext \empty)} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/majsqr1b.ded0000644000175000017500000000125211074456076026422 0ustar georgeskgeorgesk\title{Upper-bound the squrare Ib} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq ineq/sqrpos} \minsteps{4} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(2..100)} \integer{sqr=\a^2} \integer{Sqr=\sqr+random(2..200)} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{goal=\x^2<\Sqr} \text{left=\x \more -\a} \text{right=\x \less \a} \context{\left \right } \statement{Let \(\x) be a real number with \(-\a \less \x \less \a). Prove \( \x^2 < \Sqr ) . } \text{cut=wims(nospace \newobject)} \condition{\cut issametext \goal} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/majsqr3.ded0000644000175000017500000000166611074456076026273 0ustar georgeskgeorgesk\title{Upper-bound the square III} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos} \minsteps{2} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(10..50)} \integer{b=random(10..50)} \integer{c=random(1..20)*random(-1,1)} \integer{d=max(\a-(\c),\b+(\c))} \integer{sqr=\d^2} \function{fn=\x+\c} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{left=\x \more -\a} \text{right=\x \less \b} \context{\left \right } \statement{Find the best upper bound for \((\fn)^2), when

\(-\a \less \x \less \b) .
} \text{test=} \text{cut=wims(translate internal <=> to , ; in \newobject)} \if{; notin \cut and , isin \cut}{ \text{left=item(1,\cut)} \text{right=item(2,\cut)} \text{test=yacas(Simplify((\fn)^2 - (\left)))} } \condition{\test issametext 0 and \right = \sqr} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/boundedsqr2.ded0000644000175000017500000000172011215660601027116 0ustar georgeskgeorgesk\title{Delimitar cuadrados II} \author{Gang Xiao} \email{xiao@unice.fr} \language{fr} \environ{QQ} \options{nofloat} \text{methcst=random(constineq,obvineq)} \text{methnum=random(mulnum, divnum)} \text{methadd=random(addnum, addterm)} \text{methsid=random(addineq, trans)} \text{methoth=random(ineq/sqrpos, ineq/splitineq, prf/splitgoal, exp/rewrite)} \methods{ineq/\methadd, ineq/\methnum, ineq/exsides, ineq/\methcst, ineq/\methsid, ineq/mulineq, \methoth,prf/contrapose} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(8..60)} \integer{sqr=\a^2} \text{empty=} \integer{ra=random(1,2)} \if{\ra=1}{\minsteps{2}}{\minsteps{3}} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{prv=item(\ra,\x \more \a, \x \less -\a)} \text{ctx1=\x^2 \more \sqr} \text{ctx2=item(\ra,\x >random(,=) 0, \x } \text{pos=-\n \less a + b} \text{ltn=a + b \less \n} \context{\pos \ltn } \statement{Let \a and \b be two integers such that \(-\n \less a + b \less \n). Prove

\( a*b \less2 \s ) .
} \text{cut=wims(nospace \newobject)} \text{ab=a*b} \text{ba=b*a} \condition{\cut iswordof \ab\less2\s \ba\less2\s \s\grt2\ab \s\grt2\ba } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/sumprod2.ded0000644000175000017500000000144411074456076026460 0ustar georgeskgeorgesk\title{Sum and product II} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/rewrite, ineq/simpdeduc, ineq/lincomb, ineq/mulnum, ineq/divnum, ineq/addineq, ineq/mulineq, ineq/sqrpos} \minsteps{4} \matrix{vars=a,b c,d r,s s,t u,v x,y } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \text{kind=random(rational numbers, real numbers)} \text{cs=shuffle(25)} \integer{c1=item(1,\cs)+2} \integer{c2=item(2,\cs)+2} \integer{n=random(50..100)*2} \rational{s=\n^2/(4*\c1*\c2)} \text{less=random(<,<=)} \function{sum=\c1*\x + \c2*\y} \text{ltn=\sum \less \n} \context{\x > 0 \y > 0 \ltn } \text{prv=\x*\y \less \s} \goal{\prv} \statement{Let \(\x) and \(\y) be two positive \kind such that \(\ltn). Prove

\( \prv ) .
} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/crossfrac.ded0000644000175000017500000000146311256204214026656 0ustar georgeskgeorgesk\title{Fracciones} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat expand} \text{methrand=random(trans,addineq)} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/\methrand, ineq/mulineq, ineq/sqrpos} \minsteps{3} \text{kind=random(enteros, números reales, números racionales)} \matrix{vars=a,b c,d x,y r,s s,t p,q } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \matrix{data=>,>,>=,2 <,<,>=,2 <,>,<=,-2 >,<,<=,-2 } \text{data=randomrow(\data)} \text{s1=item(1,\data)} \text{s2=item(2,\data)} \text{sign=item(3,\data)} \text{right=item(4,\data)} \text{left=maxima(\x/\y + \y/\x;)} \text{prv=\left \sign \right} \context{\x \s1 0 \y \s2 0 } \goal{\prv} \statement{Sea \(\x) y \(\y) dos \kind con \(\x \s1 0) y \(\y \s2 0). Probar \( \prv ) . } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/possqr2.ded0000644000175000017500000000100111074456076026303 0ustar georgeskgeorgesk\title{Positive square II} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/rewrite, ineq/simpdeduc, ineq/mulexp, ineq/divexp, ineq/trans, ineq/obvineq, ineq/addineq, ineq/mulineq, ineq/splitineq } \minsteps{6} \text{x=random(a,b,c,d,r,s,t,x,y,z)} \integer{a=random(2..50)*random(2,-2)} \integer{b=random((\a)^2/4+1..(\a)^2/4+50)} \text{empty=} \function{left=\x^2 + \a*\x + \b} \goal{\left > 0} \text{oldgoal=\goal} \statement{Please show \(\oldgoal) for \(\x in RR). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/product.ded0000644000175000017500000000132611074456076026364 0ustar georgeskgeorgesk\title{Given produit} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulexp, ineq/divexp, ineq/exsides, ineq/trans, ineq/addineq, ineq/mulineq, prf/contrapose} \minsteps{3} \matrix{vars=a,b c,d x,y r,s s,t p,q } \text{vars=randomrow(\vars)} \text{x=item(1,\vars)} \text{y=item(2,\vars)} \integer{a=random(3..20)} \integer{b=random(3..20)} \integer{prod=\a*\b} \text{empty=} \text{eqr=random(,=)} \text{less=<\eqr} \text{more=>\eqr} \text{ctx1=\x*\y \less \prod} \text{ctx2=\x \more \a} \text{prv=\y \less \b} \context{\ctx1 \ctx2} \goal{\prv} \text{oldgoal=\goal} \statement{Let \(\x) and \(\y) be two real numbers with \(\ctx1) and \(\ctx2). Prove \( \oldgoal ). } wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/sumprod.ded0000644000175000017500000000115711074456076026377 0ustar georgeskgeorgesk\title{Sum and product} \author{Gang Xiao} \email{xiao@unice.fr} \language{en} \options{nofloat} \methods{ineq/addterm, ineq/mulnum, ineq/divnum, ineq/exsides, ineq/trans, ineq/constineq, ineq/addineq, ineq/mulineq, ineq/sqrpos} \minsteps{7} \integer{n=random(100..200)} \integer{s=ceil(\n^2/4)+random(100..500)} \text{lt1=random(<,<=)} \text{less=random(<,<=)} \text{less2=<} \text{grt2=>} \text{pos=0 \lt1 a + b} \text{ltn=a + b \less \n} \context{\pos \ltn } \goal{a*b \less2 \s} \text{oldgoal=\goal} \statement{Let \a and \b be two integers such that \(0 \lt1 \ltn). Prove

\( \oldgoal ) .
} wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/src/Makefile0000644000175000017500000000003011256207557025655 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/endhook.phtml0000644000175000017500000000010211074456076026123 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/help.phtml0000644000175000017500000000005411074456076025432 0ustar georgeskgeorgesk!changeto deduc/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H5/analysis/dedineq.es/Exindex0000644000175000017500000000143511256207602024756 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of crossfrac2,boundedsqr1,boundedsqr2,crossfrac,product,twoprod,twosqrgiv,sollin,possqr2,possqr1,fracx1,fracx2,fracx3,sumprodb,sumprod2,sumprod3b2,sumprod3b,sumprod3a,sumprod,twosqr,majsqr2b,majsqr3,majsqr2,majsqr1b, !set titlelist=!char 1 to -2 of Cross fractions II,Delimitar cuadrados I,Delimitar cuadrados II,Fracciones,Given produit,Given two products,Given two squares,Linear solve I,Positive square II,Positive square I,Simple fraction I,Simple fraction II,Simple fraction III,Sum and product bis,Sum and product II,Sum and product of 3 II bis,Sum and product of 3 II,Sum and product of 3 I,Sum and product,Two squares,Upper-bound the square IIb,Upper-bound the square III,Upper-bound the square II,Upper-bound the squrare Ib, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H5/geometry/0000755000175000017500000000000011262661013021412 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/0000755000175000017500000000000010332644755023776 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/0000755000175000017500000000000010332644755024534 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/hauteur.def0000644000175000017500000000534010332642655026670 0ustar georgeskgeorgesk!set title=Producto escalar y altura !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=René Chaffard email=chafrene@club-internet.fr computeanswer=no precision=1000 ansorder=r varcnt=14 prevarcnt=13 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=!randitem a,b,c val6=$(tmp0) tmp0=!shuffle A,B,C val7=$(tmp0) val8=$(val7[1]) val9=$(val7[2]) val10=$(val7[3]) tmp0=!randint 2, 8 val11=$[rint($(tmp0))] tmp0=!randint 2, 8 val12=$[rint($(tmp0))] val13=$[rint(abs($val11-$val12)+1)] val14=$[rint($val11+$val12-1)] tmp0=!randint $val13, $val14 val15=$[rint($(tmp0))] tmp=!translate ";': to $ $ in ($val11^2+$val12^2-$val15^2)/2 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val16=$(tmp0) tmp=!translate ";': to $ $ in ($val16)/($val12^2) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); t_=!replace internal \( by ( in $(tmp0) tmp1=!exec maxima $t_ val17=$(tmp1) tmp0=!shuffle \($val8$val9 = $val11 ) , \($val9$val10 = $val15) , \($val10$val8 = $val12) val18=$(tmp0) replytype1=formal replyname1=\(k) replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ help=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Se considera el triángulo !insmath ABC $() tal que :

$(val18[1]), $(val18[2]), $(val18[3]).

Sea !insmath H $() le pie de la altura trazada desde el vértice !insmath $val8 $(). Calcular !insmath k $() tal que :

!insmath \overrightarrow{$val9 H} = k \overrightarrow{$val9$val10} $()

$() !exit :hint $() $() !exit :help $() Tres definiciones de producto escalar:

!insmath \overrightarrow{AB} \cdot \overrightarrow{AC} = \frac{1}{2} ( AB^2 + AC^2 - BC^2 ) $()

( $m_overrightarrow{AB} $m_cdot $m_overrightarrow{AC} = AB AC cos( $m_hat{A} ) )

Si !insmath H $() es el pie de la altura trazada desde !insmath C $(), entonces:

!insmath \overrightarrow{AB} \cdot \overrightarrow{AC} = \overrightarrow{AH} \cdot \overrightarrow{AB} = k AB^2 $()

adaptar esta igualdad a la cuestión propuesta $() !exit :solution $() Se calcula el producto escalar :

!insmath \overrightarrow{$val9$val8} \cdot \overrightarrow{$val9$val10} $()

que es igual a $val16. Por tanto :

!insmath $val16 = k * $val12^2 $()

$() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,12,16,18 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/cosinus.def0000644000175000017500000000470410332641040026664 0ustar georgeskgeorgesk!set title=Producto escalar y coseno !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=René Chaffard email=chafrene@club-internet.fr computeanswer=no precision=1000 ansorder=r varcnt=14 prevarcnt=13 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=0 feedbackcnt=1 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!randitem a,b,c val6=$(tmp0) tmp0=!shuffle A,B,C val7=$(tmp0) val8=$(val7[1]) val9=$(val7[2]) val10=$(val7[3]) tmp0=!randint 2, 8 val11=$[rint($(tmp0))] tmp0=!randint 2, 8 val12=$[rint($(tmp0))] val13=$[rint(abs($val11-$val12)+1)] val14=$[rint($val11+$val12-1)] tmp0=!randint $val13, $val14 val15=$[rint($(tmp0))] tmp=!translate ";': to $ $ in ($val11^2+$val12^2-$val15^2)/2 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val16=$(tmp0) tmp0=!shuffle \($val8$val9 = $val11 ) , \($val9$val10 = $val15) , \($val10$val8 = $val12) val17=$(tmp0) tmp=!translate ";': to $ $ in ($val16)/($val11*$val12) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val18=$(tmp0) replyname1=cosinus : replygood1=$val18 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Se considera un triángulo !insmath ABC $() tal que :

$(val17[1]), $(val17[2]), $(val17[3]).

Calcular

!insmath cos(\widehat{\overrightarrow{$val8$val9},\overrightarrow{$val8$val10}}) $() = !read oef/embed.phtml reply1,10 $().

$() !exit :hint $()Dos estrategias equivalentes :
  • comenzar por calcular un producto escalar convenientemente elegido y considerar la fórmula :
    !insmath \overrightarrow{$val8$val9} \cdot \overrightarrow{$val8$val10} = $val8$val9.$val8$val10.\cos(\hat{A}) $()
  • utilizar el teorema de Al-Kashi
$() !exit :help $() $() !exit :solution $()
!insmath \overrightarrow{$val8$val9} \cdot \overrightarrow{$val8$val10} = $val16 $() donc : !insmath $val16 = $val12\times $val11\times cos(\widehat{\overrightarrow{$val8$val9},\overrightarrow{$val8$val10}}) $() $() !exit :feedback !ifval $m_reply1<-1 or $m_reply1>1

Atención ! el valor del coseno de un ángulo debe pertenecer al intervalo [-1,1] $() !endif !exit :test !exit :stat vsavelist=8,9,10,11,12,16,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/.htaccess0000644000175000017500000000001606634516636026335 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/niveaups.def0000644000175000017500000001566110332644755027057 0ustar georgeskgeorgesk!set title=Producto escalar y conjunto de puntos* !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=René Chaffard email=chafrene@club-internet.fr computeanswer=no precision=1000 leftrange=-5.000000 rightrange=5.000000 ansorder=r,r,r varcnt=62 prevarcnt=61 postvarcnt=0 replycnt=3 choicecnt=0 conditioncnt=0 feedbackcnt=1 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp=!nonempty items $val2 tmp0=!randitem $tmp val6=$(tmp0) !ifval $val6 iswordof 1 2 3 4 5 val6= $val6 !else tmp0=!randint 1, 5 val6= $(tmp0) !endif tmp0=!randint 2, 8 val7=$[rint($(tmp0))] !ifval $val6=2 tmp0=!randint 2, 6 val7=$[rint( $(tmp0))] !endif !ifval $val6 = 5 val8= un círculo de diámtero sobre \((AB)) !endif !ifval $val6 <> 5 val8= un círculo de centro distinto de \(I) !endif val9=-$val7-2,$val7+2 val10=-$val7-2,$val7+2 tmp=!nonempty items 0,20,30,60,90,120 tmp0=!randitem $tmp val11=$(tmp0) val12=animate 25,0.2,0 xrange $val10 yrange $val9 rotate $val11 text black, -$val7/2,0,medium, A text black, $val7/2, 0,medium, B line $(val10[1]),0,$(val10[2]),0,black linewidth 2 line -$val7/2,0,$val7/2,0,blue disk -$val7/2,0,5,blue disk $val7/2,0,5,blue linewidth 1 val13=el conjunto vacío,una recta perpendicular a \((AB)),una recta paralela a (AB),un círculo de centro \( I),un único punto \( I),$val8 !if $val6=1 tmp0=!randint -4, 4 val14=$[rint($(tmp0))] val15=2 tmp=!translate ";': to $ $ in $val14/($val7^2) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val16=$(tmp0) val17=$val16 val18=reply1 reply2 val19=\(\special{color=green} \vec{AM} \cdot \vec{AB} = $val14 ) val20=$(val9[1])+s*($(val9[2])-$(val9[1])) val12=$val12 line $val16*$val7-$val7/2,$(val9[1]),$val16*$val7-$val7/2,$(val9[2]), green text red, $val16*$val7-$val7/2,$val20, medium, M dline -$val7/2,0,$val16*$val7-$val7/2,$val20,red !endif !if $val6=2 tmp0=!randint -6, 6 val14=$[rint($(tmp0))] val21=$[rint((4*$val14+$val7^2))] !ifval $val21>0 tmp=!translate ";': to $ $ in sqrt($val21)/2 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val22= $(tmp0) !endif val17=$val22 !if $val21>0 val15=4 !else !ifval $val21<0 val15= 1 !else val15= 5 !endif !endif val18=reply 1 !ifval $val21>0 val18= $val18 reply 2 !endif val19=\( \special{color=green}\vec{AM} \cdot \vec{BM} = $val14 ) val12=$val12 trange 0,2*pi plot red, $val22*cos(t),$val22*sin(t) text red , $val22*cos(2*pi*s),$val22*sin(2*pi*s),medium,M dlines red, -$val7/2,0,$val22*cos(2*pi*s),$val22*sin(2*pi*s),$val7/2,0 !endif !if $val6=3 tmp0=!randint 0, 20 val14=$[rint($(tmp0))] val21=$[rint((2*$val14-$val7^2))] !ifval $val21>0 tmp=!translate ";': to $ $ in sqrt($val21)/2 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val22= $(tmp0) !endif val17=$val22 !if $val21>0 val15=4 !else !if $val21<0 val15=1 !else val15=5 !endif !endif val18=reply 1 !ifval $val21>0 val18= $val18 reply 2 !endif val19=\( AM^2 + BM^2 = $val14 ) val12=$val12 trange 0,2*pi plot red, $val22*cos(t),$val22*sin(t) text red , $val22*cos(2*pi*s),$val22*sin(2*pi*s),medium,M dlines red, -$val7/2,0,$val22*cos(2*pi*s),$val22*sin(2*pi*s),$val7/2,0 !endif !if $val6=4 tmp0=!randint -4, 4 val14=$[rint($(tmp0))] val15=2 tmp=!translate ";': to $ $ in ($val14+$val7^2)/(2*$val7^2) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val17=$(tmp0) val18=reply 1 reply 2 val19=\(AM^2 - BM^2 = $val14) val20=$(val9[1])+s*($(val9[2])-$(val9[1])) val12=$val12 line $val17*$val7-$val7/2,$(val9[1]),$val17*$val7-$val7/2,$(val9[2]), green text red, $val17*$val7-$val7/2,$val20, medium, M dline -$val7/2,0,$val17*$val7-$val7/2,$val20,red !endif !if $val6=5 tmp0=!randint 2, 4 val14=$[rint($(tmp0))] val15=6 tmp=!translate ";': to $ $ in $val14/($val14+1) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val17=$(tmp0) tmp=!translate ";': to $ $ in $val14/($val14-1) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val23=$(tmp0) val18=reply 1 reply 2, reply 3 val19=\( AM = $val14 BM ) val24=$[-$val7/2+$val17*$val7] val25=$[-$val7/2+$val23*$val7] val22=$[($val25-($val24))/2] val26=$[($val24+$val25)/2] val12=$val12 trange 0,2*pi plot red, $val26+($val22*cos(t)),$val22*sin(t) text red , $val26+$val22*cos(2*pi*s),$val22*sin(2*pi*s),medium,M dlines red, -$val7/2,0,$val26+$val22*cos(2*pi*s),$val22*sin(2*pi*s),$val7/2,0 !endif !ifval $val6 =4 or $val6=1 val27= \(k) !endif !ifval $val6 =2 or $val6=3 val27= Rayon !endif !ifval $val6 =5 val27= \(k_1) !endif oefsteps=$val18 nextstep=!nosubst $val18 !readproc oef/steps.proc replytype1=radio replyname1=Nature replygood1=$val15;$val13 replytype2=formal replyname2=$val27 replygood2=$val17 replytype3=formal replyname3=\( k_2 ) replygood3=$val23 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Se consideran dos puntos !insmath A $() y !insmath B $() del plano tales que !insmath AB $() = $val7. El punto medio de !insmath [AB] $() lo denotaremos por !insmath I $(). Determinar el conjunto de puntos !insmath M $() tales que :

$val19.


!if $m_step=1 $()Determinemos en primer lugar la naturaleza del conjunto buscado. Es
  • !read oef/embed.phtml reply1,1 $()
  • !read oef/embed.phtml reply1,2 $()
  • !read oef/embed.phtml reply1,3 $()
  • !read oef/embed.phtml reply1,4 $()
  • !read oef/embed.phtml reply1,5 $()
  • !read oef/embed.phtml reply1,6 $()
!endif $() !if $m_step=2 and $val6=1 $()Sea !insmath H $() el punto de intersección de la recta buscada con !insmath (AB) $().
Se tiene entonces

!insmath \vec{AH} = k \vec{AB} $()

Determinemos !insmath k $(). !endif $() !if $m_step=2 and $m_n=2 and $val6=2 $()Determinemos el radio !endif $() !if $m_step=2 and $val6=5 $()El diámetro esá sobre !insmath (AB) $(), denotaremos por !insmath H $() y !insmath K $() los extremos de ese diámetro. Se tiene entonces

!insmath \vec{AH} = k_1 \vec{AB} $() et !insmath \vec{AK} = k_2 \vec{AB} $().

Determinamos !insmath k_1 $() et !insmath k_2 $() où !insmath k_1 < k_2 $(). !endif $() !if $m_step=2 and $val6=4 $()Sea !insmath H $() el punto de intersección de la recta buscada con !insmath (AB) $(). Se tiene entonces

!insmath \vec{AH} = k \vec{AB} $() .

Determinamos !insmath k $(). !endif $() !if $m_step=2 and $m_n=2 and $val6=3 $()Determinamos el radio del círculo. Se podrá utilizar si es necesario la función (raíz cuadrada) sqrt, sqrt(2) = !insmath \sqrt{2} $() !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !ifval 1=1

!read oef/draw.phtml 200,200 \ $val12 $()
$() !endif !exit :test !exit :stat vsavelist=6,7,12,19 embedcnt=6 wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/scalaire.def0000644000175000017500000000433510332643232026771 0ustar georgeskgeorgesk!set title=Cálculo del producto escalar !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=René Chaffard email=chafrene@club-internet.fr computeanswer=no precision=1000 ansorder=r varcnt=15 prevarcnt=14 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=!shuffle A,B,C val6=$(tmp0) val7=$(val6[1]) val8=$(val6[2]) val9=$(val6[3]) tmp0=!randint 2, 8 val10=$[rint($(tmp0))] tmp0=!randint 2, 8 val11=$[rint($(tmp0))] val12=$[rint(abs($val10-$val11)+1)] val13=$[rint($val10+$val11-1)] tmp0=!randint $val12, $val13 val14=$[rint($(tmp0))] val15=$[rint(($val10)^2)] val16=$[rint(($val11)^2)] val17=$[rint(($val14)^2)] tmp=!translate ";': to $ $ in ($val15+$val16-$val17)/2 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val18=$(tmp0) tmp0=!shuffle \($val7$val8 = $val10 ) , \($val8$val9 = $val14) , \($val9$val7 = $val11) val19=$(tmp0) replytype1=numeric replyname1=Producto escalar replygood1=$[$val18] question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Se considera el triángulo !insmath ABC $() tal que

$(val19[1]), $(val19[2]), $(val19[3]).

Calcular el producto escalar

!insmath \special{color=green} \vec{$val7$val8} \cdot \vec{$val7$val9} $() = !read oef/embed.phtml reply1 $() .

$() !exit :hint $()Teniendo en cuenta que los tres lados del triángulo son conocidos, podemos utilizar la definición de producto escalar empleando la distancias:

!insmath \vec{$val7$val8} \cdot \vec{$val7$val9} = \frac{1}{2} ($val7$val8^2 + $val7$val9^2 - $val8$val9^2) $()

$() !exit :help $() $() !exit :solution $() !insmath \vec{$val7$val8} \cdot \vec{$val7$val9} $() = !insmath ($val7 $val8^2 + $val7 $val9^2 - $val8 $val9^2) /2 = ($val10^2 + $val11^2 - $val14^2)/2 = ($val15 + $val16 - $val17)/2 = $val18 $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,14,15,16,17,18,19 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/def/bary.def0000644000175000017500000000760110332640436026145 0ustar georgeskgeorgesk!set title=Distancia y baricentro !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=René Chaffard email=chafrene@club-internet.fr computeanswer=no precision=1000 leftrange=-5.000000 rightrange=5.000000 ansorder=r,r,r,r varcnt=23 prevarcnt=22 postvarcnt=0 replycnt=4 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=!randitem a,b,c val6=$(tmp0) tmp0=!shuffle A,B,C val7=$(tmp0) val8=$(val7[1]) val9=$(val7[2]) val10=$(val7[3]) tmp0=!randint 2, 5 val11=$[rint($(tmp0))] tmp0=!randint 2, 5 val12=$[rint($(tmp0))] val13=$[rint(abs($val11-$val12)+1)] val14=$[rint($val11+$val12-1)] tmp0=!randint $val13, $val14 val15=$[rint($(tmp0))] tmp=!translate ";': to $ $ in (($val11)^2+($val12)^2-($val15)^2)/2 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val16=$(tmp0) tmp0=!randint 1, 4 tmp1=!randitem -1,1 val17=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 4 tmp1=!randitem -1,1 val18=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 4 tmp1=!randitem -1,1 val19=$[rint($(tmp0)*$(tmp1))] val20=$[rint($val17+$val18+$val19)] !if $val20=0 val19=$[rint(2*$val19)] !endif val20=$[rint($val17+$val18+$val19)] tmp=!translate ";': to $ $ in $val17/$val20 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val21=$(tmp0) tmp=!translate ";': to $ $ in $val18/$val20 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val22=$(tmp0) tmp=!translate ";': to $ $ in sqrt(($val21*$val11)^2+($val22*$val12)^2+2*$val21*$val22*$val16) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val23=$(tmp0) val24=$val8 G tmp0=!shuffle \($val8$val9 = $val11 ) , \($val9$val10 = $val15) , \($val10$val8 = $val12) val25=$(tmp0) oefsteps=reply 1,reply 2 reply 3 reply 4 nextstep=!nosubst reply 1,reply 2 reply 3 reply 4 !readproc oef/steps.proc replyname1=\(k_1) replygood1=$val21 replyname2=\(k_2) replygood2=$val22 replyname3=Producto escalar replygood3=$val16 replytype4=formal replyname4=Distancia \($val24) replygood4=$val23 question=__EXECUTED_1692754_EXERCISE__ help=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Se considera el triángulo !insmath ABC $() tal que :

$(val25[1]), $(val25[2]), $(val25[3]).

Sea !insmath G $() el baricentro de ( !insmath $val8 $() , $val19), ( !insmath $val9 $() , $val17), ( !insmath $val10 $() , $val18). Se pide calcular la distancia !insmath $val24 $().

!if $m_step=1 $()Determinar en primer lugar !insmath k_1 $() et !insmath k_2 $() tales que :

!insmath \overrightarrow{$val8 G} = k_{1} \overrightarrow{$val8 B} + k_{2} \overrightarrow{$val8 C} $()

!endif $() !if $m_step=2 $()Calcular el producto escalar :

!insmath \overrightarrow{$val8$val9} \cdot \overrightarrow{$val8$val10} $()

!endif $() !if $m_step=3 $()Sabiendo que !insmath k_1 = $val21 $() et !insmath k_2 = $val22 $() y que el producto escalar !insmath \overrightarrow{$val8$val9} \cdot \overrightarrow{$val8$val10} $() es igual a $val16, no hay más que una respuesta.

En caso de necesidad, se podrá utilizar la función sqrt (raíz cuadrada). Ej : sqrt(2) = !insmath \sqrt{2} $()

!endif $() $() !exit :hint $() $() !exit :help $() Si !insmath G $() es el baricentro de !insmath (A , a) $(), !insmath (B , b) $() et !insmath (C , c) $() entonces, para todo punto !insmath O $() :

!insmath \overrightarrow{OG}=\frac{1}{a+b+c}(a\overrightarrow{OA}+b\overrightarrow{OB}+c\overrightarrow{OC}) $()

Será necesario elegir unn punto !insmath O $() en función de la cuestión propuesta. $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,16,17,18,19,21,22,24,25 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/intro.phtml0000644000175000017500000000024010332645170026163 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene actualmente $exototal tipos de ejercicios sobre el producto escalar. !read oef/$module_language/intromenu.phtml !tailwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/Exindex0000644000175000017500000000043210332644755025324 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of scalaire,bary,hauteur,niveaups,cosinus, !set titlelist=!char 1 to -2 of Cálculo del producto escalar,Distancia y baricentro,Producto escalar y altura,Producto escalar y conjunto de puntos*,Producto escalar y coseno, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/Extitles0000644000175000017500000000026610332644755025526 0ustar georgeskgeorgeskbary:Distancia y baricentro cosinus:Producto escalar y coseno hauteur:Producto escalar y altura niveaups:Producto escalar y conjunto de puntos* scalaire:Cálculo del producto escalar wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/var.proc0000644000175000017500000000115110113044171025430 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/images/0000755000175000017500000000000006756175173025253 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/about.phtml0000644000175000017500000000005310113044171026133 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/main.phtml0000644000175000017500000000003110113044171025741 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/introhook.phtml0000644000175000017500000000055710332645572027065 0ustar georgeskgeorgesk!set liste = v(AM).v(AB) = c, v(AM).v(BM) = c,AM^2 + BM^2 = c, AM^2 - BM^2 = c,AM = c BM !set wims_formselect_switch=multiple Producto escalar y conjunto de puntos :
seleccionar una o varias líneas para elegir el tipo de ecuación.
!formselect confparm1 from 1 to 5 prompt $liste !set wims_formselect_switch=wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/COPYING0000644000175000017500000004307706355652460025046 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/INDEX0000644000175000017500000000076610332651346024573 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Producto escalar description=colección de ejercicios sobre producto escalar. language=es category=exercise, oef domain=geometría level=H5,H6 keywords=producto escalar require=maxima scoring=yes copyright=© 2004 (GNU GPL) 2005 author=René CHAFFARD address=chafrene@club-internet.fr version=1.00 wims_version=3.48 vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/README0000644000175000017500000000045310063131610024636 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Install source files. 5. Run the script $wims_home/other/bin/src2def. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/0000755000175000017500000000000010215000416024541 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/.htaccess0000644000175000017500000000001606634516636026366 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/cosinus.oef0000644000175000017500000000321110332641040026720 0ustar georgeskgeorgesk\title{Producto escalar y coseno} ejercicio para calcular el coseno de un ángulo en un triángulo cualquiera \language{fr} \author{René Chaffard} \email{chafrene@club-internet.fr} \computeanswer{no} \format{html} \precision{1000} \text{sommet=random(a,b,c)} pour faire varier la présentation de l'exercice \text{liste=shuffle(A,B,C)} \text{A=\liste[1]} \text{B=\liste[2]} \text{C=\liste[3]} \integer{c1=randint(2..8)} \integer{c2=randint(2..8)} \integer{min=abs(\c1-\c2)+1} \integer{max=\c1+\c2-1} \integer{c3=randint(\min..\max)} les trois côtés du triangle sont définis \text{ps=simplify((\c1^2+\c2^2-\c3^2)/2)} \text{longueur=shuffle(\(\A\B = \c1 ) , \(\B\C = \c3) , \(\C\A = \c2))} calcul du produit scalaire \text{cosinus=simplify((\ps)/(\c1*\c2))} \statement{ Se considera un triángulo \(ABC) tal que :

\longueur[1], \longueur[2], \longueur[3].

Calcular

\( cos(\widehat{\overrightarrow{\A\B},\overrightarrow{\A\C}})) = \embed{reply1,10}.

} \answer{cosinus :}{\cosinus}{type=rational} \solution{
\( \overrightarrow{\A\B} \cdot \overrightarrow{\A\C} = \ps ) donc :\(\ps = \c2\times \c1\times cos(\widehat{\overrightarrow{\A\B},\overrightarrow{\A\C}}))} \feedback{\reply1<-1 or \reply1>1} {Atención ! el valor del coseno de un ángulo debe pertenecer al intervalo [-1,1]} \hint{Dos estrategias equivalentes :
  • comenzar por calcular un producto escalar convenientemente elegido y considerar la fórmula :
    \( \overrightarrow{\A\B} \cdot \overrightarrow{\A\C} = \A\B.\A\C.\cos(\hat{A}))
  • utilizar el teorema de Al-Kashi
}wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/niveaups.oef0000644000175000017500000001376410332644755027125 0ustar georgeskgeorgesk\title{Producto escalar y conjunto de puntos*} utilisation d'un produit scalaire pour déterminer des ensembles de points \language{fr} \author{René Chaffard} \email{chafrene@club-internet.fr} \computeanswer{no} \format{html} \precision{1000} \range{-5..5} \text{choix=randitem(\confparm1)} \text{choix= \choix iswordof 1 2 3 4 5 ? \choix: randint(1..5)} \integer{a=randint(2..8)} \integer{a=\choix=2 ? randint(2..6)} la distance AB \text{objet5=\choix = 5 ? un círculo de diámtero sobre \((AB))} \text{objet5=\choix <> 5 ? un círculo de centro distinto de \(I)} \text{yrange=-\a-2,\a+2} \text{xrange=-\a-2,\a+2} \text{rotation=randitem(0,20,30,60,90,120)} \text{dessin=animate 25,0.2,0 xrange \xrange yrange \yrange rotate \rotation text black, -\a/2,0,medium, A text black, \a/2, 0,medium, B line \xrange[1],0,\xrange[2],0,black linewidth 2 line -\a/2,0,\a/2,0,blue disk -\a/2,0,5,blue disk \a/2,0,5,blue linewidth 1 } \text{listeobjet=el conjunto vacío,una recta perpendicular a \((AB)),una recta paralela a (AB),un círculo de centro \( I),un único punto \( I),\objet5} la liste proposée est commune à tous les exos sauf le objet5 qui est soit un cercle de centre autre que I soit un cercle de diamètre sur (AB) Exo type1 : v(AM).v(AB) = cte \if{\choix=1}{ \integer{c=randint(-4..4)} \text{bforme=2} \text{k=simplify(\c/(\a^2))} \text{k1=\k} para precisar la posición del punto de intersección con (AB) \text{STEPS=reply1 reply2} \text{enonce=\(\special{color=green} \vec{AM} \cdot \vec{AB} = \c )} \text{b=\yrange[1]+s*(\yrange[2]-\yrange[1])} \text{dessin=\dessin line \k*\a-\a/2,\yrange[1],\k*\a-\a/2,\yrange[2], green text red, \k*\a-\a/2,\b, medium, M dline -\a/2,0,\k*\a-\a/2,\b,red } } Exo type 2 : v(AM).v(BM) = cte \if{\choix=2}{ \integer{c=randint(-6..6)} \integer{r2=(4*\c+\a^2)} \text{rayon=\r2>0 ? simplify(sqrt(\r2)/2)} \text{k1=\rayon} \if {\r2>0}{\text{bforme=4}}{\text{bforme=\r2<0 ? 1 : 5}} la bonne forme est définie le nombre de questions \text{STEPS=reply 1} \text{STEPS=\r2>0 ? \STEPS reply 2} \text{enonce=\( \special{color=green}\vec{AM} \cdot \vec{BM} = \c )} \text{dessin=\dessin trange 0,2*pi plot red, \rayon*cos(t),\rayon*sin(t) text red , \rayon*cos(2*pi*s),\rayon*sin(2*pi*s),medium,M dlines red, -\a/2,0,\rayon*cos(2*pi*s),\rayon*sin(2*pi*s),\a/2,0 } } Exo type 3 : MA^2+MB^2 = cte \if{\choix=3}{ \integer{c=randint(0..20)} \integer{r2=(2*\c-\a^2)} 4*rayon^2 \text{rayon=\r2>0 ? simplify(sqrt(\r2)/2)} \text{k1=\rayon} \if {\r2>0} {\text{bforme=4}} {\if {\r2<0} {\text{bforme=1}} {\text{bforme=5}}} la bonne réponse est définie le nombre de questions à poser est défini \text{STEPS=reply 1} \text{STEPS=\r2>0 ? \STEPS reply 2} \text{enonce=\( AM^2 + BM^2 = \c )} \text{dessin=\dessin trange 0,2*pi plot red, \rayon*cos(t),\rayon*sin(t) text red , \rayon*cos(2*pi*s),\rayon*sin(2*pi*s),medium,M dlines red, -\a/2,0,\rayon*cos(2*pi*s),\rayon*sin(2*pi*s),\a/2,0 } } Exo type 4 : MA^2 - MB^2 = cte \if{\choix=4}{ \integer{c=randint(-4..4)} \text{bforme= 2} \text{k1=simplify((\c+\a^2)/(2*\a^2))} \text{STEPS= reply 1 reply 2} \text{enonce= \(AM^2 - BM^2 = \c)} \text{b=\yrange[1]+s*(\yrange[2]-\yrange[1])} \text{dessin=\dessin line \k1*\a-\a/2,\yrange[1],\k1*\a-\a/2,\yrange[2], green text red, \k1*\a-\a/2,\b, medium, M dline -\a/2,0,\k1*\a-\a/2,\b,red } } Exo type 5 : MA = k MB \if{\choix=5}{ \integer{c=randint(2..4)} la constante elle est strictement positive pour éviter un pb sans intérêt elle est différente de 1 pour éviter un pb trop simple prolongement envisageable avec deux constantes \text{bforme= 6} \text{k1=simplify(\c/(\c+1))} \text{k2=simplify(\c/(\c-1))} pour préciser les positions des extrémités du diamètre sur (AB) \text{STEPS= reply 1 reply 2, reply 3} \text{enonce= \( AM = \c BM )} \real{H=-\a/2+\k1*\a} \real{K=-\a/2+\k2*\a} \real{rayon=(\K-(\H))/2} \real{centre=(\H+\K)/2} \text{dessin=\dessin trange 0,2*pi plot red, \centre+(\rayon*cos(t)),\rayon*sin(t) text red , \centre+\rayon*cos(2*pi*s),\rayon*sin(2*pi*s),medium,M dlines red, -\a/2,0,\centre+\rayon*cos(2*pi*s),\rayon*sin(2*pi*s),\a/2,0 } } \steps{\STEPS} \text{baratin=\choix =4 or \choix=1 ? \(k)} \text{baratin=\choix =2 or \choix=3 ? Rayon} \text{baratin=\choix =5? \(k_1)} étape 1 : nature de l'ensemble étape 2 : éléments géométriques \statement{ Se consideran dos puntos \(A) y \(B) del plano tales que \(AB) = \a. El punto medio de \([AB]) lo denotaremos por \(I). Determinar el conjunto de puntos \(M) tales que :

\enonce.


\if{\step=1} {Determinemos en primer lugar la naturaleza del conjunto buscado. Es
  • \embed{reply1,1}
  • \embed{reply1,2}
  • \embed{reply1,3}
  • \embed{reply1,4}
  • \embed{reply1,5}
  • \embed{reply1,6}
} \if {\step=2 and \choix=1} {Sea \(H) el punto de intersección de la recta buscada con \((AB)).
Se tiene entonces

\( \vec{AH} = k \vec{AB} )

Determinemos \(k). } \if {\step=2 and \n=2 and \choix=2} {Determinemos el radio} \if {\step=2 and \choix=5} {El diámetro esá sobre \((AB)), denotaremos por \(H) y \(K) los extremos de ese diámetro. Se tiene entonces

\( \vec{AH} = k_1 \vec{AB} ) et \( \vec{AK} = k_2 \vec{AB} ).

Determinamos \( k_1) et \(k_2 ) où \( k_1 < k_2 ). } \if {\step=2 and \choix=4} {Sea \(H) el punto de intersección de la recta buscada con \((AB)). Se tiene entonces

\( \vec{AH} = k \vec{AB} ) .

Determinamos \(k). } \if {\step=2 and \n=2 and \choix=3} {Determinamos el radio del círculo. Se podrá utilizar si es necesario la función (raíz cuadrada) sqrt, sqrt(2) = \( \sqrt{2} )} } \answer{Nature}{\bforme;\listeobjet}{type=radio} \answer{\baratin}{\k1}{type=formal} \answer{\( k_2 )}{\k2}{type=formal} \feedback{1=1}{
\draw{200,200}{\dessin}
}wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/bary.oef0000644000175000017500000000541310332640436026210 0ustar georgeskgeorgesk\title{Distancia y baricentro} utilización del producto escalar para calcular la distancia desde un vértice de un triángulo al baricentro \language{fr} \author{René Chaffard} \email{chafrene@club-internet.fr} \computeanswer{no} \format{html} \precision{1000} \range{-5..5} \text{sommet=random(a,b,c)} para hacer variar la presentación del ejercicio \text{liste=shuffle(A,B,C)} \text{A=\liste[1]} \text{B=\liste[2]} \text{C=\liste[3]} \integer{c1=randint(2..5)} \integer{c2=randint(2..5)} \integer{min=abs(\c1-\c2)+1} \integer{max=\c1+\c2-1} \integer{c3=randint(\min..\max)} los tres lados del triángulo está definidos por \text{ps=simplify(((\c1)^2+(\c2)^2-(\c3)^2)/2)} el ps está definido \integer{p1=randint(1..4)*random(-1,1)} \integer{p2=randint(1..4)*random(-1,1)} \integer{p3=randint(1..4)*random(-1,1)} \integer{sp=\p1+\p2+\p3} \if {\sp=0} {\integer{p3=2*\p3}} la somme des poids est non nulle \integer{sp=\p1+\p2+\p3} \text{k1=simplify(\p1/\sp)} \text{k2=simplify(\p2/\sp)} les coef de la combinaison linéaire à partir du sommet \text{d=simplify(sqrt((\k1*\c1)^2+(\k2*\c2)^2+2*\k1*\k2*\ps))} calcul de la distance \text{hsg=\A G} hsg est utilisée pour l'affichage \text{longueur=shuffle(\(\A\B = \c1 ) , \(\B\C = \c3) , \(\C\A = \c2))} \steps{ reply 1,reply 2 reply 3 reply 4 } étape 1 : coeficients de la combinaison linéaire étape 2 : calcul du produit scalaire étape 3 : calcul de la distance \statement{ Se considera el triángulo \(ABC) tal que :

\longueur[1], \longueur[2], \longueur[3].

Sea \(G) el baricentro de (\(\A) , \p3), (\(\B) , \p1), (\(\C) , \p2). Se pide calcular la distancia \(\hsg).

\if {\step=1} {Determinar en primer lugar \(k_1) et \(k_2) tales que :

\( \overrightarrow{\A G} = k_{1} \overrightarrow{\A B} + k_{2} \overrightarrow{\A C} )

} \if {\step=2} {Calcular el producto escalar :

\( \overrightarrow{\A\B} \cdot \overrightarrow{\A\C} )

} \if {\step=3} {Sabiendo que \(k_1 = \k1) et \(k_2 = \k2) y que el producto escalar \( \overrightarrow{\A\B} \cdot \overrightarrow{\A\C} ) es igual a \ps, no hay más que una respuesta.

En caso de necesidad, se podrá utilizar la función sqrt (raíz cuadrada). Ej : sqrt(2) = \( \sqrt{2} )

} } \answer{\(k_1) }{\k1} \answer{\(k_2) }{\k2} \answer{Producto escalar}{\ps} \answer{Distancia \(\hsg)}{\d}{type=formal} \help{ Si \(G) es el baricentro de \((A , a)), \((B , b)) et \((C , c)) entonces, para todo punto \(O) :

\( \overrightarrow{OG}=\frac{1}{a+b+c}(a\overrightarrow{OA}+b\overrightarrow{OB}+c\overrightarrow{OC}) )

Será necesario elegir unn punto \(O) en función de la cuestión propuesta. }wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/scalaire.oef0000644000175000017500000000272310332643232027034 0ustar georgeskgeorgesk\title{Cálculo del producto escalar} exercice de calcul d'un produit scalaire dans un triangle quelconque \language{fr} \author{René Chaffard} \email{chafrene@club-internet.fr} \computeanswer{no} \format{html} \precision{1000} pour faire varier la présentation de l'exercice \text{liste=shuffle(A,B,C)} \text{A=\liste[1]} \text{B=\liste[2]} \text{C=\liste[3]} \integer{c1=randint(2..8)} \integer{c2=randint(2..8)} \integer{min=abs(\c1-\c2)+1} \integer{max=\c1+\c2-1} \integer{c3=randint(\min..\max)} les trois côtés du triangle sont définis \integer{c12=(\c1)^2} \integer{c22=(\c2)^2} \integer{c32=(\c3)^2} valeurs utiles pour la correction \text{ps=simplify((\c12+\c22-\c32)/2)} \text{longueur=shuffle(\(\A\B = \c1 ) , \(\B\C = \c3) , \(\C\A = \c2))} \statement{ Se considera el triángulo \(ABC) tal que

\longueur[1], \longueur[2], \longueur[3].

Calcular el producto escalar

\(\special{color=green} \vec{\A\B} \cdot \vec{\A\C} ) = \embed{reply1} .

} \answer{Producto escalar}{\ps}{type=numeric} \solution{ \(\vec{\A\B} \cdot \vec{\A\C} ) = \((\A \B^2 + \A \C^2 - \B \C^2) /2 = (\c1^2 + \c2^2 - \c3^2)/2 = (\c12 + \c22 - \c32)/2 = \ps) } \hint{Teniendo en cuenta que los tres lados del triángulo son conocidos, podemos utilizar la definición de producto escalar empleando la distancias:

\( \vec{\A\B} \cdot \vec{\A\C} = \frac{1}{2} (\A\B^2 + \A\C^2 - \B\C^2) )

}wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/hauteur.oef0000644000175000017500000000376610332642655026746 0ustar georgeskgeorgesk\title{Producto escalar y altura} utilisation d'un produit scalaire pour déterminer la position du pied d'une hauteur dans un triangle quelconque \language{fr} \author{René Chaffard} \email{chafrene@club-internet.fr} \computeanswer{no} \format{html} \precision{1000} \text{sommet=random(a,b,c)} pour faire varier la présentation de l'exercice \text{liste=shuffle(A,B,C)} \text{A=\liste[1]} \text{B=\liste[2]} \text{C=\liste[3]} \integer{c1=randint(2..8)} \integer{c2=randint(2..8)} \integer{min=abs(\c1-\c2)+1} \integer{max=\c1+\c2-1} \integer{c3=randint(\min..\max)} les trois côtés du triangle sont définis \text{ps=simplify((\c1^2+\c2^2-\c3^2)/2)} calcul du produit scalaire \text{k=maxima(simplify((\ps)/(\c2^2)))} l'affectation des côtés sera adaptée au ps et au dénominateur le ps est entre c1 et c2 et H étant toujours sur c2 \text{longueur=shuffle(\(\A\B = \c1 ) , \(\B\C = \c3) , \(\C\A = \c2))} \statement{Se considera el triángulo \(ABC) tal que :

\longueur[1], \longueur[2], \longueur[3].

Sea \(H) le pie de la altura trazada desde el vértice \(\A). Calcular \(k) tal que :

\( \overrightarrow{\B H} = k \overrightarrow{\B\C} )

} \answer{\(k)}{\k}{type=formal} \solution{ Se calcula el producto escalar :

\( \overrightarrow{\B\A} \cdot \overrightarrow{\B\C})

que es igual a \ps. Por tanto :

\(\ps = k * \c2^2)

} \help{ Tres definiciones de producto escalar:

\( \overrightarrow{AB} \cdot \overrightarrow{AC} = \frac{1}{2} ( AB^2 + AC^2 - BC^2 ) )

( \overrightarrow{AB} \cdot \overrightarrow{AC} = AB AC cos( \hat{A} ) )

Si \(H) es el pie de la altura trazada desde \(C), entonces:

\( \overrightarrow{AB} \cdot \overrightarrow{AC} = \overrightarrow{AH} \cdot \overrightarrow{AB} = k AB^2 )

adaptar esta igualdad a la cuestión propuesta }wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/src/cpp/0000755000175000017500000000000010071173011025325 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/NEWS0000644000175000017500000000005410215000551024450 0ustar georgeskgeorgeskVersion 1.00: 2004-03-12 First publication.wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/endhook.phtml0000644000175000017500000000010206637655260026472 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H5/geometry/pscalaire.es/help.phtml0000644000175000017500000000005210113044171025750 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/0000755000175000017500000000000010233112171023754 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/intro.phtml0000644000175000017500000000342310334164660026173 0ustar georgeskgeorgesk!header !default prtype=points !default eqtype=explicit !default objdim=1 !default spacedim=2 Una recta en el plano puede ser determinada de cuatro maneras diferentes: una ecuación explícita, una ecuación implícita, un par de ecuaciones paramétricas, o dos puntos de dicha recta. Esta situación se generaliza a subespacios afines de dimensiones superiores (tales como una recta o un plano en el espacio).

Este ejercicio puede presentar un subespacio afín en una de las formas citadas y le preguntará la descripción del mismo en una de las otras formas. Variando la dimensión, se pueden plantear cuestiones desde un nivel muy elemental (recta en el plano), hasta situaciones que requieran cálculos complicados de álgebra lineal.

!form new Tipo de subespacio: !formselect objdim list 1,2,3,4 prompt una recta,\ un plano, un hiperplano (dim 3), un hiperplano (dim 4) en el !formselect spacedim list 2,3,4,5,6 prompt\ plano, espacio (3D), espacio 4D , espacio 5D , espacio 6D

Forma de presentación: mediante !formselect prtype list points,explicit,implicit,parametric,parametricint,pointint\ prompt\ puntos, ecuaciones explícitas, ecuaciones implícitas, ecuaciones paramétricas,\ ecuaciones paramétricas con coeficientes enteros,\ puntos con coordenadas enteras

Descripción del tipo de pregunta: encontrar !formselect eqtype list points,explicit,implicit,parametric prompt\ puntos, ecuaciones explícitas, ecuaciones implícitas, ecuaciones paramétricas

Atención. La condición de coordenadas/coeficientes enteros puede incrementar notablemente la dificultad del problema.

!read related.phtml rectas, planos, hiperplanos, espacio, geometría afín, ecuaciones, puntos !tailwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/var.init0000644000175000017500000000367407365520245025464 0ustar georgeskgeorgesk !bound prtype within points,explicit,implicit,parametric default points !bound eqtype within points,explicit,implicit,parametric,pointint,parametricint default explicit !bound objdim between integer 1 and 4 default 1 !bound spacedim between integer $objdim+1 and 6 default $[$objdim+1] codim=$[$spacedim-$objdim] range=13 integer=0 !if $eqtype=pointint eqtype=points integer=1 !endif !if $eqtype=parametricint eqtype=parametric integer=1 !endif !if $prtype=$eqtype !if $prtype!=points eqtype=points !else eqtype=implicit !endif !endif varnames=!item 1 to $spacedim of x,y,z,u,v,w parmnames=!line $objdim of t\ s,t\ r,s,t\ p,r,s,t\ p,q,r,s,t var1=!items $objdim+1 to $spacedim of $varnames var2=!item 1 to $objdim of $varnames random=(random(2*$range+1)-$range) !if $eqtype=explicit or $prtype=explicit ranktest=vecextract(mat,"1..$objdim") !else ranktest=mat !endif ker=kernel=matker(mat)~; !if $prtype=explicit ker=k=matker(mat)~; D=vecextract(k,"$[$objdim+1]..$spacedim");\ k=D^-1*k; const=k*orig~;\ kernel=concat(-vecextract(k,"1..$objdim"),const); !endif !if $prtype=implicit ker=k=matker(mat)~; r=0;\ while(r<$codim,\ perm=matrix($codim,$codim,m,n,random(5)-2); r=matrank(perm);\ );\ k=perm*k; D=denominator(k); kernel=D*k;\ for(n=1,$codim,kernel[n,]=kernel[n,]/content(kernel[n,]));\ kernel=concat(kernel,kernel*orig~); !endif pari_header={\ rk=0;\ while(rk<$objdim,\ mat=matrix($objdim,$spacedim,x,y,$random);\ rk=matrank($ranktest);\ );\ orig=vector($spacedim,x,$random);\ aff=matrix($objdim+1,$spacedim,x,y,0);\ for(i=1,$objdim,aff[i,]=mat[i,]+orig);\ aff[$objdim+1,]=orig;\ $ker\ } pari_out=!exec pari print(aff)\ print(mat~)\ print(orig)\ print(kernel) !distribute lines $pari_out into points,mat1,origin,kernel points=!translate ; to $\ $ in $points mat1=!translate ; to $\ $ in $mat1 kernel=!translate ; to $\ $ in $kernel status=waiting penalty=0 wims_module_log=$cmd $prtype->$eqtype $objdim/$spacedim wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/proc.explicit0000644000175000017500000000166007364250653026510 0ustar georgeskgeorgesk diagnostics=good Eq= !for i=1 to $codim e_=!trim $(eq$i) !if $e_=$empty error=empty_data !exit !endif e_=!char 1 to $eqlim of $e_ e_=!lower $e_ e_=!rawmath $e_ eq$i=$e_ Eq=$Eq+($e_) !next i v_=!varlist $Eq v_=!listunion $var2 and $v_ n_=!itemcnt $v_ !if $n_>$objdim error=illegal_var !exit !endif !for v in $var2 Eq=!mathsubst $v=t in $Eq !next v r=!random -10,10 lintest=!exec pari print(poldegree($Eq))\ print(subst($Eq-Pol($Eq,t),t,$r)) !distribute lines $lintest into deg, rest rest=!trim $rest !if $rest=$empty error=bad_data !exit !endif !ifval $rest!=0 or $deg>1 error=non_linear !exit !endif !for i=1 to $codim e_=$(eq$i) w=!item $i of $var1 !for p=1 to $objdim+1 E_=$e_ !for v in $var2 E_=!mathsubst $v=($($(v)_$p)) in $E_ !next v E_=$[$E_] !if NaN isin $E_ or Inf isin $E_ error=bad_data !exit !endif !ifval $E_!=$($(w)_$p) diagnostics=bad $p !exit !endif !next p !next i wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/formpoints.phtml0000644000175000017500000000061710333213342027231 0ustar georgeskgeorgesk!for i=1 to $objdim+1 p$i = ()
!next i !if $integer=1 !set explain=Por favor, escriba un punto en cada línea separando las coordenadas por comas.\ Sus puntos deben tener coordenadas enteras. !else !set explain=Por favor, escriba un punto en cada línea, separando las coordenadas por comas.\ $noprox !endifwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/var.proc0000644000175000017500000000111107364315206025442 0ustar georgeskgeorgesk # limit of equation length. Silent truncation. eqlim=60 !read names !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting !for i=1 to $objdim+1 l_=!line $i of $points !distribute items $l_ into x_$i,y_$i,z_$i,u_$i,v_$i,w_$i !next i !read proc.$eqtype !if $error!=$empty !exit !endif status=done module_score=0 !if $diagnostics=good module_score=10 !endif !if $diagnostics=redundant module_score=6 !endif module_score=$[rint(10*$module_score/($penalty+1))/10] wims_module_log=score $module_score/10 !endif wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/answer.phtml0000644000175000017500000000270710333245036026337 0ustar georgeskgeorgeskHa introducido:

!if $eqtype=explicit !for i=1 to $codim !item $i of $var1  =  !htmlmath $(eq$i)
!next i !endif !if $eqtype=implicit !for i=1 to $eqcnt !set l_=!line $i of $eqs !htmlmath $l_
!next i !endif !if $eqtype=parametric !for i=1 to $spacedim !item $i of $varnames  =  !htmlmath $(eq$i)
!next i !endif !if $eqtype=points !for i=1 to $objdim+1 p$i = ($(eq$i))
!next i !endif

!if $diagnostics=good Esta respuesta es casi exacta. !endif !if bad iswordof $diagnostics !set n=!word 2 of $diagnostics !set p=!line $n of $points Lamentablemente la respuesta es errónea, por ejemplo, el punto !if $eqtype=points p$n no está en el/la $objname. !else !set p=!line $n of $points ($p), que esta en el/la $objname, no verifica las ecuaciones. !endif !endif !if $diagnostics=redundant Las ecuaciones introducidas definen el objeto pedido. Sin embargo, algunas ecuaciones son redundantes. !endif !if $diagnostics=bigdim No! Las ecuaciones introducidas definen un objeto mucho más amplio que el pedido. (El número de condiciones es insuficiente.) !endif !if $diagnostics=nospan Lo lamentamos, pero todos sus puntos están !item $objdim of identical,en la misma recta,\ en un mismo plano, en un hiperplano de dimensión 3 . La respuesta es incorrecta. !endif

Ha obtenido $module_score (sobre 10) puntos en esta respuesta.wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/about.phtml0000644000175000017500000000011610333211020026124 0ustar georgeskgeorgesk$module_about

Este ejercicio utiliza !exec pari about para los cálculos.wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/formimplicit.phtml0000644000175000017500000000062610333232645027536 0ustar georgeskgeorgesk!if $codim=1 La ecuación es !set explain=Los coeficientes de su ecuación deben ser enteros. !else !set explain=Por favor, escriba una ecuación en cada línea.\ Los coeficientes de sus ecuaciones deben ser enteros.\ La presencia de ecuaciones incorrectas o inútiles reducirán la calificación. !endifwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/present.phtml0000644000175000017500000000146510333243601026514 0ustar georgeskgeorgeskEjercicio. Tenemos un/una $objname en el $spacename, !if $prtype=points que contiene los siguientes puntos.

!for i=1 to $objdim+1 !ifval $i>1 and $i%3=1
!endif !set l_=!line $i of $points !if $i<$objdim+1 ($l_) , !else ($l_) . !endif !next i !else definido por la siguiente $peqname.

!read table.$prtype
!endif

!if $eqtype=points Por favor, encontrar $[$objdim+1] puntos en este $objname, que no estén/sean !item $objdim of idénticos, todos en la misma recta,\ todos en un mismo plano, en un hiperplano de dimensión 3 . !else Encontar $eqname de este/esta $objname. !endif !if points isin $eqtype $prtype

Aquí las coordenadas variables son ($varnames) . !endifwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/formexplicit.phtml0000644000175000017500000000047510333245364027551 0ustar georgeskgeorgesk!for i=1 to $codim !item $i of $var1  =
!next i !if $objdim=1 !set vname=variable !else !set vname=variables !endif !if $codim=1 !set ename=ecuación !else !set ename=ecuaciones !endif !set explain=Puede usar solamente la $vname $var2 en la $ename.\ $noproxwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/table.implicit0000644000175000017500000000134307365324747026632 0ustar georgeskgeorgesk !for i=1 to $codim !set v=!item $i of $varnames !set l=!line $i of $kernel !distribute items $l into c1,c2,c3,c4,c5,c6,c7,c8,c9,c10 !for j=1 to $spacedim !set n_=!item $j of $varnames !set c_=$(c$j) !set d_=$c_ !set l_=!char 1 of $c_ !if $l_=- !set d_=!char 2 to -1 of $c_ !endif !if $d_=1 !reset d_ !endif !if $c_>0 !if $j>1 + $d_$n_ !else $d_$n_ !endif !endif !if $c_<0 - $d_$n_ !endif !next j =  !set c_=$(c$[$spacedim+1]) !set d_=$c_ !set l_=!char 1 of $c_ !if $l_=- !set d_=!char 2 to -1 of $c_ !endif !if $c_>=0 $d_ !endif !if $c_<0 - $d_ !endif !next i wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/.htaccess0000644000175000017500000000001607363507477025602 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/table.explicit0000644000175000017500000000157107364523626026640 0ustar georgeskgeorgesk !for i=1 to $codim !set v=!item $i of $var1 !set l=!line $i of $kernel !set t_=0 !distribute items $l into c1,c2,c3,c4,c5,c6,c7,c8,c9 $v = !for j=1 to $objdim !set n_=!item $j of $var2 !set c_=$(c$j) !set d_=$c_ !set l_=!char 1 of $c_ !if $l_=- !set d_=!char 2 to -1 of $c_ !endif !if / isin $d_ !set d_=($d_) !endif !if $d_=1 !reset d_ !endif !if $c_>0 !advance t_ !if $j>1 + $d_$n_ !else $d_$n_ !endif !endif !if $c_<0 !advance t_ - $d_$n_ !endif !next j !set c_=$(c$[$objdim+1]) !set d_=$c_ !set l_=!char 1 of $c_ !if $l_=- !set d_=!char 2 to -1 of $c_ !endif !if $c_>0 !advance t_ + $d_ !endif !if $c_<0 !advance t_ - $d_ !endif !if $t_=0 0 !endif !next i wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/formparametric.phtml0000644000175000017500000000072610333244404030050 0ustar georgeskgeorgesk!for i=1 to $spacedim !item $i of $varnames  =
!next i !if , isin $parmnames !set lname=letras !else !set lname=letra !endif !if $integer=1 !set explain=Por favor, use la $lname $parmnames para designar al parametro.\ Las funciones paramétricas deben tener coeficientes enteros. !else !set explain=Por favor, utilice las $lname $parmnames para designar a los parámetros.\ $noprox !endifwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/main.phtml0000644000175000017500000000055607542536110025770 0ustar georgeskgeorgesk!header !read present.phtml


!if $status=waiting !if $error!=$empty !read msg.phtml


!endif !read form.phtml

!href exo_Renew . !else !if $error!=$empty !read msg.phtml


!endif !read answer.phtml

!href exo_Again . !if $worksheet=$empty !href exo_Intro . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/var.def0000644000175000017500000000034707365520206025246 0ustar georgeskgeorgeskstatus deny prtype init eqtype init objdim init spacedim init codim deny points deny mat1 deny mat2 deny origin deny varnames deny parmnames deny var1 deny var2 deny penalty deny kernel deny integer deny eqs reply eq[10] reply wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/proc.implicit0000644000175000017500000000317007365521504026474 0ustar georgeskgeorgesk eqs=!trim $eqs eqs=!nonempty lines $eqs !if $eqs=$empty error=empty_data !exit !endif eqcnt=!linecnt $eqs diagnostics=good Eq= eqlist= !for i=1 to $eqcnt eq$i=!line $i of $eqs e_=!trim $(eq$i) e_=!char 1 to $eqlim of $e_ e_=!lower $e_ e_=!rawmath $e_ e_=!translate , to . in $e_ e_=!translate = to , in $e_ n_=!itemcnt $e_ !if $n_!=2 error=not_equation !exit !endif !distribute items $e_ into f_,g_ !default g_=0 eq$i=$f_-($g_) Eq=$Eq+($(eq$i)) eqlist=!append item $(eq$i) to $eqlist !next i !if . isin $Eq or / isin $Eq or ^ isin $Eq error=not_integer !exit !endif v_=!varlist $Eq v_=!listunion $varnames and $v_ n_=!itemcnt $v_ !if $n_>$spacedim error=illegal_var !exit !endif !for v in $varnames Eq=!mathsubst $v=t in $Eq !next v pari_header=eqlist=[$eqlist];varlist=[$varnames];\ eqcoeff=matrix($eqcnt,$spacedim,m,n,polcoeff(eqlist[m],1,varlist[n]));\ eqrank=matrank(eqcoeff); r=!random -10,10 lintest=!exec pari print(poldegree($Eq))\ print(subst($Eq-Pol($Eq,t),t,$r))\ print(eqrank) !distribute lines $lintest into deg, rest, eqrank rest=!trim $rest !if $rest=$empty or rank isin $eqrank or $eqrank=$empty error=bad_data !exit !endif !ifval $rest!=0 or $deg>1 error=non_linear !exit !endif !ifval $eqrank<$codim diagnostics=bigdim !exit !endif !for i=1 to $eqcnt e_=$(eq$i) !for p=1 to $objdim+1 E_=$e_ !for v in $varnames E_=!mathsubst $v=($($(v)_$p)) in $E_ !next v E_=$[$E_] !if NaN isin $E_ or Inf isin $E_ error=bad_data !exit !endif !ifval $E_!=0 diagnostics=bad $p !exit !endif !next p !next i !if $diagnostics=good and $eqcnt>$codim diagnostics=redundant !endif wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/form.phtml0000644000175000017500000000064210333242210025766 0ustar georgeskgeorgesk!form reply la respuesta:

!read form$eqtype.phtml

!if $explain!=$empty Explicaciones.

    !set n=!linecnt $explain !for i=1 to $n
  • !line $i of $explain !next i
!endif

Para hacer sus cálculos, puede usar !href target=wims_tool module=tool/linear/linsolver Solucionador de ecuaciones lineales (en otra ventana de su navegador).wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/INDEX0000644000175000017500000000111710333210753024554 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Ecuaciones afines description=ecuaciones de rectas/planos mediante puntos ecuaciones paramétricas, implícitas... language=es category=exercise domain=algebra, geometry, affine geometry level=H2,H3,H4,H5,H6,U1,U2 keywords=recta,plano,hiperplano,espacio,implícita,explícita,paramétricas require=pari scoring=yes copyright=© 2001 (GNU GPL) 2005 author=Gang XIAO address=xiao@unice.fr version=1.01 wims_version=3.48 vardef= translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/proc.points0000644000175000017500000000267307365521376026214 0ustar georgeskgeorgesk diagnostics=good Eq= eqlist= !for i=1 to $objdim+1 e_=!trim $(eq$i) e_=!declosing $e_ !if $e_=$empty error=empty_data !exit !endif e_=!char 1 to $eqlim of $e_ e_=!translate ; to , in $e_ n_=!itemcnt $e_ !if $n_!=$spacedim error=bad_dim !exit !endif eq$i=$e_ eqlist=!append line $e_ to $eqlist e_=!translate , to + in $e_ e_=!rawmath $e_ Eq=$Eq+($e_) !next i test=$[$Eq] !if NaN isin $test or Inf isin $test error=bad_data !exit !endif !if $integer=1 !if . isin $Eq or , isin $Eq or / isin $Eq or ^ isin $Eq or\ + isin $eqlist or * isin $Eq error=not_integer !exit !endif !endif v_=!varlist $Eq !if $v_!=$empty error=illegal_var !exit !endif eqlist=!translate $\ $ to ; in $eqlist mat=!translate $\ $ to ; in $mat1 pari_header=eqlist=bestappr([$eqlist],10^10); pmat=eqlist; mat1=[$mat];\ origin=[$origin]; for(i=1,$objdim+1,pmat[i,]=pmat[i,]-origin);\ for(i=1,$objdim+1,eqlist[i,]=eqlist[i,]-eqlist[$objdim+1,]);\ rank1=matrank(eqlist); rank2=matrank(concat(pmat~,mat1)); lintest=!exec pari print(rank1)\ print(rank2)\ for(n=1,$objdim+1,print(matrank(concat(mat1,pmat[n,]~)),", ")) !distribute lines $lintest into rank1, rank2, ranks !if rank isin $rank1$rank2 or $rank1=$empty or $rank2=$empty error=bad_data !exit !endif !if $rank2>$objdim !for p=1 to $objdim+1 l_=!item $p of $ranks !if $l_>$rank1 diagnostics=bad $p !exit !endif !next p !endif !if $rank1<$objdim diagnostics=nospan !exit !endif wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/table.parametric0000644000175000017500000000160507364523543027142 0ustar georgeskgeorgesk !for i=1 to $spacedim !set v=!item $i of $varnames !set l=!line $i of $mat1 !set t_=0 !distribute items $l into c1,c2,c3,c4,c5,c6,c7,c8,c9 $v = !for j=1 to $objdim !set n_=!item $j of $parmnames !set c_=$(c$j) !set d_=$c_ !set l_=!char 1 of $c_ !if $l_=- !set d_=!char 2 to -1 of $c_ !endif !if / isin $d_ !set d_=($d_) !endif !if $d_=1 !reset d_ !endif !if $c_>0 !advance t_ !if $j>1 + $d_$n_ !else $d_$n_ !endif !endif !if $c_<0 !advance t_ - $d_$n_ !endif !next j !set c_=!item $i of $origin !set d_=$c_ !set l_=!char 1 of $c_ !if $l_=- !set d_=!char 2 to -1 of $c_ !endif !if $c_>0 + $d_ !advance t_ !endif !if $c_<0 - $d_ !advance t_ !endif !if $t_=0 0 !endif !next i wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/names0000644000175000017500000000124710333242036025013 0ustar georgeskgeorgesk!set objname=!item $objdim of recta, plano, hiperplano de dimensión 3,\ hiperplano de dimensión 4, hiperplano de dimensión 5 !set RR=R$spacedim !if $spacedim<3 !set spacename=!item $spacedim of line, plano $RR !else !set spacename=espacio $RR !endif !ifval $codim=1 !set eqimplicit=una ecuación implícita !set eqexplicit=la ecuación explícita !else !set eqimplicit=un sistema de ecuaciones implícitas !set eqexplicit=las ecuaciones explícitas !endif !set eqparametric=las ecuaciones paramétricas !set eqname=$(eq$eqtype) !set peqname=$(eq$prtype) !set noprox=Respuestas aproximadas serán consideradas erróneas. Escriba 1/3 en vez de 0.33333, por ejemplo.wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/proc.parametric0000644000175000017500000000300707365521446027015 0ustar georgeskgeorgesk diagnostics=good Eq= eqlist= !for i=1 to $spacedim e_=!trim $(eq$i) !if $e_=$empty error=empty_data !exit !endif e_=!char 1 to $eqlim of $e_ e_=!lower $e_ e_=!rawmath $e_ eq$i=$e_ Eq=$Eq+($e_) eqlist=!append item $e_ to $eqlist !next i !if $integer=1 !if . isin $Eq or , isin $Eq or / isin $Eq or ^ isin $Eq error=not_integer !exit !endif !endif v_=!varlist $Eq v_=!listunion $parmnames and $v_ n_=!itemcnt $v_ !if $n_>$objdim error=illegal_var !exit !endif pts=!translate $\ $ to ; in $points pari_header=eqlist=bestappr([$eqlist],10^10); varlist=[$parmnames];\ origin=eqlist; for(i=1,$objdim,origin=subst(origin,varlist[i],0));\ eqmat=matrix($objdim,$spacedim,m,n,eqlist[n]-origin[n]);\ id=matid($objdim);\ for(m=1,$objdim,for(n=1,$objdim,eqmat[m,]=subst(eqmat[m,],varlist[n],id[m,n])));\ points=[$pts]; for(n=1,$objdim+1,points[n,]=points[n,]-origin); !for v in $parmnames Eq=!mathsubst $v=t in $Eq !next v r=!random -10,10 lintest=!exec pari print(poldegree($Eq))\ print(subst($Eq-Pol($Eq,t),t,$r))\ print(matrank(eqmat))\ print(matrank(concat(eqmat~,points~)))\ for(n=1,$objdim+1,print(matrank(concat(eqmat~,points[n,]~)),", ")) !distribute lines $lintest into deg, rest, rank1, rank2, ranks rest=!trim $rest !if $rest=$empty or rest isin $rest or rank isin $rank1$rank2 error=bad_data !exit !endif !ifval $rest!=0 or $deg>1 error=non_linear !exit !endif !if $rank2>$rank1 !for p=1 to $objdim+1 l_=!item $p of $ranks !if $l_>$rank1 diagnostics=bad $p !exit !endif !next p !endif wims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/msg.phtml0000644000175000017500000000220410333240554025616 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if $error=bad_dim Uno de los puntos no tiene dimensión correcta. Por favor, corríjalo. !exit !endif !if $error=illegal_var !advance penalty Ha usado variables (o funciones) no permitidas en las ecuaciones.

Debe corregir el error, aunque este error indica que usted no ha entendido bien el problema. !exit !endif !if $error=non_linear !advance penalty ¿Está usted seguro que ha introducido ecuaciones de primer grado?

Debe corregir el error, aunque este error indica que usted no ha entendido bien el problema. !exit !endif !if $error=not_equation Error en los datos: por favor escriba una ecuación por línea. !exit !endif !if $error=not_integer !if $eqtype=points ¿Está usted seguro que sus puntos tienen coordenadas enteras? !else ¿Está usted seguro que todas sus ecuaciones tienen coeficientes enteros? !endif

Por favor, inténtelo de nuevo. !exit !endif !if bad_data=$error Ha fallado la evaluación de las ecuaciones que ha intoducido. ¿Alguna errata de escritura? !exit !endif !msg $errorwims-modules-es-3.64.orig/modules/H5/geometry/equaffine.es/NEWS0000644000175000017500000000030710233112070024451 0ustar georgeskgeorgesk# This file registers changes to the module. # Please write in reverse order: the last version first. Version 1.01: 20050425 Inserted a p tag after the form end. Version 1.00: First publication. wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/0000755000175000017500000000000010333717667023706 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/0000755000175000017500000000000010333717667024444 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/par1.def0000644000175000017500000000257610333716677026001 0ustar georgeskgeorgesk!set title=Paralelas 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=!rawmath $val6*x + $val7*y = $val11 replytype1=equation replyname1=Ecuación de la recta replygood1=!rawmath $val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por la ecuación

!insmath $val12 $() .

Hallar la ecuación de la recta que contenga al punto !insmath ($val9 , $val10) $() y paralela a !insmath L $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/distpl.def0000644000175000017500000000256410333714260026414 0ustar georgeskgeorgesk!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

!insmath $val12 $()  .

Calcular la distancia entre !insmath L $() y el punto !insmath ($val9 ,$val10) $() . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/distpl2.def0000644000175000017500000000312410333714451026471 0ustar georgeskgeorgesk!set title=Distancia de punto a recta II !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=14 prevarcnt=13 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 -10, 10 val8=$[rint($(tmp0)*2)] tmp0=!randint -10, 9 val9=$[rint($(tmp0)*2+1)] val10=$[rint(-($val7))] val11=$[rint($val6)] val12=$[rint($val10*($val8)+($val11)*($val9))] tmp0=!randint -20, 20 val13=$[rint($(tmp0))] tmp0=!randint -20, 20 val14=$[rint($(tmp0))] val15=$[rint($val10*($val13) + ($val11)*($val14))] val16=$val6*t + $val8 val17=$val7*t + $val9 val18=$[abs(($val15-($val12))/sqrt(($val10)^2+($val11)^2))] replyname1=La distancia replygood1=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta del plano definida por las ecuaciones paramétricas:

!insmath x = $val16 $() , !insmath y = $val17 $() .

Calcular la distancia entre la recta !insmath L $() y el punto !insmath ($val13 , $val14) $()  . $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13,14,16,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/perp2.def0000644000175000017500000000301710333717237026146 0ustar georgeskgeorgesk!set title=Perpendicular II !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=11 prevarcnt=10 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 -10, 10 val8=$[rint($(tmp0)*2)] tmp0=!randint -10, 9 val9=$[rint($(tmp0)*2+1)] tmp0=!randint -20, 20 val10=$[rint($(tmp0))] tmp0=!randint -20, 20 val11=$[rint($(tmp0))] val12=$[rint($val6*($val10) + ($val7)*($val11))] val13=!rawmath $val6*x + $val7*y = $val12 val14=$val6*t + $val8 val15=$val7*t + $val9 replytype1=equation replyname1=Ecuación de la recta replygood1=!rawmath $val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por las ecuaciones paramétricas:

!insmath x = $val14 $() , !insmath y = $val15 $()  .

hallar la ecuación de la recta que pasa por el punto !insmath ($val10 , $val11) $() y es perpendicular a !insmath L $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/pntonline.def0000644000175000017500000000272110333717550027123 0ustar georgeskgeorgesk!set title=Punto en una 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=10 prevarcnt=9 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))] val10=$val6*x + $val7*y = $val8 tmp0=!randitem 1,2 val11=$[rint($(tmp0))] tmp0=!item $val11 of $val9,c val12=$(tmp0) tmp0=!item $val11 of c,$val9 val13=$(tmp0) tmp0=!item $val11 of ($val8-($val6)*($val9))/($val7),($val8-($val7)*($val9))/($val6) val14=$[$(tmp0)] replyname1=\(c) replygood1=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por la ecuación

!insmath $val10 $() .

Hallar le valor de !insmath c $() para que el punto !insmath ($val12,$val13) $() esté en !insmath L $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,12,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/slope2eq.def0000644000175000017500000000257210333716354026654 0ustar georgeskgeorgesk!set title=Punto y pendiente !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=100 ansorder=r varcnt=8 prevarcnt=7 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 -20, 20 val6=$[rint($(tmp0))] tmp0=!randint -20, 20 val7=$[rint($(tmp0))] tmp0=!randitem 2,4,5,8,10,16 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem $val8-7,$val8-6,$val8-3,$val8-1,$val8+1,$val8+3,$val8+6,$val8+7 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] val10=$[-($val9)/($val8)] val11=$[rint(($val9)*($val6) + ($val8)*($val7))] val12=!rawmath $val9*x + $val8*y = $val11 replytype1=equation replyname1=Equation of the line replygood1=!rawmath $val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar la ecuación de la recta que pasa por el punto ($val6 , $val7) y pendiente = $val10.

La ecuación debe ser de la forma !insmath ax + by = c $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,10 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/.htaccess0000644000175000017500000000001606634516636026241 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/lineonpnt2.def0000644000175000017500000000300510333717446027205 0ustar georgeskgeorgesk!set title=Recta por un punto II !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=11 prevarcnt=10 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 1, 20 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 20 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] val10=$[rint($val6*($val8)+($val7)*($val9))] tmp0=!randitem 1,2 val11=$[rint($(tmp0))] !ifval $val11=1 val12=$val7 !else val12=$val6 !endif !ifval $val11=1 val6=$val6 !else val6=c !endif !ifval $val11=1 val7=c !else val7=$val7 !endif val13=$val6*x + $val7*y = $val10 replyname1=\(c) replygood1=$val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por la ecuación

!insmath $val13 $() .

¿Cuál es el valor de !insmath c $() para que !insmath L $() contenga al punto !insmath ($val8 , $val9) $() ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/lineonpnt.def0000644000175000017500000000246310333717425027127 0ustar georgeskgeorgesk!set title=Recta por un punto 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=7 prevarcnt=6 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 1, 20 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 20 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] val10=$[$val6*($val8)+($val7)*($val9)] val11=$val6*x + $val7*y = c replyname1=\(c) replygood1=$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por la ecuación

!insmath $val11 $() .

¿Cuál es el valor de !insmath c $() para que !insmath L $() contenga al punto !insmath ($val8 , $val9) $() ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/pnt2eq.def0000644000175000017500000000241610333716216026325 0ustar georgeskgeorgesk!set title=2 puntos !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=100 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 -20, 20 val6=$[rint($(tmp0))] tmp0=!randint -20, 20 val7=$[rint($(tmp0))] tmp0=!randint -10, 10 val8=$[rint($(tmp0)*2)] tmp0=!randint -10, 9 val9=$[rint($(tmp0)*2+1)] val10=$[rint($val9-($val8))] val11=$[rint($val6-($val7))] val12=$[rint(($val6)*($val9)-($val7)*($val8))] val13=!rawmath $val10*x + $val11*y = $val12 replytype1=equation replyname1=Ecuación de la recta replygood1=!rawmath $val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Hallar la ecuación de la recta que pasa por los puntos ($val6 , $val8) y ($val7 , $val9).

La ecuación debe ser de la forma ax + by = c. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/par2.def0000644000175000017500000000310210333715710025747 0ustar georgeskgeorgesk!set title=Paralelas II !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=13 prevarcnt=12 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 -10, 10 val8=$[rint($(tmp0)*2)] tmp0=!randint -10, 9 val9=$[rint($(tmp0)*2+1)] val10=$[rint(-($val7))] val11=$[rint($val6)] tmp0=!randint -20, 20 val12=$[rint($(tmp0))] tmp0=!randint -20, 20 val13=$[rint($(tmp0))] val14=$[rint($val10*($val12) + ($val11)*($val13))] val15=!rawmath $val10*x + $val11*y = $val14 val16=$val6*t + $val8 val17=$val7*t + $val9 replytype1=equation replyname1=Ecuaciónn de la recta replygood1=!rawmath $val15 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta del plano definida por las ecuaciones paramétricas:

!insmath x = $val16 $()  , !insmath y = $val17 $() .

Hallar la ecuacion de la recta que pasa por el punto !insmath ($val12 , $val13) $() y es paralela a !insmath L $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=12,13,16,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/perp1.def0000644000175000017500000000261710333717022026142 0ustar georgeskgeorgesk!set title=Perpendicular I !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=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($val7*($val9) - ($val6)*($val10))] val12=$val6*x + $val7*y = $val8 val13=!rawmath $val7*x - $val6*y = $val11 replytype1=equation replyname1=Ecuación de la recta replygood1=!rawmath $val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por la ecuación

!insmath $val12 $() .

Hallar la ecuación de la recta que pasa por el punto !insmath ($val9 , $val10) $() y es perpendicular a !insmath L $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,10,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/pntonline2.def0000644000175000017500000000327710333717667027225 0ustar georgeskgeorgesk!set title=Punto en una recta II !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=12 prevarcnt=11 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 1, 20 tmp1=!randitem -1,1 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 1, 20 tmp1=!randitem -1,1 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint -20, 20 val10=$[rint($(tmp0))] val11=!rawmath $val6*t + $val8 val12=!rawmath $val7*t + $val9 tmp0=!randitem 1,2 val13=$[rint($(tmp0))] tmp0=!item $val13 of $val10,c val14=$(tmp0) tmp0=!item $val13 of c,$val10 val15=$(tmp0) tmp0=!item $val13 of $val9+($val7)*($val10-($val8))/($val6), $val8+($val6)*($val10-($val9))/($val7) val16=$[$(tmp0)] replyname1=\(c) replygood1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por las ecuaciones paramétricas

!insmath x=$val11 $(), !insmath y=$val12 $().

Hallr el valor de !insmath c $() tal que el punto !insmath ($val14,$val15) $() esté en !insmath L $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=11,12,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/def/parm2eq.def0000644000175000017500000000273410333716624026471 0ustar georgeskgeorgesk!set title=De paramétricas a general !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=100 ansorder=r varcnt=11 prevarcnt=10 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 -10, 10 val8=$[rint($(tmp0)*2)] tmp0=!randint -10, 9 val9=$[rint($(tmp0)*2+1)] val10=$[rint(-($val7))] val11=$[rint($val6)] val12=$[rint(($val10)*($val8)+($val11)*($val9))] val13=!rawmath $val10*x + $val11*y = $val12 val14=$val6*t + $val8 val15=$val7*t + $val9 replytype1=equation replyname1=Ecuación de \(L) replygood1=!rawmath $val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Sea !insmath L $() la recta definida por las ecuaciones paramétricas:

!insmath x = $val14 $() , !insmath y = $val15 $()  .

hallar la ecuación de !insmath L $().

La ecuación debe ser de la forma !insmath ax + by = c $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/intro.phtml0000644000175000017500000000043310333714065026074 0ustar georgeskgeorgesk!header !read Exindex Este módulo contiene $exototal ejercicios sobre rectas en el plano cartesiano y sus ecuaciones: pendiente, distancia, punts en la recta, rectas paralelas y perpendiculares, intersección, ... !read oef/intromenu.phtml !read related.phtml recta, geometría !tailwims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/Exindex0000644000175000017500000000071310333717667025236 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of pnt2eq,parm2eq,distpl,distpl2,par1,par2,perp1,perp2,pntonline,pntonline2,slope2eq,lineonpnt,lineonpnt2, !set titlelist=!char 1 to -2 of 2 puntos,De paramétricas a general,Distancia de punto a recta I,Distancia de punto a recta II,Paralelas I,Paralelas II,Perpendicular I,Perpendicular II,Punto en una recta I,Punto en una recta II,Punto y pendiente,Recta por un punto I,Recta por un punto II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/Extitles0000644000175000017500000000054710333717667025440 0ustar georgeskgeorgeskdistpl:Distancia de punto a recta I distpl2:Distancia de punto a recta II lineonpnt:Recta por un punto I lineonpnt2:Recta por un punto II par1:Paralelas I par2:Paralelas II parm2eq:De paramétricas a general perp1:Perpendicular I perp2:Perpendicular II pnt2eq:2 puntos pntonline:Punto en una recta I pntonline2:Punto en una recta II slope2eq:Punto y pendiente wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/var.proc0000644000175000017500000000115110060323402025332 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/images/0000755000175000017500000000000006756175165025160 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/about.phtml0000644000175000017500000000005310060323402026035 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/main.phtml0000644000175000017500000000003110060323402025643 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/INDEX0000644000175000017500000000106710334435372024473 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF Ejercicios sobre rectas description=colección de ejercicios sobre rectas en el plano. language=es category=exercise, oef domain=geometry, algebra level=H2,H3,H4,H5,H6,U1 keywords=recta, punto, pendiente, intersección, ecuación, segmento, distancia require= scoring=yes copyright=© 2001- (GNU GPL) 2005 author=XIAO Gang address=xiao@unice.fr version=1.10 wims_version=3.37f vardef=oef/var.def translator=Antonio Ullán translator_address=aullan@unex.es wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/0000755000175000017500000000000010060323402024446 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/lineonpnt.oef0000644000175000017500000000105010333717424027161 0ustar georgeskgeorgesk\title{Recta por un punto I} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{x=random(1..20)*random(-1,1)} \integer{y=random(1..20)*random(-1,1)} \real{sol=\a*(\x)+(\b)*(\y)} \text{L=\a*x + \b*y = c} \statement{Sea \(L) la recta definida por la ecuación

\(\L) .

¿Cuál es el valor de \(c) para que \(L) contenga al punto \((\x , \y)) ? } \answer{\(c)}{\sol}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/pnt2eq.oef0000644000175000017500000000112710333716216026367 0ustar georgeskgeorgesk\title{2 puntos} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{100} \integer{a1=random(-20..20)} \integer{a2=random(-20..20)} \integer{b1=random(-10..10)*2} \integer{b2=random(-10..9)*2+1} \integer{a=\b2-(\b1)} \integer{b=\a1-(\a2)} \integer{c=(\a1)*(\b2)-(\a2)*(\b1)} \function{eq=\a*x + \b*y = \c} \statement{Hallar la ecuación de la recta que pasa por los puntos (\a1 , \b1) y (\a2 , \b2).

La ecuación debe ser de la forma ax + by = c. } \answer{Ecuación de la recta}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/perp1.oef0000644000175000017500000000117010333717022026177 0ustar georgeskgeorgesk\title{Perpendicular I} \language{en} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{c=random(-20..20)} \integer{x=random(-20..20)} \integer{y=random(-20..20)} \integer{t=\b*(\x) - (\a)*(\y)} \text{L=\a*x + \b*y = \c} \function{eq=\b*x - \a*y = \t} \statement{Sea \(L) la recta definida por la ecuación

\(\L) .

Hallar la ecuación de la recta que pasa por el punto \((\x , \y)) y es perpendicular a \(L). } \answer{Ecuación de la recta}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/pntonline2.oef0000644000175000017500000000143210333717667027260 0ustar georgeskgeorgesk\title{Punto en una recta II} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{c=random(1..20)*random(-1,1)} \integer{d=random(1..20)*random(-1,1)} \integer{g=random(-20..20)} \function{ex=\a*t + \c} \function{ey=\b*t + \d} \integer{ch=random(1,2)} \text{x=item(\ch,\g,c)} \text{y=item(\ch,c,\g)} \real{sol=item(\ch, \d+(\b)*(\g-(\c))/(\a), \c+(\a)*(\g-(\d))/(\b) )} \statement{Sea \(L) la recta definida por las ecuaciones paramétricas

\(x=\ex), \(y=\ey).

Hallr el valor de \(c) tal que el punto \((\x,\y)) esté en \(L). } \answer{\(c)}{\sol}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/distpl2.oef0000644000175000017500000000142310333714451026535 0ustar georgeskgeorgesk\title{Distancia de punto a recta II} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a1=random(2..20)*random(-1,1)} \integer{a2=random(2..20)*random(-1,1)} \integer{b1=random(-10..10)*2} \integer{b2=random(-10..9)*2+1} \integer{a=-(\a2)} \integer{b=\a1} \integer{c=\a*(\b1)+(\b)*(\b2)} \integer{x=random(-20..20)} \integer{y=random(-20..20)} \integer{t=\a*(\x) + (\b)*(\y)} \text{ex=\a1*t + \b1} \text{ey=\a2*t + \b2} \real{dist=abs((\t-(\c))/sqrt((\a)^2+(\b)^2))} \statement{Sea \(L) la recta del plano definida por las ecuaciones paramétricas:

\(x = \ex) , \(y = \ey) .

Calcular la distancia entre la recta \(L) y el punto \((\x , \y) )  . } \answer{La distancia}{\dist}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/distpl.oef0000644000175000017500000000115610333714260026454 0ustar georgeskgeorgesk\title{Distancia de punto a recta I} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{c=random(-20..20)} \integer{x=random(-20..20)} \integer{y=random(-20..20)} \integer{t=\a*(\x) + (\b)*(\y)} \text{L=\a*x + \b*y = \c} \real{dist=abs((\t-(\c))/sqrt((\a)^2+(\b)^2))} \statement{Sea \(L) la recta del plano definida por la ecuación

\(\L)  .

Calcular la distancia entre \(L) y el punto \((\x ,\y)) . } \answer{La distancia}{\dist}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/perp2.oef0000644000175000017500000000133710333717237026215 0ustar georgeskgeorgesk\title{Perpendicular II} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a1=random(2..20)*random(-1,1)} \integer{a2=random(2..20)*random(-1,1)} \integer{b1=random(-10..10)*2} \integer{b2=random(-10..9)*2+1} \integer{x=random(-20..20)} \integer{y=random(-20..20)} \integer{t=\a1*(\x) + (\a2)*(\y)} \function{eq=\a1*x + \a2*y = \t} \text{ex=\a1*t + \b1} \text{ey=\a2*t + \b2} \statement{Sea \(L) la recta definida por las ecuaciones paramétricas:

\(x = \ex) , \(y = \ey)  .

hallar la ecuación de la recta que pasa por el punto \((\x , \y)) y es perpendicular a \(L). } \answer{Ecuación de la recta}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/slope2eq.oef0000644000175000017500000000121510333716354026711 0ustar georgeskgeorgesk\title{Punto y pendiente} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{100} \integer{a1=random(-20..20)} \integer{b1=random(-20..20)} \integer{b=random(2,4,5,8,10,16)*random(-1,1)} \integer{a=random(\b-7,\b-6,\b-3,\b-1,\b+1,\b+3,\b+6,\b+7)*random(-1,1)} \real{slope=-(\a)/(\b)} \integer{c=(\a)*(\a1) + (\b)*(\b1)} \function{eq=\a*x + \b*y = \c} \statement{Hallar la ecuación de la recta que pasa por el punto (\a1 , \b1) y pendiente = \slope.

La ecuación debe ser de la forma \(ax + by = c). } \answer{Equation of the line}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/.htaccess0000644000175000017500000000001606634516636026272 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/pntonline.oef0000644000175000017500000000120110333717550027157 0ustar georgeskgeorgesk\title{Punto en una recta I} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{c=random(-20..20)} \integer{g=random(-20..20)} \text{L=\a*x + \b*y = \c} \integer{ch=random(1,2)} \text{x=item(\ch,\g,c)} \text{y=item(\ch,c,\g)} \real{sol=item(\ch,(\c-(\a)*(\g))/(\b),(\c-(\b)*(\g))/(\a))} \statement{Sea \(L) la recta definida por la ecuación

\(\L) .

Hallar le valor de \(c) para que el punto \((\x,\y)) esté en \(L). } \answer{\(c)}{\sol}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/par1.oef0000644000175000017500000000114710333716677026036 0ustar georgeskgeorgesk\title{Paralelas I} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{c=random(-20..20)} \integer{x=random(-20..20)} \integer{y=random(-20..20)} \integer{t=\a*(\x) + (\b)*(\y)} \text{L=\a*x + \b*y = \c} \function{eq=\a*x + \b*y = \t} \statement{Sea \(L) la recta definida por la ecuación

\(\L) .

Hallar la ecuación de la recta que contenga al punto \((\x , \y)) y paralela a \(L). } \answer{Ecuación de la recta}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/par2.oef0000644000175000017500000000140010333715710026012 0ustar georgeskgeorgesk\title{Paralelas II} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a1=random(2..20)*random(-1,1)} \integer{a2=random(2..20)*random(-1,1)} \integer{b1=random(-10..10)*2} \integer{b2=random(-10..9)*2+1} \integer{a=-(\a2)} \integer{b=\a1} \integer{x=random(-20..20)} \integer{y=random(-20..20)} \integer{t=\a*(\x) + (\b)*(\y)} \function{eq=\a*x + \b*y = \t} \text{ex=\a1*t + \b1} \text{ey=\a2*t + \b2} \statement{Sea \(L) la recta del plano definida por las ecuaciones paramétricas:

\(x = \ex)  , \(y = \ey) .

Hallar la ecuacion de la recta que pasa por el punto \((\x , \y)) y es paralela a \(L). } \answer{Ecuaciónn de la recta}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/lineonpnt2.oef0000644000175000017500000000120710333717446027253 0ustar georgeskgeorgesk\title{Recta por un punto II} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{1000} \integer{a=random(2..20)*random(-1,1)} \integer{b=random(2..20)*random(-1,1)} \integer{x=random(1..20)*random(-1,1)} \integer{y=random(1..20)*random(-1,1)} \integer{c=\a*(\x)+(\b)*(\y)} \integer{ch=random(1,2)} \text{sol=\ch=1?\b:\a} \text{a=\ch=1?\a:c} \text{b=\ch=1?c:\b} \text{L= \a*x + \b*y = \c } \statement{Sea \(L) la recta definida por la ecuación

\(\L) .

¿Cuál es el valor de \(c) para que \(L) contenga al punto \((\x , \y)) ? } \answer{\(c)}{\sol}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/src/parm2eq.oef0000644000175000017500000000132010333716624026523 0ustar georgeskgeorgesk\title{De paramétricas a general} \language{es} \range{-5..5} \author{Gang XIAO} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{100} \integer{a1=random(2..20)*random(-1,1)} \integer{a2=random(2..20)*random(-1,1)} \integer{b1=random(-10..10)*2} \integer{b2=random(-10..9)*2+1} \integer{a=-(\a2)} \integer{b=\a1} \integer{c=(\a)*(\b1)+(\b)*(\b2)} \function{eq=\a*x + \b*y = \c} \text{ex=\a1*t + \b1} \text{ey=\a2*t + \b2} \statement{Sea \(L) la recta definida por las ecuaciones paramétricas:

\(x = \ex) , \(y = \ey)  .

hallar la ecuación de \(L).

La ecuación debe ser de la forma \(ax + by = c). } \answer{Ecuación de \(L)}{\eq}{type=equation}wims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/endhook.phtml0000644000175000017500000000042510333713672026374 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page. !if $status=waiting

Herramientas disponibles en línea: !href target=wims_tool module=tool/analysis/function calculador de funciones . (Esta herramienta aparecerá en otra ventana de su navegador.) !endifwims-modules-es-3.64.orig/modules/H5/geometry/oefline2d.es/help.phtml0000644000175000017500000000005210060323402025652 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/0000755000175000017500000000000011213710130024023 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/intro.phtml0000644000175000017500000000361011257111204026231 0ustar georgeskgeorgesk!header El objetivo de este ejercicio es establecer (y poner a prueba) la intuición del estudiante con el centro de gravedad.

Este es un ejercicio visual: dada una figura con un número de objetos (representados con puntos de diferentes colores), en definitiva con diferentes pesos, uno debe encontrar el centro de gravedad haciendo click sobre la figura. Lo fundamental es que el alumno haga click sin calcular la posición, es decir, de manera intuitiva. !form new La dificultad del ejercicio varía considerablemente al elegir varios parámetros.

  • Tipo de ejercicio.
    Click sobre el centro de gravedad oculto (más fácil).
    Dado el centro de gravedad, hacer click sobre el objeto escondido (más difícil).
  • Número de objetos: 2   3   4   5   !! 6   !! 7   (la dificultad aumenta con este número).
  • Variación de pesos: 1   2   3   4   !! 5   (la dificultad aumenta con la variación de pesos).
  • Número de disparos en cada sesión: !set shoots=5 !formradio shoots list 1,3,5,8,12 (La puntuación será dada sólo al finalizar la sesión).

!href module=home&search_keywords=shoot&search_category=A Otros ejercicios/juegos de disparos . !tail wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/var.init0000644000175000017500000000043211074456076025524 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions (cmd=new or cmd=renew) !default type=1 !default range=15 !default objects=3 !default weights=2 !default shoots=5 reply_cnt=0 tot_error=0 wims_module_log=new: type $type, $objects obj, $weights weights wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/var.proc0000644000175000017500000000454011074456076025530 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid working calls to the module. size=200 border=10 ring_size=5 insdraw_size=$[$size+$border*2],$[$size+$border*2] color0=0,0,0 color1=255,0,0 color2=0,255,0 color3=0,0,255 color4=155,0,155 color5=0,155,155 !if $type=1 gcolor=0,0,0 !else gcolor=100,100,0 !endif !if $status!=wait !read var.prep !endif xcc=!eval rint($size*($(xc)-$xmin)/($xmax-$xmin)+$border) ycc=!eval rint($size*($(yc)-$ymin)/($ymax-$ymin)+$border) crosize=6 ins_src= !for i=1 to $objects x_=!eval rint($size*($(x$i)-$xmin)/($xmax-$xmin)+$border) y_=!eval rint($size*($(y$i)-$ymin)/($ymax-$ymin)+$border) !if $i!=$objects or $type!=2 ins_src=$ins_src\ fcircle $x_,$y_,6,$(color$(w$i)) !else !if $click_x$click_y!=$empty and $status=wait xm=$x_ ym=$y_ ins_src=$ins_src\ fcircle $x_,$y_,6,$color0 !else ins_src=$ins_src\ fcircle $xcc,$ycc,2,$gcolor\ circle $xcc,$ycc,$[$crosize*3],$gcolor !endif !endif !next i !if $click_x$click_y!=$empty and $status=wait click_x=$[$click_x] click_y=$[$click_y] xc1=!eval $click_x-$crosize xc2=!eval $click_x+$crosize yc1=!eval $click_y-$crosize yc2=!eval $click_y+$crosize ss=!eval $size+$border*2-1 ins_src=$ins_src\ line $xc1,$yc1,$xc2,$yc2,$color0\ line $xc1,$yc2,$xc2,$yc1,$color0\ fcircle $xcc,$ycc,2,$gcolor\ circle $xcc,$ycc,$[$crosize*3],$gcolor\ line 0,0,$ss,0,255,255,0\ line 0,0,0,$ss,255,255,0\ line 0,$ss,$ss,$ss,255,255,0\ line $ss,0,$ss,$ss,255,255,0 !if $type=1 xe=$[$click_x-$xcc] ye=$[$click_y-$ycc] !else xe=$[$click_x-$xm] ye=$[$click_y-$ym] !endif error=$[sqrt(($xe)^2+($ye)^2)] reply_cnt=$[$reply_cnt+1] !if $reply_cnt>$shoots reply_cnt=1 tot_error=$error target= !else tot_error=$[$tot_error+$error] !endif !if $error<$ring_size*10 target=$target\ fcircle $[rint($xe+$ring_size*10)],$[rint($ye+$ring_size*10)],5,$color0 !endif mean=$[rint(2*$tot_error/$reply_cnt)/10] !if $reply_cnt>=$shoots module_score=!eval 10-floor($mean) !if $module_score<0 or NaN isin $module_score module_score=0 !endif wims_module_log=$reply_cnt shoots, error=$mean mm, $module_score/10 rings= !for i=0 to 10 rings=$rings\ circle $[$ring_size*10],$[$ring_size*10],$[2*$i*$ring_size],160,160,160 !next i !endif !distribute item $ into status,click_x,click_y !endif wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/var.prep0000644000175000017500000000133411074456076025531 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions (cmd=new or cmd=renew) !default range=15 !default objects=3 !default weights=1 xs=!shuffle $range ys=!shuffle $range xc=0 yc=0 xmin=$range ymin=$range xmax=0 ymax=0 ww=0 !for i=1 to $objects x$i=!item $i of $xs y$i=!item $i of $ys w$i=!randint 1,$weights xc=!eval $xc+$(x$i)*$(w$i) yc=!eval $yc+$(y$i)*$(w$i) ww=!eval $ww+$(w$i) !if $xmin>$(x$i) xmin=$(x$i) !endif !if $xmax<$(x$i) xmax=$(x$i) !endif !if $ymin>$(y$i) ymin=$(y$i) !endif !if $ymax<$(y$i) ymax=$(y$i) !endif !next i xc=!eval $xc/$ww yc=!eval $yc/$ww !distribute item wait,, into status,click_x,click_y !if $type=2 xmin=1 ymin=1 xmax=$range ymax=$range !endif wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/about.phtml0000644000175000017500000000003611074456076026227 0ustar georgeskgeorgesk$module_about !tail wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/main.phtml0000644000175000017500000000446411256013035026034 0ustar georgeskgeorgesk!header Tenemos $objects objetos con !if $weights>1 diferentes !else el mismo !endif peso en el plano. La siguiente figura muestra !if $type=1 las posiciones de esos $objects objectos. ¿Dónde está el centro de gravedad del conjunto de esos $objects objetos? !else la posición de $[$objects-1] de ellos, junto con el centro de gravedad de los $objects objetos. !if $weights>1 El último objeto, escondido, es de peso $(w$objects). ¿Dónde está este objeto? !else ¿Dónde está escondido el último objeto? !endif !endif !if $status=wait

Para dar tu respuesta: haz click en la figura, en el lugar donde creas que es el correcto. !form reply
!distribute item alt=Click,1,form click into ins_attr,ins_border,ins_tag !else

Aquí está tu respuesta, además de !if $type=1 el verdadero centro de gravedad. !else la posición real del objeto escondido. !endif
!set ins_attr=alt=Result !endif !insdraw fill 1,1,255,255,255\ transparent 255,255,255\ $ins_src     !for i=1 to $weights = un objeto de peso $i
!next i !if $type=2 = el centro de gravedad
!endif !if $status!=wait = donde has hecho click
!if $type=1 = el verdadero centro de gravedad !else = la verdadera posición del objeto escondido !endif !endif
!if $status=wait !endif

!if $status!=wait Precisión de la respuesta (número $reply_cnt de $shoots): $[rint($error*2)/10] mm. !if $reply_cnt<$shoots Precisión media de la sesión: $mean mm.

!href cmd=next Continuar con un nuevo disparo . !else

Fin de la sesión con $reply_cnt disparos. Precisión media = $mean mm, puntuación = $module_score/10.

Resumen de los disparos de la sesión.   !set insdraw_size=$[$ring_size*20],$[$ring_size*20] !insdraw fill 1,1,255,255,255\ transparent 255,255,255\ $rings\ $target

!href cmd=renew&worksheet=$wims_sheet&$module_init_parm Comenzar una nueva sesión . !if $worksheet=$empty !href module=$module Cambiar el tipo de juego . !endif !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/var.def0000644000175000017500000000230511074456076025320 0ustar georgeskgeorgesk#This is the variable definition file of the wims module # `coincidence-polynome'. # Author: XIAO Gang #Each non-comment line defines a variable. Format of the line: # #name allow log default llim ulim # #name: name of the variable #log: log priority. 0: no log. 1: little log. 2: more log. etc. #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. #llim, ulim: lower and upper limits. (Not valid for string variable) # # #name allow log llim ulim range deny 1 status deny 0 type init 1 objects init 1 2 7 weights init 1 1 5 shoots init 1 1 20 click_x reply click_y reply reply_cnt deny 2 tot_error deny 2 target deny 0 x1 deny 1 x2 deny 1 x3 deny 1 x4 deny 1 x5 deny 1 x6 deny 1 x7 deny 1 y1 deny 1 y2 deny 1 y3 deny 1 y4 deny 1 y5 deny 1 y6 deny 1 y7 deny 1 w1 deny 1 w2 deny 1 w3 deny 1 w4 deny 1 w5 deny 1 w6 deny 1 w7 deny 1 xc deny 1 yc deny 1 xmin deny 0 xmax deny 0 ymin deny 0 ymax deny 0 wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/INDEX0000644000175000017500000000101011244502202024610 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Centro de gravedad description=hacer click en el centro de gravedad de una configuración dada. language=es category=exercise, recreation domain=geometría level=H3,H4,H5,H6 keywords=gravedad centro require= scoring=yes copyright=© 1998- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=2.01 wims_version=2.04 vardef= translator=Pilar Ullán González translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/0000755000175000017500000000000011213710130024753 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/o5.gif0000644000175000017500000000007211074456076026011 0ustar georgeskgeorgeskGIF89a €ÿÿÿ››!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/o4.gif0000644000175000017500000000007211074456076026010 0ustar georgeskgeorgeskGIF89a €ÿÿÿ››!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/cross.gif0000644000175000017500000000010511074456076026614 0ustar georgeskgeorgeskGIF89a ¡ÿÿÿÿÿi!ù, Ži–Èð\‹Q¦êÔ–Ó‰=Ü5B;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/o0.gif0000644000175000017500000000010011074456076025774 0ustar georgeskgeorgeskGIF89a ¡ÿÿÿÿÿi!ù, „-§Â¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/circle.gif0000644000175000017500000000013711074456076026731 0ustar georgeskgeorgeskGIF89a¡ÿÿÿÿÿi!ù,0„‚‹âÿ˜q’.[UÒrjÜy&cy ¹±#8©é*£§*pgíéý2<Q;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/o1.gif0000644000175000017500000000007211074456076026005 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/o2.gif0000644000175000017500000000007211074456076026006 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H5/geometry/gravshoot.es/gifs/o3.gif0000644000175000017500000000007211074456076026007 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H5/chemistry/0000755000175000017500000000000011262661100021563 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/0000755000175000017500000000000011245273145024472 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/0000755000175000017500000000000011245273145025230 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/click1.def0000644000175000017500000001003111245026515027046 0ustar georgeskgeorgesk!set title=Click en la tabla !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=48 prevarcnt=46 postvarcnt=1 replycnt=1 choicecnt=0 conditioncnt=0 feedbackcnt=1 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp0=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif tmp0=!record 0 of table val14=$(tmp0) val6=$val14 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val17=$[rint(min($val4,$(tmp0)))] tmp0=!record 0 of position val18=$(tmp0) val19=$val18 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val19 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val19 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val19 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] !ifval $val10 isitemof 2,3 val21=$[rint($val10)] !else tmp=!nonempty items 2,3 tmp0=!randitem $tmp val21=$[rint($(tmp0))] !endif tmp0=!randint 1, $val17 val22=$[rint($(tmp0))] val23=$(val6[$val22;]) tmp0=!item 1 of $val23 val22=$[rint($(tmp0))] val24=$[rint(30)] val25=$[rint(30)] tmp=!translate internal $ $ to ; in $val18 tmp=!column 4 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28= !for val29 =1 to $val7 val30=$[rint($(val26[$val29])*$val24)] val31=$[rint($(val27[$val29])*$val25)] !ifval $(val27[$val29])>8 val31=$[rint($val31+5)] !endif !ifval $(val27[$val29])>8 val30=$[rint($val30+$val24*2)] !endif val28=$val28 r,$val30,$val31,$val30+$val24,$val31+$val25; !if $val29=$val22 val32=r,$val30,$val31,$val30+$val24,$val31+$val25 !endif !next val33=$(val23[$val21]) val34=$(val14[;$val21]) val35=número, símbolo, nombre, masa atómica replytype1=coord replyname1=The position replygood1=$val1/table2.gif;$val32;$val28 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()En la tabla periódica de los elementos mostrada más abajo, haz click en la casilla del elemento cuyo $(val35[$val21]) es $val33.

!read oef/embed.phtml r1 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef !if $m_result1>1 val36=$(val34[$m_result1-1]) !endif !exit :feedback !ifval $m_result1>1

Has hecho click en la casilla de $val36 en lugar de la de $val33. $() !endif !exit :test !exit :stat vsavelist=21,33,34,35 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/order3.def0000644000175000017500000000574711245074155027123 0ustar georgeskgeorgesk!set title=Ordenar 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=3 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(3)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif val19=números, símbolos, nombres, masas val20=60,60,120,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) replytype1=dragfill replyname1=Elemento 1 replygood1=$(val6[1]) replytype2=dragfill replyname2=Elemento 2 replygood2=$(val6[2]) replytype3=dragfill replyname3=Elemento 3 replygood3=$(val6[3]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

!for m_i=1 to $val14 $() !read oef/embed.phtml r\i,$(val20[$val10])x30 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,14,20 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/metals8.def0000644000175000017500000001107511245072554027272 0ustar georgeskgeorgesk!set title=Metal y no metal 8 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=47 prevarcnt=33 postvarcnt=13 replycnt=2 choicecnt=0 conditioncnt=8 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif tmp0=!record 0 of position val14=$(tmp0) val15=$val14 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val15 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val15 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$[rint(8)] tmp0=!item $val19 of 1,1,1,1,2,2,2,2,3,3,3,3,4,4 val20=$[rint($(tmp0))] tmp0=!randint $val20, $val19-$val20 val21=$[rint($(tmp0))] val22=$[rint($val19-$val20+1)] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif tmp0=!item $val10-1 of 50,100 val23=$[rint($(tmp0))] tmp0=!select $val15 where column 5 isitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val24=$(tmp1) tmp0=!select $val15 where column 5 notitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val25=$(tmp1) val24=$(val6[$val24;$val10]) val25=$(val6[$val25;$val10]) tmp0=!shuffle $val24 tmp1=!item 1 to $val21 of $(tmp0) val24=$(tmp1) tmp0=!shuffle $val25 tmp1=!item 1 to $val19-$val21 of $(tmp0) val25=$(tmp1) val26=$(val23[])x30x$val22 replytype1=dragfill replyname1=Metals replygood1=?analyze 27;$val24 replytype2=dragfill replyname2=Non-metals replygood2=?analyze 28;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: !read oef/embed.phtml reply 1,$val26 $()

No metales: !read oef/embed.phtml reply 2,$val26 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val29=$val27,$val28 tmp0=!listcomplement $val29 in $val24,$val25 val30=$(tmp0) val29=$val29,$val30 val31= val32= !for val33 =1 to $val19 val34=$(val29[$val33]) !if $val34 isitemof $val27 val31=$val31 a metal, !ifval $val34 isitemof $val24 val32=$val32 1, !else val32=$val32 0, !endif !else !if $val34 isitemof $val28 val31=$val31 a non-metal, !ifval $val34 isitemof $val25 val32=$val32 1, !else val32=$val32 0, !endif !else val31=$val31 neighther metal nor non-metal, val32=$val32 0, !endif !endif !next !exit :feedback !exit :test !ifval $(val32[1])=1 condtest1=1 !else condtest1=0 !endif condname1=$(val29[1]) is $(val31[1]) !ifval $(val32[2])=1 condtest2=1 !else condtest2=0 !endif condname2=$(val29[2]) is $(val31[2]) !ifval $(val32[3])=1 condtest3=1 !else condtest3=0 !endif condname3=$(val29[3]) is $(val31[3]) !ifval $(val32[4])=1 condtest4=1 !else condtest4=0 !endif condname4=$(val29[4]) is $(val31[4]) !ifval $(val32[5])=1 condtest5=1 !else condtest5=0 !endif condname5=$(val29[5]) is $(val31[5]) !ifval $(val32[6])=1 condtest6=1 !else condtest6=0 !endif condname6=$(val29[6]) is $(val31[6]) !ifval $(val32[7])=1 condtest7=1 !else condtest7=0 !endif condname7=$(val29[7]) is $(val31[7]) !ifval $(val32[8])=1 condtest8=1 !else condtest8=0 !endif condname8=$(val29[8]) is $(val31[8]) !exit :stat vsavelist=19,24,25,26,27,28 embedcnt=2 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/metals10.def0000644000175000017500000001141211245072554027336 0ustar georgeskgeorgesk!set title=Metal y no metal 10 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=47 prevarcnt=33 postvarcnt=13 replycnt=2 choicecnt=0 conditioncnt=10 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif tmp0=!record 0 of position val14=$(tmp0) val15=$val14 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val15 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val15 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$[rint(10)] tmp0=!item $val19 of 1,1,1,1,2,2,2,2,3,3,3,3,4,4 val20=$[rint($(tmp0))] tmp0=!randint $val20, $val19-$val20 val21=$[rint($(tmp0))] val22=$[rint($val19-$val20+1)] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif tmp0=!item $val10-1 of 50,100 val23=$[rint($(tmp0))] tmp0=!select $val15 where column 5 isitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val24=$(tmp1) tmp0=!select $val15 where column 5 notitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val25=$(tmp1) val24=$(val6[$val24;$val10]) val25=$(val6[$val25;$val10]) tmp0=!shuffle $val24 tmp1=!item 1 to $val21 of $(tmp0) val24=$(tmp1) tmp0=!shuffle $val25 tmp1=!item 1 to $val19-$val21 of $(tmp0) val25=$(tmp1) val26=$(val23[])x30x$val22 replytype1=dragfill replyname1=Metals replygood1=?analyze 27;$val24 replytype2=dragfill replyname2=Non-metals replygood2=?analyze 28;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: !read oef/embed.phtml reply 1,$val26 $()

No metales: !read oef/embed.phtml reply 2,$val26 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val29=$val27,$val28 tmp0=!listcomplement $val29 in $val24,$val25 val30=$(tmp0) val29=$val29,$val30 val31= val32= !for val33 =1 to $val19 val34=$(val29[$val33]) !if $val34 isitemof $val27 val31=$val31 a metal, !ifval $val34 isitemof $val24 val32=$val32 1, !else val32=$val32 0, !endif !else !if $val34 isitemof $val28 val31=$val31 a non-metal, !ifval $val34 isitemof $val25 val32=$val32 1, !else val32=$val32 0, !endif !else val31=$val31 neighther metal nor non-metal, val32=$val32 0, !endif !endif !next !exit :feedback !exit :test !ifval $(val32[1])=1 condtest1=1 !else condtest1=0 !endif condname1=$(val29[1]) is $(val31[1]) !ifval $(val32[2])=1 condtest2=1 !else condtest2=0 !endif condname2=$(val29[2]) is $(val31[2]) !ifval $(val32[3])=1 condtest3=1 !else condtest3=0 !endif condname3=$(val29[3]) is $(val31[3]) !ifval $(val32[4])=1 condtest4=1 !else condtest4=0 !endif condname4=$(val29[4]) is $(val31[4]) !ifval $(val32[5])=1 condtest5=1 !else condtest5=0 !endif condname5=$(val29[5]) is $(val31[5]) !ifval $(val32[6])=1 condtest6=1 !else condtest6=0 !endif condname6=$(val29[6]) is $(val31[6]) !ifval $(val32[7])=1 condtest7=1 !else condtest7=0 !endif condname7=$(val29[7]) is $(val31[7]) !ifval $(val32[8])=1 condtest8=1 !else condtest8=0 !endif condname8=$(val29[8]) is $(val31[8]) !ifval $(val32[9])=1 condtest9=1 !else condtest9=0 !endif condname9=$(val29[9]) is $(val31[9]) !ifval $(val32[10])=1 condtest10=1 !else condtest10=0 !endif condname10=$(val29[10]) is $(val31[10]) !exit :stat vsavelist=19,24,25,26,27,28 embedcnt=2 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/order6.def0000644000175000017500000000625511245074155027121 0ustar georgeskgeorgesk!set title=Ordenar 6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=6 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(6)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif val19=números, símbolos, nombres, masas val20=60,60,120,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) replytype1=dragfill replyname1=Elemento 1 replygood1=$(val6[1]) replytype2=dragfill replyname2=Elemento 2 replygood2=$(val6[2]) replytype3=dragfill replyname3=Elemento 3 replygood3=$(val6[3]) replytype4=dragfill replyname4=Elemento 4 replygood4=$(val6[4]) replytype5=dragfill replyname5=Elemento 5 replygood5=$(val6[5]) replytype6=dragfill replyname6=Elemento 6 replygood6=$(val6[6]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

!for m_i=1 to $val14 $() !read oef/embed.phtml r\i,$(val20[$val10])x30 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,14,20 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill62.def0000644000175000017500000001111111245072311026771 0ustar georgeskgeorgesk!set title=Coloca 6 + 2 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=40 prevarcnt=38 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] val14=$[rint(2)] tmp0=!word 1 of 6 + 2 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill54.def0000644000175000017500000001111111245072311026772 0ustar georgeskgeorgesk!set title=Coloca 5 + 4 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=40 prevarcnt=38 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] val14=$[rint(4)] tmp0=!word 1 of 5 + 4 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/metals6.def0000644000175000017500000001057111245072554027270 0ustar georgeskgeorgesk!set title=Metal y no metal 6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=47 prevarcnt=33 postvarcnt=13 replycnt=2 choicecnt=0 conditioncnt=6 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif tmp0=!record 0 of position val14=$(tmp0) val15=$val14 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val15 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val15 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$[rint(6)] tmp0=!item $val19 of 1,1,1,1,2,2,2,2,3,3,3,3,4,4 val20=$[rint($(tmp0))] tmp0=!randint $val20, $val19-$val20 val21=$[rint($(tmp0))] val22=$[rint($val19-$val20+1)] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif tmp0=!item $val10-1 of 50,100 val23=$[rint($(tmp0))] tmp0=!select $val15 where column 5 isitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val24=$(tmp1) tmp0=!select $val15 where column 5 notitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val25=$(tmp1) val24=$(val6[$val24;$val10]) val25=$(val6[$val25;$val10]) tmp0=!shuffle $val24 tmp1=!item 1 to $val21 of $(tmp0) val24=$(tmp1) tmp0=!shuffle $val25 tmp1=!item 1 to $val19-$val21 of $(tmp0) val25=$(tmp1) val26=$(val23[])x30x$val22 replytype1=dragfill replyname1=Metals replygood1=?analyze 27;$val24 replytype2=dragfill replyname2=Non-metals replygood2=?analyze 28;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: !read oef/embed.phtml reply 1,$val26 $()

No metales: !read oef/embed.phtml reply 2,$val26 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val29=$val27,$val28 tmp0=!listcomplement $val29 in $val24,$val25 val30=$(tmp0) val29=$val29,$val30 val31= val32= !for val33 =1 to $val19 val34=$(val29[$val33]) !if $val34 isitemof $val27 val31=$val31 a metal, !ifval $val34 isitemof $val24 val32=$val32 1, !else val32=$val32 0, !endif !else !if $val34 isitemof $val28 val31=$val31 a non-metal, !ifval $val34 isitemof $val25 val32=$val32 1, !else val32=$val32 0, !endif !else val31=$val31 neighther metal nor non-metal, val32=$val32 0, !endif !endif !next !exit :feedback !exit :test !ifval $(val32[1])=1 condtest1=1 !else condtest1=0 !endif condname1=$(val29[1]) is $(val31[1]) !ifval $(val32[2])=1 condtest2=1 !else condtest2=0 !endif condname2=$(val29[2]) is $(val31[2]) !ifval $(val32[3])=1 condtest3=1 !else condtest3=0 !endif condname3=$(val29[3]) is $(val31[3]) !ifval $(val32[4])=1 condtest4=1 !else condtest4=0 !endif condname4=$(val29[4]) is $(val31[4]) !ifval $(val32[5])=1 condtest5=1 !else condtest5=0 !endif condname5=$(val29[5]) is $(val31[5]) !ifval $(val32[6])=1 condtest6=1 !else condtest6=0 !endif condname6=$(val29[6]) is $(val31[6]) !exit :stat vsavelist=19,24,25,26,27,28 embedcnt=2 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill6.def0000644000175000017500000001106011245072311026712 0ustar georgeskgeorgesk!set title=Coloca 6 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 6 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill103.def0000644000175000017500000001111311245072311027047 0ustar georgeskgeorgesk!set title=Coloca 10 + 3 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=40 prevarcnt=38 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] val14=$[rint(3)] tmp0=!word 1 of 10 + 3 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/order5.def0000644000175000017500000000615311245074155027115 0ustar georgeskgeorgesk!set title=Ordenar 5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=5 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(5)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif val19=números, símbolos, nombres, masas val20=60,60,120,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) replytype1=dragfill replyname1=Elemento 1 replygood1=$(val6[1]) replytype2=dragfill replyname2=Elemento 2 replygood2=$(val6[2]) replytype3=dragfill replyname3=Elemento 3 replygood3=$(val6[3]) replytype4=dragfill replyname4=Elemento 4 replygood4=$(val6[4]) replytype5=dragfill replyname5=Elemento 5 replygood5=$(val6[5]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

!for m_i=1 to $val14 $() !read oef/embed.phtml r\i,$(val20[$val10])x30 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,14,20 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill108.def0000644000175000017500000001111311245072311027054 0ustar georgeskgeorgesk!set title=Coloca 10 + 8 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=40 prevarcnt=38 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] val14=$[rint(8)] tmp0=!word 1 of 10 + 8 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill33.def0000644000175000017500000001111111245072311026767 0ustar georgeskgeorgesk!set title=Coloca 3 + 3 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=40 prevarcnt=38 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] val14=$[rint(3)] tmp0=!word 1 of 3 + 3 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill14.def0000644000175000017500000001106211245072311026773 0ustar georgeskgeorgesk!set title=Coloca 14 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 14 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/.htaccess0000644000175000017500000000001611074456076027031 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/order4.def0000644000175000017500000000605111245273145027111 0ustar georgeskgeorgesk!set title=Ordenar 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=29 prevarcnt=28 postvarcnt=0 replycnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(4)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif val19=números, símbolos, nombres, masas val20=60,60,120,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) replytype1=dragfill replyname1=Elemento 1 replygood1=$(val6[1]) replytype2=dragfill replyname2=Elemento 2 replygood2=$(val6[2]) replytype3=dragfill replyname3=Elemento 3 replygood3=$(val6[3]) replytype4=dragfill replyname4=Elemento 4 replygood4=$(val6[4]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

!for m_i=1 to $val14 $() !read oef/embed.phtml r\i,$(val20[$val10])x30 $() !next $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,14,20 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill4.def0000644000175000017500000001106011245072311026710 0ustar georgeskgeorgesk!set title=Coloca 4 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 4 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/corr7.def0000644000175000017500000000555011245071022026737 0ustar georgeskgeorgesk!set title=Correspondencia 7 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=30 prevarcnt=29 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(7)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$val10 val20=$val13 val21=números, símbolos, nombres, masas val22=60,60,150,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val23=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val19 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val24=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val20 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) replytype1=correspond replyname1=La correspondencia replygood1=$val24;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.

!read oef/embed.phtml r1,30x$(val22[$val19])x$(val22[$val20]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=19,20,21,22 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/corr4.def0000644000175000017500000000555011245071022026734 0ustar georgeskgeorgesk!set title=Correspondencia 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=30 prevarcnt=29 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(4)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$val10 val20=$val13 val21=números, símbolos, nombres, masas val22=60,60,150,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val23=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val19 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val24=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val20 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) replytype1=correspond replyname1=La correspondencia replygood1=$val24;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.

!read oef/embed.phtml r1,30x$(val22[$val19])x$(val22[$val20]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=19,20,21,22 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill20.def0000644000175000017500000001106211245072311026770 0ustar georgeskgeorgesk!set title=Coloca 20 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 20 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill3.def0000644000175000017500000001106011245072311026707 0ustar georgeskgeorgesk!set title=Coloca 3 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 3 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/corr3.def0000644000175000017500000000555011245071022026733 0ustar georgeskgeorgesk!set title=Correspondencia 3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=30 prevarcnt=29 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(3)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$val10 val20=$val13 val21=números, símbolos, nombres, masas val22=60,60,150,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val23=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val19 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val24=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val20 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) replytype1=correspond replyname1=La correspondencia replygood1=$val24;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.

!read oef/embed.phtml r1,30x$(val22[$val19])x$(val22[$val20]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=19,20,21,22 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill10.def0000644000175000017500000001106211245072311026767 0ustar georgeskgeorgesk!set title=Coloca 10 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 10 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/corr6.def0000644000175000017500000000555011245071022026736 0ustar georgeskgeorgesk!set title=Correspondencia 6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=30 prevarcnt=29 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(6)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$val10 val20=$val13 val21=números, símbolos, nombres, masas val22=60,60,150,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val23=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val19 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val24=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val20 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) replytype1=correspond replyname1=La correspondencia replygood1=$val24;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.

!read oef/embed.phtml r1,30x$(val22[$val19])x$(val22[$val20]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=19,20,21,22 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill5.def0000644000175000017500000001106011245072311026711 0ustar georgeskgeorgesk!set title=Coloca 5 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 5 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/corr5.def0000644000175000017500000000555011245071022026735 0ustar georgeskgeorgesk!set title=Correspondencia 5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r varcnt=30 prevarcnt=29 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(5)] tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$val10 val20=$val13 val21=números, símbolos, nombres, masas val22=60,60,150,100 tmp0=!shuffle $val18 tmp1=!item 1 to $val14 of $(tmp0) val23=$(tmp1) tmp=!translate internal $ $ to ; in $val6 tmp=!row $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val19 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val24=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column $val20 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) replytype1=correspond replyname1=La correspondencia replygood1=$val24;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.

!read oef/embed.phtml r1,30x$(val22[$val19])x$(val22[$val20]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=19,20,21,22 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/next.def0000644000175000017500000000627411245073321026671 0ustar georgeskgeorgesk!set title=Elemento siguiente !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=34 prevarcnt=33 postvarcnt=0 replycnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(2)] val15=-1,0 val16=inmediatamente posterior a aquel val17=yes val18=no tmp0=!record 0 of table val19=$(tmp0) val6=$val19 val8= !if $val5 notsametext $val8 and $val18 notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val22=$[rint(min($val4,$(tmp0)))] val23=$val10 val24=$val13 val25=número, símbolo, nombre, masa tmp0=!randint $val14, $val22 val26=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $(val15[1])+$val26 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $(val15[2])+$val26 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val28=$(tmp0) tmp=!translate internal $ $ to ; in $val27 tmp=!column $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val29=$(tmp0) tmp=!translate internal $ $ to ; in $val28 tmp=!column $val24 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val30=$(tmp0) oefsteps=reply $val24 nextstep=!nosubst reply $val24 !readproc oef/steps.proc replytype1=numeric replyname1=El número atómico es replygood1=$[$val30] replytype2=case replyname2=El símbolo es replygood2=$val30 replytype3=nocase replyname3=El nombre del elemento es replygood3=$val30;$val20 replytype4=numeric replyname4=La masa atómica replygood4=$[$val30] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es el $(val25[$val24]) del elemento $val16 cuyo $(val25[$val23]) es $val29? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=16,23,24,25,29 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/prec.def0000644000175000017500000000627011245073321026640 0ustar georgeskgeorgesk!set title=Elemento previo !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=34 prevarcnt=33 postvarcnt=0 replycnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(2)] val15=0,-1 val16=inmediatamente anterior a aquel val17=yes val18=no tmp0=!record 0 of table val19=$(tmp0) val6=$val19 val8= !if $val5 notsametext $val8 and $val18 notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val21=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val22=$[rint(min($val4,$(tmp0)))] val23=$val10 val24=$val13 val25=número, símbolo, nombre, masa tmp0=!randint $val14, $val22 val26=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $(val15[1])+$val26 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $(val15[2])+$val26 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val28=$(tmp0) tmp=!translate internal $ $ to ; in $val27 tmp=!column $val23 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val29=$(tmp0) tmp=!translate internal $ $ to ; in $val28 tmp=!column $val24 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val30=$(tmp0) oefsteps=reply $val24 nextstep=!nosubst reply $val24 !readproc oef/steps.proc replytype1=numeric replyname1=El número atómico es replygood1=$[$val30] replytype2=case replyname2=El símbolo es replygood2=$val30 replytype3=nocase replyname3=El nombre del elemento es replygood3=$val30;$val20 replytype4=numeric replyname4=La masa atómica replygood4=$[$val30] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es el $(val25[$val24]) del elemento $val16 cuyo $(val25[$val23]) es $val29? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=16,23,24,25,29 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/fill8.def0000644000175000017500000001106011245072311026714 0ustar georgeskgeorgesk!set title=Coloca 8 casillas !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=39 prevarcnt=37 postvarcnt=1 replycnt=20 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(0)] tmp0=!word 1 of 8 val15=$[rint($(tmp0))] tmp0=!record 0 of position val16=$(tmp0) val17=$val16 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val17 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val17 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val15=$[rint(min($val15,$val20))] tmp0=!shuffle $val20 tmp1=!item 1 to $val15+$val14 of $(tmp0) val21=$(tmp1) tmp0=!sort numeric items $val21 val21=$(tmp0) tmp=!translate internal $ $ to ; in $val17 tmp=!row $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) val22=$(val6[;2]) !ifval $val14>0 and $val20>$val15 val23=;$(val22[$val15+1..$val15+$val14]) !else val23= !endif val24= val25=$[rint(35)] val26=$[rint(30)] !for val27 =1 to $val15 !ifval $(val6[$val27;3])>8 val28=$[rint($(val6[$val27;4])*$val25+$val25*2+1)] !else val28=$[rint($(val6[$val27;4])*$val25+1)] !endif !ifval $(val6[$val27;3])>8 val29=$[rint($(val6[$val27;3])*$val26+6)] !else val29=$[rint($(val6[$val27;3])*$val26+1)] !endif val24=$val24 r$val27,$val28 x $val29 !next val30=$val25-1 x $val26-1 tmp0=!item 1 to $val15 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20 val31=$(tmp0) oefsteps=$val31 nextstep=!nosubst $val31 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=$(val22[1])$val23 replytype2=dragfill replyname2=Box 2 replygood2=$(val22[2]) replytype3=dragfill replyname3=Box 3 replygood3=$(val22[3]) replytype4=dragfill replyname4=Box 4 replygood4=$(val22[4]) replytype5=dragfill replyname5=Box 5 replygood5=$(val22[5]) replytype6=dragfill replyname6=Box 6 replygood6=$(val22[6]) replytype7=dragfill replyname7=Box 7 replygood7=$(val22[7]) replytype8=dragfill replyname8=Box 8 replygood8=$(val22[8]) replytype9=dragfill replyname9=Box 9 replygood9=$(val22[9]) replytype10=dragfill replyname10=Box 10 replygood10=$(val22[10]) replytype11=dragfill replyname11=Box 11 replygood11=$(val22[11]) replytype12=dragfill replyname12=Box 12 replygood12=$(val22[12]) replytype13=dragfill replyname13=Box 13 replygood13=$(val22[13]) replytype14=dragfill replyname14=Box 14 replygood14=$(val22[14]) replytype15=dragfill replyname15=Box 15 replygood15=$(val22[15]) replytype16=dragfill replyname16=Box 16 replygood16=$(val22[16]) replytype17=dragfill replyname17=Box 17 replygood17=$(val22[17]) replytype18=dragfill replyname18=Box 18 replygood18=$(val22[18]) replytype19=dragfill replyname19=Box 19 replygood19=$(val22[19]) replytype20=dragfill replyname20=Box 20 replygood20=$(val22[20]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Coloca los símbolos dados en la tabla siguiente.

!read oef/special.phtml imagefill $val1/table2.gif,700x360,$val30 $val24 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val30=$val25 x $val26-1 !exit :feedback !exit :test !exit :stat vsavelist=1,24,25,26,30 embedcnt=1 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/blackbox.def0000644000175000017500000000772711245025242027503 0ustar georgeskgeorgesk!set title=Casilla vacía !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=47 prevarcnt=46 postvarcnt=0 replycnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=table1.gif tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] tmp0=!record 0 of position val19=$(tmp0) val20=$val19 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val20 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val20 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val20 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val20 tmp0=!rowcnt $tmp val21=$[rint(min($val4,$(tmp0)))] tmp0=!randint 1, $val18 val22=$[rint($(tmp0))] val23=$(val6[$val22;]) tmp0=!item 1 of $val23 val22=$[rint($(tmp0))] val24=$(val19[$val22;]) val25=$[rint(30)] val26=$[rint(30)] val27=$[rint($(val24[4])*$val25)] val28=$[rint($(val24[3])*$val26)] !ifval $(val24[3])>8 val28=$[rint($val28+5)] !endif !ifval $(val24[3])>8 val27=$[rint($val27+$val25*2)] !endif val29= !for val30 =1 to $val7 val29=$val29 r,$val27,$val28,$val27+$val25,$val28+$val26; !if $val30=$val22 val31=r,$val27,$val28,$val27+$val25,$val28+$val26 !endif !next val32=$(val23[$val13]) !ifval $val13=3 val32=$val32;$(val15[;3]) !endif val33=número atómico, símbolo, nombre, masa atómica val34=r1,r2,r3,r4 oefsteps=$(val34[$val13]) nextstep=!nosubst $(val34[$val13]) !readproc oef/steps.proc replytype1=numeric replyname1=El número atómico es replygood1=$[$val32] replytype2=case replyname2=El símbolo es replygood2=$val32 replytype3=nocase replyname3=El nombre del elemento es replygood3=$val32 replytype4=numeric replyname4=La masa atómica es replygood4=$[$val32] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la $(val33[$val13]) del elemento correspondiente a esa casilla?

!read oef/draw.phtml 600,360 \ copy 0,0,-1,-1,-1,-1,$val14 frect $val27,$val28,$val27+$val25,$val28+$val26,black $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,13,14,25,26,27,28,33 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/metals4.def0000644000175000017500000001026511245072554027266 0ustar georgeskgeorgesk!set title=Metal y no metal 4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r varcnt=47 prevarcnt=33 postvarcnt=13 replycnt=2 choicecnt=0 conditioncnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif tmp0=!record 0 of position val14=$(tmp0) val15=$val14 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val15 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val15=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val15 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] val19=$[rint(4)] tmp0=!item $val19 of 1,1,1,1,2,2,2,2,3,3,3,3,4,4 val20=$[rint($(tmp0))] tmp0=!randint $val20, $val19-$val20 val21=$[rint($(tmp0))] val22=$[rint($val19-$val20+1)] !ifval $val10 notitemof 2,3 tmp=!nonempty items 2,3 tmp0=!randitem $tmp val10=$(tmp0) !endif tmp0=!item $val10-1 of 50,100 val23=$[rint($(tmp0))] tmp0=!select $val15 where column 5 isitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val24=$(tmp1) tmp0=!select $val15 where column 5 notitemof 2,3,7 tmp=!translate internal $ $ to ; in $(tmp0) tmp=!column 1 of $tmp tmp1=!translate internal $\ $ to ; in $tmp val25=$(tmp1) val24=$(val6[$val24;$val10]) val25=$(val6[$val25;$val10]) tmp0=!shuffle $val24 tmp1=!item 1 to $val21 of $(tmp0) val24=$(tmp1) tmp0=!shuffle $val25 tmp1=!item 1 to $val19-$val21 of $(tmp0) val25=$(tmp1) val26=$(val23[])x30x$val22 replytype1=dragfill replyname1=Metals replygood1=?analyze 27;$val24 replytype2=dragfill replyname2=Non-metals replygood2=?analyze 28;$val25 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: !read oef/embed.phtml reply 1,$val26 $()

No metales: !read oef/embed.phtml reply 2,$val26 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef val29=$val27,$val28 tmp0=!listcomplement $val29 in $val24,$val25 val30=$(tmp0) val29=$val29,$val30 val31= val32= !for val33 =1 to $val19 val34=$(val29[$val33]) !if $val34 isitemof $val27 val31=$val31 a metal, !ifval $val34 isitemof $val24 val32=$val32 1, !else val32=$val32 0, !endif !else !if $val34 isitemof $val28 val31=$val31 a non-metal, !ifval $val34 isitemof $val25 val32=$val32 1, !else val32=$val32 0, !endif !else val31=$val31 neighther metal nor non-metal, val32=$val32 0, !endif !endif !next !exit :feedback !exit :test !ifval $(val32[1])=1 condtest1=1 !else condtest1=0 !endif condname1=$(val29[1]) is $(val31[1]) !ifval $(val32[2])=1 condtest2=1 !else condtest2=0 !endif condname2=$(val29[2]) is $(val31[2]) !ifval $(val32[3])=1 condtest3=1 !else condtest3=0 !endif condname3=$(val29[3]) is $(val31[3]) !ifval $(val32[4])=1 condtest4=1 !else condtest4=0 !endif condname4=$(val29[4]) is $(val31[4]) !exit :stat vsavelist=19,24,25,26,27,28 embedcnt=2 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/one.def0000644000175000017500000000620511245073321026466 0ustar georgeskgeorgesk!set title=Un elemento !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=32 prevarcnt=31 postvarcnt=0 replycnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=$[rint(1)] val15=0,0 val16= tmp0=!record 0 of table val17=$(tmp0) val6=$val17 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val18=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val20=$[rint(min($val4,$(tmp0)))] val21=$val10 val22=$val13 val23=número, símbolo, nombre, masa tmp0=!randint $val14, $val20 val24=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $(val15[1])+$val24 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val25=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!row $(val15[2])+$val24 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!column $val21 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) tmp=!translate internal $ $ to ; in $val26 tmp=!column $val22 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val28=$(tmp0) oefsteps=reply $val22 nextstep=!nosubst reply $val22 !readproc oef/steps.proc replytype1=numeric replyname1=El número atómico es replygood1=$[$val28] replytype2=case replyname2=El símbolo es replygood2=$val28 replytype3=nocase replyname3=El nombre del elemento es replygood3=$val28;$val18 replytype4=numeric replyname4=La masa atómica replygood4=$[$val28] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()¿Cuál es el $(val23[$val22]) del elemento $val16 cuyo $(val23[$val21]) es $val27? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=16,21,22,23,27 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/def/blackbox2.def0000644000175000017500000000773211245025242027561 0ustar georgeskgeorgesk!set title=Casilla vacía II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=en author=XIAO Gang email=xiao@unice.fr ansorder=r,r,r,r varcnt=47 prevarcnt=46 postvarcnt=0 replycnt=4 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=!record 0 of table val6=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val7=$[rint($(tmp0))] !ifval $val2 notitemof 1,2,3,4 val2=$[rint(0)] !endif !ifval $val3 notitemof 1,2,3,4 val3=$[rint(0)] !endif val8= !ifval $val4 issametext $val8 or $val4<7 or $val4>$val7 val4=$[rint(54)] !endif tmp0=!values x for x=1 to $val7 val9=$(tmp0) tmp0=!listintersect $val5 and $val9 val5=$(tmp0) !ifval $val2>0 val10=$[rint($val2)] !else tmp0=!randint 1, 4 val10=$[rint($(tmp0))] !endif !ifval $val3=$val2 val11=$[rint(0)] !else val11=$[rint($val3)] !endif tmp0=!listcomplement $val10 in 1,2,3,4 val12=$(tmp0) !ifval \candouble issametext yes and $val10 != 1 val12=$val10,$val12 !endif !ifval $val11>0 and $val11 isitemof $val12 val13=$[rint($val11)] !else tmp=!nonempty items $val12 tmp0=!randitem $tmp val13=$[rint($(tmp0))] !endif val14=table2.gif tmp0=!record 0 of table val15=$(tmp0) val6=$val15 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val6 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val6 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val6 tmp0=!rowcnt $tmp val18=$[rint(min($val4,$(tmp0)))] tmp0=!record 0 of position val19=$(tmp0) val20=$val19 val8= !if $val5 notsametext $val8 and \selective notsametext no tmp=!translate internal $ $ to ; in $val20 tmp=!row $val5 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) !endif tmp=!translate internal $ $ to ; in $val20 tmp=!column 3 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp=!translate internal $ $ to ; in $val20 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp=!translate internal $ $ to ; in $val20 tmp0=!rowcnt $tmp val21=$[rint(min($val4,$(tmp0)))] tmp0=!randint 1, $val18 val22=$[rint($(tmp0))] val23=$(val6[$val22;]) tmp0=!item 1 of $val23 val22=$[rint($(tmp0))] val24=$(val19[$val22;]) val25=$[rint(30)] val26=$[rint(30)] val27=$[rint($(val24[4])*$val25)] val28=$[rint($(val24[3])*$val26)] !ifval $(val24[3])>8 val28=$[rint($val28+5)] !endif !ifval $(val24[3])>8 val27=$[rint($val27+$val25*2)] !endif val29= !for val30 =1 to $val7 val29=$val29 r,$val27,$val28,$val27+$val25,$val28+$val26; !if $val30=$val22 val31=r,$val27,$val28,$val27+$val25,$val28+$val26 !endif !next val32=$(val23[$val13]) !ifval $val13=3 val32=$val32;$(val15[;3]) !endif val33=número atómico, símbolo, nombre, masa atómica val34=r1,r2,r3,r4 oefsteps=$(val34[$val13]) nextstep=!nosubst $(val34[$val13]) !readproc oef/steps.proc replytype1=numeric replyname1=El número atómico es replygood1=$[$val32] replytype2=case replyname2=El símbolo es replygood2=$val32 replytype3=nocase replyname3=El nombre del elemento es replygood3=$val32 replytype4=numeric replyname4=La masa atómica es replygood4=$[$val32] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la $(val33[$val13]) del elemento correspondiente a esa casilla?

!read oef/draw.phtml 600,360 \ copy 0,0,-1,-1,-1,-1,$val14 frect $val27,$val28,$val27+$val25,$val28+$val26,black $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=1,13,14,25,26,27,28,33 embedcnt=0 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/intro.phtml0000644000175000017500000000030611245022066026664 0ustar georgeskgeorgesk!header !readproc Exindex !readproc Vindex Este módulo consta actualmente de $exototal ejercicios configurables para memorizar la tabla periódica de los elementos. !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/Exindex0000644000175000017500000000156111245273145026024 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of blackbox,blackbox2,click1,fill103,fill108,fill10,fill14,fill20,fill33,fill3,fill4,fill54,fill5,fill62,fill6,fill8,corr3,corr4,corr5,corr6,corr7,prec,next,metals10,metals4,metals6,metals8,order3,order4,order5,order6,one, !set titlelist=!char 1 to -2 of Casilla vacía,Casilla vacía II,Click en la tabla,Coloca 10 + 3 casillas,Coloca 10 + 8 casillas,Coloca 10 casillas,Coloca 14 casillas,Coloca 20 casillas,Coloca 3 + 3 casillas,Coloca 3 casillas,Coloca 4 casillas,Coloca 5 + 4 casillas,Coloca 5 casillas,Coloca 6 + 2 casillas,Coloca 6 casillas,Coloca 8 casillas,Correspondencia 3,Correspondencia 4,Correspondencia 5,Correspondencia 6,Correspondencia 7,Elemento previo,Elemento siguiente,Metal y no metal 10,Metal y no metal 4,Metal y no metal 6,Metal y no metal 8,Ordenar 3,Ordenar 4,Ordenar 5,Ordenar 6,Un elemento, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/Extitles0000644000175000017500000000141511245273145026217 0ustar georgeskgeorgeskblackbox:Casilla vacía blackbox2:Casilla vacía II click1:Click en la tabla corr3:Correspondencia 3 corr4:Correspondencia 4 corr5:Correspondencia 5 corr6:Correspondencia 6 corr7:Correspondencia 7 fill10:Coloca 10 casillas fill103:Coloca 10 + 3 casillas fill108:Coloca 10 + 8 casillas fill14:Coloca 14 casillas fill20:Coloca 20 casillas fill3:Coloca 3 casillas fill33:Coloca 3 + 3 casillas fill4:Coloca 4 casillas fill5:Coloca 5 casillas fill54:Coloca 5 + 4 casillas fill6:Coloca 6 casillas fill62:Coloca 6 + 2 casillas fill8:Coloca 8 casillas metals10:Metal y no metal 10 metals4:Metal y no metal 4 metals6:Metal y no metal 6 metals8:Metal y no metal 8 next:Elemento siguiente one:Un elemento order3:Ordenar 3 order4:Ordenar 4 order5:Ordenar 5 order6:Ordenar 6 prec:Elemento previo wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/var.proc0000644000175000017500000000030611074456076026154 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 class_importation=no common_images=yes !read oef/var.proc wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/images/0000755000175000017500000000000011213710130025720 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/images/table2.gif0000644000175000017500000001556411074456076027620 0ustar georgeskgeorgeskGIF87aXhãÿÿÿ‡Îëÿ¥ ÿÿÓÓÓÿÿ,XhþÈI«½8ëÍ»ÿ`(Ždižhª®lë¾p,Ïtmßx®ï|ïÿÀ pH,ȤrÉl:ŸÐ¨tJ­Z¯Ø¬vËíâÞ°xL.«À•€Ú«F›ßð¸|ÛNOÜ\ü|Ïïû…xzzYƒ†‡ˆ‰'v]…Š‘’ŒV—“š›œd‚wa™£¤¥Qƒu¡¦«¬­KŸ¢T²®µ¶·/• Ž¸½¾¿+º±lÀÅÆÇ´§ÈÎÏÆ°ËŽmÌÐר‰ÕkÙÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ H° Áƒ*dµ­¡Ã‡ÛJì±¢Ek<0vÐ8±£¢þBŠI²¤És¤Ô°Ò£Ë> OÊœ‰òU‹–/sƉI³çHœ5€Zª³¨ž>}•±t˦FW¡ê&âÑJnÕFL¥ kVKIÃBÍu3Ù°¨ÞR9Õ¨ÖǶ8ÛNsº‘«´Xa“Žu16“2´Ð”½:·ª%Ò¸zœ&¯R›,üºÙ X㨠c>¼ˆ³‰K¨÷¤¹ìâÊÙüæ|õ°ÜW_-z&é`¦9ÜFM)CJX­ïLÖêZ1lßCkÛÖ±ïFÞ©‡?½–Äå®néŸ=[¹LYM_³Ì=ú5ÐÄ«§Ç0X{{Âɽ›”ì|;n³æÏ—Ç.<âfäÿþ¥ÝsÜÅ'Ià‘§›‚ðå˜gÚ׈lËĆ_„šQ× X"¸`i¦ Êps]ˆj˜á{+R˜â2zxáüÝÇ„%þ’Øz(ào¹!‡1†” ˆ*ŠøÔW9úâ_,Ó%Ãd…Qú6¥xRÂU¥•rYU¤HGÚH ˜M–Ù„—_Ö4£’(vfæ›U c˜4¶ùœxJ!g‡t²™$byêÄžö ¨%ì&袈¥©æ~ˆM ©ŸŒV:¡òÑ·%S ZêiFŽ*z(™Ÿ–ªR¨‘jêª4`ê¨nªÊꬹ ªD}´æ ƒ«ÊÁz'’ºŒ­I\dì±È:$,!Éþ6ëì³ÐF+í´Ô¾BÀµØf«í¶Ü@·à†{­¯Ë2UÀ¹è¦«îºì€ðÆ+ï¼ôÖkÀ»öæ«ï½ûöK/¾þÌkmäZ'îÁÛ~‹ðÂÞ–{EíF,ñ¹ÜoÅë‹qÆönÌñ¿Ä"¡0ÃLr¸;Ì×Ä,¯ëñÇò¾ 3¼2Ï\3Ì‹–rU'—ܳ¸;«LËDSt§ZëéÜ* Ô‹.£2*m*F Üe…fÝ ©JÖ–ÜEVu(V‹¦ÕjŠ´«$¥#1‡$V±Ê¥5‹–òV 6DûKC\:×­Qóp\-RPKjEDm§¯0YbuØÀŽ­8ÒìRt#K,öŸÛc÷SÉzÕv`M?‹ÝIª³•RC›Ûü–¶ªéNëÏÔnµ›k휲þI<¡"/K~òëhŸ2Ý?­”°3¥”fXT]Ù6ħq3‡\×ÝÕµSãÙ(KHëˆ2iåmoܘbBÜí¬hSÞðBô£õiGZÚúŠvŽçÜkkëRúÎ7<ÚÅg·û[· ×´þuçx%VWÈ*—O¤ÕoRÈ^\XÄ>Z©|+«KØÁN1Š'EÛþf˜ùáB…ØÀ2žs³÷cç0¾Ý¥ñƒ'|_ºäÈ'þ‘boŒcqÇ›$ppµë›!o¨Í­tÝ2× }^«“§LeyZù‰Xv' ›ÙXx™}Ð=naSçºL1}ÖM —dþ—§I æÒþic*ç¸yå[d—›Þ§áÎîÃ%m0h@´Ù££Œ3E{œ)÷˜=˜î¡FÕùéGƒ/ÒÏ;/¥÷ëbëÕ¤«nh«ßÌEQÿRËD²¡š¶Øæ:Ÿvs¨ÌìûG»…2±¹5í„[×mvõü|½UR¿ Ì"êsµýfìkG&ÙÚ& ¬ó6iWZ%©Ž¤¹7ºëe_¹Ù|vÆM¹rÏ[Dèæõ¹}1|>2Þ“ü÷ }ãtWpÝ⓵»‹…ð’)œ)·7œñ]D}ߥÃõÅù’ñ B¼qíöq^,ò‘Ÿ»Þ&'¸‡%®òb‘óæ8ϹÎwÎóþžûüç@ºÐ‡>Ù[[ÝHouÒ³½tG7½áOÏ0Ã¥.pEz»W¯ÅÝÿ¢îß©wëáõzØÁN\±—ì§5{Ú«žÉ«,ëÆÛºÒçÎtº;ÝîPÇ»ÔѾXµ÷í!u6^)^bÛñ=®~Güá­šxÆ/>§‡üã;yʾ—n×Ü‘'÷º{þîŸÏ{è÷®÷¯—~ì0×âÉifpNWh“×iì¯:{¹Öž±·Gmî‹{yÓ¼Ô+Çèw/^âóò²?ýÙ•ŸvãC´äª—¹ÆZ”×£ÌùÆ~;‘O{æ÷]û8@¡ŸÆÕ+Ðã—²¾ÕÄ/OösßöÞW|ü?Éþ§¾üÒGõ[¥þ´¹ÿÿõGy8z¦G€a×{ö”yPL°ÑÔ6€ ¢'¤g€ËgÍwˆd~n´[) Xx¸X‚Hˆ‚¨‡ß§—ÄRaÍ%‚ÆC‚'h‚)ˆƒ+¨‚ȃ˜mXP¿÷mã!ƒ!ht„dƒ9xƒL¸„N¸ƒ:؃Q¸v×kCˆuEX'3ˆ„€£„PØ„_ø„R†c(†?èhA8jWøvr_[ÈrG€ÉÇ‚òG‡ôg‡ö‡‡(‡W•†>µ†š×†ffkp˜„|z8‡>Ø‚‰Ø}ˆˆ‹ˆx~Øm€¸€6fGXˆ]xˆ¸Ç‰ºç‰þÅå…e†¤Xv“hW‚‡^5ÕT‰f ˜0¢x†SȈ‘x‡µ˜‡·¸‡@X…W‰e£h{fY—FƒÈ‹´8‹u˜‹ŠˆŒ¶ÈŒ¸Øp§8s©8kJvj]FŒÙcŒÉ茺¨ŒŽèÈËHu¼hu¾¸7˜C‚„Û£ÍH†²Ç(ÛHïØuÑÈZçø8éx]×óŠ~ãŽÏhi†óhõˆ÷x€åØvû(:ŠfKìÈ>ÙâøŽi‘9ŽøØ—oƒ'2I9é‘¥ Y)y-™ sEè%É6'‰‘©“+É‘=‰’£”T(“÷6G’éþ>9©‘?É“/¹Bé’Q “¦’˜÷`|_5| X|]y|KÙ‰(–àH–Ðh•¾g”5‡”\hx_ù|o™}q¹}aù‰ci—hˆ– ˆ•oô D÷—€˜‚9˜„Y˜†y˜9·yÙÓye‰—i–;É”OÉ’S •*9™–§—rV“Arã˜阑 ™M)™•I™—yš>‰™:•úÇ™®t“ãR—¡8—ág›ã‡›í§›ïGš1}|é„×–#È›´é•wY›É‰œ©œÍ)^®Ù1û·p²é-Ç –Æ™Ë‰Û —Ý©aÑ);°iLÕÙ›¢Yš¾©š@™šì)•íI•ïi™þ§™§4žTž×éÏÉû©Ÿ¡éœÿÉœz|á 2ö™Jø©ý)—ßI— : þ9šçù›øœß¡˜Ûš  * ÊŸÊ  ê  z›»H”"©Šl©‰nY¢¹é¢» £æÉ¡è9¡êé”7*W:=)’rÄYƒú¡Z£4Êš8Ÿ¨éžL*‰ôùk#yh?ú[º‘ 2šŸ"¢$:¢&Ê¥/ê¥Ê†¢¥+6_ë¤Å8¤Fê¡k ¢Dš¥oº¥ZÚ¥g)¦4I¦IÖUš”=„¥r§t ¨_:§ƒ*¨1 ¦GB)|(Áhg|I~¨mZ¤HjšJºš9šžþ™ÚšOÊLè*%Óå™þÕWª¦—Ê©M*ŸðÙªKúªNj§´ª¶¥fÃf¥ˆ:©…Z©pê« ¬”ºª¨µ£1ƒ?g¥ŽB©“Ä«‡J¨Ïj¨3ʦÄz¤›j£C œjɨzŠ«@ʢřªâº«ªz­ÖÚ©I:Ÿ´zMjVHuº ­Óê¦ÂÚ«ÕJ­æŠ¯èŠ©°š™ëj3Èú®ˆ`·CÎ:¯–š¯ôz¯ «° »¯¬:«Úš¢ÔlêEˆ‡ã*¯۱嚭º­Dx‰zö†kˆ+­›²õ­-›¨2d¡'1" ñª²ۯ멳é*«®ú³±ÊxÆj>=þL7û²+K®,˰˳:ú©W´ÎĬ%“´›³>´Z«©[¬P{8ÓÉGË´¿J¶Áj¶Ãê°e«¶g˶i ²¨€¿¨•°…ªJ{·W»´nk¯{ë²·2;Ê>Š´X ´\ë´‹¸;›µ‰+±!K±GI;ˆY¹–{¹˜›¹š»¹œ;¸îão˜aµ8«·]{®Š‹­§Ë{M¶1`ª®{¢k¸¤›ºúJ» [ºÐ¹ºR oT 4°{¸[Û¸ŒÛ³Ã˯Ž+¼ÁK¼·K¬»+åù»³{¼Êû¸Å»¸Ék¼Õ‹ºÒû´AÔ¼¹ð¼/½ÙkºÛk½Ô{½æ‹¼ç»¾žÚ½»þ›O½‹2Ћ·£K¿²k¿hË·p{IÞËà ±›¿~Û·»¶¸{»¶Û´‹Hý{ÿ{LÀ|À <¾µ»Àüû¾¿V3¿y‹¿ ¼ì;½ê[Â}¨»xúq p"lÂØ‹¾ÚkÁ\¾1 Ãä+´(¬¢ÃSg® º]1Á lÀAܶ,Ä4|Ã6œ»î›Âý!]@Öà †@|Ä,ÜÄ3lÅF¬ÅÛǼ5)°Á•YPÜrÕÈf \ÄD<Äo«ÆúËÆŒÆkŒÁ°äGÙå­g ®Cågº1Å\Ç}ÜÆTœÅX|Å#̽Z„¬€µŽhJdøñT,Áǃ¼Å‘œÆLÈ.œ¾þ$|ÂK¬ÃeJ£:Æ•Eª¢ê\Șü¦\éŒÄ«\ÅË›Ã[MUª+Ì%{Ü™ŒÊ—¬Ê»ÌʽìÊ­,Èþzȶš§|…±[IÆÕ3ʌ˺œË§ͼ ÍÓüÌÖ,ͪ»É±ìL†Ìu«Ìl\LÉüÆn<Î~<ÉéÌ–L;¬ÉÄÌÄÉZk{ºÈ_¦ÇÉPÊ¿,ÌûÜÎ×\ÍØ Ìý ž°<¹ÐÖÍõŒÇÏej&¾ê ÈåŒÎýÐæ\É’ÌέÍÍͺuÇ'kbìÌÍÏî,Ð%MÒÿüÎ)mÒ†œFtlhøìÍZÅ‹ Ï'íÏ#Ó½Ó*ÓݾñÌþÉRŠ œ6\¿œÔH½Ô÷[§A½Í*\ÔÔvÔMÍÔ,ÑÑ6ÝÒ ¬Á®'ÕÖ¾g|Î[íÓäLÑXÖ^ÌÄ6 Ö~CÕW]Ö<ÍÒf½Î}ÖÝŽ–´SË5-ÒsÒu=Ñym×7ýÓ‡×@íÒ^]}nM9pÂ]Ø„}׆½Ò‚Ø:ÍO½Ñ‡¹7Á¹¢=Ú¤]Ú¦=˜žÛC>ìrÊíÅÚ¬íÚ Û'ÛÐDÛ#gÛû„Ûµí×¼kºÇ¿=oÁ½ÐÃmnÅÍÈÇ}mÉ}ÏË ?Ê’Ð}ÛÏ(Ñí­›Ì¡\Ýy2Ïž•Ýß¼Ý?ÓÜmÞm¦¨öØlþ“gýQÞhñbß:Ý»] ŽìÈPæÞæÈ®¨Þãb%Ó°Î@ø&ÓqGÓn!5;àßñ­Ý¯=¢Ê@¾à ΞÞöŒg¥Ußg±i ¾¬žiï6ª!nàœ‡à¼â)®#ú=Œ%®j1Þ$#Nâ ­Ü7î 9>¾Ýã•a6ÍÍáB¾DEnâGþCA¾ä¨“ä6îä†ÔäRî6™[åXžåZ¾å\Þå^þå`æb>æd^æf~æhžæj¾ælÞænþæpçr>çt^çv~çxžçz¾ç|Þç~þç–rD.?Îg(Nªávè¶\²À¢èí`ŽîdƒžþjÖŠø0èA2ˆ ÈeÊÊ鲉á¦)•*&e/%êµuh¥~ß—¾Y–†t†éÆLkëêffáçm]æ]rÄê 2¥ýpT‘á†|‘è…nè€&ëÕ1áKvjq¡ê•NÞêëòpìTÊ`ÊÞÉLõê5bícÒ »>ëmÇÔ¾ÀNk0N +~±gÖÑìÞéµfÑ.í éìîâ^·ê‘NèÙÞïQöÙN%òn?ð%nµh ÿTçÎÞýÞ%×ÕÞ€^ññŸñ¿ñßñ|~Ú ò"?ò$Ÿ,íò*¿ò,ßò.(ÿò2?ó0Oó6ßò1ó:Ÿó:oþó<ßó3ÿó@ÿòB?ô8oô4_ôH¯òJ¿ô5ïô.ßôK/õHOõFŸîp`õC¯õ@Ïõ=ïõ;õQ/öGOö+ö7ö>oögÏöLïö)¯öI÷OïöXÿrôtŸ÷2Ï÷D¿÷€÷~?ö‚øvoøl?øeo÷'øf¯ø,ùm_ø”ø•ŸøŽOö’ÿö—ÿø{ßø¯ù™/ö›÷£õ¥_÷˜ú¤úNŸú°ú–?û«OûžÏú¨ïúS¯ûUÏûWïû[/ûµ?ü·oû¢û¯ü]¯ü_ÏüaüSÿ êãüiOýký½ý¿¯ý[oýsÏýË/øiS°ïýzþþÍþÏoü­¯þÕïþ×Ïþ¨¯iÎæß÷÷ÿ÷ðÿýòŸüûþ€ä¤ÕÚpõ®™ÿËGI$ÁPW¶u_8–gº¶o:H÷46OΨ1ÆO9Q.Í%)5R‡V ö¤%qG^N<&—Íg€®''Äw(~œSÚÁº=ÏÜ—úÏ¿» A¸>´DÅEÆ´´5Ç@JÃʽC:Ì˼ÌÎ:O=KÃFÓST›žU6Ð9Q>ÒMÙN×8X?ÚPÛ7ܧTà`aµ^'_dã(å)æ*ç+è¬@ájkFIé­í®î¯o”p7Ý×q¼ÒkõuÔäòÛóÁøÂÙúÚ÷Þy¹töþ~3wövá;¦OÓ=æ.[ØŒß?ˆgDXq`Bx ŸiŒÆqšGn%Ž$™Æà'ÞR‚[)®%9Œù^¢ÃTÒæHŠ-*ŒYp¦¼ŸôvfìɰæM¤þrò*³¨Ã§£vœú±jÈ£Iµ^[J´©Ï«*òë²,̯F;me[­«Ó´PãJKµ®Õ»XóŠ]ÛÖo»“£ÎÒÜK¶°ÙÃhu.fÊøÖ_ÈÞ‚MLØ1ÜË”3«Ý,·3ÝP‘E'šÌ¹ñi¯ŸíªÆËZ¯k¾°¿Œ¦]¦´gÔ˜skÞm:uoÜ¿…ë~\ÛøÛ +λ¹oâÑK‡>ýØqì9ÔlçÞÝûþwðáÅ'_ÞüyôéÕ¯gßÞý{øñåϧŸ>û}ÉW/ßÿ<8õÿ¬«nÀ d®üdA¿Öøkп,p ìÀ §PpC_sÐC/”0CE´ðA MÔpÃ;ŒíÃCDqDKœñDS¼qEïsÑ0Ù R1,RÈ#‰”1Çëzô1°XJJ¡†´,É+—ŒQG&£pòÉ ö¡RÌʦ,³J,Í´RÍ4Ñ,îK›²QAÎ9¡ÌẽÖt“Ë-iÜÑÆ.)¬ñ 8ã|dÁC[øI-l”Q>R?´O/ •ˆH8ÍfQ%' µRLýsÐSSµÕU³þÐtÓ"‘•Eí$Ì<Û$SÏ]uÍõÑQq,µŠWqJtÎcW5KQ™%UÒg)Úi¥5µÕ-Š…èZ¹•uA[—eXg« öÚaYMWÕu³ÕV©9ãõ´V\QÂÓÞ3{%wÜfùöÜK©åñÝ~ˆA”Nq÷ü·\tØÚ‡V×á‰!&”àÎ/\Žë,ß_ûUØ\†#.ùbŒýJX_‘Y^Ø_’anØbv)®™fwSnkå_yf‰oÛv‹¶™è£»ÐYåŽïý˜×žcþÙd™©žºâ¡•^š-žñ…Úk_ÁÞ÷j¡O.»j¬ÍÎy뤺~:ì·ÇvYê¹VÛhœþñÎz6¶µr;JÅn9j»Ñ>›l¤óNzñ0ún»éÀã\pŸë¶Úò´ O|ïÆ¿éï;#ükÉ+'üòÓ3G\ï»ùö OÊœ‰òU‹–/sƉI³çHœ5€Zª³¨ž>}•±t˦FW¡ê&âÑJnÕFL¥ kVKIÃBÍu3Ù°¨ÞR9Õ¨ÖǶ8ÛNsº‘«´Xa“Žu16“2´Ð”½:·ª%Ò¸zœ&¯R›,üºÙ X㨠c>¼ˆ³‰K¨÷¤¹ìâÊÙüæ|õ°ÜW_-z&é`¦9ÜFM)CJX­ïLÖêZ1lßCkÛÖ±ïFÞ©‡?½–Äå®néŸ=[¹LYM_³ôf:wÝб&^=†ÁÚáN~RMHûÉ;ß>»<3ðé©þ7ÞfÂEDà{²i¦àsç5V_Lø†^iüIËfxÍuzvà2±ex–v Îç IøEH€R×ß…."8¢†Åp£‡ØÅ—à]7ÎÖƒ÷AØF}âÖ¡[_Ùà‚4RÔ“JâØáp öÛ’?¢¸ JB¢%b9¾bHŠ×d-^øV’ š§Ÿ]n¾‰UUlB‰I)‚Ô—"ž¦…c–xæ NXõ]—*ò9 ‘dÂè—„F Å?!ÚeI,2*hþ5*é§JP*RžA&:*¤Ÿý™Ân ¶™wDö¹ªª`ºjk¢Âš)bu"×â­À‘«w’™IÃ~Á& İÊþ±Z«¦ÊFˬŠ"¬´ØÞÀlmÎvök¶à2E-¦Aî¹7‹g¹~¢ënºêžêEôÖkoCïrï¾üöëï¿,ð+lðÁ'¬0,ìðÃw›ï `ñÅg¬ñÆ`ÀÇ ‡,òÈ$àqÉ(§l²Ê,|rË0o+šÄ%4 ñÍÛŒóÎ4O CÅ-tÇ0ýrÑ*4ÊJ/M²ÌŽõ¬ÕÎTëL5ÄRû|ÓÐ\kÜ´Ó" 6Èb½²ÙOÇ+/®WãluÛ g­u0]×mqÙcã ¶ÞNó½4ÔyÉÝÜXþ°às#fwÝ~#ݸÑh?¹ËjßG°áþqcwâS½øÐÇHO€“LS¥›'æL†¯sc!È@+† ‹Óbû¸B—upŒÍcËø·C¡±T¹²TþãÆ7*†m¢$«hGkݰ ä#ý˜AÔ r“aë$ê 9$R‘kSÞÚH#‡GÅVN‘aÛ¨c% Ç‹å0:$dËBOLÓä(TÊ-RVÏj# _×J96 ޲œej™Åjv͇µÃ&YÄ!ú²›Ž+a1W„J6.f•Ôkæ28GÒPš±Àã-i÷Éoú‘‡ 4¹yÏB ‰¦\2ÍyÎB°! „¤ éHIx ë’ó¤§þ§Mo†q¢} ¥µdB.™Êr‹j”V8=*îð¤&ûÈ»ø¹|\”PTh ýéÏ¡DP©öXª¼Òñô§1UâHa“&–Ø}8}¨ÿ¼öÒå5Õ§AíO¯‚rÔ’&Keê}úÔÑõ.?lCßM¯º¬¬fì§]PÇ÷;à™”p(•¦N‡Ö­z5~Q¥eU…×YÎuvuuª]ÕšW#¼Šc%«þú¹Àru°‘ûª„¤'V¤*v±fŘcï Y´I–œó˜h+rÙÅŽö´¨M­jW ‘¶Z/±¥eÎfKÛÚÚö¶¸=c·Yµâ•­”-)lcû…Ü÷¸³Ým&;þk¶µª­¯wØ«[‰»ƒ ÷º·Un.Ë]¨7¬Âµ,u‹‹Ýòê6³¶Lkdû\ײî°m…±¬³ª¢~f¾‹Á¯Âc¿ ‡¾&ª’£Ò`Þòj÷šêõ,{ãÝXH×z2 F ù"%ÿÎtJ¡qʃÅà÷=F u |ÝK´»œ%àw­õà÷ú ÃØ™pnú++ ð¨JKÉÌP_\á †Ä%FïÝÜÜ««ÁËh±æÖÓãÍÈØ\ßrÏU•ã'íKSÞUdäšyÌÍ›‘Ç…dø^ÍÌôÔv&üárBÙ©Ì2œa,T:‡4ÀËèòq¿¼Å0ïmÌÔ*³’1‡þ¡ZiØÎèi³|å(UÙCòi2ª4b=ã–Ï{ôsß­+•ÐØÁ•µêSžüd9×ÑGªÙ§‹´êKºÎ¦¾s+miÛbúD3LW,U‘2rfVçùf¨fQÆÆV޳9s¼†GÓ%Ò¨ÆòiÝ6ÐÖÚ¹Õ©m©RlöÒžœ¤hó¾ýmñ1uª‰µ£U lž9“g©îŠ~ß<%zS97ʦ)¬½o«W É­4À³-OÏEô¬õ¼h7Ù½„3œwGühµ’ìWƒº…Ï ¶B¡©@óÛͶ¸«EJлÞÑžuÍðl‰xລvm»mâŠ>ÜeÂTx?5Ú½þˆ§Ñã×J Aa)EŽ›™tŒ¤;no”¯\ä ŸóÓS~g}K»%:V̯ýro=¹xÔìÁ5›p2‚3£ú<{Ø|îQ‰+2ÊïÙøÛŒîJI¶3š Z¤¯g¥î“ó‡Ôæâ°€MNq}=æÕàú¿·‡IngZ„å6;äÅ­Ë´÷üÜö èOü^E>1’°}ëÚ}÷†‚˜¿­µ„õ¾úÖ×.}/Ж§:êÙ×éð‡9̳{Mƒw;ç’>Î+O6²]âk;=…ÙÝÂÐýù£oþóš3"õ€pyÀOpÚùþñ;G»ÚƒI||^ž£ÝV¡á>”w—>úÌ´û[‘\CÜþwû—.¸ãq]~óüæï³p/ssÃB*ÈRQ§eÌÓG}/Ôn¡Eô'Aö·} ‘•EÛ†pý|¡€8y<$JóóO™§~LWr´€fîV5¯dz㵆èÕ[ëµkíUgÖw,è6ñ%zÕƒÚ2ƒ¼'d6¨`8È`öz°1h'%„CH„3'dD£iÃiÄ’ Ø NWPh‡§g·¶1GXdIxdîµdÃõ…?#…Sh„¹öggHfiHhkȆ|á†×F…e¨k*–ƒàÅWwˆ‡‘¡‡`‡V¸K¨„Á%ˆâEˆ¹`ˆç…ˆ(æ[shuxRƒ‰«"‰c¨Uþ•xƒ‹ˆ†¡ÅZ¦xЍ˜Šª¸Š¬ØŠ®øŠ°‹±˜‰p¥?žx‹††]¦‹@Æ‹$拌æ%Œ†‹zHŒØõ‰ŠžUXÓÔ…PdŒnˆŒ%&RH^fDˆ{¦3È‹G‰5Št؈ne‹¹èµŽÙ¦Ž–ÆŽ—æŽb(»è‰|‡ňxŽèC½è¿Á(ÃHÅ˜Ž¹x‰h4ΘSÐ_™ŒYyŒ™9¹g ÉŒÍÕÂòg¶‘ÿF’협×h’ñˆ’Û¨’EXƒøèO€Èb¡ÆW.ik79s9ym;™\=©[?©Œd·$Äk†%’Uþ”Jɒ߸”É”ëhâ˜bÞ5“zU“nå” •凞)ɕ󖻨‘ãX•úH“áUR^Ù’bùmo9qY 9•–HŽ˜ÈMˆ•Ö³–M9—ù”‚¹•ƒù•…¹dI•^’P—_{)}ùム•”.·{yiÛ€Ù¥}1˜˜i™Ýx’>)‘Ù–™¤Yš Y’¥¹}¬¹’¨)Œö—x§ù™°¹gØ–ŒŒ7vànâ7‚ X‚è‡ID¸áy8Cïæ6œ™š®¹š3‡{Ë ŒØ™³ik÷WÏé–˜Ùš—Ym­Éœ@éœà‰“%&Ñé™ÖÉù?8´[6ÇOÿ×ClþVr@ÆÙ|Fç@I™Û —œ‰žÙIÙŸrI›ã©“ÎY ÞéŸÕf]Ê“ J—^fž  ši`ú‡`H¿$ŸÄ„nfñh÷‰t,Xwo”ŸÓùœÌ©‹»w››©šµY¡¦ù¢ê ²I£ ª¢_—¢\·¢•I.JžÊš©É‹¹w£Bš£=º£ÿ¹¤ÝG†í©ÔTQúôpï¹MVJJ£R ±"#"ú˜H_èÄJ d›Gªž£Ù¤Š£/£C ¤[7w¦lª£×Y¤jJ§Ij7 ž< §ÍI zŠ Û¤xºšÖ6¨{ÈžtKº‰A½ôC çm’ºOisF•ÒQå¥þ|÷q®”ŸúÉ€¬„Ô“Œ6Úoê§fê¦Jº¦ sz{ Kz¨©*«„ê·©ª2Š«¡Šš¦ z¤A*¬éÙ™ø’dMº™^¶óE#4|hQç‡)C¢©]j"€WPø‰f&šN“”3¦êªuz¬š«oŠª´Š¦³Ê}±Ê®z ñê«Æš» ½ ¯yJ¯áÙŸïJ®ý:¬§ºžPjM»ŒãF­ß3­ X€‡„DË¡Df_qwœ…Cz/(®â9°¶š¯¢Y¡êꮫšþʱqº¯úº±€Z®Dêu$+°+Û®ê¬{¬ÿÚ±6k²4¸¬¸ä¨µt¥•º°ýôGzãþ°&t€Ñ#U´'eå³L‘‰œ“Ytt·ªNúªæš¬2{®¡ùšìŠ®°ª³,K®Hêµ:Zµa{¦XK¶f;£j‹x‰Ê¯ahšlû«p+š¡ˆ°¼é› ·A‘Z´G$œH»‚øÖ´ii“€‰y˜‹K˜Žk˜Ë–Œ»Ž‰y—fIŠUrFÅ—ïå—Q™¸¹ ¹¤+¹¢K¹v)Š—[Ž™«ŠÖƒP«– ²Ÿ;¹]9»[{º·k»ayŒ•«º‹i”œ²…«‚”<ã¹»«»½«¼õˆ»/[º£‹˜©‹„xÙiæøZýè¼ ½µË¼Úé½ Ê½É+¾bø»Ô»ºy¹Ø+»¼Û¼íþû½äë¾à« ñ ¿¦{æk†Õ›…×û^èø¾á{¿½ܽõÀ<¾Ò “D9LVy”œ»dÈ»¼L¿lÀ¬À LÁ œY}¸7Œ°{±ì;¿jŠÁ,¿|Â-œÂ~ˆ¾Ö‹+²xÃ8œÃ:¼Ã<ÜÃ>üòH‹ˆ•½lÁ+l¿GŒÀ*¼ÄÌÄœÄÁ(à ,¼Á„6Á,œÁOìÄY Å.¬Å]ÌŽ(Åùˆ¹héˆ%üŠ+ÆJÜÄn¼ÅoÆqŒÄlÅÓû‘T’V|RXLÇsÜÆpÈr,È~LÈ€<–wœ7!¼,Æ«œÚkµuüÅ^ ÆlÄ‘LÉþƒœÉcœÈSüÀϸÇpÕLJ\Èš<ʦlɌʕ,ɨËÀûÛ,B,¦DŒÂkœÊ¬l˘Lʺ|Ê·¼Ê¹ü‹d,“gy•‡›•¶¾\ËɺjÌÌ`¼Ëª\ÊvìÊ4Ì¿ê뿳ÜÌ´‹ËÊ,ͽìÍ¿ÍÐüÍ㌡œ\Ƭ{Æü˜ÆÏÌËáLÎîÜÍå,ÏñìÌ“LÏÓìÁXË`H±[Ì}yÌY»ÌÛLй«ÍÝÎâ\ÏÈÔ¼ž¬&Š&k x¢ïª$ÊŸ0[Ëi›Ð" °mKkZ£0<·m·4Òc °q[¬Ï˧2‡³v:Ò´Ù˲)¯Õ¬ n¿ qõñÙþlɦŽDt ztE}ÔÃsžôü õúÑòÊÔö¼®S³ÛŒ¶,*Õ)[²%í«2m®ͯ ¨8Íx¼•4¡c´;YÒ¦¹M¦F=c:CTûËN]³*ЬYýšwÍ¢Ä(§4³ M·‚MÕOݲ]­¦‡­µ/ÍØ'íªev*|—úÓÂÔym¢ì䀸Ÿ(u-ÏÄ꣨©×.×µÚu¦Ý¤+½ØX½Õ0kÒ°}§¯ Øv«Úê¶'k›µº½TMÛª=³¯=‰’·CIÙæ¦%Â¥W‡Æƒ7Itw8 wÑ¥êÛ߬{p[™o+Û‚M³~ýÑg{ÓÝÍ׈]ÞØþ&ÞÞ}³½}«à£ìíÝé=Ðæ ¯ ó}¸´Óã×<+š—|œBuX²‚QÛ€ 5C‡5ªÊ-º×…êÞcÛ,Ýà]KØe[ß*ÍÝñ}¡óÍÕÞª!.¨çÝà#ލp›ß܆ÜC–° ©¥m÷QLFà­[S,TzÕ­àÐ7žØ†µ± ¶@~'~µ®«¶=á`ûÕÄÝáé]ÜóêäøWäH.åöšâf}°dˆÖáô÷­ÏíqCýÏ ØÙá:<î7=Ö`­äXâ³ ç$.åÎäd-çÁçP}äá­ç´JåwNçDŽåaç³[îâE‰~'æ8iމhßšq¤úÙþ—±<®Ý]xQ­²ÂÛn Ü` åÿÉÚv®{VáçJÛž.êôÒïÝ ß]á­èŸÎÛOÊžb׬”ÚÓ&ã壂HÙ:à4nxoÍì|ÏUmÐ}Éø Ï MÞ ÎÍþÎæüЄ•Ç7&¿Ð+Ðm«ì ÎìÉ.íãëáÎÍåÎЫϗXÃyw«6‡󿴜îÏîìøNíÓ¾ïöžïüÞЛlí‘ÂÍL×ÞŽêâðê¾ìèÎð÷®ïý.ñ^Ì]ÑzÌíœð‹ îcíñÈLîïïÿï]¾ç,ÌfLÌhŒ¸ELò#Oñ'/ò3?Ï%ó1oòá(ð͘þÇ€pð ÎñÃýð5ßðçòÑnó9óEŸÏfå\à ÁÅB!¯ôMóY/óôßNó;Ïî¯Ì-±|fôŽÐ]öG¯öÏöWoômõiðb_ÍülÃ@œ÷z¿÷|ß÷~ÿ÷€ÿe_5›h¢ñ:¿ör¯øpÿöˆÏôsÌF¸È? ïôˆXõ‡¯õ‘ÿøKÿù[Ÿøq/ù5Hù‹ô‡s›ÏõŒïù¡ù­Ïù±Ïú£ïôYõY{Íjˆùˆ±ú¢ïø²_ûÁü´Oü¿Ÿô¤ïÁ¦ß–ÑVˆšý/_üÈïú?üÕýoXú>/¨ßqÐ?ýÇÿõ‹/üÔþOþŸýç¯ðDöO¿üñý›þõú׿þïöê?þìïõý¯ÿpä Å^œõ.a|0Gr4UW¶u_X º¶o<'f½÷÷X˜Gd‘˜d6)Nèq¥N©Pëµ™Õ&¹])ØùOÈå'y.W8ox§4§NB|^Ïûõm|?¿;½61C0Ä.E-Æ+Ç*µ5É0J%ËKL È(N¬8P :R‘ABÔTÀÀÖÖžSÕÏ1ÍÍÛ4ÍÚ­\^¦_/ßáÛàÉâÐd‹ÑÒfÙÙ¼ég—WØëëjhãÊ]bðâpLo#óLqõr_ådæfRî”éù=¡lšúVþýz}öR‘¶iÊ4a^þERhášz¶ |(ea'`+Z,¸QÉ’ŽX2j¤x "Å O¦LyndË-pê)ƒgª^<{§棷€?ÒÝðO´|R SWC‰Pš´¸T¤TF†¦ª¬ÊÔk/¬Í€Ì:&ËV‚d¿SºmÛ­çÞH[V®Ì9ÒìÔÌ c4h?Æ2ŠpÑ¡x¦I»4®VH×Ú ‹±òÕ¶b7Õ ·ìeÊ™­~ëZ0îÓsj-C“Ã]ºwçæ¥·Ô<Ÿ÷PÝ6Mo¡;|cc¼Êø É›ý85ùgÖ_5’N½Ù9sƒ%]†Ný£þCå_žgGkbu®èMwOWš,AÏÙɸÙÛî´Ù%lëý§yà!~L±ÃþÊ †3¸BNp0§—Ö{ë¼®¶‹î43"ÜŒ*õ8kͼÌÂã°9ÁZi½Ë+¢-„j,¶BI5SÓnÂ7”b®: ï5Ú¦ÙkÈp0·é!ð·W‚û­Ààþa±ýŠo2ïГO¼¡ãè ‹jüN:6 ƒÑÄ Sl¯C2G<E,A|QM[kqÍ1CÂ1Í6w|ÍØ~¬/HföãËäþPŸx (àfˆA*«²…ñâÄSË;3”Q;4«ë4KÕ4“N9µDµÎ6GþeµDö<MÓTÇ|“ËËöTµO¹þ¬ËÇ8ÒP"MùŸnhÉJI4ŒIÄ&òØ; ¬l9 yÝ´ÔÐÜÓVVo]=•Vpw7¾s¹ë,[:%»ÕÍRuµ•[3xüÕ¾Aõ«Íb‹ÿùô}Ÿ{ßPz„ÜåÍ~•Ãßýx¹2ð¨‹à"þ'Šªo€¥+  ¸>+U‚TÝþòG¾þ¡P…Å#a.¸³ úkƒm[Y mxCæ‡ÓÓaþ}øC QˆC$bxD$&Q‰KdbøD"Άü ­xE,fQ‹[äb½øE0†qTtŸÍxF4¦Qkdcݸ¤Ýu° |cíxG<æQ{ä ãÈG@Rƒ$d!Û(GWTÑ‹dd#ùHHŽÑ}ŠŒd%-yILf’‹ˆDZ5ùIP†R”£Ä”GGGR¦R•«d¥9 J¶R–³¤e-·øÊ'yÒ–»äe/wYC´2–¾$f1ÉF`Lp…cRÁ昰ƒ¹â˜Ó¤f5»X4e§}Øc¤SLYSœã$g€†¶(8>JÞDƒE¸rÆSžÆDe8ƒþÙ›Þ(aÐŽÁ E-ãTK›ó$hAkYOs2šÎêg@ªN¶aÊA¢èƒ zQŒ®¡çd&7ñÙInlaÛp'-à™Q”¦4’å(r ”8£EZ %i5& œRT¥;å)#YºÌmB¦‰ä§PfZS{ T ‚éiSÊÇŸ4¨*H…z }&®¤28éS½úÕ4FUq¸<\èvB¨‚U­k5Ûôt7I]²U®sµcZÇjJ³ÒU¯{]£]ßÇaòU°ƒÕbZ AV‡Æ•°‹e,$»Ï?6V²“5äcE§XÊfV³uÅ+â »YІ–€5ÜgE{ZÔîŠLLmk]ûþZØÆV¶³¥mmm{[ÜæV·»åmo}û[àW¸Ã%nq{\ä&W¹Ëensû\èFWºÓ¥nu­{]ìfW»Ûånw½û]ð†W¼ã%oyÍ{^ô¦W½ëeo{)Ö®î&¾!`=8ÈÒÔ÷§ž# WQ‰ÍYèd¾àìÉJßUØ÷µ^SÛ*ÕnàWz¦ÝèÙì`³Y„—bp¢·a í¶°l?ëWb8Â.û$ a«X™Õ¢#€‰fÏ·T1ø0p‚YLY÷¿2Fçà~ÌýÞ÷È (‘w¬ãõ°&1Œ£,eԢحF^2/¼_b9›_^jŽ|åþz¢5Àî2ŒM V±&PÌ7N±•§lçÝ„ÏyÖ³ƒk\¶5ϹÁ%¾3”‘ìgØò7Ê^ñ–iØf‰ÆYÉ÷M`•­Ú¿@Úsùˆ¥5í°{úÍî%u©M}jT§ZÕ«fu«]ýjXÇš­«¥u­m}k\çZ×»æu¯W+Ø @ØÃ&v±}lÙËfv²›ýlc+ÚÓ–ö´Ÿ]mk3ÛÙFö¶¹ío7ÛÛáö¸ÉíìsÛÜä^w¸ÛýíQ‹óÝÜžw¶ëmí{S;ÝêÞ7¸ûMì|C;à×þ7À ^îƒ {àâN8ºok.\Û —ø²+ÞmŠg<áç÷Æ5þðþœãþ~8°Cþï‘;å÷xËAîr‘Ÿ¼ß+G8ÌQNq“Û|æ2ß7ÍÎótûÜá1×yÏ~n¡'=ç/g:Ñ›~ó¢ýè잺»«ï«Ó{éNç:ÔŸ¾ó¨#=ëö;¾Ë®ï°³Û©:»ÀÛNð´[=îXŸ;½ßÎðº“}ãM½ôî>ñ¼›=ðhÿºÑïöÃýðRßûN—š“¿[<òO<Þ/öÊþòTϼä¯ÒœÆ7é“ïøæånzº£Þî§¼êõîz|ó}Àæ–FêÕ= Áß÷„¶²kpoÓ¾¹×ý½…?|Äw{÷À/}ï‡ÿ{Ïßø÷}½¿|Ë;þûšï½Âƒ ýÖw_뎿)ä•o{•WŸ÷é÷þú™Ÿllƒ¿æ·oòÅ/ÿè‹ÿõ÷ðÅ-müS9ê«?Åã?÷+·k·Ì?öƒ?ä¾´7žz<¿ÀÕ£¿ 4@ûK¿ïë¿ækÀ$9ý#¾$Á÷Ã@Ô6T@ ÁÄ@d94Á,@í#Àð«A“½³²@à[@á»Á|¿Úû‡üÁ4BÁ|À%<ÁöB¬¿ B¬ÂÿCÀí›?ü=,<¿$ÜŸC-”BD@'|Áâó>1ºôÂà[»|˜BtC( Ã!,CõKC.¼Â"ÜC5ôC6ÃuC¾þ•ÉÃAÜÃ/¤?܃CDDC*ô?0üCìÃlD@”AíSDIôÁC|ÂtDP¬DQT¹­ÓA% Ä;üDU„DW¤E2,Å]$Â& F;üÅc\ÄDÆb ÅT|Æ$F_$Å^T¸S\ÅkLFkÌ>^ôFæ“Ed´Be|ÄpÜFrŒÄGtDjFlGnÄCx´B`dÆo„@ý›Ç,TÇQäÃyÌÆWÄÃ~dGt¤Ã¤ÇeìÄfÔÇILÈuôÀqlA‡ìGdH¬>B”HÄEdÁ3äGŽ¬È‚$C8€LDŒ´Ç+,CXìF|,þG[TÉ€´È5ÜHiŒI8ÌHêÛ½h¬FWìIŸJ™äÇ[äÈC<È}´IŸÉ6¼¾œ¬Â“Ä<Ø;@Æ›Ê ;«´Á}J©ì:¬ôÊž‹JÎËJp4<²|ɪË´¸¦$=Š<=µD:±„K¯‹Ë±´KºüʺÜK½ìK³ÄKô›¹¹ Ì¿äËÂô˵DÌ®4ÌÄ5Ó;ES*UÓ*UÔG½68µ‹²¨B}QÝÓMmT>TIMT@]T<ÕQ}SAS´RÁ¼É£ôHéóNx|ÈYŒP ôÓ˜|Ï¢”Q%Dʬ¶¶T¾]õS]dQ`­C„œÏV¶J½Ôò£TQèóÕ‹TÖm¤UgÈkÕÖZÅÖeG‚äUNŒH’´VݤF®œUníPŒÔã`”hµÑi…U 4Qu5J`´×mÅ×n]×ý WcÝ6LGsµÎbM×|×@…ÓwZÕ†D3×`­Ö\õVëÛI¼UpU?šdÂŒ7‚MXW娑¬ÅlÝX!ô×(þÙ_}J…äÀ04ÃZÔXˆc¥/õ;aG®ÉZuÊfîcK?þc@dAdB.dC>dDNdE^dFndG~dHŽdIždJ®dK¾dLÎdMÞdNîdOþdPeQeR.eS>eTNeU^eVneRŽ;wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/about.phtml0000644000175000017500000000005311074456076026656 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/position0000644000175000017500000000240411074456076026267 0ustar georgeskgeorgesk1,H,1,1,0 2,He,1,18,6 3,Li,2,1,2 4,Be,2,2,2 5,B,2,13,4 6,C,2,14,5 7,N,2,15,5 8,O,2,16,5 9,F,2,17,5 10,Ne,2,18,6 11,Na,3,1,2 12,Mg,3,2,2 13,Al,3,13,3 14,Si,3,14,4 15,P,3,15,5 16,S,3,16,5 17,Cl,3,17,5 18,Ar,3,18,6 19,K,4,1,2 20,Ca,4,2,2 21,Sc,4,3,3 22,Ti,4,4,3 23,V,4,5,3 24,Cr,4,6,3 25,Mn,4,7,3 26,Fe,4,8,3 27,Co,4,9,3 28,Ni,4,10,3 29,Cu,4,11,3 30,Zn,4,12,3 31,Ga,4,13,3 32,Ge,4,14,3 33,As,4,15,4 34,Se,4,16,5 35,Br,4,17,5 36,Kr,4,18,6 37,Rb,5,1,2 38,Sr,5,2,2 39,Y,5,3,3 40,Zr,5,4,3 41,Nb,5,5,3 42,Mo,5,6,3 43,Tc,5,7,3 44,Ru,5,8,3 45,Rh,5,9,3 46,Pd,5,10,3 47,Ag,5,11,3 48,Cd,5,12,3 49,In,5,13,3 50,Sn,5,14,3 51,Sb,5,15,3 52,Te,5,16,4 53,I,5,17,5 54,Xe,5,18,6 55,Cs,6,1,2 56,Ba,6,2,2 57,La,9,1,7 58,Ce,9,2,7 59,Pr,9,3,7 60,Nd,9,4,7 61,Pm,9,5,7 62,Sm,9,6,7 63,Eu,9,7,7 64,Gd,9,8,7 65,Tb,9,9,7 66,Dy,9,10,7 67,Ho,9,11,7 68,Er,9,12,7 69,Tm,9,13,7 70,Yb,9,14,7 71,Lu,9,15,7 72,Hf,6,4,3 73,Ta,6,5,3 74,W,6,6,3 75,Re,6,7,3 76,Os,6,8,3 77,Ir,6,9,3 78,Pt,6,10,3 79,Au,6,11,3 80,Hg,6,12,3 81,Tl,6,13,3 82,Pb,6,14,3 83,Bi,6,15,3 84,Po,6,16,3 85,At,6,17,4 86,Rn,6,18,6 87,Fr,7,1,2 88,Ra,7,2,2 89,Ac,10,1,7 90,Th,10,2,7 91,Pa,10,3,7 92,U,10,4,7 93,Np,10,5,7 94,Pu,10,6,7 95,Am,10,7,7 96,Cm,10,8,7 97,Bk,10,9,7 98,Cf,10,10,7 99,Es,10,11,7 100,Fm,10,12,7 101,Md,10,13,7 102,No,10,14,7 103,Lr,10,15,7 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/content.html0000644000175000017500000001166411245273145027042 0ustar georgeskgeorgesk

Casilla vacía

En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la $(val33[$val13]) del elemento correspondiente a esa casilla?

copy 0,0,-1,-1,-1,-1,$val14 frect $val27,$val28,$val27+$val25,$val28+$val26,black

Casilla vacía II

En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la $(val33[$val13]) del elemento correspondiente a esa casilla?

copy 0,0,-1,-1,-1,-1,$val14 frect $val27,$val28,$val27+$val25,$val28+$val26,black

Click en la tabla

En la tabla periódica de los elementos mostrada más abajo, haz click en la casilla del elemento cuyo $(val35[$val21]) es $val33.


Correspondencia 3

Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.


Correspondencia 4

Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.


Correspondencia 5

Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.


Correspondencia 6

Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.


Correspondencia 7

Establece la correspondencia correcta entre los siguientes $(val21[$val19]) y $(val21[$val20]) de átomos.


Coloca 10 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 10 + 3 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 10 + 8 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 14 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 20 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 3 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 3 + 3 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 4 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 5 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 5 + 4 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 6 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 6 + 2 casillas

Coloca los símbolos dados en la tabla siguiente.


Coloca 8 casillas

Coloca los símbolos dados en la tabla siguiente.


Metal y no metal 10

Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales:

No metales:


Metal y no metal 4

Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales:

No metales:


Metal y no metal 6

Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales:

No metales:


Metal y no metal 8

Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales:

No metales:


Elemento siguiente

¿Cuál es el $(val25[$val24]) del elemento $val16 cuyo $(val25[$val23]) es $val29?

Un elemento

¿Cuál es el $(val23[$val22]) del elemento $val16 cuyo $(val23[$val21]) es $val27?

Ordenar 3

Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.


Ordenar 4

Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.


Ordenar 5

Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.


Ordenar 6

Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.


Elemento previo

¿Cuál es el $(val25[$val24]) del elemento $val16 cuyo $(val25[$val23]) es $val29? wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/main.phtml0000644000175000017500000000003111074456076026464 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/introhook.phtml0000644000175000017500000000105111245273127027551 0ustar georgeskgeorgesk!set namelist=número atómico, símbolo, nombre del elemento, masa atómica
Información dada
(si es aplicable)
!formselect confparm1 list 0,1,2,3,4 prompt aleatorio,$namelist
Preguntar por información
(si es aplicable)
!formselect confparm2 list 0,1,2,3,4 prompt aleatorio,$namelist
Excluir los elementos por encima del
O una lista de números
de elementos para el test:
wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/table0000644000175000017500000000411411245271672025507 0ustar georgeskgeorgesk1,H,Hidrógeno,1.00797 2,He,Helio,4.0026 3,Li,Litio,6.939 4,Be,Berilio,9.0122 5,B,Boro,10.811 6,C,Carbono,12.0112 7,N,Nitrógeno,14.0067 8,O,Oxígeno,15.9994 9,F,Flúor,18.9984 10,Ne,Neón,20.183 11,Na,Sodio,22.9898 12,Mg,Magnesio,24.312 13,Al,Aluminio,26.9815 14,Si,Silicio,28.086 15,P,Fósforo,30.984 16,S,Azufre,32.064 17,Cl,Cloro,35.453 18,Ar,Argón,39.948 19,K,Potasio,39.102 20,Ca,Calcio,40.08 21,Sc,Escandio,44.956 22,Ti,Titanio,47.9 23,V,Vanadio,50.942 24,Cr,Cromo,51.996 25,Mn,Manganeso,54.938 26,Fe,Hierro,55.847 27,Co,Cobalto,58.933 28,Ni,Níquel,58.71 29,Cu,Cobre,63.54 30,Zn,Cinc,65.37 31,Ga,Galio,69.72 32,Ge,Germanio,72.59 33,As,Arsénico,74.992 34,Se,Selenio,78.96 35,Br,Bromo,79.909 36,Kr,Criptón,83.8 37,Rb,Rubidio,85.47 38,Sr,Estroncio,87.62 39,Y,Itrio,88.9059 40,Zr,Circonio,91.22 41,Nb,Niobio,92.906 42,Mo,Molibdeno,95.94 43,Tc,Tecnecio,96.9062 44,Ru,Rutenio,101.07 45,Rh,Rodio,102.905 46,Pd,Paladio,106.4 47,Ag,Plata,107.87 48,Cd,Cadmio,112.4 49,In,Indio,114.82 50,Sn,Estaño,118.69 51,Sb,Antimonio,121.75 52,Te,Teluro,127.60 53,I,Yodo,126.904 54,Xe,Xenón,131.3 55,Cs,Cesio,132.905 56,Ba,Bario,137.34 57,La,Lantano,138.91 58,Ce,Cerio,140.12 59,Pr,Praseodimio,140.907 60,Nd,Neodimio,144.24 61,Pm,Prometio,144.9128 62,Sm,Samario,150.35 63,Eu,Europio,151.96 64,Gd,Gadolinio,157.25 65,Tb,Terbio,158.924 66,Dy,Disprosio,162.5 67,Ho,Holmio,164.93 68,Er,Erbio,167.26 69,Tm,Tulio,168.934 70,Yb,Iterbio,173.04 71,Lu,Lutecio,174.97 72,Hf,Hafnio,178.49 73,Ta,Tantalio,180.948 74,W,Wolframio,183.85 75,Re,Renio,186.2 76,Os,Osmio,190.2 77,Ir,Iridio,192.22 78,Pt,Platino,195.09 79,Au,Oro,196.967 80,Hg,Mercurio,200.59 81,Tl,Talio,204.37 82,Pb,Plomo,207.19 83,Bi,Bismuto,208.98 84,Po,Polonio,208.98 85,At,Astato,209.987 86,Rn,Radón,222.0176 87,Fr,Francio,223.0189 88,Ra,Radio,226 89,Ac,Actinio,227.0278 90,Th,Torio,232.038 91,Pa,Protactinio,231.0359 92,U,Uranio,238.03 93,Np,Neptunio,237 94,Pu,Plutonio,242 95,Am,Americio,243.0614 96,Cm,Curio,247.0704 97,Bk,Berkelio,247.0703 98,Cf,Californio,251.0796 99,Es,Einstenio,254.0881 100,Fm,Fermio,257.0951 101,Md,Mendelevio,257.0956 102,No,Nobelio,255.0933 103,Lr,Laurencio,256.0986 wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/INDEX0000644000175000017500000000107011245021326025252 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=OEF tabla periódica description=ejercicios para memorizar la tabla periódica de los elementos. language=es category=exercise, oef domain=química level=H5,H6,U1 keywords=tabla periódica, elementos, metal, masa atómica, número atómico require= scoring=yes copyright=© 2003- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.00 wims_version=3.37f vardef=oef/var.def translator=Pilar Ullán González translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/0000755000175000017500000000000011213710130025242 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/order5.oef0000644000175000017500000000346611245074155027165 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/order.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Ordenar 5} \integer{cnt=5} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{given=\given notitemof 2,3?randitem(2,3)} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,120,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\data)} \text{data=column(\given,\data)} \statement{Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

\for{i=1 to \cnt}{ \embed{r\i,\sxs[\given]x30} }
} \answer{Elemento 1}{\data[1]}{type=dragfill} \answer{Elemento 2}{\data[2]}{type=dragfill} \answer{Elemento 3}{\data[3]}{type=dragfill} \answer{Elemento 4}{\data[4]}{type=dragfill} \answer{Elemento 5}{\data[5]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/corr7.oef0000644000175000017500000000314411245071022027000 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Correspondencia 7} \integer{cnt=7} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,150,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{data=row(\sh,\data)} \text{left=column(\f1,\data)} \text{right=column(\f2,\data)} \statement{Establece la correspondencia correcta entre los siguientes \namelist[\f1] y \namelist[\f2] de átomos.

\embed{r1,30x\sxs[\f1]x\sxs[\f2]}
} \answer{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/blackbox2.oef0000644000175000017500000000474211245025242027623 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blackbox.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Casilla vacía II} \text{image=table2.gif} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{pick=randint(1..\datacnt)} \text{dataline=\data[\pick;]} \integer{pick=item(1,\dataline)} \text{pdataline=\Pdata[\pick;]} \integer{xs=30} \integer{ys=30} \integer{x=\pdataline[4]*\xs} \integer{y=\pdataline[3]*\ys} \integer{y=\pdataline[3]>8?\y+5} \integer{x=\pdataline[3]>8?\x+\xs*2} \text{blist=} \for{i=1 to \end}{ \text{blist=\blist r,\x,\y,\x+\xs,\y+\ys;} \if{\i=\pick}{\text{glist=r,\x,\y,\x+\xs,\y+\ys}} } \text{good=\dataline[\ask]} \text{good=\ask=3?\good;\Data[;3]} \text{namelist=número atómico, símbolo, nombre, masa atómica} \text{a=r1,r2,r3,r4} \steps{\a[\ask]} \statement{En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la \namelist[\ask] del elemento correspondiente a esa casilla?

\draw{600,360}{ copy 0,0,-1,-1,-1,-1,\imagedir/\image frect \x,\y,\x+\xs,\y+\ys,black }
} \answer{El número atómico es}{\good}{type=number} \answer{El símbolo es}{\good}{type=case} \answer{El nombre del elemento es}{\good}{type=nocase} \answer{La masa atómica es}{\good}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill54.oef0000644000175000017500000000563111245072311027050 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \integer{redund=4} \title{Coloca 5 + 4 casillas} \integer{cnt=wims(word 1 of 5 + 4)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by , in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/prec.oef0000644000175000017500000000346611245073321026710 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/one.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Elemento previo} \integer{start=2} \text{cnt=0,-1} \text{connector=inmediatamente anterior a aquel} \text{candouble=yes} \text{selective=no} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=número, símbolo, nombre, masa} \text{pick=randint(\start..\datacnt)} \text{data1=row(\cnt[1]+\pick,\data)} \text{data2=row(\cnt[2]+\pick,\data)} \text{left=column(\f1,\data1)} \text{right=column(\f2,\data2)} \steps{reply \f2} \statement{¿Cuál es el \namelist[\f2] del elemento \connector cuyo \namelist[\f1] es \left? } \answer{El número atómico es}{\right}{type=number} \answer{El símbolo es}{\right}{type=case} \answer{El nombre del elemento es}{\right;\totname}{type=nocase} \answer{La masa atómica}{\right}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/order6.oef0000644000175000017500000000354411245074155027163 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/order.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Ordenar 6} \integer{cnt=6} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{given=\given notitemof 2,3?randitem(2,3)} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,120,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\data)} \text{data=column(\given,\data)} \statement{Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

\for{i=1 to \cnt}{ \embed{r\i,\sxs[\given]x30} }
} \answer{Elemento 1}{\data[1]}{type=dragfill} \answer{Elemento 2}{\data[2]}{type=dragfill} \answer{Elemento 3}{\data[3]}{type=dragfill} \answer{Elemento 4}{\data[4]}{type=dragfill} \answer{Elemento 5}{\data[5]}{type=dragfill} \answer{Elemento 6}{\data[6]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/click1.oef0000644000175000017500000000460311245026515027122 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/click1.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Click en la tabla} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{f1=\given isitemof 2,3?\given:randitem(2,3)} \integer{pick=randint(1..\datacnt)} \text{dataline=\data[\pick;]} \integer{pick=item(1,\dataline)} \integer{xs=30} \integer{ys=30} \text{xlist=column(4,\Pdata)} \text{ylist=column(3,\Pdata)} \text{blist=} \for{i=1 to \end}{ \integer{x=\xlist[\i]*\xs} \integer{y=\ylist[\i]*\ys} \integer{y=\ylist[\i]>8?\y+5} \integer{x=\ylist[\i]>8?\x+\xs*2} \text{blist=\blist r,\x,\y,\x+\xs,\y+\ys;} \if{\i=\pick}{\text{glist=r,\x,\y,\x+\xs,\y+\ys}} } \text{give=\dataline[\f1]} \text{flist=\Data[;\f1]} \text{namelist=número, símbolo, nombre, masa atómica} \statement{En la tabla periódica de los elementos mostrada más abajo, haz click en la casilla del elemento cuyo \namelist[\f1] es \give.

\embed{r1}
} \answer{The position}{\imagedir/table2.gif;\glist;\blist}{type=coord} \if{\result1>1}{ \text{clicked=\flist[\result1-1]} } \feedback{\result1>1}{ Has hecho click en la casilla de \clicked en lugar de la de \give. } wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill62.oef0000644000175000017500000000563111245072311027047 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \integer{redund=2} \title{Coloca 6 + 2 casillas} \integer{cnt=wims(word 1 of 6 + 2)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/blackbox.oef0000644000175000017500000000473711245025242027545 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/blackbox.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Casilla vacía} \text{image=table1.gif} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{pick=randint(1..\datacnt)} \text{dataline=\data[\pick;]} \integer{pick=item(1,\dataline)} \text{pdataline=\Pdata[\pick;]} \integer{xs=30} \integer{ys=30} \integer{x=\pdataline[4]*\xs} \integer{y=\pdataline[3]*\ys} \integer{y=\pdataline[3]>8?\y+5} \integer{x=\pdataline[3]>8?\x+\xs*2} \text{blist=} \for{i=1 to \end}{ \text{blist=\blist r,\x,\y,\x+\xs,\y+\ys;} \if{\i=\pick}{\text{glist=r,\x,\y,\x+\xs,\y+\ys}} } \text{good=\dataline[\ask]} \text{good=\ask=3?\good;\Data[;3]} \text{namelist=número atómico, símbolo, nombre, masa atómica} \text{a=r1,r2,r3,r4} \steps{\a[\ask]} \statement{En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la \namelist[\ask] del elemento correspondiente a esa casilla?

\draw{600,360}{ copy 0,0,-1,-1,-1,-1,\imagedir/\image frect \x,\y,\x+\xs,\y+\ys,black }
} \answer{El número atómico es}{\good}{type=number} \answer{El símbolo es}{\good}{type=case} \answer{El nombre del elemento es}{\good}{type=nocase} \answer{La masa atómica es}{\good}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill103.oef0000644000175000017500000000563311245072311027125 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \integer{redund=3} \title{Coloca 10 + 3 casillas} \integer{cnt=wims(word 1 of 10 + 3)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/corr5.oef0000644000175000017500000000314211245071022026774 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Correspondencia 5} \integer{cnt=5} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,150,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{data=row(\sh,\data)} \text{left=column(\f1,\data)} \text{right=column(\f2,\data)} \statement{Establece la correspondencia correcta entre los siguientes \namelist[\f1] y \namelist[\f2] de átomos.

\embed{r1,30x\sxs[\f1]x\sxs[\f2]}
} \answer{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/one.oef0000644000175000017500000000334711245073321026536 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/one.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Un elemento} \integer{start=1} \text{cnt=0,0} \text{connector=} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=número, símbolo, nombre, masa} \text{pick=randint(\start..\datacnt)} \text{data1=row(\cnt[1]+\pick,\data)} \text{data2=row(\cnt[2]+\pick,\data)} \text{left=column(\f1,\data1)} \text{right=column(\f2,\data2)} \steps{reply \f2} \statement{¿Cuál es el \namelist[\f2] del elemento \connector cuyo \namelist[\f1] es \left? } \answer{El número atómico es}{\right}{type=number} \answer{El símbolo es}{\right}{type=case} \answer{El nombre del elemento es}{\right;\totname}{type=nocase} \answer{La masa atómica}{\right}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill3.oef0000644000175000017500000000557511245072311026771 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 3 casillas} \integer{cnt=wims(word 1 of 3)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/.htaccess0000644000175000017500000000001611074456076027062 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill10.oef0000644000175000017500000000557711245072311027051 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 10 casillas} \integer{cnt=wims(word 1 of 10)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill108.oef0000644000175000017500000000563311245072311027132 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \integer{redund=8} \title{Coloca 10 + 8 casillas} \integer{cnt=wims(word 1 of 10 + 8)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/corr3.oef0000644000175000017500000000314211245071022026772 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Correspondencia 3} \integer{cnt=3} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,150,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{data=row(\sh,\data)} \text{left=column(\f1,\data)} \text{right=column(\f2,\data)} \statement{Establece la correspondencia correcta entre los siguientes \namelist[\f1] y \namelist[\f2] de átomos.

\embed{r1,30x\sxs[\f1]x\sxs[\f2]}
} \answer{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/order4.oef0000644000175000017500000000341011245273144027150 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/order.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Ordenar 4} \integer{cnt=4} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{given=\given notitemof 2,3?randitem(2,3)} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,120,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\data)} \text{data=column(\given,\data)} \statement{Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

\for{i=1 to \cnt}{ \embed{r\i,\sxs[\given]x30} }
} \answer{Elemento 1}{\data[1]}{type=dragfill} \answer{Elemento 2}{\data[2]}{type=dragfill} \answer{Elemento 3}{\data[3]}{type=dragfill} \answer{Elemento 4}{\data[4]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill33.oef0000644000175000017500000000563111245072311027045 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \integer{redund=3} \title{Coloca 3 + 3 casillas} \integer{cnt=wims(word 1 of 3 + 3)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/corr6.oef0000644000175000017500000000314211245071022026775 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Correspondencia 6} \integer{cnt=6} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,150,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{data=row(\sh,\data)} \text{left=column(\f1,\data)} \text{right=column(\f2,\data)} \statement{Establece la correspondencia correcta entre los siguientes \namelist[\f1] y \namelist[\f2] de átomos.

\embed{r1,30x\sxs[\f1]x\sxs[\f2]}
} \answer{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/next.oef0000644000175000017500000000347211245073321026732 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/one.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Elemento siguiente} \integer{start=2} \text{cnt=-1,0} \text{connector=inmediatamente posterior a aquel} \text{candouble=yes} \text{selective=no} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=número, símbolo, nombre, masa} \text{pick=randint(\start..\datacnt)} \text{data1=row(\cnt[1]+\pick,\data)} \text{data2=row(\cnt[2]+\pick,\data)} \text{left=column(\f1,\data1)} \text{right=column(\f2,\data2)} \steps{reply \f2} \statement{¿Cuál es el \namelist[\f2] del elemento \connector cuyo \namelist[\f1] es \left? } \answer{El número atómico es}{\right}{type=number} \answer{El símbolo es}{\right}{type=case} \answer{El nombre del elemento es}{\right;\totname}{type=nocase} \answer{La masa atómica}{\right}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/metals10.oef0000644000175000017500000000572511245072554027414 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/metals.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Metal y no metal 10} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{tot=10} \integer{beg=item(\tot,1,1,1,1,2,2,2,2,3,3,3,3,4,4)} \integer{cut=random(\beg..\tot-\beg)} \integer{length=\tot-\beg+1} \text{given=\given notitemof 2,3?randitem(2,3)} \integer{xsize=item(\given-1,50,100)} \text{metals=column(1,wims(select \pdata where column 5 isitemof 2,3,7))} \text{nonmetals=column(1,wims(select \pdata where column 5 notitemof 2,3,7))} \text{metals=\data[\metals;\given]} \text{nonmetals=\data[\nonmetals;\given]} \text{metals=item(1..\cut,shuffle(\metals))} \text{nonmetals=item(1..\tot-\cut,shuffle(\nonmetals))} \text{size=\xsize[]x30x\length} \statement{Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: \embed{reply 1,\size}

No metales: \embed{reply 2,\size} } \answer{Metals}{\rmet;\metals}{type=dragfill} \answer{Non-metals}{\rnon;\nonmetals}{type=dragfill} \text{totans=\rmet,\rnon} \text{noans=wims(listcomplement \totans in \metals,\nonmetals)} \text{totans=\totans,\noans} \text{clean=} \text{check=} \for{t=1 to \tot}{ \text{ans=\totans[\t]} \if{\ans isitemof \rmet}{ \text{clean=\clean a metal,} \text{check=\ans isitemof \metals?\check 1,:\check 0,} }{ \if{\ans isitemof \rnon}{ \text{clean=\clean a non-metal,} \text{check=\ans isitemof \nonmetals?\check 1,:\check 0,} }{ \text{clean=\clean neighther metal nor non-metal,} \text{check=\check 0,} } } } \condition{\totans[1] is \clean[1]}{\check[1]=1} \condition{\totans[2] is \clean[2]}{\check[2]=1} \condition{\totans[3] is \clean[3]}{\check[3]=1} \condition{\totans[4] is \clean[4]}{\check[4]=1} \condition{\totans[5] is \clean[5]}{\check[5]=1} \condition{\totans[6] is \clean[6]}{\check[6]=1} \condition{\totans[7] is \clean[7]}{\check[7]=1} \condition{\totans[8] is \clean[8]}{\check[8]=1} \condition{\totans[9] is \clean[9]}{\check[9]=1} \condition{\totans[10] is \clean[10]}{\check[10]=1} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/order3.oef0000644000175000017500000000333211245074155027153 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/order.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Ordenar 3} \integer{cnt=3} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{given=\given notitemof 2,3?randitem(2,3)} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,120,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\data)} \text{data=column(\given,\data)} \statement{Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

\for{i=1 to \cnt}{ \embed{r\i,\sxs[\given]x30} }
} \answer{Elemento 1}{\data[1]}{type=dragfill} \answer{Elemento 2}{\data[2]}{type=dragfill} \answer{Elemento 3}{\data[3]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill20.oef0000644000175000017500000000557711245072311027052 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 20 casillas} \integer{cnt=wims(word 1 of 20)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/corr4.oef0000644000175000017500000000314211245071022026773 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corr.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Correspondencia 4} \integer{cnt=4} \text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} \text{f1=\given} \text{f2=\ask} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,150,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{data=row(\sh,\data)} \text{left=column(\f1,\data)} \text{right=column(\f2,\data)} \statement{Establece la correspondencia correcta entre los siguientes \namelist[\f1] y \namelist[\f2] de átomos.

\embed{r1,30x\sxs[\f1]x\sxs[\f2]}
} \answer{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill5.oef0000644000175000017500000000557511245072311026773 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 5 casillas} \integer{cnt=wims(word 1 of 5)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by , in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill14.oef0000644000175000017500000000557711245072311027055 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 14 casillas} \integer{cnt=wims(word 1 of 14)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/metals8.oef0000644000175000017500000000555611245072554027345 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/metals.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Metal y no metal 8} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{tot=8} \integer{beg=item(\tot,1,1,1,1,2,2,2,2,3,3,3,3,4,4)} \integer{cut=random(\beg..\tot-\beg)} \integer{length=\tot-\beg+1} \text{given=\given notitemof 2,3?randitem(2,3)} \integer{xsize=item(\given-1,50,100)} \text{metals=column(1,wims(select \pdata where column 5 isitemof 2,3,7))} \text{nonmetals=column(1,wims(select \pdata where column 5 notitemof 2,3,7))} \text{metals=\data[\metals;\given]} \text{nonmetals=\data[\nonmetals;\given]} \text{metals=item(1..\cut,shuffle(\metals))} \text{nonmetals=item(1..\tot-\cut,shuffle(\nonmetals))} \text{size=\xsize[]x30x\length} \statement{Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: \embed{reply 1,\size}

No metales: \embed{reply 2,\size} } \answer{Metals}{\rmet;\metals}{type=dragfill} \answer{Non-metals}{\rnon;\nonmetals}{type=dragfill} \text{totans=\rmet,\rnon} \text{noans=wims(listcomplement \totans in \metals,\nonmetals)} \text{totans=\totans,\noans} \text{clean=} \text{check=} \for{t=1 to \tot}{ \text{ans=\totans[\t]} \if{\ans isitemof \rmet}{ \text{clean=\clean a metal,} \text{check=\ans isitemof \metals?\check 1,:\check 0,} }{ \if{\ans isitemof \rnon}{ \text{clean=\clean a non-metal,} \text{check=\ans isitemof \nonmetals?\check 1,:\check 0,} }{ \text{clean=\clean neighther metal nor non-metal,} \text{check=\check 0,} } } } \condition{\totans[1] is \clean[1]}{\check[1]=1} \condition{\totans[2] is \clean[2]}{\check[2]=1} \condition{\totans[3] is \clean[3]}{\check[3]=1} \condition{\totans[4] is \clean[4]}{\check[4]=1} \condition{\totans[5] is \clean[5]}{\check[5]=1} \condition{\totans[6] is \clean[6]}{\check[6]=1} \condition{\totans[7] is \clean[7]}{\check[7]=1} \condition{\totans[8] is \clean[8]}{\check[8]=1} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/metals6.oef0000644000175000017500000000541411245072554027334 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/metals.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Metal y no metal 6} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{tot=6} \integer{beg=item(\tot,1,1,1,1,2,2,2,2,3,3,3,3,4,4)} \integer{cut=random(\beg..\tot-\beg)} \integer{length=\tot-\beg+1} \text{given=\given notitemof 2,3?randitem(2,3)} \integer{xsize=item(\given-1,50,100)} \text{metals=column(1,wims(select \pdata where column 5 isitemof 2,3,7))} \text{nonmetals=column(1,wims(select \pdata where column 5 notitemof 2,3,7))} \text{metals=\data[\metals;\given]} \text{nonmetals=\data[\nonmetals;\given]} \text{metals=item(1..\cut,shuffle(\metals))} \text{nonmetals=item(1..\tot-\cut,shuffle(\nonmetals))} \text{size=\xsize[]x30x\length} \statement{Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: \embed{reply 1,\size}

No metales: \embed{reply 2,\size} } \answer{Metals}{\rmet;\metals}{type=dragfill} \answer{Non-metals}{\rnon;\nonmetals}{type=dragfill} \text{totans=\rmet,\rnon} \text{noans=wims(listcomplement \totans in \metals,\nonmetals)} \text{totans=\totans,\noans} \text{clean=} \text{check=} \for{t=1 to \tot}{ \text{ans=\totans[\t]} \if{\ans isitemof \rmet}{ \text{clean=\clean a metal,} \text{check=\ans isitemof \metals?\check 1,:\check 0,} }{ \if{\ans isitemof \rnon}{ \text{clean=\clean a non-metal,} \text{check=\ans isitemof \nonmetals?\check 1,:\check 0,} }{ \text{clean=\clean neighther metal nor non-metal,} \text{check=\check 0,} } } } \condition{\totans[1] is \clean[1]}{\check[1]=1} \condition{\totans[2] is \clean[2]}{\check[2]=1} \condition{\totans[3] is \clean[3]}{\check[3]=1} \condition{\totans[4] is \clean[4]}{\check[4]=1} \condition{\totans[5] is \clean[5]}{\check[5]=1} \condition{\totans[6] is \clean[6]}{\check[6]=1} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill8.oef0000644000175000017500000000557511245072311026776 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 8 casillas} \integer{cnt=wims(word 1 of 8)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by , in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill4.oef0000644000175000017500000000557511245072311026772 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 4 casillas} \integer{cnt=wims(word 1 of 4)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/fill6.oef0000644000175000017500000000557511245072311026774 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/fill.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \integer{redund=0} \title{Coloca 6 casillas} \integer{cnt=wims(word 1 of 6)} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by
, in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/0000755000175000017500000000000011245273145026043 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/data.inc0000644000175000017500000000043311074456076027455 0ustar georgeskgeorgesk\text{Data=wims(record 0 of table)} \text{data=\Data} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{data=row(\confparm4,\data)} } \text{totname=column(3,\data)} \text{totsymbole=column(2,\data)} \integer{datacnt=min(\confparm3,rows(\data))} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/confparm.inc0000644000175000017500000000122611074456076030352 0ustar georgeskgeorgesk\text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/click1.cpp0000644000175000017500000000215111245026515027711 0ustar georgeskgeorgesktarget=click1 #include "header.inc" #include "confparm.inc" \title{Click en la tabla} #include "data.inc" #include "position.inc" \integer{f1=\given isitemof 2,3?\given:randitem(2,3)} \integer{pick=randint(1..\datacnt)} \text{dataline=\data[\pick;]} \integer{pick=item(1,\dataline)} \integer{xs=30} \integer{ys=30} \text{xlist=column(4,\Pdata)} \text{ylist=column(3,\Pdata)} \text{blist=} \for{i=1 to \end}{ \integer{x=\xlist[\i]*\xs} \integer{y=\ylist[\i]*\ys} \integer{y=\ylist[\i]>8?\y+5} \integer{x=\ylist[\i]>8?\x+\xs*2} \text{blist=\blist r,\x,\y,\x+\xs,\y+\ys;} \if{\i=\pick}{\text{glist=r,\x,\y,\x+\xs,\y+\ys}} } \text{give=\dataline[\f1]} \text{flist=\Data[;\f1]} \text{namelist=número, símbolo, nombre, masa atómica} \statement{En la tabla periódica de los elementos mostrada más abajo, haz click en la casilla del elemento cuyo \namelist[\f1] es \give.

\embed{r1}
} \answer{The position}{\imagedir/table2.gif;\glist;\blist}{type=coord} \if{\result1>1}{ \text{clicked=\flist[\result1-1]} } \feedback{\result1>1}{ Has hecho click en la casilla de \clicked en lugar de la de \give. } wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/test.cpp0000644000175000017500000000212011074456076027527 0ustar georgeskgeorgesktarget test #include "header.inc" #include "confparm.inc" \title{test} \text{list=wims(record 0 of position)} \text{colors=white,orange,lightgrey,green,yellow,skyblue,magenta} \text{drawsrc=} \integer{xs=30} \integer{ys=30} \for{e=1 to \end}{ \text{ele=row(\e,\list)} \integer{x=\ele[4]*\xs} \integer{y=\ele[3]*\ys} \integer{y=\ele[3]>8?\y+5} \integer{x=\ele[3]>8?\x+\xs*2} \text{drawsrc=\drawsrc frect \x,\y,\x+\xs,\y+\ys,\colors[\ele[5]] rect \x,\y,\x+\xs,\y+\ys,black text black,\x+10,\y+10,medium,\ele[2]} } \for{i=1 to 7}{ \text{drawsrc=\drawsrc text black,10,\i*\ys+10,large,\i text black,19*\xs+10,\i*\ys+10,large,\i} } \text{ylist=0,1,3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,0} \for{i=1 to 18}{ \text{drawsrc=\drawsrc text black,\i*\xs+10,\ylist[\i]*\ys+4,large,\i} } \for{i=1 to 15}{ \text{drawsrc=\drawsrc text black,(\i+2)*\xs+10,\ys*8+20,small,\i} } \text{drawsrc=\drawsrc text black,3*\xs+13,6*\ys+10,large,* text black,3*\xs+10,7*\ys+10,large,** text black,2*\xs+13,9*\ys+10,large,* text black,2*\xs+10,10*\ys+10,large,** } \statement{

\draw{600,360}{ \drawsrc } } wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/position.inc0000644000175000017500000000044711074456076030415 0ustar georgeskgeorgesk\text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/blackbox.cpp0000644000175000017500000000247311245025242030333 0ustar georgeskgeorgesktarget=blackbox blackbox2 #include "header.inc" #include "confparm.inc" #if #TARGET (blackbox) \title{Casilla vacía} \text{image=table1.gif} #endif #if #TARGET (blackbox2) \title{Casilla vacía II} \text{image=table2.gif} #endif #include "data.inc" #include "position.inc" \integer{pick=randint(1..\datacnt)} \text{dataline=\data[\pick;]} \integer{pick=item(1,\dataline)} \text{pdataline=\Pdata[\pick;]} \integer{xs=30} \integer{ys=30} \integer{x=\pdataline[4]*\xs} \integer{y=\pdataline[3]*\ys} \integer{y=\pdataline[3]>8?\y+5} \integer{x=\pdataline[3]>8?\x+\xs*2} \text{blist=} \for{i=1 to \end}{ \text{blist=\blist r,\x,\y,\x+\xs,\y+\ys;} \if{\i=\pick}{\text{glist=r,\x,\y,\x+\xs,\y+\ys}} } \text{good=\dataline[\ask]} \text{good=\ask=3?\good;\Data[;3]} \text{namelist=número atómico, símbolo, nombre, masa atómica} \text{a=r1,r2,r3,r4} \steps{\a[\ask]} \statement{En la tabla periódica de los elementos mostrada más abajo, una casilla está vacía. ¿Cuál es el/la \namelist[\ask] del elemento correspondiente a esa casilla?

\draw{600,360}{ copy 0,0,-1,-1,-1,-1,\imagedir/\image frect \x,\y,\x+\xs,\y+\ys,black }
} \answer{El número atómico es}{\good}{type=number} \answer{El símbolo es}{\good}{type=case} \answer{El nombre del elemento es}{\good}{type=nocase} \answer{La masa atómica es}{\good}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/corr.cpp0000644000175000017500000000170111245071022027501 0ustar georgeskgeorgesktarget=corr3 corr4 corr5 corr6 corr7 #include "header.inc" #include "confparm.inc" #define TIT1 Correspondance #if #TARGET (corr3) \title{Correspondencia 3} \integer{cnt=3} #endif #if #TARGET (corr4) \title{Correspondencia 4} \integer{cnt=4} #endif #if #TARGET (corr5) \title{Correspondencia 5} \integer{cnt=5} #endif #if #TARGET (corr6) \title{Correspondencia 6} \integer{cnt=6} #endif #if #TARGET (corr7) \title{Correspondencia 7} \integer{cnt=7} #endif #include "data.inc" \text{f1=\given} \text{f2=\ask} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,150,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{data=row(\sh,\data)} \text{left=column(\f1,\data)} \text{right=column(\f2,\data)} \statement{Establece la correspondencia correcta entre los siguientes \namelist[\f1] y \namelist[\f2] de átomos.

\embed{r1,30x\sxs[\f1]x\sxs[\f2]}
} \answer{La correspondencia}{\left;\right}{type=correspond} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/header.inc0000644000175000017500000000010511074456076027770 0ustar georgeskgeorgesk\language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/one.cpp0000644000175000017500000000215311245073321027323 0ustar georgeskgeorgesktarget=one prec next #include "header.inc" #include "confparm.inc" #if #TARGET (one) \title{Un elemento} \integer{start=1} \text{cnt=0,0} \text{connector=} #endif #if #TARGET (prec) \title{Elemento previo} \integer{start=2} \text{cnt=0,-1} \text{connector=inmediatamente anterior a aquel} \text{candouble=yes} \text{selective=no} #endif #if #TARGET (next) \title{Elemento siguiente} \integer{start=2} \text{cnt=-1,0} \text{connector=inmediatamente posterior a aquel} \text{candouble=yes} \text{selective=no} #endif #include "data.inc" \text{f1=\given} \text{f2=\ask} \text{namelist=número, símbolo, nombre, masa} \text{pick=randint(\start..\datacnt)} \text{data1=row(\cnt[1]+\pick,\data)} \text{data2=row(\cnt[2]+\pick,\data)} \text{left=column(\f1,\data1)} \text{right=column(\f2,\data2)} \steps{reply \f2} \statement{¿Cuál es el \namelist[\f2] del elemento \connector cuyo \namelist[\f1] es \left? } \answer{El número atómico es}{\right}{type=number} \answer{El símbolo es}{\right}{type=case} \answer{El nombre del elemento es}{\right;\totname}{type=nocase} \answer{La masa atómica}{\right}{type=number} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/order.cpp0000644000175000017500000000214411245074155027663 0ustar georgeskgeorgesktarget=order3 order4 order5 order6 #include "header.inc" #include "confparm.inc" #define TIT1 Order #if #TARGET (order3) # define CNT 3 #endif #if #TARGET (order4) # define CNT 4 #endif #if #TARGET (order5) # define CNT 5 #endif #if #TARGET (order6) # define CNT 6 #endif \title{Ordenar CNT} \integer{cnt=CNT} #include "data.inc" \text{given=\given notitemof 2,3?randitem(2,3)} \text{namelist=números, símbolos, nombres, masas} \text{sxs=60,60,120,100} \text{sh=item(1..\cnt,shuffle(\datacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\data)} \text{data=column(\given,\data)} \statement{Coloca los siguientes átomos en orden creciente, arrastrándolos a las casillas vacías.

\for{i=1 to \cnt}{ \embed{r\i,\sxs[\given]x30} }
} \answer{Elemento 1}{\data[1]}{type=dragfill} \answer{Elemento 2}{\data[2]}{type=dragfill} \answer{Elemento 3}{\data[3]}{type=dragfill} #if CNT>3 \answer{Elemento 4}{\data[4]}{type=dragfill} #endif #if CNT>4 \answer{Elemento 5}{\data[5]}{type=dragfill} #endif #if CNT>5 \answer{Elemento 6}{\data[6]}{type=dragfill} #endif wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/metals.cpp0000644000175000017500000000435411245072554030043 0ustar georgeskgeorgesktarget=metals4 metals6 metals8 metals10 #include "header.inc" #include "confparm.inc" #define TIT Metals and non-metals #if #TARGET (metals4) # define TOT 4 #endif #if #TARGET (metals6) # define TOT 6 #endif #if #TARGET (metals8) # define TOT 8 #endif #if #TARGET (metals10) # define TOT 10 #endif \title{Metal y no metal TOT} #include "position.inc" \integer{tot=TOT} \integer{beg=item(\tot,1,1,1,1,2,2,2,2,3,3,3,3,4,4)} \integer{cut=random(\beg..\tot-\beg)} \integer{length=\tot-\beg+1} \text{given=\given notitemof 2,3?randitem(2,3)} \integer{xsize=item(\given-1,50,100)} \text{metals=column(1,wims(select \pdata where column 5 isitemof 2,3,7))} \text{nonmetals=column(1,wims(select \pdata where column 5 notitemof 2,3,7))} \text{metals=\data[\metals;\given]} \text{nonmetals=\data[\nonmetals;\given]} \text{metals=item(1..\cut,shuffle(\metals))} \text{nonmetals=item(1..\tot-\cut,shuffle(\nonmetals))} \text{size=\xsize[]x30x\length} \statement{Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: \embed{reply 1,\size}

No metales: \embed{reply 2,\size} } \answer{Metals}{\rmet;\metals}{type=dragfill} \answer{Non-metals}{\rnon;\nonmetals}{type=dragfill} \text{totans=\rmet,\rnon} \text{noans=wims(listcomplement \totans in \metals,\nonmetals)} \text{totans=\totans,\noans} \text{clean=} \text{check=} \for{t=1 to \tot}{ \text{ans=\totans[\t]} \if{\ans isitemof \rmet}{ \text{clean=\clean a metal,} \text{check=\ans isitemof \metals?\check 1,:\check 0,} }{ \if{\ans isitemof \rnon}{ \text{clean=\clean a non-metal,} \text{check=\ans isitemof \nonmetals?\check 1,:\check 0,} }{ \text{clean=\clean neighther metal nor non-metal,} \text{check=\check 0,} } } } \condition{\totans[1] is \clean[1]}{\check[1]=1} \condition{\totans[2] is \clean[2]}{\check[2]=1} \condition{\totans[3] is \clean[3]}{\check[3]=1} \condition{\totans[4] is \clean[4]}{\check[4]=1} #if TOT > 4 \condition{\totans[5] is \clean[5]}{\check[5]=1} \condition{\totans[6] is \clean[6]}{\check[6]=1} #endif #if TOT > 6 \condition{\totans[7] is \clean[7]}{\check[7]=1} \condition{\totans[8] is \clean[8]}{\check[8]=1} #endif #if TOT > 8 \condition{\totans[9] is \clean[9]}{\check[9]=1} \condition{\totans[10] is \clean[10]}{\check[10]=1} #endif wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/cpp/fill.cpp0000644000175000017500000000517511245072311027475 0ustar georgeskgeorgesktarget=fill3 fill4 fill5 fill6 fill8 fill10 fill14 fill20 fill33 fill54 fill62 fill103 fill108 #include "header.inc" #include "confparm.inc" #define TIT1 Fill \integer{redund=0} #if #TARGET (fill3) # define CNT 3 #endif #if #TARGET (fill4) # define CNT 4 #endif #if #TARGET (fill5) # define CNT 5 #endif #if #TARGET (fill6) # define CNT 6 #endif #if #TARGET (fill8) # define CNT 8 #endif #if #TARGET (fill10) # define CNT 10 #endif #if #TARGET (fill14) # define CNT 14 #endif #if #TARGET (fill20) # define CNT 20 #endif #if #TARGET (fill33) # define CNT 3 + 3 \integer{redund=3} #endif #if #TARGET (fill54) # define CNT 5 + 4 \integer{redund=4} #endif #if #TARGET (fill62) # define CNT 6 + 2 \integer{redund=2} #endif #if #TARGET (fill103) # define CNT 10 + 3 \integer{redund=3} #endif #if #TARGET (fill108) # define CNT 10 + 8 \integer{redund=8} #endif \title{Coloca CNT casillas} \integer{cnt=wims(word 1 of CNT)} #include "position.inc" \integer{cnt=min(\cnt,\pdatacnt)} \text{sh=item(1..\cnt+\redund,shuffle(\pdatacnt))} \text{sh=wims(sort numeric items \sh)} \text{data=row(\sh,\pdata)} \text{symb=\data[;2]} \text{rsymb=\redund>0 and \pdatacnt>\cnt?;\symb[\cnt+1..\cnt+\redund]:} text{symb=wims(replace internal , by , in \symb)} \text{fields=} \integer{xs=35} \integer{ys=30} \for{t=1 to \cnt}{ \integer{x=\data[\t;3]>8?\data[\t;4]*\xs+\xs*2+1:\data[\t;4]*\xs+1} \integer{y=\data[\t;3]>8?\data[\t;3]*\ys+6:\data[\t;3]*\ys+1} \text{fields=\fields r\t,\x x \y} } \text{size=\xs-1 x \ys-1} \text{answers=item(1..\cnt,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20)} \steps{\answers} \statement{Coloca los símbolos dados en la tabla siguiente.

\special{imagefill \imagedir/table2.gif,700x360,\size \fields }
} \text{size=\xs x \ys-1} \answer{Box 1}{\symb[1]\rsymb}{type=dragfill} \answer{Box 2}{\symb[2]}{type=dragfill} \answer{Box 3}{\symb[3]}{type=dragfill} \answer{Box 4}{\symb[4]}{type=dragfill} \answer{Box 5}{\symb[5]}{type=dragfill} \answer{Box 6}{\symb[6]}{type=dragfill} \answer{Box 7}{\symb[7]}{type=dragfill} \answer{Box 8}{\symb[8]}{type=dragfill} \answer{Box 9}{\symb[9]}{type=dragfill} \answer{Box 10}{\symb[10]}{type=dragfill} \answer{Box 11}{\symb[11]}{type=dragfill} \answer{Box 12}{\symb[12]}{type=dragfill} \answer{Box 13}{\symb[13]}{type=dragfill} \answer{Box 14}{\symb[14]}{type=dragfill} \answer{Box 15}{\symb[15]}{type=dragfill} \answer{Box 16}{\symb[16]}{type=dragfill} \answer{Box 17}{\symb[17]}{type=dragfill} \answer{Box 18}{\symb[18]}{type=dragfill} \answer{Box 19}{\symb[19]}{type=dragfill} \answer{Box 20}{\symb[20]}{type=dragfill} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/src/metals4.oef0000644000175000017500000000525211245072554027332 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/metals.cpp. \language{en} \author{XIAO Gang} \email{xiao@unice.fr} \format{html} \text{data=wims(record 0 of table)} \integer{end=rows(\data)} \integer{confparm1=\confparm1 notitemof 1,2,3,4?0} \integer{confparm2=\confparm2 notitemof 1,2,3,4?0} \text{empty=} \integer{confparm3=\confparm3 issametext \empty or \confparm3<7 or \confparm3>\end?54} \text{list=wims(values x for x=1 to \end)} \text{confparm4=wims(listintersect \confparm4 and \list)} \integer{given=\confparm1>0?\confparm1:randint(1..4)} \integer{cp=\confparm2=\confparm1?0:\confparm2} \text{remain=wims(listcomplement \given in 1,2,3,4)} \text{remain=\candouble issametext yes and \given != 1?\given,\remain} \integer{ask=\cp>0 and \cp isitemof \remain?\cp:randitem(\remain)} \title{Metal y no metal 4} \text{Pdata=wims(record 0 of position)} \text{pdata=\Pdata} \text{empty=} \if{\confparm4 notsametext \empty and \selective notsametext no}{ \text{pdata=row(\confparm4,\pdata)} } \text{totname=column(3,\pdata)} \text{totsymbole=column(2,\pdata)} \integer{pdatacnt=min(\confparm3,rows(\pdata))} \integer{tot=4} \integer{beg=item(\tot,1,1,1,1,2,2,2,2,3,3,3,3,4,4)} \integer{cut=random(\beg..\tot-\beg)} \integer{length=\tot-\beg+1} \text{given=\given notitemof 2,3?randitem(2,3)} \integer{xsize=item(\given-1,50,100)} \text{metals=column(1,wims(select \pdata where column 5 isitemof 2,3,7))} \text{nonmetals=column(1,wims(select \pdata where column 5 notitemof 2,3,7))} \text{metals=\data[\metals;\given]} \text{nonmetals=\data[\nonmetals;\given]} \text{metals=item(1..\cut,shuffle(\metals))} \text{nonmetals=item(1..\tot-\cut,shuffle(\nonmetals))} \text{size=\xsize[]x30x\length} \statement{Clasifica los elementos mostrados más abajo en "metales" y "no metales".

Metales: \embed{reply 1,\size}

No metales: \embed{reply 2,\size} } \answer{Metals}{\rmet;\metals}{type=dragfill} \answer{Non-metals}{\rnon;\nonmetals}{type=dragfill} \text{totans=\rmet,\rnon} \text{noans=wims(listcomplement \totans in \metals,\nonmetals)} \text{totans=\totans,\noans} \text{clean=} \text{check=} \for{t=1 to \tot}{ \text{ans=\totans[\t]} \if{\ans isitemof \rmet}{ \text{clean=\clean a metal,} \text{check=\ans isitemof \metals?\check 1,:\check 0,} }{ \if{\ans isitemof \rnon}{ \text{clean=\clean a non-metal,} \text{check=\ans isitemof \nonmetals?\check 1,:\check 0,} }{ \text{clean=\clean neighther metal nor non-metal,} \text{check=\check 0,} } } } \condition{\totans[1] is \clean[1]}{\check[1]=1} \condition{\totans[2] is \clean[2]}{\check[2]=1} \condition{\totans[3] is \clean[3]}{\check[3]=1} \condition{\totans[4] is \clean[4]}{\check[4]=1} wims-modules-es-3.64.orig/modules/H5/chemistry/oefperiodic.es/help.phtml0000644000175000017500000000005211074456076026473 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/0000755000175000017500000000000011262661165017565 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/0000755000175000017500000000000011262661276021165 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/0000755000175000017500000000000010340570314023351 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/0000755000175000017500000000000010340570313024106 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/vitesse2.def0000644000175000017500000000435110340570313026335 0ustar georgeskgeorgesk!set title=Vitesse et compteur !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=100 ansorder=r,r,r varcnt=8 prevarcnt=7 postvarcnt=0 replycnt=3 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 0, 24 val6=$[$(tmp0)*5] tmp0=!randint 0, 10 val7=$[rint($(tmp0))] tmp0=!randint $val7+3, $val7+7 val8=$[rint($(tmp0))] val9=$[rint($val8-$val7)] val10=$[rint($val6*$val9)] tmp0=!randint 10000, 10500 val11=$[rint($(tmp0))] val12=$[rint($val11+$val10)] oefsteps=reply1 reply2 reply3 nextstep=!nosubst reply1 reply2 reply3 !readproc oef/steps.proc replytype1=units replyname1=La distance parcourue est de replygood1=$val10 km replytype2=units replyname2=Il a roulé pendant replygood2=$val9 h replytype3=units replyname3=Sa vitesse moyenne horaire est de replygood3=$val6 km/h question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Un automobiliste part de son domicile à $val7 h00, son compteur indique $val11 km. Il revient à $val8 h00, son compteur marque $val12 km.

!if $m_step=1 $()Quelle distance a-t-il parcourue ? !endif $() !if $m_step=2 $()Pendant combien de temps a-t-il roulé ? !endif $() !if $m_step=3 $()En effet, il a parcouru $val10 km et a roulé pendant $val9 h. Quelle a été sa vitesse moyenne horaire ? !endif $()

Consigne : les unités sont demandées. $() !exit :hint $() !if $m_step=1 $()La distance parcourue est la différence entre ce qu'indique son compteur à l'arrivée et ce qu'il indique au départ. !endif $() !if $m_step=2 $()Le temps de parcours est la différence entre l'heure d'arrivée et l'heure de départ. !endif $() !if $m_step=3 $()La vitesse moyenne horaire est égale à la distance parcourue divisée par le temps pendant lequel il a roulé !endif $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/.htaccess0000644000175000017500000000001610340570313025701 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/trajet.def0000644000175000017500000001072310340570313026062 0ustar georgeskgeorgesk!set title=Trajet en voiture !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r varcnt=35 prevarcnt=34 postvarcnt=0 replycnt=5 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, 3 val6=$[rint($(tmp0))] tmp0=!randint 1, 2 tmp1=!randitem 2,4 val7=$[$(tmp0)/$(tmp1)] tmp0=!randint 1, 2 val8=$[$(tmp0)] tmp0=!randint 1, 2 tmp1=!randitem 2,4 val9=$[$(tmp0)/$(tmp1)] tmp0=!randint 1, 2 val10=$[$(tmp0)] tmp0=!randint 7, 9 val11=$[$(tmp0)] val12=$[$val11+$val6] val13=$[$val12+$val7] val14=$[$val13+$val8] val15=$[$val14+$val9] val16=$[$val15+$val10] tmp0=!randint 9, 12 val17=$[rint(10*$(tmp0))] tmp0=!randint 6, 9 val18=$[rint(10*$(tmp0))] tmp0=!randint 9, 12 val19=$[rint(10*$(tmp0))] val20=$[$val17*$val6] val21= !for val22 =0 to 20 val23=$[rint($val22+$val11)] val24=$[rint($val22*100)] val21=$val21 text black, $val11+$val22,-0.5,medium,$val23 h text black,$val11-1.5,$val22*100,medium,$val24 km !next val25=$[$val17*$val6+$val18*$val8] val26=$[$val25+$val19*$val10] val27=$[$val6+$val7+$val8+$val9+$val10] val28=$[ceil($val26/$val27)] val29=$[$val26+2] val30=$[$val7+$val9] tmp0=!randitem 1,2 val31=$(tmp0) tmp=!nonempty items première,seconde tmp0=!randitem $tmp val32=$(tmp0) !ifval p isin $val32 val33=$[ $val6] !else val33=$[$val6+$val7+$val8] !endif !ifval p isin $val32 val34= $val20 !else val34=$val25 !endif !ifval $val31=1 val35=$[ $val16] !else val35=$[$val19] !endif !ifval $val31=1 val36= h !else val36=km/h !endif val37=$[$val28] !ifval $val31=1 val38= Heure !else val38=Vitesse !endif oefsteps=reply1,reply2, reply3 reply4 reply5 nextstep=!nosubst reply1,reply2, reply3 reply4 reply5 !readproc oef/steps.proc replytype1=units replyname1=Temps de pause : replygood1=$val30 h replytype2=units replyname2=$val32 pause replygood2=$val33 h replytype3=units replyname3=Nombre de km replygood3=$val34 km replytype4=units replyname4=$val38 replygood4=$val35 $val36 replytype5=units replyname5= replygood5=$val37 km/h question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Anne doit parcourir la distance de $val26 km selon le graphique suivant :

!read oef/draw.phtml 500,250 \ xrange $val11-2,$val16+1 yrange -40,$val29+1 $val21 hline $val11,0, black vline $val11,0, black parallel $val11-0.1,0,$val11+0.1,0,0,10,100,blue parallel $val11-0.5,0,$val11+0.5,0,0,100,10,black parallel $val11,-1,$val11,1,1,0,10,black parallel $val11,-12,$val11,12,1,0,20,black parallel $val11,-5,$val11,5,0.25,0,80,blue linewidth 2 lines red, $val11,0,$val12,$val20,$val13,$val20,$val14,$val25, $val15,$val25, $val15+$val10, $val26 arrow $val15,$val25,$val15+$val10, $val26,10, red linewidth 1 dline $val12,$val20,$val12,0,black dline $val13,$val20,$val13,0,black dline $val14,$val25,$val14,0,black dline $val15,$val25,$val15,0,black dline $val12,$val20,$val11,$val20,black dline $val14,$val25,$val11,$val25,black $()

!if $m_step=1 $()Lire le diagramme :

  • Combien de temps s'arrête-t-elle en cours de route ? !read oef/embed.phtml reply 1,8 $()
  • Combien de temps après son départ fait-elle la $val32 pause ? !read oef/embed.phtml reply 2,8 $()
  • Combien de km a-t-elle fait alors ? !read oef/embed.phtml reply 3,8 $()
!endif $() !if $m_step=2 $() !if $val31=1 $()Elle a parcouru la fin du trajet (après la deuxième pause) à la vitesse moyenne horaire de $val19 km/h. A quelle heure arrive-t-elle ? !else $() Elle arrive à $val16 heures. A quelle vitesse moyenne horaire a-t-elle parcouru la fin du trajet (après la deuxième pause) ? !endif $() !read oef/embed.phtml reply 4, 8 $() !endif $() !if $m_step=3 $()Elle arrive donc à $val16 h avec une vitesse moyenne horaire sur le dernier tronçon de $val19 km/h. Quelle est sa vitesse moyenne horaire sur l'ensemble du parcours ? !read oef/embed.phtml reply 5,8 $() !endif $()

On arrondira les vitesses à 1 par excès (en km/h). On écrira les unités (les temps seront écrits en heures et en minutes par exemple 120 min ou 2h 30 min). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=10,11,12,13,14,15,16,19,20,21,25,26,29,31,32 embedcnt=5 wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/arret.def0000644000175000017500000001076610340570313025715 0ustar georgeskgeorgesk!set title=Distance d'arrêt !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=100 ansorder=r,r,r,r,r,r,r,r,r,r,r,r varcnt=23 prevarcnt=22 postvarcnt=0 replycnt=12 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=!shuffle 10,20,30,40,50,60,70,80,90,100,110,120,130,140 val6=$(tmp0) val7=1.8,3.6,6.9,10.3,16.1,23.2,31.4,41.0,52.0,64.6,78.1,93.0,108.5,123.0 tmp0=!item 1 of $val6 val8=$[rint($(tmp0))] tmp0=!item 2 of $val6 val9=$[rint($(tmp0))] tmp0=!item 3 of $val6 val10=$[rint($(tmp0))] tmp0=!randitem 1,2,3 val11=$[rint($(tmp0))] tmp0=!randitem 30,40,50 val12=$[rint($(tmp0))] val13=$[ceil($val8*100/36*$val11)/10] val14=$[ceil($val9*100/36*$val11)/10] val15=$[ceil($val10*100/36*$val11)/10] tmp0=!item $val8/10 of $val7 val16=$(tmp0) tmp0=!item $val9/10 of $val7 val17=$(tmp0) tmp0=!item $val10/10 of $val7 val18=$(tmp0) val19=$[$val13+$val16] val20=$[$val14+$val17] val21=$[$val15+$val18] val22=$[ceil($val16*(100+$val12)/10)/10] val23=$[ceil($val17*(100+$val12)/10)/10] val24=$[ceil($val18*(100+$val12)/10)/10] val25=$[$val13+$val22] val26=$[$val14+$val23] val27=$[$val15+$val24] replyname1= replygood1=$val13 replyname2= replygood2=$val14 replyname3= replygood3=$val15 replyname4= replygood4=$val19 replyname5= replygood5=$val20 replyname6= replygood6=$val21 replyname7= replygood7=$val22 replyname8= replygood8=$val23 replyname9= replygood9=$val24 replyname10= replygood10=$val25 replyname11= replygood11=$val26 replyname12= replygood12=$val27 question=__EXECUTED_1692754_EXERCISE__ help=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Le temps de réaction d'un conducteur est de $val11 !if $val11=1 $()seconde !else $() secondes !endif $(). Sur route mouillée, les distances de freinage sont augmentées de $val12 %. Remplir le tableau (on peut consulter l'aide). Les distances seront données avec une décimale par excès.

vitesse du véhicule en km/h$val8$val9$val10
distance parcourue pendant le temps de réaction $val11 s !read oef/embed.phtml reply 1,6 $() !read oef/embed.phtml reply 2,6 $() !read oef/embed.phtml reply 3,6 $()
distance de freinage sur route sèche en m $val16$val17$val18
distance d'arrêt sur route sèche en m !read oef/embed.phtml reply 4,6 $() !read oef/embed.phtml reply 5,6 $() !read oef/embed.phtml reply 6,6 $()
distance de freinage sur route mouillée en m !read oef/embed.phtml reply 7,6 $() !read oef/embed.phtml reply 8,6 $() !read oef/embed.phtml reply 9,6 $()
distance d'arrêt sur route mouillée en m !read oef/embed.phtml reply 10,6 $() !read oef/embed.phtml reply 11,6 $() !read oef/embed.phtml reply 12,6 $()
$() !exit :hint $() $() !exit :help $() Entre le moment où un conducteur voit un obstacle et celui où il commence à freiner, s'écoule un temps appelé temps de réaction . C'est la durée de transmission de l'influx nerveux entre l'oeil (organe récepteur) et la main qui serre le frein ou le pied qui appuie sur la pédale de frein (organe effectueur). La distance parcourue pendant le temps de réaction est fonction de la vitesse du véhicule. Le temps de réaction est plus ou moins long suivant les individus, leur état de fatigue. Sa durée moyenne est de 1 à 3 secondes.

Entre le moment où le conducteur actionne le frein et celui où le véhicule s'arrête, la distance parcourue est appelée distance de freinage . La distance de freinage dépend du véhicule (état du système de freinage), de la vitesse, de l'adhérence du véhicule sur la chaussée (chaussée glissante, mouillée, verglacée, sèche).

La distance d'arrêt est la somme de la distance parcourue pendant le temps de réaction et de la distance de freinage. $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,9,10,11,12,16,17,18 embedcnt=12 wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/vitesse12.def0000644000175000017500000000775610340570313026432 0ustar georgeskgeorgesk!set title=Vitesse !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Karine MAURICE et Bernadette PERRIN-RIOU email=kreen.maurice@free.fr,bpr@math.u-psud.fr computeanswer=no precision=100 ansorder=r,r,r,c varcnt=27 prevarcnt=26 postvarcnt=0 replycnt=3 choicecnt=1 conditioncnt=0 feedbackcnt=1 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 7, 11 val6=$[rint($(tmp0))] tmp0=!randint $val6+1, $val6+4 val7=$[rint($(tmp0))] tmp0=!randint 5, 58 val8=$[rint($(tmp0))] tmp0=!randint 45, 100 val9=$[rint($(tmp0))] tmp0=!randint 5, 58 val10=$[rint($(tmp0))] tmp0=!randint 45, 100 val11=$[rint($(tmp0))] tmp0=!randint 5, 58 val12=$[rint($(tmp0))] tmp0=!randint 45, 100 val13=$[rint($(tmp0))] val14=$[ceil($val9*$val8/60*100)/100] val15=$[ceil($val11*$val10/60*100)/100] val16=$[ceil($val13*$val12/60*100)/100] val17=$[ceil(($val14+$val15+$val16)*100)/100] val18=$[$val8+$val10+$val12] val19=$[rint(floor($val18/60))] val20=$[rint(floor($val19))] val21=$[rint($val18-60*$val20)] val22=$[rint($val20+$val6)] val23=$[ceil(($val17/($val18/60))*100)/100] val24=oui,non !ifval $val7>$val6+$val19 tmp0=!item 1 of $val24 val25=$(tmp0) !else tmp1=!item 2 of $val24 val25=$(tmp1) !endif val26=pendant $val8 minutes à une vitesse de $val9 km/h, pendant $val8 minutes durant $val14 km, pendant $val14 km à une vitesse de $val9 km/h val27=pendant $val10 minutes à une vitesse de $val11 km/h, pendant $val10 minutes durant $val15 km, pendant $val15 km à une vitesse de $val11 km/h val28=pendant $val12 minutes à une vitesse de $val13 km/h, pendant $val12 minutes durant $val16 km, pendant $val16 km à une vitesse de $val13 km/h tmp=!nonempty items $val26 tmp0=!randitem $tmp val29=$(tmp0) tmp=!nonempty items $val27 tmp0=!randitem $tmp val30=$(tmp0) tmp=!nonempty items $val28 tmp0=!randitem $tmp val31=$(tmp0) oefsteps=reply1 reply2 reply3 choice1 nextstep=!nosubst reply1 reply2 reply3 choice1 !readproc oef/steps.proc replytype1=units replyname1=Distance parcourue replygood1=$val17 km replytype2=units replyname2=Temps de parcours replygood2=$val20 h $val21 min replytype3=units replyname3=Vitesse moyenne replygood3=$val23 km/h choicename1= choicegood1=$val25 choicebad1=$val24 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() Monsieur Rapide part de Paris à $val6 h00 et roule d'abord $val29, puis $val30, et enfin $val31.

!if $m_step=1 $()Combien de kilomètres a-t-il parcouru (par excès à 0.01 près)? !endif $() !if $m_step>=2 $()Il a parcouru $val17 km. !endif $() !if $m_step=2 $()

Combien de temps son trajet a-t-il duré? !endif $() !if $m_step>=3 $()Son trajet a duré $val20 h $val21 mn. !endif $() !if $m_step=3 $()

Quelle est sa vitesse moyenne sur la totalité du parcours? !endif $() !if $m_step>=4 $()Sa vitesse moyenne sur la totalité du parcours est $val23 km/h. !endif $() !if $m_step=4 $()

Il a rendez-vous à $val7 h00. Sera-t-il à l'heure? !read oef/embed.phtml choice1 $() !endif $()

Consigne : mettre les unités :par exemple 3 km, 5 km/s , 1h 32min (laisser un espace). $() !exit :hint $() !if $m_step=1 $()On calcule la distance à partir du temps de parcours (en heures) et de la vitesse par la relation suivante : !insmath d=v*t $() !endif $() !if $m_step=2 $()Le fait qu'il soit ou non à l'heure dépend de son heure d'arrivée et donc de son temps de trajet !endif $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !if $m_step>=4 $m_choice1 notsametext $val25

Son temps de trajet est de $val20 h $val21 min. Il arrive donc à $val22 h $val21 min, ce qui est bien !if $val7>=$val6+$val19 $()avant !else $() après !endif $() son heure de rendez-vous. $() !endif !exit :test !exit :stat vsavelist=6,7,17,19,20,21,22,23,25,29,30,31 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/def/vitesse.def0000644000175000017500000000354010340570313026252 0ustar georgeskgeorgesk!set title=Calcul de vitesse !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=no precision=10000 ansorder=r,r varcnt=9 prevarcnt=8 postvarcnt=0 replycnt=2 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 1, 6 val6=$[rint(10*$(tmp0))] tmp0=!randint 1, 6 val7=$[rint(10*$(tmp0))] tmp0=!randint 1, 6 val8=$[rint($(tmp0)*5)] tmp0=!randint 1, 6 val9=$[rint($(tmp0)*5)] val10=$[floor(10*($val6*$val8+$val7*$val9)/($val6+$val7))/10] tmp0=!randint 1, 6 val11=$[rint(10*$(tmp0))] tmp0=!randint 1, 6 val12=$[rint($(tmp0)*5)] val13=$[floor(10*($val6*$val8+$val7*$val9+$val11*$val12)/($val6+$val7+$val11))/10] oefsteps=reply1 reply2 nextstep=!nosubst reply1 reply2 !readproc oef/steps.proc replytype1=units replyname1=Vitesse moyenne replygood1=$val10 replytype2=units replyname2=Vitesse dans la dernière partie replygood2=$val12 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Un motocycliste roule pendant $val6 mn à la vitesse de $val8 km/h et pendant $val7 mn à la vitesse de $val9 km/h. !if $m_step=1 $()Quelle est sa vitesse moyenne ? !endif $() !if $m_step=2 $()

Il roule ensuite pendant $val11 mn. Sa vitesse moyenne totale est de $val13 km/h. Quelle est sa vitesse moyenne dans la dernière partie? !endif $()

Les résultats seront toujours donnés avec un chiffre après la virgule et par défaut en km/h.On écrira l'unité. $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9,11,13 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/intro.phtml0000644000175000017500000000020610340570313025547 0ustar georgeskgeorgesk!header !read Exindex Este módulo reagrupa por el momento $exototal ejercicios sobre la velocidad. !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/Exindex0000644000175000017500000000033510340570313024700 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of vitesse,arret,trajet,vitesse12,vitesse2, !set titlelist=!char 1 to -2 of Calcul de vitesse,Distance d'arrêt,Trajet en voiture,Vitesse,Vitesse et compteur, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/Extitles0000644000175000017500000000017110340570313025073 0ustar georgeskgeorgeskarret:Distance d'arrêt trajet:Trajet en voiture vitesse:Calcul de vitesse vitesse12:Vitesse vitesse2:Vitesse et compteur wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/var.proc0000644000175000017500000000002710340570313025024 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/0000755000175000017500000000000010340570314024314 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/var.proc0000644000175000017500000000002710340570313025767 0ustar georgeskgeorgesk!changeto oef/var.proc wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/answer.phtml0000644000175000017500000000005410340570313026657 0ustar georgeskgeorgesk!changeto oef/$module_language/answer.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/intromenu.phtml0000644000175000017500000000005710340570313027403 0ustar georgeskgeorgesk!changeto oef/$module_language/intromenu.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/var.prep0000644000175000017500000000002710340570314025773 0ustar georgeskgeorgesk!changeto oef/var.prep wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/about.phtml0000644000175000017500000000005310340570314026472 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/present.phtml0000644000175000017500000000003410340570313027036 0ustar georgeskgeorgesk!changeto oef/present.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/noreply.phtml0000644000175000017500000000005510340570313027051 0ustar georgeskgeorgesk!changeto oef/$module_language/noreply.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/Main.phtml0000644000175000017500000000005210340570313026242 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/print.phtml0000644000175000017500000000005310340570313026513 0ustar georgeskgeorgesk!changeto oef/$module_language/print.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/var.def0000644000175000017500000000231310340570313025562 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/form.phtml0000644000175000017500000000005210340570313026321 0ustar georgeskgeorgesk!changeto oef/$module_language/form.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/mkindex0000755000175000017500000000003010340570313025671 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/names0000644000175000017500000000004510340570313025340 0ustar georgeskgeorgesk!changeto oef/$module_language/names wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/atext.dic0000644000175000017500000000004510340570313026120 0ustar georgeskgeorgeska: an: for: of: s: that: the: this: wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/msg.phtml0000644000175000017500000000005110340570313026143 0ustar georgeskgeorgesk!changeto oef/$module_language/msg.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/exo.init0000644000175000017500000000002710340570313025772 0ustar georgeskgeorgesk!changeto oef/exo.init wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/help.phtml0000644000175000017500000000005210340570314026307 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/proc/hint.phtml0000644000175000017500000000005210340570313026320 0ustar georgeskgeorgesk!changeto oef/$module_language/hint.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/about.phtml0000644000175000017500000000005310340570314025527 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/main.phtml0000644000175000017500000000005210340570313025337 0ustar georgeskgeorgesk!changeto oef/$module_language/Main.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/var.def0000644000175000017500000000231310340570313024617 0ustar georgeskgeorgesk intro_qcmpresent init intro_check init intro_presentsol init intro_expert init confparm[4] init exo init defaultlist init wims_intro_parm deny random init qnum init print any qcmlevel init scoredelay init prcnt deny delay1 deny delay2 deny starttime deny oef_version deny insdraw_filebase deny wims2oef_version deny deffile deny status deny reply_cnt deny varcnt deny postvarcnt deny ansorder deny replycnt deny choicecnt deny conditioncnt deny feedbackcnt deny embedcnt deny title deny question deny hint deny help deny solution deny author deny author_email deny format deny shufflelist deny qcmpresent deny qcmgood deny penalty deny presentgood deny precweight deny givehint deny presentsol deny score_should deny score_got deny score deny qcmpower deny scorepower deny leftrange deny rightrange deny oefstep deny oefsteps deny oefstepcnt deny nextstep deny dynsteps deny question_url deny vsave deny vsavelist deny replynames deny replygood[30] deny replytypes deny replyoptions deny choicenames deny choicegoods deny choicebads deny choicelists deny choiceitemss deny savedraw[16] deny fill_check deny fill_checked deny reply[30] reply choice[30] reply click_x reply click_y reply wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/mkindex0000755000175000017500000000003010340570313024726 0ustar georgeskgeorgesk#! /bin/sh src2def oef wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/INDEX0000644000175000017500000000164110340570313024144 0ustar georgeskgeorgesktitle=Ejercicios sobre la velocidad description=colección de ejercicios sobre la velocidad author=Bernadette PERRIN-RIOU address=xbpr@math.u-psud.fr copyright=© 2000- (GNU GPL) translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.28 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H2 H3 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=proportionality, vitesse, speed # Software packages required to run the module require= # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/0000755000175000017500000000000010340570313024137 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/vitesse2.oef0000644000175000017500000000252010340570313026375 0ustar georgeskgeorgesk\title{Vitesse et compteur} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{100} \real{v=randint(0..24)*5} \integer{hd=randint(0..10)} \integer{ha=randint(\hd+3..\hd+7)} \integer{t=\ha-\hd} \integer{d=\v*\t} \integer{kmd=randint(10000..10500)} \integer{kma=\kmd+\d} \steps{reply1 reply2 reply3} \statement{Un automobiliste part de son domicile à \hd h00, son compteur indique \kmd km. Il revient à \ha h00, son compteur marque \kma km.

\if {\step=1}{Quelle distance a-t-il parcourue ? } \if {\step=2}{Pendant combien de temps a-t-il roulé ?} \if {\step=3}{En effet, il a parcouru \d km et a roulé pendant \t h. Quelle a été sa vitesse moyenne horaire ?}

Consigne : les unités sont demandées.} \answer{La distance parcourue est de}{\d km} {type=units} \answer{Il a roulé pendant}{\t h} {type=units} \answer{Sa vitesse moyenne horaire est de}{\v km/h}{type=units} \hint{\if{\step=1}{La distance parcourue est la différence entre ce qu'indique son compteur à l'arrivée et ce qu'il indique au départ.} \if{\step=2}{Le temps de parcours est la différence entre l'heure d'arrivée et l'heure de départ. } \if{\step=3}{La vitesse moyenne horaire est égale à la distance parcourue divisée par le temps pendant lequel il a roulé}} wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/Makefile0000644000175000017500000000003010340570313025570 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/.htaccess0000644000175000017500000000001610340570313025732 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/arret.oef0000644000175000017500000000721210340570313025751 0ustar georgeskgeorgesk\title{Distance d'arrêt} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{100} \text{vitesse=shuffle(10,20,30,40,50,60,70,80,90,100,110,120,130,140)} \text{distfreinage=1.8,3.6,6.9,10.3,16.1,23.2,31.4,41.0,52.0,64.6,78.1,93.0,108.5,123.0} \integer{v1=item(1,\vitesse)} \integer{v2=item(2,\vitesse)} \integer{v3=item(3,\vitesse)} \integer{react=randint(1,2,3)} \integer{pourcent=randint(30,40,50)} \real{dr1=ceil(\v1*100/36*\react)/10} \real{dr2=ceil(\v2*100/36*\react)/10} \real{dr3=ceil(\v3*100/36*\react)/10} \text{distfr1=item(\v1/10,\distfreinage)} \text{distfr2=item(\v2/10,\distfreinage)} \text{distfr3=item(\v3/10,\distfreinage)} \real{distarret1=\dr1+\distfr1} \real{distarret2=\dr2+\distfr2} \real{distarret3=\dr3+\distfr3} \real{distfrm1=ceil(\distfr1*(100+\pourcent)/10)/10} \real{distfrm2=ceil(\distfr2*(100+\pourcent)/10)/10} \real{distfrm3=ceil(\distfr3*(100+\pourcent)/10)/10} \real{distarretm1=\dr1+\distfrm1} \real{distarretm2=\dr2+\distfrm2} \real{distarretm3=\dr3+\distfrm3} \statement{Le temps de réaction d'un conducteur est de \react \if{\react=1}{seconde}{secondes}. Sur route mouillée, les distances de freinage sont augmentées de \pourcent %. Remplir le tableau (on peut consulter l'aide). Les distances seront données avec une décimale par excès.

vitesse du véhicule en km/h\v1\v2\v3
distance parcourue pendant le temps de réaction \react s\embed{reply 1,6}\embed{reply 2,6}\embed{reply 3,6}
distance de freinage sur route sèche en m \distfr1\distfr2\distfr3
distance d'arrêt sur route sèche en m \embed{reply 4,6}\embed{reply 5,6}\embed{reply 6,6}
distance de freinage sur route mouillée en m\embed{reply 7,6}\embed{reply 8,6}\embed{reply 9,6}
distance d'arrêt sur route mouillée en m\embed{reply 10,6}\embed{reply 11,6}\embed{reply 12,6}
} \help{ Entre le moment où un conducteur voit un obstacle et celui où il commence à freiner, s'écoule un temps appelé temps de réaction . C'est la durée de transmission de l'influx nerveux entre l'oeil (organe récepteur) et la main qui serre le frein ou le pied qui appuie sur la pédale de frein (organe effectueur). La distance parcourue pendant le temps de réaction est fonction de la vitesse du véhicule. Le temps de réaction est plus ou moins long suivant les individus, leur état de fatigue. Sa durée moyenne est de 1 à 3 secondes.

Entre le moment où le conducteur actionne le frein et celui où le véhicule s'arrête, la distance parcourue est appelée distance de freinage . La distance de freinage dépend du véhicule (état du système de freinage), de la vitesse, de l'adhérence du véhicule sur la chaussée (chaussée glissante, mouillée, verglacée, sèche).

La distance d'arrêt est la somme de la distance parcourue pendant le temps de réaction et de la distance de freinage. } \answer{}{\dr1}{numeric} \answer{}{\dr2}{numeric} \answer{}{\dr3}{numeric} \answer{}{\distarret1}{numeric} \answer{}{\distarret2}{numeric} \answer{}{\distarret3}{numeric} \answer{}{\distfrm1}{numeric} \answer{}{\distfrm2}{numeric} \answer{}{\distfrm3}{numeric} \answer{}{\distarretm1}{numeric} \answer{}{\distarretm2}{numeric} \answer{}{\distarretm3}{numeric} wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/vitesse12.oef0000644000175000017500000000527310340570313026466 0ustar georgeskgeorgesk\title{Vitesse} \language{fr} \range{-5..5} \author{Karine MAURICE et Bernadette PERRIN-RIOU} \email{kreen.maurice@free.fr,bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{100} \integer{h=randint(7..11)} \integer{hr=randint(\h+1..\h+4)} \integer{t1=randint(5..58)} \integer{v1=randint(45..100)} \integer{t2=randint(5..58)} \integer{v2=randint(45..100)} \integer{t3=randint(5..58)} \integer{v3=randint(45..100)} \real{d1=ceil(\v1*\t1/60*100)/100} \real{d2=ceil(\v2*\t2/60*100)/100} \real{d3=ceil(\v3*\t3/60*100)/100} \real{d=ceil((\d1+\d2+\d3)*100)/100} \real{tmin=\t1+\t2+\t3} conversion de l'heure exprimée en minutes, en heure/minute \integer{t=floor(\tmin/60)} \integer{th=floor(\t)} \integer{tm=\tmin-60*\th} \integer{tha=\th+\h} \real{v=ceil((\d/(\tmin/60))*100)/100} \text{liste= oui,non} \text{rep=\hr>\h+\t?item(1,\liste):item(2,\liste)} \text{liste1=pendant \t1 minutes à une vitesse de \v1 km/h, pendant \t1 minutes durant \d1 km, pendant \d1 km à une vitesse de \v1 km/h} \text{liste2=pendant \t2 minutes à une vitesse de \v2 km/h, pendant \t2 minutes durant \d2 km, pendant \d2 km à une vitesse de \v2 km/h} \text{liste3=pendant \t3 minutes à une vitesse de \v3 km/h, pendant \t3 minutes durant \d3 km, pendant \d3 km à une vitesse de \v3 km/h} \text{portion1=randitem(\liste1)} \text{portion2=randitem(\liste2)} \text{portion3=randitem(\liste3)} \steps{reply1 reply2 reply3 choice1} \statement{ Monsieur Rapide part de Paris à \h h00 et roule d'abord \portion1, puis \portion2, et enfin \portion3.

\if{\step=1}{Combien de kilomètres a-t-il parcouru (par excès à 0.01 près)? } \if{\step>=2}{Il a parcouru \d km.} \if{\step=2}{

Combien de temps son trajet a-t-il duré?} \if{\step>=3}{Son trajet a duré \th h \tm mn.} \if{\step=3}{

Quelle est sa vitesse moyenne sur la totalité du parcours? } \if{\step>=4}{Sa vitesse moyenne sur la totalité du parcours est \v km/h.} \if{\step=4}{

Il a rendez-vous à \hr h00. Sera-t-il à l'heure? \embed{choice1}}

Consigne : mettre les unités :par exemple 3 km, 5 km/s , 1h 32min (laisser un espace). } \hint{ \if{\step=1}{On calcule la distance à partir du temps de parcours (en heures) et de la vitesse par la relation suivante : \(d=v*t)} \if{\step=2}{Le fait qu'il soit ou non à l'heure dépend de son heure d'arrivée et donc de son temps de trajet} } \answer{Distance parcourue}{\d km}{type=units} \answer{Temps de parcours}{\th h \tm min}{type=units} \answer{Vitesse moyenne}{\v km/h}{type=units} \choice{}{\rep}{\liste} \feedback{\step>=4 \choice1 notsametext \rep}{Son temps de trajet est de \th h \tm min. Il arrive donc à \tha h \tm min, ce qui est bien \if{\hr>=\h+\t}{avant}{après} son heure de rendez-vous. } wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/vitesse.oef0000644000175000017500000000204010340570313026310 0ustar georgeskgeorgesk\title{Calcul de vitesse} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{t1=10*randint(1..6)} \integer{t2=10*randint(1..6)} \integer{v1=randint(1..6)*5} \integer{v2=randint(1..6)*5} \real{vm=floor(10*(\t1*\v1+\t2*\v2)/(\t1+\t2))/10} \integer{t3=10*randint(1..6)} \integer{v3=randint(1..6)*5} \real{vm3=floor(10*(\t1*\v1+\t2*\v2+\t3*\v3)/(\t1+\t2+\t3))/10} \steps{reply1 reply2} \statement{Un motocycliste roule pendant \t1 mn à la vitesse de \v1 km/h et pendant \t2 mn à la vitesse de \v2 km/h. \if{\step=1}{Quelle est sa vitesse moyenne ? } \if{\step=2}{

Il roule ensuite pendant \t3 mn. Sa vitesse moyenne totale est de \vm3 km/h. Quelle est sa vitesse moyenne dans la dernière partie? }

Les résultats seront toujours donnés avec un chiffre après la virgule et par défaut en km/h.On écrira l'unité. } \answer{Vitesse moyenne}{\vm}{type=units} \answer{Vitesse dans la dernière partie}{\v3}{type=units} wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/src/trajet.oef0000644000175000017500000000641610340570313026132 0ustar georgeskgeorgesk\title{Trajet en voiture} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{no} \format{html} \precision{10000} \integer{temps1= randint(2..3)} \real{pause1=randint(1..2)/randint(2,4)} \real{temps2=randint(1..2)} \real{pause2=randint(1..2)/randint(2,4)} \real{temps3=randint(1..2)} \real{heure1=randint(7..9)} \real{heure2=\heure1+\temps1} \real{heure3=\heure2+\pause1} \real{heure4=\heure3+\temps2} \real{heure5=\heure4+\pause2} \real{heure6=\heure5+\temps3} \integer{v1= 10*randint(9..12)} \integer{v2= 10*randint(6..9)} \integer{v3=10*randint(9..12)} \real{d1=\v1*\temps1} \text{dessin= } \for{i=0 to 20}{ \integer{h=\i+\heure1} \integer{k=\i*100} \text{dessin=\dessin text black, \heure1+\i,-0.5,medium,\h h text black,\heure1-1.5,\i*100,medium,\k km }} \real{d2=\v1*\temps1+\v2*\temps2} \real{dfinal=\d2+\v3*\temps3} \real{tfinal=\temps1+\pause1+\temps2+\pause2+\temps3} \real{vfinal=ceil(\dfinal/\tfinal)} \real{maxy=\dfinal+2} \real{rep1=\pause1+\pause2} \text{choix=random(1,2)} \text{prem=randitem(première,seconde)} \real{rep2=p isin \prem? \temps1:\temps1+\pause1+\temps2} \text{rep3=p isin \prem? \d1:\d2} \real{rep4=\choix=1 ? \heure6:\v3} \text{hk=\choix=1 ? h:km/h} \real{rep5=\vfinal} \text{heuv=\choix=1? Heure:Vitesse} \steps{reply1,reply2, reply3 reply4 reply5} \statement{ Anne doit parcourir la distance de \dfinal km selon le graphique suivant :

\draw{500,250}{ xrange \heure1-2,\heure6+1 yrange -40,\maxy+1 \dessin hline \heure1,0, black vline \heure1,0, black parallel \heure1-0.1,0,\heure1+0.1,0,0,10,100,blue parallel \heure1-0.5,0,\heure1+0.5,0,0,100,10,black parallel \heure1,-1,\heure1,1,1,0,10,black parallel \heure1,-12,\heure1,12,1,0,20,black parallel \heure1,-5,\heure1,5,0.25,0,80,blue linewidth 2 lines red, \heure1,0,\heure2,\d1,\heure3,\d1,\heure4,\d2, \heure5,\d2, \heure5+\temps3, \dfinal arrow \heure5,\d2,\heure5+\temps3, \dfinal,10, red linewidth 1 dline \heure2,\d1,\heure2,0,black dline \heure3,\d1,\heure3,0,black dline \heure4,\d2,\heure4,0,black dline \heure5,\d2,\heure5,0,black dline \heure2,\d1,\heure1,\d1,black dline \heure4,\d2,\heure1,\d2,black }

\if{\step=1}{Lire le diagramme :

  • Combien de temps s'arrête-t-elle en cours de route ?\embed{reply 1,8}
  • Combien de temps après son départ fait-elle la \prem pause ? \embed{reply 2,8}
  • Combien de km a-t-elle fait alors ? \embed{reply 3,8}
} \if{\step=2}{ \if{\choix=1}{Elle a parcouru la fin du trajet (après la deuxième pause) à la vitesse moyenne horaire de \v3 km/h. A quelle heure arrive-t-elle ?}{Elle arrive à \heure6 heures. A quelle vitesse moyenne horaire a-t-elle parcouru la fin du trajet (après la deuxième pause) ?} \embed{reply 4, 8}} \if{\step=3}{Elle arrive donc à \heure6 h avec une vitesse moyenne horaire sur le dernier tronçon de \v3 km/h. Quelle est sa vitesse moyenne horaire sur l'ensemble du parcours ? \embed{reply 5,8}}

On arrondira les vitesses à 1 par excès (en km/h). On écrira les unités (les temps seront écrits en heures et en minutes par exemple 120 min ou 2h 30 min). } \answer{Temps de pause :}{\rep1 h}{type=units} \answer{\prem pause }{\rep2 h}{type =units} \answer{Nombre de km}{\rep3 km}{type=units} \answer{\heuv}{\rep4 \hk}{type=units} \answer{ }{\rep5 km/h}{type=units} wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/endhook.phtml0000644000175000017500000000010210340570313026036 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H3/algebra/oefspeed.es/help.phtml0000644000175000017500000000005210340570313025343 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/0000755000175000017500000000000010315753126023023 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/intro.phtml0000644000175000017500000000203010315754115025216 0ustar georgeskgeorgesk!header Un !pedia cuadrado mágico es una tabla de n filas y n columnas, rellenada con los números 1,2,...,n2, tal que las sumas de cada fila y cada columna son iguales.

!form new !default rows=2 !default cols=3 !default kind=sum Los $module_title son una variación de este principio: Usted está ante una tabla de !formselect rows from 2 to 8 filas y !formselect cols from 2 to 8 columnas, con un número asignado a cada fila y cada columna. Su objetivo es rellenar esta tabla usando los números 1,2,...,filas×columnas, de manera que !formselect kind list sum,product prompt la suma,el producto de cada fila y cada columna sea igual al correspondiente número dado. Y, por supuesto, ningún número puede ser usado más de una vez.

Debería resolver el problema en !default allow=120 !formselect allow list 30,60,90,120,180,240,300,420,600,900,1200,1800\ prompt 0.5,1,1.5,2,3,4,5,7,10,15,20,30 minutos.

!tail wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/var.init0000644000175000017500000000125007731304333024476 0ustar georgeskgeorgesk!bound cols between integer 2 and 8 default 3 !bound rows between integer 2 and 8 default 2 !bound kind within sum,product default sum !bound allow between 10 and 3000 wims_print_precision=16 tot=$[$cols*$rows] list=!shuffle $tot !if $kind=sum !distribute item +,0 into sign,beg !else !distribute item *,1 into sign,beg !endif !for i=1 to $rows rowsum$i=$beg !for j=1 to $cols t_=!item $j+$cols*($i-1) of $list rowsum$i=$[$(rowsum$i)$sign$t_] !next j !next i !for i=1 to $cols colsum$i=$beg !for j=1 to $rows t_=!item $i+$cols*($j-1) of $list colsum$i=$[$(colsum$i)$sign$t_] !next j !next i status=waiting badrep=0 wims_module_log=$cmd start=$wims_nowseconds wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/var.proc0000644000175000017500000000274207731304333024505 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. wims_print_precision=16 !if $cmd=reply and $status!=waiting error=double_reply !exit !endif now=$wims_nowseconds laps=$[$now-$start] remain=$[max(0,$allow-$laps)] !if $cmd=reply and $status=waiting !if $abandon=yes module_score=0 wims_module_log=Abandon status=done !exit !endif tot=$[$cols*$rows] !for i=1 to $tot !bound x$i between integer 1 and $tot default $ !next i got= !for i=1 to $tot !if $(x$i)=$empty error=empty_data !exit !endif !if $(x$i) iswordof $got e=$(x$i) error=double_number !advance badrep !exit !endif got=$got $(x$i) !next i !if $kind=sum !distribute item +,0 into sign,beg !else !distribute item *,1 into sign,beg !endif badcols= !for c=1 to $cols test=$beg !for r=1 to $rows test=$[$test$sign$(x$[$cols*($r-1)+$c])] !next r !ifval $test!=$(colsum$c) badcols=$badcols $c colgot$c=$test !endif !next c badrows= !for r=1 to $rows test=$beg !for c=1 to $cols test=$[$test$sign$(x$[$cols*($r-1)+$c])] !next c !ifval $test!=$(rowsum$r) badrows=$badrows $r rowgot$r=$test !endif !next r !if $badcols$badrows!=$empty error=bad_sum !advance badrep !exit !endif status=done ta=$[min(1,(($allow+5)/$laps)^2)] wims_print_precision=6 module_score=$[round(100*$ta/(1+$badrep))/10] wims_print_precision=16 wims_module_log=score $module_score/10 !endif wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/answer.phtml0000644000175000017500000000252710315754115025375 0ustar georgeskgeorgesk !if $abandon!=yes ¡Magnífico! Ha construido satisfactoriamente esta tabla. !if $laps>$allow (Pero ha sobrepasado algo el tiempo permitido.) !endif

!for i=1 to $rows !for j=1 to $cols !next j !next i !for j=1 to $cols !next j
   $(x$[$j+$cols*($i-1)])   $(rowsum$i)
$(colsum$j) !if $kind=sum suma !else producto !endif
!else Siento que haya abandonado. Aquí está la solución del problema (puede haber otras soluciones).

!for i=1 to $rows !for j=1 to $cols !set t_=!item $j+$cols*($i-1) of $list !next j !next i !for j=1 to $cols !next j
   $t_   $(rowsum$i)
$(colsum$j) !if $kind=sum suma !else producto !endif
!endif


Su puntuación: $module_score/10. wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/about.phtml0000644000175000017500000000001710315754115025200 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/.htaccess0000644000175000017500000000001607315124254024616 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/main.phtml0000644000175000017500000000146510315754115025022 0ustar georgeskgeorgesk!if $status=waiting $wims_html_header !headmenu

$module_title

!if $error!=$empty !read msg.phtml


!endif !read form.phtml

!href cmd=reply&abandon=yes Abandonar y ver una solución .  !href exo_Renew . !else !header !if $error!=$empty !read msg.phtml


!endif !! L'analyse de réponse !read answer.phtml

!href exo_Again . !if $worksheet=$empty !href exo_Intro . !endif !endif !tail !reset abandon wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/var.def0000644000175000017500000000022107315312477024274 0ustar georgeskgeorgeskstatus deny cols init rows init kind init allow init x[64] reply abandon reply rowsum[8] deny colsum[8] deny list deny start deny badrep deny wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/form.phtml0000644000175000017500000000233410315754115025035 0ustar georgeskgeorgesk!! Ce fichier présente la question à résoudre. !set n_sum=suma !set n_product=producto Rellene la siguiente tabla con los números 1,2,...,$[$cols*$rows], de manera que la/el $(n_$kind) de cada fila y de cada columna sea igual al correspondiente número de color azul. Cada número sólo puede ser usado una vez.

!form reply

!for i=1 to $rows !for j=1 to $cols !set t_=$[$j+$cols*($i-1)] !next j !for j=1 to $cols !next j
     $(rowsum$i) !if $i iswordof $badrows $(rowgot$i) !endif !next i
$(colsum$j) !if $j iswordof $badcols $(colgot$j) !endif !if $kind=sum suma !else producto !endif

Para obtener una puntuación máxima, debe resolver el problema en $allow segundos. Quedan segundos.
wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/INDEX0000644000175000017500000000106110315754115023612 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 2.50. # Do not edit by hand. title=Rectángulos mágicos description=juego basado en una variación de los cuadrados mágicos. language=es category=exercise, recreation domain=algebra level=E3,E4,E5,E6,H1,H2,H3,H4,H5,H6,U1,U2,U3,U4,G,R keywords=magic square, sum, product, table, matrix require= scoring=yes copyright=© 2001 (GNU GPL) author=Gang XIAO address=xiao@unice.fr version=1.00 wims_version=2.45 translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es wims-modules-es-3.64.orig/modules/H3/algebra/magrec.es/msg.phtml0000644000175000017500000000070510315754115024660 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if bad_sum=$error Cálculo incorrecto: las filas y columnas cuya/o !if $kind=sum suma !else producto !endif no encajan son mostradas en rojo. Por favor, corrija el error y pruebe de nuevo. !exit !endif !if $error=double_number El número $e ha sido usado varias veces. Por favor, corríjalo. !exit !endif !msg $error wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/0000755000175000017500000000000010771742577023317 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/move.proc0000777000175000017500000000000011263403036030706 2../spuzzle/move.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/intro.phtml0000644000175000017500000000145510315754115025506 0ustar georgeskgeorgesk!header $module_title es un juego de rompecabezas en línea, donde las piezas sólo pueden ser movidas horizontal o verticalmente, columna por columna o fila por fila. No obstante, está garantizado que la solución existe en todos los casos que le serán presentados.

Pocos conocimientos matemáticos son necesarios para jugar al $module_title. Por el contrario, puede echar un vistazo al ejercicio-juego !href module=U2/algebra/qpuzzle Q-Puzzle para ver cómo un rompecabezas puede requerir conceptos matemáticos bastante profundos.

!form new Elija el número de piezas: !read photindex !default level=2x3 !formselect level list $levels   !tail wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/var.init0000777000175000017500000000000011263403036030352 2../spuzzle/var.initustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/var.proc0000777000175000017500000000000011263403036030352 2../spuzzle/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/answer.phtml0000644000175000017500000000013310315754115025642 0ustar georgeskgeorgesk ¡Sí! Ha resuelto satisfactoriamente este puzzle $level después de $replycnt operaciones. wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/makepieces0000777000175000017500000000000011263403036031302 2../spuzzle/makepiecesustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/present.phtml0000644000175000017500000000323210315754115026026 0ustar georgeskgeorgesk !if $status=waiting Aquí tiene una foto cortada en $level piezas que han sido vueltas a reunir en desorden. ¿Puede recuperarla?

!next x !for y=0 to $ny-1 !for x=0 to $nx-1 !set t_=!item $x+$y*$nx+1 of $scramble !set x_=$[($t_-1)%$nx] !set y_=$[floor(($t_-1)/$nx)] !next x !next y !next x
!for x=0 to $nx-1 !href cmd=reply&job=up&k=$x Mover hacia arriba la columna
!href cmd=reply&job=left&k=$y Mover hacia la izquierda la fila !href cmd=reply&job=right&k=$y Mover hacia la derecha la fila
!for x=0 to $nx-1 !href cmd=reply&job=down&k=$x Mover hacia abajo la columna

Haga clic en las flechas para cambiar la fila o la columna de piezas en la dirección indicada.

!if $showorigin>0 Aquí está la foto original. Haga clic en ella para ocultarla.

!href cmd=reply&job=hide Foto original

!endif !else # status!=waiting

!for y=0 to $ny-1 !for x=0 to $nx-1 !set t_=!item $x+$y*$nx+1 of $scramble !set x_=$[($t_-1)%$nx] !set y_=$[floor(($t_-1)/$nx)] !next x !next y

!endif # status=waiting? wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/pieces0000777000175000017500000000000011263403036027606 2../spuzzle/piecesustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/main.phtml0000644000175000017500000000066410315754115025300 0ustar georgeskgeorgesk!header !read present.phtml !if $status=waiting


!if $error!=$empty !read msg.phtml


!endif !read form.phtml

!href cmd=renew&worksheet=$worksheet&$module_init_parm Cambiar el puzzle . !else !read answer.phtml

!href cmd=renew&worksheet=$worksheet&$module_init_parm Otro puzzle . !if $worksheet=$empty !href module=$module Cambiar el número de piezas . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/var.def0000777000175000017500000000000011263403036027740 2../spuzzle/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/form.phtml0000644000175000017500000000025410315754115025312 0ustar georgeskgeorgesk !if $showorigin<1 !href cmd=reply&job=show Mostrar la foto original .  !endif !if $replycnt>0 !href cmd=reply&job=restart Volver al punto de partida . !endif

wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/INDEX0000644000175000017500000000170110315754115024071 0ustar georgeskgeorgesktitle=Puzzle mudable # Commencez la description par minuscule! description=resolver un rompecabezas moviendo filas y columnas. author=XIAO Gang address=xiao@unice.fr copyright=© 1999 (GNU GPL) translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es version=1.00 # minimal version of wims server under which the module may run wims_version=2.08 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=recreation # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H1 H2 H3 H4 H5 H6 U1 U2 U3 U4 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=permutation, jigsaw, puzzle # Software packages required to run the module require= # Does the module have scoring system? scoring=no wims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/README0000777000175000017500000000000011263403036026760 2../spuzzle/READMEustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/photos0000777000175000017500000000000011263403036027716 2../spuzzle/photosustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/photindex0000777000175000017500000000000011263403036031072 2../spuzzle/photindexustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/spuzzle.es/msg.phtml0000644000175000017500000000110510315754115025131 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if empty_data=$error Ha enviado una respuesta incompleta. Por favor, complétela. !exit !endif !if bad_data=$error No he podido evaluar los valores que usted ha enviado. ¿Error de teclado? !exit !endif !if double_reply=$error Ha enviado ya una respuesta a este problema, la cual ha sido analizada y anotada. Las réplicas repetitivas son ignoradas. (¡No use el botón 'Recargar" de su navegador para enviar nuevas réplicas!)

!exit !endif $error... wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/0000755000175000017500000000000010315753126023704 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/0000755000175000017500000000000010771677126024455 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/typed3x4.def0000644000175000017500000001256210315754116026614 0ustar georgeskgeorgesk!set title=Tabla escrita 3x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=59 prevarcnt=58 postvarcnt=0 replycnt=16 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=1,0,1,1;1,0,0,0;0,1,1,0 tmp0=!shuffle 3 val7=$(tmp0) tmp0=!shuffle 4 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (3*4) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(3)] val14=$[rint(4)] val15=$[rint((3*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next val31=$[rint($val29/10-2)] oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=algexp replyname1=Box 1 replygood1=$(val38[1]) replytype2=algexp replyname2=Box 2 replygood2=$(val38[2]) replytype3=algexp replyname3=Box 3 replygood3=$(val38[3]) replytype4=algexp replyname4=Box 4 replygood4=$(val38[4]) replytype5=algexp replyname5=Box 5 replygood5=$(val38[5]) replytype6=algexp replyname6=Box 6 replygood6=$(val38[6]) replytype7=algexp replyname7=Box 7 replygood7=$(val38[7]) replytype8=algexp replyname8=Box 8 replygood8=$(val38[8]) replytype9=algexp replyname9=Box 9 replygood9=$(val38[9]) replytype10=algexp replyname10=Box 10 replygood10=$(val38[10]) replytype11=algexp replyname11=Box 11 replygood11=$(val38[11]) replytype12=algexp replyname12=Box 12 replygood12=$(val38[12]) replytype13=algexp replyname13=Box 13 replygood13=$(val38[13]) replytype14=algexp replyname14=Box 14 replygood14=$(val38[14]) replytype15=algexp replyname15=Box 15 replygood15=$(val38[15]) replytype16=algexp replyname16=Box 16 replygood16=$(val38[16]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla con $val28, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 4 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,28,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/partial2x4.def0000644000175000017500000001272310315754116027121 0ustar georgeskgeorgesk!set title=Tabla parcial 2x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=58 prevarcnt=57 postvarcnt=0 replycnt=16 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=1,0,1,0;0,1,0,0 tmp0=!shuffle 2 val7=$(tmp0) tmp0=!shuffle 4 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (2*4) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(2)] val14=$[rint(4)] val15=$[rint((2*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=\($(val38[1])) replytype2=dragfill replyname2=Box 2 replygood2=\($(val38[2])) replytype3=dragfill replyname3=Box 3 replygood3=\($(val38[3])) replytype4=dragfill replyname4=Box 4 replygood4=\($(val38[4])) replytype5=dragfill replyname5=Box 5 replygood5=\($(val38[5])) replytype6=dragfill replyname6=Box 6 replygood6=\($(val38[6])) replytype7=dragfill replyname7=Box 7 replygood7=\($(val38[7])) replytype8=dragfill replyname8=Box 8 replygood8=\($(val38[8])) replytype9=dragfill replyname9=Box 9 replygood9=\($(val38[9])) replytype10=dragfill replyname10=Box 10 replygood10=\($(val38[10])) replytype11=dragfill replyname11=Box 11 replygood11=\($(val38[11])) replytype12=dragfill replyname12=Box 12 replygood12=\($(val38[12])) replytype13=dragfill replyname13=Box 13 replygood13=\($(val38[13])) replytype14=dragfill replyname14=Box 14 replygood14=\($(val38[14])) replytype15=dragfill replyname15=Box 15 replygood15=\($(val38[15])) replytype16=dragfill replyname16=Box 16 replygood16=\($(val38[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 4 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table4x4.def0000644000175000017500000001625210315754116026557 0ustar georgeskgeorgesk!set title=Tabla aritmética 4x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=8 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(4)] val7=$[rint(4)] val8=$[rint((4*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 4 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 4 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val57[3]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val13 of row 3 equals \($(val34[3])) !ifval $(val57[4]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val13 of row 4 equals \($(val34[4])) !ifval $(val59[1]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest7=1 !else condtest7=0 !endif condname7=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest8=1 !else condtest8=0 !endif condname8=$val14 of column 4 equals \($(val37[4])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table2x3.def0000644000175000017500000001553210315754116026554 0ustar georgeskgeorgesk!set title=Tabla aritmética 2x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=5 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(2)] val7=$[rint(3)] val8=$[rint((2*3))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 3 $() !next $()
!for m_cc=1 to 3 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 3 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val59[1]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 3 equals \($(val37[3])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/typed2x2.def0000644000175000017500000001254210315754116026607 0ustar georgeskgeorgesk!set title=Tabla escrita 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=59 prevarcnt=58 postvarcnt=0 replycnt=16 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=1,0;0,0 tmp0=!shuffle 2 val7=$(tmp0) tmp0=!shuffle 2 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (2*2) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(2)] val14=$[rint(2)] val15=$[rint((2*2))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next val31=$[rint($val29/10-2)] oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=algexp replyname1=Box 1 replygood1=$(val38[1]) replytype2=algexp replyname2=Box 2 replygood2=$(val38[2]) replytype3=algexp replyname3=Box 3 replygood3=$(val38[3]) replytype4=algexp replyname4=Box 4 replygood4=$(val38[4]) replytype5=algexp replyname5=Box 5 replygood5=$(val38[5]) replytype6=algexp replyname6=Box 6 replygood6=$(val38[6]) replytype7=algexp replyname7=Box 7 replygood7=$(val38[7]) replytype8=algexp replyname8=Box 8 replygood8=$(val38[8]) replytype9=algexp replyname9=Box 9 replygood9=$(val38[9]) replytype10=algexp replyname10=Box 10 replygood10=$(val38[10]) replytype11=algexp replyname11=Box 11 replygood11=$(val38[11]) replytype12=algexp replyname12=Box 12 replygood12=$(val38[12]) replytype13=algexp replyname13=Box 13 replygood13=$(val38[13]) replytype14=algexp replyname14=Box 14 replygood14=$(val38[14]) replytype15=algexp replyname15=Box 15 replygood15=$(val38[15]) replytype16=algexp replyname16=Box 16 replygood16=$(val38[16]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla con $val28, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 2 $() !next $()
!for m_cc=1 to 2 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 2 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,28,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/partial2x2.def0000644000175000017500000001271310315754116027116 0ustar georgeskgeorgesk!set title=Tabla parcial 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=58 prevarcnt=57 postvarcnt=0 replycnt=16 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=1,0;0,0 tmp0=!shuffle 2 val7=$(tmp0) tmp0=!shuffle 2 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (2*2) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(2)] val14=$[rint(2)] val15=$[rint((2*2))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=\($(val38[1])) replytype2=dragfill replyname2=Box 2 replygood2=\($(val38[2])) replytype3=dragfill replyname3=Box 3 replygood3=\($(val38[3])) replytype4=dragfill replyname4=Box 4 replygood4=\($(val38[4])) replytype5=dragfill replyname5=Box 5 replygood5=\($(val38[5])) replytype6=dragfill replyname6=Box 6 replygood6=\($(val38[6])) replytype7=dragfill replyname7=Box 7 replygood7=\($(val38[7])) replytype8=dragfill replyname8=Box 8 replygood8=\($(val38[8])) replytype9=dragfill replyname9=Box 9 replygood9=\($(val38[9])) replytype10=dragfill replyname10=Box 10 replygood10=\($(val38[10])) replytype11=dragfill replyname11=Box 11 replygood11=\($(val38[11])) replytype12=dragfill replyname12=Box 12 replygood12=\($(val38[12])) replytype13=dragfill replyname13=Box 13 replygood13=\($(val38[13])) replytype14=dragfill replyname14=Box 14 replygood14=\($(val38[14])) replytype15=dragfill replyname15=Box 15 replygood15=\($(val38[15])) replytype16=dragfill replyname16=Box 16 replygood16=\($(val38[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 2 $() !next $()
!for m_cc=1 to 2 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 2 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/typed2x4.def0000644000175000017500000001255210315754116026612 0ustar georgeskgeorgesk!set title=Tabla escrita 2x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=59 prevarcnt=58 postvarcnt=0 replycnt=16 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=1,0,1,0;0,1,0,0 tmp0=!shuffle 2 val7=$(tmp0) tmp0=!shuffle 4 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (2*4) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(2)] val14=$[rint(4)] val15=$[rint((2*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next val31=$[rint($val29/10-2)] oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=algexp replyname1=Box 1 replygood1=$(val38[1]) replytype2=algexp replyname2=Box 2 replygood2=$(val38[2]) replytype3=algexp replyname3=Box 3 replygood3=$(val38[3]) replytype4=algexp replyname4=Box 4 replygood4=$(val38[4]) replytype5=algexp replyname5=Box 5 replygood5=$(val38[5]) replytype6=algexp replyname6=Box 6 replygood6=$(val38[6]) replytype7=algexp replyname7=Box 7 replygood7=$(val38[7]) replytype8=algexp replyname8=Box 8 replygood8=$(val38[8]) replytype9=algexp replyname9=Box 9 replygood9=$(val38[9]) replytype10=algexp replyname10=Box 10 replygood10=$(val38[10]) replytype11=algexp replyname11=Box 11 replygood11=$(val38[11]) replytype12=algexp replyname12=Box 12 replygood12=$(val38[12]) replytype13=algexp replyname13=Box 13 replygood13=$(val38[13]) replytype14=algexp replyname14=Box 14 replygood14=$(val38[14]) replytype15=algexp replyname15=Box 15 replygood15=$(val38[15]) replytype16=algexp replyname16=Box 16 replygood16=$(val38[16]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla con $val28, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 4 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,28,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/typed3x3.def0000644000175000017500000001255410315754116026614 0ustar georgeskgeorgesk!set title=Tabla escrita 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=59 prevarcnt=58 postvarcnt=0 replycnt=16 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=1,1,0;1,0,0;0,0,1 tmp0=!shuffle 3 val7=$(tmp0) tmp0=!shuffle 3 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (3*3) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(3)] val14=$[rint(3)] val15=$[rint((3*3))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next val31=$[rint($val29/10-2)] oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=algexp replyname1=Box 1 replygood1=$(val38[1]) replytype2=algexp replyname2=Box 2 replygood2=$(val38[2]) replytype3=algexp replyname3=Box 3 replygood3=$(val38[3]) replytype4=algexp replyname4=Box 4 replygood4=$(val38[4]) replytype5=algexp replyname5=Box 5 replygood5=$(val38[5]) replytype6=algexp replyname6=Box 6 replygood6=$(val38[6]) replytype7=algexp replyname7=Box 7 replygood7=$(val38[7]) replytype8=algexp replyname8=Box 8 replygood8=$(val38[8]) replytype9=algexp replyname9=Box 9 replygood9=$(val38[9]) replytype10=algexp replyname10=Box 10 replygood10=$(val38[10]) replytype11=algexp replyname11=Box 11 replygood11=$(val38[11]) replytype12=algexp replyname12=Box 12 replygood12=$(val38[12]) replytype13=algexp replyname13=Box 13 replygood13=$(val38[13]) replytype14=algexp replyname14=Box 14 replygood14=$(val38[14]) replytype15=algexp replyname15=Box 15 replygood15=$(val38[15]) replytype16=algexp replyname16=Box 16 replygood16=$(val38[16]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla con $val28, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 3 $() !next $()
!for m_cc=1 to 3 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 3 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,28,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/partial3x3.def0000644000175000017500000001272510315754116027123 0ustar georgeskgeorgesk!set title=Tabla parcial 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=58 prevarcnt=57 postvarcnt=0 replycnt=16 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=1,1,0;1,0,0;0,0,1 tmp0=!shuffle 3 val7=$(tmp0) tmp0=!shuffle 3 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (3*3) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(3)] val14=$[rint(3)] val15=$[rint((3*3))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=\($(val38[1])) replytype2=dragfill replyname2=Box 2 replygood2=\($(val38[2])) replytype3=dragfill replyname3=Box 3 replygood3=\($(val38[3])) replytype4=dragfill replyname4=Box 4 replygood4=\($(val38[4])) replytype5=dragfill replyname5=Box 5 replygood5=\($(val38[5])) replytype6=dragfill replyname6=Box 6 replygood6=\($(val38[6])) replytype7=dragfill replyname7=Box 7 replygood7=\($(val38[7])) replytype8=dragfill replyname8=Box 8 replygood8=\($(val38[8])) replytype9=dragfill replyname9=Box 9 replygood9=\($(val38[9])) replytype10=dragfill replyname10=Box 10 replygood10=\($(val38[10])) replytype11=dragfill replyname11=Box 11 replygood11=\($(val38[11])) replytype12=dragfill replyname12=Box 12 replygood12=\($(val38[12])) replytype13=dragfill replyname13=Box 13 replygood13=\($(val38[13])) replytype14=dragfill replyname14=Box 14 replygood14=\($(val38[14])) replytype15=dragfill replyname15=Box 15 replygood15=\($(val38[15])) replytype16=dragfill replyname16=Box 16 replygood16=\($(val38[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 3 $() !next $()
!for m_cc=1 to 3 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 3 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table2x5.def0000644000175000017500000001607610315754116026562 0ustar georgeskgeorgesk!set title=Tabla aritmética 2x5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=7 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(2)] val7=$[rint(5)] val8=$[rint((2*5))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 5 $() !next $()
!for m_cc=1 to 5 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 5 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val59[1]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 4 equals \($(val37[4])) !ifval $(val59[5]) = 0 condtest7=1 !else condtest7=0 !endif condname7=$val14 of column 5 equals \($(val37[5])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/.htaccess0000644000175000017500000000001606634516636026251 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table2x2.def0000644000175000017500000001535010315754116026551 0ustar georgeskgeorgesk!set title=Tabla aritmética 2x2 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=4 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(2)] val7=$[rint(2)] val8=$[rint((2*2))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 2 $() !next $()
!for m_cc=1 to 2 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 2 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val59[1]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 2 equals \($(val37[2])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table2x7.def0000644000175000017500000001644210315754116026561 0ustar georgeskgeorgesk!set title=Tabla aritmética 2x7 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=9 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(2)] val7=$[rint(7)] val8=$[rint((2*7))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 7 $() !next $()
!for m_cc=1 to 7 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 7 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val59[1]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 4 equals \($(val37[4])) !ifval $(val59[5]) = 0 condtest7=1 !else condtest7=0 !endif condname7=$val14 of column 5 equals \($(val37[5])) !ifval $(val59[6]) = 0 condtest8=1 !else condtest8=0 !endif condname8=$val14 of column 6 equals \($(val37[6])) !ifval $(val59[7]) = 0 condtest9=1 !else condtest9=0 !endif condname9=$val14 of column 7 equals \($(val37[7])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table2x4.def0000644000175000017500000001571410315754116026557 0ustar georgeskgeorgesk!set title=Tabla aritmética 2x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=6 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(2)] val7=$[rint(4)] val8=$[rint((2*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 4 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val59[1]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 4 equals \($(val37[4])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table3x4.def0000644000175000017500000001607310315754116026557 0ustar georgeskgeorgesk!set title=Tabla aritmética 3x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=7 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=$[rint(4)] val8=$[rint((3*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 4 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val57[3]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val13 of row 3 equals \($(val34[3])) !ifval $(val59[1]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest7=1 !else condtest7=0 !endif condname7=$val14 of column 4 equals \($(val37[4])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/partial3x4.def0000644000175000017500000001273310315754116027123 0ustar georgeskgeorgesk!set title=Tabla parcial 3x4 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=58 prevarcnt=57 postvarcnt=0 replycnt=16 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=1,0,1,1;1,0,0,0;0,1,1,0 tmp0=!shuffle 3 val7=$(tmp0) tmp0=!shuffle 4 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (3*4) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(3)] val14=$[rint(4)] val15=$[rint((3*4))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=\($(val38[1])) replytype2=dragfill replyname2=Box 2 replygood2=\($(val38[2])) replytype3=dragfill replyname3=Box 3 replygood3=\($(val38[3])) replytype4=dragfill replyname4=Box 4 replygood4=\($(val38[4])) replytype5=dragfill replyname5=Box 5 replygood5=\($(val38[5])) replytype6=dragfill replyname6=Box 6 replygood6=\($(val38[6])) replytype7=dragfill replyname7=Box 7 replygood7=\($(val38[7])) replytype8=dragfill replyname8=Box 8 replygood8=\($(val38[8])) replytype9=dragfill replyname9=Box 9 replygood9=\($(val38[9])) replytype10=dragfill replyname10=Box 10 replygood10=\($(val38[10])) replytype11=dragfill replyname11=Box 11 replygood11=\($(val38[11])) replytype12=dragfill replyname12=Box 12 replygood12=\($(val38[12])) replytype13=dragfill replyname13=Box 13 replygood13=\($(val38[13])) replytype14=dragfill replyname14=Box 14 replygood14=\($(val38[14])) replytype15=dragfill replyname15=Box 15 replygood15=\($(val38[15])) replytype16=dragfill replyname16=Box 16 replygood16=\($(val38[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 4 $() !next $()
!for m_cc=1 to 4 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 4 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/typed2x3.def0000644000175000017500000001254610315754116026614 0ustar georgeskgeorgesk!set title=Tabla escrita 2x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=59 prevarcnt=58 postvarcnt=0 replycnt=16 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=1,0,0;0,1,0 tmp0=!shuffle 2 val7=$(tmp0) tmp0=!shuffle 3 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (2*3) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(2)] val14=$[rint(3)] val15=$[rint((2*3))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next val31=$[rint($val29/10-2)] oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=algexp replyname1=Box 1 replygood1=$(val38[1]) replytype2=algexp replyname2=Box 2 replygood2=$(val38[2]) replytype3=algexp replyname3=Box 3 replygood3=$(val38[3]) replytype4=algexp replyname4=Box 4 replygood4=$(val38[4]) replytype5=algexp replyname5=Box 5 replygood5=$(val38[5]) replytype6=algexp replyname6=Box 6 replygood6=$(val38[6]) replytype7=algexp replyname7=Box 7 replygood7=$(val38[7]) replytype8=algexp replyname8=Box 8 replygood8=$(val38[8]) replytype9=algexp replyname9=Box 9 replygood9=$(val38[9]) replytype10=algexp replyname10=Box 10 replygood10=$(val38[10]) replytype11=algexp replyname11=Box 11 replygood11=$(val38[11]) replytype12=algexp replyname12=Box 12 replygood12=$(val38[12]) replytype13=algexp replyname13=Box 13 replygood13=$(val38[13]) replytype14=algexp replyname14=Box 14 replygood14=$(val38[14]) replytype15=algexp replyname15=Box 15 replygood15=$(val38[15]) replytype16=algexp replyname16=Box 16 replygood16=$(val38[16]) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla con $val28, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 3 $() !next $()
!for m_cc=1 to 3 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 3 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,28,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table2x6.def0000644000175000017500000001626010315754116026556 0ustar georgeskgeorgesk!set title=Tabla aritmética 2x6 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=8 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(2)] val7=$[rint(6)] val8=$[rint((2*6))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 6 $() !next $()
!for m_cc=1 to 6 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 6 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val59[1]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 4 equals \($(val37[4])) !ifval $(val59[5]) = 0 condtest7=1 !else condtest7=0 !endif condname7=$val14 of column 5 equals \($(val37[5])) !ifval $(val59[6]) = 0 condtest8=1 !else condtest8=0 !endif condname8=$val14 of column 6 equals \($(val37[6])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table3x5.def0000644000175000017500000001625510315754116026562 0ustar georgeskgeorgesk!set title=Tabla aritmética 3x5 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=8 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=$[rint(5)] val8=$[rint((3*5))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 5 $() !next $()
!for m_cc=1 to 5 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 5 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val57[3]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val13 of row 3 equals \($(val34[3])) !ifval $(val59[1]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 3 equals \($(val37[3])) !ifval $(val59[4]) = 0 condtest7=1 !else condtest7=0 !endif condname7=$val14 of column 4 equals \($(val37[4])) !ifval $(val59[5]) = 0 condtest8=1 !else condtest8=0 !endif condname8=$val14 of column 5 equals \($(val37[5])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/table3x3.def0000644000175000017500000001571110315754116026554 0ustar georgeskgeorgesk!set title=Tabla aritmética 3x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=66 prevarcnt=50 postvarcnt=15 replycnt=16 choicecnt=0 conditioncnt=6 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=$[rint(3)] val8=$[rint((3*3))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val9=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val10=$(tmp0) tmp0=!item $val9 of +,* val11=$(tmp0) tmp0=!item $val10 of +,* val12=$(tmp0) tmp0=!item $val9 of Suma,Producto val13=$(tmp0) tmp0=!item $val10 of Suma,Producto val14=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val15=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val16=$(tmp0) tmp0=!randitem 2,3,5 val17=sqrt($(tmp0)) tmp0=!record $val2 of src/data val18=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val19=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val20=$(tmp0) val21=$(val20[1]) val22=$(val20[2]) val23=$(val20[3]) !ifval $val22 = val22= 60 !endif !ifval $val23= val23= 35 !endif val24=$val22 $val23 tmp=!translate internal $ $ to ; in $val18 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val18=$(tmp1) tmp0=!itemcnt $val18 val25=$[rint($(tmp0))] !if $val25<=3 val26=$(val18[1]) val27=$(val18[2]) val28=$(val18[3]) val29=computed !if $val28<0 tmp0=!values $val28*x,-($val28)*x for x=$val26 to $val27 val30=$(tmp0) !else tmp0=!values $val28*x for x=$val26 to $val27 val30=$(tmp0) !endif tmp0=!shuffle $val30 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !else val29=listed tmp0=!shuffle $val18 tmp1=!item 1 to $val8 of $(tmp0) val31=$(tmp1) !endif tmp0=!mathsubst f=$(val16[1]) in $val31 val31=$(tmp0) tmp0=!mathsubst g=$(val16[2]) in $val31 val31=$(tmp0) tmp0=!mathsubst rt=$val17 in $val31 val31=$(tmp0) val32= val33=($(val31[1])),($(val31[2])),($(val31[3])),($(val31[4])), ($(val31[5])),($(val31[6])),($(val31[7])),($(val31[8])), ($(val31[9])),($(val31[10])),($(val31[11])),($(val31[12])), ($(val31[13])),($(val31[14])),($(val31[15])),($(val31[16])) val34= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val33[($val35-1)*$val7+1..$val35*$val7]) val36=$(tmp0) t_=!replace internal \( by ( in expand($val36) tmp0=!exec maxima $t_ val36=$(tmp0) tmp0=!append item $val36 to $val34 val34=$(tmp0) !next val37= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val33[$(tmp0)]) val28=$(tmp1) t_=!replace internal \( by ( in expand($val28) tmp0=!exec maxima $t_ val28=$(tmp0) tmp0=!append item $val28 to $val37 val37=$(tmp0) !next tmp0=!item 1 to $val8 of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val39=$(tmp0) oefsteps=$val39 nextstep=!nosubst $val39 !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=?analyze 40;\($(val31[1])) replytype2=dragfill replyname2=Box 2 replygood2=?analyze 41;\($(val31[2])) replytype3=dragfill replyname3=Box 3 replygood3=?analyze 42;\($(val31[3])) replytype4=dragfill replyname4=Box 4 replygood4=?analyze 43;\($(val31[4])) replytype5=dragfill replyname5=Box 5 replygood5=?analyze 44;\($(val31[5])) replytype6=dragfill replyname6=Box 6 replygood6=?analyze 45;\($(val31[6])) replytype7=dragfill replyname7=Box 7 replygood7=?analyze 46;\($(val31[7])) replytype8=dragfill replyname8=Box 8 replygood8=?analyze 47;\($(val31[8])) replytype9=dragfill replyname9=Box 9 replygood9=?analyze 48;\($(val31[9])) replytype10=dragfill replyname10=Box 10 replygood10=?analyze 49;\($(val31[10])) replytype11=dragfill replyname11=Box 11 replygood11=?analyze 50;\($(val31[11])) replytype12=dragfill replyname12=Box 12 replygood12=?analyze 51;\($(val31[12])) replytype13=dragfill replyname13=Box 13 replygood13=?analyze 52;\($(val31[13])) replytype14=dragfill replyname14=Box 14 replygood14=?analyze 53;\($(val31[14])) replytype15=dragfill replyname15=Box 15 replygood15=?analyze 54;\($(val31[15])) replytype16=dragfill replyname16=Box 16 replygood16=?analyze 55;\($(val31[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val19.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 3 $() !next $() !next $() !for m_cc=1 to 3 $() !next $()
!for m_cc=1 to 3 $()columna $m_cc$val13
fila $m_rr !for m_cc=1 to 3 $() !read oef/embed.phtml $(val39[($m_rr-1)*$val7+$m_cc]),$val24 $() !insmath $(val34[$m_rr]) $()
$val14 !insmath $(val37[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!replace internal \ by $val32 in $val40,$val41,$val42,$val43,$val44,$val45,$val46,$val47,$val48,$val49,$val50,$val51,$val52,$val53,$val54,$val55 val56=$(tmp0) val57= !for val35 =1 to $val6 tmp0=!replace , by $val11 in $(val56[($val35-1)*$val7+1..$val35*$val7]) val41=$(tmp0) !if $val29 issametext computed val58=$[$(val34[$val35])-($val41)] !else t_=!replace internal \( by ( in expand(($(val34[$val35]))-($val41)) tmp0=!exec maxima $t_ val58=$(tmp0) !endif !ifval $val58 issametext val58=NaN !endif tmp0=!append item $val58 to $val57 val57=$(tmp0) !next val59= !for val38 =1 to $val7 tmp0=!values $val7*(x-1)+$val38 for x=1 to $val6 tmp1=!replace , by $val12 in $(val56[$(tmp0)]) val60=$(tmp1) !if $val29 issametext computed val61=$[$(val37[$val38])-($val60)] !else t_=!replace internal \( by ( in expand(($(val37[$val38]))-($val60)) tmp0=!exec maxima $t_ val61=$(tmp0) !endif !ifval $val61 issametext val61=NaN !endif tmp0=!append item $val61 to $val59 val59=$(tmp0) !next !exit :feedback !exit :test !ifval $(val57[1]) = 0 condtest1=1 !else condtest1=0 !endif condname1=$val13 of row 1 equals \($(val34[1])) !ifval $(val57[2]) = 0 condtest2=1 !else condtest2=0 !endif condname2=$val13 of row 2 equals \($(val34[2])) !ifval $(val57[3]) = 0 condtest3=1 !else condtest3=0 !endif condname3=$val13 of row 3 equals \($(val34[3])) !ifval $(val59[1]) = 0 condtest4=1 !else condtest4=0 !endif condname4=$val14 of column 1 equals \($(val37[1])) !ifval $(val59[2]) = 0 condtest5=1 !else condtest5=0 !endif condname5=$val14 of column 2 equals \($(val37[2])) !ifval $(val59[3]) = 0 condtest6=1 !else condtest6=0 !endif condname6=$val14 of column 3 equals \($(val37[3])) !exit :stat vsavelist=6,7,11,12,13,14,19,24,29,32,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/def/partial2x3.def0000644000175000017500000001271710315754116027123 0ustar georgeskgeorgesk!set title=Tabla parcial 2x3 !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=es author=XIAO, Gang email=xiao@unice.fr ansorder=r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r varcnt=58 prevarcnt=57 postvarcnt=0 replycnt=16 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=1,0,0;0,1,0 tmp0=!shuffle 2 val7=$(tmp0) tmp0=!shuffle 3 val8=$(tmp0) tmp0=!lines2rows $(val6[$val7;$val8]) val6=$(tmp0) tmp0=!replace ; by , in $val6 val9=$(tmp0) tmp0=!positionof item 0 in $val9 val10=$(tmp0) tmp0=!positionof item 1 in $val9 val11=$(tmp0) tmp0=!item 1 to (2*3) of r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16 val12=$(tmp0) val13=$[rint(2)] val14=$[rint(3)] val15=$[rint((2*3))] !ifval $val2= val2=$[rint(1)] !endif !ifval $val3= val3=$[rint(1)] !endif tmp0=!item $val3 of 1,1,2,2 val16=$(tmp0) tmp0=!item $val3 of 1,2,1,2 val17=$(tmp0) tmp0=!item $val16 of +,* val18=$(tmp0) tmp0=!item $val17 of +,* val19=$(tmp0) tmp0=!item $val16 of Suma,Producto val20=$(tmp0) tmp0=!item $val17 of Suma,Producto val21=$(tmp0) tmp0=!item $val3 of sum, sum or product, sum or product, product val22=$(tmp0) tmp0=!shuffle a,b,c,d,r,s,t,x,y,z val23=$(tmp0) tmp0=!randitem 2,3,5 val24=sqrt($(tmp0)) tmp0=!record $val2 of src/data val25=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val26=$(tmp0) tmp=!translate internal $ $ to ; in $val25 tmp=!row 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val27=$(tmp0) val28=$(val27[1]) val29=$(val27[2]) val30=$(val27[3]) !ifval $val29 = val29= 60 !endif !ifval $val30= val30= 35 !endif val31=$val29 $val30 tmp=!translate internal $ $ to ; in $val25 tmp=!row 3 to -1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp tmp1=!rows2lines $(tmp0) val25=$(tmp1) tmp0=!itemcnt $val25 val32=$[rint($(tmp0))] !if $val32<=3 val33=$(val25[1]) val34=$(val25[2]) val35=$(val25[3]) val36=computed !if $val35<0 tmp0=!values $val35*x,-($val35)*x for x=$val33 to $val34 val37=$(tmp0) !else tmp0=!values $val35*x for x=$val33 to $val34 val37=$(tmp0) !endif tmp0=!shuffle $val37 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !else val36=listed tmp0=!shuffle $val25 tmp1=!item 1 to $val15 of $(tmp0) val38=$(tmp1) !endif tmp0=!mathsubst f=$(val23[1]) in $val38 val38=$(tmp0) tmp0=!mathsubst g=$(val23[2]) in $val38 val38=$(tmp0) tmp0=!mathsubst rt=$val24 in $val38 val38=$(tmp0) val39= val40=($(val38[1])),($(val38[2])),($(val38[3])),($(val38[4])), ($(val38[5])),($(val38[6])),($(val38[7])),($(val38[8])), ($(val38[9])),($(val38[10])),($(val38[11])),($(val38[12])), ($(val38[13])),($(val38[14])),($(val38[15])),($(val38[16])) val41= !for val42 =1 to $val13 tmp0=!replace , by $val18 in $(val40[($val42-1)*$val14+1..$val42*$val14]) val43=$(tmp0) t_=!replace internal \( by ( in expand($val43) tmp0=!exec maxima $t_ val43=$(tmp0) tmp0=!append item $val43 to $val41 val41=$(tmp0) !next val44= !for val45 =1 to $val14 tmp0=!values $val14*(x-1)+$val45 for x=1 to $val13 tmp1=!replace , by $val19 in $(val40[$(tmp0)]) val35=$(tmp1) t_=!replace internal \( by ( in expand($val35) tmp0=!exec maxima $t_ val35=$(tmp0) tmp0=!append item $val35 to $val44 val44=$(tmp0) !next oefsteps=$(val12[$val10]) nextstep=!nosubst $(val12[$val10]) !readproc oef/steps.proc replytype1=dragfill replyname1=Box 1 replygood1=\($(val38[1])) replytype2=dragfill replyname2=Box 2 replygood2=\($(val38[2])) replytype3=dragfill replyname3=Box 3 replygood3=\($(val38[3])) replytype4=dragfill replyname4=Box 4 replygood4=\($(val38[4])) replytype5=dragfill replyname5=Box 5 replygood5=\($(val38[5])) replytype6=dragfill replyname6=Box 6 replygood6=\($(val38[6])) replytype7=dragfill replyname7=Box 7 replygood7=\($(val38[7])) replytype8=dragfill replyname8=Box 8 replygood8=\($(val38[8])) replytype9=dragfill replyname9=Box 9 replygood9=\($(val38[9])) replytype10=dragfill replyname10=Box 10 replygood10=\($(val38[10])) replytype11=dragfill replyname11=Box 11 replygood11=\($(val38[11])) replytype12=dragfill replyname12=Box 12 replygood12=\($(val38[12])) replytype13=dragfill replyname13=Box 13 replygood13=\($(val38[13])) replytype14=dragfill replyname14=Box 14 replygood14=\($(val38[14])) replytype15=dragfill replyname15=Box 15 replygood15=\($(val38[15])) replytype16=dragfill replyname16=Box 16 replygood16=\($(val38[16])) question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val26.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

!next $() !for m_rr=1 to 2 $() !next $() !next $() !for m_cc=1 to 3 $() !next $()
!for m_cc=1 to 3 $()columna $m_cc$val20
fila $m_rr !for m_cc=1 to 3 $() !if $(val9[($m_rr-1)*$val14+$m_cc])=1 $() !insmath $(val38[($m_rr-1)*$val14+$m_cc]) $() !else $() !read oef/embed.phtml $(val12[($m_rr-1)*$val14+$m_cc]),$val31 $() !endif $() !insmath $(val41[$m_rr]) $()
$val21 !insmath $(val44[$m_cc]) $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,12,14,20,21,26,31,38,41,44 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/intro.phtml0000644000175000017500000000127710315754116026114 0ustar georgeskgeorgesk!header !read Exindex Se puede considerar como un ejercicio o un juego, pero es una importante utilidad de entrenamiento para operaciones aritméticas. Cuando usted intenta situar los números en la tabla, está obligado a calcular mentalmente sus sumas y productos con rapidez.

Con diferentes configuraciones, los ejercicios pueden acomodarse a estudiantes desde Primaria (números positivos o negativos, decimales) hasta Bachillerato, o incluso más allá (raíces, números complejos). Y las tablas de gran tamaño (3x5 o 4x4) pueden llegar a ser muy desafiantes.

No olvide el caso "Todo productos", el cual ayuda a entender el concepto de factorización.

¡Ánimo! !read oef/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/var.init0000644000175000017500000000016510315754116025363 0ustar georgeskgeorgesk n=!recordcnt src/data !bound confparm1 between integer 1 and $n default 1 !bound confparm2 within 1,2,3,4 default 1 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/Exindex0000644000175000017500000000125010315754115025230 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of table2x2,table2x3,table2x4,table2x5,table2x6,table2x7,table3x3,table3x4,table3x5,table4x4,typed2x2,typed2x3,typed2x4,typed3x3,typed3x4,partial2x2,partial2x3,partial2x4,partial3x3,partial3x4, !set titlelist=!char 1 to -2 of Tabla aritmética 2x2,Tabla aritmética 2x3,Tabla aritmética 2x4,Tabla aritmética 2x5,Tabla aritmética 2x6,Tabla aritmética 2x7,Tabla aritmética 3x3,Tabla aritmética 3x4,Tabla aritmética 3x5,Tabla aritmética 4x4,Tabla escrita 2x2,Tabla escrita 2x3,Tabla escrita 2x4,Tabla escrita 3x3,Tabla escrita 3x4,Tabla parcial 2x2,Tabla parcial 2x3,Tabla parcial 2x4,Tabla parcial 3x3,Tabla parcial 3x4, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/Extitles0000644000175000017500000000110410315754115025423 0ustar georgeskgeorgeskpartial2x2:Tabla parcial 2x2 partial2x3:Tabla parcial 2x3 partial2x4:Tabla parcial 2x4 partial3x3:Tabla parcial 3x3 partial3x4:Tabla parcial 3x4 table2x2:Tabla aritmética 2x2 table2x3:Tabla aritmética 2x3 table2x4:Tabla aritmética 2x4 table2x5:Tabla aritmética 2x5 table2x6:Tabla aritmética 2x6 table2x7:Tabla aritmética 2x7 table3x3:Tabla aritmética 3x3 table3x4:Tabla aritmética 3x4 table3x5:Tabla aritmética 3x5 table4x4:Tabla aritmética 4x4 typed2x2:Tabla escrita 2x2 typed2x3:Tabla escrita 2x3 typed2x4:Tabla escrita 2x4 typed3x3:Tabla escrita 3x3 typed3x4:Tabla escrita 3x4 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/var.proc0000644000175000017500000000026710315754116025366 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 class_importation=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/images/0000755000175000017500000000000006756175173025167 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/about.phtml0000644000175000017500000000005310315754116026062 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/main.phtml0000644000175000017500000000003110315754115025667 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/introhook.phtml0000644000175000017500000000065510315754115026773 0ustar georgeskgeorgesk!set n=!recordcnt src/data !reset objlist !for i=1 to $n !set l=!record $i of src/data !set l=!line 1 of $l !set objlist=!append item $l to $objlist !next i

Tipos de objetos: !formselect confparm1 from 1 to $n prompt $objlist
Tipos de operaciones: !formselect confparm2 from 1 to 4 prompt Todo sumas,\ Sumas y productos, Productos y sumas, Todo productos wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/INDEX0000644000175000017500000000130110315754115024470 0ustar georgeskgeorgesktitle=Tablas aritméticas description=ejercicio-juego de entrenamiento en Aritmética con niveles muy variados. author=XIAO Gang address=xiao@unice.fr copyright=© 2003- (GNU GPL) translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es version=1.00 wims_version=3.37f language=es category=exercise, oef, recreation level=E2 E3 E4 E5 E6 H1 H2 H3 H4 H5 H6 U1 U2 domain=algebra, number keywords=number, sum, product, addition, multiplication, relative number, decimal, fraction, complex number, root, número, suma, producto, adición, multiplicación, número entero, decimal, fracción, número complejo, raíz require= scoring=yes help=popup vardef=oef/var.def wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/0000755000175000017500000000000010771676166024511 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/typed2x4.oef0000644000175000017500000000710710315754116026656 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/typed.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla escrita 2x4} \text{matrix=1,0,1,0;0,1,0,0} \text{shr=shuffle(2)} \text{shc=shuffle(4)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(2*4),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=2} \integer{cols=4} \integer{tot=(2*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \integer{size=\sizex/10-2} \statement{\nature.

Rellene la tabla con \obj, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\sh[1]}{type=algexp} \answer{Box 2}{\sh[2]}{type=algexp} \answer{Box 3}{\sh[3]}{type=algexp} \answer{Box 4}{\sh[4]}{type=algexp} \answer{Box 5}{\sh[5]}{type=algexp} \answer{Box 6}{\sh[6]}{type=algexp} \answer{Box 7}{\sh[7]}{type=algexp} \answer{Box 8}{\sh[8]}{type=algexp} \answer{Box 9}{\sh[9]}{type=algexp} \answer{Box 10}{\sh[10]}{type=algexp} \answer{Box 11}{\sh[11]}{type=algexp} \answer{Box 12}{\sh[12]}{type=algexp} \answer{Box 13}{\sh[13]}{type=algexp} \answer{Box 14}{\sh[14]}{type=algexp} \answer{Box 15}{\sh[15]}{type=algexp} \answer{Box 16}{\sh[16]}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table2x3.oef0000644000175000017500000001077110315754116026620 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 2x3} \integer{rows=2} \integer{cols=3} \integer{tot=(2*3)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 3}{}
\for{cc=1 to 3}{columna \cc\Name1
fila \rr \for{cc=1 to 3}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table2x2.oef0000644000175000017500000001065710315754116026622 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 2x2} \integer{rows=2} \integer{cols=2} \integer{tot=(2*2)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 2}{}
\for{cc=1 to 2}{columna \cc\Name1
fila \rr \for{cc=1 to 2}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table4x4.oef0000644000175000017500000001127610315754116026624 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 4x4} \integer{rows=4} \integer{cols=4} \integer{tot=(4*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 4}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name1 of row 3 equals \(\rowvals[3])}{\crows[3] = 0} \condition{\Name1 of row 4 equals \(\rowvals[4])}{\crows[4] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table2x4.oef0000644000175000017500000001107010315754116026612 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 2x4} \integer{rows=2} \integer{cols=4} \integer{tot=(2*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/partial3x4.oef0000644000175000017500000000727110315754116027170 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/partial.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla parcial 3x4} \text{matrix=1,0,1,1;1,0,0,0;0,1,1,0} \text{shr=shuffle(3)} \text{shc=shuffle(4)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(3*4),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=3} \integer{cols=4} \integer{tot=(3*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\(\sh[1])}{type=dragfill} \answer{Box 2}{\(\sh[2])}{type=dragfill} \answer{Box 3}{\(\sh[3])}{type=dragfill} \answer{Box 4}{\(\sh[4])}{type=dragfill} \answer{Box 5}{\(\sh[5])}{type=dragfill} \answer{Box 6}{\(\sh[6])}{type=dragfill} \answer{Box 7}{\(\sh[7])}{type=dragfill} \answer{Box 8}{\(\sh[8])}{type=dragfill} \answer{Box 9}{\(\sh[9])}{type=dragfill} \answer{Box 10}{\(\sh[10])}{type=dragfill} \answer{Box 11}{\(\sh[11])}{type=dragfill} \answer{Box 12}{\(\sh[12])}{type=dragfill} \answer{Box 13}{\(\sh[13])}{type=dragfill} \answer{Box 14}{\(\sh[14])}{type=dragfill} \answer{Box 15}{\(\sh[15])}{type=dragfill} \answer{Box 16}{\(\sh[16])}{type=dragfill} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/Makefile0000644000175000017500000000003010315754116026124 0ustar georgeskgeorgesk all: cd ..;./mkindex wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table2x7.oef0000644000175000017500000001141210315754116026615 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 2x7} \integer{rows=2} \integer{cols=7} \integer{tot=(2*7)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 7}{}
\for{cc=1 to 7}{columna \cc\Name1
fila \rr \for{cc=1 to 7}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} \condition{\Name2 of column 5 equals \(\colvals[5])}{\ccols[5] = 0} \condition{\Name2 of column 6 equals \(\colvals[6])}{\ccols[6] = 0} \condition{\Name2 of column 7 equals \(\colvals[7])}{\ccols[7] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/typed2x3.oef0000644000175000017500000000710310315754116026651 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/typed.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla escrita 2x3} \text{matrix=1,0,0;0,1,0} \text{shr=shuffle(2)} \text{shc=shuffle(3)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(2*3),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=2} \integer{cols=3} \integer{tot=(2*3)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \integer{size=\sizex/10-2} \statement{\nature.

Rellene la tabla con \obj, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 3}{}
\for{cc=1 to 3}{columna \cc\Name1
fila \rr \for{cc=1 to 3}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\sh[1]}{type=algexp} \answer{Box 2}{\sh[2]}{type=algexp} \answer{Box 3}{\sh[3]}{type=algexp} \answer{Box 4}{\sh[4]}{type=algexp} \answer{Box 5}{\sh[5]}{type=algexp} \answer{Box 6}{\sh[6]}{type=algexp} \answer{Box 7}{\sh[7]}{type=algexp} \answer{Box 8}{\sh[8]}{type=algexp} \answer{Box 9}{\sh[9]}{type=algexp} \answer{Box 10}{\sh[10]}{type=algexp} \answer{Box 11}{\sh[11]}{type=algexp} \answer{Box 12}{\sh[12]}{type=algexp} \answer{Box 13}{\sh[13]}{type=algexp} \answer{Box 14}{\sh[14]}{type=algexp} \answer{Box 15}{\sh[15]}{type=algexp} \answer{Box 16}{\sh[16]}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table3x4.oef0000644000175000017500000001117010315754116026614 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 3x4} \integer{rows=3} \integer{cols=4} \integer{tot=(3*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name1 of row 3 equals \(\rowvals[3])}{\crows[3] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/partial3x3.oef0000644000175000017500000000725710315754116027173 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/partial.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla parcial 3x3} \text{matrix=1,1,0;1,0,0;0,0,1} \text{shr=shuffle(3)} \text{shc=shuffle(3)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(3*3),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=3} \integer{cols=3} \integer{tot=(3*3)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 3}{}
\for{cc=1 to 3}{columna \cc\Name1
fila \rr \for{cc=1 to 3}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\(\sh[1])}{type=dragfill} \answer{Box 2}{\(\sh[2])}{type=dragfill} \answer{Box 3}{\(\sh[3])}{type=dragfill} \answer{Box 4}{\(\sh[4])}{type=dragfill} \answer{Box 5}{\(\sh[5])}{type=dragfill} \answer{Box 6}{\(\sh[6])}{type=dragfill} \answer{Box 7}{\(\sh[7])}{type=dragfill} \answer{Box 8}{\(\sh[8])}{type=dragfill} \answer{Box 9}{\(\sh[9])}{type=dragfill} \answer{Box 10}{\(\sh[10])}{type=dragfill} \answer{Box 11}{\(\sh[11])}{type=dragfill} \answer{Box 12}{\(\sh[12])}{type=dragfill} \answer{Box 13}{\(\sh[13])}{type=dragfill} \answer{Box 14}{\(\sh[14])}{type=dragfill} \answer{Box 15}{\(\sh[15])}{type=dragfill} \answer{Box 16}{\(\sh[16])}{type=dragfill} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/typed3x3.oef0000644000175000017500000000711110315754116026651 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/typed.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla escrita 3x3} \text{matrix=1,1,0;1,0,0;0,0,1} \text{shr=shuffle(3)} \text{shc=shuffle(3)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(3*3),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=3} \integer{cols=3} \integer{tot=(3*3)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \integer{size=\sizex/10-2} \statement{\nature.

Rellene la tabla con \obj, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 3}{}
\for{cc=1 to 3}{columna \cc\Name1
fila \rr \for{cc=1 to 3}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\sh[1]}{type=algexp} \answer{Box 2}{\sh[2]}{type=algexp} \answer{Box 3}{\sh[3]}{type=algexp} \answer{Box 4}{\sh[4]}{type=algexp} \answer{Box 5}{\sh[5]}{type=algexp} \answer{Box 6}{\sh[6]}{type=algexp} \answer{Box 7}{\sh[7]}{type=algexp} \answer{Box 8}{\sh[8]}{type=algexp} \answer{Box 9}{\sh[9]}{type=algexp} \answer{Box 10}{\sh[10]}{type=algexp} \answer{Box 11}{\sh[11]}{type=algexp} \answer{Box 12}{\sh[12]}{type=algexp} \answer{Box 13}{\sh[13]}{type=algexp} \answer{Box 14}{\sh[14]}{type=algexp} \answer{Box 15}{\sh[15]}{type=algexp} \answer{Box 16}{\sh[16]}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table2x5.oef0000644000175000017500000001117610315754116026622 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 2x5} \integer{rows=2} \integer{cols=5} \integer{tot=(2*5)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 5}{}
\for{cc=1 to 5}{columna \cc\Name1
fila \rr \for{cc=1 to 5}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} \condition{\Name2 of column 5 equals \(\colvals[5])}{\ccols[5] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/data0000644000175000017500000000430210315754116025326 0ustar georgeskgeorgesk:Números naturales (pequeños) numbers,40 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5 :Números naturales (medianos) numbers,40 1,20,1 :Números naturales (grandes) numbers 15,100,1 :Números enteros (pequeños) numbers 1,2,3,4,-1,-2,-3,-4,1,2,3,4,-1,-2,-3,-4,1,2,3,4,-1,-2,-3,-4 :Números enteros (medianos) numbers 1,10,-1 :Números enteros (grandes) numbers 1,100,-1 :Decimales positivos I numbers,60 3,99,0.1 :Decimales positivos II numbers,70 10,500,0.01 :Decimales negativos I numbers,60 3,99,-0.1 :Decimales negativos II numbers,70 10,400,-0.01 :Fracciones positivas (pequeñas) fractions,70 1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3,1/2,3/2,1/3,2/3 :Fracciones positivas (medianas) fractions,70 1/2,3/2,5/2,7/2, 1/3,2/3,4/3,5/3,7/3,8/3, 1/4,3/4,5/4,7/4, 1/5,2/5,3/5,4/5,6/5,7/5,8/5, 1/6,5/6,7/6, 1/8,3/8,5/8,7/8 :Fracciones negativas fractions,80 1/2,3/2,5/2,1/3,2/3,4/3,5/3,1/4,3/4,5/4,1/5,2/5,3/5,4/5,-1/2,-3/2,-5/2,-1/3,-2/3,-4/3,-5/3,-1/4,-3/4,-5/4,-1/5,-2/5,-3/5,-4/5 :Expresiones en 1 variable (grado 1) expressions,80,38 f+1,f+2,2*f+1,2*f+2,f-1,f-2,2*f-1,2*f-2,1-f,2-f,1-2*f,2-2*f,-f-1,-f-2,-2*f-1,-2*f-2,f,-f,2*f,-2*f,1,2,-1,-2 :Expresiones en 1 variable (grado 2) expressions, 100, 38 1,f,f+1, f^2,f^2+1,f^2+f,f^2+f+1, -1,-f,f-1,1-f, -f^2,f^2-1,1-f^2,f^2-f,f-f^2, f^2+f-1,f^2-f+1,f^2-f-1, -f^2+f+1,-f^2+f-1,-f^2-f+1,-f^2-f-1 :Expresiones en 2 variables no homogéneas expressions,80,38 f,g,-f,-g,1,-1,f+g,f-g,g-f,-f-g,f+1,f-1,1-f,-f-1,g+1,g-1,1-g,-g-1 :Expresiones en 2 variables homogéneas expressions,80,38 f,g,2*f,2*g,-f,-g,-2*f,-2*g, f+g,f-g,g-f,-f-g, f+2*g,f-2*g,g-2*f,-f-2*g, 2*f+g,2*f-g,2*g-f,-2*f-g, 2*f+2*g,2*f-2*g,2*g-2*f,-2*f-2*g :Raíces cuadradas I numbers,100,38 rt+1,rt-1,1-rt,-rt-1,rt,-rt,1,-1,rt+1,rt-1,1-rt,-rt-1,rt,-rt,1,-1,rt+1,rt-1,1-rt,-rt-1,rt,-rt,1,-1 :Raíces cuadradas II numbers,100,38 rt+1,rt+2,2*rt+1,2*rt+2,rt-1,rt-2,2*rt-1,2*rt-2,1-rt,2-rt,1-2*rt,2-2*rt,-rt-1,-rt-2,-2*rt-1,-2*rt-2,rt,-rt,2*rt,-2*rt,1,2,-1,-2 :Números complejos I numbers,80 i+1,i-1,1-i,-i-1,i,-i,1,-1,i-1,1-i,-i-1,i,-i,1,-1,i-1,1-i,-i-1,i,-i,1,-1 :Números complejos II numbers,80 i+1,i+2,2*i+1,2*i+2,i-1,i-2,2*i-1,2*i-2,1-i,2-i,1-2*i,2-2*i,-i-1,-i-2,-2*i-1,-2*i-2,i,-i,2*i,-2*i,1,2,-1,-2 wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/partial2x2.oef0000644000175000017500000000725010315754116027162 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/partial.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla parcial 2x2} \text{matrix=1,0;0,0} \text{shr=shuffle(2)} \text{shc=shuffle(2)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(2*2),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=2} \integer{cols=2} \integer{tot=(2*2)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 2}{}
\for{cc=1 to 2}{columna \cc\Name1
fila \rr \for{cc=1 to 2}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\(\sh[1])}{type=dragfill} \answer{Box 2}{\(\sh[2])}{type=dragfill} \answer{Box 3}{\(\sh[3])}{type=dragfill} \answer{Box 4}{\(\sh[4])}{type=dragfill} \answer{Box 5}{\(\sh[5])}{type=dragfill} \answer{Box 6}{\(\sh[6])}{type=dragfill} \answer{Box 7}{\(\sh[7])}{type=dragfill} \answer{Box 8}{\(\sh[8])}{type=dragfill} \answer{Box 9}{\(\sh[9])}{type=dragfill} \answer{Box 10}{\(\sh[10])}{type=dragfill} \answer{Box 11}{\(\sh[11])}{type=dragfill} \answer{Box 12}{\(\sh[12])}{type=dragfill} \answer{Box 13}{\(\sh[13])}{type=dragfill} \answer{Box 14}{\(\sh[14])}{type=dragfill} \answer{Box 15}{\(\sh[15])}{type=dragfill} \answer{Box 16}{\(\sh[16])}{type=dragfill} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/typed2x2.oef0000644000175000017500000000710310315754116026650 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/typed.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla escrita 2x2} \text{matrix=1,0;0,0} \text{shr=shuffle(2)} \text{shc=shuffle(2)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(2*2),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=2} \integer{cols=2} \integer{tot=(2*2)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \integer{size=\sizex/10-2} \statement{\nature.

Rellene la tabla con \obj, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 2}{}
\for{cc=1 to 2}{columna \cc\Name1
fila \rr \for{cc=1 to 2}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\sh[1]}{type=algexp} \answer{Box 2}{\sh[2]}{type=algexp} \answer{Box 3}{\sh[3]}{type=algexp} \answer{Box 4}{\sh[4]}{type=algexp} \answer{Box 5}{\sh[5]}{type=algexp} \answer{Box 6}{\sh[6]}{type=algexp} \answer{Box 7}{\sh[7]}{type=algexp} \answer{Box 8}{\sh[8]}{type=algexp} \answer{Box 9}{\sh[9]}{type=algexp} \answer{Box 10}{\sh[10]}{type=algexp} \answer{Box 11}{\sh[11]}{type=algexp} \answer{Box 12}{\sh[12]}{type=algexp} \answer{Box 13}{\sh[13]}{type=algexp} \answer{Box 14}{\sh[14]}{type=algexp} \answer{Box 15}{\sh[15]}{type=algexp} \answer{Box 16}{\sh[16]}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/partial2x3.oef0000644000175000017500000000725110315754116027164 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/partial.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla parcial 2x3} \text{matrix=1,0,0;0,1,0} \text{shr=shuffle(2)} \text{shc=shuffle(3)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(2*3),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=2} \integer{cols=3} \integer{tot=(2*3)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 3}{}
\for{cc=1 to 3}{columna \cc\Name1
fila \rr \for{cc=1 to 3}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\(\sh[1])}{type=dragfill} \answer{Box 2}{\(\sh[2])}{type=dragfill} \answer{Box 3}{\(\sh[3])}{type=dragfill} \answer{Box 4}{\(\sh[4])}{type=dragfill} \answer{Box 5}{\(\sh[5])}{type=dragfill} \answer{Box 6}{\(\sh[6])}{type=dragfill} \answer{Box 7}{\(\sh[7])}{type=dragfill} \answer{Box 8}{\(\sh[8])}{type=dragfill} \answer{Box 9}{\(\sh[9])}{type=dragfill} \answer{Box 10}{\(\sh[10])}{type=dragfill} \answer{Box 11}{\(\sh[11])}{type=dragfill} \answer{Box 12}{\(\sh[12])}{type=dragfill} \answer{Box 13}{\(\sh[13])}{type=dragfill} \answer{Box 14}{\(\sh[14])}{type=dragfill} \answer{Box 15}{\(\sh[15])}{type=dragfill} \answer{Box 16}{\(\sh[16])}{type=dragfill} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/partial2x4.oef0000644000175000017500000000725510315754116027171 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/partial.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla parcial 2x4} \text{matrix=1,0,1,0;0,1,0,0} \text{shr=shuffle(2)} \text{shc=shuffle(4)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(2*4),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=2} \integer{cols=4} \integer{tot=(2*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\(\sh[1])}{type=dragfill} \answer{Box 2}{\(\sh[2])}{type=dragfill} \answer{Box 3}{\(\sh[3])}{type=dragfill} \answer{Box 4}{\(\sh[4])}{type=dragfill} \answer{Box 5}{\(\sh[5])}{type=dragfill} \answer{Box 6}{\(\sh[6])}{type=dragfill} \answer{Box 7}{\(\sh[7])}{type=dragfill} \answer{Box 8}{\(\sh[8])}{type=dragfill} \answer{Box 9}{\(\sh[9])}{type=dragfill} \answer{Box 10}{\(\sh[10])}{type=dragfill} \answer{Box 11}{\(\sh[11])}{type=dragfill} \answer{Box 12}{\(\sh[12])}{type=dragfill} \answer{Box 13}{\(\sh[13])}{type=dragfill} \answer{Box 14}{\(\sh[14])}{type=dragfill} \answer{Box 15}{\(\sh[15])}{type=dragfill} \answer{Box 16}{\(\sh[16])}{type=dragfill} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table3x5.oef0000644000175000017500000001127610315754116026624 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 3x5} \integer{rows=3} \integer{cols=5} \integer{tot=(3*5)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 5}{}
\for{cc=1 to 5}{columna \cc\Name1
fila \rr \for{cc=1 to 5}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name1 of row 3 equals \(\rowvals[3])}{\crows[3] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} \condition{\Name2 of column 5 equals \(\colvals[5])}{\ccols[5] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table2x6.oef0000644000175000017500000001130410315754116026614 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 2x6} \integer{rows=2} \integer{cols=6} \integer{tot=(2*6)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 2}{ } } \for{cc=1 to 6}{}
\for{cc=1 to 6}{columna \cc\Name1
fila \rr \for{cc=1 to 6}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} \condition{\Name2 of column 5 equals \(\colvals[5])}{\ccols[5] = 0} \condition{\Name2 of column 6 equals \(\colvals[6])}{\ccols[6] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/typed3x4.oef0000644000175000017500000000712310315754116026655 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/typed.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla escrita 3x4} \text{matrix=1,0,1,1;1,0,0,0;0,1,1,0} \text{shr=shuffle(3)} \text{shc=shuffle(4)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(3*4),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} \integer{rows=3} \integer{cols=4} \integer{tot=(3*4)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \integer{size=\sizex/10-2} \statement{\nature.

Rellene la tabla con \obj, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 4}{}
\for{cc=1 to 4}{columna \cc\Name1
fila \rr \for{cc=1 to 4}{ \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\sh[1]}{type=algexp} \answer{Box 2}{\sh[2]}{type=algexp} \answer{Box 3}{\sh[3]}{type=algexp} \answer{Box 4}{\sh[4]}{type=algexp} \answer{Box 5}{\sh[5]}{type=algexp} \answer{Box 6}{\sh[6]}{type=algexp} \answer{Box 7}{\sh[7]}{type=algexp} \answer{Box 8}{\sh[8]}{type=algexp} \answer{Box 9}{\sh[9]}{type=algexp} \answer{Box 10}{\sh[10]}{type=algexp} \answer{Box 11}{\sh[11]}{type=algexp} \answer{Box 12}{\sh[12]}{type=algexp} \answer{Box 13}{\sh[13]}{type=algexp} \answer{Box 14}{\sh[14]}{type=algexp} \answer{Box 15}{\sh[15]}{type=algexp} \answer{Box 16}{\sh[16]}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/table3x3.oef0000644000175000017500000001106210315754116026613 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/arithtab.cpp. \language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} \title{Tabla aritmética 3x3} \integer{rows=3} \integer{cols=3} \integer{tot=(3*3)} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} \statement{\nature.

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to 3}{ } } \for{cc=1 to 3}{}
\for{cc=1 to 3}{columna \cc\Name1
fila \rr \for{cc=1 to 3}{ \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} \condition{\Name1 of row 3 equals \(\rowvals[3])}{\crows[3] = 0} \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/0000755000175000017500000000000010771676243025267 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/partial1.inc0000644000175000017500000000056210315754115027467 0ustar georgeskgeorgesk \text{shr=shuffle(ROWS)} \text{shc=shuffle(COLS)} \text{matrix=wims(lines2rows \matrix[\shr;\shc])} \text{mlist=wims(replace ; by , in \matrix)} \text{replylist=wims(positionof item 0 in \mlist)} \text{givenlist=wims(positionof item 1 in \mlist)} \text{replies=item(1..(ROWS*COLS),r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies[\replylist]} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/typed.cpp0000644000175000017500000000136610315754115027113 0ustar georgeskgeorgesktarget=typed2x2 typed2x3 typed2x4 typed3x3 typed3x4 #include "header.inc" #define TIT Tabla escrita #define PARTIAL 1 #define TYPED 1 #if #TARGET (typed2x2) \title{TIT 2x2} # define ROWS 2 # define COLS 2 \text{matrix=1,0;0,0} #endif #if #TARGET (typed2x3) \title{TIT 2x3} # define ROWS 2 # define COLS 3 \text{matrix=1,0,0;0,1,0} #endif #if #TARGET (typed2x4) \title{TIT 2x4} # define ROWS 2 # define COLS 4 \text{matrix=1,0,1,0;0,1,0,0} #endif #if #TARGET (typed3x3) \title{TIT 3x3} # define ROWS 3 # define COLS 3 \text{matrix=1,1,0;1,0,0;0,0,1} #endif #if #TARGET (typed3x4) \title{TIT 3x4} # define ROWS 3 # define COLS 4 \text{matrix=1,0,1,1;1,0,0,0;0,1,1,0} #endif #include "partial1.inc" #include "common.inc" #include "typed.inc" wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/partial.cpp0000644000175000017500000000137410315754116027422 0ustar georgeskgeorgesktarget=partial2x2 partial2x3 partial2x4 partial3x3 partial3x4 #include "header.inc" #define TIT Tabla parcial #define PARTIAL 1 #if #TARGET (partial2x2) \title{TIT 2x2} # define ROWS 2 # define COLS 2 \text{matrix=1,0;0,0} #endif #if #TARGET (partial2x3) \title{TIT 2x3} # define ROWS 2 # define COLS 3 \text{matrix=1,0,0;0,1,0} #endif #if #TARGET (partial2x4) \title{TIT 2x4} # define ROWS 2 # define COLS 4 \text{matrix=1,0,1,0;0,1,0,0} #endif #if #TARGET (partial3x3) \title{TIT 3x3} # define ROWS 3 # define COLS 3 \text{matrix=1,1,0;1,0,0;0,0,1} #endif #if #TARGET (partial3x4) \title{TIT 3x4} # define ROWS 3 # define COLS 4 \text{matrix=1,0,1,1;1,0,0,0;0,1,1,0} #endif #include "partial1.inc" #include "common.inc" #include "partial2.inc" wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/typed.inc0000644000175000017500000000112010315754116027067 0ustar georgeskgeorgesk \answer{Box 1}{\sh[1]}{type=algexp} \answer{Box 2}{\sh[2]}{type=algexp} \answer{Box 3}{\sh[3]}{type=algexp} \answer{Box 4}{\sh[4]}{type=algexp} \answer{Box 5}{\sh[5]}{type=algexp} \answer{Box 6}{\sh[6]}{type=algexp} \answer{Box 7}{\sh[7]}{type=algexp} \answer{Box 8}{\sh[8]}{type=algexp} \answer{Box 9}{\sh[9]}{type=algexp} \answer{Box 10}{\sh[10]}{type=algexp} \answer{Box 11}{\sh[11]}{type=algexp} \answer{Box 12}{\sh[12]}{type=algexp} \answer{Box 13}{\sh[13]}{type=algexp} \answer{Box 14}{\sh[14]}{type=algexp} \answer{Box 15}{\sh[15]}{type=algexp} \answer{Box 16}{\sh[16]}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/total.inc0000644000175000017500000000452010315754116027074 0ustar georgeskgeorgesk \answer{Box 1}{\r1;\(\sh[1])}{type=dragfill} \answer{Box 2}{\r2;\(\sh[2])}{type=dragfill} \answer{Box 3}{\r3;\(\sh[3])}{type=dragfill} \answer{Box 4}{\r4;\(\sh[4])}{type=dragfill} \answer{Box 5}{\r5;\(\sh[5])}{type=dragfill} \answer{Box 6}{\r6;\(\sh[6])}{type=dragfill} \answer{Box 7}{\r7;\(\sh[7])}{type=dragfill} \answer{Box 8}{\r8;\(\sh[8])}{type=dragfill} \answer{Box 9}{\r9;\(\sh[9])}{type=dragfill} \answer{Box 10}{\r10;\(\sh[10])}{type=dragfill} \answer{Box 11}{\r11;\(\sh[11])}{type=dragfill} \answer{Box 12}{\r12;\(\sh[12])}{type=dragfill} \answer{Box 13}{\r13;\(\sh[13])}{type=dragfill} \answer{Box 14}{\r14;\(\sh[14])}{type=dragfill} \answer{Box 15}{\r15;\(\sh[15])}{type=dragfill} \answer{Box 16}{\r16;\(\sh[16])}{type=dragfill} \text{rvals=wims(replace internal \ by \empty in \r1,\r2,\r3,\r4,\r5,\r6,\r7,\r8,\r9,\r10,\r11,\r12,\r13,\r14,\r15,\r16)} \text{crows=} \for{x=1 to \rows}{ \text{r2=wims(replace , by \op1 in \rvals[(\x-1)*\cols+1..\x*\cols])} \if{\randtype issametext computed}{ \real{cr=\rowvals[\x]-(\r2)} }{ \text{cr=maxima(expand((\rowvals[\x])-(\r2)))} } \text{cr=\cr issametext ?NaN} \text{crows=wims(append item \cr to \crows)} } \text{ccols=} \for{y=1 to \cols}{ \text{c2=wims(replace , by \op2 in \rvals[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \if{\randtype issametext computed}{ \real{cc=\colvals[\y]-(\c2)} }{ \text{cc=maxima(expand((\colvals[\y])-(\c2)))} } \text{cc=\cc issametext ?NaN} \text{ccols=wims(append item \cc to \ccols)} } \condition{\Name1 of row 1 equals \(\rowvals[1])}{\crows[1] = 0} \condition{\Name1 of row 2 equals \(\rowvals[2])}{\crows[2] = 0} #if ROWS > 2 \condition{\Name1 of row 3 equals \(\rowvals[3])}{\crows[3] = 0} #endif #if ROWS > 3 \condition{\Name1 of row 4 equals \(\rowvals[4])}{\crows[4] = 0} #endif \condition{\Name2 of column 1 equals \(\colvals[1])}{\ccols[1] = 0} \condition{\Name2 of column 2 equals \(\colvals[2])}{\ccols[2] = 0} #if COLS > 2 \condition{\Name2 of column 3 equals \(\colvals[3])}{\ccols[3] = 0} #endif #if COLS > 3 \condition{\Name2 of column 4 equals \(\colvals[4])}{\ccols[4] = 0} #endif #if COLS > 4 \condition{\Name2 of column 5 equals \(\colvals[5])}{\ccols[5] = 0} #endif #if COLS > 5 \condition{\Name2 of column 6 equals \(\colvals[6])}{\ccols[6] = 0} #endif #if COLS > 6 \condition{\Name2 of column 7 equals \(\colvals[7])}{\ccols[7] = 0} #endif wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/arithtab.cpp0000644000175000017500000000174110315754115027561 0ustar georgeskgeorgesktarget=table2x2 table2x3 table2x4 table2x5 table2x6 table2x7 table3x3 table3x4 table3x5 table4x4 #include "header.inc" #define TIT Tabla aritmética #if #TARGET (table2x2) \title{TIT 2x2} # define ROWS 2 # define COLS 2 #endif #if #TARGET (table2x3) \title{TIT 2x3} # define ROWS 2 # define COLS 3 #endif #if #TARGET (table2x4) \title{TIT 2x4} # define ROWS 2 # define COLS 4 #endif #if #TARGET (table2x5) \title{TIT 2x5} # define ROWS 2 # define COLS 5 #endif #if #TARGET (table2x6) \title{TIT 2x6} # define ROWS 2 # define COLS 6 #endif #if #TARGET (table2x7) \title{TIT 2x7} # define ROWS 2 # define COLS 7 #endif #if #TARGET (table3x3) \title{TIT 3x3} # define ROWS 3 # define COLS 3 #endif #if #TARGET (table3x4) \title{TIT 3x4} # define ROWS 3 # define COLS 4 #endif #if #TARGET (table3x5) \title{TIT 3x5} # define ROWS 3 # define COLS 5 #endif #if #TARGET (table4x4) \title{TIT 4x4} # define ROWS 4 # define COLS 4 #endif #include "common.inc" #include "total.inc" wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/common.inc0000644000175000017500000000540710315754115027245 0ustar georgeskgeorgesk#define TOT (ROWS*COLS) \integer{rows=ROWS} \integer{cols=COLS} \integer{tot=TOT} \integer{confparm1=\confparm1=?1} \integer{confparm2=\confparm2=?1} \text{o1=item(\confparm2,1,1,2,2)} \text{o2=item(\confparm2,1,2,1,2)} \text{op1=item(\o1,+,*)} \text{op2=item(\o2,+,*)} \text{Name1=item(\o1,Suma,Producto)} \text{Name2=item(\o2,Suma,Producto)} \text{names=item(\confparm2,sum, sum or product, sum or product, product)} \text{vars=shuffle(a,b,c,d,r,s,t,x,y,z)} \text{rt=sqrt(random(2,3,5))} \text{list=wims(record \confparm1 of src/data)} \text{nature=row(1,\list)} \text{parms=row(2,\list)} \text{obj=\parms[1]} \text{sizex=\parms[2]} \text{sizey=\parms[3]} \text{sizex=\sizex =? 60} \text{sizey=\sizey=? 35} \text{size=\sizex \sizey} \text{list=wims(rows2lines row(3..-1,\list))} \integer{n=items(\list)} \if{\n<=3}{ \text{a=\list[1]} \text{b=\list[2]} \text{c=\list[3]} \text{randtype=computed} \if{\c<0}{ \text{sh1=wims(values \c*x,-(\c)*x for x=\a to \b)} }{ \text{sh1=wims(values \c*x for x=\a to \b)} } \text{sh=item(1..\tot,shuffle(\sh1))} }{ \text{randtype=listed} \text{sh=item(1..\tot,shuffle(\list))} } \text{sh=wims(mathsubst f=\vars[1] in \sh)} \text{sh=wims(mathsubst g=\vars[2] in \sh)} \text{sh=wims(mathsubst rt=\rt in \sh)} \text{empty=} \text{goodlist=(\sh[1]),(\sh[2]),(\sh[3]),(\sh[4]), (\sh[5]),(\sh[6]),(\sh[7]),(\sh[8]), (\sh[9]),(\sh[10]),(\sh[11]),(\sh[12]), (\sh[13]),(\sh[14]),(\sh[15]),(\sh[16])} \text{rowvals=} \for{x=1 to \rows}{ \text{r=wims(replace , by \op1 in \goodlist[(\x-1)*\cols+1..\x*\cols])} \text{r=maxima(expand(\r))} \text{rowvals=wims(append item \r to \rowvals)} } \text{colvals=} \for{y=1 to \cols}{ \text{c=wims(replace , by \op2 in \goodlist[wims(values \cols*(x-1)+\y for x=1 to \rows)])} \text{c=maxima(expand(\c))} \text{colvals=wims(append item \c to \colvals)} } #ifndef PARTIAL \text{replies=item(1..\tot,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16)} \steps{\replies} #endif #ifdef TYPED \integer{size=\sizex/10-2} #endif \statement{\nature. #ifdef TYPED

Rellene la tabla con \obj, #else

Rellene la tabla arrastrando dentro de ella los números o las expresiones de abajo, #endif de manera que cada fila y cada columna produzcan el resultado indicado:

} \for{rr=1 to ROWS}{ #else #endif } } \for{cc=1 to COLS}{}
\for{cc=1 to COLS}{columna \cc\Name1
fila \rr \for{cc=1 to COLS}{ #ifdef PARTIAL \if{\mlist[(\rr-1)*\cols+\cc]=1} {\(\sh[(\rr-1)*\cols+\cc])}{\embed{\replies[(\rr-1)*\cols+\cc],\size}} \embed{\replies[(\rr-1)*\cols+\cc],\size}\(\rowvals[\rr])
\Name2\(\colvals[\cc])
} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/header.inc0000644000175000017500000000010610315754115027174 0ustar georgeskgeorgesk\language{es} \author{XIAO, Gang} \email{xiao@unice.fr} \format{html} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/src/cpp/partial2.inc0000644000175000017500000000124010315754115027462 0ustar georgeskgeorgesk \answer{Box 1}{\(\sh[1])}{type=dragfill} \answer{Box 2}{\(\sh[2])}{type=dragfill} \answer{Box 3}{\(\sh[3])}{type=dragfill} \answer{Box 4}{\(\sh[4])}{type=dragfill} \answer{Box 5}{\(\sh[5])}{type=dragfill} \answer{Box 6}{\(\sh[6])}{type=dragfill} \answer{Box 7}{\(\sh[7])}{type=dragfill} \answer{Box 8}{\(\sh[8])}{type=dragfill} \answer{Box 9}{\(\sh[9])}{type=dragfill} \answer{Box 10}{\(\sh[10])}{type=dragfill} \answer{Box 11}{\(\sh[11])}{type=dragfill} \answer{Box 12}{\(\sh[12])}{type=dragfill} \answer{Box 13}{\(\sh[13])}{type=dragfill} \answer{Box 14}{\(\sh[14])}{type=dragfill} \answer{Box 15}{\(\sh[15])}{type=dragfill} \answer{Box 16}{\(\sh[16])}{type=dragfill} wims-modules-es-3.64.orig/modules/H3/algebra/arithtable.es/help.phtml0000644000175000017500000000005210315754116025677 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/0000755000175000017500000000000010315753111023512 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/0000755000175000017500000000000010117657706024265 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/ecriture.def0000644000175000017500000000410310117657544026565 0ustar georgeskgeorgesk!set title=Ecriture réduite. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=18 prevarcnt=17 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=2,3,5,6,7,10,11 tmp=!nonempty items $val6 tmp0=!randitem $tmp val7=$[rint($(tmp0))] tmp=!nonempty items $val6 tmp0=!randitem $tmp val8=$[rint($(tmp0))] tmp=!nonempty items $val6 tmp0=!randitem $tmp val9=$[rint($(tmp0))] val10=$[rint($val7^2)] tmp0=!randint $val8^2 val11=$[rint($(tmp0))] val12=$[rint($val8^3)] val13=$[rint($val11*$val9)] val14=$[rint($val7*$val8)] val15=$[rint($val7*$val9)] val16=$[rint($val8*$val9)] val17=$[rint($val14*$val9)] tmp=!trim \sqrt{$val10},$val7 \sqrt{$val12},$val8*sqrt($val8) \sqrt{$val13},$val8*sqrt($val9) \sqrt{$val7^2},$val7 \sqrt{$val7^3\times$val8^2},$val14*sqrt($val7) $val9\sqrt{$val10},$val15 $val9\sqrt{$val12},$val16*sqrt($val8) $val9\sqrt{$val13},$val16*sqrt($val9) $val9\sqrt{$val7^2},$val15 $val9\sqrt{$val7^3\times$val8^2},$val17*sqrt($val7) val18=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val18 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp=!translate internal $ $ to ; in $val18 tmp=!row 10 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp0=!item 1 of $val6 val19=$(tmp0) tmp0=!item 2 of $val6 val20=$(tmp0) replytype1=litexp replyname1=Réponse replygood1=$val20 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ecrire le nombre !insmath $val19 $() sous la forme !insmath a\sqrt{b} $() où !insmath b $() est un entier le plus petit possible.
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=19 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/reduitsom3.def0000644000175000017500000000341310117657331027036 0ustar georgeskgeorgesk!set title=Ecriture réduite d'une somme 3. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=15 prevarcnt=14 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=50x50x50 val7=$[rint(3)] tmp0=!randitem 2,3,5,6,7,10 val8=$[rint($(tmp0))] tmp0=!randint 2, 15 tmp1=!randint 2, 15 tmp2=!randint 2, 15 tmp3=!randint 2, 15 val9=$(tmp0),$(tmp1),$(tmp2),$(tmp3) tmp0=!randitem -1,1 tmp1=!randint 2, 15 tmp2=!randitem -1,1 tmp3=!randint 2, 15 tmp4=!randitem -1,1 tmp5=!randint 2, 15 tmp6=!randitem -1,1 tmp7=!randint 2, 15 val10=$(tmp0)*$(tmp1),$(tmp2)*$(tmp3),$(tmp4)*$(tmp5),$(tmp6)*$(tmp7) val11= val12=$[rint(0)] !for val13 =1 to $val7 val14=$[rint(($(val9[$val13]))^2*$val8)] val15=$[rint($(val10[$val13]))] !ifval $val15>0 and $val13>1 val16=+ !else val16= !endif val11=$val11 $val16 $val15\sqrt{$val14} val12=$[rint($val12+($val15)*($(val9[$val13])))] !next val17=$val12*sqrt($val8) replytype1=algexp replyname1=Réponse replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ecrire le nombre !insmath $val11 $() sous la forme !insmath a\sqrt{b} $() où !insmath b $() est un entier le plus petit possible.
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $()Faire apparaitre !insmath \sqrt{$val8} $() dans chacun des termes de la somme. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/decimal.def0000644000175000017500000000546310117657363026352 0ustar georgeskgeorgesk!set title=Tableau de décimaux. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=13 prevarcnt=12 postvarcnt=0 replycnt=6 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 1, 3 val6=$[rint($(tmp0))] val7=50x75x1 tmp0=!shuffle 0.1,0.2,0.3,0.5,0.6,0.7,1.1,1.2,1.3 val8=$(tmp0) tmp0=!item 1 of $val8 tmp1=!item 2 of $val8 tmp2=!item 3 of $val8 val8=$(tmp0),$(tmp1),$(tmp2) tmp0=!values (x)^2 for x in $val8 val9=$(tmp0) tmp0=!values (x)^4 for x in $val8 val10=$(tmp0) val11= !for val12 in $val8 tmp0=!append item \(\sqrt{$val12}) to $val11 val11=$(tmp0) !next !if $(val8[$val6])<>1 tmp0=!replace item number $val6 by \($(val9[$val6])) in $val10 val10=$(tmp0) tmp0=!replace item number $val6 by \($(val8[$val6])) in $val9 val9=$(tmp0) tmp0=!replace item number $val6 by \(\sqrt{$(val8[$val6])}) in $val8 val8=$(tmp0) !endif replytype1=clickfill replyname1=x2 replygood1=$(val9[2])|$val9,$val8,$val10,$val11 replytype2=clickfill replyname2=x3 replygood2=$(val9[3])|$val9,$val8,$val10,$val11 replytype3=clickfill replyname3=\(\sqrt{x1}) replygood3=$(val8[1])|$val9,$val8,$val10,$val11 replytype4=clickfill replyname4=\(\sqrt{x3}) replygood4=$(val8[3])|$val9,$val8,$val10,$val11 replytype5=clickfill replyname5=\(x1^2) replygood5=$(val10[1])|$val9,$val8,$val10,$val11 replytype6=clickfill replyname6=\(x2^2) replygood6=$(val10[2])|$val9,$val8,$val10,$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Compléter le tableau à l'aide des réponses proposées.
!insmath x $()
$(val9[1])
!read oef/embed.phtml reply 1,$val7 $()
!read oef/embed.phtml reply 2,$val7 $()
!insmath \sqrt{x} $()
!read oef/embed.phtml reply 3,$val7 $()
$(val8[2])
!read oef/embed.phtml reply 4,$val7 $()
!insmath x^2 $()
!read oef/embed.phtml reply 5,$val7 $()
!read oef/embed.phtml reply 6,$val7 $()
$(val10[3])
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10 embedcnt=6 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/corres4.def0000644000175000017500000000364010117657314026324 0ustar georgeskgeorgesk!set title=Correspondance de racines carrées 4. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=29 prevarcnt=28 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=50x75x75 val7=$[rint(4)] val8= val9= !for val10 =1 to $val7 tmp0=!randitem 2,3,5,7 val11=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6 val12=$[rint($(tmp0))] tmp0=!randint 7, 15 val13=$[rint($(tmp0))] val14=$[rint($val11^2)] val15=$[rint($val11^3)] val16=$[rint($val11^4)] val17=$[rint($val11*$val12)] val18=$[rint($val14*$val12)] val19=$[rint($val15*$val12)] val20=$[rint($val16*$val12)] val21=$[rint($val11*$val13)] val22=$[rint($val11^2*$val13)] val23=\sqrt{$val18};$val11\sqrt{$val12},$val13\sqrt{$val18};$val21\sqrt{$val12},\sqrt{$val15};$val11\sqrt{$val11},\sqrt{$val19};$val11\sqrt{$val17},$val13\sqrt{$val15};$val21\sqrt{$val11},$val13\sqrt{$val19};$val21\sqrt{$val17} tmp=!nonempty items $val23 tmp0=!randitem $tmp val24=$(tmp0) tmp0=!replace internal ; by , in $val24 val24=$(tmp0) tmp0=!item 1 of $val24 val25=$(tmp0) val8=$val8,\($val25) tmp0=!item 2 of $val24 val25=$(tmp0) val9=$val9,\($val25) !next tmp0=!nonempty item $val8 val8=$(tmp0) tmp0=!nonempty item $val9 val9=$(tmp0) tmp0=!listuniq $val8 val8=$(tmp0) tmp0=!listuniq $val9 val9=$(tmp0) replytype1=correspond replyname1=La correspondance replygood1=$val8;$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mettez en relation les nombres égaux.

!read oef/embed.phtml reply 1,$val6 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/puissance2.def0000644000175000017500000000573510117657363027032 0ustar georgeskgeorgesk!set title=Tableau de puissances quelconques. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=19 prevarcnt=18 postvarcnt=0 replycnt=6 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 1, 3 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6,7 tmp1=!randitem 2,3,5,6,7 tmp2=!randitem 2,3,5,6,7 val7=$(tmp0),$(tmp1),$(tmp2) val8=60x50x1 tmp0=!shuffle -2,-3,-4,-5,-6,2,3,4,5,6 val9=$(tmp0) val9=2,4,6 tmp0=!item 1 of $val9 tmp1=!item 2 of $val9 tmp2=!item 3 of $val9 val9=$(tmp0),$(tmp1),$(tmp2) val10= val11= val12= val13= !for val14 =1 to 3 val15=$[rint($(val9[$val14])/2)] !if $val15 notitemof $val9 tmp0=!append item \(\sqrt{$(val7[$val14])^{$(val9[$val14])}}) to $val13 val13=$(tmp0) !endif tmp0=!append item \($(val7[$val14])^{$(val9[$val14])}) to $val11 val11=$(tmp0) val15=$[rint(2*$(val9[$val14]))] tmp0=!append item \($(val7[$val14])^{$val15}) to $val10 val10=$(tmp0) val15=$[rint(2*$val15)] tmp0=!append item \($(val7[$val14])^{$val15}) to $val12 val12=$(tmp0) !next replytype1=clickfill replyname1=x2 replygood1=$(val10[2])|$val10,$val11,$val12,$val13 replytype2=clickfill replyname2=x3 replygood2=$(val10[3])|$val10,$val11,$val12,$val13 replytype3=clickfill replyname3=\(\sqrt{x1}) replygood3=$(val11[1])|$val10,$val11,$val12,$val13 replytype4=clickfill replyname4=\(\sqrt{x3}) replygood4=$(val11[3])|$val10,$val11,$val12,$val13 replytype5=clickfill replyname5=\(x1^2) replygood5=$(val12[1])|$val10,$val11,$val12,$val13 replytype6=clickfill replyname6=\(x2^2) replygood6=$(val12[2])|$val10,$val11,$val12,$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Compléter le tableau à l'aide des réponses proposées.
!insmath x $()
$(val10[1])
!read oef/embed.phtml reply 1,$val8 $()
!read oef/embed.phtml reply 2,$val8 $()
!insmath \sqrt{x} $()
!read oef/embed.phtml reply 3,$val8 $()
$(val11[2])
!read oef/embed.phtml reply 4,$val8 $()
!insmath x^2 $()
!read oef/embed.phtml reply 5,$val8 $()
!read oef/embed.phtml reply 6,$val8 $()
$(val12[3])
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,11,12 embedcnt=6 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/entier.def0000644000175000017500000000543710117657363026243 0ustar georgeskgeorgesk!set title=Tableau d'entiers. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=13 prevarcnt=12 postvarcnt=0 replycnt=6 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 1, 3 val6=$[rint($(tmp0))] val7=50x50x1 tmp0=!shuffle 1,2,3,5,6,7,10,11 val8=$(tmp0) tmp0=!item 1 of $val8 tmp1=!item 2 of $val8 tmp2=!item 3 of $val8 val8=$(tmp0),$(tmp1),$(tmp2) tmp0=!values (x)^2 for x in $val8 val9=$(tmp0) tmp0=!values (x)^4 for x in $val8 val10=$(tmp0) val11= !for val12 in $val8 tmp0=!append item \(\sqrt{$val12}) to $val11 val11=$(tmp0) !next !if $(val8[$val6])<>1 tmp0=!replace item number $val6 by \($(val9[$val6])) in $val10 val10=$(tmp0) tmp0=!replace item number $val6 by \($(val8[$val6])) in $val9 val9=$(tmp0) tmp0=!replace item number $val6 by \(\sqrt{$(val8[$val6])}) in $val8 val8=$(tmp0) !endif replytype1=clickfill replyname1=x2 replygood1=$(val9[2])|$val9,$val8,$val10,$val11 replytype2=clickfill replyname2=x3 replygood2=$(val9[3])|$val9,$val8,$val10,$val11 replytype3=clickfill replyname3=\(\sqrt{x1}) replygood3=$(val8[1])|$val9,$val8,$val10,$val11 replytype4=clickfill replyname4=\(\sqrt{x3}) replygood4=$(val8[3])|$val9,$val8,$val10,$val11 replytype5=clickfill replyname5=\(x1^2) replygood5=$(val10[1])|$val9,$val8,$val10,$val11 replytype6=clickfill replyname6=\(x2^2) replygood6=$(val10[2])|$val9,$val8,$val10,$val11 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Compléter le tableau à l'aide des réponses proposées.
!insmath x $()
$(val9[1])
!read oef/embed.phtml reply 1,$val7 $()
!read oef/embed.phtml reply 2,$val7 $()
!insmath \sqrt{x} $()
!read oef/embed.phtml reply 3,$val7 $()
$(val8[2])
!read oef/embed.phtml reply 4,$val7 $()
!insmath x^2 $()
!read oef/embed.phtml reply 5,$val7 $()
!read oef/embed.phtml reply 6,$val7 $()
$(val10[3])
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10 embedcnt=6 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/rectangle.def0000644000175000017500000000550310117657706026714 0ustar georgeskgeorgesk!set title=Rectangle et racine carrée !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Buffet Philippe & Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r,r,r varcnt=20 prevarcnt=19 postvarcnt=0 replycnt=4 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 tmp=!trim A,B,C,D E,F,G,H I,J,K,L val6=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val6 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val6=$(tmp0) tmp0=!shuffle $val6 val6=$(tmp0) val6=A,B,C,D tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp0=!item 3 of $val6 val9=$(tmp0) tmp0=!item 4 of $val6 val10=$(tmp0) tmp0=!randint 2, 30 val11=$[rint($(tmp0))] val12=$[rint(floor(sqrt($val11)))] tmp0=!randint 1, $val12 val12=$[rint($(tmp0))] tmp=!translate ";': to $ $ in 4*sqrt($val11) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val13=$(tmp0) val14=$[rint($val11-$val12^2)] tmp=!translate ";': to $ $ in sqrt(2*$val11+2*$val12^2) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val15=$(tmp0) tmp0=!randint 1, 2 val16=$[rint($(tmp0))] !if $val16=1 val17=$val8$val7$val9 val18=$[rint(arctan((sqrt($val11)-$val12)/(sqrt($val11)+$val12))*180/pi)] !else val17=$val8$val9$val7 val18=$[rint(arctan((sqrt($val11)+$val12)/(sqrt($val11)-$val12))*180/pi)] !endif replytype1=litexp replyname1=Périmètre replygood1=$val13 replytype2=litexp replyname2=Aire replygood2=$val14 replytype3=litexp replyname3=Diagonale \($val7$val9) replygood3=$val15 replytype4=litexp replyname4=\(\widehat{$val17}) replygood4=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() !insmath $val7$val8$val9$val10 $() est un rectangle tel que !insmath $val7$val8=\sqrt{$val11}+$val12 $() et !insmath $val8$val9=\sqrt{$val11}-$val12 $().
  • Calculer la valeur exacte de son périmètre.
    Réponse : !read oef/embed.phtml r1,15 $()
  • Calculer la valeur exacte de son aire.
    Réponse : !read oef/embed.phtml r2,15 $()
  • Calculer la longueur exacte de la diagonale !insmath $val7$val9 $().
    Réponse : !read oef/embed.phtml r3,15 $()
  • Calculer la mesure de l'angle !insmath \widehat{$val17} $() à un degré près.
    Réponse : !read oef/embed.phtml r4,15 $()
Attention :
  • Les résultats doivent être le plus simplifiés possibles.
  • Pour écrire !insmath \sqrt{2} $() tapez sqrt(2).
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,11,12,17 embedcnt=4 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/arrondie2.def0000644000175000017500000000411610117657520026626 0ustar georgeskgeorgesk!set title=Valeurs approchées et racines carrées. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=25 prevarcnt=24 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 15, 2000 val6=$[rint($(tmp0))] tmp0=!randint 0, 2 val7=$[rint($(tmp0))] val6=$[$val6/10^($val7)] tmp0=!randint 15, 2000 val8=$[rint($(tmp0))] tmp0=!randint 0, 2 val9=$[rint($(tmp0))] val8=$[$val8/10^($val9)] tmp0=!randint 15, 2000 val10=$[rint($(tmp0))] tmp0=!randint 0, 2 val11=$[rint($(tmp0))] val10=$[$val10/10^($val11)] tmp0=!randitem +,- val12=$(tmp0) tmp=!trim \sqrt{$val6}$val12\sqrt{$val8},sqrt($val6)$val12 sqrt($val8) \sqrt{\frac{$val6}{$val8}},sqrt($val6/$val8) \frac{\sqrt{$val6}}{\sqrt{$val8}},sqrt($val6/$val8) \frac{$val6$val12 \sqrt{$val8}}{\sqrt{$val10}},($val6$val12 sqrt($val8))/sqrt($val10) \frac{\sqrt{$val10}}{$val6+\sqrt{$val8}},sqrt($val10)/($val6+sqrt($val8)) val13=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp0=!item 1 of $val14 val15=$(tmp0) tmp0=!item 2 of $val14 val16=$(tmp0) tmp0=!randint 1, 3 val17=$[rint($(tmp0))] val16=$[rint(($val16)*10^($val17))] val16=$[($val16)/10^($val17)] val16=$val16 val18=dixième,centième,millième tmp0=!item $val17 of $val18 val19=$(tmp0) val19=au $val19 val20=$[10^(-$val17)] val20=à \($val20) tmp0=!randitem $val19,$val20 val21=$(tmp0) replytype1=algexp replyname1=Réponse replygood1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$m_toto1
$m_toto2
Quelle est la valeur approchée $val21 près de !insmath $val15 $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,21 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/liaison5.def0000644000175000017500000000446410117657346026500 0ustar georgeskgeorgesk!set title=Racines et nombres 5. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=43 prevarcnt=42 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=50x50x50 val7=$[rint(5)] tmp0=!randint 4, 20 val8=$[rint($(tmp0))] val9=\(\sqrt{$val8}) tmp0=!randint 1, 9 val10=$[rint($(tmp0))] val10=$[$val10/10] val11=$[$val10^2] tmp0=!randint 2, 13 val12=$[rint($(tmp0))] val13=$[rint($val12^2)] tmp0=!randint 2, 15 val14=$[rint($(tmp0))] val15=\($val14^2) tmp0=!randint 2, 13 val16=$[rint($(tmp0))] val17=$[rint($val16^2)] val16=\(\frac{1}{$val16}) val17=\(\frac{1}{$val17}) tmp0=!randitem 2,4,8,10,11 val18=$[rint($(tmp0))] tmp0=!randitem 3,9,7,13 val19=$[rint($(tmp0))] val20=$[rint($val18^2)] val21=$[rint($val19^2)] val22=\(\frac{$val18}{$val19}) val23=\(\frac{$val20}{$val21}) tmp0=!randitem 1,-1 tmp1=!randint 2, 9 val24=$[rint($(tmp0)*$(tmp1))] val25=$[rint(2*$val24)] val24=\(10^{$val24}) val25=\(10^{$val25}) tmp0=!randint 2, 9 val18=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint 2, 9 val26=$[rint($(tmp0)*$(tmp1))] val27=$[rint(2*$val26)] val26=\($val18^{$val26}) val27=\($val18^{$val27}) val28=$val8;$val9,$val11;$val10,$val13;$val12,$val15;$val14,$val17;$val16,$val23;$val22,$val25;$val24,$val27;$val26 tmp0=!shuffle $val28 val28=$(tmp0) tmp0=!replace internal ; by , in $val28 val28=$(tmp0) val29= val30= !for val31 =1 to $val7 tmp0=!item $val31*2-1 of $val28 val32=$(tmp0) val29=$val29,$val32 tmp0=!item $val31*2 of $val28 val32=$(tmp0) val30=$val30,$val32 !next tmp0=!nonempty item $val29 val29=$(tmp0) tmp0=!nonempty item $val30 val30=$(tmp0) replytype1=correspond replyname1=La correspondance replygood1=$val29;$val30 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

!read oef/embed.phtml reply 1,$val6 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/arrondie1.def0000644000175000017500000000233710117657504026632 0ustar georgeskgeorgesk!set title=Valeur approchée d'une racine carrée. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=15 prevarcnt=14 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 15, 2000 val6=$[rint($(tmp0))] tmp0=!randint 0, 2 val7=$[rint($(tmp0))] tmp0=!randint 1, 3 val8=$[rint($(tmp0))] val6=$[$val6/10^($val7)] val9=\sqrt{$val6} val7=$[rint(sqrt($val6)*10^($val8))] val10=$[$val7/10^($val8)] val10=$val10 val11=dixième,centième,millième tmp0=!item $val8 of $val11 val12=$(tmp0) val12=au $val12 val13=$[10^(-$val8)] val13=à \($val13) tmp0=!randitem $val12,$val13 val14=$(tmp0) replytype1=algexp replyname1=Réponse replygood1=$val10 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Quelle est la valeur approchée $val14 de !insmath $val9 $()? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=9,14 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/.htaccess0000644000175000017500000000001606634516636026065 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/simprod.def0000644000175000017500000000403710117657653026427 0ustar georgeskgeorgesk!set title=Calculer un produit. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r varcnt=22 prevarcnt=21 postvarcnt=0 replycnt=2 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=!randitem 2,3,5,6,7,10,11 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6,7,10,11 val7=$[rint($(tmp0))] val8=$[rint($val6*$val7^2)] tmp0=!randitem 2,3,5 val9=$[rint($(tmp0))] val10=$[rint($val6*$val9)] val11=$[rint($val8*$val9)] val12=$[rint($val6*$val7)] tmp=!trim \sqrt{$val6}\times\sqrt{$val8},$val12 \sqrt{$val6}\times\sqrt{$val6},$val6 \sqrt{$val6}\times\sqrt{$val11},$val12*sqrt($val9) \sqrt{$val10}\times\sqrt{$val8},$val12*sqrt($val9) \sqrt{$val10}\times\sqrt{$val6},$val6*sqrt($val9) \sqrt{$val6}\times\sqrt{$val10},$val6*sqrt($val9) val13=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val13 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp0=!item 1 of $val14 val15=$(tmp0) tmp0=!item 2 of $val14 val16=$(tmp0) tmp0=!randint 1, 3 val17=$[rint($(tmp0))] val18=$[rint($val16*10^($val17))] val18=$[$val18/10^($val17)] val18=$val18 val19=dixième,centième,millième tmp0=!item $val17 of $val19 val20=$(tmp0) val20=au $val20 val21=$[10^(-$val17)] val21=à \($val21) tmp0=!randitem $val20,$val21 val22=$(tmp0) replytype1=algexp replyname1=Ecriture simplifiée replygood1=$val16 replytype2=litexp replyname2=Valeur approchée replygood2=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Simplifier puis calculer la valeur approchée $val22 près du nombre !insmath $val15 $().
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=15,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/simpquot.def0000644000175000017500000000501410117657635026627 0ustar georgeskgeorgesk!set title=Calculer un quotient. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r varcnt=26 prevarcnt=25 postvarcnt=0 replycnt=2 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=!randitem 2,3,5,6,7,10,11 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6,7,10,11 val7=$[rint($(tmp0))] val8=$[rint($val6*$val7^2)] tmp0=!randitem 2,3,5 val9=$[rint($(tmp0))] val10=$[rint(gcd($val9,$val7))] !ifval $val10<>1 val9=$[rint(13)] !endif val11=$[rint($val6*$val9)] val12=$[rint($val8*$val9)] val13=$[rint($val6*$val7)] val14=$[rint($val7*$val9)] val15=$[rint($val7^2)] tmp=!trim \frac{\sqrt{$val8}}{\sqrt{$val6}},$val7 $val9\frac{\sqrt{$val8}}{\sqrt{$val6}},$val14 \frac{$val9\sqrt{$val8}}{\sqrt{$val6}},$val14 \sqrt{\frac{1}{$val15}},1/$val7 $val9\sqrt{\frac{1}{$val15}},$val9/$val7 \frac{\sqrt{$val6}}{\sqrt{$val8}},1/$val7 \frac{\sqrt{$val6}}{$val9\sqrt{$val8}},1/$val14 $val9\frac{\sqrt{$val6}}{\sqrt{$val8}},$val9/$val7 \frac{$val9\sqrt{$val6}}{\sqrt{$val8}},$val9/$val7 \frac{\sqrt{$val12}}{\sqrt{$val6}},$val7*sqrt($val9) \sqrt{\frac{$val9}{$val15}},sqrt($val9)/$val7 \frac{\sqrt{$val11}}{\sqrt{$val8}},sqrt($val9)/$val7 val16=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val16 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val17=$(tmp0) tmp0=!item 1 of $val17 val18=$(tmp0) tmp0=!item 2 of $val17 tmp=!translate ";': to $ $ in $(tmp0) tmp=!lower $tmp tmp1=!exec maxima fullratsimp($tmp); val19=$(tmp1) tmp0=!randint 1, 3 val20=$[rint($(tmp0))] val21=$[rint($val19*10^($val20))] val21=$[$val21/10^($val20)] val21=$val21 val22=dixième,centième,millième tmp0=!item $val20 of $val22 val23=$(tmp0) val23=au $val23 val24=$[10^(-$val20)] val24=à \($val24) tmp0=!randitem $val23,$val24 val25=$(tmp0) replytype1=algexp replyname1=Ecriture simplifiée replygood1=$val19 replytype2=litexp replyname2=Valeur approchée replygood2=$val21 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Simplifier puis calculer la valeur approchée $val25 près du nombre !insmath $val18 $().
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=18,25 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/liaison4.def0000644000175000017500000000446410117657346026477 0ustar georgeskgeorgesk!set title=Racines et nombres 4. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=43 prevarcnt=42 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=50x50x50 val7=$[rint(4)] tmp0=!randint 4, 20 val8=$[rint($(tmp0))] val9=\(\sqrt{$val8}) tmp0=!randint 1, 9 val10=$[rint($(tmp0))] val10=$[$val10/10] val11=$[$val10^2] tmp0=!randint 2, 13 val12=$[rint($(tmp0))] val13=$[rint($val12^2)] tmp0=!randint 2, 15 val14=$[rint($(tmp0))] val15=\($val14^2) tmp0=!randint 2, 13 val16=$[rint($(tmp0))] val17=$[rint($val16^2)] val16=\(\frac{1}{$val16}) val17=\(\frac{1}{$val17}) tmp0=!randitem 2,4,8,10,11 val18=$[rint($(tmp0))] tmp0=!randitem 3,9,7,13 val19=$[rint($(tmp0))] val20=$[rint($val18^2)] val21=$[rint($val19^2)] val22=\(\frac{$val18}{$val19}) val23=\(\frac{$val20}{$val21}) tmp0=!randitem 1,-1 tmp1=!randint 2, 9 val24=$[rint($(tmp0)*$(tmp1))] val25=$[rint(2*$val24)] val24=\(10^{$val24}) val25=\(10^{$val25}) tmp0=!randint 2, 9 val18=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint 2, 9 val26=$[rint($(tmp0)*$(tmp1))] val27=$[rint(2*$val26)] val26=\($val18^{$val26}) val27=\($val18^{$val27}) val28=$val8;$val9,$val11;$val10,$val13;$val12,$val15;$val14,$val17;$val16,$val23;$val22,$val25;$val24,$val27;$val26 tmp0=!shuffle $val28 val28=$(tmp0) tmp0=!replace internal ; by , in $val28 val28=$(tmp0) val29= val30= !for val31 =1 to $val7 tmp0=!item $val31*2-1 of $val28 val32=$(tmp0) val29=$val29,$val32 tmp0=!item $val31*2 of $val28 val32=$(tmp0) val30=$val30,$val32 !next tmp0=!nonempty item $val29 val29=$(tmp0) tmp0=!nonempty item $val30 val30=$(tmp0) replytype1=correspond replyname1=La correspondance replygood1=$val29;$val30 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

!read oef/embed.phtml reply 1,$val6 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/corres5.def0000644000175000017500000000364010117657314026325 0ustar georgeskgeorgesk!set title=Correspondance de racines carrées 5. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=29 prevarcnt=28 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=50x75x75 val7=$[rint(5)] val8= val9= !for val10 =1 to $val7 tmp0=!randitem 2,3,5,7 val11=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6 val12=$[rint($(tmp0))] tmp0=!randint 7, 15 val13=$[rint($(tmp0))] val14=$[rint($val11^2)] val15=$[rint($val11^3)] val16=$[rint($val11^4)] val17=$[rint($val11*$val12)] val18=$[rint($val14*$val12)] val19=$[rint($val15*$val12)] val20=$[rint($val16*$val12)] val21=$[rint($val11*$val13)] val22=$[rint($val11^2*$val13)] val23=\sqrt{$val18};$val11\sqrt{$val12},$val13\sqrt{$val18};$val21\sqrt{$val12},\sqrt{$val15};$val11\sqrt{$val11},\sqrt{$val19};$val11\sqrt{$val17},$val13\sqrt{$val15};$val21\sqrt{$val11},$val13\sqrt{$val19};$val21\sqrt{$val17} tmp=!nonempty items $val23 tmp0=!randitem $tmp val24=$(tmp0) tmp0=!replace internal ; by , in $val24 val24=$(tmp0) tmp0=!item 1 of $val24 val25=$(tmp0) val8=$val8,\($val25) tmp0=!item 2 of $val24 val25=$(tmp0) val9=$val9,\($val25) !next tmp0=!nonempty item $val8 val8=$(tmp0) tmp0=!nonempty item $val9 val9=$(tmp0) tmp0=!listuniq $val8 val8=$(tmp0) tmp0=!listuniq $val9 val9=$(tmp0) replytype1=correspond replyname1=La correspondance replygood1=$val8;$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mettez en relation les nombres égaux.

!read oef/embed.phtml reply 1,$val6 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/puissance1.def0000644000175000017500000000557210117657363027030 0ustar georgeskgeorgesk!set title=Tableau de puissances de 10. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=19 prevarcnt=18 postvarcnt=0 replycnt=6 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 1, 3 val6=$[rint($(tmp0))] val7=10,10,10 val8=60x50x1 tmp0=!shuffle -2,-3,-4,-5,-6,2,3,4,5,6 val9=$(tmp0) val9=2,4,6 tmp0=!item 1 of $val9 tmp1=!item 2 of $val9 tmp2=!item 3 of $val9 val9=$(tmp0),$(tmp1),$(tmp2) val10= val11= val12= val13= !for val14 =1 to 3 val15=$[rint($(val9[$val14])/2)] !if $val15 notitemof $val9 tmp0=!append item \(\sqrt{$(val7[$val14])^{$(val9[$val14])}}) to $val13 val13=$(tmp0) !endif tmp0=!append item \($(val7[$val14])^{$(val9[$val14])}) to $val11 val11=$(tmp0) val15=$[rint(2*$(val9[$val14]))] tmp0=!append item \($(val7[$val14])^{$val15}) to $val10 val10=$(tmp0) val15=$[rint(2*$val15)] tmp0=!append item \($(val7[$val14])^{$val15}) to $val12 val12=$(tmp0) !next replytype1=clickfill replyname1=x2 replygood1=$(val10[2])|$val10,$val11,$val12,$val13 replytype2=clickfill replyname2=x3 replygood2=$(val10[3])|$val10,$val11,$val12,$val13 replytype3=clickfill replyname3=\(\sqrt{x1}) replygood3=$(val11[1])|$val10,$val11,$val12,$val13 replytype4=clickfill replyname4=\(\sqrt{x3}) replygood4=$(val11[3])|$val10,$val11,$val12,$val13 replytype5=clickfill replyname5=\(x1^2) replygood5=$(val12[1])|$val10,$val11,$val12,$val13 replytype6=clickfill replyname6=\(x2^2) replygood6=$(val12[2])|$val10,$val11,$val12,$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Compléter le tableau à l'aide des réponses proposées.
!insmath x $()
$(val10[1])
!read oef/embed.phtml reply 1,$val8 $()
!read oef/embed.phtml reply 2,$val8 $()
!insmath \sqrt{x} $()
!read oef/embed.phtml reply 3,$val8 $()
$(val11[2])
!read oef/embed.phtml reply 4,$val8 $()
!insmath x^2 $()
!read oef/embed.phtml reply 5,$val8 $()
!read oef/embed.phtml reply 6,$val8 $()
$(val12[3])
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,11,12 embedcnt=6 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/devred2.def0000644000175000017500000000355010117657604026300 0ustar georgeskgeorgesk!set title=Développer/réduire 2. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=12 prevarcnt=11 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=!randitem 2,3,5 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,7,11 val7=$[rint($(tmp0))] !ifval $val6=$val7 val7=$[rint(11)] !endif val8=$[rint($val6*$val7)] tmp0=!randint 2, 10 val9=$[rint($(tmp0))] tmp0=!randint 2, 10 val10=$[rint($(tmp0))] tmp=!trim (\sqrt{$val6}+\sqrt{$val8})^2,$val6+$val8+2*$val6*sqrt($val7) (\sqrt{$val6}-\sqrt{$val8})^2,$val6+$val8-2*$val6*sqrt($val7) ($val9\sqrt{$val6}+\sqrt{$val8})(\sqrt{$val6}-$val9\sqrt{$val8}),$val9*$val6-$val9*$val8+(1-$val9^2)*$val6*sqrt($val7) ($val9\sqrt{$val6}+\sqrt{$val8})^2,$val9^2*$val6+$val8+$val9*$val6*sqrt($val7) ($val10+\sqrt{$val6})($val9-\sqrt{$val8}),$val10*$val9-$val10*\sqrt($val8)+$val9*sqrt($val6)-$val6*sqrt($val7) val11=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$(tmp0) t_=!replace internal \( by ( in $val14; tmp0=!exec maxima $t_ val14=$(tmp0) replytype1=algexp replyname1=Réponse replygood1=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Développer et réduire l'expression !insmath $val13 $().
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/rationnel.def0000644000175000017500000000651210117657363026743 0ustar georgeskgeorgesk!set title=Tableau de fractions. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r,r,r,r,r,r varcnt=26 prevarcnt=25 postvarcnt=0 replycnt=6 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 1, 3 val6=$[rint($(tmp0))] val7=50x70x1 val8=1/2,2/3,1/3,1/5,2/5,3/5,1/6,5/6,1/7,2/7,3/7,5/7 tmp0=!shuffle $val8 val9=$(tmp0) tmp0=!item 1 of $val8 tmp1=!item 2 of $val8 tmp2=!item 3 of $val8 val9=$(tmp0),$(tmp1),$(tmp2) val10= val11= val12= val13= !for val14 =1 to 3 tmp0=!replace internal / by , in $(val9[$val14]) val15=$(tmp0) val16=$[rint($(val15[1])^2)] val17=$[rint($(val15[2])^2)] val18=$[rint($val16^2)] val19=$[rint($val17^2)] !if $val14=$val6 val20=\sqrt{\frac{$(val15[1])}{$(val15[2])}} !ifval $(val15[1])=1 val20=\frac{1}{\sqrt{$(val15[2])}},$val20 !else val20=$val20 !endif tmp=!nonempty items $val20 tmp0=!randitem $tmp val20=$(tmp0) tmp0=!append item \($val20) to $val11 val11=$(tmp0) tmp0=!append item \(\frac{$(val15[1])}{$(val15[2])}) to $val10 val10=$(tmp0) tmp0=!append item \(\frac{$val16}{$val17}) to $val12 val12=$(tmp0) !else tmp0=!append item \(\frac{$(val15[1])}{$(val15[2])}) to $val11 val11=$(tmp0) tmp0=!append item \(\frac{$val16}{$val17}) to $val10 val10=$(tmp0) tmp0=!append item \(\frac{$val18}{$val19}) to $val12 val12=$(tmp0) tmp0=!append item \(\sqrt{\frac{$(val15[1])}{$(val15[2])}}) to $val13 val13=$(tmp0) !endif !next replytype1=clickfill replyname1=x2 replygood1=$(val10[2])|$val10,$val11,$val12,$val13 replytype2=clickfill replyname2=x3 replygood2=$(val10[3])|$val10,$val11,$val12,$val13 replytype3=clickfill replyname3=\(\sqrt{x1}) replygood3=$(val11[1])|$val10,$val11,$val12,$val13 replytype4=clickfill replyname4=\(\sqrt{x3}) replygood4=$(val11[3])|$val10,$val11,$val12,$val13 replytype5=clickfill replyname5=\(x1^2) replygood5=$(val12[1])|$val10,$val11,$val12,$val13 replytype6=clickfill replyname6=\(x2^2) replygood6=$(val12[2])|$val10,$val11,$val12,$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Compléter le tableau à l'aide des réponses proposées.
!insmath x $()
$(val10[1])
!read oef/embed.phtml reply 1,$val7 $()
!read oef/embed.phtml reply 2,$val7 $()
!insmath \sqrt{x} $()
!read oef/embed.phtml reply 3,$val7 $()
$(val11[2])
!read oef/embed.phtml reply 4,$val7 $()
!insmath x^2 $()
!read oef/embed.phtml reply 5,$val7 $()
!read oef/embed.phtml reply 6,$val7 $()
$(val12[3])
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,10,11,12 embedcnt=6 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/reduitsom4.def0000644000175000017500000000341310117657331027037 0ustar georgeskgeorgesk!set title=Ecriture réduite d'une somme 4. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=15 prevarcnt=14 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=50x50x50 val7=$[rint(4)] tmp0=!randitem 2,3,5,6,7,10 val8=$[rint($(tmp0))] tmp0=!randint 2, 15 tmp1=!randint 2, 15 tmp2=!randint 2, 15 tmp3=!randint 2, 15 val9=$(tmp0),$(tmp1),$(tmp2),$(tmp3) tmp0=!randitem -1,1 tmp1=!randint 2, 15 tmp2=!randitem -1,1 tmp3=!randint 2, 15 tmp4=!randitem -1,1 tmp5=!randint 2, 15 tmp6=!randitem -1,1 tmp7=!randint 2, 15 val10=$(tmp0)*$(tmp1),$(tmp2)*$(tmp3),$(tmp4)*$(tmp5),$(tmp6)*$(tmp7) val11= val12=$[rint(0)] !for val13 =1 to $val7 val14=$[rint(($(val9[$val13]))^2*$val8)] val15=$[rint($(val10[$val13]))] !ifval $val15>0 and $val13>1 val16=+ !else val16= !endif val11=$val11 $val16 $val15\sqrt{$val14} val12=$[rint($val12+($val15)*($(val9[$val13])))] !next val17=$val12*sqrt($val8) replytype1=algexp replyname1=Réponse replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ecrire le nombre !insmath $val11 $() sous la forme !insmath a\sqrt{b} $() où !insmath b $() est un entier le plus petit possible.
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $()Faire apparaitre !insmath \sqrt{$val8} $() dans chacun des termes de la somme. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/reduitsom2.def0000644000175000017500000000341310117657331027035 0ustar georgeskgeorgesk!set title=Ecriture réduite d'une somme 2. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=15 prevarcnt=14 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=50x50x50 val7=$[rint(2)] tmp0=!randitem 2,3,5,6,7,10 val8=$[rint($(tmp0))] tmp0=!randint 2, 15 tmp1=!randint 2, 15 tmp2=!randint 2, 15 tmp3=!randint 2, 15 val9=$(tmp0),$(tmp1),$(tmp2),$(tmp3) tmp0=!randitem -1,1 tmp1=!randint 2, 15 tmp2=!randitem -1,1 tmp3=!randint 2, 15 tmp4=!randitem -1,1 tmp5=!randint 2, 15 tmp6=!randitem -1,1 tmp7=!randint 2, 15 val10=$(tmp0)*$(tmp1),$(tmp2)*$(tmp3),$(tmp4)*$(tmp5),$(tmp6)*$(tmp7) val11= val12=$[rint(0)] !for val13 =1 to $val7 val14=$[rint(($(val9[$val13]))^2*$val8)] val15=$[rint($(val10[$val13]))] !ifval $val15>0 and $val13>1 val16=+ !else val16= !endif val11=$val11 $val16 $val15\sqrt{$val14} val12=$[rint($val12+($val15)*($(val9[$val13])))] !next val17=$val12*sqrt($val8) replytype1=algexp replyname1=Réponse replygood1=$val17 question=__EXECUTED_1692754_EXERCISE__ hint=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ecrire le nombre !insmath $val11 $() sous la forme !insmath a\sqrt{b} $() où !insmath b $() est un entier le plus petit possible.
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $()Faire apparaitre !insmath \sqrt{$val8} $() dans chacun des termes de la somme. $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,11 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/devred.def0000644000175000017500000000536610117657567026235 0ustar georgeskgeorgesk!set title=Développer/réduire 1. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=12 prevarcnt=11 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=!randitem 2,3,5,6,7,10,11 val6=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6,7,10,11 val7=$[rint($(tmp0))] val8=$[rint(gcd($val6,$val7))] !ifval $val8<>1 val7=$[rint(13)] !endif tmp0=!randint 2, 10 val9=$[rint($(tmp0))] tmp0=!randint 2, 10 val10=$[rint($(tmp0))] tmp=!trim (\sqrt{$val6}+$val10)(\sqrt{$val6}-$val10),$val6-$val10^2 ($val10+\sqrt{$val6})($val10-\sqrt{$val6}),$val10^2-$val6 (\sqrt{$val6}+\sqrt{$val7})(\sqrt{$val6}-\sqrt{$val7}),$val6-$val7 ($val10+\sqrt{$val6})^2,$val10^2+$val6+2*$val10*sqrt($val6) (\sqrt{$val6}+$val10)^2,$val10^2+$val6+2*$val10*sqrt($val6) ($val10-\sqrt{$val6})^2,$val10^2+$val6-2*$val10*sqrt($val6) (\sqrt{$val6}-$val10)^2,$val10^2+$val6-2*$val10*sqrt($val6) (\sqrt{$val6}+\sqrt{$val7})^2,$val6+$val7+2*sqrt($val6*$val7) (\sqrt{$val6}-\sqrt{$val7})^2,$val6+$val7-2*sqrt($val6*$val7) ($val9\sqrt{$val6}+\sqrt{$val7})(\sqrt{$val6}-$val9\sqrt{$val7}),$val9*$val6-$val9*$val7+(1-$val9^2)*sqrt($val6*$val7) ($val9\sqrt{$val6}+$val10)($val9\sqrt{$val6}-$val10),$val9^2*$val6-$val10^2 ($val10+$val9\sqrt{$val6})($val10-$val9\sqrt{$val6}),$val10^2-$val6*$val9^2 ($val10+$val9\sqrt{$val6})^2,$val10^2+$val9^2*$val6+2*$val10*$val9*sqrt($val6) ($val9\sqrt{$val6}+$val10)^2,$val10^2+$val9^2*$val6+2*$val10*$val9*sqrt($val6) ($val10-$val9\sqrt{$val6})^2,$val10^2+$val9^2*$val6-2*$val10*$val9*sqrt($val6) ($val9\sqrt{$val6}-$val10)^2,$val10^2+$val9^2*$val6-2*$val10*$val9*sqrt($val6) ($val9\sqrt{$val6}+\sqrt{$val7})^2,$val9^2*$val6+$val7+2*$val9*sqrt($val6*$val7) ($val10+\sqrt{$val6})($val9-\sqrt{$val7}),$val10*$val9-$val10*\sqrt($val7)+$val9*sqrt($val6)-sqrt($val6*$val7) val11=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val12=$(tmp0) tmp0=!item 1 of $val12 val13=$(tmp0) tmp0=!item 2 of $val12 val14=$(tmp0) t_=!replace internal \( by ( in $val14; tmp0=!exec maxima $t_ val14=$(tmp0) replytype1=algexp replyname1=Réponse replygood1=$val14 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Développer et réduire l'expression !insmath $val13 $().
(vous devez taper sqrt(2) pour !insmath \sqrt{2} $() ) $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=13 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/liaison3.def0000644000175000017500000000446410117657346026476 0ustar georgeskgeorgesk!set title=Racines et nombres 3. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=43 prevarcnt=42 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=50x50x50 val7=$[rint(3)] tmp0=!randint 4, 20 val8=$[rint($(tmp0))] val9=\(\sqrt{$val8}) tmp0=!randint 1, 9 val10=$[rint($(tmp0))] val10=$[$val10/10] val11=$[$val10^2] tmp0=!randint 2, 13 val12=$[rint($(tmp0))] val13=$[rint($val12^2)] tmp0=!randint 2, 15 val14=$[rint($(tmp0))] val15=\($val14^2) tmp0=!randint 2, 13 val16=$[rint($(tmp0))] val17=$[rint($val16^2)] val16=\(\frac{1}{$val16}) val17=\(\frac{1}{$val17}) tmp0=!randitem 2,4,8,10,11 val18=$[rint($(tmp0))] tmp0=!randitem 3,9,7,13 val19=$[rint($(tmp0))] val20=$[rint($val18^2)] val21=$[rint($val19^2)] val22=\(\frac{$val18}{$val19}) val23=\(\frac{$val20}{$val21}) tmp0=!randitem 1,-1 tmp1=!randint 2, 9 val24=$[rint($(tmp0)*$(tmp1))] val25=$[rint(2*$val24)] val24=\(10^{$val24}) val25=\(10^{$val25}) tmp0=!randint 2, 9 val18=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint 2, 9 val26=$[rint($(tmp0)*$(tmp1))] val27=$[rint(2*$val26)] val26=\($val18^{$val26}) val27=\($val18^{$val27}) val28=$val8;$val9,$val11;$val10,$val13;$val12,$val15;$val14,$val17;$val16,$val23;$val22,$val25;$val24,$val27;$val26 tmp0=!shuffle $val28 val28=$(tmp0) tmp0=!replace internal ; by , in $val28 val28=$(tmp0) val29= val30= !for val31 =1 to $val7 tmp0=!item $val31*2-1 of $val28 val32=$(tmp0) val29=$val29,$val32 tmp0=!item $val31*2 of $val28 val32=$(tmp0) val30=$val30,$val32 !next tmp0=!nonempty item $val29 val29=$(tmp0) tmp0=!nonempty item $val30 val30=$(tmp0) replytype1=correspond replyname1=La correspondance replygood1=$val29;$val30 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

!read oef/embed.phtml reply 1,$val6 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/def/corres3.def0000644000175000017500000000364010117657314026323 0ustar georgeskgeorgesk!set title=Correspondance de racines carrées 3. !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr author=Guerimand Fabrice email=fwguerima@free.fr computeanswer=no precision=10000 ansorder=r varcnt=29 prevarcnt=28 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=50x75x75 val7=$[rint(3)] val8= val9= !for val10 =1 to $val7 tmp0=!randitem 2,3,5,7 val11=$[rint($(tmp0))] tmp0=!randitem 2,3,5,6 val12=$[rint($(tmp0))] tmp0=!randint 7, 15 val13=$[rint($(tmp0))] val14=$[rint($val11^2)] val15=$[rint($val11^3)] val16=$[rint($val11^4)] val17=$[rint($val11*$val12)] val18=$[rint($val14*$val12)] val19=$[rint($val15*$val12)] val20=$[rint($val16*$val12)] val21=$[rint($val11*$val13)] val22=$[rint($val11^2*$val13)] val23=\sqrt{$val18};$val11\sqrt{$val12},$val13\sqrt{$val18};$val21\sqrt{$val12},\sqrt{$val15};$val11\sqrt{$val11},\sqrt{$val19};$val11\sqrt{$val17},$val13\sqrt{$val15};$val21\sqrt{$val11},$val13\sqrt{$val19};$val21\sqrt{$val17} tmp=!nonempty items $val23 tmp0=!randitem $tmp val24=$(tmp0) tmp0=!replace internal ; by , in $val24 val24=$(tmp0) tmp0=!item 1 of $val24 val25=$(tmp0) val8=$val8,\($val25) tmp0=!item 2 of $val24 val25=$(tmp0) val9=$val9,\($val25) !next tmp0=!nonempty item $val8 val8=$(tmp0) tmp0=!nonempty item $val9 val9=$(tmp0) tmp0=!listuniq $val8 val8=$(tmp0) tmp0=!listuniq $val9 val9=$(tmp0) replytype1=correspond replyname1=La correspondance replygood1=$val8;$val9 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Mettez en relation les nombres égaux.

!read oef/embed.phtml reply 1,$val6 $()
$() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/intro.phtml0000644000175000017500000000026210315754115025720 0ustar georgeskgeorgesk!header !read Exindex Este módulo reagrupa por el momento $exototal ejercicios de nivel de primaria sobre las raíces cuadradas. !read oef/$module_language/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/Exindex0000644000175000017500000000161610117661533025053 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of simprod,simpquot,corres3,corres4,corres5,devred,devred2,reduitsom2,reduitsom3,reduitsom4,ecriture,liaison3,liaison4,liaison5,rectangle,entier,decimal,rationnel,puissance1,puissance2,arrondie1,arrondie2, !set titlelist=!char 1 to -2 of Calculer un produit.,Calculer un quotient.,Correspondance de racines carrées 3.,Correspondance de racines carrées 4.,Correspondance de racines carrées 5.,Développer/réduire 1.,Développer/réduire 2.,Ecriture réduite d'une somme 2.,Ecriture réduite d'une somme 3.,Ecriture réduite d'une somme 4.,Ecriture réduite.,Racines et nombres 3.,Racines et nombres 4.,Racines et nombres 5.,Rectangle et racine carrée,Tableau d'entiers.,Tableau de décimaux.,Tableau de fractions.,Tableau de puissances de 10.,Tableau de puissances quelconques.,Valeur approchée d'une racine carrée.,Valeurs approchées et racines carrées., !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/Extitles0000644000175000017500000000145210117661533025246 0ustar georgeskgeorgeskarrondie1:Valeur approchée d'une racine carrée. arrondie2:Valeurs approchées et racines carrées. corres3:Correspondance de racines carrées 3. corres4:Correspondance de racines carrées 4. corres5:Correspondance de racines carrées 5. decimal:Tableau de décimaux. devred:Développer/réduire 1. devred2:Développer/réduire 2. ecriture:Ecriture réduite. entier:Tableau d'entiers. liaison3:Racines et nombres 3. liaison4:Racines et nombres 4. liaison5:Racines et nombres 5. puissance1:Tableau de puissances de 10. puissance2:Tableau de puissances quelconques. rationnel:Tableau de fractions. rectangle:Rectangle et racine carrée reduitsom2:Ecriture réduite d'une somme 2. reduitsom3:Ecriture réduite d'une somme 3. reduitsom4:Ecriture réduite d'une somme 4. simpquot:Calculer un quotient. simprod:Calculer un produit. wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/var.proc0000644000175000017500000000075507757165545025226 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/images/0000755000175000017500000000000006756175173025003 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/about.phtml0000644000175000017500000000005310315754115025675 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/.htaccess0000644000175000017500000000003010000600741025270 0ustar georgeskgeorgeskoption -FollowSymLinks wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/main.phtml0000644000175000017500000000003110315754115025503 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/COPYING0000644000175000017500000004307706355652460024576 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/INDEX0000644000175000017500000000075610315754115024321 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 2.50. # Do not edit by hand. title=Ejercicios sobre raíces description=raíces cuadradas reales. language=es category=oef, exercise domain=algebra level=H3,H4 keywords=racines carrées require= scoring=yes copyright=© 2004 (GNU GPL) author=Fabrice Guerimand address=fguerima@tele2.fr version=1.00 wims_version=3.35a vardef=oef/var.def translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/README0000644000175000017500000000042707750722521024407 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Install source files. 5. Run the script mkindex. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/0000755000175000017500000000000010106632551024303 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/corres5.oef0000644000175000017500000000232110117657313026363 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corres-rac.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x75x75} \integer{nombre=5} \title{Correspondance de racines carrées 5.} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \integer{a=random(2,3,5,7)} \integer{b=random(2,3,5,6)} \integer{c=random(7..15)} \integer{a2=\a^2} \integer{a3=\a^3} \integer{a4=\a^4} \integer{ab=\a*\b} \integer{a2b=\a2*\b} \integer{a3b=\a3*\b} \integer{a4b=\a4*\b} \integer{ac=\a*\c} \integer{a2c=\a^2*\c} \text{don=\sqrt{\a2b};\a\sqrt{\b},\c\sqrt{\a2b};\ac\sqrt{\b},\sqrt{\a3};\a\sqrt{\a},\sqrt{\a3b};\a\sqrt{\ab},\c\sqrt{\a3};\ac\sqrt{\a},\c\sqrt{\a3b};\ac\sqrt{\ab}} \text{list=randitem(\don)} \text{list=wims(replace internal ; by , in \list)} \text{tmp=item(1,\list)} \text{nb=\nb,\(\tmp)} \text{tmp=item(2,\list)} \text{ra=\ra,\(\tmp)} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \text{nb=wims(listuniq \nb)} \text{ra=wims(listuniq \ra)} \statement{Mettez en relation les nombres égaux.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/arrondie2.oef0000644000175000017500000000227210117657520026673 0ustar georgeskgeorgesk\language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \title{Valeurs approchées et racines carrées.} \integer{a=random(15..2000)} \integer{va=random(0..2)} \real{a=\a/10^(\va)} \integer{b=random(15..2000)} \integer{vb=random(0..2)} \real{b=\b/10^(\vb)} \integer{c=random(15..2000)} \integer{vc=random(0..2)} \real{c=\c/10^(\vc)} \text{sg=random(+,-)} \matrix{don=\sqrt{\a}\sg\sqrt{\b},sqrt(\a)\sg sqrt(\b) \sqrt{\frac{\a}{\b}},sqrt(\a/\b) \frac{\sqrt{\a}}{\sqrt{\b}},sqrt(\a/\b) \frac{\a\sg \sqrt{\b}}{\sqrt{\c}},(\a\sg sqrt(\b))/sqrt(\c) \frac{\sqrt{\c}}{\a+\sqrt{\b}},sqrt(\c)/(\a+sqrt(\b)) } \text{list=randrow(\don)} \text{enonce=item(1,\list)} \text{rep=item(2,\list)} \integer{prec=random(1..3)} \integer{rep=(\rep)*10^(\prec)} \real{rep=(\rep)/10^(\prec)} \text{rep=\rep} \text{listprec=dixième,centième,millième} \text{precision1=item(\prec,\listprec)} \text{precision1= au \precision1} \real{precision2=10^(-\prec)} \text{precision2=à \(\precision2)} \text{precision=random(\precision1,\precision2)} \statement{\toto1
\toto2
Quelle est la valeur approchée \precision près de \(\enonce)? } \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/devred2.oef0000644000175000017500000000154210117657604026343 0ustar georgeskgeorgesk\title{Développer/réduire 2.} \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2,3,5)} \integer{b=random(2,3,5,7,11)} \integer{b=\a=\b?11} \integer{ab=\a*\b} \integer{c=random(2..10)} \integer{d=random(2..10)} \matrix{don=(\sqrt{\a}+\sqrt{\ab})^2,\a+\ab+2*\a*sqrt(\b) (\sqrt{\a}-\sqrt{\ab})^2,\a+\ab-2*\a*sqrt(\b) (\c\sqrt{\a}+\sqrt{\ab})(\sqrt{\a}-\c\sqrt{\ab}),\c*\a-\c*\ab+(1-\c^2)*\a*sqrt(\b) (\c\sqrt{\a}+\sqrt{\ab})^2,\c^2*\a+\ab+\c*\a*sqrt(\b) (\d+\sqrt{\a})(\c-\sqrt{\ab}),\d*\c-\d*\sqrt(\ab)+\c*sqrt(\a)-\a*sqrt(\b)} \text{list=randrow(\don)} \text{enonce=item(1,\list)} \text{rep=item(2,\list)} \text{rep=maxima(\rep;)} \statement{Développer et réduire l'expression \(\enonce).
(vous devez taper sqrt(2) pour \(\sqrt{2}) )} \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/entier.oef0000644000175000017500000000350610117657363026302 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/tableau.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ch=random(1..3)} \title{Tableau d'entiers.} \text{size=50x50x1} \text{B=shuffle(1,2,3,5,6,7,10,11)} \text{B=item(1,\B),item(2,\B),item(3,\B)} \text{A=wims(values (x)^2 for x in \B)} \text{C=wims(values (x)^4 for x in \B)} \text{plus=} \for{x in \B}{\text{plus=wims(append item \(\sqrt{\x}) to \plus)}} \if{\B[\ch]<>1}{ \text{C=wims(replace item number \ch by \(\A[\ch]) in \C)} \text{A=wims(replace item number \ch by \(\B[\ch]) in \A)} \text{B=wims(replace item number \ch by \(\sqrt{\B[\ch]}) in \B)}} \statement{Compléter le tableau à l'aide des réponses proposées.
\(x)
\A[1]
\embed{reply 1,\size}
\embed{reply 2,\size}
\(\sqrt{x})
\embed{reply 3,\size}
\B[2]
\embed{reply 4,\size}
\(x^2)
\embed{reply 5,\size}
\embed{reply 6,\size}
\C[3]
} \reply{x2}{\A[2]|\A,\B,\C,\plus}{type=clickfill} \reply{x3}{\A[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x1})}{\B[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x3})}{\B[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x1^2)}{\C[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x2^2)}{\C[2]|\A,\B,\C,\plus}{type=clickfill} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/liaison3.oef0000644000175000017500000000301610117657346026532 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/liaison-rac.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} \integer{nombre=3} \title{Racines et nombres 3.} \integer{N1=random(4..20)} \text{R1=\(\sqrt{\N1})} \integer{R2=random(1..9)} \real{R2=\R2/10} \real{N2=\R2^2} \integer{R3=random(2..13)} \integer{N3=\R3^2} \integer{R4=random(2..15)} \text{N4=\(\R4^2)} \integer{R5=random(2..13)} \integer{N5=\R5^2} \text{R5=\(\frac{1}{\R5})} \text{N5=\(\frac{1}{\N5})} \integer{a=random(2,4,8,10,11)} \integer{b=random(3,9,7,13)} \integer{A=\a^2} \integer{B=\b^2} \text{R6=\(\frac{\a}{\b})} \text{N6=\(\frac{\A}{\B})} \integer{R7=random(1,-1)*random(2..9)} \integer{N7=2*\R7} \text{R7=\(10^{\R7})} \text{N7=\(10^{\N7})} \integer{a=random(2..9)} \integer{R8=random(1,-1)*random(2..9)} \integer{N8=2*\R8} \text{R8=\(\a^{\R8})} \text{N8=\(\a^{\N8})} \text{don=\N1;\R1,\N2;\R2,\N3;\R3,\N4;\R4,\N5;\R5,\N6;\R6,\N7;\R7,\N8;\R8} \text{don=shuffle(\don)} \text{don=wims(replace internal ; by , in \don)} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \text{tmp=item(\i*2-1,\don)} \text{nb=\nb,\tmp} \text{tmp=item(\i*2,\don)} \text{ra=\ra,\tmp} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \statement{Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/puissance1.oef0000644000175000017500000000372610117657363027073 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/tableau.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ch=random(1..3)} \title{Tableau de puissances de 10.} \text{nombre=10,10,10} \text{size=60x50x1} \text{puis=shuffle(-2,-3,-4,-5,-6,2,3,4,5,6)} \text{puis=2,4,6} \text{puis=item(1,\puis),item(2,\puis),item(3,\puis)} \text{A=} \text{B=} \text{C=} \text{plus=} \for{x=1 to 3}{ \integer{tmp=\puis[\x]/2} \if{\tmp notitemof \puis}{ \text{plus=wims(append item \(\sqrt{\nombre[\x]^{\puis[\x]}}) to \plus)}} \text{B=wims(append item \(\nombre[\x]^{\puis[\x]}) to \B)} \integer{tmp=2*\puis[\x]} \text{A=wims(append item \(\nombre[\x]^{\tmp}) to \A)} \integer{tmp=2*\tmp} \text{C=wims(append item \(\nombre[\x]^{\tmp}) to \C)} } \statement{Compléter le tableau à l'aide des réponses proposées.
\(x)
\A[1]
\embed{reply 1,\size}
\embed{reply 2,\size}
\(\sqrt{x})
\embed{reply 3,\size}
\B[2]
\embed{reply 4,\size}
\(x^2)
\embed{reply 5,\size}
\embed{reply 6,\size}
\C[3]
} \reply{x2}{\A[2]|\A,\B,\C,\plus}{type=clickfill} \reply{x3}{\A[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x1})}{\B[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x3})}{\B[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x1^2)}{\C[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x2^2)}{\C[2]|\A,\B,\C,\plus}{type=clickfill} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/reduitsom2.oef0000644000175000017500000000203510117657331027100 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/ecriture-som.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} \integer{nombre=2} \title{Ecriture réduite d'une somme 2.} \integer{c=random(2,3,5,6,7,10)} \text{b=randint(2..15),randint(2..15),randint(2..15),randint(2..15)} \text{a=randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15)} \text{enonce=} \integer{res=0} \for{i=1 to \nombre}{ \integer{tmp=(\b[\i])^2*\c} \integer{tmp2=\a[\i]} \text{sg=\tmp2>0 and \i>1?+:} \text{enonce=\enonce \sg \tmp2\sqrt{\tmp}} \integer{res=\res+(\tmp2)*(\b[\i])} } \text{rep=\res*sqrt(\c)} \statement{Ecrire le nombre \(\enonce) sous la forme \(a\sqrt{b}) où \(b) est un entier le plus petit possible.
(vous devez taper sqrt(2) pour \(\sqrt{2}) ) } \hint{Faire apparaitre \(\sqrt{\c}) dans chacun des termes de la somme.} \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/corres3.oef0000644000175000017500000000232110117657313026361 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corres-rac.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x75x75} \integer{nombre=3} \title{Correspondance de racines carrées 3.} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \integer{a=random(2,3,5,7)} \integer{b=random(2,3,5,6)} \integer{c=random(7..15)} \integer{a2=\a^2} \integer{a3=\a^3} \integer{a4=\a^4} \integer{ab=\a*\b} \integer{a2b=\a2*\b} \integer{a3b=\a3*\b} \integer{a4b=\a4*\b} \integer{ac=\a*\c} \integer{a2c=\a^2*\c} \text{don=\sqrt{\a2b};\a\sqrt{\b},\c\sqrt{\a2b};\ac\sqrt{\b},\sqrt{\a3};\a\sqrt{\a},\sqrt{\a3b};\a\sqrt{\ab},\c\sqrt{\a3};\ac\sqrt{\a},\c\sqrt{\a3b};\ac\sqrt{\ab}} \text{list=randitem(\don)} \text{list=wims(replace internal ; by , in \list)} \text{tmp=item(1,\list)} \text{nb=\nb,\(\tmp)} \text{tmp=item(2,\list)} \text{ra=\ra,\(\tmp)} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \text{nb=wims(listuniq \nb)} \text{ra=wims(listuniq \ra)} \statement{Mettez en relation les nombres égaux.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/arrondie1.oef0000644000175000017500000000127610117657503026676 0ustar georgeskgeorgesk\language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \title{Valeur approchée d'une racine carrée.} \integer{a=random(15..2000)} \integer{b=random(0..2)} \integer{prec=random(1..3)} \real{a=\a/10^(\b)} \text{enonce=\sqrt{\a}} \integer{b=sqrt(\a)*10^(\prec)} \real{rep=\b/10^(\prec)} \text{rep=\rep} \text{listprec=dixième,centième,millième} \text{precision1=item(\prec,\listprec)} \text{precision1= au \precision1} \real{precision2=10^(-\prec)} \text{precision2=à \(\precision2)} \text{precision=random(\precision1,\precision2)} \statement{Quelle est la valeur approchée \precision de \(\enonce)? } \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/.htaccess0000644000175000017500000000001606634516636026116 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/ecriture.oef0000644000175000017500000000171710117657544026641 0ustar georgeskgeorgesk\language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \title{Ecriture réduite.} \text{list=2,3,5,6,7,10,11} \integer{a=randitem(\list)} \integer{b=randitem(\list)} \integer{c=randitem(\list)} \integer{a2=\a^2} \integer{b2=random(\b^2)} \integer{b3=\b^3} \integer{b2c=\b2*\c} \integer{ab=\a*\b} \integer{ac=\a*\c} \integer{bc=\b*\c} \integer{abc=\ab*\c} \matrix{don=\sqrt{\a2},\a \sqrt{\b3},\b*sqrt(\b) \sqrt{\b2c},\b*sqrt(\c) \sqrt{\a^2},\a \sqrt{\a^3\times\b^2},\ab*sqrt(\a) \c\sqrt{\a2},\ac \c\sqrt{\b3},\bc*sqrt(\b) \c\sqrt{\b2c},\bc*sqrt(\c) \c\sqrt{\a^2},\ac \c\sqrt{\a^3\times\b^2},\abc*sqrt(\a)} \text{list=randrow(\don)} \text{list=row(10,\don)} \text{enonce=item(1,\list)} \text{rep=item(2,\list)} \statement{Ecrire le nombre \(\enonce) sous la forme \(a\sqrt{b}) où \(b) est un entier le plus petit possible.
(vous devez taper sqrt(2) pour \(\sqrt{2}) )} \reply{Réponse}{\rep}{type=litexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/corres4.oef0000644000175000017500000000233210117657313026364 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/corres-rac.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x75x75} \integer{nombre=4} \title{Correspondance de racines carrées 4.} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \integer{a=random(2,3,5,7)} \integer{b=random(2,3,5,6)} \integer{c=random(7..15)} \integer{a2=\a^2} \integer{a3=\a^3} \integer{a4=\a^4} \integer{ab=\a*\b} \integer{a2b=\a2*\b} \integer{a3b=\a3*\b} \integer{a4b=\a4*\b} \integer{ac=\a*\c} \integer{a2c=\a^2*\c} \text{don=\sqrt{\a2b};\a\sqrt{\b},\c\sqrt{\a2b};\ac\sqrt{\b},\sqrt{\a3};\a\sqrt{\a},\sqrt{\a3b};\a\sqrt{\ab},\c\sqrt{\a3};\ac\sqrt{\a},\c\sqrt{\a3b};\ac\sqrt{\ab}} \text{list=randitem(\don)} \text{list=wims(replace internal ; by , in \list)} \text{tmp=item(1,\list)} \text{nb=\nb,\(\tmp)} \text{tmp=item(2,\list)} \text{ra=\ra,\(\tmp)} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \text{nb=wims(listuniq \nb)} \text{ra=wims(listuniq \ra)} \statement{Mettez en relation les nombres égaux.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/simpquot.oef0000644000175000017500000000276210117657635026702 0ustar georgeskgeorgesk\title{Calculer un quotient.} \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2,3,5,6,7,10,11)} \integer{b=random(2,3,5,6,7,10,11)} \integer{ab2=\a*\b^2} \integer{c=random(2,3,5)} \integer{g=gcd(\c,\b)} \integer{c=\g<>1?13} \integer{ac=\a*\c} \integer{\ab2c=\ab2*\c} \integer{ab=\a*\b} \integer{bc=\b*\c} \integer{b2=\b^2} \matrix{don=\frac{\sqrt{\ab2}}{\sqrt{\a}},\b \c\frac{\sqrt{\ab2}}{\sqrt{\a}},\bc \frac{\c\sqrt{\ab2}}{\sqrt{\a}},\bc \sqrt{\frac{1}{\b2}},1/\b \c\sqrt{\frac{1}{\b2}},\c/\b \frac{\sqrt{\a}}{\sqrt{\ab2}},1/\b \frac{\sqrt{\a}}{\c\sqrt{\ab2}},1/\bc \c\frac{\sqrt{\a}}{\sqrt{\ab2}},\c/\b \frac{\c\sqrt{\a}}{\sqrt{\ab2}},\c/\b \frac{\sqrt{\ab2c}}{\sqrt{\a}},\b*sqrt(\c) \sqrt{\frac{\c}{\b2}},sqrt(\c)/\b \frac{\sqrt{\ac}}{\sqrt{\ab2}},sqrt(\c)/\b} \text{list=randrow(\don)} \text{enonce=item(1,\list)} \text{rep=simplify(item(2,\list))} \integer{prec=random(1..3)} \integer{rep2=\rep*10^(\prec)} \real{rep2=\rep2/10^(\prec)} \text{rep2=\rep2} \text{listprec=dixième,centième,millième} \text{precision1=item(\prec,\listprec)} \text{precision1= au \precision1} \real{precision2=10^(-\prec)} \text{precision2=à \(\precision2)} \text{precision=random(\precision1,\precision2)} \statement{Simplifier puis calculer la valeur approchée \precision près du nombre \(\enonce).
(vous devez taper sqrt(2) pour \(\sqrt{2}) )} \reply{Ecriture simplifiée}{\rep}{type=algexp} \reply{Valeur approchée}{\rep2}{type=litexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/decimal.oef0000644000175000017500000000353110117657363026410 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/tableau.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ch=random(1..3)} \title{Tableau de décimaux.} \text{size=50x75x1} \text{B=shuffle(0.1,0.2,0.3,0.5,0.6,0.7,1.1,1.2,1.3)} \text{B=item(1,\B),item(2,\B),item(3,\B)} \text{A=wims(values (x)^2 for x in \B)} \text{C=wims(values (x)^4 for x in \B)} \text{plus=} \for{x in \B}{\text{plus=wims(append item \(\sqrt{\x}) to \plus)}} \if{\B[\ch]<>1}{ \text{C=wims(replace item number \ch by \(\A[\ch]) in \C)} \text{A=wims(replace item number \ch by \(\B[\ch]) in \A)} \text{B=wims(replace item number \ch by \(\sqrt{\B[\ch]}) in \B)}} \statement{Compléter le tableau à l'aide des réponses proposées.
\(x)
\A[1]
\embed{reply 1,\size}
\embed{reply 2,\size}
\(\sqrt{x})
\embed{reply 3,\size}
\B[2]
\embed{reply 4,\size}
\(x^2)
\embed{reply 5,\size}
\embed{reply 6,\size}
\C[3]
} \reply{x2}{\A[2]|\A,\B,\C,\plus}{type=clickfill} \reply{x3}{\A[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x1})}{\B[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x3})}{\B[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x1^2)}{\C[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x2^2)}{\C[2]|\A,\B,\C,\plus}{type=clickfill} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/puissance2.oef0000644000175000017500000000401110117657363027060 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/tableau.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ch=random(1..3)} \title{Tableau de puissances quelconques.} \text{nombre=randint(2,3,5,6,7),randint(2,3,5,6,7),randint(2,3,5,6,7)} \text{size=60x50x1} \text{puis=shuffle(-2,-3,-4,-5,-6,2,3,4,5,6)} \text{puis=2,4,6} \text{puis=item(1,\puis),item(2,\puis),item(3,\puis)} \text{A=} \text{B=} \text{C=} \text{plus=} \for{x=1 to 3}{ \integer{tmp=\puis[\x]/2} \if{\tmp notitemof \puis}{ \text{plus=wims(append item \(\sqrt{\nombre[\x]^{\puis[\x]}}) to \plus)}} \text{B=wims(append item \(\nombre[\x]^{\puis[\x]}) to \B)} \integer{tmp=2*\puis[\x]} \text{A=wims(append item \(\nombre[\x]^{\tmp}) to \A)} \integer{tmp=2*\tmp} \text{C=wims(append item \(\nombre[\x]^{\tmp}) to \C)} } \statement{Compléter le tableau à l'aide des réponses proposées.
\(x)
\A[1]
\embed{reply 1,\size}
\embed{reply 2,\size}
\(\sqrt{x})
\embed{reply 3,\size}
\B[2]
\embed{reply 4,\size}
\(x^2)
\embed{reply 5,\size}
\embed{reply 6,\size}
\C[3]
} \reply{x2}{\A[2]|\A,\B,\C,\plus}{type=clickfill} \reply{x3}{\A[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x1})}{\B[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x3})}{\B[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x1^2)}{\C[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x2^2)}{\C[2]|\A,\B,\C,\plus}{type=clickfill} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/rationnel.oef0000644000175000017500000000441710117657363027011 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/tableau.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ch=random(1..3)} \title{Tableau de fractions.} \text{size=50x70x1} \text{fraction=1/2,2/3,1/3,1/5,2/5,3/5,1/6,5/6,1/7,2/7,3/7,5/7} \text{list=shuffle(\fraction)} \text{list=item(1,\fraction),item(2,\fraction),item(3,\fraction)} \text{A=} \text{B=} \text{C=} \text{plus=} \for{x=1 to 3}{ \text{FT=wims(replace internal / by , in \list[\x])} \integer{num=\FT[1]^2} \integer{den=\FT[2]^2} \integer{num2=\num^2} \integer{den2=\den^2} \if{\x=\ch}{ \text{tmp=\sqrt{\frac{\FT[1]}{\FT[2]}}} \text{tmp=\FT[1]=1?\frac{1}{\sqrt{\FT[2]}},\tmp:\tmp} \text{tmp=randitem(\tmp)} \text{B=wims(append item \(\tmp) to \B)} \text{A=wims(append item \(\frac{\FT[1]}{\FT[2]}) to \A)} \text{C=wims(append item \(\frac{\num}{\den}) to \C)} }{ \text{B=wims(append item \(\frac{\FT[1]}{\FT[2]}) to \B)} \text{A=wims(append item \(\frac{\num}{\den}) to \A)} \text{C=wims(append item \(\frac{\num2}{\den2}) to \C)} \text{plus=wims(append item \(\sqrt{\frac{\FT[1]}{\FT[2]}}) to \plus)} } } \statement{Compléter le tableau à l'aide des réponses proposées.
\(x)
\A[1]
\embed{reply 1,\size}
\embed{reply 2,\size}
\(\sqrt{x})
\embed{reply 3,\size}
\B[2]
\embed{reply 4,\size}
\(x^2)
\embed{reply 5,\size}
\embed{reply 6,\size}
\C[3]
} \reply{x2}{\A[2]|\A,\B,\C,\plus}{type=clickfill} \reply{x3}{\A[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x1})}{\B[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x3})}{\B[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x1^2)}{\C[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x2^2)}{\C[2]|\A,\B,\C,\plus}{type=clickfill} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/liaison4.oef0000644000175000017500000000302710117657346026535 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/liaison-rac.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} \integer{nombre=4} \title{Racines et nombres 4.} \integer{N1=random(4..20)} \text{R1=\(\sqrt{\N1})} \integer{R2=random(1..9)} \real{R2=\R2/10} \real{N2=\R2^2} \integer{R3=random(2..13)} \integer{N3=\R3^2} \integer{R4=random(2..15)} \text{N4=\(\R4^2)} \integer{R5=random(2..13)} \integer{N5=\R5^2} \text{R5=\(\frac{1}{\R5})} \text{N5=\(\frac{1}{\N5})} \integer{a=random(2,4,8,10,11)} \integer{b=random(3,9,7,13)} \integer{A=\a^2} \integer{B=\b^2} \text{R6=\(\frac{\a}{\b})} \text{N6=\(\frac{\A}{\B})} \integer{R7=random(1,-1)*random(2..9)} \integer{N7=2*\R7} \text{R7=\(10^{\R7})} \text{N7=\(10^{\N7})} \integer{a=random(2..9)} \integer{R8=random(1,-1)*random(2..9)} \integer{N8=2*\R8} \text{R8=\(\a^{\R8})} \text{N8=\(\a^{\N8})} \text{don=\N1;\R1,\N2;\R2,\N3;\R3,\N4;\R4,\N5;\R5,\N6;\R6,\N7;\R7,\N8;\R8} \text{don=shuffle(\don)} \text{don=wims(replace internal ; by , in \don)} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \text{tmp=item(\i*2-1,\don)} \text{nb=\nb,\tmp} \text{tmp=item(\i*2,\don)} \text{ra=\ra,\tmp} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \statement{Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/rectangle.oef0000644000175000017500000000301710117657706026756 0ustar georgeskgeorgesk\title{Rectangle et racine carrée} \language{fr} \range{-5..5} \author{Buffet Philippe & Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \matrix{list=A,B,C,D E,F,G,H I,J,K,L} \text{list=randrow(\list)} \text{list=shuffle(\list)} \text{list=A,B,C,D} \text{A=item(1,\list)} \text{B=item(2,\list)} \text{C=item(3,\list)} \text{D=item(4,\list)} \integer{a=random(2..30)} \integer{b=floor(sqrt(\a))} \integer{b=random(1..\b)} \text{peri=simplify(4*sqrt(\a))} \integer{aire=\a-\b^2} \text{diag=simplify(sqrt(2*\a+2*\b^2))} \integer{ch=random(1..2)} \if{\ch=1}{ \text{affangle=\B\A\C} \integer{angle=arctan((sqrt(\a)-\b)/(sqrt(\a)+\b))*180/pi} }{ \text{affangle=\B\C\A} \integer{angle=arctan((sqrt(\a)+\b)/(sqrt(\a)-\b))*180/pi} } \statement{\(\A\B\C\D) est un rectangle tel que \(\A\B=\sqrt{\a}+\b) et \(\B\C=\sqrt{\a}-\b).
  • Calculer la valeur exacte de son périmètre.
    Réponse : \embed{r1,15}
  • Calculer la valeur exacte de son aire.
    Réponse : \embed{r2,15}
  • Calculer la longueur exacte de la diagonale \(\A\C).
    Réponse : \embed{r3,15}
  • Calculer la mesure de l'angle \(\widehat{\affangle}) à un degré près.
    Réponse : \embed{r4,15}
Attention :
  • Les résultats doivent être le plus simplifiés possibles.
  • Pour écrire \(\sqrt{2}) tapez sqrt(2).
} \reply{Périmètre}{\peri}{type=litexp} \reply{Aire}{\aire}{type=litexp} \reply{Diagonale \(\A\C)}{\diag}{type=litexp} \reply{\(\widehat{\affangle})}{\angle}{type=litexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/simprod.oef0000644000175000017500000000230210117657653026464 0ustar georgeskgeorgesk\title{Calculer un produit.} \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2,3,5,6,7,10,11)} \integer{b=random(2,3,5,6,7,10,11)} \integer{ab2=\a*\b^2} \integer{c=random(2,3,5)} \integer{ac=\a*\c} \integer{\ab2c=\ab2*\c} \integer{ab=\a*\b} \matrix{don=\sqrt{\a}\times\sqrt{\ab2},\ab \sqrt{\a}\times\sqrt{\a},\a \sqrt{\a}\times\sqrt{\ab2c},\ab*sqrt(\c) \sqrt{\ac}\times\sqrt{\ab2},\ab*sqrt(\c) \sqrt{\ac}\times\sqrt{\a},\a*sqrt(\c) \sqrt{\a}\times\sqrt{\ac},\a*sqrt(\c)} \text{list=randrow(\don)} \text{enonce=item(1,\list)} \text{rep=item(2,\list)} \integer{prec=random(1..3)} \integer{rep2=\rep*10^(\prec)} \real{rep2=\rep2/10^(\prec)} \text{rep2=\rep2} \text{listprec=dixième,centième,millième} \text{precision1=item(\prec,\listprec)} \text{precision1= au \precision1} \real{precision2=10^(-\prec)} \text{precision2=à \(\precision2)} \text{precision=random(\precision1,\precision2)} \statement{Simplifier puis calculer la valeur approchée \precision près du nombre \(\enonce).
(vous devez taper sqrt(2) pour \(\sqrt{2}) )} \reply{Ecriture simplifiée}{\rep}{type=algexp} \reply{Valeur approchée}{\rep2}{type=litexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/devred.oef0000644000175000017500000000264310117657567026274 0ustar georgeskgeorgesk\title{Développer/réduire 1.} \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2,3,5,6,7,10,11)} \integer{d=random(2,3,5,6,7,10,11)} \integer{g=gcd(\a,\d)} \integer{d=\g<>1?13} \integer{c=random(2..10)} \integer{b=random(2..10)} \matrix{don=(\sqrt{\a}+\b)(\sqrt{\a}-\b),\a-\b^2 (\b+\sqrt{\a})(\b-\sqrt{\a}),\b^2-\a (\sqrt{\a}+\sqrt{\d})(\sqrt{\a}-\sqrt{\d}),\a-\d (\b+\sqrt{\a})^2,\b^2+\a+2*\b*sqrt(\a) (\sqrt{\a}+\b)^2,\b^2+\a+2*\b*sqrt(\a) (\b-\sqrt{\a})^2,\b^2+\a-2*\b*sqrt(\a) (\sqrt{\a}-\b)^2,\b^2+\a-2*\b*sqrt(\a) (\sqrt{\a}+\sqrt{\d})^2,\a+\d+2*sqrt(\a*\d) (\sqrt{\a}-\sqrt{\d})^2,\a+\d-2*sqrt(\a*\d) (\c\sqrt{\a}+\sqrt{\d})(\sqrt{\a}-\c\sqrt{\d}),\c*\a-\c*\d+(1-\c^2)*sqrt(\a*\d) (\c\sqrt{\a}+\b)(\c\sqrt{\a}-\b),\c^2*\a-\b^2 (\b+\c\sqrt{\a})(\b-\c\sqrt{\a}),\b^2-\a*\c^2 (\b+\c\sqrt{\a})^2,\b^2+\c^2*\a+2*\b*\c*sqrt(\a) (\c\sqrt{\a}+\b)^2,\b^2+\c^2*\a+2*\b*\c*sqrt(\a) (\b-\c\sqrt{\a})^2,\b^2+\c^2*\a-2*\b*\c*sqrt(\a) (\c\sqrt{\a}-\b)^2,\b^2+\c^2*\a-2*\b*\c*sqrt(\a) (\c\sqrt{\a}+\sqrt{\d})^2,\c^2*\a+\d+2*\c*sqrt(\a*\d) (\b+\sqrt{\a})(\c-\sqrt{\d}),\b*\c-\b*\sqrt(\d)+\c*sqrt(\a)-sqrt(\a*\d)} \text{list=randrow(\don)} \text{enonce=item(1,\list)} \text{rep=item(2,\list)} \text{rep=maxima(\rep;)} \statement{Développer et réduire l'expression \(\enonce).
(vous devez taper sqrt(2) pour \(\sqrt{2}) )} \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/reduitsom3.oef0000644000175000017500000000204610117657331027103 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/ecriture-som.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} \integer{nombre=3} \title{Ecriture réduite d'une somme 3.} \integer{c=random(2,3,5,6,7,10)} \text{b=randint(2..15),randint(2..15),randint(2..15),randint(2..15)} \text{a=randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15)} \text{enonce=} \integer{res=0} \for{i=1 to \nombre}{ \integer{tmp=(\b[\i])^2*\c} \integer{tmp2=\a[\i]} \text{sg=\tmp2>0 and \i>1?+:} \text{enonce=\enonce \sg \tmp2\sqrt{\tmp}} \integer{res=\res+(\tmp2)*(\b[\i])} } \text{rep=\res*sqrt(\c)} \statement{Ecrire le nombre \(\enonce) sous la forme \(a\sqrt{b}) où \(b) est un entier le plus petit possible.
(vous devez taper sqrt(2) pour \(\sqrt{2}) ) } \hint{Faire apparaitre \(\sqrt{\c}) dans chacun des termes de la somme.} \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/reduitsom4.oef0000644000175000017500000000203510117657331027102 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/ecriture-som.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} \integer{nombre=4} \title{Ecriture réduite d'une somme 4.} \integer{c=random(2,3,5,6,7,10)} \text{b=randint(2..15),randint(2..15),randint(2..15),randint(2..15)} \text{a=randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15)} \text{enonce=} \integer{res=0} \for{i=1 to \nombre}{ \integer{tmp=(\b[\i])^2*\c} \integer{tmp2=\a[\i]} \text{sg=\tmp2>0 and \i>1?+:} \text{enonce=\enonce \sg \tmp2\sqrt{\tmp}} \integer{res=\res+(\tmp2)*(\b[\i])} } \text{rep=\res*sqrt(\c)} \statement{Ecrire le nombre \(\enonce) sous la forme \(a\sqrt{b}) où \(b) est un entier le plus petit possible.
(vous devez taper sqrt(2) pour \(\sqrt{2}) ) } \hint{Faire apparaitre \(\sqrt{\c}) dans chacun des termes de la somme.} \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/liaison5.oef0000644000175000017500000000301610117657346026534 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/liaison-rac.cpp. \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} \integer{nombre=5} \title{Racines et nombres 5.} \integer{N1=random(4..20)} \text{R1=\(\sqrt{\N1})} \integer{R2=random(1..9)} \real{R2=\R2/10} \real{N2=\R2^2} \integer{R3=random(2..13)} \integer{N3=\R3^2} \integer{R4=random(2..15)} \text{N4=\(\R4^2)} \integer{R5=random(2..13)} \integer{N5=\R5^2} \text{R5=\(\frac{1}{\R5})} \text{N5=\(\frac{1}{\N5})} \integer{a=random(2,4,8,10,11)} \integer{b=random(3,9,7,13)} \integer{A=\a^2} \integer{B=\b^2} \text{R6=\(\frac{\a}{\b})} \text{N6=\(\frac{\A}{\B})} \integer{R7=random(1,-1)*random(2..9)} \integer{N7=2*\R7} \text{R7=\(10^{\R7})} \text{N7=\(10^{\N7})} \integer{a=random(2..9)} \integer{R8=random(1,-1)*random(2..9)} \integer{N8=2*\R8} \text{R8=\(\a^{\R8})} \text{N8=\(\a^{\N8})} \text{don=\N1;\R1,\N2;\R2,\N3;\R3,\N4;\R4,\N5;\R5,\N6;\R6,\N7;\R7,\N8;\R8} \text{don=shuffle(\don)} \text{don=wims(replace internal ; by , in \don)} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \text{tmp=item(\i*2-1,\don)} \text{nb=\nb,\tmp} \text{tmp=item(\i*2,\don)} \text{ra=\ra,\tmp} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \statement{Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/cpp/0000755000175000017500000000000010117661533025071 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/cpp/liaison-rac.cpp0000644000175000017500000000321010117657346030001 0ustar georgeskgeorgesktarget= liaison3,liaison4,liaison5 \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} #if #TARGET (liaison3) \integer{nombre=3} \title{Racines et nombres 3.} #endif #if #TARGET (liaison4) \integer{nombre=4} \title{Racines et nombres 4.} #endif #if #TARGET (liaison5) \integer{nombre=5} \title{Racines et nombres 5.} #endif \integer{N1=random(4..20)} \text{R1=\(\sqrt{\N1})} \integer{R2=random(1..9)} \real{R2=\R2/10} \real{N2=\R2^2} \integer{R3=random(2..13)} \integer{N3=\R3^2} \integer{R4=random(2..15)} \text{N4=\(\R4^2)} \integer{R5=random(2..13)} \integer{N5=\R5^2} \text{R5=\(\frac{1}{\R5})} \text{N5=\(\frac{1}{\N5})} \integer{a=random(2,4,8,10,11)} \integer{b=random(3,9,7,13)} \integer{A=\a^2} \integer{B=\b^2} \text{R6=\(\frac{\a}{\b})} \text{N6=\(\frac{\A}{\B})} \integer{R7=random(1,-1)*random(2..9)} \integer{N7=2*\R7} \text{R7=\(10^{\R7})} \text{N7=\(10^{\N7})} \integer{a=random(2..9)} \integer{R8=random(1,-1)*random(2..9)} \integer{N8=2*\R8} \text{R8=\(\a^{\R8})} \text{N8=\(\a^{\N8})} \text{don=\N1;\R1,\N2;\R2,\N3;\R3,\N4;\R4,\N5;\R5,\N6;\R6,\N7;\R7,\N8;\R8} \text{don=shuffle(\don)} \text{don=wims(replace internal ; by , in \don)} \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \text{tmp=item(\i*2-1,\don)} \text{nb=\nb,\tmp} \text{tmp=item(\i*2,\don)} \text{ra=\ra,\tmp} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \statement{Mettez en relation les nombres de la première colonne avec leurs racines carrées dans la deuxième.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/cpp/corres-rac.cpp0000644000175000017500000000253610117657313027644 0ustar georgeskgeorgesktarget= corres3,corres4,corres5 \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x75x75} #if #TARGET (corres3) \integer{nombre=3} \title{Correspondance de racines carrées 3.} #endif #if #TARGET (corres4) \integer{nombre=4} \title{Correspondance de racines carrées 4.} #endif #if #TARGET (corres5) \integer{nombre=5} \title{Correspondance de racines carrées 5.} #endif \text{nb=} \text{ra=} \for{i=1 to \nombre}{ \integer{a=random(2,3,5,7)} \integer{b=random(2,3,5,6)} \integer{c=random(7..15)} \integer{a2=\a^2} \integer{a3=\a^3} \integer{a4=\a^4} \integer{ab=\a*\b} \integer{a2b=\a2*\b} \integer{a3b=\a3*\b} \integer{a4b=\a4*\b} \integer{ac=\a*\c} \integer{a2c=\a^2*\c} \text{don=\sqrt{\a2b};\a\sqrt{\b},\c\sqrt{\a2b};\ac\sqrt{\b},\sqrt{\a3};\a\sqrt{\a},\sqrt{\a3b};\a\sqrt{\ab},\c\sqrt{\a3};\ac\sqrt{\a},\c\sqrt{\a3b};\ac\sqrt{\ab}} \text{list=randitem(\don)} \text{list=wims(replace internal ; by , in \list)} \text{tmp=item(1,\list)} \text{nb=\nb,\(\tmp)} \text{tmp=item(2,\list)} \text{ra=\ra,\(\tmp)} } \text{nb=wims(nonempty item \nb)} \text{ra=wims(nonempty item \ra)} \text{nb=wims(listuniq \nb)} \text{ra=wims(listuniq \ra)} \statement{Mettez en relation les nombres égaux.

\embed{reply 1,\size}
} \reply{La correspondance}{\nb;\ra}{type=correspond} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/cpp/tableau.cpp0000644000175000017500000001013610117657363027221 0ustar georgeskgeorgesktarget= entier,rationnel,decimal,puissance1,puissance2 \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{ch=random(1..3)} #if #TARGET (entier) \title{Tableau d'entiers.} \text{size=50x50x1} \text{B=shuffle(1,2,3,5,6,7,10,11)} \text{B=item(1,\B),item(2,\B),item(3,\B)} \text{A=wims(values (x)^2 for x in \B)} \text{C=wims(values (x)^4 for x in \B)} \text{plus=} \for{x in \B}{\text{plus=wims(append item \(\sqrt{\x}) to \plus)}} \if{\B[\ch]<>1}{ \text{C=wims(replace item number \ch by \(\A[\ch]) in \C)} \text{A=wims(replace item number \ch by \(\B[\ch]) in \A)} \text{B=wims(replace item number \ch by \(\sqrt{\B[\ch]}) in \B)}} #endif #if #TARGET (rationnel) \title{Tableau de fractions.} \text{size=50x70x1} \text{fraction=1/2,2/3,1/3,1/5,2/5,3/5,1/6,5/6,1/7,2/7,3/7,5/7} \text{list=shuffle(\fraction)} \text{list=item(1,\fraction),item(2,\fraction),item(3,\fraction)} \text{A=} \text{B=} \text{C=} \text{plus=} \for{x=1 to 3}{ \text{FT=wims(replace internal / by , in \list[\x])} \integer{num=\FT[1]^2} \integer{den=\FT[2]^2} \integer{num2=\num^2} \integer{den2=\den^2} \if{\x=\ch}{ \text{tmp=\sqrt{\frac{\FT[1]}{\FT[2]}}} \text{tmp=\FT[1]=1?\frac{1}{\sqrt{\FT[2]}},\tmp:\tmp} \text{tmp=randitem(\tmp)} \text{B=wims(append item \(\tmp) to \B)} \text{A=wims(append item \(\frac{\FT[1]}{\FT[2]}) to \A)} \text{C=wims(append item \(\frac{\num}{\den}) to \C)} }{ \text{B=wims(append item \(\frac{\FT[1]}{\FT[2]}) to \B)} \text{A=wims(append item \(\frac{\num}{\den}) to \A)} \text{C=wims(append item \(\frac{\num2}{\den2}) to \C)} \text{plus=wims(append item \(\sqrt{\frac{\FT[1]}{\FT[2]}}) to \plus)} } } #endif #if #TARGET (decimal) \title{Tableau de décimaux.} \text{size=50x75x1} \text{B=shuffle(0.1,0.2,0.3,0.5,0.6,0.7,1.1,1.2,1.3)} \text{B=item(1,\B),item(2,\B),item(3,\B)} \text{A=wims(values (x)^2 for x in \B)} \text{C=wims(values (x)^4 for x in \B)} \text{plus=} \for{x in \B}{\text{plus=wims(append item \(\sqrt{\x}) to \plus)}} \if{\B[\ch]<>1}{ \text{C=wims(replace item number \ch by \(\A[\ch]) in \C)} \text{A=wims(replace item number \ch by \(\B[\ch]) in \A)} \text{B=wims(replace item number \ch by \(\sqrt{\B[\ch]}) in \B)}} #endif #if #TARGET (puissance1) || #TARGET (puissance2) #if #TARGET (puissance1) \title{Tableau de puissances de 10.} \text{nombre=10,10,10} #else \title{Tableau de puissances quelconques.} \text{nombre=randint(2,3,5,6,7),randint(2,3,5,6,7),randint(2,3,5,6,7)} #endif \text{size=60x50x1} \text{puis=shuffle(-2,-3,-4,-5,-6,2,3,4,5,6)} \text{puis=2,4,6} \text{puis=item(1,\puis),item(2,\puis),item(3,\puis)} \text{A=} \text{B=} \text{C=} \text{plus=} \for{x=1 to 3}{ \integer{tmp=\puis[\x]/2} \if{\tmp notitemof \puis}{ \text{plus=wims(append item \(\sqrt{\nombre[\x]^{\puis[\x]}}) to \plus)}} \text{B=wims(append item \(\nombre[\x]^{\puis[\x]}) to \B)} \integer{tmp=2*\puis[\x]} \text{A=wims(append item \(\nombre[\x]^{\tmp}) to \A)} \integer{tmp=2*\tmp} \text{C=wims(append item \(\nombre[\x]^{\tmp}) to \C)} } #endif \statement{Compléter le tableau à l'aide des réponses proposées.
\(x)
\A[1]
\embed{reply 1,\size}
\embed{reply 2,\size}
\(\sqrt{x})
\embed{reply 3,\size}
\B[2]
\embed{reply 4,\size}
\(x^2)
\embed{reply 5,\size}
\embed{reply 6,\size}
\C[3]
} \reply{x2}{\A[2]|\A,\B,\C,\plus}{type=clickfill} \reply{x3}{\A[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x1})}{\B[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(\sqrt{x3})}{\B[3]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x1^2)}{\C[1]|\A,\B,\C,\plus}{type=clickfill} \reply{\(x2^2)}{\C[2]|\A,\B,\C,\plus}{type=clickfill} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/src/cpp/ecriture-som.cpp0000644000175000017500000000226010117657331030214 0ustar georgeskgeorgesktarget= reduitsom2,reduitsom3,reduitsom4 \language{fr} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{size=50x50x50} #if #TARGET (reduitsom2) \integer{nombre=2} \title{Ecriture réduite d'une somme 2.} #endif #if #TARGET (reduitsom3) \integer{nombre=3} \title{Ecriture réduite d'une somme 3.} #endif #if #TARGET (reduitsom4) \integer{nombre=4} \title{Ecriture réduite d'une somme 4.} #endif \integer{c=random(2,3,5,6,7,10)} \text{b=randint(2..15),randint(2..15),randint(2..15),randint(2..15)} \text{a=randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15),randint(-1,1)*randint(2..15)} \text{enonce=} \integer{res=0} \for{i=1 to \nombre}{ \integer{tmp=(\b[\i])^2*\c} \integer{tmp2=\a[\i]} \text{sg=\tmp2>0 and \i>1?+:} \text{enonce=\enonce \sg \tmp2\sqrt{\tmp}} \integer{res=\res+(\tmp2)*(\b[\i])} } \text{rep=\res*sqrt(\c)} \statement{Ecrire le nombre \(\enonce) sous la forme \(a\sqrt{b}) où \(b) est un entier le plus petit possible.
(vous devez taper sqrt(2) pour \(\sqrt{2}) ) } \hint{Faire apparaitre \(\sqrt{\c}) dans chacun des termes de la somme.} \reply{Réponse}{\rep}{type=algexp} wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/NEWS0000644000175000017500000000017710117657262024230 0ustar georgeskgeorgesk----------- version 1.10 20040908 changement de l'adresse mail 20040812 ajout de l'exercice rectangle ----------- version 1.00 wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/endhook.phtml0000644000175000017500000000010210315754115026205 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H3/algebra/oefracine.es/help.phtml0000644000175000017500000000005210315754115025512 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/0000755000175000017500000000000010315753111023231 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/0000755000175000017500000000000010145221342023764 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/tabprop.def0000644000175000017500000000431610023566553026132 0ustar georgeskgeorgesk!set title=Tableau de proportionnalité !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r,r,r,r,r varcnt=19 prevarcnt=18 postvarcnt=0 replycnt=5 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, 5 val6=$[rint($(tmp0))] tmp0=!randint 3, 6 val7=$[rint($(tmp0))] tmp0=!randint 3, 9 val8=$[rint($(tmp0))] tmp0=!randint 1, 9 val9=$[rint($(tmp0))] tmp0=!randint 1, 9 val10=$[rint($(tmp0))] tmp0=!randint 1, 9 val11=$[rint($(tmp0))] tmp0=!randint 5, 9 val12=$[rint($(tmp0))] val13=$[rint($val7*$val6)] val14=$[rint($val8*$val6)] val15=$[rint($val9*$val6)] val16=$[rint($val10*$val6)] val17=$[rint($val11*$val6)] val18=$[rint($val12*$val6)] val19=première, seconde tmp0=!randitem 1,2 val20=$(tmp0) tmp0=!item $val20 of $val19 val21=$(tmp0) tmp0=!item 3-$val20 of $val19 val22=$(tmp0) !ifval $val20=1 val23= $val6 !else val23=1/$val6 !endif replytype1=numeric replyname1= replygood1=$[$val10] replytype2=numeric replyname2= replygood2=$[$val11] replytype3=numeric replyname3= replygood3=$[$val15] replytype4=numeric replyname4= replygood4=$[$val18] replytype5=numeric replyname5= replygood5=$[$val23] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Complète le tableau de proportionnalité suivant :
$val7$val8$val9 !read oef/embed.phtml reply 1,6 $() !read oef/embed.phtml reply 2,6 $()$val12
$val13$val14 !read oef/embed.phtml reply 3,6 $() $val16 $val17 !read oef/embed.phtml reply 4,6 $()

On passe de la $val21 ligne à la $val22 en multipliant par !read oef/embed.phtml reply 5,6 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,12,13,14,16,17,21,22 embedcnt=5 wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/Biscuits.def0000644000175000017500000000370210036525756026252 0ustar georgeskgeorgesk!set title=Partages !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=19 prevarcnt=18 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=Fabien, Carole, Elodie, Louis, Catherine, George, Olivier, Dominique, Charles, Victor, Simon, Hélène, Pierre, Joséphine, Juliette tmp0=!shuffle $val6 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp0=!item 3 of $val6 val9=$(tmp0) !ifval $val9 isitemof Fabien, Louis, George, Olivier, Charles, Victor, Simon, Pierre val10= il !else val10=elle !endif tmp=!trim le quart, 1, 4 le tiers, 1, 3 la moitié, 1, 2 deux tiers, 2, 3 deux cinquième, 2, 5 val11=!translate internal $ \ $ to ;; in $tmp tmp0=!randitem biscuits, bonbons val12=$(tmp0) tmp=!translate internal $ $ to ; in $val11 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val13=$(tmp0) tmp0=!item 1 of $val13 val14=$(tmp0) tmp0=!item 2 of $val13 val15=$(tmp0) tmp0=!item 3 of $val13 val16=$(tmp0) tmp0=!randint 2, 9 val17=$[rint($(tmp0))] val18=$[rint($val17*$val15)] val19=$[rint($val17*$val16)] val20=$[rint($val19-$val18)] tmp0=!randint 1, $val20-1 val21=$[rint($(tmp0))] val22=$[rint($val20-$val21)] replytype1=default replyname1=$val9 en a eu replygood1=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Des enfants se partagent des $val12 : $val7 en a eu $val21, $val8 en a eu $val22 et $val9 en a eu $val14. Combien $val9 a-t-$val10 eu de $val12 ? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,12,14,21,22 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/tabproportion.def0000644000175000017500000000372610023566553027371 0ustar georgeskgeorgesk!set title=Tableau de proportion !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=r,r varcnt=12 prevarcnt=11 postvarcnt=0 replycnt=2 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, 9 tmp1=!randitem 3/2,1/2,5/2 tmp2=!randitem $(tmp0), $(tmp1) t_=!rawmath $(tmp2) val6=!exec pari print($t_) tmp0=!randint 3, 6 val7=$[rint($(tmp0))] tmp0=!randint 4, 9 val8=$[rint($(tmp0))] !ifval $val7=$val8 val8=$[rint( $val8+1)] !endif t_=!rawmath $val7*$val6 val9=!exec pari print($t_) t_=!rawmath $val8*$val6 val10=!exec pari print($t_) val11=$val6 tmp0=!randitem 1,2,3,4 val12=$(tmp0) !ifval $val12=1 val13= $val7 !else val13=$val9 !endif !ifval $val12=2 val13= $val8 !endif !ifval $val12=4 val13= $val10 !endif replytype1=numeric replyname1= replygood1=$[$val13] replytype2=numeric replyname2= replygood2=$[$val11] question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Complète le tableau de proportionnalité suivant :
!if $val12=1 $() !read oef/embed.phtml reply 1,5 $() !else $() $val7 !endif $() !if $val12=2 $() !read oef/embed.phtml reply 1,5 $() !else $() $val8 !endif $()
!if $val12=3 $() !read oef/embed.phtml reply 1,5 $() !else $() $val9 !endif $() !if $val12=4 $() !read oef/embed.phtml reply 1,5 $() !else $() $val10 !endif $()

Le coefficient de proportionnalité est !read oef/embed.phtml reply 2,6 $(). $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,10,12 embedcnt=5 wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/.htaccess0000644000175000017500000000001606634516636025604 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/Ages.def0000644000175000017500000000315510023566553025342 0ustar georgeskgeorgesk!set title=Ages !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=13 prevarcnt=12 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=Maurice, Christophe, Laure, Carine, Michel, Céline, Joseph, Nicolas, Renaud, Lucas, Marie, Claire, Suzanne, Henri tmp0=!shuffle $val6 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp=!trim le double de, 3, 1 le triple de, 4, 1 quatre fois, 5, 1 la moitié de, 3, 2 le tiers de, 4, 3 val9=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val9 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val10=$(tmp0) tmp0=!item 1 of $val10 val11=$(tmp0) tmp0=!item 2 of $val10 val12=$[rint($(tmp0))] tmp0=!item 3 of $val10 val13=$[rint($(tmp0))] tmp0=!randint 5, 30 val14=$[rint($(tmp0))] val15=$[rint($val14*$val12)] val16=$[rint($val14*$val13)] replytype1=default replyname1=L'âge de $val7 replygood1=$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val7 et $val8 ont $val15 ans à eux deux. Sachant que l'âge de $val8 est $val11 celui de $val7, quel est l'âge de $val7? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,11,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/OeufsdePques.def0000644000175000017500000000346410036525756027102 0ustar georgeskgeorgesk!set title=Oeufs de Pâques !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=XIAO Dingyu email=xiao@unice.fr computeanswer=no precision=10000 ansorder=r varcnt=15 prevarcnt=14 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=Patrick, Fabien, Fabrice, Carole, Elodie, Jean-Pierre, Paul, Gérard, Louis, Catherine, Julie, George, Dominique, Charles, Sylvie tmp0=!shuffle $val6 val6=$(tmp0) tmp0=!item 1 of $val6 val7=$(tmp0) tmp0=!item 2 of $val6 val8=$(tmp0) tmp0=!item 3 of $val6 val9=$(tmp0) tmp=!trim la moitié, le quart, 1, 4 la moitié, le tiers, 1, 6 le quart, le quart, 2, 4 le tiers, le tiers, 1, 3 le tiers, le quart, 5, 12 val10=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val10 tmp=!nonempty rows $tmp tmp=!randrow $tmp tmp0=!translate internal $\ $ to ; in $tmp val11=$(tmp0) tmp0=!item 1 of $val11 val12=$(tmp0) tmp0=!item 2 of $val11 val13=$(tmp0) tmp0=!item 3 of $val11 val14=$[rint($(tmp0))] tmp0=!item 4 of $val11 val15=$[rint($(tmp0))] tmp0=!randint 2, 10 val16=$[rint($(tmp0))] val17=$[rint($val14*$val16)] val18=$[rint($val16*$val15)] replytype1=default replyname1=Le nombre d'oeufs replygood1=$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Des enfants cherchent des oeufs de Pâques dans un jardin. $val7 en a trouvé $val12, $val8 en a trouvé $val13 et $val9 en a trouvé $val17. Combien d'oeufs ont-ils été trouvés? $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=7,8,9,12,13,17 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/def/tabprop2.def0000644000175000017500000000605210145221342026200 0ustar georgeskgeorgesk!set title=Tableau de proportionnalité II !if $wims_read_parm!=$empty !goto $wims_read_parm !endif oef2wims_version=3.22 language=fr leftrange=-5.000000 rightrange=5.000000 author=Bernadette PERRIN-RIOU email=bpr@math.u-psud.fr computeanswer=yes precision=10000 ansorder=c,r varcnt=21 prevarcnt=17 postvarcnt=3 replycnt=1 choicecnt=1 conditioncnt=1 feedbackcnt=3 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, 5 val6=$[rint($(tmp0))] tmp0=!randint 3, 6 val7=$[rint($(tmp0))] tmp0=!randint 3, 9 val8=$[rint($(tmp0))] tmp0=!randint 1, 9 val9=$[rint($(tmp0))] val10=$[rint($val7*$val6)] val11=$[rint($val8*$val6)] val12=$[rint($val9*$val6)] val13=$[rint(\d*$val6)] val14=$[rint(\e*$val6)] val15=$[rint(\f*$val6)] tmp0=!randitem 0,0,1,2,3 val16=$[rint($(tmp0))] !ifval $val16=1 val10=$[rint( 2*$val10)] !endif !ifval $val16=2 val11=$[rint( $val11+2)] !endif !ifval $val16=3 val12=$[rint( 2*$val11-2)] !endif val17=oui val18=non !ifval $val16=0 val19= $val17 !else val19=$val18 !endif oefsteps=choice 1 reply 1 nextstep=!nosubst choice 1 reply 1 !readproc oef/steps.proc replytype1=nocase replyname1= replygood1=?analyze 20 choicename1= choicegood1=$val19 choicebad1=$val17,$val18 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $() !if $m_step=1 $()Le tableau suivant est-il un tableau de proportionnalité ? !endif $()
$val7$val8$val9
$val10$val11 $val12

!if $m_step=2 $() !if $val16=0 $()Oui, c'est un tableau de proportionnalité. Quel est le coefficient de proportionnalité ? !else $() En effet, ce n'est pas un tableau de proportionnalité : donne deux numéros de colonnes qui t'ont permis de conclure à la non proportionnalité. !endif $() !endif $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :postdef tmp0=!items2words $val20 val21=$(tmp0) tmp0=!nospace $val21 val21=$(tmp0) tmp0=!charcnt $val21 val22=$(tmp0) !exit :feedback !ifval $val22=1 and $val16<>0

Il faut donner deux numéros de colonnes. Un seul ne prouve rien. $() !endif !ifval $val22=3 and $val16<>0

Il faut donner deux numéros de colonnes, pas trois ! $() !endif !ifval $val22=2 and $val16<>0 and $val16 notin $val20

Vérifie ! On a bien !if $val16=1 $() !insmath \frac{$val11}{$val8}=\frac{$val12}{$val9} $(). !endif $() !if $val16=2 $() !insmath \frac{$val10}{$val7}=\frac{$val12}{$val9} $(). !endif $() !if $val16=3 $() !insmath \frac{$val10}{$val7}=\frac{$val11}{$val8} $(). !endif $() Donc, ce n'est pas avec ces deux colonnes que tu vas pouvoir montrer que le tableau n'est pas un tableau de proportionnalité. $() !endif !exit :test !ifval ($val16=0 and $val20=$val6) or ($val16<>0 and $val16 isin $val20 and $val22=2) condtest1=1 !else condtest1=0 !endif condname1= !exit :stat vsavelist=6,7,8,9,10,11,12,16,20 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/intro.phtml0000644000175000017500000000022410315754115025435 0ustar georgeskgeorgesk!header !read Exindex Este módulo reagrupa por el momento $exototal ejercicios sobre proporcionalidad (nivel 2). !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/Exindex0000644000175000017500000000041510145221342024555 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of Ages,OeufsdePques,Biscuits,tabproportion,tabprop,tabprop2, !set titlelist=!char 1 to -2 of Ages,Oeufs de Pâques,Partages,Tableau de proportion,Tableau de proportionnalité,Tableau de proportionnalité II, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/Extitles0000644000175000017500000000025110145221342024750 0ustar georgeskgeorgeskAges:Ages Biscuits:Partages OeufsdePques:Oeufs de Pâques tabprop:Tableau de proportionnalité tabprop2:Tableau de proportionnalité II tabproportion:Tableau de proportion wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/var.proc0000644000175000017500000000115110060323403024676 0ustar georgeskgeorgesk # Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 # Computational precisions: you can change the defaults here. # pari_precision=18 # maxima_precision=8 # print_precision=8 # Change to no if you don't want classes to import exercises in this module. # A typical situation is that these exercises use common resources of the module. class_importation=yes # Change to yes if you want to put images in common (images/) to all exercises. # If you do so, you must disable class_importation. common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/images/0000755000175000017500000000000006756175173024522 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/about.phtml0000644000175000017500000000005310060323403025401 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/main.phtml0000644000175000017500000000003110060323403025207 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/INDEX0000644000175000017500000000170610315754115024034 0ustar georgeskgeorgesktitle=Ejercicios sobre proporcionalidad II description=colección de ejercicios sobre proporcionalidad (nivel 2). author=Dingyu XIAO address=xiao@unice.fr copyright=© 2000- (GNU GPL) translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es version=1.00 # minimal version of wims server under which the module may run wims_version=3.20 language=es # Possible categories: exercise, tool, dictionary, course, recreation. category=exercise, oef # En: elementary. Hn: high school. Un: under. G: graduate. R: research. # E1,...,E6; H1...,H6; U1,...,U4; G; R level=H2 H3 H4 # e.g. algebra, analysis, geometry, etc. # read public_html/modules/home/lists/domains.allow for the list of # allowed domains. domain=algebra # Anything you like. keywords=proportionality, division, multiplication, percent, pourcent # Software packages required to run the module require= # Does the module have scoring system? scoring=yes wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/0000755000175000017500000000000010060323403024012 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/tabproportion.oef0000644000175000017500000000165310011750517027422 0ustar georgeskgeorgesk\title{Tableau de proportion} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \rational{prop= random(randint(2..9), random(3/2,1/2,5/2))} \integer{a=randint(3..6)} \integer{b=randint(4..9)} \integer{b=\a=\b? \b+1} \rational{aa=\a*\prop} \rational{bb=\b*\prop} \text{pr=\prop} \text{choix=random(1,2,3,4)} \text{rep1=\choix=1? \a:\aa} \text{rep1=\choix=2? \b} \text{rep1=\choix=4? \bb} \statement{Complète le tableau de proportionnalité suivant :
\if{\choix=1}{\embed{reply 1,5}}{\a}\if{\choix=2}{\embed{reply 1,5}}{\b}
\if{\choix=3}{\embed{reply 1,5}}{\aa} \if{\choix=4}{\embed{reply 1,5}}{\bb}

Le coefficient de proportionnalité est \embed{reply 2,6}. } \answer{}{\rep1}{type=numeric} \answer{}{\pr}{type=numeric} wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/Biscuits.oef0000644000175000017500000000213310036525111026274 0ustar georgeskgeorgesk\title{Partages} \language{fr} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{noms=Fabien, Carole, Elodie, Louis, Catherine, George, Olivier, Dominique, Charles, Victor, Simon, Hélène, Pierre, Joséphine, Juliette } \text{noms=shuffle(\noms)} \text{nom1=item(1,\noms)} \text{nom2=item(2,\noms)} \text{nom3=item(3,\noms)} \text{il=\nom3 isitemof Fabien, Louis, George, Olivier, Charles, Victor, Simon, Pierre? il:elle} \matrix{donnee= le quart, 1, 4 le tiers, 1, 3 la moitié, 1, 2 deux tiers, 2, 3 deux cinquième, 2, 5 } \text{objets=random(biscuits, bonbons)} \text{ligne=randomrow(\donnee)} \text{frac=item(1,\ligne)} \text{num=item(2,\ligne)} \text{den=item(3,\ligne)} \integer{part=random(2..9)} \integer{sol=\part*\num} \integer{total=\part*\den} \integer{reste=\total-\sol} \integer{part1=random(1..\reste-1)} \integer{part2=\reste-\part1} \statement{Des enfants se partagent des \objets : \nom1 en a eu \part1, \nom2 en a eu \part2 et \nom3 en a eu \frac. Combien \nom3 a-t-\il eu de \objets ?} \answer{\nom3 en a eu}{\sol}{type=default}wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/.htaccess0000644000175000017500000000001606634516636025635 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/tabprop.oef0000644000175000017500000000232010011750517026157 0ustar georgeskgeorgesk\title{Tableau de proportionnalité} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{prop= randint(2..5)} \integer{a=randint(3..6)} \integer{b=randint(3..9)} \integer{c=randint(1..9)} \integer{d=randint(1..9)} \integer{e=randint(1..9)} \integer{f=randint(5..9)} \integer{aa=\a*\prop} \integer{bb=\b*\prop} \integer{cc=\c*\prop} \integer{dd=\d*\prop} \integer{ee=\e*\prop} \integer{ff=\f*\prop} \text{premsec=première, seconde} \text{choix=random(1,2)} \text{prem=item(\choix,\premsec)} \text{sec=item(3-\choix,\premsec)} \text{pr=\choix=1 ? \prop:1/\prop} \statement{Complète le tableau de proportionnalité suivant :
\a\b\c\embed{reply 1,6}\embed{reply 2,6}\f
\aa\bb \embed{reply 3,6} \dd \ee \embed{reply 4,6}

On passe de la \prem ligne à la \sec en multipliant par \embed{reply 5,6} } \answer{}{\d}{type=numeric} \answer{}{\e}{type=numeric} \answer{}{\cc}{type=numeric} \answer{}{\ff}{type=numeric} \answer{}{\pr}{type=numeric} wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/Ages.oef0000644000175000017500000000144507536607641025417 0ustar georgeskgeorgesk\title{Ages} \language{fr} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{noms=Maurice, Christophe, Laure, Carine, Michel, Céline, Joseph, Nicolas, Renaud, Lucas, Marie, Claire, Suzanne, Henri } \text{noms=shuffle(\noms)} \text{nom1=item(1,\noms)} \text{nom2=item(2,\noms)} \matrix{donnee= le double de, 3, 1 le triple de, 4, 1 quatre fois, 5, 1 la moitié de, 3, 2 le tiers de, 4, 3 } \text{ligne=randomrow(\donnee)} \text{fois=item(1,\ligne)} \integer{m1=item(2,\ligne)} \integer{m2=item(3,\ligne)} \integer{r=random(5..30)} \integer{d=\r*\m1} \integer{R=\r*\m2} \statement{\nom1 et \nom2 ont \d ans à eux deux. Sachant que l'âge de \nom2 est \fois celui de \nom1, quel est l'âge de \nom1?} \answer{L'âge de \nom1}{\R}{type=default}wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/tabprop2.oef0000644000175000017500000000362110145221342026243 0ustar georgeskgeorgesk\title{Tableau de proportionnalité II} \language{fr} \range{-5..5} \author{Bernadette PERRIN-RIOU} \email{bpr@math.u-psud.fr} \computeanswer{yes} \format{html} \precision{10000} \integer{prop= randint(2..5)} \integer{a=randint(3..6)} \integer{b=randint(3..9)} \integer{c=randint(1..9)} \integer{aa=\a*\prop} \integer{bb=\b*\prop} \integer{cc=\c*\prop} \integer{dd=\d*\prop} \integer{ee=\e*\prop} \integer{ff=\f*\prop} \integer{faux=random(0,0,1,2,3)} \integer{aa=\faux=1 ? 2*\aa} \integer{bb=\faux=2 ? \bb+2} \integer{cc=\faux=3? 2*\bb-2} \text{oui=oui} \text{non=non} \text{rep=\faux=0? \oui:\non} \steps{choice 1 reply 1} \statement{\if{\step=1}{Le tableau suivant est-il un tableau de proportionnalité ? }
\a\b\c
\aa\bb \cc

\if{\step=2}{\if{\faux=0}{Oui, c'est un tableau de proportionnalité. Quel est le coefficient de proportionnalité ? } {En effet, ce n'est pas un tableau de proportionnalité : donne deux numéros de colonnes qui t'ont permis de conclure à la non proportionnalité. } } } \choice{}{\rep}{\oui,\non} \answer{}{\proport}{type=nocase} \text{reponse=wims(items2words \proport)} \text{reponse=wims(nospace \reponse)} \text{n=wims(charcnt \reponse)} \condition{}{(\faux=0 and \proport=\prop) or (\faux<>0 and \faux isin \proport and \n=2)} \feedback{\n=1 and \faux<>0}{Il faut donner deux numéros de colonnes. Un seul ne prouve rien. } \feedback{\n=3 and \faux<>0}{Il faut donner deux numéros de colonnes, pas trois !} \feedback{\n=2 and \faux<>0 and \faux notin \proport}{Vérifie ! On a bien \if{\faux=1}{ \(\frac{\bb}{\b}=\frac{\cc}{\c}).} \if{\faux=2}{ \(\frac{\aa}{\a}=\frac{\cc}{\c}).} \if{\faux=3}{ \(\frac{\aa}{\a}=\frac{\bb}{\b}).} Donc, ce n'est pas avec ces deux colonnes que tu vas pouvoir montrer que le tableau n'est pas un tableau de proportionnalité. }wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/src/OeufsdePques.oef0000644000175000017500000000174310036525111027125 0ustar georgeskgeorgesk\title{Oeufs de Pâques} \language{fr} \range{-5..5} \author{XIAO Dingyu} \email{xiao@unice.fr} \computeanswer{no} \format{html} \precision{10000} \text{noms=Patrick, Fabien, Fabrice, Carole, Elodie, Jean-Pierre, Paul, Gérard, Louis, Catherine, Julie, George, Dominique, Charles, Sylvie } \text{noms=shuffle(\noms)} \text{nom1=item(1,\noms)} \text{nom2=item(2,\noms)} \text{nom3=item(3,\noms)} \matrix{donnee= la moitié, le quart, 1, 4 la moitié, le tiers, 1, 6 le quart, le quart, 2, 4 le tiers, le tiers, 1, 3 le tiers, le quart, 5, 12 } \text{ligne=randomrow(\donnee)} \text{q1=item(1,\ligne)} \text{q2=item(2,\ligne)} \integer{num=item(3,\ligne)} \integer{den=item(4,\ligne)} \integer{part=random(2..10)} \integer{q3=\num*\part} \integer{reponse=\part*\den} \statement{Des enfants cherchent des oeufs de Pâques dans un jardin. \nom1 en a trouvé \q1, \nom2 en a trouvé \q2 et \nom3 en a trouvé \q3. Combien d'oeufs ont-ils été trouvés?} \answer{Le nombre d'oeufs}{\reponse}{type=default}wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/NEWS0000644000175000017500000000030210145221601023716 0ustar georgeskgeorgesk# This file registers changes to the module. # Please write in reverse order: the last version first. Version 1.01: Fix a small typo in code of tabprop2.oef Version 1.00: First publication. wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/endhook.phtml0000644000175000017500000000010210315754115025724 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H3/algebra/oefprop.es/help.phtml0000644000175000017500000000005210060323403025216 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/0000755000175000017500000000000011256411637023052 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/about.phtml0000644000175000017500000000007611255731644025237 0ustar georgeskgeorgeskEjercicio de resolución de sistemas lineales. $module_about wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/NEWS0000644000175000017500000000166210771745075023565 0ustar georgeskgeorgesk--------------- v1.08 20070525 correction module_error dans syst.ini --------------- v1.07 20070521 protection contre paramtrage abusif des variables d'entrees --------------- v1.06 20070519 correction d'affichage pour des coefficients décimaux 20070519 trois niveaux de difficulté dans la resolution des systémes d'équations 20070519 remplacement de maxima par pari --------------- v1.05 20061107 correction beug : impossibilite de faire calcul dans l'action remplacer --------------- v1.04 20050403 acceptation des solutions de la forme a=x pour les equations (suggestion de F. Pitoum) --------------- v1.03 20041129 Changement de l'adresse mail. 20041129 Changement de change.log en NEWS. 20041129 Enregistrement des erreurs dans wims_module_error --------------- v1.02 20040507 extension de l'action soustration à l'addition de deux équations 20040507 ajout de l'action permuter deux équations --------------- v1.00 20040425 publication wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/erreurcalc.phtml0000644000175000017500000000043111255732161026242 0ustar georgeskgeorgesk!! message pour erreur de calcul.

Ha cometido un error en el cálculo.

puede:

  • !href cmd=resume&status=2 Corregir el error.
  • !href cmd=resume&status=1 regresar al menú general.
wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/syst.ini0000644000175000017500000000417511256501443024557 0ustar georgeskgeorgesktmp=1,1,Resolver la ecuación siguiente :,ecuación\ 2,2,Resolver el sistema de ecuaciones siguiente :,ecuación\ 1,1,Resolver la inecuación siguiente :,incuación !bound mode between 1 and 3 default 1 !bound difficulte between 1 and 3 default 1 !bound natcoef within entier,entierrel,fractions,fractionsrel,decimal1,decimal1rel,decimal2,decimal2rel default entier !bound nocalcul within 0,1 default 1 !bound nbreexo between 1 and 8 default 1 tmp=!line $mode of $tmp !distribute items $tmp into nbreequ,nbreinc,enonce,nom val40=$tmp listinc=x,y\ u,v\ a,b listinc=!randline $listinc listinc=!item 1 to $nbreinc of $listinc val41=$listinc !if decimal isin $natcoef maxdecimale=5 !else maxdecimale=0 !endif !if $mode=1 or $mode=3 !readproc generateur.don $natcoef,5 !distribute items $list into tmp1,tmp2,tmp3,tmp4,tmp5 !if $tmp1=$tmp3 tmp1=$tmp1+1 !endif !if $tmp1*$tmp2=$tmp3 tmp2=$tmp2+1; !endif tmp=($tmp1)*$listinc+($tmp2),$tmp3\ ($tmp1)*$listinc+($tmp2),($tmp3)*$listinc+($tmp4)\ $tmp1*(($tmp2)*$listinc+($tmp4)),($tmp3)*$listinc+($tmp5) tmp=!line $difficulte of $tmp val43=$tmp !distribute items $tmp into tmp1,tmp2 tmp=!exec pari print($tmp1)\ print($tmp2) val42=$tmp !distribute lines $tmp into tmp1,tmp2 !if $mode=1 tmp3=1 !else tmp3=!randint 2,5 !endif sys0=$tmp1,$tmp3,$tmp2 !endif !if $mode=2 !readproc generateur.don $natcoef,6 !distribute items $list into tmp1,tmp2,tmp3,tmp4,tmp5,tmp6 !distribute items $listinc into tmp7,tmp8 !if $difficulte=1 tmp1=0 !else !if $difficulte=2 tmp1=!randitem 1,-1 !endif !endif tmp9=!shuffle $tmp1,$tmp2,$tmp3,$tmp4 tmp10=!positionof item $tmp1 in $tmp9 !distribute item $tmp9 into tmp1,tmp2,tmp3,tmp4 tmp9=$[($tmp1)*($tmp4)-($tmp2)*($tmp3)] !if $tmp9=0 tmp11=!listcomplement $tmp10 in 1,2,3,4 tmp11=!randitem $tmp11 $(tmp$tmp11)=$[$(tmp$tmp11)+1] !endif tmp=!exec pari print(($tmp1)*$tmp7+($tmp2)*$tmp8)\ print(($tmp3)*$tmp7+($tmp4)*$tmp8)\ print(($tmp1)*($tmp5)+($tmp2)*($tmp6))\ print(($tmp3)*($tmp5)+($tmp4)*($tmp6)) !distribute lines $tmp into tmp1,tmp2,tmp3,tmp6 sys0=$tmp1,1,$tmp3\ $tmp2,1,$tmp6 !endif nbetape=0 nbetapeop=10 comment0=$empty val44=$nbreexo val45=$noexo wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/affsys.phtml0000644000175000017500000000106310771745075025422 0ustar georgeskgeorgesk!let tmp1=$(sys$[$wims_read_parm])
!for i=1 to $nbreequ !if $i<$nbreequ !endif !let tmp4=!line $i of $tmp1 !distribute items $tmp4 into tmp5,tmp6,tmp7 !read decimal.proc $tmp5 !let tmp3=!item $tmp6 of $symboleaff !read decimal.proc $tmp7 !next i
$(m_leftbrace$[$nbreequ]) \($sortie)\($tmp3)\($sortie)
$(comment$[$wims_read_parm])
wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/.htaccess0000644000175000017500000000001610771745075024654 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/msg.phtml0000644000175000017500000000034511256210760024702 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if bad_data=$error No se ha podido evaluar las respuestas introducidas. Error !exit !endif !msg $error wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/var.def0000644000175000017500000000304510771745075024333 0ustar georgeskgeorgesk# Variable declaration file. # # Only those variables with possible user inputs or requiring inter-request # savings need to be declared in this file. # #Each non-comment line defines a variable. Format of the line: # #name allow # #name: name of the variable #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. # # #name allow # variable de configuration mode config nbreexo config nocalcul config esscalcmax config natcoef config listnat deny affnat deny difficulte config #variable de gestion bareme init noexo deny exogood deny nbreerrcalc deny nbreerrrais deny nbreaide deny listaction init nbreesscalc init nom deny list any maxdecimale deny # variable d'execution status any repexo any repexo[10] any action reply erreur deny meserreur init evitecalc deny noteinter deny # variable de l'exercice rang deny nbreinc deny nbreequ deny sys0 deny sys[50] deny comment0 deny comment[50] deny nbetape any listinc deny nbetapeop deny # variable autre renewlink init replygood0 deny reply0 deny test deny diareply0 deny lib_rep deny mempara deny tmp[20] any val[20] any j any i any ii any symbole deny symboleaff denywims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/decimal.proc0000644000175000017500000000140010771745075025337 0ustar georgeskgeorgesk!distribute item $listinc into tmp1_,tmp2_ !let input_=!rawmath $wims_read_parm !let input1_=!exec pari polcoeff($input_,1,$tmp1_)\ polcoeff(polcoeff($input_,0,$tmp1_),0,$tmp2_)\ polcoeff($input_,1,$tmp2_) !distribute line $input1_ into tmp3_,tmp4_,tmp5_ !let tmp9_=$empty !for tmp6_=3 to 3+$nbreinc !let tmp7_=$[$(tmp$(tmp6_)_)] !if $tmp7_!=0 !let ttmp7_=!replace internal . by , in $tmp7_ !let tmp8_=!item 2 of $ttmp7_ !let tmp8_=!charcnt $tmp8_ !if $tmp8_<$maxdecimale !let tmp$(tmp6_)_=$tmp7_ !endif !if $tmp6_=3 !let tmp9_=$tmp9_+$(tmp$(tmp6_)_)*$tmp1_ !else !if $tmp6_=5 !let tmp9_=$tmp9_+$(tmp$(tmp6_)_)*$tmp2_ !else !let tmp9_=$tmp9_+$(tmp$(tmp6_)_) !endif !endif !endif !next $tmp6_ !let sortie=!texmath $tmp9_ wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/INDEX0000644000175000017500000000107111255732332023640 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Ecuaciones-Inecuaciones description=resolución libre de una ecuación, de una inecuación o de un sistema de ecuaciones. language=es category=exercise domain=algebra level=H3,H4 keywords=Sistemas de ecuaciones, Ecuaciones, Inecuaciones require= scoring=yes copyright=© 2004 (GNU GPL) 2005 2006 2007 2009 author=Fabrice Guerimand address=fwguerima@free.fr version=1.08 wims_version=3.44 vardef= translator=Antonio Ullán translator_address=aullan@unex.es data= wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/var.proc0000644000175000017500000000122410771745075024535 0ustar georgeskgeorgeskinsmath_rawmath=yes wims_backslash_insmath=yes !if $error!=$empty !set wims_module_error=error : $error !endif !if $status=0 nbreerrcalc=0 nbreerrrais=0 nbreesscalc=0 nbreaide=0 !for i=0 to 30 sys$i=$empty !next i !read syst.ini status=1 !endif !if $status=3 !let tmp=!item $action of $listaction !read $tmp analyse !endif !if $status=4 !read src/conclure.phtml analyse2 !endif !if $status=5 tmp=!replace char C by $nbreerrcalc in $bareme tmp=!replace char R by $nbreerrrais in $tmp noteinter=$[$noteinter+$tmp/$nbreexo] !if $noexo=$nbreexo module_score=$[min(10,max(0,$noteinter))] !endif !endif wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/0000755000175000017500000000000010771763604023646 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/substituer.phtml0000644000175000017500000000627011256501574027125 0ustar georgeskgeorgesk!! remplacer une inconnue par son expression dans une équation Sustituir : !goto $wims_read_parm !exit :question !form reply !if $nbreesscalc=0 En la ecuación !formselect repexo1 from 1 to 2 prompt , reemplazar la incógnita !formselect repexo2 from 1 to 2 prompt $listinc por su expresión obtenida en la otra ecuación. !else !let tmp=!item $repexo2 of $listinc En la ecuación $(repexo1), reemplazo la incógnita \($tmp) por su expresión en la otra ecuación. !endif !if $nocalcul!=1
La ecuación siguiente : !if $mode=3 !formselect repexo5 list 1,2,3,4,5 prompt $symbole !else = !endif !endif
!exit :reponse

!let tmp=!item $repexo2 of $listinc En la ecuación $(repexo1), reemplazada la incógnita \($tmp) por su expressión hallada en la otra ecuación.

!let tmp=!item $repexo5 of $symboleaff

la nueva ecuación será \($repexo4 $tmp $repexo6).

!if $erreur!=calcul

$erreur .

usted puede:

  • !href cmd=resume&status=2 elegir otra sustitución
  • !href cmd=resume&status=1 regresar al menú general.
!else !read erreurcalc.phtml !endif
!let wims_module_error=error : $erreur !let erreur=$empty !exit :analyse !! --------------- test si tous les champs sont remplis !if $repexo1=$empty or $repexo2=$empty erreur=$meserreur status=2 !exit !endif !! ------------- test si la substitution est possible tmp0=!item $repexo1 of 2,1 tmp=!line $tmp0 of $(sys$nbetape) !distribute items $tmp into tmp1,tmp2,tmp3 tmp4=!item $repexo2 of $listinc !if ($tmp4!=$tmp1 or $tmp4 isin $tmp3) and ($tmp4!=$tmp3 or $tmp4 isin $tmp1) erreur=No se puede obtener la expresión de la variable $tmp4 utilizando la ecuación $tmp0 tal como está escrita actualmente. !increase nbreerrrais !exit !endif !! ------------- calcul de la nouvelle equation/inequation !if $evitecalc=0 evitecalc=1 !if $tmp4=$tmp1 tmp5=$tmp3 !else tmp5=$tmp1 !endif tmp6=!line $repexo1 of $(sys$nbetape) tmp6=!replace internal $tmp4 by ($tmp5) in $tmp6 val40=$tmp6 !distribute items $tmp6 into tmp7,tmp8,tmp9 tmp1=!exec pari $tmp7\ $tmp9 val41=$tmp1 !distribute lines $tmp1 into tmp7,tmp9 tmp7=$tmp7,1,$tmp9 val42=$tmp7 sys$[$nbetape+1]=!replace line number $repexo1 by $tmp7 in $(sys$nbetape) !endif !! ------------ verification de l'exactitude des calculs !if $nocalcul!=1 tmp1=!line $repexo1 of $(sys$[$nbetape+1]) repexo4=!rawmath $repexo4 repexo6=!rawmath $repexo6 !read verifequ.calc $tmp1,$repexo4,$repexo5,$repexo6 !if NaN isin $test erreur=$meserreur status=2 !exit !endif !if $test!=$empty erreur=$test !exit !endif !if $mode=2 !replace line number $repexo2 of $(sys$[$nbetape+1]) by $repexo4,$repexo5,$repexo6 !else sys$[$nbetape+1]=$repexo4,$repexo5,$repexo6 !endif !endif !increase nbetape status=1 evitecalc=0 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/echanger.phtml0000644000175000017500000000142211256450260026455 0ustar georgeskgeorgesk!! pour echanger deux equations d'un systeme. Intercambiar las dos ecuaciones : !goto $wims_read_parm !exit :question !form reply Pulsar en el botón "intercambiar" para intercambiar el lugar de cada una de las ecuaciones del sistema o sobre el botón "regresar" para volver al menú de acciones.
!exit :reponse !exit :analyse !! ------------- calcul du nouveau système tmp1=!line 1 of $(sys$nbetape) tmp2=!line 2 of $(sys$nbetape) sys$[$nbetape+1]=!append line $tmp2 to $(sys$[$nbetape+1]) sys$[$nbetape+1]=!append line $tmp1 to $(sys$[$nbetape+1]) comment$[$nbetape+1]=Intercambiadas las dos ecuaciones del sistema. !increase nbetape status=1 evitecalc=0 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/transposer.phtml0000644000175000017500000000627411256472552027123 0ustar georgeskgeorgesk!! transposer dans une équation ou une inéquation Trasponer: !goto $wims_read_parm !exit :question !form reply !if $nbreesscalc=0 !formselect repexo1 from 1 to 2 prompt Sumo,Resto a cada uno de los miembros de la $nom !if $mode=2 !formselect repexo2 from 1 to 2 !endif la expresión . !else !let tmp=!item $repexo1 de Sumo,Resto $tmp a cada uno de los miembros de la $nom $repexo2 la expresión \($repexo3). !endif !if $nocalcul!=1
L'$nom devient : !if $mode=3 !let tmp=1,2,3,4,5 !formselect repexo5 list $tmp prompt $symbole !else = !endif !endif
!exit :reponse

$(comment$[$nbetape+1])

!if $erreur!=calcul

$erreur .

usted puede:

  • !href cmd=resume&status=2 elegir otra trasposición.
  • !href cmd=resume&status=1 retourner au menu général.
!else !read erreurcalc.phtml !endif
!let wims_module_error=error : $erreur !let erreur=$empty !exit :analyse !! --------------- test si tous les champs sont remplis !if $repexo1=$empty or $repexo3=$empty or ($repexo2=$empty and $mode=2) erreur=$meserreur status=2 !exit !endif !! -------------- test de la validité de l'expression donnée. i=0 replygood0=0 test=$empty reply0=$repexo3 !read anstype/algexp !if NaN isin $test erreur=$meserreur status=2 !exit !endif !! ------------- calcul de la nouvelle equation/inequation !if $evitecalc=0 evitecalc=1 !if $mode!=2 repexo2=1 !endif tmp=!line $repexo2 of $(sys$nbetape) tmp0=!item $repexo1 of +,- tmp1=!item 1 of $tmp tmp5=!rawmath $repexo3 !if . isin $tmp5 ttmp5=!replace internal . by , in $tmp5 ttmp5=!item 2 of $ttmp5 ttmp5=!charcnt $ttmp5 tmp5=$[$tmp5*10^$ttmp5]/$[10^$ttmp5] !endif tmp3=!item 3 of $tmp tmp1=!exec pari ($tmp1)$tmp0($tmp5)\ ($tmp3)$tmp0($tmp5) tmp2=!item 2 of $tmp !distribute lines $tmp1 into tmp1,tmp3 tmp1=!rawmath $tmp1 tmp3=!rawmath $tmp3 tmp4=$tmp1,$tmp2,$tmp3 sys$[$nbetape+1]=!replace line number $repexo2 by $tmp4 in $(sys$nbetape) val40=$sys1 !endif !! --------------- construction de la phrase de commentaire !let tmp=!item $repexo1 of Añadido,Restado !if $mode=2 tmp1=$repexo2 !else tmp1=$empty !endif comment$[$nbetape+1]=$tmp a cada uno de los miembros de la $nom $tmp1 la expresión \($repexo3). !! ------------ verification de l'exactitude des calculs !if $nocalcul!=1 !if $mode!=2 repexo2=1 !endif !if $mode<3 repexo5=1 !endif tmp1=!line $repexo2 of $(sys$[$nbetape+1]) repexo4=!rawmath $repexo4 repexo6=!rawmath $repexo6 !read verifequ.calc $tmp1,$repexo4,$repexo5,$repexo6 !if NaN isin $test erreur=$meserreur status=2 !exit !endif !if $test!=$empty erreur=calcul !exit !endif !replace line number $repexo1 of $(sys$[$nbetape+1]) by $repexo4,$repexo5,$repexo6 !endif !increase nbetape status=1 evitecalc=0 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/comb.phtml0000644000175000017500000000523011256471275025633 0ustar georgeskgeorgesk!! fichier de gestion des actions de combinaison lineaire Combinación lineal: !goto $wims_read_parm !exit :question !form reply !if $nbreesscalc=0 Reemplazo la ecuación !formselect repexo1 from 1 to 2 por la ecuación obtenida al calcular !formselect repexo7 list -1,1 prompt la diferencia,la suma miembro a miembro de la ecuación !formselect repexo2 from 1 to 2 y la ecuación !formselect repexo3 from 1 to 2 . !else $(comment$[$nbetape+1]) !endif !if $nocalcul!=1 !read calcligne.phtml question !endif
!exit :reponse

Remplazo la ecuación $repexo1 por la ecuación obtenida al calcular !if $repexo7=-1 la diferencia !else la suma !endif miembro a miembro de la ecuación $repexo2 y la ecuación $repexo3 .

!if $erreur!=calcul

$erreur .

puedes:

  • !href cmd=resume&status=2 elegir otra suma o diferencia.
  • !href cmd=resume&status=1 regresar al menú general.
!else !read erreurcalc.phtml !endif
!let wims_module_error=error : $erreur !let erreur=$empty !exit :analyse !! --------------- test si tous les champs sont remplis !if $repexo1=$empty or $repexo3=$empty or $repexo2=$empty erreur=$meserreur status=2 !exit !endif !! -------------- test de la validité de l'expression donnée. !if $repexo2=$repexo3 !increase $nbreerrrais erreur=Has elegido dos ecuaciones diferentes. !exit !endif !! ------------- calcul de la nouvelle equation/inequation !if $evitecalc=0 evitecalc=1 tmp1=!line $repexo2 of $(sys$nbetape) tmp2=!line $repexo3 of $(sys$nbetape) !distribute items $tmp1 into tmp3,tmp4,tmp5 !distribute items $tmp2 into tmp6,tmp4,tmp7 tmp=!exec pari $tmp3+($repexo7)*($tmp6)\ $tmp5+($repexo7)*($tmp7) !distribute lines $tmp into tmp1,tmp2 tmp4=$tmp1,$tmp4,$tmp2 sys$[$nbetape+1]=!replace line number $repexo1 by $tmp4 in $(sys$nbetape) !endif comment$[$nbetape+1]=Reemplazada la ecuación $repexo1 por la ecuación obtenida calculando la diferencia miembro a miembro entre la ecuación $repexo2 y la ecuación $repexo3. !! ------------ verification de l'exactitude des calculs !if $nocalcul!=1 tmp1=!line $repexo1 of $(sys$[$nbetape+1]) repexo4=!rawmath $repexo4 repexo6=!rawmath $repexo6 !read verifequ.calc $tmp1,$repexo4,1,$repexo6 !if NaN isin $test erreur=$meserreur status=2 !exit !endif !if $test!=$empty erreur=calcul !exit !endif !replace line number $repexo1 of $(sys$[$nbetape+1]) by $repexo4,1,$repexo6 !endif !increase nbetape status=1 evitecalc=0 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/dessiner.phtml0000644000175000017500000000005410771745075026531 0ustar georgeskgeorgesk!! dessiner les solutions d'une inéquation. wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/multiplier.phtml0000644000175000017500000000651111256471543027102 0ustar georgeskgeorgesk!! fichier de gestion de l'action multipier Multiplicar: !goto $wims_read_parm !exit :question !form reply !if $nbreesscalc=0 !formselect repexo1 from 1 to 2 prompt Multiplicar,Dividir cada uno de los miembros de la $nom !if $mode=2 !formselect repexo2 from 1 to 2 !endif por el número . !else !let tmp=!item $repexo1 of Multiplicar,Dividir $tmp cada uno de los miembros de la $nom $repexo2 por el número \($repexo3). !endif !if $nocalcul!=1 !read calcligne.phtml question !endif
!exit :reponse

$(comment$[$nbetape+1])

!let tmp=!item $repexo5 of $symboleaff

La nueva $nom será \($repexo4 $tmp $repexo6).

!if $erreur!=calcul

$erreur .

usted puede:

  • !href cmd=resume&status=2 elegir otra multiplicación u otra división.
  • !href cmd=resume&status=1 regresar al menú general.
!else !read erreurcalc.phtml !endif
!let wims_module_error=error : $erreur !let erreur=$empty !exit :analyse !! --------------- test si tous les champs sont remplis !if $repexo1=$empty or $repexo3=$empty or ($repexo2=$empty and $mode=2) erreur=$meserreur status=2 !exit !endif !! -------------- test de la validité de l'expression donnée. i=0 replygood0=0 test=$empty reply0=$repexo3 !read anstype/numeric !if NaN isin $test erreur=$meserreur status=2 !exit !endif !if $repexo3=0 erreur=No se puede multiplicar o dividir la $nom por cero !increase nbreerrrais !exit !endif !! ------------- calcul de la nouvelle equation/inequation !if $evitecalc=0 evitecalc=1 !if $mode!=2 repexo2=1 !endif tmp=!line $repexo2 of $(sys$nbetape) tmp0=!item $repexo1 of *,/ tmp1=!item 1 of $tmp tmp3=!item 3 of $tmp tmp5=$repexo3 !if . isin $(repexo3) ttmp5=!replace internal . by , in $(repexo3) ttmp5=!item 2 of $ttmp5 ttmp5=!charcnt $ttmp5 tmp5=$[$(repexo3)*10^$ttmp5]/$[10^$ttmp5] !endif tmp1=!exec pari ($tmp1)$tmp0($tmp5)\ ($tmp3)$tmp0($tmp5) tmp2=!item 2 of $tmp !if $tmp2!=1 and $repexo3<0 tmp2=!item $tmp2 of 1,3,2,5,4 !endif !distribute lines $tmp1 into tmp1,tmp3 tmp4=$tmp1,$tmp2,$tmp3 sys$[$nbetape+1]=!replace line number $repexo2 by $tmp4 in $(sys$nbetape) val40=$sys1 !endif !! --------------- construction de la phrase de commentaire !let tmp=!item $repexo1 of Multiplicado,Dividido !if $mode=2 tmp1=$repexo2 !else tmp1=$empty !endif comment$[$nbetape+1]=$tmp cada uno de los miembros de la $nom $tmp1 por \($repexo3). !! ------------ verification de l'exactitude des calculs !if $nocalcul!=1 !if $mode!=2 repexo2=1 !endif !if $mode<3 repexo5=1 !endif tmp1=!line $repexo2 of $(sys$[$nbetape+1]) repexo4=!rawmath $repexo4 repexo6=!rawmath $repexo6 !read verifequ.calc $tmp1,$repexo4,$repexo5,$repexo6 !if NaN isin $test erreur=$meserreur status=2 !exit !endif !if $test!=$empty erreur=$test !exit !endif !if $mode=2 !replace line number $repexo2 of $(sys$[$nbetape+1]) by $repexo4,$repexo5,$repexo6 !else sys$[$nbetape+1]=$repexo4,$repexo5,$repexo6 !endif !endif !increase nbetape status=1 evitecalc=0 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/conclure.phtml0000644000175000017500000000313511256447756026536 0ustar georgeskgeorgesk!! fichier de gestion de l'action conclure. !! fichier de gestion des actions de combinaison lineaire !goto $wims_read_parm !exit :question Erreur de l'exercice. Désolé vous devez abandonner et signaler ce problème à l'auteur. !exit :reponse Usted no ha terminado la resolución del ejercicio.
El resultado debe ser dado en la forma siguiente :
!distribute items $listinc into tmp1,tmp2 !let tmp=\($tmp1=c) done \(c) es un número.,
$(m_leftbrace2)\($tmp1=c)
\($tmp2=d)
donde \(c) et \(d) son números, \($tmp1 symb c) donde \(c) es un número y \(symb) es uno de los cuatro símbolos de desigualdad

!item $mode of $tmp

Los resultados deben estar los más simplificados posible.
!href cmd=resume&status=1 regresar al menu general. !exit :analyse !distribute items $listinc into tmp1,tmp2 tmp3=!line 1 of $(sys$nbetape) !distribute items $tmp3 into tmp3,tmp4,tmp5 !if $tmp5=$tmp1 and $mode=1 tmp=$tmp5 tmp5=$tmp3 tmp3=$tmp !endif !if $tmp3!=$tmp1 !exit !endif i=0 replygood0=0 test=$empty reply0=$tmp5 !read anstype/numeric !if NaN isin $test !exit !endif tmp6=!exec pari $tmp5 !if $tmp5 notsametext $tmp6 !exit !endif !if $mode=2 tmp3=!line 2 of $(sys$nbetape) !distribute items $tmp3 into tmp3,tmp4,tmp5 !if $tmp3!=$tmp2 !exit !endif i=0 replygood0=0 test=$empty reply0=$tmp5 !read anstype/numeric !if NaN isin $test !exit !endif tmp6=!exec pari $tmp5 !if $tmp5 notsametext $tmp6 !exit !endif !endif status=5 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/src/simplifier.phtml0000644000175000017500000000545011256472007027054 0ustar georgeskgeorgesk!! pour simplifier l'écriture d'une équation. Simplificar: !goto $wims_read_parm !exit :question !form reply !if $mode=2 Simplificar la expresión de la ecuación !formselect repexo1 from 1 to 2 del sistema de ecuaciones. !endif Cada uno de los miembros de la $nom siguiente : !if $mode=2
  • Miembro de la izquierda : .
  • Miembro de la derecha : .
!else !distribute items $(sys$[$nbetape]) into tmp1,tmp2,tmp3
  • \($tmp1=).
  • \($tmp3=).
!endif
!exit :reponse
!if $mode=2 tmp=!line $repexo1 of $(sys$[$nbetape]) !distribute items $tmp into tmp1,tmp2,tmp3 Simplificada la expresión de la ecuación $(repexo1) del sistema de ecuaciones. !else !distribute items $(sys$[$nbetape]) into tmp1,tmp2,tmp3 !endif Cada uno de los dos miembros de la $nom siguiente :
    !let tmp1=!texmath $tmp1=$repexo2 !let tmp3=!texmath $tmp3=$repexo3
  • \($tmp1)
  • \($tmp3)

ha cometido un error de cálculo.

vous pouvez:

  • !href cmd=resume&status=2 elegir otra simplificación.
  • !href cmd=resume&status=1 regresar al menú general.
!let wims_module_error=error : $erreur !let erreur=$empty !exit :analyse !! --------------- test si tous les champs sont remplis !if $repexo2=$empty or $repexo3=$empty or ($repexo1=$empty and $mode=2) erreur=$meserreur status=2 !exit !endif !! -------------- test de la validité de l'expression donnée. i=0 replygood0=tt !for j=2 to 3 test=$empty reply0=$(repexo$[$j]) !read anstype/algexp !if NaN isin $test !break !endif !next j !if NaN isin $test erreur=$meserreur status=2 !exit !endif comment$[$nbetape+1]=Simplificación de las expresiones. !! ------------- Vérification des égalités. !if $mode!=2 repexo1=1 !endif tmp=!line $repexo1 of $(sys$[$nbetape]) !distribute items $tmp into tmp1,tmp2,tmp3 repexo2=!rawmath $repexo2 repexo3=!rawmath $repexo3 tmp=!exec pari $tmp1-($repexo2)\ $tmp3-($repexo3) tmp=!lines2items $tmp tmp=!listuniq $tmp !if $tmp!=0 !increase nbreerrcalc !exit !endif !! ------------- calcul de la nouvelle equation/inequation tmp=$repexo2,$tmp2,$repexo3 !if $mode=2 sys$[$nbetape+1]=!replace line number $repexo1 by $tmp in $(sys$[$nbetape]) !else val41=$tmp sys$[$nbetape+1]=$tmp !endif !increase nbetape status=1 evitecalc=0 !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/answer.phtml0000644000175000017500000000021011255732026025405 0ustar georgeskgeorgesk!! Placez ici le code pour montrer le résultat de l'analyse de réponse. Ha obtenido $module_score (sobre 10) puntos en esta respuesta. wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/gaussred.tst0000644000175000017500000000102110771745075025424 0ustar georgeskgeorgesk!! fichier qui teste si un tableau est sous forme reduite. lib_rep=yes tmp=$wims_read_parm val20=$tmp tmp1=!rownum $tmp !for i=1 to $tmp1 tmp3=0 tmp4=!rownum $tmp !for j=1 to $tmp4 tmp5=!row $j of $tmp tmp6=!positionof item 0 in $tmp5 tmp6=!itemcnt $tmp6 !ifval $tmp6=$tmp4-1 tmp3=$j !break !endif !next j !if $tmp3=0 lib_rep=no !break !endif tmp7=!values v for v=1 to $tmp4 tmp7=!listcomplement $tmp3 in $tmp7 tmp=!row $tmp7 of $tmp !next i wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/form.phtml0000644000175000017500000000431011256502724025057 0ustar georgeskgeorgesk!let mempara=$empty !for i=1 to 50 !reset repexo$i !next i !let repexo=$empty !let nbreesscalc=0 !let evitecalc=0 Lista de acciones : !if $mode=2 !endif !if $mode=2 !endif !if $nocalcul!=1 !endif !if $mode=4 !endif
!form reply dos ecuaciones para obtener una nueva ecuación.
!form reply una $nom por un número.
!form reply un término de una $nom.
!form reply las dos ecuaciones de un sistema.
!form reply una incógnita por su expresión obtenida en otra ecuación.
!form reply la expresión de una $nom.
!form reply las soluciones.
!form reply el ejercicio.
!!Remarque: Una descripción detallada de las diferentes acciones está disponible en la ayuda.

wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/var.init0000644000175000017500000000130611256407017024524 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. # content of the file: initialisation of the problem. renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm !default status=0 !default bareme=10-1*(C)-2*(R) wims_module_log=$cmd noexo=1 exogood=0 noteinter=0 insmath_rawmath=yes wims_backslash_insmath=yes listaction=src/comb.phtml,src/multiplier.phtml,src/transposer.phtml,src/conclure.phtml,src/substituer.phtml,src/dessiner.phtml,src/simplifier.phtml,src/echanger.phtml meserreur=

Error: Ha enviado una respuesta incompleta o no compresible por el ordenador. Por favor, corríjala.

erreur=$empty evitecalc=0 symbole==,<,>,<=,>= symboleaff==,<,>,\leq,\geq wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/filedesc0000644000175000017500000000163710771745075024571 0ustar georgeskgeorgeskabout_phtml=Fichier apropos. Vous pouvez le laisser tel quel. help_phtml=Aides aux utilisateurs. main_phtml=Fichier principal d'organisation de sortie. answer_phtml=Présenter le résultat d'analyse de réponse. form_phtml=Formulaire de réponse. intro_phtml=Introduction et configuration de l'exercice. msg_phtml=Messages d'erreur. var_proc=Fichier de traitement des variables. var_init=Initialisation des variables. var_def=Déclarations des variables d'utilisateurs. filedesc=Explication de chaque fichier dans le module. affsys_phtml=fichier d'affichage des systèmes linéaires. syst_ini=initialisation des données du problèmes. gaussred_tst=teste si un système est sous forme réduite. comb_phtml=action combinaison linéaire. affrep_phtml=sous fichier de l'action conclure: affichage de réponses. fonct_phtml= Fichier de description des fonctionnalités de l'exercice. cours_phtml= Fichier de cours en relation avec l'exercice. wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/verifequ.calc0000644000175000017500000000232410771745075025534 0ustar georgeskgeorgesk!! verifie si deux equations sont équivalentes i=0 replygood0=0 !for j in 1,3 test=$empty reply0=!item $[$j+3] of $wims_read_parm !read anstype/algexp !if NaN isin $test !break !endif !next j !if NaN isin $test !exit !endif !distribute items $wims_read_parm into tmp1,tmp2,tmp3,tmp4,tmp5,tmp6 tmp=!exec pari ($tmp1)-($tmp4)\ ($tmp3)-($tmp6)\ ($tmp1)-($tmp6)\ ($tmp3)-($tmp4) !distribute lines $tmp into tmp7,tmp8,tmp9,tmp10 !distribute lines $tmp into val43,val44,val45,val46 tmp11=!item $tmp2 of 1,3,2,5,4 !if ($tmp7=0 and $tmp8=0 and $tmp2=$tmp5) or ($tmp9=0 and $tmp10=0 and $tmp5=$tmp11) test=$empty !else test=calcul !increase nbreerrcalc !endif !if $test=calcul and $mode=3 !if ($tmp7=0 and $tmp8=0 and $tmp5=$tmp11) or ($tmp9=0 and $tmp10=0 and $tmp5=$tmp2) !if $repexo2<0 test=Erreur : lorsque vous multipliez une inégalité par un nombre négatif non nul cela change son sens. !else test=Erreur : lorsque vous multipliez une inégalité par un nombre positif non nul cela ne change pas son sens. !endif !increase nbreerrrais !exit !endif !if ($tmp7=0 and $tmp8=0) or ($tmp9=0 and $tmp10=0) erreur=Erreur de symbole. !endif !endif wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/intro.phtml0000644000175000017500000000215311256470051025247 0ustar georgeskgeorgesk!header $module_title es un ejercicio que propone la resolución paso a paso de una ecuación, de una inecuación o de un sistema de dos ecuaciones con dos incógnitas.


!default nocalcul=1 !default nbreexo=1 !default natcoef=1 !default mode=1 !default difficulte=1 !default listnat=entier !form new

  • Tipo de ejercicio !formselect mode from 1 to 3 prompt Ecuación,Sistema de ecuaciones,Inecuación
  • Tipo de coeficientes !let listnat=entier,entierrel,fractions,fractionsrel,decimal1,decimal1rel,decimal2,decimal2rel !let affnat=Entero positivo,Entero,Fracción positiva,Fracción,Decimal positivo 1, Decimal 1,Decimal positivo 2,Decimal 2 !formselect natcoef list $listnat prompt $affnat
  • Dificultad !formselect difficulte from 1 to 3
  • !formcheckbox nocalcul list 1 prompt No pedir efectuar los cálculos.
  • Número de ejercicios !formselect nbreexo from 1 to 8
!read related.phtml sistemas de ecuaciones, ecuaciones, inecuaciones !tail wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/calcligne.phtml0000644000175000017500000000035510771745075026053 0ustar georgeskgeorgesk
L'$nom devient : !if $mode=3 !formselect repexo5 list 1,2,3,4,5 prompt $symbole !else = !endif wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/main.phtml0000644000175000017500000000501011256501231025026 0ustar georgeskgeorgesk!header Ejercicio $noexo. $enonce
!read affsys.phtml 0
!if $nocalcul=1 Nota : El objetivo de este ejercicio es comprobar el procedimiento paso a paso para la resolución del mismo. El ordenador efectuará los cálculos. !endif


!! ------------ affichage des calculs. !if $nbetape>0 Etapas realizadas : !for ii=0 to $nbetape !next ii
!read affsys.phtml $ii !if $ii<$nbetape and $status!=5 !href cmd=resume&status=1&nbetape=$ii regresar a esta etapa. !endif


!endif !! ----------- corps d'action !if $status=1 !if $nbetape<50 !read form.phtml !else En este ejercicio el número de etapas es limitado. Usted ya ha utilizado $nbetape.

Usted no sabe el método de resolución o no ha llegado a aplicarlo.

debe estudiar o pedir ayuda a su profesor para obtener las explicaciones necesarias.

!href cmd=resume&status=1&nbetape=0 Recomenzar el mismo ejercicio desde el principio. !endif !endif !if $status=2 $erreur !let erreur=$empty !let tmp=!item $action of $listaction !read $tmp question

!href cmd=resume&status=1 regresar !endif !if $status=3 !let tmp=!item $action of $listaction !read $tmp reponse !endif !if $status=4 !read src/conclure.phtml reponse2 !endif !if $status!=5


!endif Informaciones: !if $nocalcul!=1 !endif !! !! !! !!
Número de etapas: $nbetape
Número de errores de cálculo: $nbreerrcalc
Número de errores de razonamiento: $nbreerrrais
Número de accesos a la ayuda:$nbreaide
!if $status=5 Ha resuelto el ejercicio correctamente en $nbetape etapas.
!if $noexo<$nbreexo Este es el ejercicio $noexo de una sesión que consta de $nbreexo. !increase noexo !href cmd=resume&status=0 Continuar la sesión . !href $renewlink Nueva sesión .

(Debe llegar al final de la sesión para obtener una calificación.) !else Ha obtenido una nota de $module_score sobre 10.

!href $renewlink Nueva sesión . !endif !else Este es el ejercicio $noexo de una sesión que consta de $nbreexo. !href $renewlink Nueva sesión .

(Debe llegar hasta el final de la sesión para obtener una calificación.) !endif :lab1 :end !tail wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/generateur.don0000644000175000017500000000363110771745075025727 0ustar georgeskgeorgesk!distribute items $wims_read_parm into tmp1,tmp !goto $tmp1 !exit :entier list=!values v for v=2 to 15 list=!shuffle $list list=!item 1 to $tmp of $list !exit :entierrel tmp1=!values -v for v=2 to 15 tmp2=!values v for v=2 to 15 list=!listunion $tmp1 and $tmp2 list=!shuffle $list list=!item 1 to $tmp of $list !exit :fractions list=1/2,3/2,5/2,7/2,9/2,11/2,1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,1/4,3/4,5/4,7/4,9/4,11/4,13/4,1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,1/6,5/6,7/6,11/6,13/6,1/8,3/8,5/8,7/8,9/8,11/8,13/8,1/9,2/9,4/9,5/9,7/9,8/9,11/9,13/9,1/10,3/10,7/10,9/10,11/10,13/10,1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,13/11,1/12,5/12,7/12,11/12,13/12 list=!shuffle $list list=!item 1 to $tmp of $list !exit :fractionsrel tmp1=1/2,3/2,5/2,7/2,9/2,11/2,1/3,2/3,4/3,5/3,7/3,8/3,10/3,11/3,13/3,1/4,3/4,5/4,7/4,9/4,11/4,13/4,1/5,2/5,3/5,4/5,6/5,7/5,8/5,9/5,11/5,12/5,13/5,1/6,5/6,7/6,11/6,13/6,1/8,3/8,5/8,7/8,9/8,11/8,13/8,1/9,2/9,4/9,5/9,7/9,8/9,11/9,13/9,1/10,3/10,7/10,9/10,11/10,13/10,1/11,2/11,3/11,4/11,5/11,6/11,7/11,8/11,9/11,10/11,13/11,1/12,5/12,7/12,11/12,13/12 tmp2=!replace internal , by ,- in $tmp1 list=listunion $tmp1 and $tmp2 list=!shuffle $list list=!item 1 to $tmp of $list !exit :decimal1 list=$empty !for i=1 to $tmp tmp1=!randint 2,150 tmp1=$tmp1/10 list=!append item $tmp1 to $list !next i !exit :decimal1rel list=$empty !for i=1 to $tmp tmp1=!randint 2,150 tmp2=!randitem 1,-1 tmp1=$[$tmp2*$tmp1]/10 list=!append item $tmp1 to $list !next i !exit :decimal2 list=$empty !for i=1 to $tmp tmp1=!randint 20,1500 tmp1=$tmp1/100 list=!append item $tmp1 to $list !next i !exit :decimal2rel list=$empty !for i=1 to $tmp tmp1=!randint 20,1500 tmp2=!randitem 1,-1 tmp1=$[$tmp2*$tmp1]/100 list=!append item $tmp1 to $list !next i !exit wims-modules-es-3.64.orig/modules/H3/algebra/eqineq.es/help.phtml0000644000175000017500000000003111256467740025050 0ustar georgeskgeorgeskNo hay ayuda disponible. wims-modules-es-3.64.orig/modules/H3/analysis/0000755000175000017500000000000010771673315021414 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/0000755000175000017500000000000010315753112023430 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/0000755000175000017500000000000010142717165024174 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/graph-img.def0000644000175000017500000000455410142714111026523 0ustar georgeskgeorgesk!set title=Graphique -> image !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=100000 ansorder=r varcnt=20 prevarcnt=19 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=!randitem f,g,h val6=$(tmp0) tmp0=!randint 1, 5 val7=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint 1, ($val7-1) val8=$[rint($(tmp0)*$(tmp1))] !ifval $val8=0 val8=$[rint(1)] !endif tmp=!translate ";': to $ $ in $val8/$val7 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val9=$(tmp0) val10=$[rint(5*$val9*50+250)] val11=$[rint(-5*$val9*50+250)] tmp0=!record 1 of src/graph.don val12=$(tmp0) val12=$val12 line 0,$val10,500,$val11,red tmp0=!randitem 1,-1 tmp1=!randint 1, 4 val13=$[rint($(tmp0)*$(tmp1))] val14=$[rint($val9*$val13*10)] val14=$[$val14/10] !if $val13>0 val15=text green,220,-($val14*50)+245,medium,$val14 !else val15=text green,255,-($val14*50)+245,medium,$val14 !endif !if $val14>0 val16=text green,245+50*($val13),260,medium,$val13 !else val16=text green,245+50*($val13),230,medium,$val13 !endif val17=$val12 arrow 250+50*($val13),250,250+50*($val13),-($val14*50)+250,10,green $val16 arrow 250+50*($val13),-($val14*50)+250,250,-($val14*50)+250,10,green $val15 val18=$[$val14+0.1] val19=$[$val14-0.1] replytype1=range replyname1=$val6($val13) replygood1=!rawmath $val18,$val19 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()La représentation graphique de la fonction linéaire $val6 est la suivante :

!read oef/draw.phtml 500,500 \ $val12 $()
Quelle est l'image de $val13 par $val6?
Votre réponse : !read oef/embed.phtml r1 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $()L'image de $val13 par la fonction $val6 est, par définition, l'ordonnée du point sur la droite dont l'abscisse est $val13.

On place donc le point de la droite dont l'abscisse est $val13 puis, on lit son ordonnée.

!read oef/draw.phtml 500,500 \ $val17 $()
$() !exit :feedback !exit :test !exit :stat vsavelist=6,12,13,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/prob1.def0000644000175000017500000000412010142715410025663 0ustar georgeskgeorgesk!set title=Problème de proportionnalité 1 !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=10000000 ansorder=r,r,r varcnt=15 prevarcnt=14 postvarcnt=0 replycnt=3 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 50, 100 val6=$[rint($(tmp0))] val6=$[$val6/10] tmp=!nonempty items jambon,pommes,poires,pêches,pâtes,carottes tmp0=!randitem $tmp val7=$(tmp0) tmp0=!randint 11, 50 val8=$[rint($(tmp0))] val8=$[$val8/10] tmp0=!randint 1, 5000 val9=$[rint($(tmp0))] val9=$[$val9/100] val10=x*$val6 val11=$[$val6*$val8] val12=$[rint($val6*$val8*100)] val12=$[$val12/100] val13=$[$val9/$val6] val14=$[rint($val9/$val6*1000)] val14=$[$val14/1000] oefsteps=reply 1 reply 2 reply 3 nextstep=!nosubst reply 1 reply 2 reply 3 !readproc oef/steps.proc replytype1=algexp replyname1=P(x) replygood1=$val10 replyname2=prix replygood2=$val12 replytype3=units replyname3=poids replygood3=$val14 kg question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()
Un kilogramme de $val7 coûte $val6 euros.
  1. Exprimer en fonction du poids x de $val7 le prix P en euros à payer.
  2. Combien coûtent $val8 kg de $val7 ? (Donner votre résultat au centime près)
  3. Quel poids de $val7 peut-on acheter avec $val9 euros ? (Donner votre résultat au gramme près et préciser l'unité).

    Vos réponses :
    1. P(x) = !read oef/embed.phtml r1,8 $().
    2. $val8 kg de $val7 coûtent !read oef/embed.phtml r2,8 $() euros.
    3. On peut acheter !read oef/embed.phtml r3,8 $() de $val7.
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,9 embedcnt=3 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/CORequa5.def0000644000175000017500000000542310131677417026247 0ustar georgeskgeorgesk!set title=correspondance équation-droite 5 !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=36 prevarcnt=35 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(2)] val7=$[rint(5)] !if $val6=1 val8=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre. val9=f(x) val10=40x150x75 !else val8=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre. val9=y val10=40x100x75 !endif val11=2,3,4,5 val12=$[rint(0)] tmp0=!item 2 of $val11 val11=$[rint($(tmp0))] val13=$val11,-$val11,-1/$val11,1/$val11,1,-1 tmp0=!shuffle $val13 val13=$(tmp0) val14=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir tmp0=!shuffle $val14 val14=$(tmp0) tmp0=!item 1 to $val7 of $val14 val14=$(tmp0) tmp0=!items2lines $val14 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp0=!replace internal ;#; by , in $val15 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!record 2 of src/graph.don val17=$(tmp0) val18= !for val19 =1 to $val7 tmp0=!item $val19 of $val13 val20=$(tmp0) val21=$[rint(0)] val22=$[rint(150+(-5*30))] val23=$[rint(150+(5*30))] val24=!rawmath -($val20*(x)+($val21))*30+150 evaltmp=$val24 evaltmp=!mathsubst x=(-5) in $evaltmp tmp0=($evaltmp) val25=$[rint($(tmp0))] evaltmp=$val24 evaltmp=!mathsubst x=(5) in $evaltmp tmp0=($evaltmp) val26=$[rint($(tmp0))] val17=$val17 line $val22,$val25,$val23,$val26,$(val14[$val19]) tmp0=!texmath $val20*x val27=$(tmp0) !ifval $val6=1 val15=\(x \mapsto $val27) !else val15=\(y=$val27) !endif tmp0=!append item $val15 to $val18 val18=$(tmp0) !next val17=$val17 text black,290,150,medium,x text black,155,2,medium,$val9 replytype1=correspond replyname1=Réponse replygood1=$val18;$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val8 ?
    !read oef/embed.phtml r1,$val10 $()
    !read oef/draw.phtml 301,301 \ $val17 $()
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/classer2.def0000644000175000017500000000607610113713226026373 0ustar georgeskgeorgesk!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 ?
    !read oef/embed.phtml r1,$val7 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $()
    • Fonctions linéaires :
      $val22
    $() !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 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/classer1.def0000644000175000017500000000607610113713226026372 0ustar georgeskgeorgesk!set title=Classer des fonctions (4 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(2)] val7=175x50x3 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 ?
    !read oef/embed.phtml r1,$val7 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $()
    • Fonctions linéaires :
      $val22
    $() !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 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/CORequa4.def0000644000175000017500000000542310131677417026246 0ustar georgeskgeorgesk!set title=correspondance équation-droite 4 !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=36 prevarcnt=35 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(2)] val7=$[rint(4)] !if $val6=1 val8=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre. val9=f(x) val10=40x150x75 !else val8=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre. val9=y val10=40x100x75 !endif val11=2,3,4,5 val12=$[rint(0)] tmp0=!item 2 of $val11 val11=$[rint($(tmp0))] val13=$val11,-$val11,-1/$val11,1/$val11,1,-1 tmp0=!shuffle $val13 val13=$(tmp0) val14=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir tmp0=!shuffle $val14 val14=$(tmp0) tmp0=!item 1 to $val7 of $val14 val14=$(tmp0) tmp0=!items2lines $val14 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp0=!replace internal ;#; by , in $val15 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!record 2 of src/graph.don val17=$(tmp0) val18= !for val19 =1 to $val7 tmp0=!item $val19 of $val13 val20=$(tmp0) val21=$[rint(0)] val22=$[rint(150+(-5*30))] val23=$[rint(150+(5*30))] val24=!rawmath -($val20*(x)+($val21))*30+150 evaltmp=$val24 evaltmp=!mathsubst x=(-5) in $evaltmp tmp0=($evaltmp) val25=$[rint($(tmp0))] evaltmp=$val24 evaltmp=!mathsubst x=(5) in $evaltmp tmp0=($evaltmp) val26=$[rint($(tmp0))] val17=$val17 line $val22,$val25,$val23,$val26,$(val14[$val19]) tmp0=!texmath $val20*x val27=$(tmp0) !ifval $val6=1 val15=\(x \mapsto $val27) !else val15=\(y=$val27) !endif tmp0=!append item $val15 to $val18 val18=$(tmp0) !next val17=$val17 text black,290,150,medium,x text black,155,2,medium,$val9 replytype1=correspond replyname1=Réponse replygood1=$val18;$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val8 ?
    !read oef/embed.phtml r1,$val10 $()
    !read oef/draw.phtml 301,301 \ $val17 $()
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/.htaccess0000644000175000017500000000001606634516636026002 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/graph-ant.def0000644000175000017500000000473210142713736026543 0ustar georgeskgeorgesk!set title=Graphique->antécédent !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=1000 ansorder=r varcnt=19 prevarcnt=18 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 tmp=!nonempty items f,g,h tmp0=!randitem $tmp val6=$(tmp0) tmp0=!randint 1, 5 val7=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint ($val7+1), 5 val8=$[rint($(tmp0)*$(tmp1))] tmp=!translate ";': to $ $ in $val8/$val7 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val9=$(tmp0) val10=$[rint(5*$val9*50+250)] val11=$[rint(-5*$val9*50+250)] tmp0=!record 1 of src/graph.don val12=$(tmp0) val12=$val12 line 0,$val10,500,$val11,red tmp0=!randitem 1,-1 tmp1=!randint 1, 4 val13=$[rint($(tmp0)*$(tmp1))] tmp=!translate ";': to $ $ in $val13/($val9) tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val14=$[rint($(tmp0)*10)] val14=$[$val14/10] !if $val14>0 val15=text green,220,-($val13*50)+245,medium,$val13 !else val15=text green,255,-($val13*50)+245,medium,$val13 !endif !if $val13>0 val16=text green,245+50*($val14),260,medium,$val14 !else val16=text green,245+50*($val14),230,medium,$val14 !endif val17=$val12 arrow 250,-($val13*50)+250,250+50*($val14),-($val13*50)+250,10,green $val16 arrow 250+50*($val14),-($val13*50)+250,250+50*($val14),250,10,green $val15 val18=$[$val14+0.1] val19=$[$val14-0.1] replytype1=range replyname1=Réponse replygood1=!rawmath $val18,$val19 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()La représentation graphique de la fonction linéaire $val6 est la suivante:
    !read oef/draw.phtml 500,500 \ $val12 $()
    Quel nombre a pour image $val13 par la fonction $val6?
    Votre réponse : !read oef/embed.phtml r1 $() $() !exit :hint $() $() !exit :help $() $() !exit :solution $()Le nombre qui a pour image $val13 par la fonction $val6 est, par définition, l'abscisse du point sur la droite dont l'ordonnée est $val13.

    On place donc le point de la droite dont l'ordonnée est $val13 puis, on lit son abscisse.

    !read oef/draw.phtml 500,500 \ $val17 $()
    $() !exit :feedback !exit :test !exit :stat vsavelist=6,12,13,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/CORfonct4.def0000644000175000017500000000543310131677417026425 0ustar georgeskgeorgesk!set title=correspondance fonction-représentation 4 !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=36 prevarcnt=35 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(1)] val7=$[rint(4)] !if $val6=1 val8=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre. val9=f(x) val10=40x150x75 !else val8=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre. val9=y val10=40x100x75 !endif val11=2,3,4,5 val12=$[rint(0)] tmp0=!item 2 of $val11 val11=$[rint($(tmp0))] val13=$val11,-$val11,-1/$val11,1/$val11,1,-1 tmp0=!shuffle $val13 val13=$(tmp0) val14=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir tmp0=!shuffle $val14 val14=$(tmp0) tmp0=!item 1 to $val7 of $val14 val14=$(tmp0) tmp0=!items2lines $val14 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp0=!replace internal ;#; by , in $val15 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!record 2 of src/graph.don val17=$(tmp0) val18= !for val19 =1 to $val7 tmp0=!item $val19 of $val13 val20=$(tmp0) val21=$[rint(0)] val22=$[rint(150+(-5*30))] val23=$[rint(150+(5*30))] val24=!rawmath -($val20*(x)+($val21))*30+150 evaltmp=$val24 evaltmp=!mathsubst x=(-5) in $evaltmp tmp0=($evaltmp) val25=$[rint($(tmp0))] evaltmp=$val24 evaltmp=!mathsubst x=(5) in $evaltmp tmp0=($evaltmp) val26=$[rint($(tmp0))] val17=$val17 line $val22,$val25,$val23,$val26,$(val14[$val19]) tmp0=!texmath $val20*x val27=$(tmp0) !ifval $val6=1 val15=\(x \mapsto $val27) !else val15=\(y=$val27) !endif tmp0=!append item $val15 to $val18 val18=$(tmp0) !next val17=$val17 text black,290,150,medium,x text black,155,2,medium,$val9 replytype1=correspond replyname1=Réponse replygood1=$val18;$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val8 ?
    !read oef/embed.phtml r1,$val10 $()
    !read oef/draw.phtml 301,301 \ $val17 $()
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/img-ant.def0000644000175000017500000000746110142712316026211 0ustar georgeskgeorgesk!set title=image-antécédent d'une fonction !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=13 prevarcnt=12 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=2 feedbackcnt=1 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp=!nonempty items f,g,h tmp0=!randitem $tmp val6=$(tmp0) tmp0=!randitem 1,-1 tmp1=!randint 1, 35 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 20 val8=$[rint($(tmp0))] tmp=!translate ";': to $ $ in $val7/$val8 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val7=$(tmp0) tmp0=!randitem 1,-1 tmp1=!randint 1, 35 val9=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 20 val8=$[rint($(tmp0))] tmp=!translate ";': to $ $ in $val9/$val8 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val9=$(tmp0) val10=Quelle est l'image du nombre \($val9),Quel nombre a pour image \($val9) tmp=!translate ";': to $ $ in $val9*$val7 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); tmp=!translate ";': to $ $ in $val9/($val7) tmp=!lower $tmp tmp1=!exec maxima fullratsimp($tmp); val11=$(tmp0),$(tmp1) tmp0=!randitem 1,2 val12=$[rint($(tmp0))] tmp0=!item $val12 of $val11 val11=$(tmp0) tmp0=!item $val12 of $val10 val10=$(tmp0) replytype1=numexp replyname1=réponse: replygood1=?analyze 13 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Soit !insmath $val6 $() la fonction linéaire de coefficient !insmath $val7 $().

    $val10 par la fonction !insmath $val6 $()?
    Votre réponse : !read oef/embed.phtml r1 $()
    (Vous devez écrire le résultat sous la forme d'un entier ou d'une fraction la plus simple possible) $() !exit :hint $() $() !exit :help $() $() !exit :solution $()On peut résoudre l'exercice de deux façons:

    • Méthode 1 : faire un tableau de proportionnalité:

      x
      !if $val12=1 $() !insmath $val9 $() !else $() ? !endif $()
      $val6 (x)
      !if $val12=1 $()? !else $() !insmath $val9 $() !endif $()
      Le coefficient de proportionnalité du tableau est le coefficient de la fonction. On utilise donc ce coefficient pour calculer la valeur du point d'interrogation.

      Dans notre cas le nombre qu'il faut mettre à la place du point d'interrogation est donc : !if $val12=1 $() !insmath $val7\times$val9=$val11 $() !else $() !insmath \frac{$val9}{$val7}=$val11 $() !endif $().

    • Méthode 2 : on résout une équation:

      La notation fonctionnelle est !insmath $val6(x)=$val7\times x $(). !if $val12=1 $()On sait que x vaut $val9 donc !insmath $val6($val9)=$val7\times$val9=$val11 $() !else $() On sait que $val6(x)=$val9 donc on obtient que !insmath $val9=$val7\times x $(). On déduit alors que la valeur de x est !insmath $val11 $(). Donc, le nombre qui a pour image $val9 par la fonction linéaire $val6 est $val11 !endif $().

    $() !exit :feedback !ifval $val13=$val11 and ($val13 notsamecase $val11)

    Votre réponse n'est pas une fraction irréductible, vous perdez des points. La bonne réponse est !insmath $val11 $() $() !endif !exit :test !ifval $val13=$val11 condtest1=1 !else condtest1=0 !endif condname1=bonne réponse !ifval $val13 issamecase $val11 condtest2=1 !else condtest2=0 !endif condname2=écriture irréductible? !exit :stat vsavelist=6,7,9,10,11,12,13 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/fnctlin2.def0000644000175000017500000000765410113713267026404 0ustar georgeskgeorgesk!set title=fonction linéaire 2 !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=c varcnt=19 prevarcnt=18 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 tmp=!nonempty items f,g,h tmp0=!randitem $tmp val6=$(tmp0) tmp0=!randitem 1,-1 tmp1=!randint 1, 20 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 1,-1 tmp1=!randint 1, 40 val8=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 20 val9=$[rint($(tmp0))] tmp=!translate ";': to $ $ in $val8/$val9 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val8=$(tmp0) tmp0=!randitem 1,-1 tmp1=!randint 1, 20 val10=$[rint($(tmp0)*$(tmp1))] tmp0=!randint 2, 20 val9=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint 1, 20 val11=$[rint($(tmp0)*$(tmp1))] tmp=!translate ";': to $ $ in $val11/$val9 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val11=$(tmp0) tmp=!translate ";': to $ $ in $val10*$val8/$val7 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val9=$(tmp0) tmp=!nonempty items $val9,$val11 tmp0=!randitem $tmp val11=$(tmp0) val12=Oui,Non !ifval $val7*$val11-$val8*$val10=0 val13=1 !else val13=2 !endif tmp0=!item $val13 of $val12 val13=$(tmp0) tmp=!translate ";': to $ $ in $val8/$val7 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val14=$(tmp0) !ifval ($val14 issametext $val8/$val7) val14=\frac{$val8}{$val7} !else val14=\frac{$val8}{$val7}=$val14 !endif tmp=!translate ";': to $ $ in $val11/$val10 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val15=$(tmp0) !ifval ($val15 issametext $val11/$val10) val15=\frac{$val11}{$val10} !else val15=\frac{$val11}{$val10}=$val15 !endif choicename1=Votre réponse choicegood1=$val13 choicebad1=$val12 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()L'image de !insmath $val7 $() par la fonction linéaire !insmath $val6 $() est !insmath $val8 $() et l'image de !insmath $val10 $() est !insmath $val11 $().

    !insmath $val6 $() peut-elle être une fonction linéaire? $() !exit :hint $() $() !exit :help $() $() !exit :solution $()On peut résoudre l'exercice de deux façons:

    • Méthode 1 : faire un tableau de proportionnalité:

      x
      !insmath $val7 $() !insmath $val10 $()
      $val6 (x)
      !insmath $val8 $() !insmath $val11 $()
      Se demander si la fonction peut être linéaire revient à se demander si le tableau est un tableau de proportionnalité. On calcule donc les rapports des nombres de la seconde ligne sur ceux de la première. On trouve :

      !insmath $val14 $() et !insmath $val15 $().
      Ces deux fractions !if $val13=Oui $()sont égales, donc le tableau est proportionnel et la fonction peut être linéaire. !else $() ne sont pas égales, donc le tableau n'est pas proportionnel et la fonction n'est pas linéaire. !endif $()
    • Méthode 1 : on utilise la notation fonctionnelle :

      Lorsque la fonction est linéaire, le rapport entre les nombres et leurs images est constant. On calcule les rapports :

      !insmath \frac{$val6($val7)}{$val7}=$val14 $() et !insmath \frac{$val6($val10)}{$val10}=$val15 $()

      Ces deux fractions !if $val13=Oui $()sont égales, donc le tableau est proportionnel et la fonction peut être linéaire. !else $() ne sont pas égales, donc le tableau n'est pas proportionnel et la fonction n'est pas linéaire. !endif $()

    $() !exit :feedback !exit :test !exit :stat vsavelist=6,7,8,10,11,13,14,15 embedcnt=0 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/CORfonct3.def0000644000175000017500000000543310131677417026424 0ustar georgeskgeorgesk!set title=correspondance fonction-représentation 3 !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=36 prevarcnt=35 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(1)] val7=$[rint(3)] !if $val6=1 val8=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre. val9=f(x) val10=40x150x75 !else val8=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre. val9=y val10=40x100x75 !endif val11=2,3,4,5 val12=$[rint(0)] tmp0=!item 2 of $val11 val11=$[rint($(tmp0))] val13=$val11,-$val11,-1/$val11,1/$val11,1,-1 tmp0=!shuffle $val13 val13=$(tmp0) val14=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir tmp0=!shuffle $val14 val14=$(tmp0) tmp0=!item 1 to $val7 of $val14 val14=$(tmp0) tmp0=!items2lines $val14 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp0=!replace internal ;#; by , in $val15 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!record 2 of src/graph.don val17=$(tmp0) val18= !for val19 =1 to $val7 tmp0=!item $val19 of $val13 val20=$(tmp0) val21=$[rint(0)] val22=$[rint(150+(-5*30))] val23=$[rint(150+(5*30))] val24=!rawmath -($val20*(x)+($val21))*30+150 evaltmp=$val24 evaltmp=!mathsubst x=(-5) in $evaltmp tmp0=($evaltmp) val25=$[rint($(tmp0))] evaltmp=$val24 evaltmp=!mathsubst x=(5) in $evaltmp tmp0=($evaltmp) val26=$[rint($(tmp0))] val17=$val17 line $val22,$val25,$val23,$val26,$(val14[$val19]) tmp0=!texmath $val20*x val27=$(tmp0) !ifval $val6=1 val15=\(x \mapsto $val27) !else val15=\(y=$val27) !endif tmp0=!append item $val15 to $val18 val18=$(tmp0) !next val17=$val17 text black,290,150,medium,x text black,155,2,medium,$val9 replytype1=correspond replyname1=Réponse replygood1=$val18;$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val8 ?
    !read oef/embed.phtml r1,$val10 $()
    !read oef/draw.phtml 301,301 \ $val17 $()
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/CORfonct5.def0000644000175000017500000000543310131677417026426 0ustar georgeskgeorgesk!set title=correspondance fonction-représentation 5 !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=36 prevarcnt=35 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(1)] val7=$[rint(5)] !if $val6=1 val8=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre. val9=f(x) val10=40x150x75 !else val8=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre. val9=y val10=40x100x75 !endif val11=2,3,4,5 val12=$[rint(0)] tmp0=!item 2 of $val11 val11=$[rint($(tmp0))] val13=$val11,-$val11,-1/$val11,1/$val11,1,-1 tmp0=!shuffle $val13 val13=$(tmp0) val14=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir tmp0=!shuffle $val14 val14=$(tmp0) tmp0=!item 1 to $val7 of $val14 val14=$(tmp0) tmp0=!items2lines $val14 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp0=!replace internal ;#; by , in $val15 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!record 2 of src/graph.don val17=$(tmp0) val18= !for val19 =1 to $val7 tmp0=!item $val19 of $val13 val20=$(tmp0) val21=$[rint(0)] val22=$[rint(150+(-5*30))] val23=$[rint(150+(5*30))] val24=!rawmath -($val20*(x)+($val21))*30+150 evaltmp=$val24 evaltmp=!mathsubst x=(-5) in $evaltmp tmp0=($evaltmp) val25=$[rint($(tmp0))] evaltmp=$val24 evaltmp=!mathsubst x=(5) in $evaltmp tmp0=($evaltmp) val26=$[rint($(tmp0))] val17=$val17 line $val22,$val25,$val23,$val26,$(val14[$val19]) tmp0=!texmath $val20*x val27=$(tmp0) !ifval $val6=1 val15=\(x \mapsto $val27) !else val15=\(y=$val27) !endif tmp0=!append item $val15 to $val18 val18=$(tmp0) !next val17=$val17 text black,290,150,medium,x text black,155,2,medium,$val9 replytype1=correspond replyname1=Réponse replygood1=$val18;$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val8 ?
    !read oef/embed.phtml r1,$val10 $()
    !read oef/draw.phtml 301,301 \ $val17 $()
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/graph-fnct.def0000644000175000017500000000533710113713325026705 0ustar georgeskgeorgesk!set title=Graphique -> fonction !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=13 prevarcnt=12 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=2 feedbackcnt=1 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, 5 val6=$[rint($(tmp0))] tmp0=!randitem 1,-1 tmp1=!randint 1, 5 val7=$[rint($(tmp0)*$(tmp1))] tmp=!translate ";': to $ $ in $val7/$val6 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val8=$(tmp0) val9=$[rint(5*$val8*50+250)] val10=$[rint(-5*$val8*50+250)] tmp0=!record 1 of src/graph.don val11=$(tmp0) val11=$val11 line 0,$val9,500,$val10,red !if $val6>0 val12=text green,220,-($val7*50)+245,medium,$val7 !else val12=text green,255,-($val7*50)+245,medium,$val7 !endif !if $val7>0 val13=text green,245+50*($val6),260,medium,$val6 !else val13=text green,245+50*($val6),230,medium,$val6 !endif val14=$val11 arrow 250+50*($val6),250,250+50*($val6),-($val7*50)+250,10,green $val13 arrow 250+50*($val6),-($val7*50)+250,250,-($val7*50)+250,10,green $val12 replyname1=a replygood1=?analyze 15 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()Ecrire sous la forme !insmath x\mapsto ax $() la fonction linéaire dont la représentation graphique est la suivante (a est le coefficient de la fonction linéaire):
    !read oef/draw.phtml 500,500 \ $val11 $()
    Votre réponse : !read oef/embed.phtml r1 $() (Vous devez écrire le résultat sous la forme d'un entier ou d'une fraction la plus simple possible) $() !exit :hint $() $() !exit :help $() $() !exit :solution $()Pour trouver le coefficient d'une fonction linéaire, il faut avoir l'image d'un nombre. Par lecture sur le graphique on obtient que l'image de $val6 par la fonction est $val7.
    !read oef/draw.phtml 500,500 \ $val14 $()
    Le coefficient de la fonction est donc !if $val8 issametext $val7/$val6 $() !insmath \frac{$val7}{$val6} $() !else $() !insmath \frac{$val7}{$val6}=$val8 $() !endif $(). $() !exit :feedback !ifval $val15=$val8 and ($val15 notsamecase $val8)

    Votre réponse n'est pas une fraction irréductible, vous perdez des points.La bonne réponse est !insmath $val8 $() $() !endif !exit :test !ifval $val15=$val8 condtest1=1 !else condtest1=0 !endif condname1=bonne réponse !ifval $val15 issamecase $val8 condtest2=1 !else condtest2=0 !endif condname2=écriture irréductible? !exit :stat vsavelist=6,7,8,11,14,15 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/CORequa3.def0000644000175000017500000000542310131677417026245 0ustar georgeskgeorgesk!set title=correspondance équation-droite 3 !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=36 prevarcnt=35 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(2)] val7=$[rint(3)] !if $val6=1 val8=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre. val9=f(x) val10=40x150x75 !else val8=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre. val9=y val10=40x100x75 !endif val11=2,3,4,5 val12=$[rint(0)] tmp0=!item 2 of $val11 val11=$[rint($(tmp0))] val13=$val11,-$val11,-1/$val11,1/$val11,1,-1 tmp0=!shuffle $val13 val13=$(tmp0) val14=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir tmp0=!shuffle $val14 val14=$(tmp0) tmp0=!item 1 to $val7 of $val14 val14=$(tmp0) tmp0=!items2lines $val14 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp0=!replace internal ;#; by , in $val15 tmp=!trim $(tmp0) val15=!translate internal $ \ $ to ;; in $tmp tmp=!translate internal $ $ to ; in $val15 tmp=!column 1 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val14=$(tmp0) tmp=!translate internal $ $ to ; in $val15 tmp=!column 2 of $tmp tmp0=!translate internal $\ $ to ; in $tmp val16=$(tmp0) tmp0=!record 2 of src/graph.don val17=$(tmp0) val18= !for val19 =1 to $val7 tmp0=!item $val19 of $val13 val20=$(tmp0) val21=$[rint(0)] val22=$[rint(150+(-5*30))] val23=$[rint(150+(5*30))] val24=!rawmath -($val20*(x)+($val21))*30+150 evaltmp=$val24 evaltmp=!mathsubst x=(-5) in $evaltmp tmp0=($evaltmp) val25=$[rint($(tmp0))] evaltmp=$val24 evaltmp=!mathsubst x=(5) in $evaltmp tmp0=($evaltmp) val26=$[rint($(tmp0))] val17=$val17 line $val22,$val25,$val23,$val26,$(val14[$val19]) tmp0=!texmath $val20*x val27=$(tmp0) !ifval $val6=1 val15=\(x \mapsto $val27) !else val15=\(y=$val27) !endif tmp0=!append item $val15 to $val18 val18=$(tmp0) !next val17=$val17 text black,290,150,medium,x text black,155,2,medium,$val9 replytype1=correspond replyname1=Réponse replygood1=$val18;$val16 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()$val8 ?

    !read oef/embed.phtml r1,$val10 $()
    !read oef/draw.phtml 301,301 \ $val17 $()
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=8,10,17 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/fnctlin1.def0000644000175000017500000000573210113713247026374 0ustar georgeskgeorgesk!set title=fonction linéaire 1 !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=5 prevarcnt=4 postvarcnt=0 replycnt=1 choicecnt=0 conditioncnt=2 feedbackcnt=1 format=html val1=$imagedir val2=$confparm1 val3=$confparm2 val4=$confparm3 val5=$confparm4 !if $testcondition=yes !goto test !endif !if $status=waiting !exit !endif tmp=!nonempty items f,g,h tmp0=!randitem $tmp val6=$(tmp0) tmp0=!randitem 1,-1 tmp1=!randint 1, 15 val7=$[rint($(tmp0)*$(tmp1))] tmp0=!randitem 1,-1 tmp1=!randint 1, 15 val8=$[rint($(tmp0)*$(tmp1))] tmp=!translate ";': to $ $ in $val8/$val7 tmp=!lower $tmp tmp0=!exec maxima fullratsimp($tmp); val9=$(tmp0) replyname1=a replygood1=?analyze 10 question=__EXECUTED_1692754_EXERCISE__ solution=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()L'image de !insmath $val7 $() par la fonction linéaire !insmath $val6 $() est !insmath $val8 $().

    La fonction !insmath $val6 $() peut s'écrire sous la forme !insmath $val6 : x\mapsto ax $() où !insmath a $() est le coefficient de la fonction. Quelle est la valeur exacte de !insmath a $()?
    Votre réponse : !read oef/embed.phtml r1 $() (Vous devez écrire le résultat sous la forme d'un entier ou d'une fraction la plus simple possible) $() !exit :hint $() $() !exit :help $() $() !exit :solution $()On peut résoudre l'exercice de deux façons:

    • Méthode 1 : faire un tableau de proportionnalité:

      x
      !insmath $val7 $()
      $val6 (x)
      !insmath $val8 $()
      Le coefficient de la fonction est le coefficient de proportionnalité du tableau: c'est-à-dire le coefficient par lequel il faut multiplier les nombres de la première ligne pour obtenir ceux de la deuxième. Dans notre cas c'est !insmath $val9 $().

    • Méthode 2 : on résout une équation:

      La notation fonctionnelle est !insmath $val6(x)=ax $() donc pour !insmath x=$val7 $(), !insmath $val6($val7)=a\times$val7 $(). De plus, on sait de l'énoncé que !insmath $val6($val7)=$val8 $(). On obtient donc l'équation !insmath $val8=a\times$val7 $(). On déduit alors que !insmath a=$val9 $().

    $() !exit :feedback !ifval $val10=$val9 and ($val10 notsamecase $val9)

    Votre réponse n'est pas une fraction irréductible, vous perdez des points.La bonne réponse est !insmath $val9 $() $() !endif !exit :test !ifval $val10=$val9 condtest1=1 !else condtest1=0 !endif condname1=bonne réponse !ifval $val10 issamecase $val9 condtest2=1 !else condtest2=0 !endif condname2=écriture fractionnaire irréductible? !exit :stat vsavelist=6,7,8,9,10 embedcnt=1 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/def/prob2.def0000644000175000017500000000415410142717165025704 0ustar georgeskgeorgesk!set title=Problème de proportionnalité 2 !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=10000000 ansorder=r,r,r varcnt=14 prevarcnt=13 postvarcnt=0 replycnt=3 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 1, 50 val6=$[rint($(tmp0))] val7=$[(1-$val6/100)] tmp0=!randint 1, 5000 val8=$[rint($(tmp0))] val8=$[$val8/100] tmp0=!randint 1, 5000 val9=$[rint($(tmp0))] val9=$[$val9/100] val10=$[$val8*$val7] val11=$[rint($val8*$val7*100)] val11=$[$val11/100] val12=$[$val9/$val7] val13=$[rint($val9/$val7*100)] val13=$[$val13/100] val7=$val7*x oefsteps=reply 1 reply 2 reply 3 nextstep=!nosubst reply 1 reply 2 reply 3 !readproc oef/steps.proc replytype1=algexp replyname1=P(x) replygood1=$val7 replytype2=numexp replyname2=prix replygood2=$val11 replytype3=numexp replyname3=poids replygood3=$val13 question=__EXECUTED_1692754_EXERCISE__ !goto stat !exit :question $()
    Un magasin offre une réduction de $val6 % sur tous ses articles. Le prix réduit P est proportionnel au prix initial x.

    1. Exprimer P comme une fonction linéaire de x.
    2. Combien coûte, au centime près, un article dont le prix initial est de $val8 euros ?
    3. Un article du magasin coûte $val9 euros, quel était son prix initial au centime près ?


    Vos réponses :
    Simplifier tous les calculs et n'utiliser pas d'écriture fractionnaire.
    1. P(x) = !read oef/embed.phtml r1,8 $().
    2. Cet article coûte !read oef/embed.phtml r2,8 $() euros.
    3. Son prix initial était de !read oef/embed.phtml r3,8 $() euros.
    $() !exit :hint $() $() !exit :help $() $() !exit :solution $() $() !exit :feedback !exit :test !exit :stat vsavelist=6,8,9 embedcnt=3 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/intro.phtml0000644000175000017500000000125310315754114025635 0ustar georgeskgeorgesk!header !read Exindex Este módulo agrupa $exototal ejercicios.
    Detalles sobre los ejercicios:
    • aplicación lineal 1 : encontrar el coeficiente de una aplicación lineal.
    • aplicación lineal 2 : decir si una aplicación es lineal conociendo la imagen de dos números.
    • imagen-preimagen de una aplicación : encontrar la imagen o la preimagen de un número por una aplicación lineal.
    • gráfica->aplicación, gráfica->imagen, gráfica->preimagen : encontrar gráficamente el coeficiente, la imagen o la preimagen.
    • problema de proporcionalidad 1 y 2 : problemas en los que interviene la proporcionalidad.
    !read proc/intromenu.phtml !tail wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/Exindex0000644000175000017500000000134110142773406024764 0ustar georgeskgeorgesk!set exolist =!char 1 to -2 of classer1,classer2,CORfonct3,CORfonct4,CORfonct5,CORequa3,CORequa4,CORequa5,fnctlin1,fnctlin2,graph-fnct,graph-img,graph-ant,img-ant,prob1,prob2, !set titlelist=!char 1 to -2 of Classer des fonctions (4 fonctions).,Classer des fonctions (6 fonctions).,correspondance fonction-représentation 3,correspondance fonction-représentation 4,correspondance fonction-représentation 5,correspondance équation-droite 3,correspondance équation-droite 4,correspondance équation-droite 5,fonction linéaire 1,fonction linéaire 2,Graphique -> fonction,Graphique -> image,Graphique->antécédent,image-antécédent d'une fonction,Problème de proportionnalité 1,Problème de proportionnalité 2, !set exototal =!itemcnt $exolist wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/Extitles0000644000175000017500000000117510142773406025166 0ustar georgeskgeorgeskCORequa3:correspondance équation-droite 3 CORequa4:correspondance équation-droite 4 CORequa5:correspondance équation-droite 5 CORfonct3:correspondance fonction-représentation 3 CORfonct4:correspondance fonction-représentation 4 CORfonct5:correspondance fonction-représentation 5 classer1:Classer des fonctions (4 fonctions). classer2:Classer des fonctions (6 fonctions). fnctlin1:fonction linéaire 1 fnctlin2:fonction linéaire 2 graph-ant:Graphique->antécédent graph-fnct:Graphique -> fonction graph-img:Graphique -> image img-ant:image-antécédent d'une fonction prob1:Problème de proportionnalité 1 prob2:Problème de proportionnalité 2 wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/var.proc0000644000175000017500000000030610071532073025104 0ustar georgeskgeorgesk# Change to 0 if you don't want the choice `I don't know' idontknow=1 # Change to 1 of you want all choices to be present allchoices=0 class_importation=no common_images=no !changeto oef/var.proc wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/images/0000755000175000017500000000000006756175173024720 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/about.phtml0000644000175000017500000000005310071532073025606 0ustar georgeskgeorgesk!changeto oef/$module_language/about.phtml wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/.htaccess0000644000175000017500000000003007736632222025232 0ustar georgeskgeorgeskoption -FollowSymLinks wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/main.phtml0000644000175000017500000000003110071532073025414 0ustar georgeskgeorgesk!changeto oef/Main.phtml wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/COPYING0000644000175000017500000004307706355652460024513 0ustar georgeskgeorgesk GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/INDEX0000644000175000017500000000074310315754114024231 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 2.50. # Do not edit by hand. title=Ejercicios sobre aplicaciones lineales description=aplicación lineal. language=es category=exercise, oef domain=algebra level=H4 keywords= require= scoring=yes copyright=© 2004 (GNU GPL) author=Fabrice Guerimand address=fguerima@tele2.fr version=1.00 wims_version=3.32 vardef=oef/var.def translator=Carlos R. Entrena Guadix translator_address=carlosentrenaguadix@yahoo.es wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/README0000644000175000017500000000047607505654731024335 0ustar georgeskgeorgeskTo install a OEF processor: 1. copy the template directory into the good place, with a new name. 2. Modify intro.phtml 3. Modify the INDEX file. 4. Modify the link proc if necessary. 5. Install source files. 6. Run the script mkindex. (This step should be repeated each time the source files are modified.) wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/0000755000175000017500000000000010131677417024230 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/CORfonct5.oef0000644000175000017500000000344510131677417026473 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/CORfnt.cpp. \title{correspondance fonction-représentation 5} \integer{type=1} \integer{number=5} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
    \embed{r1,\size}
    \draw{301,301}{\dessin}
    } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/classer2.oef0000644000175000017500000000337510113713226026436 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/classer.cpp. \title{Classer des fonctions (6 fonctions).} \integer{nbfnct=3} \text{size=175x50x4} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2..10)} \integer{b=random(-1,1)*random(2..10)} \integer{c=random(2..11)} \integer{d=random(-1,1)*random(2..100)} \real{d=\d/10} \integer{e=random(2..100)} \real{e=\e/10} \integer{f=random(-1,1)*random(3,5,9,15)} \integer{g=random(-1,1)*random(2,7,4,8,14)} \matrix{donnees=\sqrt{\a}x,\b x,\e x,\frac{\f}{\g}x,\frac{\sqrt{\a}}{\g}x \sqrt{\a}x+\c,\sqrt{\a}x-\c,\b x+\a,\b x-\a,\f x+\e,\f x-\e,\frac{\f}{\g}x+\a,\frac{\sqrt{\a}}{\g} x-\c,\frac{\f}{\g}x+\frac{\a}{\c},\b(x+\c),\cos(\a x),\sin(\b x),tan(\c x),\b x^2+\a x+\c,\sqrt{\a}x^2+\e x+\c, \frac{\f}{\g}x^2+\frac{\a}{\b} x+\c,\b x^2,(x+\c)(x+\a),(x+\e)^2,(x-\c)^2} \matrix{sortie=} \for{i=1 to 2}{ \text{tmp=row(\i,\donnees)} \text{tmp=shuffle(\tmp)} \text{line=} \for{j=1 to \nbfnct}{ \text{tmp1=item(\j,\tmp)} \text{tmp1=\(x\mapsto \tmp1)} \text{line=wims(append item \tmp1 to \line)} } \text{sortie=wims(append line \line to \sortie)} } \text{goodlin=row(1,\sortie)} \text{goodaut=row(2,\sortie)} \text{list=\goodlin,\goodaut} \statement{Parmi les fonctions suivantes lesquelles sont linéaires ?
    \embed{r1,\size}} \reply{Liste des fonctions linéaires}{\replin;\list}{type=clickfill} \text{tmplin=\replin,\goodlin} \text{tmplin=wims(listuniq \tmplin)} \integer{lin1=items(\tmplin)} \text{replin=wims(listuniq \replin)} \integer{lin2=items(\replin)} \condition{Fonctions linéaires :}{\lin1=\nbfnct and \lin2=\nbfnct} \solution{
    • Fonctions linéaires :
      \goodlin
    } wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/.htaccess0000644000175000017500000000001606634516636026033 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/fnctlin2.oef0000644000175000017500000000455510113713267026445 0ustar georgeskgeorgesk\title{fonction linéaire 2} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{nom=randitem(f,g,h)} \integer{nb1=random(1,-1)*random(1..20)} \integer{nb2=random(1,-1)*random(1..40)} \integer{tmp=random(2..20)} \text{nb2=simplify(\nb2/\tmp)} \integer{nb3=random(1,-1)*random(1..20)} \integer{tmp=random(2..20)} \integer{nb4=random(1,-1)*random(1..20)} \text{nb4=simplify(\nb4/\tmp)} \text{tmp=simplify(\nb3*\nb2/\nb1)} \text{nb4=randitem(\tmp,\nb4)} \text{bad=Oui,Non} \text{good=\nb1*\nb4-\nb2*\nb3=0?1:2} \text{good=item(\good,\bad)} \text{rap1=simplify(\nb2/\nb1)} \text{rap1=(\rap1 issametext \nb2/\nb1)?\frac{\nb2}{\nb1}:\frac{\nb2}{\nb1}=\rap1} \text{rap2=simplify(\nb4/\nb3)} \text{rap2=(\rap2 issametext \nb4/\nb3)?\frac{\nb4}{\nb3}:\frac{\nb4}{\nb3}=\rap2} \statement{L'image de \(\nb1) par la fonction linéaire \(\nom) est \(\nb2) et l'image de \(\nb3) est \(\nb4).

    \(\nom) peut-elle être une fonction linéaire?} \choice{Votre réponse}{\good}{\bad} \solution{On peut résoudre l'exercice de deux façons:

    • Méthode 1 : faire un tableau de proportionnalité:

      x
      \(\nb1) \(\nb3)
      \nom (x)
      \(\nb2) \(\nb4)
      Se demander si la fonction peut être linéaire revient à se demander si le tableau est un tableau de proportionnalité. On calcule donc les rapports des nombres de la seconde ligne sur ceux de la première. On trouve :

      \(\rap1) et \(\rap2).
      Ces deux fractions \if{\good=Oui}{sont égales, donc le tableau est proportionnel et la fonction peut être linéaire.}{ ne sont pas égales, donc le tableau n'est pas proportionnel et la fonction n'est pas linéaire.}
    • Méthode 1 : on utilise la notation fonctionnelle :

      Lorsque la fonction est linéaire, le rapport entre les nombres et leurs images est constant. On calcule les rapports :

      \(\frac{\nom(\nb1)}{\nb1}=\rap1) et \(\frac{\nom(\nb3)}{\nb3}=\rap2)

      Ces deux fractions \if{\good=Oui}{sont égales, donc le tableau est proportionnel et la fonction peut être linéaire.}{ ne sont pas égales, donc le tableau n'est pas proportionnel et la fonction n'est pas linéaire.}

    } wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/CORequa4.oef0000644000175000017500000000343510131677417026313 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/CORfnt.cpp. \title{correspondance équation-droite 4} \integer{type=2} \integer{number=4} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
    \embed{r1,\size}
    \draw{301,301}{\dessin}
    } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/graph-ant.oef0000644000175000017500000000300410142713736026576 0ustar georgeskgeorgesk\title{Graphique->antécédent} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{1000} \text{nom=randitem(f,g,h)} \integer{a=random(1..5)} \integer{b=random(1,-1)*random((\a+1)..5)} \text{sol=simplify(\b/\a)} \integer{pt1=5*\sol*50+250} \integer{pt2=-5*\sol*50+250} \text{dessin=wims(record 1 of src/graph.don)} \text{dessin=\dessin line 0,\pt1,500,\pt2,red} \integer{nb1=random(1,-1)*random(1..4)} \integer{nb2=simplify(\nb1/(\sol))*10} \real{nb2=\nb2/10} \if{\nb2>0}{\text{texte1=text green,220,-(\nb1*50)+245,medium,\nb1}} {\text{texte1=text green,255,-(\nb1*50)+245,medium,\nb1}} \if{\nb1>0}{\text{texte2=text green,245+50*(\nb2),260,medium,\nb2}} {\text{texte2=text green,245+50*(\nb2),230,medium,\nb2}} \text{dessin2=\dessin arrow 250,-(\nb1*50)+250,250+50*(\nb2),-(\nb1*50)+250,10,green \texte2 arrow 250+50*(\nb2),-(\nb1*50)+250,250+50*(\nb2),250,10,green \texte1} \real{tol1=\nb2+0.1} \real{tol2=\nb2-0.1} \statement{La représentation graphique de la fonction linéaire \nom est la suivante:
    \draw{500,500}{\dessin}
    Quel nombre a pour image \nb1 par la fonction \nom?
    Votre réponse : \embed{r1}} \answer{Réponse}{\tol1,\tol2}{type=range} \solution{Le nombre qui a pour image \nb1 par la fonction \nom est, par définition, l'abscisse du point sur la droite dont l'ordonnée est \nb1.

    On place donc le point de la droite dont l'ordonnée est \nb1 puis, on lit son abscisse.

    \draw{500,500}{\dessin2}
    }wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/graph.don0000644000175000017500000000130510030314562026015 0ustar georgeskgeorgesk:parallel 0,0,500,0,0,5,100,grey parallel 0,0,0,500,5,0,100,grey parallel 0,0,500,0,0,50,11,blue parallel 0,0,0,500,50,0,11,blue linewidth 2 arrow 0,250,500,250,20,black arrow 250,500,250,0,20,black text black,255,255,medium,0 text black,300,255,medium,1 text black,240,188,medium,1 parallel 0,246,0,254,50,0,10,black parallel 246,0,254,0,0,50,10,black :parallel 15,0,300,0,0,30,10,grey parallel 0,15,0,300,30,0,10,grey parallel 0,0,300,0,0,30,11,blue parallel 0,0,0,300,30,0,11,blue linewidth 2 arrow 0,150,300,150,20,black arrow 150,300,150,0,20,black text black,140,150,medium,0 text black,140,115,medium,1 text black,175,155,medium,1 parallel 0,146,0,154,30,0,10,black parallel 146,0,154,0,0,30,10,black wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/CORequa5.oef0000644000175000017500000000343510131677417026314 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/CORfnt.cpp. \title{correspondance équation-droite 5} \integer{type=2} \integer{number=5} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
    \embed{r1,\size}
    \draw{301,301}{\dessin}
    } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/CORfonct4.oef0000644000175000017500000000344510131677417026472 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/CORfnt.cpp. \title{correspondance fonction-représentation 4} \integer{type=1} \integer{number=4} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
    \embed{r1,\size}
    \draw{301,301}{\dessin}
    } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/prob2.oef0000644000175000017500000000254010142717165025745 0ustar georgeskgeorgesk\title{Problème de proportionnalité 2} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000000} \integer{pour=random(1..50)} \real{rep1=(1-\pour/100)} \integer{p1=random(1..5000)} \real{p1=\p1/100} \integer{p2=random(1..5000)} \real{p2=\p2/100} \real{test2=\p1*\rep1} \integer{rep2=\p1*\rep1*100} \real{rep2=\rep2/100} \real{test3=\p2/\rep1} \integer{rep3=\p2/\rep1*100} \real{rep3=\rep3/100} \text{rep1=\rep1*x} \steps{reply 1 reply 2 reply 3} \statement{
    Un magasin offre une réduction de \pour % sur tous ses articles. Le prix réduit P est proportionnel au prix initial x.
    1. Exprimer P comme une fonction linéaire de x.
    2. Combien coûte, au centime près, un article dont le prix initial est de \p1 euros ?
    3. Un article du magasin coûte \p2 euros, quel était son prix initial au centime près ?


    Vos réponses :
    Simplifier tous les calculs et n'utiliser pas d'écriture fractionnaire.
    1. P(x) = \embed{r1,8}.
    2. Cet article coûte \embed{r2,8} euros.
    3. Son prix initial était de \embed{r3,8} euros.
    } \answer{P(x)}{\rep1}{type=algexp} \answer{prix}{\rep2}{type=numexp} \answer{poids}{\rep3}{type=numexp}wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/CORequa3.oef0000644000175000017500000000343510131677417026312 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/CORfnt.cpp. \title{correspondance équation-droite 3} \integer{type=2} \integer{number=3} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
    \embed{r1,\size}
    \draw{301,301}{\dessin}
    } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/CORfonct3.oef0000644000175000017500000000344510131677417026471 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/CORfnt.cpp. \title{correspondance fonction-représentation 3} \integer{type=1} \integer{number=3} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
    \embed{r1,\size}
    \draw{301,301}{\dessin}
    } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/prob1.oef0000644000175000017500000000246610142715407025750 0ustar georgeskgeorgesk\title{Problème de proportionnalité 1} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000000} \integer{prix=random(50..100)} \real{prix=\prix/10} \text{nom=randitem(jambon,pommes,poires,pêches,pâtes,carottes)} \integer{poid=random(11..50)} \real{poid=\poid/10} \integer{pr=random(1..5000)} \real{pr=\pr/100} \text{rep1=x*\prix} \real{test2=\prix*\poid} \integer{rep2=\prix*\poid*100} \real{rep2=\rep2/100} \real{test3=\pr/\prix} \integer{rep3=\pr/\prix*1000} \real{rep3=\rep3/1000} \steps{reply 1 reply 2 reply 3} \statement{
    Un kilogramme de \nom coûte \prix euros.
    1. Exprimer en fonction du poids x de \nom le prix P en euros à payer.
    2. Combien coûtent \poid kg de \nom ? (Donner votre résultat au centime près)
    3. Quel poids de \nom peut-on acheter avec \pr euros ? (Donner votre résultat au gramme près et préciser l'unité).

      Vos réponses :
      1. P(x) = \embed{r1,8}.
      2. \poid kg de \nom coûtent \embed{r2,8} euros.
      3. On peut acheter \embed{r3,8} de \nom.
      } \answer{P(x)}{\rep1}{type=algexp} \answer{prix}{\rep2}{type=auto} \answer{poids}{\rep3 kg}{type=units}wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/graph-fnct.oef0000644000175000017500000000334410113713325026745 0ustar georgeskgeorgesk\title{Graphique -> fonction} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(1..5)} \integer{b=random(1,-1)*random(1..5)} \text{sol=simplify(\b/\a)} \integer{pt1=5*\sol*50+250} \integer{pt2=-5*\sol*50+250} \text{dessin=wims(record 1 of src/graph.don)} \text{dessin=\dessin line 0,\pt1,500,\pt2,red} \if{\a>0}{\text{texte1=text green,220,-(\b*50)+245,medium,\b}} {\text{texte1=text green,255,-(\b*50)+245,medium,\b}} \if{\b>0}{\text{texte2=text green,245+50*(\a),260,medium,\a}} {\text{texte2=text green,245+50*(\a),230,medium,\a}} \text{dessin2=\dessin arrow 250+50*(\a),250,250+50*(\a),-(\b*50)+250,10,green \texte2 arrow 250+50*(\a),-(\b*50)+250,250,-(\b*50)+250,10,green \texte1} \statement{Ecrire sous la forme \(x\mapsto ax) la fonction linéaire dont la représentation graphique est la suivante (a est le coefficient de la fonction linéaire):
      \draw{500,500}{\dessin}
      Votre réponse : \embed{r1} (Vous devez écrire le résultat sous la forme d'un entier ou d'une fraction la plus simple possible)} \answer{a}{\rep}{type=auto} \condition{bonne réponse}{\rep=\sol} \condition{écriture irréductible?}{\rep issamecase \sol} \feedback{\rep=\sol and (\rep notsamecase \sol)}{Votre réponse n'est pas une fraction irréductible, vous perdez des points.La bonne réponse est \(\sol)} \solution{Pour trouver le coefficient d'une fonction linéaire, il faut avoir l'image d'un nombre. Par lecture sur le graphique on obtient que l'image de \a par la fonction est \b.
      \draw{500,500}{\dessin2}
      Le coefficient de la fonction est donc \if{\sol issametext \b/\a}{\(\frac{\b}{\a})}{\(\frac{\b}{\a}=\sol)}.} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/fnctlin1.oef0000644000175000017500000000361010113713247026431 0ustar georgeskgeorgesk\title{fonction linéaire 1} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{nom=randitem(f,g,h)} \integer{nb1=random(1,-1)*random(1..15)} \integer{nb2=random(1,-1)*random(1..15)} \text{sol=simplify(\nb2/\nb1)} \statement{L'image de \(\nb1) par la fonction linéaire \(\nom) est \(\nb2).

      La fonction \(\nom) peut s'écrire sous la forme \(\nom : x\mapsto ax) où \(a) est le coefficient de la fonction. Quelle est la valeur exacte de \(a)?
      Votre réponse : \embed{r1} (Vous devez écrire le résultat sous la forme d'un entier ou d'une fraction la plus simple possible)} \answer{a}{\rep}{type=auto} \condition{bonne réponse}{\rep=\sol} \condition{écriture fractionnaire irréductible?}{\rep issamecase \sol} \feedback{\rep=\sol and (\rep notsamecase \sol)}{Votre réponse n'est pas une fraction irréductible, vous perdez des points.La bonne réponse est \(\sol)} \solution{On peut résoudre l'exercice de deux façons:

      • Méthode 1 : faire un tableau de proportionnalité:

        x
        \(\nb1)
        \nom (x)
        \(\nb2)
        Le coefficient de la fonction est le coefficient de proportionnalité du tableau: c'est-à-dire le coefficient par lequel il faut multiplier les nombres de la première ligne pour obtenir ceux de la deuxième. Dans notre cas c'est \(\sol).

      • Méthode 2 : on résout une équation:

        La notation fonctionnelle est \(\nom(x)=ax) donc pour \(x=\nb1), \(\nom(\nb1)=a\times\nb1). De plus, on sait de l'énoncé que \(\nom(\nb1)=\nb2). On obtient donc l'équation \(\nb2=a\times\nb1). On déduit alors que \(a=\sol).

      } wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/img-ant.oef0000644000175000017500000000445110142712316026251 0ustar georgeskgeorgesk\title{image-antécédent d'une fonction} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \text{nom=randitem(f,g,h)} \integer{nb1=random(1,-1)*random(1..35)} \integer{tmp=random(2..20)} \text{nb1=simplify(\nb1/\tmp)} \integer{nb2=random(1,-1)*random(1..35)} \integer{tmp=random(2..20)} \text{nb2=simplify(\nb2/\tmp)} \text{quest=Quelle est l'image du nombre \(\nb2),Quel nombre a pour image \(\nb2)} \text{sol=simplify(\nb2*\nb1),simplify(\nb2/(\nb1))} \integer{n=random(1,2)} \text{sol=item(\n,\sol)} \text{quest=item(\n,\quest)} \statement{Soit \(\nom) la fonction linéaire de coefficient \(\nb1).

      \quest par la fonction \(\nom)?
      Votre réponse : \embed{r1}
      (Vous devez écrire le résultat sous la forme d'un entier ou d'une fraction la plus simple possible)} \answer{réponse:}{\rep}{type=numexp} \condition{bonne réponse}{\rep=\sol} \condition{écriture irréductible?}{\rep issamecase \sol} \feedback{\rep=\sol and (\rep notsamecase \sol)}{Votre réponse n'est pas une fraction irréductible, vous perdez des points. La bonne réponse est \(\sol)} \solution{On peut résoudre l'exercice de deux façons:

      • Méthode 1 : faire un tableau de proportionnalité:

        x
        \if{\n=1}{\(\nb2)}{?}
        \nom (x)
        \if{\n=1}{?}{\(\nb2)}
        Le coefficient de proportionnalité du tableau est le coefficient de la fonction. On utilise donc ce coefficient pour calculer la valeur du point d'interrogation.

        Dans notre cas le nombre qu'il faut mettre à la place du point d'interrogation est donc : \if{\n=1}{\(\nb1\times\nb2=\sol)}{\(\frac{\nb2}{\nb1}=\sol)}.

      • Méthode 2 : on résout une équation:

        La notation fonctionnelle est \(\nom(x)=\nb1\times x). \if{\n=1}{On sait que x vaut \nb2 donc \(\nom(\nb2)=\nb1\times\nb2=\sol)}{On sait que \nom(x)=\nb2 donc on obtient que \(\nb2=\nb1\times x). On déduit alors que la valeur de x est \(\sol). Donc, le nombre qui a pour image \nb2 par la fonction linéaire \nom est \sol}.

      }wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/cpp/0000755000175000017500000000000010142773406025007 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/cpp/classer.cpp0000644000175000017500000000350210113713226027137 0ustar georgeskgeorgesktarget= classer1 classer2 #if #TARGET (classer1) \title{Classer des fonctions (4 fonctions).} \integer{nbfnct=2} \text{size=175x50x3} #endif #if #TARGET (classer2) \title{Classer des fonctions (6 fonctions).} \integer{nbfnct=3} \text{size=175x50x4} #endif \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2..10)} \integer{b=random(-1,1)*random(2..10)} \integer{c=random(2..11)} \integer{d=random(-1,1)*random(2..100)} \real{d=\d/10} \integer{e=random(2..100)} \real{e=\e/10} \integer{f=random(-1,1)*random(3,5,9,15)} \integer{g=random(-1,1)*random(2,7,4,8,14)} \matrix{donnees=\sqrt{\a}x,\b x,\e x,\frac{\f}{\g}x,\frac{\sqrt{\a}}{\g}x \sqrt{\a}x+\c,\sqrt{\a}x-\c,\b x+\a,\b x-\a,\f x+\e,\f x-\e,\frac{\f}{\g}x+\a,\frac{\sqrt{\a}}{\g} x-\c,\frac{\f}{\g}x+\frac{\a}{\c},\b(x+\c),\cos(\a x),\sin(\b x),tan(\c x),\b x^2+\a x+\c,\sqrt{\a}x^2+\e x+\c, \frac{\f}{\g}x^2+\frac{\a}{\b} x+\c,\b x^2,(x+\c)(x+\a),(x+\e)^2,(x-\c)^2} \matrix{sortie=} \for{i=1 to 2}{ \text{tmp=row(\i,\donnees)} \text{tmp=shuffle(\tmp)} \text{line=} \for{j=1 to \nbfnct}{ \text{tmp1=item(\j,\tmp)} \text{tmp1=\(x\mapsto \tmp1)} \text{line=wims(append item \tmp1 to \line)} } \text{sortie=wims(append line \line to \sortie)} } \text{goodlin=row(1,\sortie)} \text{goodaut=row(2,\sortie)} \text{list=\goodlin,\goodaut} \statement{Parmi les fonctions suivantes lesquelles sont linéaires ?
      \embed{r1,\size}} \reply{Liste des fonctions linéaires}{\replin;\list}{type=clickfill} \text{tmplin=\replin,\goodlin} \text{tmplin=wims(listuniq \tmplin)} \integer{lin1=items(\tmplin)} \text{replin=wims(listuniq \replin)} \integer{lin2=items(\replin)} \condition{Fonctions linéaires :}{\lin1=\nbfnct and \lin2=\nbfnct} \solution{
      • Fonctions linéaires :
        \goodlin
      } wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/cpp/CORfnt.cpp0000644000175000017500000000446310131677417026660 0ustar georgeskgeorgesktarget= CORequa3,CORfonct3,CORequa4,CORfonct4,CORequa5,CORfonct5 #if #TARGET(CORfonct3) #define TIT fonction-représentation #define NUMBER 3 #define TYPE 1 #endif #if #TARGET(CORfonct4) #define TIT fonction-représentation #define NUMBER 4 #define TYPE 1 #endif #if #TARGET(CORfonct5) #define TIT fonction-représentation #define NUMBER 5 #define TYPE 1 #endif #if #TARGET(CORequa3) #define TIT équation-droite #define NUMBER 3 #define TYPE 2 #endif #if #TARGET(CORequa4) #define TIT équation-droite #define NUMBER 4 #define TYPE 2 #endif #if #TARGET(CORequa5) #define TIT équation-droite #define NUMBER 5 #define TYPE 2 #endif \title{correspondance TIT NUMBER} \integer{type=TYPE} \integer{number=NUMBER} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \if{\type=1}{ \text{question=Mettez en correspondance chaque fonction avec la couleur de sa représentation graphique dans le repère ci-contre.} \text{ord=f(x)} \text{size=40x150x75} }{ \text{question=Mettez en relation chaque équation avec la couleur de la droite correspondante dans le repère ci-contre.} \text{ord=y} \text{size=40x100x75} } \text{a=2,3,4,5} \integer{b=0} \integer{a=item(2,\a)} \text{choix=\a,-\a,-1/\a,1/\a,1,-1} \text{choix=shuffle(\choix)} \text{co=red;#;rouge,green;#;vert,yellow;#;jaune,purple;#;violet,blue;#;bleu,black;#;noir} \text{co=shuffle(\co)} \text{co=wims(item 1 to \number of \co)} \matrix{tmp=wims(items2lines \co)} \matrix{tmp=wims(replace internal ;#; by , in \tmp)} \text{co=column(1,\tmp)} \text{nom=column(2,\tmp)} \text{dessin=wims(record 2 of src/graph.don)} \text{coord=} \for{i=1 to \number}{ \text{A=item(\i,\choix)} \integer{B=0} \integer{xpt1=150+(-5*30)} \integer{xpt2=150+(5*30)} \function{dg=-(\A*(x)+(\B))*30+150} \integer{ypt1=evalue(\dg,x=-5)} \integer{ypt2=evalue(\dg,x=5)} \text{dessin=\dessin line \xpt1,\ypt1,\xpt2,\ypt2,\co[\i]} \text{val=texmath(\A*x)} \text{tmp=\type=1?\(x \mapsto \val):\(y=\val)} \text{coord=wims(append item \tmp to \coord)} } \text{dessin=\dessin text black,290,150,medium,x text black,155,2,medium,\ord} \statement{\question ?
      \embed{r1,\size}
      \draw{301,301}{\dessin}
      } \answer{Réponse}{\coord;\nom}{type=correspond} wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/graph-img.oef0000644000175000017500000000275410142714111026567 0ustar georgeskgeorgesk\title{Graphique -> image} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{100000} \text{nom=random(f,g,h)} \integer{a=random(1..5)} \integer{b=random(1,-1)*random(1..(\a-1))} \integer{b=\b=0?1} \text{sol=simplify(\b/\a)} \integer{pt1=5*\sol*50+250} \integer{pt2=-5*\sol*50+250} \text{dessin=wims(record 1 of src/graph.don)} \text{dessin=\dessin line 0,\pt1,500,\pt2,red} \integer{nb1=random(1,-1)*random(1..4)} \integer{nb2=\sol*\nb1*10} \real{nb2=\nb2/10} \if{\nb1>0}{\text{texte1=text green,220,-(\nb2*50)+245,medium,\nb2}} {\text{texte1=text green,255,-(\nb2*50)+245,medium,\nb2}} \if{\nb2>0}{\text{texte2=text green,245+50*(\nb1),260,medium,\nb1}} {\text{texte2=text green,245+50*(\nb1),230,medium,\nb1}} \text{dessin2=\dessin arrow 250+50*(\nb1),250,250+50*(\nb1),-(\nb2*50)+250,10,green \texte2 arrow 250+50*(\nb1),-(\nb2*50)+250,250,-(\nb2*50)+250,10,green \texte1} \real{tol1=\nb2+0.1} \real{tol2=\nb2-0.1} \statement{La représentation graphique de la fonction linéaire \nom est la suivante :
      \draw{500,500}{\dessin}
      Quelle est l'image de \nb1 par \nom?
      Votre réponse : \embed{r1}} \answer{\nom(\nb1)}{\tol1,\tol2}{type=range} \solution{L'image de \nb1 par la fonction \nom est, par définition, l'ordonnée du point sur la droite dont l'abscisse est \nb1.

      On place donc le point de la droite dont l'abscisse est \nb1 puis, on lit son ordonnée.

      \draw{500,500}{\dessin2}
      }wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/src/classer1.oef0000644000175000017500000000340210113713226026424 0ustar georgeskgeorgesk%% This file is generated by preprocessor! %% Do not edit it by hand. %% Edit the source file cpp/classer.cpp. \title{Classer des fonctions (4 fonctions).} \integer{nbfnct=2} \text{size=175x50x3} \language{fr} \range{-5..5} \author{Guerimand Fabrice} \email{fwguerima@free.fr} \computeanswer{no} \format{html} \precision{10000} \integer{a=random(2..10)} \integer{b=random(-1,1)*random(2..10)} \integer{c=random(2..11)} \integer{d=random(-1,1)*random(2..100)} \real{d=\d/10} \integer{e=random(2..100)} \real{e=\e/10} \integer{f=random(-1,1)*random(3,5,9,15)} \integer{g=random(-1,1)*random(2,7,4,8,14)} \matrix{donnees=\sqrt{\a}x,\b x,\e x,\frac{\f}{\g}x,\frac{\sqrt{\a}}{\g}x \sqrt{\a}x+\c,\sqrt{\a}x-\c,\b x+\a,\b x-\a,\f x+\e,\f x-\e,\frac{\f}{\g}x+\a,\frac{\sqrt{\a}}{\g} x-\c,\frac{\f}{\g}x+\frac{\a}{\c},\b(x+\c),\cos(\a x),\sin(\b x),tan(\c x),\b x^2+\a x+\c,\sqrt{\a}x^2+\e x+\c, \frac{\f}{\g}x^2+\frac{\a}{\b} x+\c,\b x^2,(x+\c)(x+\a),(x+\e)^2,(x-\c)^2} \matrix{sortie=} \for{i=1 to 2}{ \text{tmp=row(\i,\donnees)} \text{tmp=shuffle(\tmp)} \text{line=} \for{j=1 to \nbfnct}{ \text{tmp1=item(\j,\tmp)} \text{tmp1=\(x\mapsto \tmp1)} \text{line=wims(append item \tmp1 to \line)} } \text{sortie=wims(append line \line to \sortie)} } \text{goodlin=row(1,\sortie)} \text{goodaut=row(2,\sortie)} \text{list=\goodlin,\goodaut} \statement{Parmi les fonctions suivantes lesquelles sont linéaires ?
      \embed{r1,\size}} \reply{Liste des fonctions linéaires}{\replin;\list}{type=clickfill} \text{tmplin=\replin,\goodlin} \text{tmplin=wims(listuniq \tmplin)} \integer{lin1=items(\tmplin)} \text{replin=wims(listuniq \replin)} \integer{lin2=items(\replin)} \condition{Fonctions linéaires :}{\lin1=\nbfnct and \lin2=\nbfnct} \solution{
      • Fonctions linéaires :
        \goodlin
      } wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/NEWS0000644000175000017500000000115010142717225024127 0ustar georgeskgeorgesk---------- version 1.11 20041106 modification de l'énoncé dans prob1 et prob2 20041106 tolérance de +/-0.1 dans la réponse à graph-ant et graph-img 20041106 amélioration de l'analyse de réponse dans img-ant 20041106 Correction d'énoncé dans graph-ant et graph-img ---------- version 1.1 20041009 Modification de la page d'introduction du module. 20041009 Ajout de CORfnt.cpp contenant CORfnct3,CORfnct4,CORfnct5,CORequ3,CORequ4,CORequ5 20041009 Changement du fichier change.log en NEWS 20040827 Changement de l'adresse mail ---------- version 1.0 20040512 correction de l'analyse de réponse des exercices classer.wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/endhook.phtml0000644000175000017500000000010210315754114026121 0ustar georgeskgeorgesk!! This file can contain contents which go to the end of the page.wims-modules-es-3.64.orig/modules/H3/analysis/oeflinf.es/help.phtml0000644000175000017500000000005210071532073025423 0ustar georgeskgeorgesk!changeto oef/$module_language/help.phtml wims-modules-es-3.64.orig/modules/H3/geometry/0000755000175000017500000000000011262661242021414 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/0000755000175000017500000000000011213710130023666 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/intro.phtml0000644000175000017500000000117011244501614026077 0ustar georgeskgeorgesk!header $module_title es un juego/ejercicio visual. Se presentan dos figuras, siendo una la imagen de la otra tras sufrir una rotación en el plano. Tu objetivo es averiguar el centro de rotación mediante un click sobre el dibujo.

      !form new Puedes elegir el nivel de dificultad: !set level=1 !formradio level list 1,2,3
      y el número de clicks en cada sesión: !set shoots=3 !formselect shoots from 1 to 8 (la puntuación se dará al finalizar la sesión). !read related.phtml Disparar, rotación, transformación afín !tail wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/var.init0000644000175000017500000000042111074456076025365 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions (cmd=new or cmd=renew) !bound shoots between integer 1 and 8 default 3 !bound level between integer 1 and 3 default 1 reply_cnt=0 tot_error=0 wims_module_log=new: $shoots shoots, level $level wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/var.proc0000644000175000017500000000345111074456076025373 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid working calls to the module. size=200 insdraw_size=$size,$size xsize=$size ysize=$size border=10 ring_size=5 insdraw_size=$[$size+$border*2],$[$size+$border*2] color0=0,0,0 color1=255,0,0 color2=0,160,0 color3=0,0,255 color4=155,0,155 color5=0,155,155 gcolor=0,0,0 !if $status!=wait !read var.prep !endif xcc=$[rint($xsize*($xc-$xmin)/($xmax-$xmin)+$border)] ycc=$[rint($ysize*($ymax-$yc)/($ymax-$ymin)+$border)] crosize=6 ins_src=$drawsrc !if $click_x$click_y!=$empty and $status=wait click_x=$[$click_x] click_y=$[$click_y] xc1=!eval $click_x-$crosize xc2=!eval $click_x+$crosize yc1=!eval $click_y-$crosize yc2=!eval $click_y+$crosize ss=!eval $size+$border*2-1 ins_src=$ins_src\ line $xc1,$yc1,$xc2,$yc2,$color0\ line $xc1,$yc2,$xc2,$yc1,$color0\ fcircle $xcc,$ycc,2,$gcolor\ circle $xcc,$ycc,$[$crosize*3],$gcolor\ line 0,0,$ss,0,255,255,0\ line 0,0,0,$ss,255,255,0\ line 0,$ss,$ss,$ss,255,255,0\ line $ss,0,$ss,$ss,255,255,0 xe=$[$click_x-$xcc] ye=$[$click_y-$ycc] error=$[sqrt(($xe)^2+($ye)^2)] reply_cnt=$[$reply_cnt+1] !if $reply_cnt>$shoots reply_cnt=1 tot_error=$error target= !else tot_error=$[$tot_error+$error] !endif !if $error<$ring_size*10 target=$target\ fcircle $[rint($xe+$ring_size*10)],$[rint($ye+$ring_size*10)],5,$color0 !endif mean=$[rint(2*$tot_error/$reply_cnt)/10] !if $reply_cnt>=$shoots module_score=!eval 10-floor($mean) !if $module_score<0 or NaN isin $module_score module_score=0 !endif wims_module_log=error=$mean mm, $module_score/10 rings= !for i=0 to 10 rings=$rings\ circle $[$ring_size*10],$[$ring_size*10],$[2*$i*$ring_size],160,160,160 !next i !endif !distribute item $ into status,click_x,click_y !endif wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/shape1.phtml0000644000175000017500000000036211074456076026143 0ustar georgeskgeorgesk!! Axe !let nc=8 !let cc=-1,-0.2,-1,0.2,0.1,0.2,-0.1,-0.2,0.25,0.5,-0.25,-0.5,0.5,0.5,1,-0.5 !! 1 2 3 4 5 6 7 8 !let script=poly *,#1,#2,#3,#4 \ poly *,#5,#7,#8,#6 !read randsymm.phtml wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/var.prep0000644000175000017500000000313211074456076025372 0ustar georgeskgeorgesk shape=!randint 1,4 !read shape$shape.phtml nc=!itemcnt $cc nc=$[floor($nc/2)] ratio1=!item $level of 0.9,0.7,0.3 ratio2=!item $level of 1,0.9,0.8 rrange=!item $level of 0.7,1.2,2 angle=!random $ratio1*pi,$ratio2*pi angle=!randitem -$angle,$angle sa1=$[cos($angle)] sa2=$[-sin($angle)] sa3=$[sin($angle)] sa4=$sa1 sax=!random -$rrange,$rrange say=!random -$rrange,$rrange thickness=!random 0,$rrange/3 xmin=$[$sax-$thickness] xmax=$[$sax+$thickness] ymin=$[$say-$thickness] ymax=$[$say+$thickness] !distribute item $ into s1,s2 !for i=1 to $nc x=!item 2*$i-1 of $cc y=!item 2*$i of $cc s1=!append line $x,$y to $s1 xx=$[$sa1*($x-($sax))+$sa2*($y-($say))+$sax] yy=$[$sa3*($x-($sax))+$sa4*($y-($say))+$say] s2=!append line $xx,$yy to $s2 !distribute line $[min($xmin,min($x,$xx))]\ $[max($xmax,max($x,$xx))]\ $[min($ymin,min($y,$yy))]\ $[max($ymax,max($y,$yy))]\ into xmin,xmax,ymin,ymax !next i !distribute line $[max(($xmax-$xmin),($ymax-$ymin))/2]\ $[($xmax+$xmin)/2]\ $[($ymax+$ymin)/2] into drange,cx,cy !distribute item $[$cx-$drange],$[$cx+$drange],$[$cy-$drange],$[$cy+$drange]\ into xmin,xmax,ymin,ymax !for i=1 to 2 script$i=$script script$i=!replace * by $(color$i) in $(script$i) !for j=$nc to 1 step -1 l=!line $j of $(s$i) !distribute item $l into xx,yy xxx=$[rint(($xx-$xmin)*$xsize/($xmax-$xmin))+$border] yyy=$[rint(($ymax-$yy)*$ysize/($ymax-$ymin))+$border] script$i=!replace #$j by $xxx,$yyy in $(script$i) test=$test,$j,($l),$xxx,$yyy !next j !next i drawsrc=$script1 \ $script2 !distribute item $sax,$say into xc,yc !distribute item wait,, into status,click_x,click_y wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/about.phtml0000644000175000017500000000003011074456076026064 0ustar georgeskgeorgesk$module_about wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/shape3.phtml0000644000175000017500000000115311074456076026144 0ustar georgeskgeorgesk!! The word KITTY !let nc=40 !let cc=-1,0.3,-0.9,0.3,-0.9,0.1,-0.7,0.3,-0.6,0.3,-0.9,0,-0.6,-0.3,-0.7,-0.3,-0.9,-0.1,-0.9,-0.3,-1,-0.3, \ -0.5,0.3,-0.4,0.3,-0.4,-0.3,-0.5,-0.3, \ -0.3,0.3,0,0.3,0,0.2,-0.1,0.2,-0.1,-0.3,-0.2,-0.3,-0.2,0.2,-0.3,0.2, \ 0.1,0.3,0.4,0.3,0.4,0.2,0.3,0.2,0.3,-0.3,0.2,-0.3,0.2,0.2,0.1,0.2, \ 0.5,0.3,0.6,0.3,0.8,0.1,1,0.3,1.1,0.3,0.85,0.05,0.85,-0.3,0.75,-0.3,0.75,0.05 !! !let script=poly *,#1,#2,#3,#4,#5,#6,#7,#8,#9,#10,#11 \ poly *,#12,#13,#14,#15 \ poly *,#16,#17,#18,#19,#20,#21,#22,#23 \ poly *,#24,#25,#26,#27,#28,#29,#30,#31 \ poly *,#32,#33,#34,#35,#36,#37,#38,#39,#40 wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/main.phtml0000644000175000017500000000347311244501360025676 0ustar georgeskgeorgesk!header Aquí tienes dos figuras de distinto color. Una de ellas obtenida a partir de la otra mediante una rotación en el plano. Encuentra el centro de esta rotación. !if $status=wait

      Para dar tu respuesta: haz click en la figura, en el lugar donde creas que es el centro de rotación. !form reply
      !distribute item alt=Click,1,form click into ins_attr,ins_border,ins_tag !else

      Aquí está tu respuesta, además del verdadero centro de rotación.
      !set ins_attr=alt=Result !endif !insdraw fill 1,1,255,255,255\ transparent 255,255,255\ $ins_src     rojo = figura original
      verde = figura rotada
      !if $status!=wait = donde tú has hecho click
      = el verdadero centro de rotación !endif
      !if $status=wait

      Consejo. El centro de rotación es un punto cuya distacia hacia un punto y su rotado es la misma. !endif

      !if $status!=wait Precisión de la respuesta (número $reply_cnt de $shoots): $[rint($error*2)/10] mm. !if $reply_cnt<$shoots Precisión media de la sesión: $mean mm.

      !href cmd=next Continuar con un nuevo disparo . !else

      Fin de la sesión con $reply_cnt disparos. Precisión media = $mean mm, puntuación = $module_score/10.

      Resumen de los disparos de la sesión.   !set insdraw_size=$[$ring_size*20],$[$ring_size*20] !insdraw fill 1,1,255,255,255\ transparent 255,255,255\ $rings\ $target

      !href cmd=renew&worksheet=$wims_sheet&$module_init_parm Comenzar una nueva sesión . !if $worksheet=$empty !href module=$module Reconfigurar el juego . !endif !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/shape2.phtml0000644000175000017500000000030311074456076026137 0ustar georgeskgeorgesk!! Flag !let nc=6 !let cc=-0.8,0.5,0.8,0.5,0.8,-0.5,-0.7,-0.5,-0.7,-1,-0.8,-1 !! 1 2 3 4 5 6 !let script=poly *,#1,#2,#3,#4,#5,#6 !read randsymm.phtml wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/var.def0000644000175000017500000000040611074456076025163 0ustar georgeskgeorgesk status deny 0 level init shoots init 1 1 20 click_x reply click_y reply reply_cnt deny 2 tot_error deny 2 target deny 0 xc deny 1 yc deny 1 xmin deny 0 xmax deny 0 ymin deny 0 ymax deny 0 drawsrc deny wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/shape4.phtml0000644000175000017500000000043411074456076026146 0ustar georgeskgeorgesk!! Cup !let nc=15 !let cc=-0.4,-0.4,-0.2,-0.5,0.2,-0.5,0.4,-0.4,0.4,0.3,0.2,0.4,-0.2,0.4,-0.4,0.3, \ -0.2,0.2,0.2,0.2, \ 0.4,-0.2,0.6,0,0.6,0.1,0.5,0.2,0.4,0.1 !let script=poly *,#1,#2,#3,#4,#5,#6,#7,#8 \ line #8,#9,* \ line #9,#10,* \ line #10,#5,* \ poly *,#11,#12,#13,#14,#15 \ wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/INDEX0000644000175000017500000000076511244475334024512 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Centro de rotación description=hacer click en el centro de rotación 2D. language=es category=exercise, recreation domain=geometría level=H1,H2,H3,H4,H5 keywords=rotación, centro require= scoring=yes copyright=© 2000- (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.10 wims_version=3.01 vardef= translator=Pilar Ullán González translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/0000755000175000017500000000000011213710130024616 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/o5.gif0000644000175000017500000000007211074456076025654 0ustar georgeskgeorgeskGIF89a €ÿÿÿ››!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/o4.gif0000644000175000017500000000007211074456076025653 0ustar georgeskgeorgeskGIF89a €ÿÿÿ››!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/cross.gif0000644000175000017500000000010511074456076026457 0ustar georgeskgeorgeskGIF89a ¡ÿÿÿÿÿi!ù, Ži–Èð\‹Q¦êÔ–Ó‰=Ü5B;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/o0.gif0000644000175000017500000000010011074456076025637 0ustar georgeskgeorgeskGIF89a ¡ÿÿÿÿÿi!ù, „-§Â¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/circle.gif0000644000175000017500000000013711074456076026574 0ustar georgeskgeorgeskGIF89a¡ÿÿÿÿÿi!ù,0„‚‹âÿ˜q’.[UÒrjÜy&cy ¹±#8©é*£§*pgíéý2<Q;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/o1.gif0000644000175000017500000000007211074456076025650 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/o2.gif0000644000175000017500000000007211074456076025651 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/gifs/o3.gif0000644000175000017500000000007211074456076025652 0ustar georgeskgeorgeskGIF89a €ÿÿÿÿ!ù, „§Á¼Ý„`Ú›pÆr¾;wims-modules-es-3.64.orig/modules/H3/geometry/rotshoot.es/randsymm.phtml0000644000175000017500000000055011074456076026613 0ustar georgeskgeorgesk!! We make random symetries of the shape. !let a_=!randint 0,1 !let b_=!randint 0,1 !let c_=!randint 0,1 !let C_= !for i=1 to $nc !let x_=!item 2*$i-1 of $cc !let y_=!item 2*$i of $cc !if $a_=1 !exchange x_ and y_ !endif !if $b_=1 !let x_=$[-$x_] !endif !if $c_=1 !let y_=$[-$y_] !endif !let C_=!append item $x_,$y_ to $C_ !next i !let cc=$C_ wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/0000755000175000017500000000000010771763604023263 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/H3/geometry/affine.es/answer.phtml0000644000175000017500000000162111257165173025625 0ustar georgeskgeorgesk!! Placez ici le code pour montrer le résultat de l'analyse de réponse.

      !if $module_score=10 Bien, muy buena respuesta.

      !insdraw \ $dessin\ $dessinsol
      !else Su respuesta está en rojo, la respuesta correcta está en verde.

        !if $miss =1
      • Uno de los dos puntos no está en la recta.
      • !endif !if $miss=2
      • Ninguno de los dos puntos está sobre la recta
      • !endif !if abs($pente- ($a))<0.15 and abs($ord-($b))>0.1
      • La recta trazada es paralela a la que se pide.
      • !endif !if abs($pente-($a))>0.2 and abs($ord-($b))<0.1
      • La droite tracée a cependant la bonne ordonnée à l'origine.
      • !endif !if $type=2 and abs($ord)>0.1
      • La reprresentación gráfica de una función lineal siempre pasa por el origen.
      !endif

      !insdraw \ $dessin\ $dessin2\ $dessinsol
      !endif Ha obtenido $module_score (sobre 10) puntos por esta respuesta. wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/.htaccess0000644000175000017500000000001610771745075025060 0ustar georgeskgeorgeskdeny from all wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/analyse0000644000175000017500000000233310771745075024645 0ustar georgeskgeorgesk!if $click_x$click_y!=$empty and $status=waiting click_x=$[$click_x] click_y=$[$click_y] !advance click_cnt xc=!eval $xx_size*($click_x-$border)/$inssize+$xsize1 yc=!eval $yy_size*(-$click_y+$border)/$inssize+$ysize2 u=!item 1 of $liste_c v=!item 2 of $liste_c !if $click_cnt=2 and $[(($click_x)-($u))^2+(($click_y)-($v))^2]<400 error=pres click_cnt =$[$click_cnt-1] !else error=$empty dessin1=$dessin1\ disk $xc,$yc,7,black liste_c=!append item $click_x,$click_y to $liste_c liste=!append item $xc,$yc to $liste !endif !ifval $[($xc)^2+($yc)^2]<0.01 err= abs($b) !else err=$[abs($yc-($a)*($xc)-($b))/((1+($a)^2))^(1/2)] !endif !if $err<$incert color=orange !else color=red !advance miss !endif erreur=$[$err+$erreur] dessin2=$dessin2\ disk $xc,$yc,7,$color !endif click_x= click_y= !if $click_cnt=2 status=done module_score=$[min(10-min(10,floor(50*$erreur)/10),10)] !distribute item $liste into x1,y1,x2,y2 pente=$[($y2-$y1)/($x2-$x1)] ord=$[-($pente)*($x1)+$y1] dessin2=$dessin2\ linewidth 2\ plot red, $pente*x+($ord)\ linewidth 1 !if $module_score <7 bonus=$[2-$miss] !if abs($pente- $a)<0.15 bonus=$[$bonus+2] !endif !if abs($ord-$b)<0.15 bonus=$[$bonus+2] !endif module_score=$[min($module_score+$bonus,10)] !endif !endif wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/present.phtml0000644000175000017500000000214711257171531026005 0ustar georgeskgeorgesk!! Ce fichier présente la question à résoudre. !set eqlin_tex=!texmath $equationlin !set eq_tex=!texmath $equation Ejercicio. !set aff=!item $type of affine,linéaire !if $mode issametext rep Trazar la representación gráfica de la función $aff !insmath f: x \mapsto $eq_tex . !endif !if $mode issametext direct Trazar la representación gráfica de la función afín cuya pendiente es $a y tal que la imagen de $A por $m_f sea $B. !endif !if $mode issametext indirect Trazar la representación gráfica de la función afín de pendiente $a y tal que la imagen inversa de $B por $m_f sea $A. !endif !if $mode issametext applindir Trazar la representación gráfica de la función afín cuya función lineal asociada es !insmath x \mapsto $eqlin_tex y tal que la imagen de $A por $m_f sea $B. !endif !if $mode issametext applinante Trazar la representación gráfica de la función afín cuya función lineal asociada es !insmath x \mapsto $eqlin_tex y tal que la imagen inversa de $B por $m_f sea $A. !endif

      Para ello, señalar sucesivamente sobre dos puntos (no próximos) de la recta que se pide.

      wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/filedesc0000644000175000017500000000106710771745075024772 0ustar georgeskgeorgeskabout_phtml=Fichier apropos. Vous pouvez le laisser tel quel. help_phtml=Aides aux utilisateurs. main_phtml=Fichier principal d'organisation de sortie. present_phtml=Présentation du problème. answer_phtml=Présenter le résultat d'analyse de réponse. form_phtml=Formulaire de réponse. intro_phtml=Introduction et configuration de l'exercice. msg_phtml=Messages d'erreur. var_proc=Fichier de traitement de variables général. var_init=Initialisation de variables. var_def=Déclarations de variables d'utilisateurs. filedesc=Explication de chaque fichier dans le module. wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/form.phtml0000644000175000017500000000066711257165333025300 0ustar georgeskgeorgesk!! On pose les questions dans ce fichier. D'habitude, c'est par !! des forms. Voici un exemple de conception de la forme de réponse. !if $status=waiting !if $click_cnt=0 Hacer clic sobre un punto de la recta : !else Hacer clic sobre un segundo punto de la recta : !endif

      !form reply !distribute item alt=Cliquer,1,form click into ins_attr,ins_border,ins_tag

      !insdraw\ $dessin\ $dessin1
      !endif wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/help.phtml0000644000175000017500000000013510771745075025262 0ustar georgeskgeorgesk !! Placez ici des aides à l'exercice. Désolé, mais les aides sont encore en construction. wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/INDEX0000644000175000017500000000107111257164516024051 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Funciones lineales/afines y rectas description=representación gráfica d elas funciones lineales y afines. language=es category=exercise domain=análisis, geometría level=H3,H4 keywords=recta, regla, afín, gráfica lineal require=pari scoring=yes copyright=© 2003- (GNU GPL) 2005 2009 author=Bernadette PERRIN-RIOU address=bpr@math.u-psud.fr version=1.11 wims_version=3.48 vardef= translator=Pilar Ullán González translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/intro.phtml0000644000175000017500000000150411257166277025467 0ustar georgeskgeorgesk!header $module_title es un ejercicio sobre la representación gráfica de una función lineal o afín.


      !read names.phtml Se pedirá trazar la representación gráfica de una función

        !set type=1 !form new
      • !formradio type list 2 prompt lineal,afín
      • !formradio type list 1 prompt afín dada por
        !set liste= rep,direct,indirect, applindir,applinante !set mode=$liste !set wims_formselect_switch=multiple !formselect mode list $liste prompt \ $name1,$name2,$name3,$name4,$name5,$name6,$name7 !set wims_formselect_switch=
      !default coeff=1 Los coeficientes serán !formradio coeff list 1,2,3 prompt enteros, racionales, decimales
      . !tail wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/main.phtml0000644000175000017500000000070110771745075025255 0ustar georgeskgeorgesk!header !! La présentation de l'exercice. !read present.phtml


      !if $status=waiting !if $error!=$empty !read msg.phtml


      !endif !! La forme de réponse !read form.phtml

      !href exo_Renew . !else !if $error!=$empty !read msg.phtml


      !endif !! L'analyse de réponse !read answer.phtml

      !href exo_Again . !if $worksheet=$empty !href exo_Intro . !endif !endif :end !tail wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/msg.phtml0000644000175000017500000000051111257166455025115 0ustar georgeskgeorgesk!! This file contains error messages. It will be processed !! whenever the variable `error' is not empty. Error. !if bad_data=$error No he podido evaluar los valores que ha introducido !exit !endif !if pres issametext $error Los puntos son demasiado próximos. Recomenzar. !!debug $click_cnt !exit !endif !!msg $error wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/names.phtml0000644000175000017500000000041711257170453025430 0ustar georgeskgeorgesk!set name1=una fórmula !set name2=su pendiente y un valor de la función !set name3= su pendiente $a y la imagen inversa de un punto !set name4=la función lineal asociada y un valor de la función !set name5= la función lineal asociada y la imagen inversa de un punto wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/NEWS0000644000175000017500000000031110771745075023757 0ustar georgeskgeorgeskVersion 1.11 2005-10-24 correction de bogue : pas de score quand la réponse est parfaite. Version 1.10 : correction de bogues indiqués par P. Byache (linéaire+affine, coefficients rationnels)wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/var.init0000644000175000017500000000365310771745075024751 0ustar georgeskgeorgesk# Variable initialisation file. # This file is read by wims for new sessions. # content of the file: initialisation of the problem. wims_multiexec=pari wims_backslash_insmath=yes !if $type=1 !default mode=rep,direct,indirect, applindir,applinante mode= !randitem $mode !default mode=rep !else mode=rep !endif dessin1=$empty dessin2=$empty liste=$empty border=1 m= 4 n=4 eche=5 xsize1=$[-$m] xsize2=$n x_size=$xsize1, $xsize2 xx_size=$[$xsize2- $xsize1] y_size=$x_size yy_size=$xx_size ysize2=$xsize2 insdraw_size=400,400 inssize=!item 1 of $insdraw_size !!incert= $[($xx_size)/($n+$m)*0.1] incert= 0.1 dessin=xrange $x_size\ yrange $y_size\ hline black,0,0\ arrow 2.5,0,$n,0,15,black dessin=$dessin\ parallel -$m,-$m,-$m,$n,1/5,0, 200, grey\ parallel -$m,-$m,-$m,$n,1,0, 40, blue\ parallel -$m,-$m,$n,-$m,0,1/5, 200, grey\ parallel -$m,-$m,$n,-$m,0,1, 40, blue\ linewidth 2\ hline black,0,0\ vline black,0,0\ linewidth 1\ arrow 0,0,0,$n,15,black\ text black,0.1,0.1, medium,0 !for i=-$m to $n a=$[$i] !if $i<>0 dessin=$dessin\ text black, $i,-0.2, medium,$a\ text black, 0.2,$i, medium,$a !endif !next i click_cnt=0 cnt_orange=0 !!On se donne l'équation de la droite !if $coeff < 3 a=!randint -3,3 !if $coeff=1 c=1 !else c=!randitem 2,1,4,5 !endif a= !exec pari $a/$c !if $type=1 b=!randint -3,3 !else b=0 !endif !if $a=0 and $b=0 a=!randint 1,3 e=!randitem 1,-1 a= !exec pari $a*$e !endif !else a=!randint -15,15 a=$[$a/5] !if $type=1 b=!randint -15,15 b=$[$b/5] !else b=0 !endif !if $a=0 and $b=0 a=!randint 5,15 e=!randitem 1,-1 a=$[$a*$e/5] !endif !endif equation=!exec pari ($a)*x+($b) equationlin=!exec pari ($a)*x dessinsol=linewidth 2\ plot green , $equation !if $b>0 A=!randint -4,2 !else A=!randint -2,4 !endif B=!exec pari $A*$a+$b click_x= click_y= erreur=0 miss=0 status=waiting wims_module_log=$cmd : mode $mode type $type coeff $coeffwims-modules-es-3.64.orig/modules/H3/geometry/affine.es/var.def0000644000175000017500000000153010771745075024534 0ustar georgeskgeorgesk # Variable declaration file. # # Only those variables with possible user inputs or requiring inter-request # savings need to be declared in this file. # #Each non-comment line defines a variable. Format of the line: # #name allow # #name: name of the variable #allow: when allow the user to override the defined value. # it maybe any, deny, init, config, reply. # # #name allow status deny error deny droite deny dessin deny dessin1 deny dessin2 deny dessinsol deny border deny equation deny equationlin deny eq_tex deny mode any coeff any type any x_size init xsize1 init xsize2 init ysize2 init yy_size init xx_size init inssize init click_x reply click_y reply insdraw_size deny a deny b deny A deny B deny pente deny ord deny liste deny liste_c deny click_cnt deny reply_cnt any erreur deny miss deny incert deny module_score deny err deny wims-modules-es-3.64.orig/modules/H3/geometry/affine.es/var.proc0000644000175000017500000000064410771745075024746 0ustar georgeskgeorgesk# Variable calculations should be done in this file. # It is read and interpreted by wims for all valid calls to the module. !if $cmd=reply and $status!=waiting error=double_reply !exit !endif !if $cmd=reply and $status=waiting # Analysis of the reply should be placed here. # The following lines are just a template. !read analyse !endif !if $status=done wims_module_log=score $module_score/10 !endif !endif wims-modules-es-3.64.orig/modules/U2/0000755000175000017500000000000011262660503017574 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/0000755000175000017500000000000011262660524021174 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/0000755000175000017500000000000011256176227023321 5ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/table.F80000777000175000017500000000000011263403036030004 2../qpuzzle/table.F8ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/intro.phtml0000644000175000017500000000360611255462534025525 0ustar georgeskgeorgesk $wims_html_header !headmenu

         $module_title

      !set red= !set q=$redq !set p=$redp !set F=$(red)F ¡Esto es un puzzle rompezabezas matemático! Tienes una foto cortada en $q×$q piezas, donde $q es una potencia de un primo $p. Además representa el vector plano sobre el cuerpo finito !!pedia finite field,cuerpo finito $F$q con $q elementos.

      Estas $q×$q piezas estarán desordenadas, resultado de una (escondida) transformación afín !!pedia affine transformation,affine transformation del plano. Tu objetivo es recuperar la imagen determinando transformaciones afines inversas. Dispones de varios intentos ordenados para conseguirlo.

      Recordamos que una transformación afín es una transformación lineal seguida de una traslación. Todas las operaciones son sobre $F$q.

      Puedes participar en el juego incluso sin entender las matemáticas que hay debajo de él. En este caso no vas a llegar más lejos que $q$red=5; y el juego corre el riesgo de ser muy frustrante. Recomendamos también otro rompecabezas online !href module=H3/algebra/spuzzle Puzzle mudable que requiere mucha menos formación matemática.


      !form new Elegir: $q = (Cuanto mayor sea $q mayor dificultad tendrá el puzzle.)
      Foto =     !tail wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/var.init0000777000175000017500000000000011263403036030362 2../qpuzzle/var.initustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/var.proc0000777000175000017500000000000011263403036030362 2../qpuzzle/var.procustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/makepieces0000777000175000017500000000000011263403036031312 2../qpuzzle/makepiecesustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/table.F90000777000175000017500000000000011263403036030006 2../qpuzzle/table.F9ustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/pieces0000777000175000017500000000000011263403036027616 2../qpuzzle/piecesustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/F4.phtml0000644000175000017500000000040611255462767024646 0ustar georgeskgeorgesk$m_FF4 es un cuerpo finito de característica 2. Contiene el cero 0, la unidad 1, y otros dos elementos que son solución del polinomio X2+X+1 (en característica 2). Denotando uno de ellos por $r=$r1, el otro será $r2. wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/F8.phtml0000644000175000017500000000110511255462213024631 0ustar georgeskgeorgesk$m_FF8 es un cuerpo finito de característica 2. Contiene el cero zero 0 y la unidad 1, y elementos no nulos de $m_FF8 forma un grupo cíclico multiplicativo de orden 7. Denotamos por $r al generador de este grupo.

      $r es por tanto una raíz del polinomio !htmlmath (X^7+1)/(X+1) = X^6+X^5+X^4+X^3+X^2+X+1 . Como

      !htmlmath X^6+X^5+X^4+X^3+X^2+X+1 = (X^3+X^2+1)(X^3+X+1)

      en característica 2, hay dos opciones diferentes para $r. En nuestra presentación, tomamos para $r una raíz de X3+X+1, de ahí 1+$r=$r3.

      wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/transformation.phtml0000777000175000017500000000000011263403036035460 2../qpuzzle/transformation.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/main.phtml0000644000175000017500000000303511256202511025276 0ustar georgeskgeorgesk $wims_html_header !headmenu !if $cmd=help !read $help_subject.phtml !goto end !endif

      $module_title (sobre !href cmd=help&help_subject=fields F$q )

      !if $found=yes !else
      !endif !for y=$q-1 to 0 step -1 !for x=0 to $q-1 !next x !next y
      !if $det = 0 El dibujo está incompleto porque tu matriz de transformación no es invertible sobre $F$q.

      !endif !if $found = yes

      ¡Bravo! Has descubierto el puzzle después de $reply_cnt intentos:

      !read transformation.phtml !if $module_score!=$empty

      Puntuación: $module_score/10. !endif !else

      !if $try_cnt < 5 !word $try_cnt of Primero Segundo Tercero Cuarto !else $try_cnt'th !endif Intenta conseguir la transformación afín: !form reply !read transformation.phtml Hay exactamente una combinación de la selección de más arriba que recupera el dibujo. Está en tí encontrarlo. !endif found=yes


      !href cmd=renew&worksheet=$wims_sheet&$module_init_parm Otro puzzle , !href cmd=help&help_subject=fields Presentación de la explicación de F$q , :end !homeref !if $photoright != $empty and $cmd != help

      Copyright de la fotografía: !read photos/$photoright.copyright !endif wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/var.def0000777000175000017500000000000011263403036027750 2../qpuzzle/var.defustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/fields.phtml0000644000175000017500000000215011255462403025624 0ustar georgeskgeorgesk

      Q-Puzzle

      !set wims_texsize=3

      Presentación de $m_FF$q


      !set wims_texsize=0 Esta página no es un curso en !pedia cuerpo finito,cuerpos finitos $ ! Suponemos que los conoces bien, y aquí es como $m_FF$q está presentado geométricamente en este juego, durante la acción del puzzle.

      !if $field=prime $q siendo un primo, $m_FF$q es el cociente $m_ZZ/$q$m_ZZ. Por tanto usamos simplemente un entero para denotar su clase en $m_FF$q. !else !read F$q.phtml !endif Y los elementos del vector plano en $m_FF$q (i.e. las piezas del puzzle) son alineadas !if $field=prime naturalmente, !endif en el orden

      { !for i = 0 to $q-1 !if $i <= 1 or $field=prime $i !else $(el$i) !endif !if $i < $q-1 , !endif !next i }.

      La pieza de la esquina inferior izquierda representa el origen del plano.


      Tablas de adición y multiplicación de $m_FF$q

      !set addtable=Tabla de adición !set multable=Tabla de multiplicación !read table.phtml


      !href cmd=resume Volver a jugar . wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/table.phtml0000777000175000017500000000000011263403036031522 2../qpuzzle/table.phtmlustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/INDEX0000644000175000017500000000113211255462733024107 0ustar georgeskgeorgesk# This file is automatically generated by Modtool 3.37. # Do not edit by hand. title=Q-Puzzle description=puzzle rompecabezas basado en transformaciones afines sobre cuerpos finitos. language=es category=exercise, recreation domain=álgebra level=U1,U2,U3,U4,G keywords=geometría afín, cuerpo finito, transformación afín, espacio vectorial, rompecabezas, puzzle rompecabezas require= scoring=yes copyright=© 1998 (GNU GPL) 2009 author=XIAO Gang address=xiao@unice.fr version=1.14 wims_version=1.14 vardef= translator=Pilar Ullán translator_address=pilar.ullan@gmail.com data= wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/README0000777000175000017500000000000011263403036026770 2../qpuzzle/READMEustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/F9.phtml0000644000175000017500000000106711255462257024651 0ustar georgeskgeorgesk$m_FF9 es un cuerpo finito de característica 3. Contiene el cero 0 y la unidad 1, y elementos no nulos de $m_FF9 foman un grupo cíclico multiplicativo de orden 8. Denotamos por $r un generador de este grupo. Observamos que $r4 = -1.

      $r es por tanto una raíz del polinomio X4+1. Como

      !htmlmath X^4+1 = (X^2+X-1)(X^2-X-1)

      en característica 3, existen dos opciones diferentes para $r. En nuestra presentación, tomamos para $r una raíz de X2-X-1, de ahí que 1+$r=$r2.

      wims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/photos0000777000175000017500000000000011263403036027726 2../qpuzzle/photosustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/CREDITS0000777000175000017500000000000011263403036027270 2../qpuzzle/CREDITSustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/gifs0000777000175000017500000000000011263403036026756 2../qpuzzle/gifsustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/aris.copyright0000777000175000017500000000000011263403036033010 2../qpuzzle/aris.copyrightustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/cnd.copyright0000777000175000017500000000000011263403036032424 2../qpuzzle/cnd.copyrightustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/unsa.copyright0000777000175000017500000000000011263403036033030 2../qpuzzle/unsa.copyrightustar georgeskgeorgeskwims-modules-es-3.64.orig/modules/U2/algebra/qpuzzle.es/table.F40000777000175000017500000000000011263403036027774 2../qpuzzle/table.F4ustar georgeskgeorgesk