math-exercises 2.2.7 → 2.2.8

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 (183) hide show
  1. package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -1
  2. package/lib/exercises/math/calcul/arithmetics/divisorsList.js +10 -7
  3. package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
  4. package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +0 -1
  5. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
  6. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +0 -1
  7. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
  8. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +0 -1
  9. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -1
  10. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +0 -1
  11. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts +10 -0
  12. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts.map +1 -0
  13. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.js +61 -0
  14. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts +10 -0
  15. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts.map +1 -0
  16. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.js +56 -0
  17. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts +9 -0
  18. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts.map +1 -0
  19. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +57 -0
  20. package/lib/exercises/math/calcul/fractions/index.d.ts +3 -0
  21. package/lib/exercises/math/calcul/fractions/index.d.ts.map +1 -1
  22. package/lib/exercises/math/calcul/fractions/index.js +3 -0
  23. package/lib/exercises/math/calcul/fractions/simplifyFraction.d.ts.map +1 -1
  24. package/lib/exercises/math/calcul/fractions/simplifyFraction.js +0 -1
  25. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
  26. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +0 -1
  27. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
  28. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.js +0 -1
  29. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
  30. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +0 -1
  31. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -1
  32. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +0 -1
  33. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
  34. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.js +0 -1
  35. package/lib/exercises/math/complex/addComplex.d.ts.map +1 -1
  36. package/lib/exercises/math/complex/addComplex.js +0 -1
  37. package/lib/exercises/math/complex/conjugateComplex.ts.d.ts.map +1 -1
  38. package/lib/exercises/math/complex/conjugateComplex.ts.js +0 -1
  39. package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -1
  40. package/lib/exercises/math/complex/conjugateDivideComplex.js +0 -1
  41. package/lib/exercises/math/complex/inverseComplex.d.ts.map +1 -1
  42. package/lib/exercises/math/complex/inverseComplex.js +0 -1
  43. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.d.ts.map +1 -1
  44. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.js +0 -1
  45. package/lib/exercises/math/complex/mutiplyComplex.d.ts.map +1 -1
  46. package/lib/exercises/math/complex/mutiplyComplex.js +0 -1
  47. package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -1
  48. package/lib/exercises/math/conversion/aeraConversion.js +0 -2
  49. package/lib/exercises/math/conversion/capacityConversion.d.ts.map +1 -1
  50. package/lib/exercises/math/conversion/capacityConversion.js +0 -1
  51. package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
  52. package/lib/exercises/math/conversion/lengthConversion.js +0 -2
  53. package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -1
  54. package/lib/exercises/math/conversion/massConversion.js +0 -2
  55. package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
  56. package/lib/exercises/math/conversion/volumeCapacityConversion.js +0 -2
  57. package/lib/exercises/math/conversion/volumeConversion.d.ts.map +1 -1
  58. package/lib/exercises/math/conversion/volumeConversion.js +0 -2
  59. package/lib/exercises/math/derivation/derivative/expDerivativeOne.d.ts.map +1 -1
  60. package/lib/exercises/math/derivation/derivative/expDerivativeOne.js +0 -1
  61. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
  62. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +0 -1
  63. package/lib/exercises/math/derivation/derivative/lnDerivativeOne.d.ts.map +1 -1
  64. package/lib/exercises/math/derivation/derivative/lnDerivativeOne.js +0 -1
  65. package/lib/exercises/math/derivation/derivative/lnDerivativeThree.d.ts.map +1 -1
  66. package/lib/exercises/math/derivation/derivative/lnDerivativeThree.js +0 -1
  67. package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.d.ts.map +1 -1
  68. package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.js +0 -2
  69. package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.d.ts.map +1 -1
  70. package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.js +0 -1
  71. package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
  72. package/lib/exercises/math/derivation/derivative/quotientDerivative.js +0 -1
  73. package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.d.ts.map +1 -1
  74. package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.js +0 -1
  75. package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.d.ts.map +1 -1
  76. package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.js +0 -1
  77. package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.d.ts.map +1 -1
  78. package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.js +0 -1
  79. package/lib/exercises/math/derivation/derivativeNumberReading.d.ts.map +1 -1
  80. package/lib/exercises/math/derivation/derivativeNumberReading.js +0 -1
  81. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +0 -1
  82. package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.js +0 -1
  83. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -1
  84. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +0 -1
  85. package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -1
  86. package/lib/exercises/math/functions/basics/graphicInequation.js +12 -3
  87. package/lib/exercises/math/functions/cube/cubicEquation.js +0 -1
  88. package/lib/exercises/math/functions/exponential/expEquation.js +0 -1
  89. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
  90. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +3 -4
  91. package/lib/exercises/math/functions/trinoms/rootsFromFactorizedForm.js +0 -1
  92. package/lib/exercises/math/functions/trinoms/secondDegreeInequation.d.ts.map +1 -1
  93. package/lib/exercises/math/functions/trinoms/secondDegreeInequation.js +0 -1
  94. package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.d.ts.map +1 -1
  95. package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.js +0 -2
  96. package/lib/exercises/math/geometry/areas/triangleAreaV2.d.ts.map +1 -1
  97. package/lib/exercises/math/geometry/areas/triangleAreaV2.js +0 -1
  98. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -1
  99. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +0 -1
  100. package/lib/exercises/math/geometry/cartesian/midpoint.js +0 -1
  101. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +0 -1
  102. package/lib/exercises/math/geometry/thales/thales.js +0 -1
  103. package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
  104. package/lib/exercises/math/geometry/thales/thalesCalcul.js +0 -1
  105. package/lib/exercises/math/geometry/vectors/alignementViaColinearity.d.ts.map +1 -1
  106. package/lib/exercises/math/geometry/vectors/alignementViaColinearity.js +0 -2
  107. package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.d.ts.map +1 -1
  108. package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.js +0 -2
  109. package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
  110. package/lib/exercises/math/percent/findProportion.js +1 -1
  111. package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
  112. package/lib/exercises/math/percent/percentToDecimal.js +0 -1
  113. package/lib/exercises/math/powers/calculateNegativePower.js +0 -1
  114. package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
  115. package/lib/exercises/math/powers/decimalToScientific.js +0 -1
  116. package/lib/exercises/math/powers/powersPower.d.ts.map +1 -1
  117. package/lib/exercises/math/powers/powersPower.js +0 -1
  118. package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -1
  119. package/lib/exercises/math/powers/scientificToDecimal.js +0 -2
  120. package/lib/exercises/math/primitive/expUPrimitive.js +0 -1
  121. package/lib/exercises/math/primitive/exponentialPrimitive.js +0 -1
  122. package/lib/exercises/math/primitive/logarithmePrimitive.js +0 -1
  123. package/lib/exercises/math/primitive/polynomialPrimitive.js +0 -1
  124. package/lib/exercises/math/primitive/sinCosPrimitive.js +0 -1
  125. package/lib/exercises/math/primitive/sinUCosUPrimitive.js +0 -1
  126. package/lib/exercises/math/probaStat/cardBasicProbas.js +0 -1
  127. package/lib/exercises/math/probaStat/diceBasicProbas.js +0 -1
  128. package/lib/exercises/math/probaStat/probabilityTree.js +0 -1
  129. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -1
  130. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +13 -4
  131. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +0 -1
  132. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.js +0 -1
  133. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts +10 -0
  134. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts.map +1 -0
  135. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.js +48 -0
  136. package/lib/exercises/math/sequences/arithmetic/index.d.ts +1 -0
  137. package/lib/exercises/math/sequences/arithmetic/index.d.ts.map +1 -1
  138. package/lib/exercises/math/sequences/arithmetic/index.js +1 -0
  139. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +1 -1
  140. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -1
  141. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +0 -1
  142. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.d.ts.map +1 -1
  143. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.js +0 -1
  144. package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts +10 -0
  145. package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts.map +1 -0
  146. package/lib/exercises/math/sequences/geometric/geometricFindTerm.js +48 -0
  147. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts +8 -0
  148. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts.map +1 -0
  149. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.js +46 -0
  150. package/lib/exercises/math/sequences/geometric/index.d.ts +2 -0
  151. package/lib/exercises/math/sequences/geometric/index.d.ts.map +1 -1
  152. package/lib/exercises/math/sequences/geometric/index.js +2 -0
  153. package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts +2 -3
  154. package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts.map +1 -1
  155. package/lib/exercises/math/sets/intervals/inequalityToInterval.js +23 -91
  156. package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts +10 -0
  157. package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts.map +1 -0
  158. package/lib/exercises/math/sets/intervals/intervalToInequality.js +112 -0
  159. package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -1
  160. package/lib/exercises/math/squareRoots/squareRootsSum.js +0 -1
  161. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
  162. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.js +0 -1
  163. package/lib/exercises/pc/energy/energyTransfer.d.ts.map +1 -1
  164. package/lib/exercises/pc/energy/energyTransfer.js +0 -1
  165. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
  166. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +0 -1
  167. package/lib/exercises/pc/mecanicalWaves/elongationReading.d.ts.map +1 -1
  168. package/lib/exercises/pc/mecanicalWaves/elongationReading.js +0 -1
  169. package/lib/index.d.ts +29 -3
  170. package/lib/index.d.ts.map +1 -1
  171. package/lib/math/geometry/line.d.ts.map +1 -1
  172. package/lib/math/geometry/line.js +0 -2
  173. package/lib/pc/constants/molecularChemistry/reaction.js +3 -1
  174. package/lib/playground.d.ts.map +1 -1
  175. package/lib/playground.js +2 -2
  176. package/lib/tree/nodes/sets/closure.d.ts +2 -0
  177. package/lib/tree/nodes/sets/closure.d.ts.map +1 -1
  178. package/lib/tree/nodes/sets/closure.js +24 -0
  179. package/lib/tree/nodes/sets/intervalNode.d.ts +3 -0
  180. package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
  181. package/lib/tree/nodes/sets/intervalNode.js +13 -0
  182. package/lib/tree/parsers/latexParser.js +6 -6
  183. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"divisorsList.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/divisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6CF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAY9C,CAAC"}
