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/betaModele50_Mathsteps-R754GnC7.js
import{E as $,aj as x,c9 as l,l as d}from"./index-hc8lvKav.js";import{a as s,r as i,d as o,c as a}from"./outilsMathjs-xT2xkmdd.js";import"./create-Sl_9VLhK.js";const m="Nom de l'exercice",E="25/10/2021",S="24/10/2021";class v extends ${constructor(){super(),this.titre=m,this.consigne="Consigne",this.nbQuestions=6,this.nbCols=2,this.nbColsCorr=2,this.video=""}nouvelleVersion(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];const u=x(["type1","type2","type3","type4","type5","type6"],this.nbQuestions);for(let r=0,e={},n=0;r<this.nbQuestions&&n<50;){switch(u[r]){case"type1":{const t=s({a:!1,b:!1});e=a("(a*x+b)^2",{variables:t,name:"A"}),e.texte=`Développer puis réduire l'expression suivante : $${e.name}=${e.printExpression}$`,e.texteCorr=this.correctionDetaillee?"<br>"+e.texteCorr:`$${e.name}=${e.printResult}$`;break}case"type2":{const t=s({a:!1,b:!1,c:!1});e=a("a/2*(b/3+c/8)",{variables:t,substeps:!0}),e.texte=`Calculer : $${e.printExpression}$`,e.texteCorr=this.correctionDetaillee?"<br>"+e.texteCorr:`$${e.printExpression}=${e.printResult}$`;break}case"type3":{const t=s({a:!0,b:!0,c:!0,d:!1,e:!1,f:!1,disc:"(b/e)^2-4*(a/d)*(c/f)"}),c=o(l("a/d*x^2+b/e*x+c/f",[],t),{suppr1:!0}),p=o(l("(b/e)^2-4*(a/d)*(c/f)",[],t),{suppr1:!0}),b=a("(b/e)^2-4*(a/d)*c/f",{variables:t,comments:!1,mixed:!1,name:"\\Delta"}).texteCorr;e={},e.texteCorr=`$\\Delta = b^2-4ac=${p}=${o(t.disc.toFraction())}$
          <br>
          Calcul détaillé :
          <br>
          ${b}`,e.texte=`Le discriminant de $${c}$ est : `;break}case"type4":{const t=s({a:!0,b:!0});e=i("3*x+a=9*x+b",{variables:t,comment:!0,comments:{CANCEL_MINUSES:"Simplifier l'écriture",SUBTRACT_FROM_BOTH_SIDES:"Enlever {stepChange} à chaque membre.",SIMPLIFY_ARITHMETIC:"",SIMPLIFY_RIGHT_SIDE:"Réduire.",SIMPLIFY_LEFT_SIDE:"Réduire."}}),e.texte=`Résoudre l'équation $${e.equation}$ en détaillant les étapes.`,e.texteCorr=`<br>
          ${e.texteCorr}
          <br>
          La solution de cette équation est donc $${e.solution}$.`}break;case"type5":{const t=s({a:!0,b:!0,test:"a!=b"});e=i("a*x+7=b*x-3",{variables:t,color:"black",comment:!0}),e.texte=`Résoudre : $${e.equation}$`,e.texteCorr=this.correctionDetaillee?"<br>"+e.texteCorr:`La solution est $${e.solution}$`}break;case"type6":{const t=s({a:!0,b:!0,c:!0,d:!0,test:"a!=c"});e=i("a*x+b=c*x+d",{reduceSteps:!1,variables:t,color:"blue",comment:!0}),e.texte=`Résoudre : $${e.equation}$`,e.texteCorr=`
          <br>
          ${e.texteCorr}
          <br>
          La solution est $${e.solution}$.
          <br>
          Vérification :
          <br>
          D'une part : $${e.verifLeftSide.printExpression}=${e.verifLeftSide.printResult}$
          <br>
          D'autre part : $${e.verifRightSide.printExpression}=${e.verifRightSide.printResult}$
          `;break}}this.questionJamaisPosee(r,e.texte)&&(this.listeQuestions.push(e.texte),this.listeCorrections.push(e.texteCorr),r++),n++}d(this)}}export{S as dateDeModifImportante,E as dateDePublication,v as default,m as titre};
//# sourceMappingURL=betaModele50_Mathsteps-R754GnC7.js.map