File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/3F10-2-rvx3dvsH.js.map
{"version":3,"file":"3F10-2-rvx3dvsH.js","sources":["../../src/exercices/3e/3F10-2.js"],"sourcesContent":["import { choice, combinaisonListes } from '../../lib/outils/arrayOutils'\nimport { miseEnEvidence } from '../../lib/outils/embellissements'\nimport { ecritureAlgebrique, ecritureParentheseSiNegatif } from '../../lib/outils/ecritures.js'\nimport { nombreDeChiffresDansLaPartieDecimale, nombreDeChiffresDansLaPartieEntiere } from '../../lib/outils/nombres.js'\nimport { sp } from '../../lib/outils/outilString.js'\nimport { texNombre } from '../../lib/outils/texNombre.js'\nimport Exercice from '../Exercice.js'\nimport Decimal from 'decimal.js'\nimport { contraindreValeur, listeQuestionsToContenu, randint } from '../../modules/outils.js'\nimport { ajouteChampTexteMathLive } from '../../lib/interactif/questionMathLive.js'\nimport { context } from '../../modules/context.js'\nimport { setReponse } from '../../lib/interactif/gestionInteractif.js'\n\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\nexport const titre = 'Calculer images (et antécédents) de fonctions'\n\n/**\n * Répondre à des questions sur les fonctions.\n * Aout 2021\n * @author Jean-Claude Lhote\n */\nexport const uuid = 'ba520'\nexport const ref = '3F10-2'\nexport default function CalculsImagesFonctions () {\n Exercice.call(this) // Héritage de la classe Exercice()\n this.sup = 2\n this.sup2 = 1\n this.sup3 = 1\n this.consigne = ''\n this.correctionDetailleeDisponible = true\n this.correctionDetaillee = false\n this.spacing = 2\n this.nbQuestions = 3\n this.nbQuestionsModifiable = true\n this.nouvelleVersion = function () {\n this.autoCorrection = []\n this.listeQuestions = [] // Liste de questions\n this.listeCorrections = [] // Liste de questions corrigées\n let typesDeQuestionsDisponibles\n this.sup = contraindreValeur(1, 5, this.sup, 1)\n this.sup2 = contraindreValeur(1, 3, this.sup2, 1)\n this.sup3 = contraindreValeur(1, 5, this.sup3, 1)\n switch (this.sup) {\n case 1:\n typesDeQuestionsDisponibles = ['linéaire']\n break\n case 2:\n typesDeQuestionsDisponibles = ['affine']\n break\n case 3:\n typesDeQuestionsDisponibles = ['polynôme']\n break\n case 4:\n typesDeQuestionsDisponibles = ['fraction']\n break\n case 5:\n typesDeQuestionsDisponibles = ['linéaire', 'affine', 'polynôme', 'fraction']\n break\n }\n const listeTypeDeQuestions = combinaisonListes(typesDeQuestionsDisponibles, this.nbQuestions)\n let sousChoix\n if (this.sup2 === 1) { // Pour paramétrer plus finement le type de question\n if (this.sup3 < 3 || this.sup3 === 4) {\n sousChoix = combinaisonListes([0], this.nbQuestions)\n } else if (this.sup3 === 3) {\n sousChoix = combinaisonListes([1], this.nbQuestions)\n } else {\n sousChoix = combinaisonListes([0, 1], this.nbQuestions)\n }\n } else if (this.sup2 === 2) {\n if (this.sup3 < 3 || this.sup3 === 4) {\n sousChoix = combinaisonListes([2, 3], this.nbQuestions)\n } else if (this.sup3 === 3) {\n sousChoix = combinaisonListes([4], this.nbQuestions)\n } else {\n sousChoix = combinaisonListes([2, 3, 4], this.nbQuestions)\n }\n } else {\n if (this.sup3 < 3 || this.sup3 === 4) {\n sousChoix = combinaisonListes([0, 2, 3], this.nbQuestions)\n } else if (this.sup3 === 3) {\n sousChoix = combinaisonListes([1, 4], this.nbQuestions)\n } else {\n sousChoix = combinaisonListes([0, 1, 2, 3, 4], this.nbQuestions)\n }\n }\n for (let i = 0, texte, texteCorr, x, y, m, n, enonce, correction, reponses = [], tagImage, ant, img, cpt = 0; i < this.nbQuestions && cpt < 50;) {\n // on ne choisit que des nombres compris entre 1 et 20\n if (this.sup3 === 1) {\n x = randint(2, 9)\n y = randint(-9, 9, [x, 0])\n n = choice([2, 4, 5])\n m = randint(2, 6, [n, n * 2, n * 3])\n } else if (this.sup3 === 2) {\n x = randint(-9, 9, [0, 1, -1])\n y = randint(-9, 9, [x, 0])\n n = choice([2, 4, 5])\n m = randint(2, 6, [n, n * 2, n * 3])\n } else {\n if (this.sup3 === 3) {\n x = randint(2, 9)\n } else {\n x = randint(-9, 9, [0, 1, -1])\n }\n y = randint(-9, 9, [x, 0])\n n = choice([2, 4, 5])\n m = randint(2, 6, [n, n * 2, n * 3])\n }\n if (this.sup3 === 4) {\n x = -Math.abs(x)\n }\n tagImage = true\n switch (listeTypeDeQuestions[i]) {\n case 'linéaire':\n switch (sousChoix[i]) {\n case 0:\n enonce = `Soit $f: x \\\\longmapsto ${m}x$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=${m}x$ donc ici on a : $f(${x})=${m} \\\\times ${ecritureParentheseSiNegatif(x)}=${m * x}$`\n reponses[i] = m * x\n ant = x\n tagImage = true\n break\n case 1:\n enonce = `Soit $f$ la fonction définie par $f(x)=\\\\dfrac{${m}}{${n}}x$. ${sp(5)} Quelle est l'image de $${n * x}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{${m}}{${n}}x$ donc ici on a : $f(${n * x})=\\\\dfrac{${m}}{${n}} \\\\times ${ecritureParentheseSiNegatif(n * x)}=\\\\dfrac{${m * x * n}}{${n}}=${m * x}$`\n ant = n * x\n tagImage = true\n reponses[i] = m * x\n break\n case 2:\n enonce = `Soit $f$ la fonction qui à $x$ associe $${m}x$. ${sp(5)} Quel est l'antécédent de $${m * x}$ ?<br>`\n correction = `$f(x)=${m}x$ donc ici on a : $${m}x=${m * x}$<br> soit $x=\\\\dfrac{${m * x}}{${m}}=${x}$`\n reponses[i] = x\n img = m * x\n tagImage = false\n break\n case 3:\n enonce = `Soit $f: x \\\\longmapsto ${-m}x$. ${sp(5)} Quel est l'antécédent de $${m * x}$ ?<br>`\n correction = `$f(x)=${-m}x$ donc ici on a : $${-m}x=${m * x}$<br> soit $x=\\\\dfrac{${-m * x}}{${m}}=${-x}$`\n img = m * x\n reponses[i] = -x\n tagImage = false\n break\n\n case 4:\n enonce = `Soit $f$ la fonction telle que $f(x)=\\\\dfrac{${m}}{${n}}x$. ${sp(5)} Quel est l'antécédent de $${m * x}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{${m}}{${n}}x$ donc ici on a : $\\\\dfrac{${m}}{${n}}x=${m * x}$<br> soit $x=${m * x}\\\\times \\\\dfrac{${n}}{${m}}=${x * n}$`\n img = m * x\n reponses[i] = n * x\n tagImage = false\n break\n }\n break\n case 'affine':\n switch (sousChoix[i]) {\n case 0:\n enonce = `Soit $f: x \\\\longmapsto ${m}x+${n}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=${m}x+${n}$ donc ici on a : $f(${x})=${m}\\\\times ${ecritureParentheseSiNegatif(x)}+${n}=${m * x}+${n}=${m * x + n}$`\n ant = x\n reponses[i] = m * x + n\n break\n case 1:\n enonce = `Soit $f$ la fonction définie par $f(x)=\\\\dfrac{${m}}{${n}}x${ecritureAlgebrique(y)}$. ${sp(5)} Quelle est l'image de $${n * x}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{${m}}{${n}}x${ecritureAlgebrique(y)}$ donc ici on a : $f(${n * x})=\\\\dfrac{${m}}{${n}}\\\\times ${ecritureParentheseSiNegatif(n * x)}${ecritureAlgebrique(y)}=${m * x}${ecritureAlgebrique(y)}=${m * x + y}$`\n ant = n * x\n reponses[i] = m * x + y\n break\n case 2:\n enonce = `Soit $f$ la fonction qui à $x$ associe $${m}x+${n}$. ${sp(5)} Quel est l'antécédent de $${m * x + n}$ ?<br>`\n correction = `$f(x)=${m}x+${n}$ donc ici on a : $${m}x+${n}=${m * x + n}$ <br>Soit $${m}x=${m * x + n}-${n}=${m * x}$ d'où $x=\\\\dfrac{${m * x}}{${m}}=${x}$`\n img = m * x + n\n reponses[i] = x\n tagImage = false\n break\n case 3:\n enonce = `Soit $f: x \\\\longmapsto ${-m}x${ecritureAlgebrique(y)}$. ${sp(5)} Quel est l'antécédent de $${m * x + y}$ ?<br>`\n correction = `$f(x)=${-m}x${ecritureAlgebrique(y)}$ donc ici on a : $${-m}x${ecritureAlgebrique(y)}=${m * x + y}$ <br>Soit $x=\\\\dfrac{(${m * x + y}${ecritureAlgebrique(-y)})}{${-m}}=${-x}$`\n img = m * x + y\n reponses[i] = -x\n tagImage = false\n break\n case 4:\n enonce = `Soit $f$ la fonction telle que $f(x)=\\\\dfrac{${m}}{${n}}x${ecritureAlgebrique(y)}$. ${sp(5)} Quel est l'antécédent de $${m * x + y}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{${m}}{${n}}x${ecritureAlgebrique(y)}$ donc ici on a : $\\\\dfrac{${m}}{${n}}x${ecritureAlgebrique(y)}=${m * x + y}$<br>Soit $x=(${m * x + y}${ecritureAlgebrique(-y)})\\\\times \\\\dfrac{${n}}{${m}}=${m * x}\\\\times \\\\dfrac{${n}}{${m}}=${n * x}$`\n img = m * x + y\n reponses[i] = n * x\n tagImage = false\n break\n }\n break\n case 'polynôme':\n ant = x\n sousChoix[i] = randint(0, 4)\n switch (sousChoix[i]) {\n case 0:\n enonce = `Soit $f: x \\\\longmapsto x^2+${m}x+${n}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=x^2+${m}x+${n}$ donc ici on a : $f(${x})=${ecritureParentheseSiNegatif(x)}^2+${m}\\\\times ${ecritureParentheseSiNegatif(x)}+${n}=${x * x}${ecritureAlgebrique(m * x)}+${n}=${x ** 2 + m * x + n}$`\n reponses[i] = x ** 2 + m * x + n\n break\n\n case 1:\n enonce = `Soit $f(x)=x^2-${m}x+${n}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=x^2-${m}x+${n}$ donc ici on a : $f(${x})=${ecritureParentheseSiNegatif(x)}^2-${m}\\\\times ${ecritureParentheseSiNegatif(x)}+${n}=${x * x}${ecritureAlgebrique(-m * x)}+${n}=${x ** 2 - m * x + n}$`\n reponses[i] = x ** 2 - m * x + n\n break\n\n case 2:\n enonce = `Soit $f$ la fonction qui à $x$ associe $${m}x^2+${n}x$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=${m}x^2+${n}x$ donc ici on a : $f(${x})=${m}\\\\times${ecritureParentheseSiNegatif(x)}^2+${n}\\\\times ${ecritureParentheseSiNegatif(x)}=${m}\\\\times ${x * x}${ecritureAlgebrique(n * x)}=${m * x ** 2 + n * x}$`\n reponses[i] = m * x ** 2 + n * x\n break\n case 3:\n enonce = `Soit $f: x \\\\longmapsto ${m}x^2+${n}x${ecritureAlgebrique(y)}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=${m}x^2+${n}x${ecritureAlgebrique(y)}$ donc ici on a : $f(${x})=${m}\\\\times${ecritureParentheseSiNegatif(x)}^2+${n}\\\\times ${ecritureParentheseSiNegatif(x)}${ecritureAlgebrique(y)}=${m}\\\\times ${x * x}${ecritureAlgebrique(n * x)}${ecritureAlgebrique(y)}=${m * x ** 2 + n * x + y}$`\n reponses[i] = m * x ** 2 + n * x + y\n break\n case 4:\n enonce = `Soit $f(x)=${m}x^2-${n}x${ecritureAlgebrique(y)}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=${m}x^2-${n}x${ecritureAlgebrique(y)}$ donc ici on a : $f(${x})=${m}\\\\times${ecritureParentheseSiNegatif(x)}^2-${n}\\\\times ${ecritureParentheseSiNegatif(x)}${ecritureAlgebrique(y)}=${m}\\\\times ${x * x}${ecritureAlgebrique(-n * x)}${ecritureAlgebrique(y)}=${m * x ** 2 - n * x + y}$`\n reponses[i] = m * x ** 2 - n * x + y\n break\n }\n break\n case 'fraction':\n ant = x\n switch (sousChoix[i] % 4) {\n case 0:\n if (n !== x) m = n - x\n else m = n ** 2 - x\n enonce = `Soit $f$ la fonction qui à $x$ associe $\\\\dfrac{x}{x${ecritureAlgebrique(m)}}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{x}{x${ecritureAlgebrique(m)}}$ donc ici on a : $f(${x})=\\\\dfrac{${x}}{${x}${ecritureAlgebrique(m)}}=\\\\dfrac{${x}}{${x + m}}=${texNombre(x / (x + m))}$`\n reponses[i] = new Decimal(x).div(x + m)\n break\n case 1:\n if (n !== x) m = n - x\n else m = n ** 2 - x\n enonce = `Soit $f$ telle que $f(x)=\\\\dfrac{${m}x}{x${ecritureAlgebrique(m)}}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{${m}x}{x${ecritureAlgebrique(m)}}$ donc ici on a : $f(${x})=\\\\dfrac{${m}\\\\times ${ecritureParentheseSiNegatif(x)}}{${x}${ecritureAlgebrique(m)}}=\\\\dfrac{${m * x}}{${x}${ecritureAlgebrique(m)}}=${texNombre(m * x / (x + m))}$`\n reponses[i] = new Decimal(m * x).div(x + m)\n break\n case 2:\n if (n !== x) m = n - x\n else m = n ** 2 - x\n enonce = `Soit $f$ telle que $f(x)=\\\\dfrac{${m}x^2+${n}x}{x^2${ecritureAlgebrique(m)}x}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)=\\\\dfrac{${m}x^2+${n}x}{x^2${ecritureAlgebrique(m)}x}$ donc ici on a : $f(${x})=\\\\dfrac{${m}\\\\times ${ecritureParentheseSiNegatif(x)}^2+${n}\\\\times ${ecritureParentheseSiNegatif(x)}}{${ecritureParentheseSiNegatif(x)}^2${ecritureAlgebrique(m)}\\\\times ${ecritureParentheseSiNegatif(x)}}=\\\\dfrac{${m * x ** 2}${ecritureAlgebrique(n * x)}}{${x ** 2}${ecritureAlgebrique(m * x)}}=\\\\dfrac{${m * x ** 2 + n * x}}{${x ** 2 + m * x}}=${texNombre((m * x ** 2 + n * x) / (x ** 2 + m * x))}$`\n reponses[i] = new Decimal(m * x ** 2 + n * x).div(x ** 2 + m * x)\n break\n case 3:\n if (n !== x) m = n - x\n else m = n ** 2 - x\n enonce = `Soit $f: x \\\\longmapsto \\\\dfrac{x${ecritureAlgebrique(-m)}}{x^2${ecritureAlgebrique(-2 * m)}x+${m * m}}$. ${sp(5)} Quelle est l'image de $${x}$ ?<br>`\n correction = `$f(x)= \\\\dfrac{x${ecritureAlgebrique(-m)}}{x^2${ecritureAlgebrique(-2 * m)}x+${m * m}}$ donc ici on a : $f(${x})= \\\\dfrac{${x}${ecritureAlgebrique(-m)}}{${ecritureParentheseSiNegatif(x)}^2${ecritureAlgebrique(-2 * m)}\\\\times ${ecritureParentheseSiNegatif(x)}+${m * m}}=\\\\dfrac{${x - m}}{${x ** 2}${ecritureAlgebrique(-2 * m * x)}+${m * m}}=\\\\dfrac{${x - m}}{${x ** 2 - 2 * m * x + m * m}}=\\\\dfrac{${-1}}{${x + m}}=${texNombre(-1 / (x + m), 2)}$`\n reponses[i] = new Decimal(-1).div(x + m)\n break\n }\n break\n }\n if (this.interactif) {\n if (tagImage) {\n texte = enonce + ajouteChampTexteMathLive(this, i, 'largeur25 inline', { texteAvant: `$f(${ant})=$` })\n } else {\n texte = enonce + ajouteChampTexteMathLive(this, i, 'largeur25 inline', {\n texte: '$f($',\n texteApres: `$)=${img}$`\n })\n }\n } else {\n texte = enonce\n }\n\n if (tagImage) {\n texteCorr = correction + '<br>' + `$f(${ant})=${miseEnEvidence(texNombre(reponses[i], 5))}$`\n } else {\n texteCorr = correction + '<br>' + `$f(${miseEnEvidence(texNombre(reponses[i], 5))})=${img}$`\n }\n setReponse(this, i, reponses[i])\n if (this.questionJamaisPosee(i, listeTypeDeQuestions[i], x, y, sousChoix[i])) {\n // Si la question n'a jamais été posée, on en créé une autre\n this.listeQuestions.push(texte)\n this.listeCorrections.push(texteCorr)\n i++\n }\n cpt++\n }\n listeQuestionsToContenu(this)\n let maxNbChiffresAvantLaVirgule = 0\n let maxNbDecimals = 0\n if (context.isAmc) {\n for (let i = 0; i < this.nbQuestions; i++) {\n maxNbChiffresAvantLaVirgule = Math.max(maxNbChiffresAvantLaVirgule, nombreDeChiffresDansLaPartieEntiere(this.autoCorrection[i].reponse.valeur[0]))\n maxNbDecimals = Math.max(maxNbDecimals, nombreDeChiffresDansLaPartieDecimale(this.autoCorrection[i].reponse.valeur[0]))\n }\n for (let i = 0; i < this.nbQuestions; i++) {\n this.autoCorrection[i].reponse.param.digits = maxNbChiffresAvantLaVirgule + maxNbDecimals\n this.autoCorrection[i].reponse.param.decimals = maxNbDecimals\n this.autoCorrection[i].reponse.param.signe = true\n }\n }\n }\n this.besoinFormulaireNumerique = [\n 'Choix des questions',\n 5,\n '1 : Fonction linéaire\\n2 : Fonction affine \\n3 : Polynome de degré 2 \\n4 : Fonction rationnelle \\n5 : Mélange'\n ]\n this.besoinFormulaire2Numerique = ['Image ou antécédent', 3, \"1 : Calcul d'image\\n2 : Calcul d'antécédent (uniquement pour linéaire et affine)\\n3 : Mélange\"]\n this.besoinFormulaire3Numerique = ['Niveau de difficulté', 5, '1 : Que des entiers positifs\\n2 : Avec des entiers relatifs\\n3 : Avec des fractions dans les coefficients (antécédents positifs)\\n4 : Avec des antécédents tous négatifs (pas de fraction)\\n5 : Mélange']\n}\n"],"names":["interactifReady","interactifType","amcReady","amcType","titre","uuid","ref","CalculsImagesFonctions","Exercice","typesDeQuestionsDisponibles","contraindreValeur","listeTypeDeQuestions","combinaisonListes","sousChoix","i","texte","texteCorr","x","y","m","n","enonce","correction","reponses","tagImage","ant","img","cpt","randint","choice","sp","ecritureParentheseSiNegatif","ecritureAlgebrique","texNombre","Decimal","ajouteChampTexteMathLive","miseEnEvidence","setReponse","listeQuestionsToContenu","maxNbChiffresAvantLaVirgule","maxNbDecimals","context","nombreDeChiffresDansLaPartieEntiere","nombreDeChiffresDansLaPartieDecimale"],"mappings":"uJAaY,MAACA,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SACVC,EAAQ,gDAORC,EAAO,QACPC,EAAM,SACJ,SAASC,GAA0B,CAChDC,EAAS,KAAK,IAAI,EAClB,KAAK,IAAM,EACX,KAAK,KAAO,EACZ,KAAK,KAAO,EACZ,KAAK,SAAW,GAChB,KAAK,8BAAgC,GACrC,KAAK,oBAAsB,GAC3B,KAAK,QAAU,EACf,KAAK,YAAc,EACnB,KA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