math-exercises 3.0.65 → 3.0.67

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 (202) hide show
  1. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.d.ts +1 -0
  2. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.js +41 -20
  4. package/lib/exercises/math/calcul/fractions/simplifyFraction.d.ts.map +1 -1
  5. package/lib/exercises/math/calcul/fractions/simplifyFraction.js +4 -4
  6. package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
  7. package/lib/exercises/math/calcul/rounding/rounding.js +13 -21
  8. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -1
  9. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +4 -0
  10. package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.d.ts.map +1 -1
  11. package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.js +5 -6
  12. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivitySubstract.d.ts.map +1 -1
  13. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivitySubstract.js +4 -4
  14. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -1
  15. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +4 -4
  16. package/lib/exercises/math/calculLitteral/distributivity/idRmq1.d.ts.map +1 -1
  17. package/lib/exercises/math/calculLitteral/distributivity/idRmq1.js +4 -7
  18. package/lib/exercises/math/calculLitteral/distributivity/idRmq2.d.ts.map +1 -1
  19. package/lib/exercises/math/calculLitteral/distributivity/idRmq2.js +4 -5
  20. package/lib/exercises/math/calculLitteral/distributivity/idRmq3.d.ts.map +1 -1
  21. package/lib/exercises/math/calculLitteral/distributivity/idRmq3.js +4 -5
  22. package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.d.ts.map +1 -1
  23. package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.js +4 -4
  24. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.d.ts.map +1 -1
  25. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.js +4 -4
  26. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
  27. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +4 -6
  28. package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.d.ts.map +1 -1
  29. package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.js +4 -3
  30. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
  31. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +4 -6
  32. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
  33. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +4 -4
  34. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -1
  35. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +4 -6
  36. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.d.ts.map +1 -1
  37. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.js +4 -4
  38. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
  39. package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +4 -4
  40. package/lib/exercises/math/calculLitteral/factorisation/factoByX.d.ts.map +1 -1
  41. package/lib/exercises/math/calculLitteral/factorisation/factoByX.js +4 -4
  42. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
  43. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +4 -6
  44. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
  45. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +4 -6
  46. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  47. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +4 -6
  48. package/lib/exercises/math/calculLitteral/factorisation/factoType2.d.ts.map +1 -1
  49. package/lib/exercises/math/calculLitteral/factorisation/factoType2.js +4 -3
  50. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -1
  51. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +4 -4
  52. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -1
  53. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +4 -4
  54. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.d.ts.map +1 -1
  55. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.js +4 -7
  56. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.d.ts.map +1 -1
  57. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.js +4 -3
  58. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -1
  59. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +4 -5
  60. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.d.ts.map +1 -1
  61. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.js +4 -4
  62. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.d.ts.map +1 -1
  63. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.js +4 -2
  64. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts.map +1 -1
  65. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.js +4 -4
  66. package/lib/exercises/math/functions/variations/varTableExtremaReading.d.ts.map +1 -1
  67. package/lib/exercises/math/functions/variations/varTableExtremaReading.js +4 -5
  68. package/lib/exercises/math/geometry/angles/recognizeAngleType.d.ts.map +1 -1
  69. package/lib/exercises/math/geometry/angles/recognizeAngleType.js +4 -5
  70. package/lib/exercises/math/geometry/areas/circleRadiusFromArea.d.ts.map +1 -1
  71. package/lib/exercises/math/geometry/areas/circleRadiusFromArea.js +3 -0
  72. package/lib/exercises/math/geometry/areas/rectangleArea.d.ts.map +1 -1
  73. package/lib/exercises/math/geometry/areas/rectangleArea.js +4 -7
  74. package/lib/exercises/math/geometry/areas/rectangleSideFromArea.d.ts.map +1 -1
  75. package/lib/exercises/math/geometry/areas/rectangleSideFromArea.js +4 -3
  76. package/lib/exercises/math/geometry/areas/rightTriangleArea.d.ts.map +1 -1
  77. package/lib/exercises/math/geometry/areas/rightTriangleArea.js +32 -16
  78. package/lib/exercises/math/geometry/areas/squareSideFromArea.d.ts.map +1 -1
  79. package/lib/exercises/math/geometry/areas/squareSideFromArea.js +3 -0
  80. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -1
  81. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +4 -4
  82. package/lib/exercises/math/geometry/cartesian/midpoint.d.ts.map +1 -1
  83. package/lib/exercises/math/geometry/cartesian/midpoint.js +4 -4
  84. package/lib/exercises/math/geometry/cartesian/placeAPoint.d.ts.map +1 -1
  85. package/lib/exercises/math/geometry/cartesian/placeAPoint.js +25 -11
  86. package/lib/exercises/math/geometry/cartesian/placeAbscissOnLine.d.ts.map +1 -1
  87. package/lib/exercises/math/geometry/cartesian/placeAbscissOnLine.js +4 -0
  88. package/lib/exercises/math/geometry/cartesian/placeAbscissOnSemiLine.d.ts.map +1 -1
  89. package/lib/exercises/math/geometry/cartesian/placeAbscissOnSemiLine.js +4 -4
  90. package/lib/exercises/math/geometry/cartesian/pointCoordinates.d.ts.map +1 -1
  91. package/lib/exercises/math/geometry/cartesian/pointCoordinates.js +4 -0
  92. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoAxisNumbers.d.ts.map +1 -1
  93. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoAxisNumbers.js +4 -0
  94. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.d.ts.map +1 -1
  95. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.js +33 -17
  96. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.d.ts.map +1 -1
  97. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.js +4 -5
  98. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.d.ts.map +1 -1
  99. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.js +4 -3
  100. package/lib/exercises/math/matrices/matrixGeneralTerm.d.ts.map +1 -1
  101. package/lib/exercises/math/matrices/matrixGeneralTerm.js +0 -2
  102. package/lib/exercises/math/percent/evolutions/index.d.ts +0 -1
  103. package/lib/exercises/math/percent/evolutions/index.d.ts.map +1 -1
  104. package/lib/exercises/math/percent/evolutions/index.js +0 -1
  105. package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
  106. package/lib/exercises/math/percent/findProportion.js +21 -1
  107. package/lib/exercises/math/percent/interests/compoundInterest.d.ts +12 -0
  108. package/lib/exercises/math/percent/interests/compoundInterest.d.ts.map +1 -0
  109. package/lib/exercises/math/percent/interests/compoundInterest.js +127 -0
  110. package/lib/exercises/math/percent/interests/compoundInterestDuration.d.ts +2 -0
  111. package/lib/exercises/math/percent/interests/compoundInterestDuration.d.ts.map +1 -0
  112. package/lib/exercises/math/percent/interests/compoundInterestDuration.js +166 -0
  113. package/lib/exercises/math/percent/interests/compoundInterestStartValue.d.ts +12 -0
  114. package/lib/exercises/math/percent/interests/compoundInterestStartValue.d.ts.map +1 -0
  115. package/lib/exercises/math/percent/interests/compoundInterestStartValue.js +132 -0
  116. package/lib/exercises/math/percent/interests/index.d.ts +3 -0
  117. package/lib/exercises/math/percent/interests/index.d.ts.map +1 -0
  118. package/lib/exercises/math/percent/interests/index.js +2 -0
  119. package/lib/exercises/math/primitive/constantPrimitive.d.ts.map +1 -1
  120. package/lib/exercises/math/primitive/constantPrimitive.js +0 -2
  121. package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -1
  122. package/lib/exercises/math/primitive/polynomialPrimitive.js +4 -0
  123. package/lib/exercises/math/primitive/sinCosPrimitive.d.ts.map +1 -1
  124. package/lib/exercises/math/primitive/sinCosPrimitive.js +25 -12
  125. package/lib/exercises/math/probaStat/binomial/binomialInequation.d.ts.map +1 -1
  126. package/lib/exercises/math/probaStat/binomial/binomialInequation.js +4 -3
  127. package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.d.ts.map +1 -1
  128. package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.js +52 -28
  129. package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.d.ts.map +1 -1
  130. package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.js +59 -39
  131. package/lib/exercises/math/probaStat/diceBasicProbas.d.ts.map +1 -1
  132. package/lib/exercises/math/probaStat/diceBasicProbas.js +1 -4
  133. package/lib/exercises/math/sequences/sequencePlot.d.ts.map +1 -1
  134. package/lib/exercises/math/sequences/sequencePlot.js +59 -32
  135. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.d.ts.map +1 -1
  136. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.js +23 -7
  137. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts.map +1 -1
  138. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.js +23 -8
  139. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.d.ts +6 -1
  140. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.d.ts.map +1 -1
  141. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.js +61 -27
  142. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
  143. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.js +28 -10
  144. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts.map +1 -1
  145. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +43 -17
  146. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts.map +1 -1
  147. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.js +23 -8
  148. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.d.ts.map +1 -1
  149. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.js +22 -8
  150. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.d.ts.map +1 -1
  151. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.js +18 -5
  152. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts +1 -0
  153. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -1
  154. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +49 -24
  155. package/lib/exercises/pc/chemicalElements/weightPercent.d.ts.map +1 -1
  156. package/lib/exercises/pc/chemicalElements/weightPercent.js +42 -13
  157. package/lib/exercises/pc/chemicalReactions/calculateCombustionEnergy.d.ts.map +1 -1
  158. package/lib/exercises/pc/chemicalReactions/calculateCombustionEnergy.js +26 -9
  159. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.d.ts.map +1 -1
  160. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +48 -15
  161. package/lib/exercises/pc/chemicalReactions/identifyLimitingReagent.d.ts.map +1 -1
  162. package/lib/exercises/pc/chemicalReactions/identifyLimitingReagent.js +22 -9
  163. package/lib/exercises/pc/chemicalReactions/identifyStoichiometricMixture.d.ts +1 -0
  164. package/lib/exercises/pc/chemicalReactions/identifyStoichiometricMixture.d.ts.map +1 -1
  165. package/lib/exercises/pc/chemicalReactions/identifyStoichiometricMixture.js +30 -15
  166. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.d.ts +7 -2
  167. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.d.ts.map +1 -1
  168. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.js +49 -33
  169. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts +1 -2
  170. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -1
  171. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +104 -67
  172. package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts +1 -1
  173. package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
  174. package/lib/exercises/pc/dosage/beerLambertRandomValue.js +99 -82
  175. package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -1
  176. package/lib/exercises/pc/dosage/concentrationCalculation.js +69 -40
  177. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts.map +1 -1
  178. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +78 -40
  179. package/lib/exercises/pc/electricity/calculateIntensity.d.ts.map +1 -1
  180. package/lib/exercises/pc/electricity/calculateIntensity.js +23 -19
  181. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.d.ts.map +1 -1
  182. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.js +51 -43
  183. package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -1
  184. package/lib/exercises/pc/electricity/calculateVoltage.js +0 -2
  185. package/lib/exercises/pc/electricity/electricChargeFromIntensity.d.ts.map +1 -1
  186. package/lib/exercises/pc/electricity/electricChargeFromIntensity.js +19 -6
  187. package/lib/exercises/pc/electricity/electricEnergyFromPower.d.ts.map +1 -1
  188. package/lib/exercises/pc/electricity/electricEnergyFromPower.js +16 -6
  189. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts +1 -0
  190. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -1
  191. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +54 -24
  192. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts.map +1 -1
  193. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.js +44 -44
  194. package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -1
  195. package/lib/exercises/pc/electricity/ohmLaw.js +67 -24
  196. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts +1 -1
  197. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts.map +1 -1
  198. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.js +36 -43
  199. package/lib/index.d.ts +19 -12
  200. package/lib/index.d.ts.map +1 -1
  201. package/lib/latexTester.js +2 -0
  202. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"firstDegreeEquationIntType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoHF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAgB7D,CAAC"}
