File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/5G42-R6GrENRY.js
import{E as I,aj as N,q as S,aF as T,r as C,aS as k,ap as B,C as b,L as f,I as w,aN as c,o as F,l as G}from"./index-XCg2QAX4.js";import{c as V}from"./aleatoires-C4JUoVmT.js";import"./dateEtHoraires-1H8goc58.js";const W="Determine the nature of parallelograms",M="8812e",R="5G42";function U(){I.call(this),this.titre=W,this.consigne="",this.nbQuestions=7,this.nbCols=1,this.nbColsCorr=1,this.video="",this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];const E=N(["type1","type2","type3","type4","type5","type6","type7"],this.nbQuestions);for(let x=0,n,s,t,a,i,r,q,l,o,$,m,O,j,A,L,y,v,D,g,e,Q,d,h,p,u,P=0;x<this.nbQuestions&&P<50;){switch(e=V(5,"Q"),Q=`$${e[0]+e[1]+e[2]+e[3]}$`,n=[],s=S(0,0,e[4],"above left"),t=T(S(3,0),s,C(0,90),e[0]),a=k(t,s,80+C(0,20),.8+C(1,40)/100,e[1]),i=k(t,s,180,.9+C(1,20)/100,e[2]),r=k(a,s,180,.9+C(1,20)/100,e[3]),q=B(t,a,i,r),O=b(t,a,"blue"),j=b(a,i,"red"),A=b(i,r,"blue"),L=b(r,t,"red"),y=b(t,i),v=b(a,r),n.push(O,j,A,L,q[1]),E[x]){case"type1":u=`its diagonals $[${e[0]+e[2]}]$ and $[${e[1]+e[3]}]$ have the same length`,d="has diagonals of the same length",h=`$${e[0]+e[2]}=${e[1]+e[3]}$`,p="rectangle",o=c("||","red",a,s,s,r),l=c("||","red",t,s,s,i),n.push(l,o,y,v);break;case"type2":u=`its diagonals $[${e[0]+e[2]}]$ and $[${e[1]+e[3]}]$ are perpendicular`,d="has perpendicular diagonals",h=`$[${e[0]+e[2]}]\\perp[${e[1]+e[3]}]$`,p="diamond",l=c("||","red",t,s,s,i),o=f(t,s,r),$=c("|||","blue",a,s,s,r),m=w(s),n.push(l,o,$,m,y,v);break;case"type3":h=`$[${e[0]+e[2]}]\\perp[${e[1]+e[3]}]$ and $${e[0]+e[2]}=${e[1]+e[3]}$`,u=`its diagonals $[${e[0]+e[2]}]$ and $[${e[1]+e[3]}]$ have the same length and are perpendicular`,d="has perpendicular diagonals of the same length",l=c("||","red",t,s,s,i),o=f(t,s,r),$=c("||","red",a,s,s,r),m=w(s),n.push(l,o,$,m,y,v),p="square";break;case"type4":h=`$${e[0]+e[1]}=${e[1]+e[2]}$`,u=`its sides $[${e[0]+e[1]}]$ and $[${e[1]+e[2]}]$ have the same length`,d="has two consecutive sides of the same length",p="diamond",$=c("O","green",t,a,a,i),n.push($);break;case"type5":h=`$[${e[0]+e[1]}]\\perp[${e[1]+e[2]}]$`,u=`its sides $[${e[0]+e[1]}]$ and $[${e[1]+e[2]}]$ are perpendicular`,d="has two consecutive perpendicular sides",$=f(t,a,i),n.push($),p="rectangle";break;case"type6":h=`$[${e[0]+e[1]}]\\perp[${e[1]+e[2]}]$ and $${e[0]+e[1]}=${e[1]+e[2]}$`,u=`its sides $[${e[0]+e[1]}]$ and $[${e[1]+e[2]}]$ are perpendicular and of the same length`,d="has two consecutive perpendicular sides of the same length",o=c("O","green",t,a,a,i),$=f(t,a,i),n.push(o,$),p="square";break;case"type7":h=`$[${e[0]+e[1]}]\\perp[${e[1]+e[2]}]$ and $[${e[0]+e[2]}]\\perp[${e[1]+e[3]}]$`,u=`its sides $[${e[0]+e[1]}]$ and $[${e[1]+e[2]}]$ are perpendicular and its diagonals $[${e[0]+e[2]}]$ and $[${e[1]+e[3]}]$ too`,d="has two consecutive perpendicular sides and perpendicular diagonals",p="square",l=f(t,s,a),o=f(t,a,i),m=w(s),n.push(l,o,m,y,v);break}D=`${Q} is a parallelogram such as ${u}.<br>`,D+=`Determine the nature of ${Q} by justifying the response.`,g="Segments of the same color are parallel in the following diagram:<br>",g+=F({xmin:-5,ymin:-4.5,xmax:5,ymax:4.5,pixelsParCm:20,scale:.5,mainlevee:!0,amplitude:.3},n)+"<br>",g+=`We know that ${h}.<br>`,g+=`If a parallelogram ${d}, then it is a ${p}.<br>`,g+=`${Q} is therefore a ${p}.`,this.listeQuestions.indexOf(D)===-1&&(this.listeQuestions.push(D),this.listeCorrections.push(g),x++),P++}G(this)}}export{U as default,R as ref,W as titre,M as uuid};
//# sourceMappingURL=5G42-R6GrENRY.js.map