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/can5C03-e3ylUSvU.js.map
{"version":3,"file":"can5C03-e3ylUSvU.js","sources":["../../src/exercices/can/5e/can5C03.js"],"sourcesContent":["import { texteEnCouleur } from '../../../lib/outils/embellissements'\nimport { calculANePlusJamaisUtiliser, randint } from '../../../modules/outils.js'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Calculer une différence 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 can5C03\n */\nexport const uuid = '62e1f'\nexport const ref = 'can5C03'\nexport default function DifferenceEntiers5e () {\n  Exercice.call(this)\n  this.nbQuestions = 1\n  this.tailleDiaporama = 2\n  this.typeExercice = 'simple'\n  this.formatChampTexte = 'largeur15 inline'\n  this.nouvelleVersion = function () {\n    const b = randint(41, 69, [50, 60])\n    const a = randint(2, 30) + 100\n    this.reponse = calculANePlusJamaisUtiliser(a - b)\n    this.question = `Calculer $${a} - ${b}$.`\n    this.correction = `$${a} - ${b}=${a - b}$`\n    this.correction += texteEnCouleur(`<br> Mentalement : <br>\n    On décompose le calcul $${a} - ${b}$ en  $(100+${a - 100})- ${b}$.<br>\n    On obtient : <br>\n    \n    $\\\\begin{aligned}\n    \\\\underbrace{100-${b}}_{${100 - b}}+${a - 100}&=${100 - b}+${a - 100}\\\\\\\\\n    &=${a - b}\n    \\\\end{aligned}$<br>\n       Cela donne :  $${a} - ${b}=${a - b}$.\n      `)\n    this.canEnonce = this.question// 'Compléter'\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","DifferenceEntiers5e","Exercice","b","randint","a","calculANePlusJamaisUtiliser","texteEnCouleur"],"mappings":"+DAGY,MAACA,EAAQ,oCACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SAEvB;AAAA;AAAA;AAAA;AAAA,GAKY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAAuB,CAC7CC,EAAS,KAAK,IAAI,EAClB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,aAAe,SACpB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAQ,GAAI,GAAI,CAAC,GAAI,EAAE,CAAC,EAC5BC,EAAID,EAAQ,EAAG,EAAE,EAAI,IAC3B,KAAK,QAAUE,EAA4BD,EAAIF,CAAC,EAChD,KAAK,SAAW,aAAaE,CAAC,MAAMF,CAAC,KACrC,KAAK,WAAa,IAAIE,CAAC,MAAMF,CAAC,IAAIE,EAAIF,CAAC,IACvC,KAAK,YAAcI,EAAe;AAAA,8BACRF,CAAC,MAAMF,CAAC,eAAeE,EAAI,GAAG,MAAMF,CAAC;AAAA;AAAA;AAAA;AAAA,uBAI5CA,CAAC,MAAM,IAAMA,CAAC,KAAKE,EAAI,GAAG,KAAK,IAAMF,CAAC,IAAIE,EAAI,GAAG;AAAA,QAChEA,EAAIF,CAAC;AAAA;AAAA,wBAEWE,CAAC,MAAMF,CAAC,IAAIE,EAAIF,CAAC;AAAA,OAClC,EACH,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}