File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/can3L01-tezQpcYn.js.map
{"version":3,"file":"can3L01-tezQpcYn.js","sources":["../../src/exercices/can/3e/can3L01.js"],"sourcesContent":["import { deprecatedTexFraction } from '../../../lib/outils/deprecatedFractions.js'\nimport { randint } from '../../../modules/outils.js'\nimport Exercice from '../../deprecatedExercice.js'\nexport const titre = 'Résoudre une équation du type $ax=b$'\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 can3L01\n*/\nexport const uuid = 'ac10f'\nexport const ref = 'can3L01'\nexport default function EquationAXEgalB () {\n Exercice.call(this)\n this.typeExercice = 'simple'\n this.formatChampTexte = 'largeur15 inline'\n this.nbQuestions = 1\n this.tailleDiaporama = 2\n this.nouvelleVersion = function () {\n const a = randint(-9, 9, [0, -1, 1]) // b peut être négatif, ça sera une équation du type x-b=c\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=${b}$`\n this.correction = `On cherche le nombre qui multiplié par $${a}$ donne $${b}$.<br>\n Il s'agit de $x=${deprecatedTexFraction(b, a)}=${this.reponse}$`\n this.canEnonce = this.question// 'Compléter'\n this.canReponseACompleter = ''\n }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","EquationAXEgalB","Exercice","a","randint","b","deprecatedTexFraction"],"mappings":"qGAGY,MAACA,EAAQ,uCACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SAEvB;AAAA;AAAA;AAAA;AAAA,EAKY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAAmB,CACzCC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,iBAAmB,mBACxB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,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,EAAIF,EAAI,KAAK,QACnB,KAAK,SAAW,2CAA2CA,CAAC,KAAKE,CAAC,IAClE,KAAK,WAAa,2CAA2CF,CAAC,YAAYE,CAAC;AAAA,uBACxDC,EAAsBD,EAAGF,CAAC,CAAC,IAAI,KAAK,OAAO,IAC9D,KAAK,UAAY,KAAK,SACtB,KAAK,qBAAuB,EAC7B,CACH"}