File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/6M20-LvBiFl6B.js
import{E as B,c as M,ai as v,aO as L,q as N,aM as F,aj as G,aF as I,r as D,aH as P,ay as R,kr as J,ap as _,C as A,aD as k,G as p,L as E,o as H,w as U,s as V,bq as W,W as j,a as z,l as K}from"./index-XCg2QAX4.js";const X="Calculate the area of triangles",Y=!0,Z="mathLive",ee=!0,te="AMCNum",ie="12/04/2023",ne="06b1a",ae="6M20";function oe(){B.call(this),this.interactifReady=Y,this.interactifType=Z,this.amcReady=ee,this.amcType=te,this.titre=X,this.spacing=2,M.isHtml?this.spacingCorr=3:this.spacingCorr=2,this.nbQuestions=3,this.nbCols=1,this.nbColsCorr=1,this.sup=3,this.correctionDetailleeDisponible=!0,this.correctionDetaillee=!1,this.nouvelleVersion=function(){this.listeCorrections=[],this.listeQuestions=[],this.autoCorrection=[];const q=v([5,6,7,8,9]),w=v([3,4,5,6]),o=L(q,this.nbQuestions),r=L(w,this.nbQuestions);let f;const t=N(0,0);let i,s,n,Q,l,u,b;const g=[],x=[];let y,C,d,$;const c=20,h=F(c,"Q.D."),O=this.sup===3?["interior","outside"]:this.sup===1?["interior"]:["outside"],S=G(O,this.nbQuestions);for(let e=0,a,m,T=0;e<this.nbQuestions&&T<50;)g.length=0,x.length=0,t.nom=h[e*4%c],i=I(N(o[e],0),t,D(-60,60),h[(e*4+1)%c]),S[e]==="outside"?b=P(t,i)+D(6,9)/3:b=R(D(6,Math.round(P(t,i)*10-6))/10),f=J(t,i,r[e],b,2),n=f.pied,n.nom=h[(e*4+3)%c],Q=f.triangle,s=Q.listePoints[2],s.nom=h[(e*4+2)%c],l=_(t,n,i,s),u=A(s,n),u.pointilles=2,y=Math.min(t.x,i.x,s.x,n.x)-1.5,C=Math.max(t.x,i.x,s.x,n.x)+1.5,d=Math.min(t.y,i.y,s.y,n.y)-2,$=Math.max(t.y,i.y,s.y,n.y)+1.5,g.push(l[0],l[1],u,k(A(i,t),"",1),p(t,s,"black",.5),p(s,i,"black",.5),p(s,n,"black",.3),E(t,n,s)),x.push(l[0],l[1],u,k(A(i,t),"",1),p(s,n,"black",.3),E(t,n,s)),a=`Calculate the area of triangle ${t.nom}${i.nom}${s.nom}.<br>`,a+=H({xmin:y,xmax:C,ymin:d,ymax:$,pixelsParCm:20,scale:.5,mainlevee:!1},g)+"<br>",this.correctionDetaillee?m=H({xmin:y,xmax:C,ymin:d,ymax:$,pixelsParCm:20,scale:.5,mainlevee:!1},x)+"<br>":m="",m+=`$\\mathcal{A}_{${t.nom}${i.nom}${s.nom}}=\\dfrac{1}{2}\\times ${t.nom}${i.nom}\\times ${n.nom}${s.nom}=\\dfrac{1}{2}\\times${o[e]}~\\text{cm}\\times ${r[e]}~\\text{cm}=${U(R(o[e]*r[e]/2))}~\\text{cm}^2$`,V(this,e,new W(j(o[e]*r[e]/2,3),"cm^2"),{formatInteractif:"units"}),a+=z(this,e,"largeur25 inline nospacebefore units[aires]",{texteAvant:`Area of the ${t.nom}${i.nom}${s.nom} triangle:`}),M.isAmc&&(this.autoCorrection[e]={enonce:a+`<br>Area of ${t.nom}${i.nom}${s.nom} in cm$^2$:`,propositions:[{texte:m}],reponse:{valeur:[j(o[e]*r[e]/2)],param:{signe:!1,decimals:1,approx:0}}}),this.questionJamaisPosee(e,a)&&(this.listeQuestions.push(a),this.listeCorrections.push(m),e++),T++;K(this)},this.besoinFormulaireNumerique=["Type of triangles",4,`1: Only triangles without an obtuse angle
2: Only triangles with an obtuse angle
3: Combination`]}export{ee as amcReady,te as amcType,ie as dateDeModifImportante,oe as default,Y as interactifReady,Z as interactifType,ae as ref,X as titre,ne as uuid};
//# sourceMappingURL=6M20-LvBiFl6B.js.map