math-exercises 2.2.4 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/lib/exercises/exercise.d.ts +1 -1
  2. package/lib/exercises/exercise.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/digitDecimalRank.js +4 -4
  4. package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts +8 -0
  5. package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts.map +1 -0
  6. package/lib/exercises/math/calcul/digitDecimalRankNumber.js +60 -0
  7. package/lib/exercises/math/calcul/digitRank.js +4 -4
  8. package/lib/exercises/math/calcul/digitRankNumber.d.ts +8 -0
  9. package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -0
  10. package/lib/exercises/math/calcul/digitRankNumber.js +56 -0
  11. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
  12. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +34 -0
  13. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
  14. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +17 -0
  15. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
  16. package/lib/exercises/math/calcul/fractions/fractionsDivision.js +23 -0
  17. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
  18. package/lib/exercises/math/calcul/fractions/fractionsProduct.js +15 -0
  19. package/lib/exercises/math/calcul/index.d.ts +2 -0
  20. package/lib/exercises/math/calcul/index.d.ts.map +1 -1
  21. package/lib/exercises/math/calcul/index.js +2 -0
  22. package/lib/exercises/math/calcul/proportionality/scaleUsage.js +1 -1
  23. package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
  24. package/lib/exercises/math/calcul/rounding/rounding.js +18 -0
  25. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.d.ts.map +1 -1
  26. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.js +1 -0
  27. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -1
  28. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +1 -0
  29. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.d.ts.map +1 -1
  30. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.js +31 -1
  31. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -1
  32. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +11 -2
  33. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.d.ts.map +1 -1
  34. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.js +21 -2
  35. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.d.ts.map +1 -1
  36. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.js +23 -2
  37. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.d.ts.map +1 -1
  38. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.js +17 -2
  39. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.d.ts.map +1 -1
  40. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.js +21 -2
  41. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
  42. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +26 -1
  43. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.d.ts.map +1 -1
  44. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.js +18 -2
  45. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
  46. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.js +19 -2
  47. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.d.ts.map +1 -1
  48. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.js +15 -2
  49. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.d.ts.map +1 -1
  50. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.js +20 -5
  51. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
  52. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +24 -1
  53. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
  54. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +20 -1
  55. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -1
  56. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +19 -3
  57. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
  58. package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +24 -8
  59. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
  60. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +21 -2
  61. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
  62. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +24 -4
  63. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
  64. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +25 -5
  65. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  66. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +19 -0
  67. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
  68. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +1 -0
  69. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts +8 -0
  70. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -0
  71. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +77 -0
  72. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts +8 -0
  73. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -0
  74. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +80 -0
  75. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +2 -0
  76. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
  77. package/lib/exercises/math/calculLitteral/factorisation/index.js +2 -0
  78. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
  79. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +1 -0
  80. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts +2 -0
  81. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts.map +1 -1
  82. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.js +46 -66
  83. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
  84. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +12 -2
  85. package/lib/exercises/math/functions/trinoms/index.d.ts +2 -0
  86. package/lib/exercises/math/functions/trinoms/index.d.ts.map +1 -1
  87. package/lib/exercises/math/functions/trinoms/index.js +2 -0
  88. package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.d.ts +5 -0
  89. package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.d.ts.map +1 -0
  90. package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.js +44 -0
  91. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.d.ts +9 -0
  92. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -0
  93. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.js +134 -0
  94. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.d.ts +7 -0
  95. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.d.ts.map +1 -0
  96. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.js +59 -0
  97. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.d.ts.map +1 -1
  98. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.js +1 -0
  99. package/lib/exercises/math/index.d.ts +1 -0
  100. package/lib/exercises/math/index.d.ts.map +1 -1
  101. package/lib/exercises/math/index.js +1 -0
  102. package/lib/exercises/math/percent/applyPercent.d.ts.map +1 -1
  103. package/lib/exercises/math/percent/applyPercent.js +20 -2
  104. package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts.map +1 -1
  105. package/lib/exercises/math/probaStat/probaFromTableNoContext.js +5 -4
  106. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts +11 -0
  107. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -0
  108. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.js +49 -0
  109. package/lib/exercises/math/sequences/arithmetic/index.d.ts +1 -0
  110. package/lib/exercises/math/sequences/arithmetic/index.d.ts.map +1 -1
  111. package/lib/exercises/math/sequences/arithmetic/index.js +1 -0
  112. package/lib/exercises/math/spaceGeometry/index.d.ts +2 -0
  113. package/lib/exercises/math/spaceGeometry/index.d.ts.map +1 -0
  114. package/lib/exercises/math/spaceGeometry/index.js +17 -0
  115. package/lib/exercises/math/spaceGeometry/vectors/index.d.ts +4 -0
  116. package/lib/exercises/math/spaceGeometry/vectors/index.d.ts.map +1 -0
  117. package/lib/exercises/math/spaceGeometry/vectors/index.js +19 -0
  118. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts +5 -0
  119. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -0
  120. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +52 -0
  121. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts +5 -0
  122. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -0
  123. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.js +62 -0
  124. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts +9 -0
  125. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -0
  126. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +54 -0
  127. package/lib/exercises/math/squareRoots/squareRootIdentities.js +3 -3
  128. package/lib/exercises/math/suites/sequencePlot.d.ts.map +1 -1
  129. package/lib/exercises/math/suites/sequencePlot.js +1 -2
  130. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
  131. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +1 -0
  132. package/lib/exercises/pc/calibrationCurveOfSolution.d.ts.map +1 -1
  133. package/lib/exercises/pc/calibrationCurveOfSolution.js +1 -0
  134. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts.map +1 -1
  135. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +1 -0
  136. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -1
  137. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +1 -0
  138. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.d.ts.map +1 -1
  139. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +1 -0
  140. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -1
  141. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +1 -0
  142. package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
  143. package/lib/exercises/pc/dosage/beerLambertRandomValue.js +1 -0
  144. package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -1
  145. package/lib/exercises/pc/dosage/concentrationCalculation.js +1 -0
  146. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts.map +1 -1
  147. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +1 -0
  148. package/lib/exercises/pc/electricity/calculateIntensity.js +1 -1
  149. package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -1
  150. package/lib/exercises/pc/electricity/calculateVoltage.js +1 -0
  151. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -1
  152. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +1 -0
  153. package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -1
  154. package/lib/exercises/pc/electricity/ohmLaw.js +1 -0
  155. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts.map +1 -1
  156. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.js +1 -0
  157. package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -1
  158. package/lib/exercises/pc/energy/calorificValue.js +1 -0
  159. package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts.map +1 -1
  160. package/lib/exercises/pc/energy/combustionTransferEnergy.js +1 -0
  161. package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -1
  162. package/lib/exercises/pc/energy/combustionTransferEnergy2.js +1 -0
  163. package/lib/exercises/pc/energy/efficencyOfConverter.d.ts.map +1 -1
  164. package/lib/exercises/pc/energy/efficencyOfConverter.js +1 -0
  165. package/lib/exercises/pc/energy/efficiencyCalculation.d.ts.map +1 -1
  166. package/lib/exercises/pc/energy/efficiencyCalculation.js +1 -0
  167. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts.map +1 -1
  168. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +1 -0
  169. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts.map +1 -1
  170. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +1 -0
  171. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts.map +1 -1
  172. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +1 -0
  173. package/lib/exercises/pc/forces/electroStaticForce.d.ts.map +1 -1
  174. package/lib/exercises/pc/forces/electroStaticForce.js +1 -0
  175. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
  176. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +1 -0
  177. package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -1
  178. package/lib/exercises/pc/forces/gravitationalForcePlanets.js +1 -0
  179. package/lib/exercises/pc/forces/massWeight.d.ts.map +1 -1
  180. package/lib/exercises/pc/forces/massWeight.js +1 -0
  181. package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -1
  182. package/lib/exercises/pc/motion/averageSpeed.js +1 -0
  183. package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -1
  184. package/lib/exercises/pc/motion/averageSpeedCalculation.js +1 -0
  185. package/lib/exercises/pc/motion/motionReference.d.ts.map +1 -1
  186. package/lib/exercises/pc/motion/motionReference.js +1 -0
  187. package/lib/exercises/pc/pH.d.ts.map +1 -1
  188. package/lib/exercises/pc/pH.js +1 -0
  189. package/lib/exercises/pc/power/calculatePowerOfLight.d.ts.map +1 -1
  190. package/lib/exercises/pc/power/calculatePowerOfLight.js +1 -0
  191. package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
  192. package/lib/exercises/pc/spectral/spectralEnergy.js +1 -0
  193. package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -1
  194. package/lib/exercises/pc/waves/lightDistanceConversion.js +1 -0
  195. package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
  196. package/lib/exercises/pc/waves/periodicWaveCelerity.js +1 -0
  197. package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -1
  198. package/lib/exercises/pc/weight/calculateWeight.js +1 -0
  199. package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
  200. package/lib/exercises/pc/weight/weightOnTheMoon.js +1 -0
  201. package/lib/index.d.ts +33 -64
  202. package/lib/index.d.ts.map +1 -1
  203. package/lib/index.js +4 -0
  204. package/lib/math/geometry/spacePoint.d.ts +27 -0
  205. package/lib/math/geometry/spacePoint.d.ts.map +1 -0
  206. package/lib/math/geometry/spacePoint.js +80 -0
  207. package/lib/math/geometry/spaceVector.d.ts +28 -0
  208. package/lib/math/geometry/spaceVector.d.ts.map +1 -0
  209. package/lib/math/geometry/spaceVector.js +83 -0
  210. package/lib/math/numbers/decimals/decimal.d.ts +1 -0
  211. package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
  212. package/lib/math/numbers/decimals/decimal.js +8 -0
  213. package/lib/math/numbers/rationals/rational.d.ts +1 -0
  214. package/lib/math/numbers/rationals/rational.d.ts.map +1 -1
  215. package/lib/math/numbers/rationals/rational.js +4 -0
  216. package/lib/math/utils/random/randTupleInt.d.ts +1 -0
  217. package/lib/math/utils/random/randTupleInt.d.ts.map +1 -1
  218. package/lib/math/utils/random/randTupleInt.js +5 -1
  219. package/lib/playground.d.ts +2 -0
  220. package/lib/playground.d.ts.map +1 -0
  221. package/lib/playground.js +20 -0
  222. package/lib/server.d.ts +3 -0
  223. package/lib/server.d.ts.map +1 -1
  224. package/lib/server.js +7 -0
  225. package/lib/tree/nodes/equations/equationSolutionNode.d.ts.map +1 -1
  226. package/lib/tree/nodes/equations/equationSolutionNode.js +8 -0
  227. package/lib/tree/nodes/node.d.ts +1 -0
  228. package/lib/tree/nodes/node.d.ts.map +1 -1
  229. package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
  230. package/lib/tree/nodes/operators/multiplyNode.js +8 -2
  231. package/lib/tree/nodes/operators/powerNode.js +1 -1
  232. package/lib/utils/alignTex.d.ts +2 -0
  233. package/lib/utils/alignTex.d.ts.map +1 -0
  234. package/lib/utils/alignTex.js +18 -0
  235. package/package.json +1 -1
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.arithmeticFindRandomTermFromTwoTerms = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const randint_1 = require("../../../../math/utils/random/randint");
7
+ const getArithmeticFindRandomTermFromTwoTermsQuestion = () => {
8
+ const rank1 = (0, randint_1.randint)(0, 10);
9
+ const rank2 = rank1 + (0, randint_1.randint)(2, 6);
10
+ const reason = (0, randint_1.randint)(-10, 10, [0]);
11
+ const value1 = (0, randint_1.randint)(-10, 10);
12
+ const value2 = reason * (rank2 - rank1) + value1;
13
+ const rankAsked = (0, randint_1.randint)(0, 15, [rank1, rank2]);
14
+ const value3 = reason * (rankAsked - rank1) + value1;
15
+ const answer = value3 + "";
16
+ const question = {
17
+ answer,
18
+ instruction: `Soit $u$ une suite arithmétique telle que $u_{${rank1}} = ${value1}$ et $u_{${rank2}} = ${value2}$. Quelle est la valeur de $u_{${rankAsked}}$ ?`,
19
+ keys: [],
20
+ answerFormat: "tex",
21
+ identifiers: { rank1, value1, rank2, value2, rankAsked },
22
+ };
23
+ return question;
24
+ };
25
+ const getPropositions = (n, { answer }) => {
26
+ const propositions = [];
27
+ (0, exercise_1.addValidProp)(propositions, answer);
28
+ while (propositions.length < n) {
29
+ (0, exercise_1.tryToAddWrongProp)(propositions, (0, randint_1.randint)(-20, 20) + "");
30
+ }
31
+ return (0, exercise_1.shuffleProps)(propositions, n);
32
+ };
33
+ const isAnswerValid = (ans, { answer }) => {
34
+ return ans === answer;
35
+ };
36
+ exports.arithmeticFindRandomTermFromTwoTerms = {
37
+ id: "arithmeticFindRandomTermFromTwoTerms",
38
+ connector: "=",
39
+ label: "Déterminer un terme d'une suite arithmétique en en connaissant deux autres",
40
+ levels: [],
41
+ isSingleStep: true,
42
+ sections: [],
43
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getArithmeticFindRandomTermFromTwoTermsQuestion, nb),
44
+ qcmTimer: 60,
45
+ freeTimer: 60,
46
+ getPropositions,
47
+ isAnswerValid,
48
+ subject: "Mathématiques",
49
+ };
@@ -12,4 +12,5 @@ export * from "./recognizeArithmeticFromGraph";
12
12
  export * from "./arithmeticFirstTermsSum";