1
+ {"version":3,"file":"divisorsList.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/divisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAY9C,CAAC"}
@@ -10,11 +10,11 @@ const doWhile_1 = require("../../../../utils/doWhile");
10
10
  const getDivisorsListQuestion = () => {
11
11
  const a = (0, randint_1.randint)(30, 90);
12
12
  const divisors = (0, dividersOf_1.dividersOf)(a);
13
- const answer = divisors.join(",");
13
+ const answer = divisors.join(";");
14
14
  const question = {
15
15
  answer,
16
- instruction: `Donner la liste des diviseurs de $${a}$ (séparer les valeurs par des virgules).`,
17
- keys: [],
16
+ instruction: `Donner la liste des diviseurs de $${a}$ (séparer les valeurs par des point-virgules).`,
17
+ keys: ["semicolon"],
18
18
  answerFormat: "tex",
19
19
  identifiers: { a },
20
20
  };
@@ -23,7 +23,7 @@ const getDivisorsListQuestion = () => {
23
23
  const getPropositions = (n, { answer }) => {
24
24
  const propositions = [];
25
25
  (0, exercise_1.addValidProp)(propositions, answer);
26
- const values = answer.split(",").map((v) => Number(v));
26
+ const values = answer.split(";").map((v) => Number(v));
27
27
  while (propositions.length < n) {
28
28
  const newValue = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(2, values[values.length - 1]), (x) => values.includes(x));
29
29
  const copy = values.slice();
@@ -31,16 +31,19 @@ const getPropositions = (n, { answer }) => {
31
31
  willRemove
32
32
  ? copy.splice((0, randint_1.randint)(0, values.length), 1)
33
33
  : copy.splice(0, 0, newValue);
34
- (0, exercise_1.tryToAddWrongProp)(propositions, willRemove ? copy.join(",") : copy.sort((a, b) => a - b).join(","));
34
+ (0, exercise_1.tryToAddWrongProp)(propositions, willRemove ? copy.join(";") : copy.sort((a, b) => a - b).join(";"));
35
35
  }
36
36
  return (0, exercise_1.shuffleProps)(propositions, n);
37
37
  };
38
38
  const isAnswerValid = (ans, { answer }) => {
39
- let values = ans.split(",").map((v) => Number(v));
39
+ let values = ans
40
+ .replaceAll(",", ";")
41
+ .split(";")
42
+ .map((v) => Number(v));
40
43
  if (values.some((v) => isNaN(v)))
41
44
  return false;
42
45
  values.sort((a, b) => a - b);
43
- return values.join(",") === answer;
46
+ return values.join(";") === answer;
44
47
  };
45
48
  exports.divisorsList = {
46
49
  id: "divisorsList",
@@ -1 +1 @@
1
- {"version":3,"file":"primeNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/primeNumbers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAST,MAAM,mBAAmB,CAAC;AAsD3B,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAuDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAa9C,CAAC"}
1
+ {"version":3,"file":"primeNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/primeNumbers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAST,MAAM,mBAAmB,CAAC;AAsD3B,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAsDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAa9C,CAAC"}
@@ -87,7 +87,6 @@ const isAnswerValid = (ans, { chosenNumbers }) => {
87
87
  });
88
88
  const answer = nodes.length === 1 ? nodes[0] : (0, operatorComposition_1.operatorComposition)(multiplyNode_1.MultiplyNode, nodes);
89
89
  const texs = answer.toAllValidTexs();
90
- console.log(texs);
91
90
  return texs.includes(ans);
92
91
  };
93
92
  exports.primeNumbers = {
@@ -1 +1 @@
1
- {"version":3,"file":"fractionAndIntegerDivision.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionAndIntegerDivision.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AA0FlC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B,CAAC;AAyCF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAe5D,CAAC"}
1
+ {"version":3,"file":"fractionAndIntegerDivision.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionAndIntegerDivision.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AA0FlC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B,CAAC;AAwCF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAe5D,CAAC"}
@@ -92,7 +92,6 @@ const isAnswerValid = (ans, { integer, integerFirst, rational }) => {
92
92
  ? integerObj.divide(rationalObj).toTree({ allowFractionToDecimal: true })
93
93
  : rationalObj.divide(integerObj).toTree({ allowFractionToDecimal: true });
94
94
  const texs = answerTree.toAllValidTexs();
95
- console.log(texs);
96
95
  return texs.includes(ans);
97
96
  };
98
97
  exports.fractionAndIntegerDivision = {
@@ -1 +1 @@
1
- {"version":3,"file":"fractionAndIntegerProduct.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionAndIntegerProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AA2DlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B,CAAC;AAsCF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAe3D,CAAC"}
1
+ {"version":3,"file":"fractionAndIntegerProduct.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionAndIntegerProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AA2DlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B,CAAC;AAqCF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAe3D,CAAC"}
@@ -66,7 +66,6 @@ const isAnswerValid = (ans, { integer, rational }) => {
66
66
  .multiply(integerObj)
67
67
  .toTree({ allowFractionToDecimal: true });
68
68
  const texs = answerTree.toAllValidTexs();
69
- console.log(texs);
70
69
  return texs.includes(ans);
71
70
  };
72
71
  exports.fractionAndIntegerProduct = {
@@ -1 +1 @@
1
- {"version":3,"file":"fractionToPercentToDecimal.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionToPercentToDecimal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AA+FlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAuFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
1
+ {"version":3,"file":"fractionToPercentToDecimal.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionToPercentToDecimal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AA+FlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAsFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
@@ -139,7 +139,6 @@ const isAnswerValid = (ans, { rand, numerator, denominator }) => {
139
139
  throw Error("wrong type in fractiontopercenttodecimal");
140
140
  }
141
141
  const texs = answer.toAllValidTexs();
142
- console.log(texs);
143
142
  return texs.includes(ans);
144
143
  };
145
144
  exports.fractionToPercentToDecimal = {
@@ -0,0 +1,10 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ num1: number;
4
+ num2: number;
5
+ denom1: number;
6
+ denom2: number;
7
+ };
8
+ export declare const fractionsSumsMultiplesDenominators: Exercise<Identifiers>;
9
+ export {};
10
+ //# sourceMappingURL=fractionsSumsMultiplesDenominators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fractionsSumsMultiplesDenominators.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA2DF,eAAO,MAAM,kCAAkC,EAAE,QAAQ,CAAC,WAAW,CAcpE,CAAC"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fractionsSumsMultiplesDenominators = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const rational_1 = require("../../../../math/numbers/rationals/rational");
7
+ const randint_1 = require("../../../../math/utils/random/randint");
8
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
9
+ const coinFlip_1 = require("../../../../utils/coinFlip");
10
+ const getFractionsSumsMultiplesDenominatorsQuestion = () => {
11
+ let denom1 = (0, randint_1.randint)(2, 10);
12
+ let denom2 = denom1 * (0, randint_1.randint)(2, 10);
13
+ if ((0, coinFlip_1.coinFlip)())
14
+ [denom1, denom2] = [denom2, denom1];
15
+ const num1 = (0, randint_1.randint)(1, 10, [denom1]);
16
+ const num2 = (0, randint_1.randint)(1, 10, [denom2]);
17
+ const ratio1 = new rational_1.Rational(num1, denom1);
18
+ const ratio2 = new rational_1.Rational(num2, denom2);
19
+ const statement = new addNode_1.AddNode(ratio1.toTree(), ratio2.toTree()).toTex();
20
+ const answer = ratio1.add(ratio2).toTree().toTex();
21
+ const question = {
22
+ answer,
23
+ instruction: `Calculer et donner le résultat sous forme de fraction irréductible : $${statement}$`,
24
+ keys: [],
25
+ answerFormat: "tex",
26
+ identifiers: { num1, num2, denom1, denom2 },
27
+ };
28
+ return question;
29
+ };
30
+ const getPropositions = (n, { answer, num1, num2, denom1, denom2 }) => {
31
+ const propositions = [];
32
+ (0, exercise_1.addValidProp)(propositions, answer);
33
+ (0, exercise_1.tryToAddWrongProp)(propositions, new rational_1.Rational(num1 + num2, denom1 + denom2).simplify().toTree().toTex());
34
+ while (propositions.length < n) {
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, rational_1.RationalConstructor.randomIrreductible().toTree().toTex());
36
+ }
37
+ return (0, exercise_1.shuffleProps)(propositions, n);
38
+ };
39
+ const isAnswerValid = (ans, { answer, denom1, denom2, num1, num2 }) => {
40
+ const rationalA = new rational_1.Rational(num1, denom1);
41
+ const rationalB = new rational_1.Rational(num2, denom2);
42
+ const answerTree = rationalA
43
+ .add(rationalB)
44
+ .toTree({ allowFractionToDecimal: true });
45
+ const texs = answerTree.toAllValidTexs();
46
+ return texs.includes(ans);
47
+ };
48
+ exports.fractionsSumsMultiplesDenominators = {
49
+ id: "fractionsSumsMultiplesDenominators",
50
+ connector: "=",
51
+ label: "Sommes de fractions (avec dénominateurs multiples l'un de l'autre)",
52
+ levels: [],
53
+ isSingleStep: true,
54
+ sections: [],
55
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFractionsSumsMultiplesDenominatorsQuestion, nb),
56
+ qcmTimer: 60,
57
+ freeTimer: 60,
58
+ getPropositions,
59
+ isAnswerValid,
60
+ subject: "Mathématiques",
61
+ };
@@ -0,0 +1,10 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ num1: number;
4
+ num2: number;
5
+ denom1: number;
6
+ denom2: number;
7
+ };
8
+ export declare const fractionsSumsPrimeDenominators: Exercise<Identifiers>;
9
+ export {};
10
+ //# sourceMappingURL=fractionsSumsPrimeDenominators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fractionsSumsPrimeDenominators.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAkDF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAchE,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fractionsSumsPrimeDenominators = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const rational_1 = require("../../../../math/numbers/rationals/rational");
7
+ const gcd_1 = require("../../../../math/utils/arithmetic/gcd");
8
+ const randint_1 = require("../../../../math/utils/random/randint");
9
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
10
+ const getFractionsSumsPrimeDenominatorsQuestion = () => {
11
+ const denom1 = (0, randint_1.randint)(2, 13);
12
+ let denom2 = 0;
13
+ do {
14
+ denom2 = (0, randint_1.randint)(2, 13);
15
+ } while ((0, gcd_1.gcd)(denom1, denom2) !== 1);
16
+ const num1 = (0, randint_1.randint)(1, 10, [denom1]);
17
+ const num2 = (0, randint_1.randint)(1, 10, [denom2]);
18
+ const ratio1 = new rational_1.Rational(num1, denom1);
19
+ const ratio2 = new rational_1.Rational(num2, denom2);
20
+ const statement = new addNode_1.AddNode(ratio1.toTree(), ratio2.toTree()).toTex();
21
+ const answer = ratio1.add(ratio2).toTree().toTex();
22
+ const question = {
23
+ answer,
24
+ instruction: `Calculer et donner le résultat sous forme de fraction irréductible : $${statement}$`,
25
+ keys: [],
26
+ answerFormat: "tex",
27
+ identifiers: { num1, num2, denom1, denom2 },
28
+ };
29
+ return question;
30
+ };
31
+ const getPropositions = (n, { answer, num1, denom1, denom2, num2 }) => {
32
+ const propositions = [];
33
+ (0, exercise_1.addValidProp)(propositions, answer);
34
+ (0, exercise_1.tryToAddWrongProp)(propositions, new rational_1.Rational(num1 + num2, denom1 + denom2).simplify().toTree().toTex());
35
+ while (propositions.length < n) {
36
+ (0, exercise_1.tryToAddWrongProp)(propositions, rational_1.RationalConstructor.randomIrreductible().toTree().toTex());
37
+ }
38
+ return (0, exercise_1.shuffleProps)(propositions, n);
39
+ };
40
+ const isAnswerValid = (ans, { answer }) => {
41
+ return ans === answer;
42
+ };
43
+ exports.fractionsSumsPrimeDenominators = {
44
+ id: "fractionsSumsPrimeDenominators",
45
+ connector: "=",
46
+ label: "Sommes de fractions (dénominateurs premiers entre eux)",
47
+ levels: [],
48
+ isSingleStep: true,
49
+ sections: [],
50
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFractionsSumsPrimeDenominatorsQuestion, nb),
51
+ qcmTimer: 60,
52
+ freeTimer: 60,
53
+ getPropositions,
54
+ isAnswerValid,
55
+ subject: "Mathématiques",
56
+ };
@@ -0,0 +1,9 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ denom: number;
4
+ num1: number;
5
+ num2: number;
6
+ };
7
+ export declare const fractionsSumsSameDenominators: Exercise<Identifiers>;
8
+ export {};
9
+ //# sourceMappingURL=fractionsSumsSameDenominators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fractionsSumsSameDenominators.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/fractionsSumsSameDenominators.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAyDF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,CAc/D,CAAC"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fractionsSumsSameDenominators = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const rational_1 = require("../../../../math/numbers/rationals/rational");
7
+ const randint_1 = require("../../../../math/utils/random/randint");
8
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
9
+ const getFractionsSumsSameDenominatorsQuestion = () => {
10
+ const denom = (0, randint_1.randint)(2, 15);
11
+ const num1 = (0, randint_1.randint)(1, denom + 10);
12
+ const num2 = (0, randint_1.randint)(1, denom + 10);
13
+ const ratio1 = new rational_1.Rational(num1, denom).toTree();
14
+ const ratio2 = new rational_1.Rational(num2, denom).toTree();
15
+ const statement = new addNode_1.AddNode(ratio1, ratio2).toTex();
16
+ const answer = new rational_1.Rational(num1 + num2, denom).simplify().toTree().toTex();
17
+ const question = {
18
+ answer,
19
+ instruction: `Calculer et donner le résultat sous forme d'une fraction irréductible : $${statement}$`,
20
+ keys: [],
21
+ answerFormat: "tex",
22
+ identifiers: { denom, num1, num2 },
23
+ };
24
+ return question;
25
+ };
26
+ const getPropositions = (n, { answer, denom, num1, num2 }) => {
27
+ const propositions = [];
28
+ (0, exercise_1.addValidProp)(propositions, answer);
29
+ (0, exercise_1.tryToAddWrongProp)(propositions, new rational_1.Rational(num1 + num2, denom * 2).simplify().toTree().toTex());
30
+ while (propositions.length < n) {
31
+ (0, exercise_1.tryToAddWrongProp)(propositions, rational_1.RationalConstructor.randomIrreductible().toTree().toTex());
32
+ }
33
+ return (0, exercise_1.shuffleProps)(propositions, n);
34
+ };
35
+ const isAnswerValid = (ans, { answer, denom, num1, num2 }) => {
36
+ const rationalA = new rational_1.Rational(num1, denom);
37
+ const rationalB = new rational_1.Rational(num2, denom);
38
+ const answerTree = rationalA
39
+ .add(rationalB)
40
+ .toTree({ allowFractionToDecimal: true });
41
+ const texs = answerTree.toAllValidTexs();
42
+ return texs.includes(ans);
43
+ };
44
+ exports.fractionsSumsSameDenominators = {
45
+ id: "fractionsSumsSameDenominators",
46
+ connector: "=",
47
+ label: "Sommes de fractions (avec même dénominateurs)",
48
+ levels: [],
49
+ isSingleStep: true,
50
+ sections: [],
51
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFractionsSumsSameDenominatorsQuestion, nb),
52
+ qcmTimer: 60,
53
+ freeTimer: 60,
54
+ getPropositions,
55
+ isAnswerValid,
56
+ subject: "Mathématiques",
57
+ };
@@ -7,4 +7,7 @@ export * from "./fractionsProduct";
7
7
  export * from "./fractionsSum";
