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/can3L02-KAm_fPHX.js.map
{"version":3,"file":"can3L02-KAm_fPHX.js","sources":["../../src/exercices/can/3e/can3L02.js"],"sourcesContent":["import { deprecatedTexFraction } from '../../../lib/outils/deprecatedFractions.js'\nimport { ecritureAlgebrique } from '../../../lib/outils/ecritures'\nimport { randint } from '../../../modules/outils.js'\nimport Exercice from '../../deprecatedExercice.js'\nexport const titre = 'Résoudre une équation du type $ax+b=0$'\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 can3L02\n*/\nexport const uuid = '9419f'\nexport const ref = 'can3L02'\nexport default function EquationAXPlusBEgalZero () {\n  Exercice.call(this)\n  this.typeExercice = 'simple'\n  this.nbQuestions = 1\n  this.tailleDiaporama = 2\n  this.formatChampTexte = 'largeur15 inline'\n  this.nouvelleVersion = function () {\n    const a = randint(-5, 5, [0, -1, 1])\n    this.reponse = randint(-9, 9, [-1, 0, 1])\n    const b = -a * this.reponse\n    this.question = `Donner la solution de l'équation :<br> $${a}x${ecritureAlgebrique(b)}=0$`\n    this.correction = `On procède par étapes successives :<br>\n    On commence par isoler $${a}x$ dans le membre de gauche en ajoutant\n    $${ecritureAlgebrique(-b)}$ dans chacun des membres, puis on divise\n    par $${a}$ pour obtenir la solution : <br>\n     $\\\\begin{aligned}\n     ${a}x${ecritureAlgebrique(b)}&=0\\\\\\\\\n    ${a}x&=${ecritureAlgebrique(-b)}\\\\\\\\\n    x&=${deprecatedTexFraction(-b, a)}\\\\\\\\\n    x&=${this.reponse}\n    \\\\end{aligned}$\n   `\n    this.canEnonce = this.question// 'Compléter'\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","EquationAXPlusBEgalZero","Exercice","a","randint","b","ecritureAlgebrique","deprecatedTexFraction"],"mappings":"4GAIY,MAACA,EAAQ,yCACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SAEvB;AAAA;AAAA;AAAA;AAAA,EAKY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAA2B,CACjDC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAQ,GAAI,EAAG,CAAC,EAAG,GAAI,CAAC,CAAC,EACnC,KAAK,QAAUA,EAAQ,GAAI,EAAG,CAAC,GAAI,EAAG,CAAC,CAAC,EACxC,MAAMC,EAAI,CAACF,EAAI,KAAK,QACpB,KAAK,SAAW,2CAA2CA,CAAC,IAAIG,EAAmBD,CAAC,CAAC,MACrF,KAAK,WAAa;AAAA,8BACQF,CAAC;AAAA,OACxBG,EAAmB,CAACD,CAAC,CAAC;AAAA,WAClBF,CAAC;AAAA;AAAA,OAELA,CAAC,IAAIG,EAAmBD,CAAC,CAAC;AAAA,MAC3BF,CAAC,MAAMG,EAAmB,CAACD,CAAC,CAAC;AAAA,SAC1BE,EAAsB,CAACF,EAAGF,CAAC,CAAC;AAAA,SAC5B,KAAK,OAAO;AAAA;AAAA,KAGjB,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}