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/can6C21-9jP_eCMg.js.map
{"version":3,"file":"can6C21-9jP_eCMg.js","sources":["../../src/exercices/can/6e/can6C21.js"],"sourcesContent":["import { texteEnCouleur } from '../../../lib/outils/embellissements'\nimport { texNombre } from '../../../lib/outils/texNombre.js'\nimport { calculANePlusJamaisUtiliser, randint } from '../../../modules/outils.js'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Trouver le complément à 1*'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\n/*!\n * @author Jean-Claude Lhote & Gilles Mora\n * Créé pendant l'été 2021\n * Référence can6C21\n */\nexport const uuid = '89135'\nexport const ref = 'can6C21'\nexport default function ComplementAUn () {\n  Exercice.call(this)\n  this.nbQuestions = 1\n  this.tailleDiaporama = 2\n  this.formatChampTexte = 'largeur15 inline'\n  this.typeExercice = 'simple'\n\n  this.nouvelleVersion = function () {\n    const a = calculANePlusJamaisUtiliser(randint(1, 9) / 10 + randint(1, 9) / 100)\n    this.question = `Calculer $1-${texNombre(a)}$.`\n    this.correction = `$1-${texNombre(a)}=${texNombre(1 - a)}$`\n    this.correction += texteEnCouleur(`\n    <br> Mentalement : <br>\n    $1$ unité = $100$ centièmes.<br>\n    On enlève $${texNombre(100 * a)}$ centièmes à $100$ centièmes, il en reste $${texNombre(100 * (1 - a))}$.<br>\n    Ainsi, $1-${texNombre(a)}=${texNombre(1 - a)}$.  `)\n    this.reponse = calculANePlusJamaisUtiliser(1 - a)\n    this.canEnonce = this.question\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","ComplementAUn","Exercice","a","calculANePlusJamaisUtiliser","randint","texNombre","texteEnCouleur"],"mappings":"sEAIY,MAACA,EAAQ,6BACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SACvB;AAAA;AAAA;AAAA;AAAA,GAKY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAAiB,CACvCC,EAAS,KAAK,IAAI,EAClB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBACxB,KAAK,aAAe,SAEpB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAA4BC,EAAQ,EAAG,CAAC,EAAI,GAAKA,EAAQ,EAAG,CAAC,EAAI,GAAG,EAC9E,KAAK,SAAW,eAAeC,EAAUH,CAAC,CAAC,KAC3C,KAAK,WAAa,MAAMG,EAAUH,CAAC,CAAC,IAAIG,EAAU,EAAIH,CAAC,CAAC,IACxD,KAAK,YAAcI,EAAe;AAAA;AAAA;AAAA,iBAGrBD,EAAU,IAAMH,CAAC,CAAC,+CAA+CG,EAAU,KAAO,EAAIH,EAAE,CAAC;AAAA,gBAC1FG,EAAUH,CAAC,CAAC,IAAIG,EAAU,EAAIH,CAAC,CAAC,MAAM,EAClD,KAAK,QAAUC,EAA4B,EAAID,CAAC,EAChD,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}