13
13
  export * from "./arithmeticFindExplictFormulaFirstTermRandom";
14
14
  export * from "./arithmeticFindReasonRandomRange";
15
+ export * from "./arithmeticFindRandomTermFromTwoTerms";
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/arithmetic/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/arithmetic/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC"}
@@ -28,3 +28,4 @@ __exportStar(require("./recognizeArithmeticFromGraph"), exports);
28
28
  __exportStar(require("./arithmeticFirstTermsSum"), exports);
29
29
  __exportStar(require("./arithmeticFindExplictFormulaFirstTermRandom"), exports);
30
30
  __exportStar(require("./arithmeticFindReasonRandomRange"), exports);
31
+ __exportStar(require("./arithmeticFindRandomTermFromTwoTerms"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./vectors";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/spaceGeometry/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./vectors"), exports);
@@ -0,0 +1,4 @@
1
+ export * from "./spaceVectorNormCalculation";
2
+ export * from "./spaceVectorCoordinatesFromPoints";
3
+ export * from "./spaceVectorLinearCombinationCoords";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./spaceVectorNormCalculation"), exports);
18
+ __exportStar(require("./spaceVectorCoordinatesFromPoints"), exports);
19
+ __exportStar(require("./spaceVectorLinearCombinationCoords"), exports);
@@ -0,0 +1,5 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {};
3
+ export declare const spaceVectorCoordinatesFromPoints: Exercise<Identifiers>;
4
+ export {};
5
+ //# sourceMappingURL=spaceVectorCoordinatesFromPoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spaceVectorCoordinatesFromPoints.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG,EAAE,CAAC;AA6CtB,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAelE,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.spaceVectorCoordinatesFromPoints = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const spacePoint_1 = require("../../../../math/geometry/spacePoint");
7
+ const spaceVector_1 = require("../../../../math/geometry/spaceVector");
8
+ const getSpaceVectorCoordinatesFromPointsQuestion = () => {
9
+ const points = spacePoint_1.SpacePointConstructor.randomDifferent(["A", "B"]);
10
+ const vector = spaceVector_1.SpaceVectorConstructor.fromPoints(points[0], points[1]);
11
+ const answer = vector.toInlineCoordsTex();
12
+ const question = {
13
+ answer,
14
+ instruction: `Soit deux points $${points[0].toTexWithCoords()}$ et $${points[1].toTexWithCoords()}$. Quelles sont les coordonnées du vecteur $\\overrightarrow{AB}$ ?`,
15
+ keys: ["semicolon"],
16
+ answerFormat: "tex",
17
+ identifiers: {
18
+ ax: points[0].x.evaluate({}),
19
+ ay: points[0].y.evaluate({}),
20
+ az: points[0].z.evaluate({}),
21
+ bx: points[1].x.evaluate({}),
22
+ by: points[1].y.evaluate({}),
23
+ bz: points[1].z.evaluate({}),
24
+ },
25
+ };
26
+ return question;
27
+ };
28
+ const getPropositions = (n, { answer }) => {
29
+ const propositions = [];
30
+ (0, exercise_1.addValidProp)(propositions, answer);
31
+ while (propositions.length < n) {
32
+ (0, exercise_1.tryToAddWrongProp)(propositions, spacePoint_1.SpacePointConstructor.random("C").toCoords());
33
+ }
34
+ return (0, exercise_1.shuffleProps)(propositions, n);
35
+ };
36
+ const isAnswerValid = (ans, { answer }) => {
37
+ return [ans, ans.replace(",", ";"), "\\left(" + ans + "\\right)"].includes(answer);
38
+ };
39
+ exports.spaceVectorCoordinatesFromPoints = {
40
+ id: "spaceVectorCoordinatesFromPoints",
41
+ connector: "=",
42
+ label: "Déterminer les coordonnées d'un vecteur à partir de deux points (dans l'espace)",
43
+ levels: [],
44
+ isSingleStep: true,
45
+ sections: [],
46
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getSpaceVectorCoordinatesFromPointsQuestion, nb),
47
+ qcmTimer: 60,
48
+ freeTimer: 60,
49
+ getPropositions,
50
+ isAnswerValid,
51
+ subject: "Mathématiques",
52
+ };
@@ -0,0 +1,5 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {};
3
+ export declare const spaceVectorLinearCombinationCoords: Exercise<Identifiers>;
4
+ export {};
5
+ //# sourceMappingURL=spaceVectorLinearCombinationCoords.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spaceVectorLinearCombinationCoords.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG,EAAE,CAAC;AA2DtB,eAAO,MAAM,kCAAkC,EAAE,QAAQ,CAAC,WAAW,CAepE,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.spaceVectorLinearCombinationCoords = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const spacePoint_1 = require("../../../../math/geometry/spacePoint");
7
+ const spaceVector_1 = require("../../../../math/geometry/spaceVector");
8
+ const randint_1 = require("../../../../math/utils/random/randint");
9
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
10
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
11
+ // coords de au + bv en 3D
12
+ const getSpaceVectorLinearCombinationCoordsQuestion = () => {
13
+ const a = (0, randint_1.randint)(-10, 11, [0]);
14
+ const b = (0, randint_1.randint)(-10, 11, [0]);
15
+ const [u, v] = spaceVector_1.SpaceVectorConstructor.randomDifferents(["u", "v"], false);
16
+ const answer = u
17
+ .times(a.toTree())
18
+ .add(v.times(b.toTree()))
19
+ .toInlineCoordsTex();
20
+ const question = {
21
+ answer,
22
+ instruction: `Soit deux vecteurs $${u.toTexWithCoords()}$ et $${v.toTexWithCoords()}$. Calculer les coordonnées du vecteur $${new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(a.toTree(), u.toTex().toTree()), new multiplyNode_1.MultiplyNode(b.toTree(), v.toTex().toTree())).toTex()}$`,
23
+ keys: ["semicolon"],
24
+ answerFormat: "tex",
25
+ identifiers: {
26
+ a,
27
+ b,
28
+ ux: u.x.evaluate({}),
29
+ uy: u.y.evaluate({}),
30
+ uz: u.z.evaluate({}),
31
+ vx: v.x.evaluate({}),
32
+ vy: v.y.evaluate({}),
33
+ vz: v.z.evaluate({}),
34
+ },
35
+ };
36
+ return question;
37
+ };
38
+ const getPropositions = (n, { answer }) => {
39
+ const propositions = [];
40
+ (0, exercise_1.addValidProp)(propositions, answer);
41
+ while (propositions.length < n) {
42
+ (0, exercise_1.tryToAddWrongProp)(propositions, spacePoint_1.SpacePointConstructor.random("A", { min: -100, max: 100 }, { min: -100, max: 100 }, { min: -100, max: 100 }).toCoords());
43
+ }
44
+ return (0, exercise_1.shuffleProps)(propositions, n);
45
+ };
46
+ const isAnswerValid = (ans, { answer }) => {
47
+ return [ans, ans.replace(",", ";"), "\\left(" + ans + "\\right)"].includes(answer);
48
+ };
49
+ exports.spaceVectorLinearCombinationCoords = {
50
+ id: "spaceVectorLinearCombinationCoords",
51
+ connector: "=",
52
+ label: "Calcul des coordonnées du vecteur $a\\overrightarrow{u} + b\\overrightarrow{v}$ (dans l'espace)",
53
+ levels: [],
54
+ isSingleStep: true,
55
+ sections: [],
56
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getSpaceVectorLinearCombinationCoordsQuestion, nb),
57
+ qcmTimer: 60,
58
+ freeTimer: 60,
59
+ getPropositions,
60
+ isAnswerValid,
61
+ subject: "Mathématiques",
62
+ };
@@ -0,0 +1,9 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ x: number;
4
+ y: number;
5
+ z: number;
6
+ };
7
+ export declare const spaceVectorNormCalculation: Exercise<Identifiers>;
8
+ export {};
9
+ //# sourceMappingURL=spaceVectorNormCalculation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spaceVectorNormCalculation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2CF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.spaceVectorNormCalculation = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const spaceVector_1 = require("../../../../math/geometry/spaceVector");
7
+ const real_1 = require("../../../../math/numbers/reals/real");
8
+ const sqrtNode_1 = require("../../../../tree/nodes/functions/sqrtNode");
9
+ const getSpaceVectorNormCalculationQuestion = () => {
10
+ const u = spaceVector_1.SpaceVectorConstructor.random("u", false);
11
+ const correctAnswer = u.getNorm();
12
+ const question = {
13
+ answer: correctAnswer.simplify().toTex(),
14
+ instruction: `Cacluler la norme du vecteur $${u.toTexWithCoords()}$`,
15
+ keys: [],
16
+ answerFormat: "tex",
17
+ identifiers: {
18
+ x: u.x.evaluate({}),
19
+ y: u.y.evaluate({}),
20
+ z: u.z.evaluate({}),
21
+ },
22
+ };
23
+ return question;
24
+ };
25
+ const getPropositions = (n, { answer, x, y, z }) => {
26
+ const propositions = [];
27
+ (0, exercise_1.addValidProp)(propositions, answer);
28
+ (0, exercise_1.tryToAddWrongProp)(propositions, (x + y + z).toTree().toTex());
29
+ let sqrtRand;
30
+ while (propositions.length < n) {
31
+ sqrtRand = real_1.SquareRootConstructor.randomSimplifiable({});
32
+ (0, exercise_1.tryToAddWrongProp)(propositions, sqrtRand.simplify().toTree().toTex());
33
+ }
34
+ return (0, exercise_1.shuffleProps)(propositions, n);
35
+ };
36
+ const isAnswerValid = (ans, { x, y, z }) => {
37
+ const correctAnswer = new sqrtNode_1.SqrtNode((x ** 2 + y ** 2 + z ** 2).toTree());
38
+ return correctAnswer
39
+ .toAllValidTexs({ allowSimplifySqrt: true })
40
+ .includes(ans);
41
+ };
42
+ exports.spaceVectorNormCalculation = {
43
+ id: "spaceVectorNormCalculation",
44
+ label: "Calculer la norme d'un vecteur (dans l'espace)",
45
+ levels: ["2nde"],
46
+ isSingleStep: true,
47
+ sections: ["Vecteurs"],
48
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getSpaceVectorNormCalculationQuestion, nb),
49
+ qcmTimer: 60,
50
+ freeTimer: 60,
51
+ getPropositions,
52
+ isAnswerValid,
53
+ subject: "Mathématiques",
54
+ };
@@ -16,12 +16,12 @@ const shuffle_1 = require("../../../utils/shuffle");
16
16
  const getAnswer = (type, firstTerm, secondTerm) => {
17
17
  switch (type) {
18
18
  case 1: //(a+b)^2
19
- return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new addNode_1.AddNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify();
19
+ return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new addNode_1.AddNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify({ keepPowers: false });
20
20
  case 2:
21
- return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new substractNode_1.SubstractNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify();
21
+ return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new substractNode_1.SubstractNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify({ keepPowers: false });
22
22
  case 3:
23
23
  default:
24
- return new substractNode_1.SubstractNode(new powerNode_1.SquareNode(firstTerm), new powerNode_1.SquareNode(secondTerm)).simplify();
24
+ return new substractNode_1.SubstractNode(new powerNode_1.SquareNode(firstTerm), new powerNode_1.SquareNode(secondTerm)).simplify({ keepPowers: false });
25
25
  }
26
26
  };
