File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/2N41-6-Pa0ACTBu.js.map
{"version":3,"file":"2N41-6-Pa0ACTBu.js","sources":["../../src/exercices/2e/2N41-6.js"],"sourcesContent":["import { choice } from '../../lib/outils/arrayOutils'\nimport FractionEtendue from '../../modules/FractionEtendue.js'\nimport Exercice from '../Exercice.js'\nimport { listeQuestionsToContenu, randint, gestionnaireFormulaireTexte } from '../../modules/outils.js'\nimport { remplisLesBlancs } from '../../lib/interactif/questionMathLive.js'\nimport { context } from '../../modules/context.js'\nimport { setReponse } from '../../lib/interactif/gestionInteractif.js'\nimport { developpementCompare } from '../../lib/interactif/mathLive.js'\nimport { fraction } from '../../modules/fractions.js'\n\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const titre = 'Développer avec les identités remarquables'\nexport const dateDeModifImportante = '26/04/2023' // Correction par Rémi Angot avec ajout des réponses pour les case 4 à 8\n\n/**\n * Développer avec les 3 identités remarquables\n * @author Jean-Claude Lhote\n * 2N41-6, ex 2L10\n */\nexport const uuid = '04b0a'\nexport const ref = '2N41-6'\nexport default function DevelopperIdentitesRemarquables2 () {\n Exercice.call(this) // Héritage de la classe Exercice()\n this.titre = titre\n this.consigne = 'Développer et réduire les expressions suivantes.'\n this.nbCols = 1\n this.nbColsCorr = 1\n this.spacing = 1\n this.spacingCorr = 1\n this.nbQuestions = 5\n this.sup = 4\n this.sup2 = 4\n this.interactifReady = interactifReady\n this.interactifType = interactifType\n this.correctionDetailleeDisponible = true\n context.isHtml ? (this.spacingCorr = 3) : (this.spacingCorr = 2)\n if (!context.isHtml) {\n this.correctionDetaillee = false\n }\n this.nouvelleVersion = function () {\n this.sup = parseInt(this.sup)\n this.listeQuestions = [] // Liste de questions\n this.listeCorrections = [] // Liste de questions corrigées\n const listeFractions = [\n [1, 2],\n [1, 3],\n [2, 3],\n [1, 4],\n [3, 4],\n [1, 5],\n [2, 5],\n [3, 5],\n [4, 5],\n [1, 6],\n [5, 6],\n [1, 7],\n [2, 7],\n [3, 7],\n [4, 7],\n [5, 7],\n [6, 7],\n [1, 8],\n [3, 8],\n [5, 8],\n [7, 8],\n [1, 9],\n [2, 9],\n [4, 9],\n [5, 9],\n [7, 9],\n [8, 9],\n [1, 10],\n [3, 10],\n [7, 10],\n [9, 10]\n ]\n\n const listeTypeDeQuestions = gestionnaireFormulaireTexte({\n nbQuestions: this.nbQuestions,\n saisie: this.sup2,\n max: 3,\n melange: 4,\n defaut: 1\n })\n\n // let typesDeQuestionsDisponibles = []\n // if (this.sup === 1) {\n // typesDeQuestionsDisponibles = [1, 2, 3] // coef de x = 1\n // } else if (this.sup === 2) {\n // typesDeQuestionsDisponibles = [4, 5, 6] // coef de x > 1\n // } else if (this.sup === 3) {\n // typesDeQuestionsDisponibles = [7, 8, 9] // coef de x fractionnaire\n // } else {\n // typesDeQuestionsDisponibles = [1, 2, 3, 4, 5, 6]\n // } // Tous les cas possibles sauf fractions\n // const listeTypeDeQuestions = combinaisonListes(typesDeQuestionsDisponibles, this.nbQuestions)\n\n for (let k = 0; k < listeTypeDeQuestions.length; k++) {\n if (listeTypeDeQuestions[k] === 1) {\n // (a+b)²\n if (this.sup === 1) {\n listeTypeDeQuestions[k] = 1\n } else if (this.sup === 2) {\n listeTypeDeQuestions[k] = 4\n } else if (this.sup === 3) {\n listeTypeDeQuestions[k] = 7\n } else {\n listeTypeDeQuestions[k] = choice([1, 4])\n } // Tous les cas possibles sauf fractions\n } else if (listeTypeDeQuestions[k] === 2) {\n // (a-b)²\n if (this.sup === 1) {\n listeTypeDeQuestions[k] = 2\n } else if (this.sup === 2) {\n listeTypeDeQuestions[k] = 5\n } else if (this.sup === 3) {\n listeTypeDeQuestions[k] = 8\n } else {\n listeTypeDeQuestions[k] = choice([2, 5])\n } // Tous les cas possibles sauf fractions\n } else if (listeTypeDeQuestions[k] === 3) {\n // (a-b)(a+b)\n if (this.sup === 1) {\n listeTypeDeQuestions[k] = 3\n } else if (this.sup === 2) {\n listeTypeDeQuestions[k] = 6\n } else if (this.sup === 3) {\n listeTypeDeQuestions[k] = 9\n } else {\n listeTypeDeQuestions[k] = choice([3, 6])\n } // Tous les cas possibles sauf fractions\n }\n }\n\n for (let i = 0, texte, texteCorr, cpt = 0, a, b, typesDeQuestions; i < this.nbQuestions && cpt < 50;) {\n typesDeQuestions = listeTypeDeQuestions[i]\n b = randint(2, 9)\n a = randint(1, 9, [b])\n const uneFraction = choice(listeFractions)\n const ns = uneFraction[0]\n const ds = uneFraction[1]\n const frac = fraction(ns, ds).texFraction\n const frac2 = fraction(ns * ns, ds * ds).texFraction\n const dblProdFrac = fraction(ns * 2 * a, ds).simplifie().texFraction\n texteCorr = ''\n switch (typesDeQuestions) {\n case 1:\n texte = `$(x+${a})^2$` // (x+a)²\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a+b)^2=a^2+2ab+b^2$, <br> avec $\\\\color{red} a = x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n texteCorr += `$\\\\left(\\\\color{red}x\\\\color{black}+\\\\color{green}${a}\\\\color{black}\\\\right)^2=\\\\color{red}x\\\\color{black}^2+2 \\\\times \\\\color{red}x \\\\color{black}\\\\times \\\\color{green}${a} \\\\color{black}+ \\\\color{green}${a}\\\\color{black}^2$ <br>`\n texteCorr += `$\\\\phantom{\\\\left(\\\\color{red}x\\\\color{black}+\\\\color{green}${a}\\\\color{black}\\\\right)^2} = x^2+${2 * a}x+${a * a}$`\n } else {\n texteCorr += `$(x+${a})^2=x^2+${2 * a}x+${a * a}$`\n }\n setReponse(this, i, { reponse: { value: `x^2+${2 * a}x+${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 2:\n texte = `$(x-${a})^2$` // (x-a)²\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a-b)^2=a^2-2ab+b^2$, <br> avec $\\\\color{red} a = x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$(x-${a})^2=x^2-2 \\\\times ${a} \\\\times x+${a}^2=x^2-${2 * a}x+${a * a}$`\n setReponse(this, i, { reponse: { value: `x^2-${2 * a}x+${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 3:\n texte = `$(x-${a})(x+${a})$` // (x-a)(x+a)\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a+b)(a-b)=a^2-b^2$, <br> avec $\\\\color{red} a = x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$(x-${a})(x+${a})=x^2-${a}^2=x^2-${a * a}$`\n setReponse(this, i, { reponse: { value: `x^2-${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 4:\n texte = `$(${b}x+${a})^2$` // (bx+a)² b>1\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a+b)^2=a^2+2ab+b^2$, <br> avec $\\\\color{red} a = ${b}x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$(${b}x+${a})^2=(${b}x)^2+2 \\\\times ${b}x \\\\times ${a} + ${a}^2=${b * b}x^2+${2 * b * a}x+${a * a}$`\n setReponse(this, i, { reponse: { value: `${b * b}x^2+${2 * b * a}x+${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 5:\n texte = `$(${b}x-${a})^2$` // (bx-a)² b>1\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a-b)^2=a^2-2ab+b^2$, <br> avec $\\\\color{red} a = ${b}x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$(${b}x-${a})^2=(${b}x)^2-2 \\\\times ${b}x \\\\times ${a} + ${a}^2=${b * b}x^2-${2 * b * a}x+${a * a}$`\n setReponse(this, i, { reponse: { value: `${b * b}x^2-${2 * b * a}x+${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 6:\n texte = `$(${b}x-${a})(${b}x+${a})$` // (bx-a)(bx+a) b>1\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a+b)(a-b)=a^2-b^2$, <br> avec $\\\\color{red} a = ${b}x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$(${b}x-${a})(${b}x+${a})=(${b}x)^2-${a}^2=${b * b}x^2-${a * a}$`\n setReponse(this, i, { reponse: { value: `${b * b}x^2-${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 7:\n texte = `$\\\\left(${frac}x+${a}\\\\right)^2$` // (kx+a)² k rationnel\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a+b)^2=a^2+2ab+b^2$, <br> avec $\\\\color{red} a = ${new FractionEtendue(ns, ds).simplifie().texFraction}x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$\\\\left(${frac}x+${a}\\\\right)^2=\\\\left(${frac}x\\\\right)^2+2 \\\\times ${frac}x \\\\times ${a} + ${a}^2=${frac2}x^2+${new FractionEtendue(ns * 2 * a, ds)}x+${a * a}$`\n setReponse(this, i, { reponse: { value: `${frac2}x^2+${dblProdFrac}x+${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 8:\n texte = `$\\\\left(${frac}x-${a}\\\\right)^2$` // (kx-a)² k rationnel\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a-b)^2=a^2-2ab+b^2$, <br> avec $\\\\color{red} a = ${frac}x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$\\\\left(${frac}x-${a}\\\\right)^2=\\\\left(${frac}x\\\\right)^2-2 \\\\times ${frac}x \\\\times ${a} + ${a}^2=${frac2}x^2-${dblProdFrac}x+${a * a}$`\n setReponse(this, i, { reponse: { value: `${frac2}x^2-${dblProdFrac}x+${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n case 9:\n // (bx-a)(bx+a) avec a entier et b rationnel simple\n texte = `$\\\\left(${frac}x-${a}\\\\right)\\\\left(${frac}x+${a}\\\\right)$` // b>1\n if (this.correctionDetaillee) {\n texteCorr += `On développe l'expression en utilisant l'identité remarquable $(a+b)(a-b)=a^2-b^2$, <br> avec $\\\\color{red} a = ${frac}x\\\\color{black}$ et $\\\\color{green} b = ${a} \\\\color{black} $ : <br>`\n }\n texteCorr += `$\\\\left(${frac}x-${a}\\\\right)\\\\left(${frac}x+${a}\\\\right)=\\\\left(${frac}x\\\\right)^2-${a}^2=${frac2}x^2-${a * a}$`\n setReponse(this, i, { reponse: { value: `${frac2}x^2-${a * a}`, compare: developpementCompare } }, { formatInteractif: 'fillInTheBlank' })\n break\n }\n if (this.interactif) texte += remplisLesBlancs(this, i, '=%{reponse}', 'inline', '\\\\ldots\\\\ldots')\n if (this.questionJamaisPosee(i, typesDeQuestions, a)) {\n // Si la question n'a jamais été posée, on en créé une autre\n this.listeQuestions.push(texte)\n this.listeCorrections.push(texteCorr)\n i++\n }\n cpt++\n }\n listeQuestionsToContenu(this)\n }\n this.besoinFormulaireNumerique = ['Niveau de difficulté', 4, '1 : Coefficient de x égal à 1\\n 2 : Coefficient de x supérieur à 1\\n 3 : Coefficient de x rationnel\\n 4 : Mélange des cas 1 et 2']\n\n this.besoinFormulaire2Texte = [\n 'Type de questions', [\n 'Nombres séparés par des tirets',\n '1 : (a+b)²',\n '2 : (a-b)²',\n '3 : (a+b)(a-b)',\n '4 : Mélange'\n ].join('\\n')\n ]\n}\n"],"names":["interactifReady","interactifType","titre","dateDeModifImportante","uuid","ref","DevelopperIdentitesRemarquables2","Exercice","context","listeFractions","listeTypeDeQuestions","gestionnaireFormulaireTexte","k","choice","texte","texteCorr","cpt","a","b","typesDeQuestions","randint","uneFraction","ns","ds","frac","fraction","frac2","dblProdFrac","setReponse","developpementCompare","FractionEtendue","remplisLesBlancs","listeQuestionsToContenu"],"mappings":"iHAUY,MAACA,EAAkB,GAClBC,EAAiB,WACjBC,EAAQ,6CACRC,EAAwB,aAOxBC,EAAO,QACPC,EAAM,SACJ,SAASC,GAAoC,CAC1DC,EAAS,KAAK,IAAI,EAClB,KAAK,MAAQL,EACb,KAAK,SAAW,mDAChB,KAAK,OAAS,EACd,KAAK,WAAa,EAClB,KAAK,QAAU,EACf,KAAK,YAAc,EACnB,KAAK,YAAc,EACnB,KAAK,IAAM,EACX,KAAK,KAAO,EACZ,KAAK,gBAAkBF,EACvB,KAAK,eAAiBC,EACtB,KAAK,8BAAgC,GACrCO,EAAQ,OAAU,KAAK,YAAc,EAAM,KAAK,YAAc,EACzDA,EAAQ,SACX,KAAK,oBAAsB,IAE7B,KAAK,gBAAkB,UAAY,CACjC,KAAK,IAAM,SAAS,KAAK,GAAG,EAC5B,KAAK,eAAiB,CAAE,EACxB,KAAK,iBAAmB,CAAE,EAC1B,MAAMC,EAAiB,CACrB,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,CAAC,EACL,CAAC,EAAG,C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