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/betaProblemeAge--sEBCxk9.js.map
{"version":3,"file":"betaProblemeAge--sEBCxk9.js","sources":["../../src/exercices/beta/betaProblemeAge.js"],"sourcesContent":["import { choice } from '../../lib/outils/arrayOutils'\nimport Exercice from '../Exercice'\nexport const titre = 'Problème : produit de 3 âges'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\n\nexport const dateDePublication = '20/11/2022'\n\n/**\n * @author Rémi Angot\n * Référence\n*/\nexport default class NomExercice extends Exercice {\n  constructor () {\n    super()\n    this.typeExercice = 'simple'\n    this.nbQuestions = 1\n  }\n\n  nouvelleVersion () {\n    const nbPremiers = [2, 3, 5, 7, 11, 13, 17]\n    let a = choice(nbPremiers)\n    let b = choice(nbPremiers)\n    let c = choice(nbPremiers, a)\n    ;[a, b, c] = [a, b, c].sort((a, b) => a - b)\n    this.question = `Trois sœurs sont dans une maison. Le produit de leurs âges est égal à $${a * b * c}$. Deux d'entre elles peuvent être jumelles. Quel est l'âge de l'aînée ?`\n    this.correction = `On peut utiliser la décomposition en produit de facteurs premiers : $${a * b * c} = ${a} \\\\times ${b} \\\\times ${c}$.`\n    this.correction += `<br><br>Il n'y a qu'un seul produit de trois facteurs égal à $${a * b * c}$ donc l'aînée a ${c} ans.`\n    this.reponse = c\n  }\n}\n"],"names":["titre","interactifReady","interactifType","dateDePublication","NomExercice","Exercice","nbPremiers","a","choice","b","c"],"mappings":"mFAEY,MAACA,EAAQ,+BACRC,EAAkB,GAClBC,EAAiB,WAEjBC,EAAoB,aAMlB,MAAMC,UAAoBC,CAAS,CAChD,aAAe,CACb,MAAO,EACP,KAAK,aAAe,SACpB,KAAK,YAAc,CACpB,CAED,iBAAmB,CACjB,MAAMC,EAAa,CAAC,EAAG,EAAG,EAAG,EAAG,GAAI,GAAI,EAAE,EAC1C,IAAIC,EAAIC,EAAOF,CAAU,EACrBG,EAAID,EAAOF,CAAU,EACrBI,EAAIF,EAAOF,EAAYC,CAAC,EAC3B,CAACA,EAAGE,EAAGC,CAAC,EAAI,CAACH,EAAGE,EAAGC,CAAC,EAAE,KAAK,CAACH,EAAGE,IAAMF,EAAIE,CAAC,EAC3C,KAAK,SAAW,0EAA0EF,EAAIE,EAAIC,CAAC,2EACnG,KAAK,WAAa,wEAAwEH,EAAIE,EAAIC,CAAC,MAAMH,CAAC,YAAYE,CAAC,YAAYC,CAAC,KACpI,KAAK,YAAc,iEAAiEH,EAAIE,EAAIC,CAAC,oBAAoBA,CAAC,QAClH,KAAK,QAAUA,CAChB,CACH"}