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/can2L02-do0W_CSr.js.map
{"version":3,"file":"can2L02-do0W_CSr.js","sources":["../../src/exercices/can/2e/can2L02.js"],"sourcesContent":["import { ecritureParentheseSiNegatif, reduireAxPlusB } from '../../../lib/outils/ecritures'\nimport { texNombre } from '../../../lib/outils/texNombre'\nimport { randint } from '../../../modules/outils.js'\nimport Exercice from '../../deprecatedExercice.js'\nexport const titre = 'Calculer les coordonnées d’un point sur une droite'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const dateDePublication = '04/11/2022'\n/*!\n * @author Gilles Mora\n */\n\nexport const uuid = 'dfe60'\nexport const ref = 'can2L02'\nexport default function CoordonneesPointDroite () {\n  Exercice.call(this)\n  this.typeExercice = 'simple'\n  this.nbQuestions = 1\n  this.tailleDiaporama = 2\n  this.nouvelleVersion = function () {\n    const a = randint(-10, 10, 0)\n    const b = randint(-10, 10, 0)\n    const c = randint(-10, 10, 0)\n\n    this.formatChampTexte = 'largeur12 inline'\n\n    this.formatInteractif = 'texte'\n    this.reponse = `${c};${a * c + b}`\n    this.question = ` Déterminer les coordonnées du point de la droite\n        d'équation $y=${reduireAxPlusB(a, b)}$ dont l'abscisse est $${c}$.\n       `\n    if (this.interactif) {\n      this.optionsChampTexte = { texteApres: '$)$' }\n      this.question += '<br>$($'\n    }\n    if (a === 1) {\n      this.correction = `Puisque $${c}$ est l'abscisse de ce point, son ordonnée est donnée par :<br>\n        $y= ${c}+${ecritureParentheseSiNegatif(b)}=${a * c + b}$.<br>\n  Les coordonnées du  point sont donc : $(${c};${texNombre(a * c + b)})$.`\n    } else {\n      this.correction = `Puisque $${c}$ est l'abscisse de ce point, son ordonnée est donnée par :<br>\n\n  $y=${a}\\\\times ${ecritureParentheseSiNegatif(c)}+${ecritureParentheseSiNegatif(b)}=${a * c} + ${ecritureParentheseSiNegatif(b)}=${a * c + b}$.<br>\n  Les coordonnées du  point sont donc : $(${c};${texNombre(a * c + b)})$.`\n    }\n\n    this.canEnonce = ` Déterminer les coordonnées du point de la droite\n    d'équation $y=${reduireAxPlusB(a, b)}$ dont l'abscisse est $${c}$. `\n    this.canReponseACompleter = ''\n  }\n}\n"],"names":["titre","interactifReady","interactifType","dateDePublication","uuid","ref","CoordonneesPointDroite","Exercice","a","randint","b","c","reduireAxPlusB","ecritureParentheseSiNegatif","texNombre"],"mappings":"oEAIY,MAACA,EAAQ,qDACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAoB,aACjC;AAAA;AAAA,GAIY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAA0B,CAChDC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAQ,IAAK,GAAI,CAAC,EACtBC,EAAID,EAAQ,IAAK,GAAI,CAAC,EACtBE,EAAIF,EAAQ,IAAK,GAAI,CAAC,EAE5B,KAAK,iBAAmB,mBAExB,KAAK,iBAAmB,QACxB,KAAK,QAAU,GAAGE,CAAC,IAAIH,EAAIG,EAAID,CAAC,GAChC,KAAK,SAAW;AAAA,wBACIE,EAAeJ,EAAGE,CAAC,CAAC,0BAA0BC,CAAC;AAAA,SAE/D,KAAK,aACP,KAAK,kBAAoB,CAAE,WAAY,KAAO,EAC9C,KAAK,UAAY,WAEfH,IAAM,EACR,KAAK,WAAa,YAAYG,CAAC;AAAA,cACvBA,CAAC,IAAIE,EAA4BH,CAAC,CAAC,IAAIF,EAAIG,EAAID,CAAC;AAAA,4CAClBC,CAAC,IAAIG,EAAUN,EAAIG,EAAID,CAAC,CAAC,MAE/D,KAAK,WAAa,YAAYC,CAAC;AAAA;AAAA,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