File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/4F12-eVp9ir89.js.map
{"version":3,"file":"4F12-eVp9ir89.js","sources":["../../src/exercices/4e/4F12.js"],"sourcesContent":["import { courbe, courbeInterpolee } from '../../lib/2d/courbes.js'\nimport { point } from '../../lib/2d/points.js'\nimport { polyline } from '../../lib/2d/polygones.js'\nimport { grille, repere } from '../../lib/2d/reperes.js'\nimport { texteParPosition } from '../../lib/2d/textes.js'\nimport { choice } from '../../lib/outils/arrayOutils'\nimport { prenomF } from '../../lib/outils/Personne'\nimport { texNombre } from '../../lib/outils/texNombre'\nimport Exercice from '../deprecatedExercice.js'\nimport { fixeBordures, mathalea2d, vide2d } from '../../modules/2dGeneralites.js'\nimport { context } from '../../modules/context.js'\nimport { listeQuestionsToContenu, randint, calculANePlusJamaisUtiliser } from '../../modules/outils.js'\nexport const titre = 'Solve a problem based on reading a graphical representation'\nexport const amcReady = true\nexport const amcType = 'AMCHybride'\n\n/**\n * Problème avec lecture de représentation graphique d'une fonction\n * @author Rémi Angot\n * Référence 4F12\n */\nexport const uuid = 'b428e'\nexport const ref = '4F12'\nexport default function ExploiterRepresentationGraphique () {\n Exercice.call(this) // Héritage de la classe Exercice()\n this.titre = titre\n this.consigne = ''\n this.nbQuestions = 1\n this.nbCols = 1\n this.nbColsCorr = 1\n this.nbQuestionsModifiable = false\n this.sup = 4\n\n this.nouvelleVersion = function () {\n this.listeQuestions = [] // Liste de questions\n this.listeCorrections = [] // Liste de questions corrigées\n this.autoCorrection = []\n // Initial velocities giving integer height and integer range\n // Initial speeds giving integer height and integer flight duration.\n const vitessesInitiales = [28.27, 35.2, 49.6, 63.55, 70.85, 77.45, 84.85, 91.65]\n const vitessesInitialesBis = [10.95, 12.65, 14.15, 15.5, 16.7, 17.9, 19, 20, 21, 21.9, 22.8, 23.7, 24.5, 25.3, 26.1, 26.8, 27.6, 28.2, 29]\n let V0, xscale, zero\n let typeDeProbleme\n let enonceAMC\n let v1, v2, v3, situation\n let repeRe\n let tempsPause\n let periodeRapide\n if (this.sup === 1) {\n typeDeProbleme = choice(['projectile', 'projectile2'])\n }\n if (this.sup === 2) {\n typeDeProbleme = 'bike'\n }\n if (this.sup === 3) {\n typeDeProbleme = 'temperature'\n }\n if (this.sup === 4) {\n typeDeProbleme = choice(['temperature', 'projectile', 'projectile2', 'bike'])\n }\n let f, t1, l, g1, r, graphique, fille, hmin, hmax, tmin, tmax\n switch (typeDeProbleme) {\n case 'projectile': // Curve of flight altitude versus time\n V0 = choice(vitessesInitiales)\n t1 = Math.round(Math.sqrt(2) * V0 / 10)\n xscale = 9 / t1\n f = (x) => Math.max(-5 * x ** 2 + V0 * Math.sqrt(2) * x / 2, 0)\n repeRe = repere({ yLegende: 'height (in m)', xLegende: 'time (in s)', xUnite: 1 * xscale, yUnite: 0.1 * xscale, xMin: 0, yMin: 0, xMax: t1 + 1, yMax: f(t1 / 2) + 20, xThickDistance: 1, yThickDistance: 10, grilleSecondaireY: true, grilleSecondaireYDistance: 2, grilleSecondaireYMin: 0, grilleSecondaireYMax: f(t1 / 2) + 5 }) // ()\n graphique = courbe(f, { repere: repeRe, xMax: t1 + 1, step: 0.2 })\n zero = texteParPosition('0', -0.5, 0, 'medium', 'black', 1, 'middle', true)\n this.introduction =\n 'We have shown below the evolution of the height of a projectile launched from the ground (in m) as a function of time (in seconds).'\n\n this.introduction +=\n '<br><br>' +\n mathalea2d(\n Object.assign({}, fixeBordures([repeRe, graphique, zero]), {\n pixelsParCm: 30,\n scale: 1\n })\n ,\n repeRe,\n graphique,\n zero\n )\n\n this.introduction +=\n '<br><br>' +\n 'Using this graph, answer the following questions:'\n\n this.listeQuestions.push(\n 'How long does it take for the projectile to fall back to the ground?'\n )\n this.listeCorrections.push(\n `At the end of ${texNombre(t1)} s, the projectile falls to the ground because the curve passes through the point of coordinates $(${texNombre(t1)}~;~0)$.`\n )\n\n this.listeQuestions.push(\n 'What is the maximum height reached by the projectile?'\n )\n this.listeCorrections.push(\n `The highest point of the curve has the X value of $${texNombre((t1 / 2))}$ and the Y value of $${Math.round(f(t1 / 2))}$ so the maximum height is $${Math.round(f(t1 / 2))}$ m.`\n )\n\n break\n case 'projectile2':\n V0 = choice(vitessesInitialesBis)\n t1 = Math.round(V0 ** 2 / 10)\n xscale = 52 / t1\n f = (x) => Math.max(-10 * x ** 2 / (V0 ** 2) + x, 0)\n repeRe = repere({ yLegende: 'height (in m)', xLegende: 'distance (in m)', xUnite: 0.25 * xscale, yUnite: 0.5 * xscale, xMin: 0, yMin: 0, xMax: t1 + 4, yMax: f(t1 / 2) + 2.1, xThickDistance: 4, yThickDistance: 1, grilleSecondaireY: true, grilleSecondaireYDistance: 0.25, grilleSecondaireYMin: 0, grilleSecondaireYMax: f(t1 / 2) + 1 }) // ()\n graphique = courbe(f, { repere: repeRe, step: 0.5 })\n zero = texteParPosition('0', -0.5, 0, 'medium', 'black', 1, 'middle', true)\n\n this.introduction =\n 'The trajectory of a projectile launched from the ground is shown below.'\n\n this.introduction +=\n '<br><br>' +\n mathalea2d(\n Object.assign({}, fixeBordures([repeRe, graphique, zero]), {\n pixelsParCm: 30,\n scale: 1\n })\n ,\n repeRe,\n graphique,\n zero\n )\n\n this.introduction +=\n '<br><br>' +\n 'Using this graph, answer the following questions:'\n\n this.listeQuestions.push(\n 'How far did the projectile fall to the ground?'\n )\n this.listeCorrections.push(\n `The projectile falls to the ground at a distance of ${t1} m, because the curve passes through the coordinate point $(${texNombre(t1)}~;~0)$.`\n )\n\n this.listeQuestions.push(\n 'What is the maximum height reached by the projectile?'\n )\n this.listeCorrections.push(\n `The highest point of the curve has the X value of $${texNombre((t1 / 2))}$ and the Y value of $${Math.round(f(t1 / 2))}$ so the maximum height is $${Math.round(f(t1 / 2))}$ m.`\n )\n\n break\n\n case 'bike':\n v1 = randint(1, 4)\n v2 = randint(1, 3, v1)\n v3 = v1 + v2\n r = repere({\n yLegende: 'distance (in km)',\n xLegende: 'time (in min)',\n xMin: 0,\n yMin: 0,\n xMax: 60,\n yMax: v3 + 1,\n xUnite: 0.1,\n yUnite: 1,\n xThickDistance: 10,\n yThickDistance: 1,\n grilleSecondaireY: true,\n grilleSecondaireX: true,\n grilleSecondaireYDistance: 0.2,\n grilleSecondaireXDistance: 2,\n grilleSecondaireXMin: 0,\n grilleSecondaireXMax: 60,\n grilleSecondaireYMin: 0,\n grilleSecondaireYMax: v3 + 1\n })\n g1 = grille(-1, -1, 6, 8, 'black')\n g1.opacite = 1\n situation = randint(1, 3)\n zero = texteParPosition('0', -0.7, 0, 'medium', 'black', 1, 'middle', true)\n\n if (situation === 1) {\n l = polyline([point(0, 0), point(1, v1), point(2, v3), point(3, v3), point(4, 0)], 'blue')\n tempsPause = 20\n periodeRapide = 'from the 30th to the 40th minute'\n }\n if (situation === 2) {\n l = polyline([point(0, 0), point(1, v3), point(2, v3), point(3, v2), point(4, 0)], 'blue')\n tempsPause = 10\n periodeRapide = 'during the first 10 minutes'\n }\n if (situation === 3) {\n l = polyline([point(0, 0), point(1, v3), point(2, v2), point(3, v2), point(4, 0)], 'blue')\n tempsPause = 20\n periodeRapide = 'during the first 10 minutes'\n }\n l.epaisseur = 2\n\n fille = prenomF()\n this.introduction = `${fille} is cycling with her smartphone on a straight greenway that leaves her house. An application allows her to see how far from home she is.`\n\n this.introduction += '<br><br>' + mathalea2d(\n Object.assign({}, fixeBordures([r, l, zero]), {\n pixelsParCm: 30,\n scale: 1\n })\n , zero, r, l)\n\n this.introduction += '<br><br>' + 'Using this graph, answer the following questions:'\n\n this.listeQuestions.push('How long did she cycle?')\n this.listeCorrections.push('She cycled for 40 minutes.')\n\n this.listeQuestions.push('How far did she travel in total?')\n this.listeCorrections.push(`The farthest point from her house is ${v3} km and then she returns home, so the total distance is ${2 * v3} km.`)\n\n this.listeQuestions.push(`What happens after ${tempsPause} minutes of cycling?`)\n this.listeCorrections.push('The distance remains constant even though it is on a straight path. So she took a break.')\n\n this.listeQuestions.push('When was it the fastest?')\n this.listeCorrections.push(`She was the fastest ${periodeRapide} where she completed ${v3} km in 10 minutes.`)\n\n break\n case 'temperature':\n hmin = randint(2, 4)\n hmax = randint(12, 16)\n tmin = randint(-5, 15)\n tmax = tmin + randint(5, 12)\n zero = tmin < 0 ? texteParPosition('0', -0.5, 0, 'medium', 'black', 1, 'middle', true) : vide2d()\n r = repere({\n xMin: 0,\n yMin: tmin - 1,\n yMax: tmax + 2,\n xMax: 24,\n xUnite: 1,\n yUnite: 1,\n xLegende: 'Hour',\n yLegende: 'Temperature (in °C)'\n })\n graphique = courbeInterpolee(\n [\n [-2, tmin + 2],\n [hmin, tmin],\n [hmax, tmax],\n [26, tmin + 2]\n ],\n {\n color: 'blue',\n epaisseur: 2,\n repere: r,\n xMin: 0,\n xMax: 24\n })\n this.introduction =\n 'The evolution of the temperature over one day is shown below.'\n this.introduction +=\n '<br><br>' +\n mathalea2d(\n Object.assign({}, fixeBordures([r, graphique]), {\n pixelsParCm: 30,\n scale: 1\n })\n ,\n r,\n zero,\n graphique\n )\n\n this.introduction +=\n '<br><br>' +\n 'Using this graph, answer the following questions:'\n\n this.listeQuestions.push(\n 'What is the coldest temperature of the day?'\n )\n this.listeCorrections.push(`The lowest temperature is ${tmin}°C.`)\n\n this.listeQuestions.push(\n 'What is the hottest temperature of the day?'\n )\n this.listeCorrections.push(`The highest temperature of the day is ${tmax}°C.`)\n this.listeQuestions.push(\n 'What time is it hottest?'\n )\n this.listeCorrections.push(`It is at ${hmax} h that it is hottest.`)\n this.listeQuestions.push(\n 'What time is it coldest?'\n )\n this.listeCorrections.push(`It is at ${hmin} h that it is the coldest.`)\n\n break\n }\n if (context.isAmc) {\n enonceAMC = this.introduction\n for (let i = 0; i < this.listeQuestions.length; i++) {\n enonceAMC += `${i + 1}) ${this.listeQuestions[i]}<br>`\n }\n switch (typeDeProbleme) {\n case 'bike':\n this.autoCorrection[0] = {\n enonce: enonceAMC,\n propositions: [\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[0],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: 40,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[1],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: 2 * v3,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCOpen',\n propositions: [{\n texte: this.listeCorrections[2],\n statut: 2\n }]\n },\n {\n type: 'AMCOpen',\n propositions: [{\n texte: this.listeCorrections[3],\n statut: 2\n }]\n }\n ]\n }\n break\n case 'projectile':\n this.autoCorrection[0] = {\n enonce: enonceAMC,\n propositions: [\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[0],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: calculANePlusJamaisUtiliser(t1),\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[1],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: Math.round(f(t1 / 2)),\n param: {\n digits: 3,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n }\n ]\n }\n break\n case 'projectile2':\n this.autoCorrection[0] = {\n enonce: enonceAMC,\n propositions: [\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[0],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: t1,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[1],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: Math.round(f(t1 / 2)),\n param: {\n digits: 3,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n }\n ]\n }\n break\n case 'temperature':\n this.autoCorrection[0] = {\n enonce: enonceAMC,\n propositions: [\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[0],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: tmin,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[1],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: tmax,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[2],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: hmax,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n },\n {\n type: 'AMCNum',\n propositions: [{\n texte: this.listeCorrections[3],\n statut: '',\n reponse: {\n texte: '1)',\n valeur: hmin,\n param: {\n digits: 2,\n decimals: 0,\n signe: false,\n approx: 0\n }\n }\n }]\n }\n ]\n }\n break\n }\n } else listeQuestionsToContenu(this)\n }\n this.besoinFormulaireNumerique = ['Choice of problems', 4, '1: Projectile\\n2: Bike ride\\n3: Temperature\\n4: Random']\n}\n"],"names":["titre","amcReady","amcType","uuid","ref","ExploiterRepresentationGraphique","Exercice","vitessesInitiales","vitessesInitialesBis","V0","xscale","zero","typeDeProbleme","enonceAMC","v1","v2","v3","situation","repeRe","tempsPause","periodeRapide","choice","f","t1","l","g1","r","graphique","fille","hmin","hmax","tmin","tmax","x","repere","courbe","texteParPosition","mathalea2d","fixeBordures","texNombre","randint","grille","polyline","point","prenomF","vide2d","courbeInterpolee","context","i","calculANePlusJamaisUtiliser","listeQuestionsToContenu"],"mappings":"4QAYY,MAACA,EAAQ,8DACRC,EAAW,GACXC,EAAU,aAOVC,EAAO,QACPC,EAAM,OACJ,SAASC,GAAoC,CAC1DC,EAAS,KAAK,IAAI,EAClB,KAAK,MAAQN,EACb,KAAK,SAAW,GAChB,KAAK,YAAc,EACnB,KAAK,OAAS,EACd,KAAK,WAAa,EAClB,KAAK,sBAAwB,GAC7B,KAAK,IAAM,EAEX,KAAK,gBAAkB,U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