File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/4C37-Rre4BQYe.js
import{E as u,aj as $,r as o,p as h,l as p}from"./index-hc8lvKav.js";const l=!0,C="qcmMono",g="Determine the sign of a power",v=!0,x="qcm",m="30/06/2022",b="67432",P="4C37";let y=class extends u{constructor(){super(),this.consigne="Determine the sign of the following expressions.",this.nbQuestions=5,this.nbCols=1,this.nbColsCorr=1,this.interactif=!1,this.interactifReady=v,this.interactifType=x,this.amcType=C,this.amcReady=l}nouvelleVersion(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];let a=["a^n","-a^n","(-a)^n","-(-a)^n"];a=$(a,this.nbQuestions);let e=0,s=0;for(let t=0,i,n,r,c=0;t<this.nbQuestions&&c<50;){switch(a[t]){case"a^n":e=o(2,9),s=o(-9,9,[-1,0,1]),i=`$${e}^{${s}}$`,n=`$${e}^{${s}}$ is positive because $${e}$ is positive.`,this.autoCorrection[t]={},this.autoCorrection[t].enonce=`${i}
`,this.autoCorrection[t].propositions=[{texte:"Positive",statut:!0},{texte:"Negative",statut:!1}];break;case"-a^n":e=o(2,9),s=2*o(1,4),i=`$-${e}^{${s}}$`,n=`$-${e}^{${s}}$ is negative. Please note there are no parentheses around $-${e}$.`,this.autoCorrection[t]={},this.autoCorrection[t].enonce=`${i}
`,this.autoCorrection[t].propositions=[{texte:"Positive",statut:!1},{texte:"Negative",statut:!0}];break;case"(-a)^n":e=o(2,9),s=o(-9,9,[-1,0,1]),i=`$(-${e})^{${s}}$`,s%2===0?(n=`$(-${e})^{${s}}$ is positive because the exponent is even.`,this.autoCorrection[t]={},this.autoCorrection[t].enonce=`${i}
`,this.autoCorrection[t].propositions=[{texte:"Positive",statut:!0},{texte:"Negative",statut:!1}]):(n=`$(-${e})^{${s}}$ is negative because the exponent is odd.`,this.autoCorrection[t]={},this.autoCorrection[t].enonce=`${i}
`,this.autoCorrection[t].propositions=[{texte:"Positive",statut:!1},{texte:"Negative",statut:!0}]);break;case"-(-a)^n":e=o(2,9),s=o(-9,9,[-1,0,1]),i=`$-(-${e})^{${s}}$`,s%2===0?(n=`$-(-${e})^{${s}}$ is negative. The exponent is even so $(-${e})^{${s}}$ is positive and its opposite is negative.`,this.autoCorrection[t]={},this.autoCorrection[t].enonce=`${i}
`,this.autoCorrection[t].propositions=[{texte:"Positive",statut:!1},{texte:"Negative",statut:!0}]):(n=`$-(-${e})^{${s}}$ is positive. The exponent is odd so $(-${e})^{${s}}$ is negative and its opposite is positive.`,this.autoCorrection[t]={},this.autoCorrection[t].enonce=`${i}
`,this.autoCorrection[t].propositions=[{texte:"Positive",statut:!0},{texte:"Negative",statut:!1}]);break}this.autoCorrection[t].options={ordered:!0},r=h(this,t),this.questionJamaisPosee(t,e,s)&&(this.listeQuestions.push(i+r.texte),this.listeCorrections.push(n),this.listeCanReponsesACompleter[t]=r.texte,this.listeCanEnonces[t]="What is the sign of"+i+"?",this.correction=this.listeCorrections[t],t++),c++}p(this)}};export{l as amcReady,C as amcType,m as dateDePublication,y as default,v as interactifReady,x as interactifType,P as ref,g as titre,b as uuid};
//# sourceMappingURL=4C37-Rre4BQYe.js.map