1
+ {"version":3,"file":"firstDegreeEquationIntType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAyHF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAa7D,CAAC"}
@@ -40,6 +40,9 @@ const getFirstDegreeEquationIntQuestion = () => {
40
40
  const d = randint(-15, 15, [0]);
41
41
  const b = d - (a - c) * x;
42
42
  const identifiers = { a: a, x: x, b: b, c: c, d: d };
43
+ return getQuestionFromIdentifiers(identifiers);
44
+ };
45
+ const getQuestionFromIdentifiers = (identifiers) => {
43
46
  const question = {
44
47
  answer: getAnswer(identifiers),
45
48
  instruction: getInstruction(identifiers),
@@ -96,9 +99,6 @@ export const firstDegreeEquationIntType3 = {
96
99
  getPropositions,
97
100
  isAnswerValid,
98
101
  subject: "Mathématiques",
99
- getInstruction,
100
- getAnswer,
101
- getHint,
102
- getCorrection,
102
+ getQuestionFromIdentifiers,
103
103
  hasHintAndCorrection: true,
104
104
  };
@@ -1 +1 @@
1
- {"version":3,"file":"fractionEquation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/fractionEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAgBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqIF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAgBlD,CAAC"}
1
+ {"version":3,"file":"fractionEquation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/fractionEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAgBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2IF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
@@ -71,6 +71,9 @@ const getFractionEquation = () => {
71
71
  const c = randint(-9, 10, [0]);
72
72
  const d = randint(-9, 10, [0]);
73
73
  const identifiers = { a, b, c, d };
74
+ return getQuestionFromIdentifiers(identifiers);
75
+ };
76
+ const getQuestionFromIdentifiers = (identifiers) => {
74
77
  const question = {
75
78
  instruction: getInstruction(identifiers),
76
79
  startStatement: getStartStatement(identifiers),
@@ -129,8 +132,5 @@ export const fractionEquation = {
129
132
  isAnswerValid,
130
133
  subject: "Mathématiques",
131
134
  hasHintAndCorrection: true,
132
- getAnswer,
133
- getInstruction,
134
- getHint,
135
- getCorrection,
135
+ getQuestionFromIdentifiers,
136
136
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factoByX.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoByX.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqJF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAiB1C,CAAC"}
1
+ {"version":3,"file":"factoByX.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoByX.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2JF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAc1C,CAAC"}
@@ -114,6 +114,9 @@ const getFactoByXQuestion = (ops) => {
114
114
  a,
115
115
  b,
116
116
  };
117
+ return getQuestionFromIdentifiers(identifiers);
118
+ };
119
+ const getQuestionFromIdentifiers = (identifiers) => {
117
120
  const question = {
118
121
  answer: getAnswer(identifiers),
119
122
  instruction: getInstruction(identifiers),
@@ -136,9 +139,6 @@ export const factoByX = {
136
139
  getPropositions,
137
140
  isAnswerValid,
138
141
  subject: "Mathématiques",
139
- getInstruction,
140
- getHint,
141
- getCorrection,
142
- getAnswer,
142
+ getQuestionFromIdentifiers,
143
143
  hasHintAndCorrection: true,
144
144
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoIdRmq1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAsBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqIF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAkB7C,CAAC"}
1
+ {"version":3,"file":"factoIdRmq1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoIdRmq1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAsBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2IF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAa7C,CAAC"}
@@ -69,6 +69,9 @@ const getFactoType1Question = () => {
69
69
  max: 10,
70
70
  });
71
71
  const identifiers = { a: affine.a, b: affine.b };
72
+ return getQuestionFromIdentifiers(identifiers);
73
+ };
74
+ const getQuestionFromIdentifiers = (identifiers) => {
72
75
  const question = {
73
76
  instruction: getInstruction(identifiers),
74
77
  startStatement: getStartStatement(identifiers),
@@ -111,8 +114,6 @@ export const factoIdRmq1 = {
111
114
  connector: "=",
112
115
  isSingleStep: false,
113
116
  label: "Factorisation du type $a^2 + 2ab + b^2$",
114
- levels: ["3ème", "2nde"],
115
- sections: ["Calcul littéral"],
116
117
  generator: (nb) => getDistinctQuestions(getFactoType1Question, nb),
117
118
  qcmTimer: 60,
118
119
  freeTimer: 60,
@@ -120,8 +121,5 @@ export const factoIdRmq1 = {
120
121
  isAnswerValid,
121
122
  subject: "Mathématiques",
122
123
  hasHintAndCorrection: true,
123
- getInstruction,
124
- getAnswer,
125
- getHint,
126
- getCorrection,
124
+ getQuestionFromIdentifiers,
127
125
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoIdRmq2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAsBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAiIF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAkB7C,CAAC"}
1
+ {"version":3,"file":"factoIdRmq2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoIdRmq2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAsBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuIF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAa7C,CAAC"}
@@ -66,6 +66,9 @@ const getFactoType1Question = () => {
66
66
  max: 10,
67
67
  }, { min: -9, max: 0 });
68
68
  const identifiers = { a: affine.a, b: affine.b };
69
+ return getQuestionFromIdentifiers(identifiers);
70
+ };
71
+ const getQuestionFromIdentifiers = (identifiers) => {
69
72
  const question = {
70
73
  instruction: getInstruction(identifiers),
71
74
  startStatement: getStartStatement(identifiers),
@@ -109,8 +112,6 @@ export const factoIdRmq2 = {
109
112
  connector: "=",
110
113
  isSingleStep: false,
111
114
  label: "Factorisation du type $a^2 - 2ab + b^2$",
112
- levels: ["3ème", "2nde"],
113
- sections: ["Calcul littéral"],
114
115
  generator: (nb) => getDistinctQuestions(getFactoType1Question, nb),
115
116
  qcmTimer: 60,
116
117
  freeTimer: 60,
@@ -118,8 +119,5 @@ export const factoIdRmq2 = {
118
119
  isAnswerValid,
119
120
  subject: "Mathématiques",
120
121
  hasHintAndCorrection: true,
121
- getAnswer,
122
- getCorrection,
123
- getHint,
124
- getInstruction,
122
+ getQuestionFromIdentifiers,
125
123
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAmKF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAkB7C,CAAC"}
1
+ {"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAyKF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAa7C,CAAC"}
@@ -69,6 +69,9 @@ const getFactoType1Question = () => {
69
69
  affine1Coeffs: affine.coefficients,
70
70
  affine2Coeffs: affine2.coefficients,
71
71
  };
72
+ return getQuestionFromIdentifiers(identifiers);
73
+ };
74
+ const getQuestionFromIdentifiers = (identifiers) => {
72
75
  const question = {
73
76
  instruction: getInstruction(identifiers),
74
77
  startStatement: getStartStatement(identifiers),
@@ -118,8 +121,6 @@ export const factoIdRmq3 = {
118
121
  connector: "=",
119
122
  isSingleStep: false,
120
123
  label: "Factorisation du type $a^2 - b^2$",
121
- levels: ["3ème", "2nde"],
122
- sections: ["Calcul littéral"],
123
124
  generator: (nb) => getDistinctQuestions(getFactoType1Question, nb),
124
125
  qcmTimer: 60,
125
126
  freeTimer: 60,
@@ -127,8 +128,5 @@ export const factoIdRmq3 = {
127
128
  isAnswerValid,
128
129
  subject: "Mathématiques",
129
130
  hasHintAndCorrection: true,
130
- getInstruction,
131
- getHint,
132
- getAnswer,
133
- getCorrection,
131
+ getQuestionFromIdentifiers,
134
132
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factoType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAcrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAkIF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAiB5C,CAAC"}
1
+ {"version":3,"file":"factoType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factoType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAcrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAuIF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAe5C,CAAC"}
@@ -76,6 +76,9 @@ const getFactoType2Question = () => {
76
76
  const d = randint(-10, 11, b === 0 ? [0, -1] : [0]);
77
77
  const isSubstract = coinFlip();
78
78
  const identifiers = { a, b, c, d, isSubstract };
79
+ return getQuestionFromIdentifiers(identifiers);
80
+ };
81
+ const getQuestionFromIdentifiers = (identifiers) => {
79
82
  const question = {
80
83
  answer: getAnswer(identifiers),
81
84
  instruction: getInstruction(identifiers),
@@ -99,8 +102,6 @@ export const factoType2 = {
99
102
  getPropositions,
100
103
  isAnswerValid,
101
104
  subject: "Mathématiques",
102
- getHint,
103
- getCorrection,
104
- getAnswer,
105
+ getQuestionFromIdentifiers,
105
106
  hasHintAndCorrection: true,
106
107
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factorizeCanonicalForm.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2IF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAmBxD,CAAC"}
1
+ {"version":3,"file":"factorizeCanonicalForm.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgJF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAgBxD,CAAC"}
@@ -70,6 +70,9 @@ const getFactorizeCanonicalFormQuestion = () => {
70
70
  const affine = new Affine(1, randint(-10, 10, [0]));
71
71
  const b = randint(-10, 10, [0]);
72
72
  const identifiers = { a: affine.b, b };
73
+ return getQuestionFromIdentifiers(identifiers);
74
+ };
75
+ const getQuestionFromIdentifiers = (identifiers) => {
73
76
  const question = {
74
77
  answer: getAnswer(identifiers),
75
78
  instruction: getInstruction(identifiers),
@@ -127,8 +130,5 @@ export const factorizeCanonicalForm = {
127
130
  isAnswerValid,
128
131
  subject: "Mathématiques",
129
132
  hasHintAndCorrection: true,
130
- getAnswer,
131
- getInstruction,
132
- getCorrection,
133
- getHint,
133
+ getQuestionFromIdentifiers,
134
134
  };
@@ -1 +1 @@
1
- {"version":3,"file":"factorizeCanonicalFormWithSqrt.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA+HF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAkBhE,CAAC"}
1
+ {"version":3,"file":"factorizeCanonicalFormWithSqrt.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAoIF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAehE,CAAC"}
@@ -70,6 +70,9 @@ const getFactorizeCanonicalFormWithSqrtQuestion = () => {
70
70
  const affine = new Affine(1, randint(-10, 10, [0]));
71
71
  const b = SquareRootConstructor.randomIrreductible(10);
72
72
  const identifiers = { a: affine.b, bOperand: b.operand };
73
+ return getQuestionFromIdentifiers(identifiers);
74
+ };
75
+ const getQuestionFromIdentifiers = (identifiers) => {
73
76
  const question = {
74
77
  answer: getAnswer(identifiers),
75
78
  instruction: getInstruction(identifiers),
@@ -111,8 +114,5 @@ export const factorizeCanonicalFormWithSqrt = {
111
114
  subject: "Mathématiques",
112
115
  hasHintAndCorrection: true,
113
116
  pdfOptions: { shouldSpreadPropositions: true },
114
- getAnswer,
115
- getInstruction,
116
- getHint,
117
- getCorrection,
117
+ getQuestionFromIdentifiers,
118
118
  };
@@ -1 +1 @@
1
- {"version":3,"file":"firstDegreeInequationsType1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAe9C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAgLF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAsBtE,CAAC"}
1
+ {"version":3,"file":"firstDegreeInequationsType1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAe9C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAsLF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAetE,CAAC"}
@@ -72,6 +72,9 @@ const getFirstDegreeInequationsQuestion = (opts) => {
72
72
  const b = randint(-10, 11);
73
73
  const ineqType = InequationSymbolConstructor.random();
74
74
  const identifiers = { a: affine.a, b, ineqType: ineqType.symbol };
75
+ return getQuestionFromIdentifiers(identifiers, opts);
76
+ };
77
+ const getQuestionFromIdentifiers = (identifiers, opts) => {
75
78
  const question = {
76
79
  answer: getAnswer(identifiers, opts),
77
80
  instruction: getInstruction(identifiers, opts),
@@ -131,9 +134,7 @@ export const firstDegreeInequationsType1 = {
131
134
  connector: "\\iff",
132
135
  getPropositions,
133
136
  label: "Résoudre une inéquation du type $ax<b$",
134
- levels: ["3ème", "2ndPro", "2nde", "1reESM", "1rePro", "1reTech"],
135
137
  isSingleStep: true,
136
- sections: ["Inéquations"],
137
138
  generator: (nb, opts) => getDistinctQuestions(() => getFirstDegreeInequationsQuestion(opts), nb),
138
139
  qcmTimer: 60,
139
140
  freeTimer: 60,
@@ -141,9 +142,5 @@ export const firstDegreeInequationsType1 = {
141
142
  subject: "Mathématiques",
142
143
  options,
143
144
  hasHintAndCorrection: true,
144
- getAnswer,
145
- getCorrection,
146
- getHint,
147
- getInstruction,
148
- getKeys,
145
+ getQuestionFromIdentifiers,
149
146
  };
@@ -1 +1 @@
1
- {"version":3,"file":"firstDegreeInequationsType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAY9C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAwIF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAkBtE,CAAC"}
1
+ {"version":3,"file":"firstDegreeInequationsType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAY9C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA+IF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAgBtE,CAAC"}
@@ -49,6 +49,9 @@ const getFirstDegreeInequationsQuestion = (opts) => {
49
49
  c,
50
50
  ineqType: ineqType.symbol,
51
51
  };
52
+ return getQuestionFromIdentifiers(identifiers);
53
+ };
54
+ const getQuestionFromIdentifiers = (identifiers, opts) => {
52
55
  const question = {
53
56
  answer: getAnswer(identifiers, opts),
54
57
  instruction: getInstruction(identifiers, opts),
@@ -115,7 +118,5 @@ export const firstDegreeInequationsType2 = {
115
118
  freeTimer: 60,
116
119
  subject: "Mathématiques",
117
120
  options,
118
- getKeys,
119
- getAnswer,
120
- getInstruction,
121
+ getQuestionFromIdentifiers,
121
122
  };
@@ -1 +1 @@
1
- {"version":3,"file":"firstDegreeInequationsType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAY9C,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;AAmJF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAkBtE,CAAC"}
1
+ {"version":3,"file":"firstDegreeInequationsType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAY9C,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;AA0JF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CActE,CAAC"}
@@ -51,6 +51,9 @@ const getFirstDegreeInequationsQuestion = (opts) => {
51
51
  c: affine2.a,
52
52
  d: affine2.b,
53
53
  };
54
+ return getQuestionFromIdentifiers(identifiers, opts);
55
+ };
56
+ const getQuestionFromIdentifiers = (identifiers, opts) => {
54
57
  const question = {
55
58
  answer: getAnswer(identifiers, opts),
56
59
  instruction: getInstruction(identifiers),
@@ -114,9 +117,7 @@ export const firstDegreeInequationsType3 = {
114
117
  id: "firstDegreeInequationsType3",
115
118
  connector: "\\iff",
116
119
  label: "Résoudre une inéquation du type $ax+b<cx+d$",
117
- levels: ["3ème", "2ndPro", "2nde", "1reESM", "1rePro", "1reTech"],
118
120
  isSingleStep: true,
119
- sections: ["Inéquations"],
120
121
  generator: (nb, opts) => getDistinctQuestions(() => getFirstDegreeInequationsQuestion(opts), nb),
121
122
  qcmTimer: 60,
122
123
  freeTimer: 60,
@@ -124,7 +125,5 @@ export const firstDegreeInequationsType3 = {
124
125
  isAnswerValid,
125
126
  subject: "Mathématiques",
126
127
  options,
127
- getAnswer,
128
- getKeys,
129
- getInstruction,
128
+ getQuestionFromIdentifiers,
130
129
  };
@@ -1 +1 @@
1
- {"version":3,"file":"squareFunctionInequation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/squareFunctionInequation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAY9C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC;AAqFF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAgB1D,CAAC"}
1
+ {"version":3,"file":"squareFunctionInequation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/squareFunctionInequation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAY9C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC;AA0FF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAa1D,CAAC"}
@@ -34,6 +34,9 @@ const getSquareFunctionInequationQuestion = () => {
34
34
  const k = coinFlip() ? randint(1, 11) ** 2 : randint(1, 100);
35
35
  const inequationSymbol = InequationSymbolConstructor.random();
36
36
  const identifiers = { k, inequationSymbol: inequationSymbol.symbol };
37
+ return getQuestionFromIdentifiers(identifiers);
38
+ };
39
+ const getQuestionFromIdentifiers = (identifiers) => {
37
40
  const question = {
38
41
  answer: getAnswer(identifiers),
39
42
  instruction: getInstruction(identifiers),
@@ -70,9 +73,7 @@ const isAnswerValid = (ans, { answer, k, inequationSymbol }) => {
70
73
  export const squareFunctionInequation = {
71
74
  id: "squareFunctionInequation",
72
75
  label: "Résoudre une inéquation du type $x^2 < k$",
73
- levels: ["2nde"],
74
76
  isSingleStep: true,
75
- sections: ["Fonctions de référence", "Inéquations"],
76
77
  generator: (nb) => getDistinctQuestions(getSquareFunctionInequationQuestion, nb),
77
78
  qcmTimer: 60,
78
79
  freeTimer: 60,
@@ -80,6 +81,5 @@ export const squareFunctionInequation = {
80
81
  isAnswerValid,
81
82
  subject: "Mathématiques",
82
83
  pdfOptions: { shouldSpreadPropositions: true },
83
- getAnswer,
84
- getInstruction,
84
+ getQuestionFromIdentifiers,
85
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"distributeAndSimplify.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/distributeAndSimplify.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAmFF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAcvD,CAAC"}
1
+ {"version":3,"file":"distributeAndSimplify.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/distributeAndSimplify.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAyFF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAavD,CAAC"}
@@ -43,6 +43,9 @@ const getDistributeAndSimplifyQuestion = () => {
43
43
  } while (b * c + e * f === 0);
44
44
  const g = randint(-5, 6, [0]);
45
45
  const identifiers = { firstTermIsAffine, a, b, c, d, e, f, g };
46
+ return getQuestionFromIdentifiers(identifiers);
47
+ };
48
+ const getQuestionFromIdentifiers = (identifiers) => {
46
49
  const question = {
47
50
  answer: getAnswer(identifiers),
48
51
  instruction: getInstruction(identifiers),
@@ -84,6 +87,5 @@ export const distributeAndSimplify = {
84
87
  getPropositions,
85
88
  isAnswerValid,
86
89
  subject: "Mathématiques",
87
- getAnswer,
88
- getInstruction,
90
+ getQuestionFromIdentifiers,
89
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"evaluateExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/evaluateExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAoFF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAiBpD,CAAC"}
1
+ {"version":3,"file":"evaluateExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/evaluateExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA0FF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAcpD,CAAC"}
@@ -57,6 +57,9 @@ const getEvaluateExpression = () => {
57
57
  poly2: polynome2.coefficients,
58
58
  xValue,
59
59
  };
60
+ return getQuestionFromIdentifiers(identifiers);
61
+ };
62
+ const getQuestionFromIdentifiers = (identifiers) => {
60
63
  const question = {
61
64
  instruction: getInstruction(identifiers),
62
65
  answer: getAnswer(identifiers),
@@ -91,10 +94,7 @@ export const evaluateExpression = {
91
94
  getPropositions,
92
95
  isAnswerValid,
93
96
  subject: "Mathématiques",
94
- getHint,
95
- getCorrection,
96
- getAnswer,
97
- getInstruction,
97
+ getQuestionFromIdentifiers,
98
98
  hasHintAndCorrection: true,
99
99
  shouldHaveCalculator: true,
100
100
  };
@@ -1 +1 @@
1
- {"version":3,"file":"varTableExtremaReading.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/variations/varTableExtremaReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAsJF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAkBxD,CAAC"}
1
+ {"version":3,"file":"varTableExtremaReading.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/variations/varTableExtremaReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AA4JF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAcxD,CAAC"}
@@ -94,6 +94,9 @@ const getVarTableExtremaReadingQuestion = (opts) => {
94
94
  isAskingMin: coinFlip(),
95
95
  intervalXIndexes,
96
96
  };
97
+ return getQuestionFromIdentifiers(identifiers);
98
+ };
99
+ const getQuestionFromIdentifiers = (identifiers) => {
97
100
  const question = {
98
101
  answer: getAnswer(identifiers),
99
102
  instruction: getInstruction(identifiers),
@@ -116,10 +119,6 @@ export const varTableExtremaReading = {
116
119
  getPropositions,
117
120
  isAnswerValid,
118
121
  subject: "Mathématiques",
119
- // getHint,
120
- // getCorrection,
121
- getInstruction,
122
- getAnswer,
123
- getGGBOptions,
122
+ getQuestionFromIdentifiers,
124
123
  hasGeogebra: true,
125
124
  };
@@ -1 +1 @@
1
- {"version":3,"file":"recognizeAngleType.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/angles/recognizeAngleType.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAGL,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AAWtC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAmVF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAkBpD,CAAC"}
1
+ {"version":3,"file":"recognizeAngleType.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/angles/recognizeAngleType.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAGL,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AAWtC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAyVF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAcpD,CAAC"}
@@ -259,6 +259,9 @@ const getRecognizeAngleTypeQuestion = (opts) => {
259
259
  angleIndex,
260
260
  points: points.map((p) => p.toIdentifiers()),
261
261
  };
262
+ return getQuestionFromIdentifiers(identifiers);
263
+ };
264
+ const getQuestionFromIdentifiers = (identifiers) => {
262
265
  const question = {
263
266
  answer: getAnswer(identifiers),
264
267
  instruction: getInstruction(identifiers),
@@ -281,10 +284,6 @@ export const recognizeAngleType = {
281
284
  getPropositions,
282
285
  isAnswerValid,
283
286
  subject: "Mathématiques",
284
- // getHint,
285
- // getCorrection,
286
- getInstruction,
287
- getAnswer,
288
- getGGBOptions,
287
+ getQuestionFromIdentifiers,
289
288
  hasGeogebra: true,
290
289
  };
@@ -1 +1 @@
1
- {"version":3,"file":"circleRadiusFromArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/circleRadiusFromArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAcrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAyFF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAiBtD,CAAC"}
1
+ {"version":3,"file":"circleRadiusFromArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/circleRadiusFromArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAcrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AA+FF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAiBtD,CAAC"}
@@ -76,6 +76,9 @@ const isAnswerValid = (ans, { answer, area }) => {
76
76
  const getCircleRadiusFromAreaQuestion = () => {
77
77
  const area = randfloat(1, 100, 2);
78
78
  const identifiers = { area };
79
+ return getQuestionFromIdentifiers(identifiers);
80
+ };
81
+ const getQuestionFromIdentifiers = (identifiers) => {
79
82
  const question = {
80
83
  answer: getAnswer(identifiers),
81
84
  instruction: getInstruction(identifiers),
@@ -1 +1 @@
1
- {"version":3,"file":"rectangleArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/rectangleArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAIrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA4EF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAmB/C,CAAC"}
1
+ {"version":3,"file":"rectangleArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/rectangleArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAIrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAkFF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAa/C,CAAC"}
@@ -32,6 +32,9 @@ const getRectangleArea = () => {
32
32
  const length = randint(3, 11);
33
33
  const width = randint(1, length);
34
34
  const identifiers = { length, width };
35
+ return getQuestionFromIdentifiers(identifiers);
36
+ };
37
+ const getQuestionFromIdentifiers = (identifiers) => {
35
38
  const question = {
36
39
  instruction: getInstruction(identifiers),
37
40
  answer: getAnswer(identifiers),
@@ -60,19 +63,13 @@ export const rectangleArea = {
60
63
  id: "rectangleArea",
61
64
  connector: "=",
62
65
  label: "Calculer l'aire d'un rectangle",
63
- levels: ["4ème", "3ème", "2nde"],
64
66
  isSingleStep: false,
65
- sections: ["Aires", "Géométrie euclidienne"],
66
67
  generator: (nb) => getDistinctQuestions(getRectangleArea, nb),
67
68
  qcmTimer: 60,
68
69
  freeTimer: 60,
69
70
  getPropositions,
70
71
  isAnswerValid,
71
72
  subject: "Mathématiques",
72
- getKeys,
73
- getInstruction,
74
- getAnswer,
75
- getHint,
76
- getCorrection,
73
+ getQuestionFromIdentifiers,
77
74
  hasHintAndCorrection: true,
78
75
  };
@@ -1 +1 @@
1
- {"version":3,"file":"rectangleSideFromArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/rectangleSideFromArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAoFF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAkBvD,CAAC"}
1
+ {"version":3,"file":"rectangleSideFromArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/rectangleSideFromArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA0FF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAgBvD,CAAC"}
@@ -63,6 +63,9 @@ const getRectangleSideFromAreaQuestion = () => {
63
63
  area,
64
64
  width,
65
65
  };
66
+ return getQuestionFromIdentifiers(identifiers);
67
+ };
68
+ const getQuestionFromIdentifiers = (identifiers) => {
66
69
  const question = {
67
70
  answer: getAnswer(identifiers),
68
71
  instruction: getInstruction(identifiers),
@@ -85,9 +88,7 @@ export const rectangleSideFromArea = {
85
88
  getPropositions,
86
89
  isAnswerValid,
87
90
  subject: "Mathématiques",
88
- getHint,
89
- getCorrection,
90
- getAnswer,
91
+ getQuestionFromIdentifiers,
91
92
  hasHintAndCorrection: true,
92
93
  shouldHaveCalculator: true,
93
94
  };
@@ -1 +1 @@
1
- {"version":3,"file":"rightTriangleArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/rightTriangleArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAKhF,KAAK,WAAW,GAAG;IACjB,YAAY;IAEZ,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AAgEF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAcnD,CAAC"}
1
+ {"version":3,"file":"rightTriangleArea.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/areas/rightTriangleArea.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAKnD,KAAK,WAAW,GAAG;IACjB,YAAY;IAEZ,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AA4FF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAanD,CAAC"}