8
8
  export * from "./simplifyFraction";
9
9
  export * from "./periodicWritingToFraction";
10
+ export * from "./fractionsSumsSameDenominators";
11
+ export * from "./fractionsSumsMultiplesDenominators";
12
+ export * from "./fractionsSumsPrimeDenominators";
10
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC"}
@@ -23,3 +23,6 @@ __exportStar(require("./fractionsProduct"), exports);
23
23
  __exportStar(require("./fractionsSum"), exports);
24
24
  __exportStar(require("./simplifyFraction"), exports);
25
25
  __exportStar(require("./periodicWritingToFraction"), exports);
26
+ __exportStar(require("./fractionsSumsSameDenominators"), exports);
27
+ __exportStar(require("./fractionsSumsMultiplesDenominators"), exports);
28
+ __exportStar(require("./fractionsSumsPrimeDenominators"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"simplifyFraction.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/simplifyFraction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA2CF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
1
+ {"version":3,"file":"simplifyFraction.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/fractions/simplifyFraction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA0CF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
@@ -34,7 +34,6 @@ const isAnswerValid = (ans, { num, denum }) => {
34
34
  .simplify()
35
35
  .toTree({ allowFractionToDecimal: true });
36
36
  const texs = answerTree.toAllValidTexs();
37
- console.log(texs);
38
37
  return texs.includes(ans);
39
38
  };
40
39
  exports.simplifyFraction = {
@@ -1 +1 @@
1
- {"version":3,"file":"equationSimpleSquare.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equationSimpleSquare.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AA0BlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAwKF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
1
+ {"version":3,"file":"equationSimpleSquare.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equationSimpleSquare.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AA0BlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAuKF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
@@ -146,7 +146,6 @@ const isAnswerValid = (ans, { randNbr }) => {
146
146
  }
147
147
  }
148
148
  const texs = answerTrees.flatMap((tree) => tree.toAllValidTexs());
149
- console.log(ans, texs);
150
149
  return texs.includes(ans);
151
150
  };
152
151
  exports.equationSimpleSquare = {
@@ -1 +1 @@
1
- {"version":3,"file":"equationType2Exercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equationType2Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAmBlC;;GAEG;AACH,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqEF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAevD,CAAC"}
1
+ {"version":3,"file":"equationType2Exercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equationType2Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAmBlC;;GAEG;AACH,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoEF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAevD,CAAC"}
@@ -60,7 +60,6 @@ const isAnswerValid = (ans, { a, b }) => {
60
60
  opts: { allowFractionToDecimal: true, allowRawRightChildAsSolution: true },
61
61
  });
62
62
  const validLatexs = answerTree.toAllValidTexs();
63
- console.log(validLatexs);
64
63
  return validLatexs.includes(ans);
65
64
  };
66
65
  exports.equationType2Exercise = {
@@ -1 +1 @@
1
- {"version":3,"file":"factoType1Exercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoType1Exercise.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,EAAE,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA0HF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAapD,CAAC"}
1
+ {"version":3,"file":"factoType1Exercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoType1Exercise.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,EAAE,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAyHF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAapD,CAAC"}
@@ -74,7 +74,6 @@ const isAnswerValid = (ans, { affinesCoeffs, operation }) => {
74
74
  : new multiplyNode_1.MultiplyNode(affine1.toTree(), affine2.toTree());
75
75
  const answer = answerTree.toTex();
76
76
  const validLatexs = answerTree.toAllValidTexs();
77
- console.log(ans, validLatexs);
78
77
  return validLatexs.includes(ans);
79
78
  };
80
79
  exports.factoType1Exercise = {
@@ -1 +1 @@
1
- {"version":3,"file":"firstDegreeInequationsType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACL,gBAAgB,EAGjB,MAAM,mCAAmC,CAAC;AAW3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqFF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
1
+ {"version":3,"file":"firstDegreeInequationsType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACL,gBAAgB,EAGjB,MAAM,mCAAmC,CAAC;AAW3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoFF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
@@ -64,7 +64,6 @@ const isAnswerValid = (ans, { a, b, c, d, ineqType }) => {
64
64
  opts: { allowFractionToDecimal: true },
65
65
  });
66
66
  const texs = answer.toAllValidTexs();
67
- console.log(texs);
68
67
  return texs.includes(ans);
69
68
  };
70
69
  exports.firstDegreeInequationsType3 = {
@@ -1 +1 @@
1
- {"version":3,"file":"reduceExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/reduceExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAkHF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
1
+ {"version":3,"file":"reduceExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/reduceExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAiHF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
@@ -96,7 +96,6 @@ const isAnswerValid = (ans, { polynome1Coeffs, polynome2Coeffs, rand }) => {
96
96
  .add(polynome2)
97
97
  .toTree({ forbidPowerToProduct: true });
98
98
  const texs = answer.toAllValidTexs();
99
- console.log(texs);
100
99
  return texs.includes(ans);
101
100
  };
102
101
  exports.reduceExpression = {
@@ -1 +1 @@
1
- {"version":3,"file":"addComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/addComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAuDF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAa5C,CAAC"}
1
+ {"version":3,"file":"addComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/addComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAsDF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAa5C,CAAC"}
@@ -46,7 +46,6 @@ const isAnswerValid = (ans, { z1Im, z1Re, z2Im, z2Re }) => {
46
46
  const z2 = new complex_1.Complex(z2Re, z2Im);
47
47
  const answer = z1.add(z2).toTree();
48
48
  const texs = answer.toAllValidTexs();
49
- console.log(ans, texs);
50
49
  return texs.includes(ans);
51
50
  };
52
51
  exports.addComplex = {
@@ -1 +1 @@
1
- {"version":3,"file":"conjugateComplex.ts.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/conjugateComplex.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA4CF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAclD,CAAC"}
1
+ {"version":3,"file":"conjugateComplex.ts.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/conjugateComplex.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA2CF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAclD,CAAC"}
@@ -36,7 +36,6 @@ const isAnswerValid = (ans, { im, re }) => {
36
36
  const complex = new complex_1.Complex(re, im);
37
37
  const answer = complex.conjugate().toTree();
38
38
  const texs = answer.toAllValidTexs();
39
- console.log(ans, texs);
40
39
  return texs.includes(ans);
41
40
  };
42
41
  exports.conjugateComplex = {
@@ -1 +1 @@
1
- {"version":3,"file":"conjugateDivideComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/conjugateDivideComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,EAAE,EAAE,MAAM,EAAE,CAAC;CACd,CAAC;AAwDF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAcxD,CAAC"}
1
+ {"version":3,"file":"conjugateDivideComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/conjugateDivideComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,EAAE,EAAE,MAAM,EAAE,CAAC;CACd,CAAC;AAuDF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAcxD,CAAC"}
@@ -43,7 +43,6 @@ const isAnswerValid = (ans, { z1, z2 }) => {
43
43
  const complex2 = new complex_1.Complex(z2[0], z2[1]).conjugate();
44
44
  const divide = complex1.divideNode(complex2);
45
45
  const texs = divide.toAllValidTexs({ allowFractionToDecimal: true });
46
- console.log(texs);
47
46
  return texs.includes(ans);
48
47
  };
49
48
  exports.conjugateDivideComplex = {
@@ -1 +1 @@
1
- {"version":3,"file":"inverseComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/inverseComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA0CF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
1
+ {"version":3,"file":"inverseComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/inverseComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAyCF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
@@ -36,7 +36,6 @@ const isAnswerValid = (ans, { re, im }) => {
36
36
  const z = new complex_1.Complex(re, im);
37
37
  const inv = z.inverseNode();
38
38
  const texs = inv.toAllValidTexs({ allowFractionToDecimal: true });
39
- console.log(texs);
40
39
  return texs.includes(ans);
41
40
  };
42
41
  exports.inverseComplex = {
@@ -1 +1 @@
1
- {"version":3,"file":"moduloFromAlgebraicComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/moduloFromAlgebraicComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA4CF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
1
+ {"version":3,"file":"moduloFromAlgebraicComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/moduloFromAlgebraicComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA2CF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
@@ -37,7 +37,6 @@ const isAnswerValid = (ans, { re, im }) => {
37
37
  allowSimplifySqrt: true,
38
38
  });
39
39
  const texs = answer.toAllValidTexs();
40
- console.log(texs);
41
40
  return texs.includes(ans);
42
41
  };
43
42
  exports.moduloFromAlgebraicComplex = {
@@ -1 +1 @@
1
- {"version":3,"file":"mutiplyComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/mutiplyComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,EAAE,EAAE,MAAM,EAAE,CAAC;CACd,CAAC;AAgDF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
1
+ {"version":3,"file":"mutiplyComplex.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/complex/mutiplyComplex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,EAAE,EAAE,MAAM,EAAE,CAAC;CACd,CAAC;AA+CF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
@@ -40,7 +40,6 @@ const isAnswerValid = (ans, { z1, z2 }) => {
40
40
  const complex2 = new complex_1.Complex(z2[0], z2[1]);
41
41
  const answer = complex1.multiply(complex2).toTree();
42
42
  const texs = answer.toAllValidTexs();
43
- console.log(ans, texs);
44
43
  return texs.includes(ans);
45
44
  };
46
45
  exports.mutiplyComplex = {
@@ -1 +1 @@
1
- {"version":3,"file":"aeraConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/aeraConversion.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AA8DF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAahD,CAAC"}
1
+ {"version":3,"file":"aeraConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/aeraConversion.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AA4DF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAahD,CAAC"}
@@ -8,7 +8,6 @@ const exercise_1 = require("../../exercise");
8
8
  const getDistinctQuestions_1 = require("../../utils/getDistinctQuestions");
9
9
  const units = ["mm", "cm", "dm", "m", "dam", "hm", "km"];
10
10
  const getAeraConversion = () => {
11
- console.log("aera conv q");
12
11
  const randomUnitIndex = (0, randint_1.randint)(0, 7);
13
12
  const randomUnitInstructionIndex = (0, randint_1.randint)(
14
13
  // cette manip a pour but d'éviter des conversion de type km² --> cm² ou le contraire (chiffre trop grand/petit)
@@ -35,7 +34,6 @@ const getPropositions = (n, { answer, randomAera, randomUnitIndex, randomUnitIns
35
34
  (0, exercise_1.addValidProp)(propositions, answer);
36
35
  const aeraDecimal = new decimal_1.Decimal(randomAera);
37
36
  while (propositions.length < n) {
38
- console.log("aera conv qcm");
39
37
  const wrongAnswer = aeraDecimal
40
38
  .multiplyByPowerOfTen(2 * (0, randint_1.randint)(-2, 4, [randomUnitIndex - randomUnitInstructionIndex]))
41
39
  .value.toString()
@@ -1 +1 @@
1
- {"version":3,"file":"capacityConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/capacityConversion.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAGxB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAwDF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAcpD,CAAC"}
1
+ {"version":3,"file":"capacityConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/capacityConversion.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAGxB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAuDF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAcpD,CAAC"}
@@ -8,7 +8,6 @@ const exercise_1 = require("../../exercise");
8
8
  const getDistinctQuestions_1 = require("../../utils/getDistinctQuestions");
9
9
  const units = ["mL", "cL", "dL", "L", "daL", "hL", "kL"];
10
10
  const getCapacityConversion = () => {
11
- console.log("capacity conv q");
12
11
  const randomUnitIndex = (0, randint_1.randint)(0, 7);
13
12
  const randomUnitInstructionIndex = (0, randint_1.randint)(0, 7, [randomUnitIndex]);
14
13
  const randomCapacity = decimal_1.DecimalConstructor.random(0, 1000, (0, randint_1.randint)(0, 4));
@@ -1 +1 @@
1
- {"version":3,"file":"lengthConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/lengthConversion.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAIxB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AA+DF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
1
+ {"version":3,"file":"lengthConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/lengthConversion.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAIxB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AA6DF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
@@ -23,7 +23,6 @@ const getLengthConversion = () => {
23
23
  const randomUnitInstructionIndex = (0, randint_1.randint)(0, 7, [randomUnitIndex]);
24
24
  const randomLength = decimal_1.DecimalConstructor.random(0, 1000, (0, randint_1.randint)(0, 4));
25
25
  const measure = new measure_1.Measure(randomLength.value, 0, unitsObj[randomUnitIndex]);
26
- console.log("length conv q");
27
26
  const answer = measure
28
27
  .convert(units[randomUnitInstructionIndex])
29
28
  .toTex({ notScientific: true });
@@ -47,7 +46,6 @@ const getPropositions = (n, { answer, randomLength, randomUnitIndex, randomUnitI
47
46
  (0, exercise_1.addValidProp)(propositions, answer);
48
47
  const lengthDecimal = new decimal_1.Decimal(randomLength);
49
48
  while (propositions.length < n) {
50
- console.log("length conv qcm");
51
49
  const wrongAnswer = lengthDecimal
52
50
  .multiplyByPowerOfTen((0, randint_1.randint)(-3, 4, [randomUnitIndex - randomUnitInstructionIndex]))
53
51
  .value.toString()
@@ -1 +1 @@
1
- {"version":3,"file":"massConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/massConversion.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAGxB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AA0DF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAahD,CAAC"}
1
+ {"version":3,"file":"massConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/massConversion.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAGxB,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAuDF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAahD,CAAC"}