File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/can3F04-YlKLebfw.js.map
{"version":3,"file":"can3F04-YlKLebfw.js","sources":["../../src/exercices/can/3e/can3F04.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { randint } from '../../../modules/outils.js'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Calculer un antécédent par une fonction linéaire'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\nexport const dateDeModifImportante = '13/10/2022'\n/*!\n/*!\n * @author Jean-Claude Lhote\n * Créé pendant l'été 2021\n * Référence can3C04\n*/\nexport const uuid = '4b600'\nexport const ref = 'can3F04'\nexport default function CalculAntecedentLineaire () {\n Exercice.call(this)\n this.nbQuestions = 1\n this.formatChampTexte = 'largeur15 inline'\n this.typeExercice = 'simple'\n this.tailleDiaporama = 2\n this.nouvelleVersion = function () {\n let nomF, x, n, m\n switch (choice([1, 2])) {\n case 1:\n x = randint(-10, 10, [-1, 0, 1])\n m = randint(-9, 9, [-1, 0, 1])\n nomF = choice(['f', 'g', 'h', 'u', 'v', 'w', 'p', 'm', 't', 'k'])\n this.question = `Soit $${nomF}$ la fonction définie par : $${nomF}(x)=${m}x$.<br>\n \n Quel est l'antécédent de $${m * x}$ par la fonction $${nomF}$ ?`\n this.correction = `$${nomF}(x)=${m}x$. <br>\n \n L'antécédent de $${m * x}$ est le nombre $x$ qui a pour image $${m * x}$. On cherche donc $x$ tel que : <br>\n \n $${m}x=${m * x}$<br> soit $x=\\\\dfrac{${m * x}}{${m}}=${x}$.`\n this.reponse = x\n break\n case 2:\n x = randint(-10, 10, [-1, 0, 1])\n n = choice([2, 3, 5])\n m = randint(2, 6, [n, n * 2, n * 3])\n nomF = choice(['f', 'g', 'h', 'u', 'v', 'w', 'p', 'm', 't', 'k'])\n this.question = `Soit $${nomF}$ la fonction définie par : $${nomF}(x)=\\\\dfrac{${m}}{${n}}x$.<br>\n \n Quel est l'antécédent de $${m * x}$ par la fonction $${nomF}$ ?`\n this.correction = `$${nomF}(x)=\\\\dfrac{${m}}{${n}}x$. <br>\n \n L'antécédent de $${m * x}$ est le nombre $x$ qui a pour image $${m * x}$. On cherche donc $x$ tel que : <br>\n \n $\\\\dfrac{${m}}{${n}}x=${m * x}$<br> soit $x=${m * x}\\\\times \\\\dfrac{${n}}{${m}}=${x * n}$.`\n this.reponse = n * x\n break\n }\n this.canEnonce = this.question\n this.canReponseACompleter = ''\n }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","dateDeModifImportante","uuid","ref","CalculAntecedentLineaire","Exercice","nomF","x","m","choice","randint"],"mappings":"sDAGY,MAACA,EAAQ,mDACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SACVC,EAAwB,aACrC;AAAA;AAAA;AAAA;AAAA;AAAA,EAMY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAA4B,CAClDC,EAAS,KAAK,IAAI,EAClB,KAAK,YAAc,EACnB,KAAK,iBAAmB,mBACxB,KAAK,aAAe,SACpB,KAAK,gBAAkB,EACvB,KAAK,gBAAkB,UAAY,CACjC,IAAIC,EAAMC,EAAG,EAAGC,EAChB,OAAQC,EAAO,CAAC,EAAG,CAAC,CAAC,EAAC,CACpB,IAAK,GACHF,EAAIG,EAAQ,IAAK,GAAI,CAAC,GAAI,EAAG,CAAC,CAAC,EAC/BF,EAAIE,EAAQ,GAAI,EAAG,CAAC,GAAI,EAAG,CAAC,CAAC,EAC7BJ,EAAOG,EAAO,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,GAAG,CAAC,EAChE,KAAK,SAAW,SAASH,CAAI,gCAAgCA,CAAI,OAAOE,CAAC;AAAA;AAAA,qCAE5CA,EAAID,CAAC,sBAAsBD,CAAI,MAC5D,KAAK,WAAa,IAAIA,CAAI,OAAOE,CAAC;AAAA;AAAA,2BAEfA,EAAID,CAAC,yCAAyCC,EAA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