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/4G15-csLM7oat.js
import{E as st,cr as nt,q as at,B as ot,r as y,aR as O,K as X,ap as lt,bn as F,aG as rt,aE as M,bx as D,J as j,aA as ct,bD as mt,cp as ut,a8 as G,a7 as v,u as $t,I as gt,av as dt,c as H,jG as w,o as Y,l as _t}from"./index-hc8lvKav.js";import{s as ht,r as U,t as bt}from"./2dAnimation-xuB06sf5.js";const Ct="Triangle transformations",Pt="0da6a",xt="4G15";function ft(){st.call(this),this.titre="Triangle transformations",this.nbQuestions=1,this.nbQuestionsModifiable=!1,this.nbCols=1,this.nbColsCorr=1,this.pasDeVersionLatex=!1,this.pas_de_version_HMTL=!1,this.typeExercice="IEP",this.nouvelleVersion=function(m){this.listeQuestions=[],this.listeCorrections=[];const R=[],E=[];let g="",q=20,L=20,i,s,x,T,r,p,I,S,V,b,C,P,J,K,n,f,a,c,o,l,d,Q,z,u,_,h,$,A,k;const e=new nt;for(;q>16&&L>16;){u=0,_=0,h=0,$=0,i=at(0,0,"A"),s=ot(i,y(40,60)/10,y(70,100),"B"),x=O(s,i,y(20,50),y(8,12)/10,"C"),r=X(i,s,x),T=lt(i,s,x),p=F(s,i,2+rt(i,s)),k=y(-45,-20),C=M(i,p,k,"A"),P=M(s,p,k,"B"),J=M(x,p,k,"C"),b=X(C,P,J),D(b,["$A_1$","$B_1$","$C_1$"]),I=j(i,C),K=ct(C,P),n=mt(b,K),D(n,["$A_1$","$B_1$","$C_1$"]),f=ut(i,C),S=F(I,p,5),V=F(p,I,10),a=O(P,C,y(-40,-10),1.5,"D"),o=M(n,a,180),D(o,["$A_2$","$B_2$","$C_2$"]),c=G(a,v(s,i),"F"),Q=$t(a,c),z=gt(a,c),l=G(o,v(a,c)),D(l,["$A_3$","$B_3$","$C_3$"]),A=-y(80,110),d=M(l,c,A),D(d,["$A_4$","$B_4$","$C_4$"]);for(let t=0;t<3;t++)u=Math.min(u,r.listePoints[t].x,b.listePoints[t].x,n.listePoints[t].x,o.listePoints[t].x,l.listePoints[t].x,d.listePoints[t].x),_=Math.max(_,r.listePoints[t].x,b.listePoints[t].x,n.listePoints[t].x,o.listePoints[t].x,l.listePoints[t].x,d.listePoints[t].x),h=Math.min(h,r.listePoints[t].y,b.listePoints[t].y,n.listePoints[t].y,o.listePoints[t].y,l.listePoints[t].y,d.listePoints[t].y),$=Math.max($,r.listePoints[t].y,b.listePoints[t].y,n.listePoints[t].y,o.listePoints[t].y,l.listePoints[t].y,d.listePoints[t].y);_+=4,u--,h--,$++,q=_-u,L=$-h}let B="Construct<br>$A_1B_1C_1$ the symmetrical triangle of $ABC$ with respect to the line $(d)$;<br>";B+="$A_2B_2C_2$ the symmetrical triangle of $A_1B_1C_1$ with respect to the point $D$;<br>",B+="$A_3B_3C_3$ the triangle translated from $A_2B_2C_2$ such that $D$ is transformed into $F$;<br>",B+=`$A_4B_4C_4$ the triangle obtained by the rotation of $A_3B_3C_3$ with center $F$ and angle $${Math.abs(A)}\\degree$ clockwise.<br>`;const N=dt("(d)",G(j(s,P),v(1,0)),"black",30,12,"");if(H.isHtml){const t=ht(r,f,`id='anim${m}A' begin="0s" hard="2s" repeatcount="1" fill="freeze"`),tt=U(n,a,180,`id='anim${m}B' begin="2s" dur="2s" repeatcount="1" fill="freeze"`),et=bt(o,v(a,c),`id='anim${m}C' begin="4s" hard="2s" repeatcount="1" fill="freeze"`),it=U(l,c,A,`id='anim${m}D' begin="6s" hard="2s" repeatcount="1" fill="freeze"`);e.vitesse=15,e.tempo=.5,e.recadre(u,$),e.polygoneRapide(...r.listePoints),e.pointsCreer(i,s,x,c,a),e.couleur="black",e.traitRapide(S,V),e.textePoint("(d)",j(s,P)),e.symetrieAxialePolygone(r,f,["A_1","B_1","C_1"],{couleur:"blue",couleurCodage:"light blue"}),e.demiTourPolygone(n,a,["A_2","B_2","C_2"],{couleur:"red",couleurCodage:"pink"}),e.translationPolygone(o,a,c,["A_3","B_3","C_3"],{couleur:"brown",couleurCodage:"#f15929"}),e.rotationPolygone(l,c,A,["A_4","B_4","C_4"],{couleur:"green",couleurCodage:"lightgreen"}),e.crayonMasquer(),E.push(t,tt,et,it)}H.fenetreMathalea2d=[u,h,_,$],R.push(r,T[1],Q,z,f,N),E.push(r,T[1],Q,z,f,N,n,w(n),o,w(o),l,w(l),d,w(d));const W={xmin:u,ymin:h,xmax:_,ymax:$,pixelsParCm:20,scale:1,mainlevee:!1},Z={xmin:u,ymin:h,xmax:_,ymax:$,pixelsParCm:20,scale:1};B+=Y(W,R),g+=Y(Z,E),H.isHtml&&(g+="<br>",g+=`<button class="ui mini compact button" style="margin:10px" onclick="document.getElementById('anim${m}A').beginElement()"><i class="redo circle icon"></i>axial symmetry </button>`,g+=`<button class="ui mini compact button" style="margin:10px" onclick="document.getElementById('anim${m}B').beginElement()"><i class="redo circle icon"></i>central symmetry </button>`,g+=`<button class="ui mini compact button" style="margin:10px" onclick="document.getElementById('anim${m}C').beginElement()"><i class="redo circle icon"></i>translation</button>`,g+=`<button class="ui mini compact button" style="margin:10px" onclick="document.getElementById('anim${m}D').beginElement()"><i class="redo circle icon"></i>rotation</button>`,g+=e.html(m)),this.listeQuestions.push(B),this.listeCorrections.push(g),_t(this)}}export{ft as default,xt as ref,Ct as titre,Pt as uuid};
//# sourceMappingURL=4G15-csLM7oat.js.map