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/can5C01-w0_ehRr0.js.map
{"version":3,"file":"can5C01-w0_ehRr0.js","sources":["../../src/exercices/can/5e/can5C01.js"],"sourcesContent":["import { texteEnCouleur } from '../../../lib/outils/embellissements'\nimport { calculANePlusJamaisUtiliser, randint } from '../../../modules/outils.js'\nimport Exercice from '../../deprecatedExercice.js'\nexport const titre = 'Calculer un produit d’entiers'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\n\n/*!\n * @author Jean-Claude Lhote\n * Créé pendant l'été 2021\n * Référence can5C01\n */\nexport const uuid = '102f4'\nexport const ref = 'can5C01'\nexport default function ProduitEntiers5e () {\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 b = randint(5, 9)\n    const a = randint(12, 19)\n    this.reponse = calculANePlusJamaisUtiliser(a * b)\n    this.question = `Calculer $${a} \\\\times ${b}$.`\n    this.correction = `$${a} \\\\times ${b}=${a * b}$`\n    this.correction += texteEnCouleur(`<br> Mentalement : <br>\n    On décompose le calcul $${a} \\\\times ${b}$ en  $(10+${a - 10})\\\\times ${b}=10\\\\times ${b} +${a - 10}\\\\times ${b}$.<br>\n       Cela donne :  $${10 * b}+${(a - 10) * b}=${this.reponse}$.\n      `)\n    this.canEnonce = this.question// 'Compléter'\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","ProduitEntiers5e","Exercice","b","randint","a","calculANePlusJamaisUtiliser","texteEnCouleur"],"mappings":"+DAGY,MAACA,EAAQ,gCACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SAEvB;AAAA;AAAA;AAAA;AAAA,GAKY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAAoB,CAC1CC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAQ,EAAG,CAAC,EAChBC,EAAID,EAAQ,GAAI,EAAE,EACxB,KAAK,QAAUE,EAA4BD,EAAIF,CAAC,EAChD,KAAK,SAAW,aAAaE,CAAC,YAAYF,CAAC,KAC3C,KAAK,WAAa,IAAIE,CAAC,YAAYF,CAAC,IAAIE,EAAIF,CAAC,IAC7C,KAAK,YAAcI,EAAe;AAAA,8BACRF,CAAC,YAAYF,CAAC,cAAcE,EAAI,EAAE,YAAYF,CAAC,cAAcA,CAAC,KAAKE,EAAI,EAAE,WAAWF,CAAC;AAAA,wBAC3F,GAAKA,CAAC,KAAKE,EAAI,IAAMF,CAAC,IAAI,KAAK,OAAO;AAAA,OACvD,EACH,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}