27
27
  //(x sqrt(a) +- [y || y*sqrt(b)])^2
@@ -1 +1 @@
1
- {"version":3,"file":"sequencePlot.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/suites/sequencePlot.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAsFF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAc9C,CAAC"}
1
+ {"version":3,"file":"sequencePlot.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/suites/sequencePlot.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAqFF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAc9C,CAAC"}
@@ -41,10 +41,9 @@ const getSequencePlotQuestion = () => {
41
41
  isXAxesNatural: true,
42
42
  isGridSimple: true,
43
43
  });
44
- const sequenceType = isArithmetic ? "arithmétique" : "géométrique";
45
44
  const question = {
46
45
  answer: u_nValue.toString(),
47
- instruction: `Ci-dessous est tracé un nuage de points représentant les valeurs d'une suite ${sequenceType} $(u_n)$. Quelle est la valeur de $u_{${nValue}}$ ?`,
46
+ instruction: `Ci-dessous est tracé un nuage de points représentant les valeurs d'une suite $(u_n)$. Quelle est la valeur de $u_{${nValue}}$ ?`,
48
47
  commands: ggb.commands,
49
48
  options: ggb.getOptions(),
50
49
  coords: ggb.getAdaptedCoords({
@@ -1 +1 @@
1
- {"version":3,"file":"trigonometrySideCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometrySideCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAuMF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAexD,CAAC"}
1
+ {"version":3,"file":"trigonometrySideCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometrySideCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAuMF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAgBxD,CAAC"}
@@ -156,4 +156,5 @@ exports.trigonometrySideCalcul = {
156
156
  isAnswerValid,
157
157
  hasGeogebra: true,
158
158
  subject: "Mathématiques",
159
+ hasHintAndCorrection: true,
159
160
  };
@@ -1 +1 @@
1
- {"version":3,"file":"calibrationCurveOfSolution.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/calibrationCurveOfSolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
1
+ {"version":3,"file":"calibrationCurveOfSolution.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/calibrationCurveOfSolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
@@ -89,4 +89,5 @@ exports.calibrationCurveOfSolution = {
89
89
  isGGBAnswerValid,
90
90
  answerType: "GGB",
91
91
  subject: "Physique",
92
+ hasHintAndCorrection: true,
92
93
  };
@@ -1 +1 @@
1
- {"version":3,"file":"findAtomicStructureElement.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findAtomicStructureElement.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,sBAAsB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAQhE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,sBAAsB,CAAC;CACvC,CAAC;AAoFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
1
+ {"version":3,"file":"findAtomicStructureElement.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findAtomicStructureElement.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,sBAAsB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAQhE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,sBAAsB,CAAC;CACvC,CAAC;AAoFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
@@ -77,4 +77,5 @@ exports.findAtomicStructureElement = {
77
77
  getPropositions,
78
78
  isAnswerValid,
79
79
  subject: "Chimie",
80
+ hasHintAndCorrection: true,
80
81
  };
@@ -1 +1 @@
1
- {"version":3,"file":"massOrVolumeProportion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/massOrVolumeProportion.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,UAAU,GAAG,WAAW,CAAC;CAC5C,CAAC;AAsIF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAchE,CAAC"}
1
+ {"version":3,"file":"massOrVolumeProportion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/massOrVolumeProportion.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,UAAU,GAAG,WAAW,CAAC;CAC5C,CAAC;AAsIF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAehE,CAAC"}
@@ -96,4 +96,5 @@ exports.MassOrVolumeProportionExercise = {
96
96
  getPropositions,
97
97
  isAnswerValid,
98
98
  subject: "Chimie",
99
+ hasHintAndCorrection: true,
99
100
  };
@@ -1 +1 @@
1
- {"version":3,"file":"calculateSynthesisEfficiency.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA6EF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAa9D,CAAC"}
1
+ {"version":3,"file":"calculateSynthesisEfficiency.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA6EF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAc9D,CAAC"}
@@ -56,4 +56,5 @@ exports.calculateSynthesisEfficiency = {
56
56
  getPropositions,
57
57
  isAnswerValid,
58
58
  subject: "Chimie",
59
+ hasHintAndCorrection: true,
59
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"titrationEquivalenceRelation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalReactions/titrationEquivalenceRelation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAwMF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAe9D,CAAC"}
1
+ {"version":3,"file":"titrationEquivalenceRelation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalReactions/titrationEquivalenceRelation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAwMF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAgB9D,CAAC"}
@@ -177,4 +177,5 @@ exports.titrationEquivalenceRelation = {
177
177
  isAnswerValid,
178
178
  maxAllowedQuestions: 10,
179
179
  subject: "Physique",
180
+ hasHintAndCorrection: true,
180
181
  };
@@ -1 +1 @@
1
- {"version":3,"file":"beerLambertRandomValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/dosage/beerLambertRandomValue.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAmNF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAahE,CAAC"}
1
+ {"version":3,"file":"beerLambertRandomValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/dosage/beerLambertRandomValue.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAmNF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAchE,CAAC"}
@@ -160,4 +160,5 @@ exports.BeerLambertRandomValueExercise = {
160
160
  getPropositions,
161
161
  isAnswerValid,
162
162
  subject: "Chimie",
163
+ hasHintAndCorrection: true,
163
164
  };
@@ -1 +1 @@
1
- {"version":3,"file":"concentrationCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/dosage/concentrationCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC3B,CAAC;AA6IF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAa1D,CAAC"}
1
+ {"version":3,"file":"concentrationCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/dosage/concentrationCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC3B,CAAC;AA6IF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAc1D,CAAC"}
@@ -115,4 +115,5 @@ exports.concentrationCalculation = {
115
115
  getPropositions,
116
116
  isAnswerValid,
117
117
  subject: "Chimie",
118
+ hasHintAndCorrection: true,
118
119
  };
@@ -1 +1 @@
1
- {"version":3,"file":"concentrationFromMassCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/dosage/concentrationFromMassCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC3B,CAAC;AA2IF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAclE,CAAC"}
1
+ {"version":3,"file":"concentrationFromMassCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/dosage/concentrationFromMassCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC3B,CAAC;AA2IF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAelE,CAAC"}
@@ -113,4 +113,5 @@ exports.concentrationFromMassCalculation = {
113
113
  getPropositions,
114
114
  isAnswerValid,
115
115
  subject: "Chimie",
116
+ hasHintAndCorrection: true,
116
117
  };
@@ -11,7 +11,7 @@ const getCalculateIntensityQuestion = () => {
11
11
  instruction: exo.instruction +
12
12
  `![](https://heureuxhasarddocsbucket.s3.eu-west-3.amazonaws.com/xpliveV2/activities/quizzes/generator/electricCircuit2.png)`,
13
13
  keys: [],
14
- correction: `1 - Calculer l'instensité au bord de la lampe à l'aide de la loi des noeuds : $L_1+L_2=L$ $\\Rightarrow$ $${exo.l1}+${exo.l2}=${exo.answer}$ $mA$`,
14
+ // correction: `1 - Calculer l'instensité au bord de la lampe à l'aide de la loi des noeuds : $L_1+L_2=L$ $\\Rightarrow$ $${exo.l1}+${exo.l2}=${exo.answer}$ $mA$`,
15
15
  answerFormat: "tex",
16
16
  identifiers: { l1: exo.l1, l2: exo.l2 },
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"calculateVoltage.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/calculateVoltage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAiKF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
1
+ {"version":3,"file":"calculateVoltage.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/calculateVoltage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAiKF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAclD,CAAC"}
@@ -140,4 +140,5 @@ exports.calculateVoltage = {
140
140
  getPropositions,
141
141
  isAnswerValid,
142
142
  subject: "Physique",
143
+ hasHintAndCorrection: true,
143
144
  };
@@ -1 +1 @@
1
- {"version":3,"file":"electricPowerOrEnergyCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/electricPowerOrEnergyCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAwFtE,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAalE,CAAC"}
1
+ {"version":3,"file":"electricPowerOrEnergyCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/electricPowerOrEnergyCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAwFtE,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAclE,CAAC"}
@@ -77,4 +77,5 @@ exports.electricPowerOrEnergyCalculation = {
77
77
  getPropositions,
78
78
  isAnswerValid,
79
79
  subject: "Physique",
80
+ hasHintAndCorrection: true,
80
81
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ohmLaw.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/ohmLaw.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAsJF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAYhD,CAAC"}
1
+ {"version":3,"file":"ohmLaw.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/ohmLaw.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAsJF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAahD,CAAC"}
@@ -118,5 +118,6 @@ exports.OhmLawExercise = {
118
118
  freeTimer: 60,
119
119
  getPropositions,
120
120
  isAnswerValid,
121
+ hasHintAndCorrection: true,
121
122
  subject: "Physique",
122
123
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ohmicConductorOrGenerator.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/ohmicConductorOrGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG,EAAE,CAAC;AA6FtB,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAe3D,CAAC"}
1
+ {"version":3,"file":"ohmicConductorOrGenerator.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/ohmicConductorOrGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG,EAAE,CAAC;AA6FtB,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAgB3D,CAAC"}
@@ -91,4 +91,5 @@ exports.ohmicConductorOrGenerator = {
91
91
  answerType: "QCM",
92
92
  maxAllowedQuestions: 10,
93
93
  subject: "Physique",
94
+ hasHintAndCorrection: true,
94
95
  };
@@ -1 +1 @@
1
- {"version":3,"file":"calorificValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/calorificValue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAgGF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
1
+ {"version":3,"file":"calorificValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/calorificValue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAgGF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAehD,CAAC"}
@@ -74,4 +74,5 @@ exports.calorificValue = {
74
74
  getPropositions,
75
75
  isAnswerValid,
76
76
  subject: "Physique",
77
+ hasHintAndCorrection: true,
77
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"combustionTransferEnergy.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAgGF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAa1D,CAAC"}
1
+ {"version":3,"file":"combustionTransferEnergy.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAgGF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAc1D,CAAC"}
@@ -74,4 +74,5 @@ exports.combustionTransferEnergy = {
74
74
  getPropositions,
75
75
  isAnswerValid,
76
76
  subject: "Physique",
77
+ hasHintAndCorrection: true,
77
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"combustionTransferEnergy2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA2NF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAc3D,CAAC"}
1
+ {"version":3,"file":"combustionTransferEnergy2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA2NF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAe3D,CAAC"}
@@ -137,4 +137,5 @@ exports.combustionTransferEnergy2 = {
137
137
  getPropositions,
138
138
  isAnswerValid,
139
139
  subject: "Physique",
140
+ hasHintAndCorrection: true,
140
141
  };
@@ -1 +1 @@
1
- {"version":3,"file":"efficencyOfConverter.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/efficencyOfConverter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAkFF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAatD,CAAC"}
1
+ {"version":3,"file":"efficencyOfConverter.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/efficencyOfConverter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAkFF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
@@ -80,4 +80,5 @@ exports.efficencyOfConverter = {
80
80
  getPropositions,
81
81
  isAnswerValid,
82
82
  subject: "Physique",
83
+ hasHintAndCorrection: true,
83
84
  };