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/5G20-1-2RG2GvMI.js
import{E as y,c as C,k1 as S,h as A,aj as Q,ay as T,r,aL as u,w as i,l as D}from"./index-XCg2QAX4.js";import{l as v}from"./message-nJyRkpoH.js";import{a as E}from"./modales-zNa05bdf.js";import{T as b}from"./Triangle-1uP0ZINz.js";const U="25/07/2023",V="Use triangle vocabulary",J="c3781",O="5G20-1";function z(){y.call(this),this.consigne="Give the nature of the triangles by justifying.",this.sup=1,this.sup2=!1,this.nbCols=1,this.nbColsCorr=1,this.classe===6?this.sup===1?this.nbQuestions=4:this.nbQuestions=5:this.classe===5&&(this.nbQuestions=5),this.classe=5,this.listePackages="bclogo";let d;this.nouvelleVersion=function(q){let $="";C.isHtml?(this.classe===6?($+="- A <b>any triangle</b> is a triangle that has no particular relationship between its angles or its sides.",$+="<br>",$+="- An <b>isosceles triangle</b> is a triangle that has two sides of the same length.",$+="<br>",$+="- An <b>equilateral triangle</b> is a triangle that has three sides of equal length.",$+="<br>",$+="- A <b>right triangle</b> is a triangle that has a right angle."):this.classe===5&&($+="- A <b>any triangle</b> is a triangle that has no particular relationship between its angles or its sides.",$+="<br>",$+="- An <b>isosceles triangle</b> is a triangle that has two sides or two angles of the same measure.",$+="<br>",$+="- An <b>equilateral triangle</b> is a triangle that has three sides or three angles of equal measure.",$+="<br>",$+="- A <b>right triangle</b> is a triangle that has a right angle."),this.boutonAide=E(q,'<i class="info circle icon"></i> Some definitions',$,"Help","info circle")):(this.classe===6?$=S(["- A \\textbf{any triangle} is a triangle that has no particular relationship between its angles or its sides.","- An \\textbf{isosceles triangle} is a triangle that has two sides of the same length.","- An \\textbf{equilateral triangle} is a triangle that has three sides of equal length.","- A \\textbf{right triangle} is a triangle that has a right angle."],1):this.classe===5&&($=S(["- A \\textbf{any triangle} is a triangle that has no particular relationship between its angles or its sides.","- An \\textbf{isosceles triangle} is a triangle that has two sides or two angles of the same measure.","- An \\textbf{equilateral triangle} is a triangle that has three sides or three angles of equal measure.","- A \\textbf{right triangle} is a triangle that has a right angle."],1)),this.introduction=v({titre:"Some definitions",texte:$,couleur:"numbers"})),this.classe===6?this.sup===1?d=[1,3,5,7]:this.sup===2&&(d=[1,4,6,8,9]):this.classe===5&&(d=[A([1,2]),A([3,4,10]),A([5,6,11]),7,A([8,9])]);const k=Q(d,this.nbQuestions);this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];for(let L=0,a,n,l,m,p,N,M,c,w=0;L<this.nbQuestions&&w<50;){const g=new b,t=new b,s=new b,o=new b,e=new b;let h,f,x;switch(this.sup2?(h=T(r(1,9)/10*r(0,1)),f=T(r(1,9)/10*r(0,1)),x=T(r(1,9)/10*r(0,1))):(h=0,f=0,x=0),k[L]){case 1:for(;!g.isTrueTriangleLongueurs();)l=r(2,20),m=r(2,20,l),p=r(2,20,[l,m]),g.l1=l+h,g.l2=m+f,g.l3=p+x;a=`${g.getNom()} is a triangle such that ${g.getLongueurs()[0]} $= ${i(g.l1)}$ cm;`,a+=`${g.getLongueurs()[1]} $= ${i(g.l2)}$ cm and ${g.getLongueurs()[2]} $= ${i(g.l3)}$ cm.`,n=`The 3 sides of triangle ${g.getNom()} are different and we have no information about the angles so ${g.getNom()} is a triangle ${u("any")}.`;break;case 2:for(;!g.isTrueTriangleAngles();)N=r(30,100),M=r(30,100,N),c=r(30,100,[N,M]),g.a1=N,g.a2=M,g.a3=c;a=`${g.getNom()} is a triangle such that ${g.getAngles()[0]} $= ${g.a1}\\degree$;`,a+=` ${g.getAngles()[1]} $= ${g.a2}\\degree$ and ${g.getAngles()[2]} $= ${g.a3}\\degree$ .`,n=`The 3 angles of triangle ${g.getNom()} are different so ${g.getNom()} is a triangle ${u("any")}.`;break;case 3:for(;!t.isTrueTriangleLongueurs();)l=r(2,20),m=r(2,20,l),t.l1=l+h,t.l2=l+h,t.l3=m+f;a=`${t.getNom()} is a triangle such that ${t.getLongueurs()[0]} $= ${i(t.l1)}$ cm;`,a+=`${t.getLongueurs()[1]} $= ${i(t.l2)}$ cm and ${t.getLongueurs()[2]} $= ${i(t.l3)}$ cm.`,n=`The lengths of the sides ${t.getCotes()[0]} and ${t.getCotes()[1]} of the triangle ${t.getNom()} are both $${i(t.l1)}$ cm so ${t.getNom()} is a triangle ${u("isosceles")} in ${t.getSommets()[1]}.`;break;case 4:for(;!t.isTrueTriangleLongueurs();)l=r(2,20),m=r(2,20,l),t.l1=l+h,t.l2=l+h,t.l3=m+f;a=`${t.getNom()} is a triangle such that ${t.getLongueurs()[0]} $= ${t.l1*10}$ mm;`,a+=`${t.getLongueurs()[1]} $= ${i(t.l2)}$ cm and ${t.getLongueurs()[2]} $= ${i(t.l3)}$ cm.`,n=`${t.getLongueurs()[0]} $= ${i(t.l1*10)}$ mm $= ${i(t.l1)}$ cm = ${t.getLongueurs()[1]}, ${t.getNom()} therefore has two equal sides, it is a triangle ${u("isosceles")} in ${t.getSommets()[1]}.`;break;case 5:for(;!s.isTrueTriangleLongueurs();)l=r(2,20),s.l1=l+h,s.l2=l+h,s.l3=l+h;a=`${s.getNom()} is a triangle such that ${s.getLongueurs()[0]} $= ${i(s.l1)}$ cm;`,a+=`${s.getLongueurs()[1]} $= ${i(s.l2)}$ cm and ${s.getLongueurs()[2]} $= ${i(s.l3)}$ cm.`,n=`The lengths of the three sides of the triangle ${s.getNom()} are equal so it is a triangle ${u("equilateral")}.`;break;case 6:for(;!s.isTrueTriangleLongueurs();)l=r(2,20),s.l1=l+h,s.l2=l+h,s.l3=l+h;a=`${s.getNom()} is a triangle such that ${s.getLongueurs()[0]} $= ${i(s.l1)}$ cm;`,a+=`${s.getLongueurs()[1]} $= ${i(s.l2*10)}$ mm and ${s.getLongueurs()[2]} $= ${i(s.l3/10)}$ dm.`,n=`${s.getLongueurs()[1]} $= ${i(s.l2*10)}$ mm $= ${s.l2}$ cm.`,n+=`<br> ${s.getLongueurs()[2]} $= ${i(s.l3/10)}$ dm $= ${i(s.l3)}$ cm.`,n+=`<br> ${s.getLongueurs()[0]} $= ${i(s.l1)}$ cm.`,n+=`<br> The lengths of the three sides of the triangle ${s.getNom()} are equal so it is a triangle ${u("equilateral")}.`;break;case 7:l=r(2,20),o.l1=l+h,o.l2=r(2,20,l)+f,o.a1=90,a=`${o.getNom()} is a triangle such that ${o.getLongueurs()[0]} $= ${i(o.l1)}$ cm;`,a+=`${o.getLongueurs()[1]} $= ${i(o.l2)}$ cm`,a+="And",this.classe===6?(a+=` which has a right angle in ${o.getSommets()[1]}.`,n=`The triangle ${o.getNom()} has a right angle in ${o.getSommets()[1]} so ${o.getNom()} is ${u("rectangle")} in ${o.getSommets()[1]}.`):(a+=`${o.getAngles()[0]} $= ${o.a1}\\degree$.`,n=`The angle ${o.getAngles()[0]} of the triangle ${o.getNom()} is a right angle so ${o.getNom()} is ${u("rectangle")} in ${o.getSommets()[1]}.`);break;case 8:l=r(2,20),e.l1=l+h,e.l2=e.l1,e.a1=90,a=`${e.getNom()} is a triangle such that ${e.getLongueurs()[0]}$= ${i(e.l1)}$ cm;`,a+=`${e.getLongueurs()[1]} $= ${i(e.l2)}$ cm`,a+="And",this.classe===6?(a+=`which has a right angle in ${e.getSommets()[1]}.`,n=`The triangle ${e.getNom()} has a right angle in ${e.getSommets()[1]} so ${e.getNom()} is right angle in ${e.getSommets()[1]}.`,n+=`<br> ${e.getLongueurs()[0]} $=$ ${e.getLongueurs()[1]} $= ${i(e.l1)}$ cm so ${e.getNom()} is isosceles in ${e.getSommets()[1]}.`,n+=`<br> The triangle ${e.getNom()} is therefore ${u("isosceles")} and ${u("rectangle")} in ${e.getSommets()[1]}.`):(a+=`${e.getAngles()[0]} $= ${e.a1}\\degree$.`,n=`The angle ${e.getAngles()[0]} of the triangle ${e.getNom()} is a right angle so ${e.getNom()} is a rectangle in ${e.getSommets()[1]}.`,n+=`<br> ${e.getLongueurs()[0]} $=$ ${e.getLongueurs()[1]} $= ${e.l1}$ cm so ${e.getNom()} is isosceles in ${e.getSommets()[1]}.`,n+=`<br> The triangle ${e.getNom()} is therefore ${u("isosceles")} and ${u("rectangle")} in ${e.getSommets()[1]}.`);break;case 9:e.l1=r(2,20)+h,e.l2=e.l1,e.a1=90,a=`${e.getNom()} is a triangle such that ${e.getLongueurs()[0]} $= ${i(e.l1*10)}$ mm;`,a+=`${e.getLongueurs()[1]} $= ${i(e.l2)}$ cm`,a+=" And",this.classe===6?(a+=`which has a right angle in ${e.getSommets()[1]}.`,n=`The triangle ${e.getNom()} has a right angle in ${e.getSommets()[1]} so ${e.getNom()} is right angle in ${e.getSommets()[1]}.`,n+=`<br> ${e.getLongueurs()[0]} $= ${e.l1*10}$ mm $= ${i(e.l1)}$ cm =${e.getLongueurs()[1]} therefore ${e.getNom()} is isosceles in ${e.getSommets()[1]}.`,n+=`<br> The triangle ${e.getNom()} is therefore ${u("isosceles")} and ${u("rectangle")} in ${e.getSommets()[1]}.`):(a+=`${e.getAngles()[0]} $= ${e.a1}\\degree$.`,n=`The angle ${e.getAngles()[0]} of the triangle ${e.getNom()} is a right angle so ${e.getNom()} is a rectangle in ${e.getSommets()[1]}.`,n+=`<br> ${e.getLongueurs()[0]} $= ${i(e.l1*10)}$ mm $= ${i(e.l1)}$ cm =${e.getLongueurs()[1]} therefore ${e.getNom()} is isosceles in ${e.getSommets()[1]}.`,n+=`<br> The triangle ${e.getNom()} is therefore ${u("isosceles")} and ${u("rectangle")} in ${e.getSommets()[1]}.`);break;case 10:for(c=-1;c<0;)t.a1=r(30,100),t.a2=t.a1,c=180-2*t.a1,t.a3=c;a=`${t.getNom()} is a triangle such that ${t.getAngles()[0]} $= ${t.a1}\\degree$;`,a+=` ${t.getAngles()[1]} $= ${t.a2}\\degree$ and ${t.getAngles()[2]} $= ${t.a3}\\degree$ .`,n=`Triangle ${t.getNom()} has two equal angles, ${t.getAngles()[0]} = ${t.getAngles()[1]} $= ${t.a1}\\degree$ so ${t.getNom()} is a triangle ${u("isosceles")} in ${t.getSommets()[0]}.`;break;case 11:s.a1=60,s.a2=60,s.a3=60,a=`${s.getNom()} is a triangle such that ${s.getAngles()[0]} $= ${s.a1}\\degree$;`,a+=` ${s.getAngles()[1]} $= ${s.a2}\\degree$ and ${s.getAngles()[2]} $= ${s.a3}\\degree$.`,n=`The triangle ${s.getNom()} has three equal angles, ${s.getAngles()[0]} = ${s.getAngles()[1]} = ${s.getAngles()[2]} $= ${s.a1}\\degree$ so ${s.getNom()} is a triangle ${u("equilateral")}.`;break}this.listeQuestions.indexOf(a)===-1&&(this.listeQuestions.push(a),this.listeCorrections.push(n),L++),w++}D(this)},this.classe===6&&(this.besoinFormulaireNumerique=["Difficulty level",2,`1: Without length conversion
2: With length conversions`]),this.besoinFormulaire2CaseACocher=["With decimals",!1]}export{U as dateDeModifImportante,z as default,O as ref,V as titre,J as uuid};
//# sourceMappingURL=5G20-1-2RG2GvMI.js.map