File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/canc3C01-e41cFRBo.js.map
{"version":3,"file":"canc3C01-e41cFRBo.js","sources":["../../src/exercices/can/c3/canc3C01.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Déterminer un nombre à partir d’une phrase'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\n\n/*!\n * @author Jean-Claude Lhote\n * Date de publication septembre 2021\n * Référence canc3C01\n */\nexport const uuid = '385b7'\nexport const ref = 'canc3C01'\nexport default function CalculsAutomatiques () {\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 a = choice([50, 100, 40, 10, 20, 60, 200, 1000, 500])\n if (choice([true, false])) {\n switch (choice([1, 2, 3])) {\n case 1:\n this.reponse = a << 1\n this.question = `Calculer le double de $${a}$. `\n this.correction = `$${a}\\\\times 2 = ${a << 1}$`\n break\n case 2:\n this.reponse = a * 3\n this.question = `Calculer le triple de $${a}$.`\n this.correction = `$${a}\\\\times 3 = ${a * 3}$`\n break\n case 3:\n this.reponse = a * 10\n this.question = `Quel est le nombre dix fois plus grand que $${a}$ ? `\n this.correction = `$${a}\\\\times 10 = ${a * 10}$`\n break\n }\n } else {\n this.question = `Calculer la moitié de $${a}$.`\n this.reponse = a >> 1\n this.correction = `$${a}\\\\div 2 = ${a >> 1}$`\n }\n this.canEnonce = this.question\n this.canReponseACompleter = ''\n }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","CalculsAutomatiques","Exercice","a","choice"],"mappings":"+CAEY,MAACA,EAAQ,6CACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SAEvB;AAAA;AAAA;AAAA;AAAA,GAKY,MAACC,EAAO,QACPC,EAAM,WACJ,SAASC,GAAuB,CAC7CC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAO,CAAC,GAAI,IAAK,GAAI,GAAI,GAAI,GAAI,IAAK,IAAM,GAAG,CAAC,EAC1D,GAAIA,EAAO,CAAC,GAAM,EAAK,CAAC,EACtB,OAAQA,EAAO,CAAC,EAAG,EAAG,CAAC,CAAC,EAAC,CACvB,IAAK,GACH,KAAK,QAAUD,GAAK,EACpB,KAAK,SAAW,0BAA0BA,CAAC,MAC3C,KAAK,WAAa,IAAIA,CAAC,eAAeA,GAAK,CAAC,IAC5C,MACF,IAAK,GACH,KAAK,QAAUA,EAAI,EACnB,KAAK,SAAW,0BAA0BA,CAAC,KAC3C,KAAK,WAAa,IAAIA,CAAC,eAAeA,EAAI,CAAC,IAC3C,MACF,IAAK,GACH,KAAK,QAAUA,EAAI,GACnB,KAAK,SAAW,+CAA+CA,CAAC,OAChE,KAAK,WAAa,IAAIA,CAAC,gBAAgBA,EAAI,EAAE,IAC7C,KACH,MAED,KAAK,SAAW,0BAA0BA,CAAC,KAC3C,KAAK,QAAUA,GAAK,EACpB,KAAK,WAAa,IAAIA,CAAC,aAAaA,GAAK,CAAC,IAE5C,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}