HEX
Server: Apache
System: Linux vps.mmtprep.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
User: mmtprep (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/4G12--oRIIRUv.js
import{E as se,q as e,K as m,C as K,al as z,u as te,bE as oe,au as ie,h as E,a8 as N,a7 as q,bj as ne,jq as _,bB as C,b6 as B,jn as U,c as d,R as A,ax as L,m as M,aq as Q,a as ae,z as X,o as W,jQ as Y,aK as D,s as re,l as le,aE as Z,bD as me,J as F,f as h,aA as S}from"./index-hc8lvKav.js";import{g as he}from"./reperes-MjYMQS1W.js";import{c as w}from"./style-0IaNCtso.js";const be="Find a series of transformations",ge=!0,$e="mathLive",xe=!0,pe="AMCOpen",ye="3/12/2021",de="4ffdb",we="4G12";function ke(){se.call(this),this.nbQuestions=1,this.spacing=1,this.nbCols=1,this.nbColsCorr=1,this.pasDeVersionLatex=!1,this.pas_de_version_HMTL=!1;const v=e(0,0);let H;this.sup=4,this.sup2=6,this.sup3=!1;const ee=[m([e(1,1),e(2,1),e(2,4),e(6,4),e(6,5),e(3,5),e(3,6),e(1,6)]),m([e(1,1),e(3,1),e(3,4),e(6,4),e(6,6),e(3,6),e(3,5),e(1,5)]),m([e(2,1),e(3,1),e(3,3),e(4,3),e(4,4),e(3,4),e(3,5),e(5,5),e(5,6),e(2,6),e(2,4),e(1,4),e(1,3),e(2,3)]),m([e(1,1),e(4,1),e(4,2),e(5,2),e(5,4),e(4,4),e(4,5),e(3,5),e(3,6),e(2,6),e(2,2),e(1,2)]),m([e(2,1),e(5,1),e(5,3),e(6,3),e(6,4),e(4,4),e(4,3),e(3,3),e(3,5),e(5,5),e(5,6),e(2,6)]),m([e(1,1),e(5,1),e(5,2),e(2,2),e(2,3),e(3,3),e(3,4),e(2,4),e(2,5),e(4,5),e(4,6),e(1,6)]),m([e(2,6),e(2,1),e(5,1),e(5,2),e(3,2),e(3,6)]),m([e(2,6),e(5,6),e(5,5),e(4,5),e(4,1),e(1,1),e(1,2),e(3,2),e(3,5),e(2,5)]),m([e(2,1),e(3,1),e(6,1),e(6,2),e(3,2),e(3,3),e(5,3),e(5,5),e(3,5),e(3,6),e(2,6)]),m([e(2,1),e(3,1),e(3,3),e(5,3),e(5,6),e(2,6)]),m([e(2,1),e(2,6),e(5,6),e(5,3),e(3,3),e(5,1),e(4,1),e(3,2),e(3,1)]),m([e(2,1),e(6,1),e(6,4),e(3,4),e(3,5),e(5,5),e(5,6),e(2,6),e(2,3),e(5,3),e(5,2),e(2,2)]),m([e(2,1),e(4,1),e(5,2),e(5,1),e(6,1),e(6,6),e(5,6),e(5,3),e(4,2),e(3,2),e(3,6),e(2,6)]),m([e(1,6),e(2,6),e(4,3),e(5,5),e(6,5),e(4,1),e(3,1)]),m([e(2,6),e(3,6),e(4,4),e(5,6),e(6,6),e(3,1),e(2,1),e(3,3)]),m([e(1,1),e(6,1),e(6,2),e(3,5),e(5,5),e(5,6),e(1,6),e(5,2),e(1,2)]),m([e(3,6),e(3,5),e(2,5),e(2,4),e(3,4),e(3,3),e(1,3),e(1,2),e(3,2),e(3,1),e(4,1),e(4,2),e(5,2),e(5,3),e(4,3),e(4,4),e(6,4),e(6,5),e(4,5),e(4,6)]),m([e(2,1),e(3,3),e(2,3),e(2,4),e(6,4),e(6,3),e(5,3),e(5,1),e(4,1),e(4,3),e(3,1)]),m([e(2,2),e(3,3),e(3,2),e(4,3),e(4,2),e(5,3),e(5,2),e(6,3),e(6,5),e(2,5)]),m([e(1,1),e(3,1),e(3,5),e(5,5),e(5,6),e(2,6),e(2,2),e(1,2)]),m([e(1,1),e(6,1),e(6,2),e(4,2),e(4,4),e(5,4),e(5,5),e(1,5),e(1,4),e(3,4),e(3,2),e(1,2)]),m([e(2,1),e(2,3),e(4,3),e(4,4),e(3,4),e(3,6),e(6,6),e(6,4),e(5,4),e(5,3),e(6,3),e(6,1),e(5,1),e(5,2),e(4,2),e(4,1)]),m([e(2,6),e(2,4),e(1,4),e(1,2),e(2,2),e(2,1),e(3,1),e(3,3),e(5,3),e(5,4),e(4,4),e(4,5),e(3,5),e(3,6)]),m([e(1,3),e(1,1),e(3,1),e(3,2),e(6,2),e(6,5),e(3,5),e(3,3)]),m([e(2,1),e(2,2),e(1,2),e(1,4),e(2,4),e(2,3),e(3,3),e(3,2),e(4,2),e(4,4),e(3,4),e(3,6),e(6,6),e(6,4),e(5,4),e(5,3),e(6,3),e(6,1)]),m([e(3,1),e(3,2),e(1,2),e(1,3),e(2,3),e(2,4),e(3,4),e(3,5),e(5,5),e(5,4),e(6,4),e(6,3),e(5,3),e(5,2),e(4,2),e(4,1)])],s=[],P=[],J=[];P.push(he(0,0,16,16,"black",.2,.4));for(let a=0;a<6;a++){P.push(K(a*3.2,0,a*3.2,16)),P.push(K(0,a*3.2,16,a*3.2));for(let t=0;t<6;t++)J[a*6+t]=a*6+t<26?z(a*6+t+1):z((a*6+t)%26+1)+"'",s[a*6+t]=e(a*3.2,t*3.2,J[a*6+t],"above right"),P.push(te(s[a*6+t]))}function V(a,{type:t="symax",centre:i,axe:g,vecteur:p,angle:b=90,sens:$=!0}){switch(t){case"symax":return me(a,g);case"trans":return N(a,p);case"rot90":return Z(a,i,$?b:-b);case"rot180":return Z(a,i,180);default:return a}}function I(a,t,i,g=!0,p=0){let b,$,x,T,f,n,r,y,k;const u=i-t===6?"East ":i-t===-6?"West":i-t===1?"North":"South";switch(a){case"symax":switch(u){case"East ":T=S(s[i],s[i+1]),f="("+s[i].nom+s[i+1].nom+")";break;case"West":T=S(s[t],s[t+1]),f="("+s[t].nom+s[t+1].nom+")";break;case"North":T=S(s[i],s[i+6]),f="("+s[i].nom+s[i+6].nom+")";break;case"South":T=S(s[t],s[t+6]),f="("+s[t].nom+s[t+6].nom+")";break}return $=`The ${D(t,w(p+11))} figure has as its image the ${D(i,w(p+12))} figure by the symmetry of axis $${f}$.`,b=`The figure \\ldots${h()}a for image the figure${h(1)}\\ldots${h(1)} by axis symmetry (${h(1)}\\ldots${h(1)})`,x="An axial symmetry whose axis passes through two points on the grid.",{texte:b,texteCorr:$,texteInteractif:x,type:a,axe:T};case"trans":return $=`The ${D(t,w(p+11))} figure has the image of the ${D(i,w(p+12))} figure by the translation transforming $${s[t].nom}$ into $${s[i].nom}$.`,b=`The figure \\ldots${h()}a for image the figure${h(1)}\\ldots${h(1)} by the translation transforming${h(1)}\\ldots${h(1)}en${h(1)}\\ldots${h(1)}`,x="A translation defined by two grid points.",{texte:b,texteCorr:$,texteInteractif:x,type:a,vecteur:q(s[t],s[i])};case"rot90":switch(u){case"East ":r=g?s[i+1]:s[i],n=g?s[i+1].nom:s[i].nom;break;case"West":r=g?s[t]:s[t+1],n=g?s[t].nom:s[t+1].nom;break;case"North":r=g?s[i]:s[i+6],n=g?s[i].nom:s[i+6].nom;break;case"South":r=g?s[t+6]:s[t],n=g?s[t+6].nom:s[t].nom;break}return $=`The ${D(t,w(p+11))} figure has the image of the ${D(i,w(p+12))} figure by the rotation of center $${n}$ of angle $90\\degree$ in the direction ${g?"counterclockwise":"clockwise"}.`,b=`The figure \\ldots${h()}a for image the figure${h(1)}\\ldots${h(1)}by the rotation of center${h(1)}\\ldots${h(1)}of angle $90\\degree$ in the direction ${g?"counterclockwise":"clockwise"}`,x="A rotation of angle 90° and whose center is a point on the grid.",{texte:b,texteCorr:$,texteInteractif:x,type:a,centre:r,sens:g};case"rot180":switch(u){case"East ":y=F(s[i],s[i+1]),k="["+s[i+1].nom+s[i].nom+"]";break;case"West":y=F(s[t],s[t+1]),k="["+s[t+1].nom+s[t].nom+"]";break;case"North":y=F(s[i],s[i+6]),k="["+s[i+6].nom+s[i].nom+"]";break;case"South":y=F(s[t],s[t+6]),k="["+s[t+6].nom+s[t].nom+"]";break}return $=`The ${D(t,w(p+11))} figure has as its image the ${D(i,w(p+12))} figure by the symmetry whose center is the midpoint of $${k}$.`,b=`The figure \\ldots${h()}a to image the figure${h(1)}\\ldots${h(1)}by the symmetry whose center is the midpoint of $[$${h(1)}\\ldots${h(1)}$]$`,x="A central symmetry whose center is a midpoint of a side of a box.",{texte:b,texteCorr:$,texteInteractif:x,type:a,centre:y}}}this.nouvelleVersion=function(){this.version===1?this.sup=1:this.version===2?this.sup=2:this.version===3?this.sup=3:this.sup=4,this.autoCorrection=[],this.sup=oe(1,4,this.sup,4),this.sup===1?H=["symax"]:this.sup===2?H=["symax","rot180"]:this.sup===3?H=["symax","trans","rot180"]:H=["symax","trans","rot90","rot180"],this.listeQuestions=[],this.listeCorrections=[];for(let a=0,t,i,g,p,b,$,x,T,f,n,r,y,k,u,R,G;a<this.nbQuestions;a++){this.autoCorrection[a]={},u=[],R=[],u[0]=ie(E(ee),v,.4),G=N(u[0],q(...E([[.4,0],[0,.4],[.4,.4]])));for(let o=0;o<5;o++)for(let c=0,l,O,j;c<5;c++)o+c>0&&(l=o*6+c,O=E(H),c>0?(j=I(O,l-1,l,E([!0,!1])),u[l]=V(l===1?G:u[l-1],j),c===4&&(u[l+1]=ne())):(j=I(O,l-6,l,E([!0,!1])),u[l]=V(l===6?G:u[l-6],j)));switch(r=[],this.sup2=parseInt(this.sup2),this.sup2){case 1:b=8,$=10;break;case 2:b=10,$=12;break;case 3:b=12,$=14;break;case 4:b=14,$=16;break;case 5:b=16,$=18;break;default:b=8,$=18;break}for(;r.length<b||r.length>$;)for(r=[0],n=0,f=[n-6,n-1,n+1,n+6];n!==28;){f=[n-6,n-1,n+1,n+6],_(n,6)===0?(C(f,n-6),C(f,n-1)):_(n,6)===4?(C(f,n-6),C(f,n+1)):_(n,6)===3&&C(f,n-6),n>=24?(C(f,n+6),C(f,n-1)):n<=4?(C(f,n-6),C(f,n-1)):n<=22&&n>=18&&C(f,n-1),n=E(f),T=[n-6,n-1,n+1,n+6],x=0;for(let o=0;o<4;o++)x=x+B(r,T[o]);for(;B(r,n)!==0||x>1;){C(f,n),n=E(f),T=[n-6,n-1,n+1,n+6],x=0;for(let o=0;o<4;o++)x=x+B(r,T[o])}r.push(n)}for(let o=0;o<r.length-1;o++)R[o]=I(E(H),r[o],r[o+1],E([!0,!1]),o),u[r[o+1]]=V(u[r[o]],R[o]);y=[],k=[],t=this.interactif?this.sup===1?"Complete the list of successive figures obtained with a series of axial symmetries.<br>The list begins with 0, ends with 28 and the numbers are to be separated by commas.<br><br>":"Complete the list of successive figures obtained with this series of transformations.<br>The list begins with 0, ends with 28 and the numbers must be separated by commas.<br><br>":"We go from figure $0$ to figure $28$ passing through adjacent boxes, following the transformations listed in the precise order of the sentences below which must be completed.<br><br>",i="";for(let o=0;o<5;o++)for(let c=0,l;c<5;c++)l=U(Number(o*6+c).toString(),e(o*3.2+1.6,c*3.2+1.6),"medium",d.isHtml?"yellow":"black",1.2,"middle",!0,.4),l.contour=d.isHtml,l.couleurDeRemplissage=A("black"),l.opacite=d.isHtml?.5:1,l.opaciteDeRemplissage=1,P.push(l),u[o*6+c].opacite=.7,u[o*6+c].color=A("blue");u[0].opaciteDeRemplissage=.7,u[0].couleurDeRemplissage=A(w(11)),u[28].opaciteDeRemplissage=.7,u[28].couleurDeRemplissage=A(w(11+(r.length-1))),y.push(...u),y.push(...P);for(let o=0;o<6;o++)for(let c=0,l;c<6;c++)l=U(s[o*6+c].nom,N(s[o*6+c],q(.3,.3)),"medium",d.isHtml?"red":"black",1.2,"middle",!0,.4),l.contour=d.isHtml,l.couleurDeRemplissage=A("black"),l.opacite=d.isHtml?.8:1,l.opaciteDeRemplissage=1,y.push(l);this.sup===1?(p={xmin:-.5,ymin:-.5,xmax:17,ymax:16.5,pixelsParCm:20,scale:L(1.1-r.length*.03125)},g={xmin:-.5,ymin:-.5,xmax:17,ymax:16.5,pixelsParCm:20,scale:L(1-r.length*.03125)}):(p={xmin:-.5,ymin:-.5,xmax:17,ymax:16.5,pixelsParCm:20,scale:L(1.2-r.length*.05)},g={xmin:-.5,ymin:-.5,xmax:17,ymax:16.5,pixelsParCm:20,scale:L(1.1-r.length*.05)});for(let o=1,c;o<r.length-1;o++)c=N(u[r[o]],q(0,0)),c.color=A(w(o+11)),c.couleurDeRemplissage=A(w(o+11)),c.opaciteDeRemplissage=.6,k.push(c);k.push(...y);for(let o=0;o<r.length-1;o++)t+=this.interactif&&d.isHtml?this.sup===1?"":`$${M(o+1+")"+h(1))}$`+Q(R[o].texteInteractif,o%2===0?"black":"brown")+"<br>":o===0?`$${M(o+1+")"+h(1))}$`+Q(R[0].texte+(this.sup3?",":".")+"<br>","black"):this.sup3?`$${M(o+1+")"+h(1))}$`+Q("Who"+R[o].texte.substr(d.isHtml?22:18)+(o===r.length-2?".":","),o%2===0?"black":"brown")+"<br>":`$${M(o+1+")"+h(1))}$`+Q(R[o].texte+".",o%2===0?"black":"brown")+"<br>",i+=R[o].texteCorr+"<br>";d.isHtml?(t+=ae(this,a,"width75 inline"),t=X(t,W(p,y),50),i=X(i,W(g,k),50)):(t+=`
`+Y(W(p,y)),i+=`
`+Y(W(g,k))),i+=this.interactif?"So the answer was:"+D(r.toString())+".":"",d.isAmc?this.autoCorrection=[{enonce:t,propositions:[{texte:i,statut:3,feedback:"",sanscadre:!0}]}]:re(this,a,r.toString(),{formatInteractif:"text"}),t+=d.isHtml?"<br>":`
\\newpage`,i+=d.isHtml?"<br>":`
\\newpage`,this.listeQuestions.push(t),this.listeCorrections.push(i)}le(this)},this.besoinFormulaireNumerique=["Types of possible transformations",4,`1: Axial symmetries only
2: Axial and central symmetries
3: Symmetries and translations
4: Symmetries, translations and quarter turns`],this.besoinFormulaire2Numerique=["Number of transformations between departure and arrival",6,`1: 8
2: 10
3: 12
4: 14
5: 16
6: Between 8 and 16`],this.besoinFormulaire3CaseACocher=["Shortened statements",!1]}export{xe as amcReady,pe as amcType,ye as dateDePublication,ke as default,ge as interactifReady,$e as interactifType,we as ref,be as titre,de as uuid};
//# sourceMappingURL=4G12--oRIIRUv.js.map