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/can4P01-LPHqmwRM.js.map
{"version":3,"file":"can4P01-LPHqmwRM.js","sources":["../../src/exercices/can/4e/can4P01.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { texteEnCouleur } from '../../../lib/outils/embellissements'\nimport { calculANePlusJamaisUtiliser, randint } from '../../../modules/outils.js'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Résoudre un problème de robinets'\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 can4P01\n */\nexport const uuid = '8767b'\nexport const ref = 'can4P01'\nexport default function ProblemesDeRobinets () {\n  Exercice.call(this)\n  this.typeExercice = 'simple'\n  this.formatChampTexte = 'largeur25 inline'\n  this.nbQuestions = 1\n  this.tailleDiaporama = 2\n  this.nouvelleVersion = function () {\n    const a = choice([2, 3, 4, 5, 6, 10]) // nombre de secondes pour remplir un litre\n    const b = calculANePlusJamaisUtiliser(60 / a) // nombres de litres/min\n    const c = randint(2, b - 1) % 10 // volume du seau à remplir\n    this.reponse = calculANePlusJamaisUtiliser(c * a)\n    this.question = `Le débit d'eau d'un robinet est de $${b}$ L/min.<br>\n    \n    Combien de secondes faut-il pour remplir un seau de $${c}$ L ?`\n    this.correction = `Il faut $${a * c}$ s pour remplir le seau de $${c}$ L.`\n    this.correction += texteEnCouleur(`<br> Mentalement : <br>\n    On commence par déterminer le temps en seconde (puisque dans la question,\n       il est demandé un temps en seconde) qu'il faut pour remplir $1$ L.<br>\n    Comme le débit est de  $${b}$ L\n    pour une minute soit $60$ secondes, on divise $60$ par $${b}$ pour obtenir\n    ce temps :  $\\\\dfrac{60}{${b}}=${a}$ s.<br>\n    Puisqu'il faut $${a}$ s pour remplir un litre, il en faut $${c}$ fois plus pour remplir un seau de\n    $${c}$ L, soit $${a}\\\\times ${c}=${a * c}$ s.`)\n    this.canEnonce = this.question// 'Compléter'\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","ProblemesDeRobinets","Exercice","a","choice","b","calculANePlusJamaisUtiliser","c","randint","texteEnCouleur"],"mappings":"sEAIY,MAACA,EAAQ,mCACRC,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,aAAe,SACpB,KAAK,iBAAmB,mBACxB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAO,CAAC,EAAG,EAAG,EAAG,EAAG,EAAG,EAAE,CAAC,EAC9BC,EAAIC,EAA4B,GAAKH,CAAC,EACtCI,EAAIC,EAAQ,EAAGH,EAAI,CAAC,EAAI,GAC9B,KAAK,QAAUC,EAA4BC,EAAIJ,CAAC,EAChD,KAAK,SAAW,uCAAuCE,CAAC;AAAA;AAAA,2DAEDE,CAAC,QACxD,KAAK,WAAa,YAAYJ,EAAII,CAAC,gCAAgCA,CAAC,OACpE,KAAK,YAAcE,EAAe;AAAA;AAAA;AAAA,8BAGRJ,CAAC;AAAA,8DAC+BA,CAAC;AAAA,+BAChCA,CAAC,KAAKF,CAAC;AAAA,sBAChBA,CAAC,0CAA0CI,CAAC;AAAA,OAC3DA,CAAC,cAAcJ,CAAC,WAAWI,CAAC,IAAIJ,EAAII,CAAC,MAAM,EAC9C,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}