File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/5L10-2-bNvEnEae.js.map
{"version":3,"file":"5L10-2-bNvEnEae.js","sources":["../../src/exercices/5e/5L10-2.js"],"sourcesContent":["import { combinaisonListes } from '../../lib/outils/arrayOutils'\nimport { ecritureParentheseSiNegatif } from '../../lib/outils/ecritures'\nimport { propositionsQcm } from '../../lib/interactif/qcm.js'\nimport { listeQuestionsToContenu, randint, itemize } from '../../modules/outils.js'\nimport Exercice from '../deprecatedExercice.js'\nimport { context } from '../../modules/context.js'\nexport const amcReady = true\nexport const amcType = 'qcmMono'\nexport const interactifReady = true\nexport const interactifType = 'qcm'\n\nexport const titre = 'Translate a calculation program using a literal expression'\n\nexport const dateDeModifImportante = '15/10/2022' // Ajout du programme équivalent dans la correction\n\n/**\n* Traduire un programme de calcul par une expression littérale de la forme ax+b après simplification\n* @author Rémi Angot\n* 5L10-2\n* Ajout de la possibilité d'afficher un résultat qui n'est pas développé par Guillaume Valmont le 11/05/2022\n*/\nexport const uuid = '12bb6'\nexport const ref = '5L10-2'\nexport default function TraduireUnProgrammeDeCalcul () {\n Exercice.call(this) // Héritage de la classe Exercice()\n this.titre = titre\n this.consigne = ''\n this.nbQuestions = 2\n this.nbCols = 1\n this.nbColsCorr = 1\n this.spacingCorr = 1\n this.spacing = 1\n this.interactif = false\n this.interactifReady = interactifReady\n this.interactifType = interactifType\n this.amcType = amcType\n this.amcReady = amcReady\n\n this.besoinFormulaireCaseACocher = ['Developed result']\n this.sup = true\n\n this.nouvelleVersion = function () {\n this.listeQuestions = [] // Liste de questions\n this.listeCorrections = [] // Liste de questions corrigées\n this.autoCorrection = []\n\n const typeDeQuestionsDisponibles = [1, 2, 3, 4, 5, 6]\n const listeTypeDeQuestions = combinaisonListes(typeDeQuestionsDisponibles, this.nbQuestions) // Tous les types de questions sont posées mais l'ordre diffère à chaque 'cycle'\n\n for (let i = 0, texte, texteCorr, cpt = 0; i < this.nbQuestions && cpt < 50;) {\n const a = randint(4, 11)\n const b = randint(2, 11)\n const c = randint(2, 11)\n const d = randint(2, 5)\n // The equivalent program is of the form Ax + B\n let A\n let B\n switch (listeTypeDeQuestions[i]) {\n case 1: // (x+a)*b+c\n texte = 'Here is a calculation program: \\n'\n texte += itemize([`Adds ${a}`, `Multiply by ${b}`, `Adds ${c}`])\n texte += 'If we write $x$ as the starting number, what is the result of the calculation program?'\n texteCorr = `$x\\\\xrightarrow{+${a}} x+${a}\\\\xrightarrow{\\\\times ${b}}(x+${a})\\\\times ${b}`\n if (this.sup) texteCorr += `=${b}x+${a * b}`\n texteCorr += `\\\\xrightarrow{+${c}}`\n this.sup ? texteCorr += `${b}x+${a * b + c}` : texteCorr += `(x+${a})\\\\times ${b} + ${c}`\n texteCorr += '$<br>'\n texteCorr += 'The result of the program is therefore'\n this.sup ? texteCorr += `$${b}x+${a * b + c}$.` : texteCorr += `$(x+${a})\\\\times ${b} + ${c}$.`\n if (this.sup) [A, B] = [b, a * b + c]\n this.autoCorrection[i] = {}\n this.autoCorrection[i].enonce = `${texte}\\n`\n this.autoCorrection[i].propositions = [\n {\n texte: this.sup ? `$${b}x+${a * b + c}$` : `$(x+${a})\\\\times ${b} + ${c}$`,\n statut: true\n },\n {\n texte: `$${b}x+${a + c}$`,\n statut: false\n },\n {\n texte: this.sup ? `$${b}x+${a * c}$` : `$(x+${a})\\\\times ${b + c}$`,\n statut: false\n },\n {\n texte: `$${b * a}x+${c}$`,\n statut: false\n }\n ]\n break\n case 2: // (ax+b)*c\n texte = 'Here is a calculation program: \\n'\n texte += itemize([`Multiply by ${a}`, `Add ${b}`, `Multiply by ${c}`])\n texte += 'If we write $y$ as the starting number, what is the result of the calculation program?'\n texteCorr = `$y\\\\xrightarrow{\\\\times ${a}} ${a}y\\\\xrightarrow{+${b}}${a}y+${b} \\\\xrightarrow{\\\\times ${c}}(${a}y+${b})\\\\times ${c}`\n if (this.sup) texteCorr += `=${a * c}y+${b * c}`\n texteCorr += '$<br>'\n texteCorr += 'The result of the program is therefore'\n this.sup ? texteCorr += `$${a * c}y+${b * c}$.` : texteCorr += `$(${a}y+${b})\\\\times ${c}$.`\n if (this.sup) [A, B] = [a * c, b * c]\n this.autoCorrection[i] = {}\n this.autoCorrection[i].enonce = `${texte}\\n`\n this.autoCorrection[i].propositions = [\n {\n texte: this.sup ? `$${a * c}y+${b * c}$` : `$(${a}y+${b})\\\\times ${c}$`,\n statut: true\n },\n {\n texte: `$${a}y+${b * c}$`,\n statut: false\n },\n {\n texte: this.sup ? `$${b * a}y+${c}$` : `$(${c}y + ${b}) \\\\times ${a}$`,\n statut: false\n },\n {\n texte: `$${b}y+${a * c}$`,\n statut: false\n }\n ]\n break\n case 3: // ax+b-2x\n texte = 'Here is a calculation program: \\n'\n texte += itemize([`Multiplies by ${a}`, `Adds ${b}`, 'Remove double the starting number'])\n texte += 'If we write $a$ as the starting number, what is the result of the calculation program?'\n texteCorr = `$a\\\\xrightarrow{\\\\times ${a}} ${a}a\\\\xrightarrow{+${b}}${a}a+${b} \\\\xrightarrow{-2a}${a}a+${b}-2a=${a - 2}a+${b}$`\n texteCorr += '<br>'\n texteCorr += `The result of the program is therefore $${a - 2}a+${b}$.`\n if (this.sup) [A, B] = [a - 2, b]\n this.autoCorrection[i] = {}\n this.autoCorrection[i].enonce = `${texte}\\n`\n this.autoCorrection[i].propositions = [\n {\n texte: `$${a - 2}a+${b}$`,\n statut: true\n },\n {\n texte: this.sup ? `$${a + b - 2}a$` : `$(${a}a + ${b}) \\\\times 2$`,\n statut: false\n },\n {\n texte: `$${a}a+${b - 2}$`,\n statut: false\n },\n {\n texte: this.sup ? `$${a + b}-2a$` : `$(2a + ${b}) \\\\times ${a}$`,\n statut: false\n }\n ]\n break\n case 4: // ax+b+3x\n texte = 'Here is a calculation program: \\n'\n texte += itemize([`Multiplies by ${a}`, `Adds ${b}`, 'Add triple the starting number'])\n texte += 'If we write $t$ as the starting number, what is the result of the calculation program?'\n texteCorr = `$t\\\\xrightarrow{\\\\times ${a}} ${a}t\\\\xrightarrow{+${b}}${a}t+${b} \\\\xrightarrow{+3t}${a}t+${b}+3t=${a + 3}t+${b}$`\n texteCorr += '<br>'\n texteCorr += `The result of the program is therefore $${a + 3}t+${b}$.`\n if (this.sup) [A, B] = [a + 3, b]\n this.autoCorrection[i] = {}\n this.autoCorrection[i].enonce = `${texte}\\n`\n this.autoCorrection[i].propositions = [\n {\n texte: `$${a + 3}t+${b}$`,\n statut: true\n },\n {\n texte: `$${a + b + 3}t$`,\n statut: false\n },\n {\n texte: this.sup ? `$${a + b}t+3t$` : `$(${a}t + ${b}) \\\\times 3$`,\n statut: false\n },\n {\n texte: this.sup ? `$${a + b}t-3t$` : `$(3t + ${b}) \\\\times ${a}$`,\n statut: false\n }\n ]\n break\n case 5: // (ax+b)*c-d\n texte = 'Here is a calculation program: \\n'\n texte += itemize([`Multiply by ${a}`, `Add ${b}`, `Multiply by ${c}`, `Remove ${d}`])\n texte += 'If we write $x$ as the starting number, what is the result of the calculation program?'\n texteCorr = `$x\\\\xrightarrow{\\\\times ${a}} ${a}x\\\\xrightarrow{+${b}}${a}x+${b} \\\\xrightarrow{\\\\times ${c}}(${a}x+${b})\\\\times ${c}`\n if (this.sup) texteCorr += `=${a * c}x+${b * c}`\n texteCorr += `\\\\xrightarrow{-${d}}`\n this.sup ? texteCorr += `${a * c}x+${b * c - d}` : texteCorr += `(${a}x+${b})\\\\times ${c} - ${d}`\n texteCorr += '$<br>'\n texteCorr += 'The result of the program is therefore'\n this.sup ? texteCorr += `$${a * c}x+${b * c - d}$.` : texteCorr += `$(${a}x+${b})\\\\times ${c} - ${d}$.`\n if (this.sup) [A, B] = [a * c, b * c - d]\n this.autoCorrection[i] = {}\n this.autoCorrection[i].enonce = `${texte}\\n`\n this.autoCorrection[i].propositions = [\n {\n texte: this.sup ? `$${a * c}x+${b * c - d}$` : `$(${a}x+${b})\\\\times ${c} - ${d}$`,\n statut: true\n },\n {\n texte: `$${a}x+${ecritureParentheseSiNegatif(b * c - d)}$`,\n statut: false\n },\n {\n texte: `$${a + b}x+${ecritureParentheseSiNegatif(c - d)}$`,\n statut: false\n },\n {\n texte: this.sup ? `$${a + b * c}x-${d}$` : `$(${a + b}x - ${d}) \\\\times ${c}$`,\n statut: false\n }\n ]\n break\n case 6: // (ax+b)*c+x\n texte = 'Here is a calculation program: \\n'\n texte += itemize([`Multiply by ${a}`, `Add ${b}`, `Multiply by ${c}`, 'Add the starting number'])\n texte += 'If we write $y$ as the starting number, what is the result of the calculation program?'\n texteCorr = `$y\\\\xrightarrow{\\\\times ${a}} ${a}y\\\\xrightarrow{+${b}}${a}y+${b} \\\\xrightarrow{\\\\times ${c}}(${a}y+${b})\\\\times ${c}`\n if (this.sup) texteCorr += `=${a * c}y+${b * c}`\n texteCorr += '\\\\xrightarrow{+y}'\n this.sup ? texteCorr += `${a * c}y+${b * c}+y=${a * c + 1}y+${b * c}` : texteCorr += `(${a}y+${b})\\\\times ${c} + y`\n texteCorr += '$<br>'\n texteCorr += 'The result of the program is therefore'\n this.sup ? texteCorr += `$${a * c + 1}y+${b * c}$.` : texteCorr += `$(${a}y+${b})\\\\times ${c} + y$.`\n if (this.sup) [A, B] = [a * c + 1, b * c]\n this.autoCorrection[i] = {}\n this.autoCorrection[i].enonce = `${texte}\\n`\n this.autoCorrection[i].propositions = [\n {\n texte: this.sup ? `$${a * c + 1}y+${b * c}$` : `$(${a}y+${b})\\\\times ${c} + y$`,\n statut: true\n },\n {\n texte: `$${a + 1}y+${b * c}$`,\n statut: false\n },\n {\n texte: this.sup ? `$${a}y+${c}$` : `$(${a}y+${b})\\\\times ${c}$`,\n statut: false\n },\n {\n texte: `$${a + b + c + 1}y$`,\n statut: false\n }\n ]\n break\n }\n if (this.interactif) {\n texte += propositionsQcm(this, i).texte\n }\n\n if (this.sup) {\n texteCorr += '<br><br>The calculation program is equivalent to:'\n texteCorr += itemize([`Multiply by $${A}$`, `${(B > 0) ? 'Add' : 'To remove'} $${Math.abs(B)}$`])\n }\n\n if (this.listeQuestions.indexOf(texte) === -1) { // Si la question n'a jamais été posée, on en créé une autre\n if (context.vue === 'diap') {\n texte = texte.replace(', what is the result of the calculation program?', ',<br> what is the result of this program?')\n }\n if (!context.isHtml && i === 0) { texte = '\\\\setlength\\\\itemsep{1em}' + texte } // espacement entre les questions\n this.listeQuestions.push(texte)\n this.listeCorrections.push(texteCorr)\n i++\n }\n cpt++\n }\n listeQuestionsToContenu(this)\n }\n}\n"],"names":["amcReady","amcType","interactifReady","interactifType","titre","dateDeModifImportante","uuid","ref","TraduireUnProgrammeDeCalcul","Exercice","listeTypeDeQuestions","combinaisonListes","i","texte","texteCorr","cpt","a","randint","b","c","d","A","B","itemize","ecritureParentheseSiNegatif","propositionsQcm","context","listeQuestionsToContenu"],"mappings":"2FAMY,MAACA,EAAW,GACXC,EAAU,UACVC,EAAkB,GAClBC,EAAiB,MAEjBC,EAAQ,6DAERC,EAAwB,aAQxBC,EAAO,QACPC,EAAM,SACJ,SAASC,GAA+B,CACrDC,EAAS,KAAK,IAAI,EAClB,KAAK,MAAQL,EACb,KAAK,SAAW,GAChB,KAAK,YAAc,EACnB,KAAK,OAAS,EACd,KAAK,WAAa,EAClB,KAAK,YAAc,EACnB,KAAK,QAAU,EACf,KAAK,WAAa,GAClB,KAAK,gBAAkBF,EACvB,KAAK,eAAiBC,EACtB,KAAK,QAAUF,EACf,KAAK,SAAWD,EAEhB,KAAK,4BAA8B,CAAC,kBAAkB,EACtD,KAAK,IAAM,GAEX,KAAK,gBAAkB,UAAY,CACjC,KAAK,eAAiB,CAAE,EACxB,KAAK,iBAAmB,CAAE,EAC1B,KAAK,eAAiB,CAAE,EAGxB,MAAMU,EAAuBC,EADM,CAAC,EAAG,EAAG,EAAG,EAAG,EAAG,CAAC,EACuB,KAAK,WAAW,EAE3F,QAASC,EAAI,EAAGC,EAAOC,EAAWC,EAAM,EAAGH,EAAI,KAAK,aAAeG,EAAM,IAAK,CAC5E,MAAMC,EAAIC,EAAQ,EAAG,EAAE,EACjBC,E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