File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/canc3C08-ZB45dcpV.js.map
{"version":3,"file":"canc3C08-ZB45dcpV.js","sources":["../../src/exercices/can/c3/canc3C08.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { prenomF, prenomM } from '../../../lib/outils/Personne'\nimport { texPrix } from '../../../lib/format/style'\nimport Exercice from '../../deprecatedExercice.js'\nimport { randint } from '../../../modules/outils.js'\nexport const titre = 'Résoudre un problème avec \"de plus\", \"de moins\"*'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\nexport const dateDePublication = '24/07/2022'\n\n/*!\n * @author Gilles Mora\n *\n */\nexport const uuid = '080f9'\nexport const ref = 'canc3C08'\nexport default function PlusOuMoins2 () {\n Exercice.call(this)\n this.typeExercice = 'simple'\n this.nbQuestions = 1\n this.tailleDiaporama = 2\n this.formatChampTexte = 'largeur15 inline'\n this.nouvelleVersion = function () {\n const listeObjets = [\n ['biscuits'], ['billes'], ['bonbons'], ['ballons'], ['vis'], ['clous'], ['bandes dessinées']\n ]\n const listeClubs = [\n ['judo'], ['tennis'], ['tennis de table'], ['musique'], ['théâtre'], ['danse']\n\n ]\n let choix, a, b, r, e, m, somme, prenom1, prenom2, choix1, reponse1, reponse2, clubs, objets, choix2\n switch (choice([1, 2, 3])) { // 1, 2\n case 1:\n choix = choice(['a', 'b', 'c', 'd'])\n if (choix === 'a') { // somme d'argent ensemble avec de plus(1)\n r = randint(4, 7) * 10\n e = randint(1, 3) * 10\n m = r - e\n somme = m + r\n this.reponse = m + r\n prenom1 = prenomF()\n prenom2 = prenomF()\n while (prenom2 === prenom1) {\n prenom2 = prenomF()\n }\n if (choice([true, false])) {\n this.question = ` ${prenom2} dit à ${prenom1} : « J'ai $${texPrix(r)}$ € soit $${texPrix(e)}$ € de plus que toi ».<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ?'\n } else {\n this.question = ` ${prenom2} a $${texPrix(r)}$ €. Elle a $${texPrix(e)}$ € de plus que ${prenom1} ».<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ?'\n }\n this.correction = `${prenom2} a $${texPrix(r)}$ €.<br>${prenom2} a $${texPrix(e)}$ € `\n this.correction += ' de plus '\n this.correction += `que ${prenom1} donc ${prenom1} a $${texPrix(e)}$ € `\n this.correction += ' de moins '\n this.correction += `que ${prenom2}. <br>${prenom1} a donc : $${texPrix(r)}-${texPrix(e)}=${texPrix(m)}$ €.`\n this.correction += `<br>$${texPrix(r)}+${texPrix(m)}= ${texPrix(somme)}$`\n this.correction += `<br>Les deux filles possèdent en tout : $${texPrix(somme)}$ €.`\n if (this.interactif) { this.optionsChampTexte = { texteApres: ' €' } }\n }\n if (choix === 'b') { // somme d'argent ensemble avec de moins(1)\n r = randint(4, 7) * 10\n e = randint(1, 3) * 10\n m = r + e\n somme = m + r\n this.reponse = m + r\n prenom1 = prenomF()\n prenom2 = prenomF()\n while (prenom2 === prenom1) {\n prenom2 = prenomF()\n }\n if (choice([true, false])) {\n this.question = ` ${prenom2} dit à ${prenom1} : « J'ai $${texPrix(r)}$ € soit $${texPrix(e)}$ € de moins que toi ».<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ? '\n } else {\n this.question = ` ${prenom2} a $${texPrix(r)}$ €. Elle a $${texPrix(e)}$ € de moins ${prenom1}.<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ? '\n }\n\n this.correction = `${prenom2} a $${texPrix(r)}$ €.<br>${prenom2} a $${texPrix(e)}$ € `\n this.correction += ' de moins '\n this.correction += `que ${prenom1} signifie que ${prenom1} a $${texPrix(e)}$ € `\n this.correction += ' de plus '\n this.correction += `que ${prenom2}. <br>${prenom1} a donc : $${texPrix(r)} + ${texPrix(e)} = ${texPrix(m)}$ €.`\n this.correction += `<br>$${texPrix(r)} + ${texPrix(m)} = ${texPrix(somme)}$`\n this.correction += `<br>Les deux filles possèdent en tout : $${texPrix(somme)}$ €.`\n if (this.interactif) { this.optionsChampTexte = { texteApres: ' €' } }\n }\n if (choix === 'c') { // somme d'argent ensemble avec de moins(2)\n r = randint(4, 7) * 10\n e = randint(1, 3) * 10\n m = r - e\n somme = m + r\n this.reponse = m + r\n prenom1 = prenomF()\n prenom2 = prenomF()\n while (prenom2 === prenom1) {\n prenom2 = prenomF()\n }\n if (choice([true, false])) {\n this.question = ` ${prenom2} dit à ${prenom1} : « J'ai $${texPrix(r)}$ € et tu as $${texPrix(e)}$ € de moins que moi ».<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ? '\n } else {\n this.question = ` ${prenom2} a $${texPrix(r)}$ €. ${prenom1} a $${texPrix(e)}$ € de moins.<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ? '\n }\n\n this.correction = `${prenom2} a $${texPrix(r)}$ €.<br>${prenom1} a $${texPrix(e)}$ € `\n this.correction += ' de moins '\n this.correction += `que ${prenom2}.`\n this.correction += ` <br>${prenom1} a donc : $${texPrix(r)} -${texPrix(e)} = ${texPrix(m)}$ €.`\n this.correction += `<br>$${texPrix(r)} + ${texPrix(m)} = ${texPrix(somme)}$`\n this.correction += `<br>Les deux filles possèdent en tout : $${texPrix(somme)}$ €.`\n if (this.interactif) { this.optionsChampTexte = { texteApres: ' €' } }\n }\n if (choix === 'd') { // somme d'argent ensemble avec de plus(2)\n r = randint(4, 7) * 10\n e = randint(1, 3) * 10\n m = r + e\n somme = m + r\n this.reponse = m + r\n prenom1 = prenomF()\n prenom2 = prenomF()\n while (prenom2 === prenom1) {\n prenom2 = prenomF()\n }\n if (choice([true, false])) {\n this.question = ` ${prenom2} dit à ${prenom1} : « J'ai $${texPrix(r)}$ € et tu as $${texPrix(e)}$ € de plus que moi ».<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ?'\n } else {\n this.question = ` ${prenom2} a $${texPrix(r)}$ €. ${prenom1} a $${texPrix(e)}$ € de plus.<br>\n \n `\n this.question += 'Combien d\\'argent en tout possèdent les deux filles ? '\n }\n this.correction = `${prenom2} a $${texPrix(r)}$ €.<br>${prenom1} a $${texPrix(e)}$ € `\n this.correction += ' de plus '\n this.correction += `que ${prenom2}. `\n this.correction += ` <br>${prenom1} a donc : $${texPrix(r)}+${texPrix(e)}=${texPrix(m)}$ €.`\n this.correction += `<br>$${texPrix(r)}+${texPrix(m)}= ${texPrix(somme)}$`\n this.correction += `<br>Les deux filles possèdent en tout : $${texPrix(somme)}$ €.`\n if (this.interactif) { this.optionsChampTexte = { texteApres: ' €' } }\n }\n\n break\n case 2:// ensemble, objets\n choix = choice(['a', 'b'])\n if (choix === 'a') {\n choix1 = choice([true, false])\n prenom1 = prenomF()\n prenom2 = prenomM()\n objets = choice(listeObjets)\n a = randint(35, 60)\n b = randint(9, 21, [10, 20])\n\n reponse1 = 2 * a - b\n reponse2 = 2 * a + b\n this.reponse = choix1 ? reponse1 : reponse2\n if (choice([true, false])) {\n this.question = `${prenom1} a $${a}$ ${objets}. Elle en a $${b}$ ${choix1 ? 'de plus' : ' de moins '}\n que ${prenom2}. <br>\n\n Combien en ont-ils ensemble ?`\n } else {\n this.question = `${prenom1} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '} que ${prenom2}. <br>\n \n Sachant que ${prenom1} a $${a}$ ${objets}, combien en ont-ils ensemble ?`\n }\n this.correction = `${prenom1} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '} que ${prenom2} donc ${prenom2} a $${b}$ ${objets} ${choix1 ? 'de moins' : ' de plus '} que ${prenom1}.<br>\n Il a donc (${choix1 ? `$${a}-${b}$` : `$${a}+${b}$`}) ${objets}, soit ${choix1 ? `$${a - b}$` : `$${a + b}$`} ${objets}.<br>\n Ensemble, ils en ont (${choix1 ? `$${a - b}+${a}$` : `$${a + b}+${a}$`}) soit ${choix1 ? `$${reponse1}$` : `$${reponse2}$`}.`\n }\n if (choix === 'b') {\n choix1 = choice([true, false])\n prenom1 = prenomM()\n prenom2 = prenomF()\n objets = choice(listeObjets)\n a = randint(12, 20)\n b = randint(2, 8)\n if (choice([true, false])) {\n reponse1 = 2 * a + b\n reponse2 = 2 * a - b\n this.reponse = choix1 ? reponse2 : reponse1\n if (choice([true, false])) {\n this.question = `${prenom1} a $${a}$ ${objets}. Il a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '}\n que ${prenom2}. <br>\n Combien en ont-ils ensemble ?`\n } else {\n this.question = `${prenom1} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '}\n que ${prenom2}. <br>\n\n Sachant qu'il a $${a}$ ${objets}, combien de ${objets} ont-ils ensemble ?`\n }\n this.correction = `${prenom1} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '} que ${prenom2} donc ${prenom2} a $${b}$ ${objets} ${choix1 ? 'de moins' : ' de plus '} que ${prenom1}.<br>\n Il en a donc (${choix1 ? `$${a}-${b}$` : `$${a}+${b}$`}), soit ${choix1 ? `$${a - b}$` : `$${a + b}$`}.<br>\n Ensemble, ils ont donc (${choix1 ? `$${a - b}+${a}$` : `$${a + b}+${a}$`}), soit ${choix1 ? `$${reponse2}$` : `$${reponse1}$`} ${objets}.\n `\n } else {\n reponse1 = 2 * a + b\n reponse2 = 2 * a - b\n this.reponse = choix1 ? reponse1 : reponse2\n if (choice([true, false])) {\n this.question = `${prenom1} a $${a}$ ${objets}. ${prenom2} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '}\n que lui. <br>\n\n Combien en ont-ils ensemble ?`\n } else {\n this.question = `${prenom2} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '}\n que ${prenom1} qui en a $${a}$. <br>\n\n Combien de ${objets} ont-ils ensemble ?`\n }\n this.correction = `${prenom1} a $${b}$ ${objets} ${choix1 ? 'de plus' : ' de moins '} que ${prenom2}.\n Il en a donc (${choix1 ? `$${a}+${b}$` : `$${a}-${b}$`}), soit ${choix1 ? `$${a + b}$` : `$${a - b}$`}. <br>\n Ensemble, ils ont donc (${choix1 ? `$${a + b}+${a}$` : `$${a - b}+${a}$`}), soit ${choix1 ? `$${reponse1}$` : `$${reponse2}$`} ${objets}.\n `\n }\n }\n if (this.interactif) { this.optionsChampTexte = { texteApres: ` ${objets}` } }\n break\n\n case 3:\n choix = choice(['a', 'b'])\n if (choix === 'a') {\n choix1 = choice([true, false])\n choix2 = choice([true, false])\n prenom1 = prenomF()\n prenom2 = prenomM()\n clubs = choice(listeClubs)\n a = randint(35, 60)\n b = randint(9, 21, [10, 20])\n\n reponse1 = 2 * a + b\n reponse2 = 2 * a - b\n this.reponse = choix1 ? reponse1 : reponse2\n\n this.question = `Dans un club de ${clubs}, il y a $${a}$ ${choix2 ? ' garçons ' : ' filles'}. <br>\n Il y a $${b}$ ${choix2 ? ' filles ' : ' garçons'} ${choix1 ? 'de plus' : ' de moins '}\n que de ${choix2 ? ' garçons ' : ' filles'}. <br>\n\n Combien y a-t-il d'adhérents dans ce club ? `\n\n this.correction = ` Il y a $${b}$ ${choix2 ? ' filles ' : ' garçons'} ${choix1 ? 'de plus' : ' de moins '}\n que de ${choix2 ? ' garçons ' : ' filles'}.<br>\n Il y a donc (${choix1 ? `$${a}+${b}$` : `$${a}-${b}$`}) ${choix2 ? ' filles' : ' garçons'}, soit ${choix1 ? `$${a + b}$` : `$${a - b}$`} ${choix2 ? ' filles ' : ' garçons'}. <br>\n Dans ce club, il y a donc au total (${choix1 ? `$${a + b}+${a}$` : `$${a - b}+${a}$`}) soit ${choix1 ? `$${reponse1}$` : `$${reponse2}$`} adhérents.`\n if (this.interactif) { this.optionsChampTexte = { texteApres: ' adhérents' } }\n }\n if (choix === 'b') {\n choix1 = choice([true, false])\n choix2 = choice([true, false])\n prenom1 = prenomF()\n prenom2 = prenomM()\n clubs = choice(listeClubs)\n a = randint(35, 60)\n b = randint(9, 21, [10, 20])\n\n reponse1 = 2 * a + b\n reponse2 = 2 * a - b\n this.reponse = choix1 ? reponse2 : reponse1\n\n this.question = `Dans un club de ${clubs}, il y a $${a}$ ${choix2 ? ' filles ' : ' garçons'}.<br>\n \n Sachant qu'il y a $${b}$ ${choix2 ? ' filles ' : ' garçons'} ${choix1 ? 'de plus' : ' de moins '} que de ${choix2 ? ' garçons ' : ' filles'}, combien y a-t-il d'adhérents dans ce club ? `\n\n this.correction = ` Il y a $${b}$ ${choix2 ? ' filles ' : ' garçons'} ${choix1 ? 'de plus' : ' de moins '}\n que de ${choix2 ? ' garçons ' : ' filles'}, il y a donc $${b}$ ${choix2 ? ' garçons ' : ' filles'} ${choix1 ? 'de moins' : ' de plus '}\n que de ${choix2 ? ' filles ' : ' garçons'}.<br>\n Il y a (${choix1 ? `$${a}-${b}$` : `$${a}+${b}$`}) ${choix2 ? ' garçons' : ' filles'}, soit ${choix1 ? `$${a - b}$` : `$${a + b}$`} ${choix2 ? ' garçons' : ' filles'} dans ce club.\n <br>Dans ce club, il y a donc au total (${choix1 ? `$${a - b}+${a}$` : `$${a + b}+${a}$`}) soit ${choix1 ? `$${reponse2}$` : `$${reponse1}$`} adhérents.`\n if (this.interactif) { this.optionsChampTexte = { texteApres: ' adhérents' } }\n }\n\n break\n }\n this.canEnonce = this.question\n this.canReponseACompleter = ''\n }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","dateDePublication","uuid","ref","PlusOuMoins2","Exercice","listeObjets","listeClubs","choix","a","b","r","e","m","somme","prenom1","prenom2","choix1","reponse1","reponse2","clubs","objets","choix2","choice","randint","prenomF","texPrix","prenomM"],"mappings":"gJAKY,MAACA,EAAQ,mDACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SACVC,EAAoB,aAEjC;AAAA;AAAA;AAAA,GAIY,MAACC,EAAO,QACPC,EAAM,WACJ,SAASC,GAAgB,CACtCC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAA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