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/3F20-2-0K4bOAdR.js.map
{"version":3,"file":"3F20-2-0K4bOAdR.js","sources":["../../src/exercices/3e/3F20-2.js"],"sourcesContent":["import {\n  gestionnaireFormulaireTexte,\n  listeQuestionsToContenu\n} from '../../modules/outils.js'\nimport FonctionsAffines from './3F20-1.js'\nimport FonctionsLineaires from './3F20.js'\nimport Exercice from '../Exercice.js'\n\nexport const titre = 'Affine and/or linear functions'\nexport const interactifType = 'mathLive'\nexport const interactifReady = true\nexport const amcReady = true\nexport const amcType = 'AMCHybride'\nexport const dateDePublication = '21/05/2023'\nexport const ref = '3F20-2'\nexport const uuid = '17c65'\n/**\n * Questions sur les fonctions affines ou linéaires\n * @author Jean-Claude Lhote\n * @constructor\n */\nexport default function FonctionsAffinesOuLineaires () {\n  Exercice.call(this)\n  this.lycee = false\n  const fonctionsLineaires = new FonctionsLineaires()\n  const fonctionsAffines = new FonctionsAffines()\n  this.lycee = true // mettre à true dans 2F10-8.js\n  this.comment = 'The exercise suggests combining the questions from 3F20 and 3F20-1'\n  this.sup = 1 // coefficient entier relatif\n  this.nbQuestions = 8\n  this.sup2 = '11'\n  this.spacingCorr = 3\n  this.sup3 = '3'\n  this.besoinFormulaireNumerique = ['Coefficient : ', 3, '1: Integer coefficient\\n2: Rational coefficient\\n3: Mixture']\n  this.besoinFormulaire2Texte = ['Types of questions', 'Numbers separated by hyphens:\\n1: Image by expression\\n2: Image by values\\n3: Image by graph\\n4: Antecedent by expression\\n5: Antecedent by values\\n6: Antecedent by graph\\n7: Expression by values\\n8 : Expression by graph\\n9: Expression by graph affine functions only (increasing formula)\\n10: Expression by affine function values only (increasing formula)\\n11: Mixture']\n  this.besoinFormulaire3Texte = ['Function type', 'Numbers separated by hyphens\\n1: Linear\\n2: Affine\\n3: Blend']\n  this.nouvelleVersion = function () {\n    fonctionsAffines.interactif = this.interactif\n    fonctionsAffines.nbQuestions = this.nbQuestions\n    fonctionsAffines.lycee = this.lycee\n    fonctionsAffines.sup = this.sup\n    fonctionsAffines.sup2 = this.sup2\n    fonctionsAffines.numeroExercice = this.numeroExercice // indispensable pour l'interactif\n    fonctionsAffines.nouvelleVersion()\n    fonctionsLineaires.interactif = this.interactif\n    fonctionsLineaires.nbQuestions = this.nbQuestions\n    fonctionsLineaires.lycee = this.lycee\n    fonctionsLineaires.sup = this.sup\n    fonctionsLineaires.sup2 = this.sup2\n    fonctionsLineaires.numeroExercice = this.numeroExercice // indispensable pour l'interactif\n    fonctionsLineaires.nouvelleVersion()\n\n    this.listeQuestions = []\n    this.listeCorrections = []\n    this.autoCorrection = []\n    const choixFonction = gestionnaireFormulaireTexte({ saisie: this.sup3, min: 1, max: 2, defaut: 3, melange: 3, listeOfCase: ['linear', 'refined'], nbQuestions: this.nbQuestions })\n    for (let i = 0; i < this.nbQuestions; i++) {\n      if (choixFonction[i] === 'refined') {\n        // We recover everything that is the question, its correction and the interactive...\n        this.listeQuestions.push(fonctionsAffines.listeQuestions[i])\n        this.listeCorrections.push(fonctionsAffines.listeCorrections[i])\n        this.autoCorrection.push(fonctionsAffines.autoCorrection[i])\n      } else {\n        this.listeQuestions.push(fonctionsLineaires.listeQuestions[i])\n        this.listeCorrections.push(fonctionsLineaires.listeCorrections[i])\n        this.autoCorrection.push(fonctionsLineaires.autoCorrection[i])\n      }\n    }\n    listeQuestionsToContenu(this)\n  }\n}\n"],"names":["titre","interactifType","interactifReady","amcReady","amcType","dateDePublication","ref","uuid","FonctionsAffinesOuLineaires","Exercice","fonctionsLineaires","FonctionsLineaires","fonctionsAffines","FonctionsAffines","choixFonction","gestionnaireFormulaireTexte","i","listeQuestionsToContenu"],"mappings":"2JAQY,MAACA,EAAQ,iCACRC,EAAiB,WACj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