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/can5C23-pLODjfLx.js.map
{"version":3,"file":"can5C23-pLODjfLx.js","sources":["../../src/exercices/can/5e/can5C23.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { texteEnCouleur } from '../../../lib/outils/embellissements'\nimport { arrondi } from '../../../lib/outils/nombres.js'\nimport { texNombre } from '../../../lib/outils/texNombre.js'\nimport { randint } from '../../../modules/outils.js'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Multiplier par 1,5 ou 2,5 ou ...'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\nexport const dateDePublication = '08/12/2022'\n/*!\n * @author  Gilles Mora\n *\n *\n */\n\nexport const uuid = 'cb5d5'\nexport const ref = 'can5C23'\nexport default function MultiplierPar () {\n  Exercice.call(this)\n  this.nbQuestions = 1\n  this.formatChampTexte = 'largeur15 inline'\n  this.typeExercice = 'simple'\n  this.tailleDiaporama = 2\n  this.nouvelleVersion = function () {\n    const a = randint(6, 29, [10, 20, 30])\n    const b = choice([15, 25, 35, 45, 55]) / 10\n\n    this.question = `Calculer $${a}\\\\times ${texNombre(b, 1)}$.`\n    this.correction = `$${a}\\\\times ${texNombre(b, 1)}=${texNombre(a * b, 1)}$`\n    this.reponse = arrondi(a * b, 1)\n    this.correction += texteEnCouleur(`\n    <br> Mentalement : <br>\n    $${a}\\\\times ${texNombre(b, 1)}=${a}\\\\times ${Math.floor(b)}+\\\\underbrace{${a}\\\\times 0,5}_{\\\\text{La moitié de }${a}}\n    =${a * Math.floor(b)}+${texNombre(a / 2, 1)}=${texNombre(this.reponse, 1)}$  `)\n    this.canEnonce = this.question// 'Compléter'\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","dateDePublication","uuid","ref","MultiplierPar","Exercice","a","randint","b","choice","texNombre","arrondi","texteEnCouleur"],"mappings":"4EAMY,MAACA,EAAQ,mCACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SACVC,EAAoB,aACjC;AAAA;AAAA;AAAA;AAAA,GAMY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAAiB,CACvCC,EAAS,KAAK,IAAI,EAClB,KAAK,YAAc,EACnB,KAAK,iBAAmB,mBACxB,KAAK,aAAe,SACpB,KAAK,gBAAkB,EACvB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAQ,EAAG,GAAI,CAAC,GAAI,GAAI,EAAE,CAAC,EAC/BC,EAAIC,EAAO,CAAC,GAAI,GAAI,GAAI,GAAI,EAAE,CAAC,EAAI,GAEzC,KAAK,SAAW,aAAaH,CAAC,WAAWI,EAAUF,EAAG,CAAC,CAAC,KACxD,KAAK,WAAa,IAAIF,CAAC,WAAWI,EAAUF,EAAG,CAAC,CAAC,IAAIE,EAAUJ,EAAIE,EAAG,CAAC,CAAC,IACxE,KAAK,QAAUG,EAAQL,EAAIE,EAAG,CAAC,EAC/B,KAAK,YAAcI,EAAe;AAAA;AAAA,OAE/BN,CAAC,WAAWI,EAAUF,EAAG,CAAC,CAAC,IAAIF,CAAC,WAAW,KAAK,MAAME,CAAC,CAAC,iBAAiBF,CAAC,sCAAsCA,CAAC;AAAA,OACjHA,EAAI,KAAK,MAAME,CAAC,CAAC,IAAIE,EAAUJ,EAAI,EAAG,CAAC,CAAC,IAAII,EAAU,KAAK,QAAS,CAAC,CAAC,KAAK,EAC9E,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}