math-exercises 3.0.110 → 3.0.111

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 (1623) hide show
  1. package/lib/exercises/exercise.d.ts +25 -25
  2. package/lib/exercises/exercise.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/addAndSub.js +2 -2
  4. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts.map +1 -1
  5. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.js +0 -2
  6. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.d.ts.map +1 -1
  7. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.js +7 -6
  8. package/lib/exercises/math/calcul/arithmetics/divisibiltyCriteria.d.ts.map +1 -1
  9. package/lib/exercises/math/calcul/arithmetics/divisibiltyCriteria.js +2 -2
  10. package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -1
  11. package/lib/exercises/math/calcul/arithmetics/divisorsList.js +5 -4
  12. package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.d.ts.map +1 -1
  13. package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.js +6 -5
  14. package/lib/exercises/math/calcul/arithmetics/isMultipleOrDivisor.d.ts.map +1 -1
  15. package/lib/exercises/math/calcul/arithmetics/isMultipleOrDivisor.js +4 -5
  16. package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.js +2 -2
  17. package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.d.ts.map +1 -1
  18. package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.js +2 -2
  19. package/lib/exercises/math/calcul/arithmetics/primeNumberIdentification.js +2 -2
  20. package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
  21. package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +11 -19
  22. package/lib/exercises/math/calcul/arithmetics/whichMultipleAmI.d.ts.map +1 -1
  23. package/lib/exercises/math/calcul/arithmetics/whichMultipleAmI.js +1 -7
  24. package/lib/exercises/math/calcul/decimals/decimalBoundingOnLine.d.ts.map +1 -1
  25. package/lib/exercises/math/calcul/decimals/decimalBoundingOnLine.js +5 -30
  26. package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.d.ts.map +1 -1
  27. package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.js +1 -1
  28. package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.js +1 -1
  29. package/lib/exercises/math/calcul/digitDecimalRank.d.ts.map +1 -1
  30. package/lib/exercises/math/calcul/digitDecimalRank.js +2 -2
  31. package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts.map +1 -1
  32. package/lib/exercises/math/calcul/digitRank.d.ts.map +1 -1
  33. package/lib/exercises/math/calcul/digitRank.js +2 -2
  34. package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -1
  35. package/lib/exercises/math/calcul/fractions/evalFractionExpression.d.ts.map +1 -1
  36. package/lib/exercises/math/calcul/fractions/evalFractionExpression.js +2 -2
  37. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +1 -1
  38. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
  39. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +2 -2
  40. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.d.ts.map +1 -1
  41. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.js +3 -13
  42. package/lib/exercises/math/calcul/fractions/fractionForbiddenValue.d.ts.map +1 -1
  43. package/lib/exercises/math/calcul/fractions/fractionForbiddenValue.js +4 -4
  44. package/lib/exercises/math/calcul/fractions/fractionSquare.d.ts.map +1 -1
  45. package/lib/exercises/math/calcul/fractions/fractionSquare.js +3 -4
  46. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -1
  47. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +5 -3
  48. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
  49. package/lib/exercises/math/calcul/fractions/fractionsDivision.js +5 -5
  50. package/lib/exercises/math/calcul/fractions/fractionsMix.d.ts.map +1 -1
  51. package/lib/exercises/math/calcul/fractions/fractionsMix.js +7 -6
  52. package/lib/exercises/math/calcul/fractions/fractionsOperations.d.ts.map +1 -1
  53. package/lib/exercises/math/calcul/fractions/fractionsOperations.js +5 -5
  54. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
  55. package/lib/exercises/math/calcul/fractions/fractionsProduct.js +3 -3
  56. package/lib/exercises/math/calcul/fractions/fractionsSubstraction.d.ts.map +1 -1
  57. package/lib/exercises/math/calcul/fractions/fractionsSubstraction.js +3 -4
  58. package/lib/exercises/math/calcul/fractions/fractionsSum.d.ts.map +1 -1
  59. package/lib/exercises/math/calcul/fractions/fractionsSum.js +3 -4
  60. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts.map +1 -1
  61. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.js +2 -2
  62. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts.map +1 -1
  63. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.js +2 -2
  64. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts.map +1 -1
  65. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +4 -5
  66. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.js +1 -1
  67. package/lib/exercises/math/calcul/fractions/simplifyFractionWithPrimeFactorization.d.ts.map +1 -1
  68. package/lib/exercises/math/calcul/fractions/simplifyFractionWithPrimeFactorization.js +2 -3
  69. package/lib/exercises/math/calcul/fractions/simplifyToFraction.d.ts.map +1 -1
  70. package/lib/exercises/math/calcul/fractions/simplifyToFraction.js +3 -3
  71. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.d.ts.map +1 -1
  72. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.js +1 -1
  73. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.d.ts.map +1 -1
  74. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.d.ts.map +1 -1
  75. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.js +0 -1
  76. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.js +1 -1
  77. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.d.ts.map +1 -1
  78. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.js +1 -1
  79. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.d.ts.map +1 -1
  80. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.js +3 -3
  81. package/lib/exercises/math/calcul/operations/expressionNature.d.ts.map +1 -1
  82. package/lib/exercises/math/calcul/operations/expressionNature.js +2 -4
  83. package/lib/exercises/math/calcul/operations/numberInverse.d.ts.map +1 -1
  84. package/lib/exercises/math/calcul/operations/numberInverse.js +3 -3
  85. package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts.map +1 -1
  86. package/lib/exercises/math/calcul/operations/operationsPriorities.js +7 -13
  87. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.d.ts.map +1 -1
  88. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.js +6 -5
  89. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.d.ts.map +1 -1
  90. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.js +5 -4
  91. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
  92. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.js +5 -6
  93. package/lib/exercises/math/calcul/ordering/decimalOrdering.d.ts.map +1 -1
  94. package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.d.ts.map +1 -1
  95. package/lib/exercises/math/calcul/ordering/framing.d.ts +2 -1
  96. package/lib/exercises/math/calcul/ordering/framing.d.ts.map +1 -1
  97. package/lib/exercises/math/calcul/ordering/framing.js +52 -50
  98. package/lib/exercises/math/calcul/ordering/integerOrdering.d.ts.map +1 -1
  99. package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.d.ts +4 -3
  100. package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.d.ts.map +1 -1
  101. package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.js +10 -12
  102. package/lib/exercises/math/calcul/proportionality/isTableProportional.js +1 -1
  103. package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.d.ts +4 -3
  104. package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.d.ts.map +1 -1
  105. package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.js +10 -12
  106. package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.d.ts.map +1 -1
  107. package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.js +2 -3
  108. package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.d.ts.map +1 -1
  109. package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.js +5 -5
  110. package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts.map +1 -1
  111. package/lib/exercises/math/calcul/proportionality/scaleCalculation.js +3 -4
  112. package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts.map +1 -1
  113. package/lib/exercises/math/calcul/proportionality/scaleUsage.js +2 -9
  114. package/lib/exercises/math/calcul/rationals/rationalNumbers.d.ts.map +1 -1
  115. package/lib/exercises/math/calcul/rationals/rationalNumbers.js +12 -8
  116. package/lib/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.d.ts.map +1 -1
  117. package/lib/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.js +2 -2
  118. package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
  119. package/lib/exercises/math/calcul/rounding/rounding.js +4 -5
  120. package/lib/exercises/math/calcul/sign/absoluteNumber.d.ts.map +1 -1
  121. package/lib/exercises/math/calcul/sign/absoluteNumber.js +3 -3
  122. package/lib/exercises/math/calcul/sign/inverseOrOpposite.d.ts.map +1 -1
  123. package/lib/exercises/math/calcul/sign/inverseOrOpposite.js +2 -2
  124. package/lib/exercises/math/calcul/sign/signFromAx.d.ts.map +1 -1
  125. package/lib/exercises/math/calcul/sign/signFromAx.js +4 -4
  126. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -1
  127. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +2 -2
  128. package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.d.ts.map +1 -1
  129. package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.js +1 -1
  130. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivitySubstract.js +5 -5
  131. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -1
  132. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +2 -2
  133. package/lib/exercises/math/calculLitteral/distributivity/idRmq1.d.ts.map +1 -1
  134. package/lib/exercises/math/calculLitteral/distributivity/idRmq1.js +4 -4
  135. package/lib/exercises/math/calculLitteral/distributivity/idRmq2.d.ts.map +1 -1
  136. package/lib/exercises/math/calculLitteral/distributivity/idRmq2.js +1 -2
  137. package/lib/exercises/math/calculLitteral/distributivity/idRmq3.d.ts.map +1 -1
  138. package/lib/exercises/math/calculLitteral/distributivity/idRmq3.js +3 -3
  139. package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.d.ts.map +1 -1
  140. package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.js +3 -3
  141. package/lib/exercises/math/calculLitteral/distributivity/index.d.ts +1 -0
  142. package/lib/exercises/math/calculLitteral/distributivity/index.d.ts.map +1 -1
  143. package/lib/exercises/math/calculLitteral/distributivity/index.js +1 -0
  144. package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.d.ts.map +1 -1
  145. package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.js +1 -1
  146. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriMinus1.d.ts +10 -0
  147. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriMinus1.d.ts.map +1 -0
  148. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriMinus1.js +147 -0
  149. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.d.ts.map +1 -1
  150. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.js +2 -3
  151. package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.d.ts.map +1 -1
  152. package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.js +3 -11
  153. package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.d.ts.map +1 -1
  154. package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.js +3 -4
  155. package/lib/exercises/math/calculLitteral/equation/equa1.d.ts.map +1 -1
  156. package/lib/exercises/math/calculLitteral/equation/equa1.js +1 -1
  157. package/lib/exercises/math/calculLitteral/equation/equa2.d.ts.map +1 -1
  158. package/lib/exercises/math/calculLitteral/equation/equa2.js +5 -17
  159. package/lib/exercises/math/calculLitteral/equation/equa3.js +2 -2
  160. package/lib/exercises/math/calculLitteral/equation/equa4.d.ts.map +1 -1
  161. package/lib/exercises/math/calculLitteral/equation/equa4.js +1 -1
  162. package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.js +1 -1
  163. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
  164. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +3 -4
  165. package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.d.ts.map +1 -1
  166. package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.js +3 -3
  167. package/lib/exercises/math/calculLitteral/equation/factorizeEquation.d.ts.map +1 -1
  168. package/lib/exercises/math/calculLitteral/equation/factorizeEquation.js +4 -4
  169. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
  170. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +1 -1
  171. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
  172. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +5 -5
  173. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +5 -5
  174. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.js +4 -4
  175. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
  176. package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +2 -2
  177. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
  178. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +2 -2
  179. package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts.map +1 -1
  180. package/lib/exercises/math/calculLitteral/factorisation/facto1.js +3 -4
  181. package/lib/exercises/math/calculLitteral/factorisation/factoByX.d.ts.map +1 -1
  182. package/lib/exercises/math/calculLitteral/factorisation/factoByX.js +2 -2
  183. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
  184. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +2 -2
  185. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
  186. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +1 -1
  187. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  188. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +1 -2
  189. package/lib/exercises/math/calculLitteral/factorisation/factoType2.d.ts.map +1 -1
  190. package/lib/exercises/math/calculLitteral/factorisation/factoType2.js +2 -3
  191. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -1
  192. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +1 -1
  193. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -1
  194. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +2 -2
  195. package/lib/exercises/math/calculLitteral/formulas/useFormula.js +5 -5
  196. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +1 -1
  197. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.js +2 -2
  198. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.d.ts.map +1 -1
  199. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.js +3 -3
  200. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.d.ts.map +1 -1
  201. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.js +3 -3
  202. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -1
  203. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +3 -3
  204. package/lib/exercises/math/calculLitteral/inequations/inequationsSign.d.ts.map +1 -1
  205. package/lib/exercises/math/calculLitteral/inequations/inequationsSign.js +3 -4
  206. package/lib/exercises/math/calculLitteral/inequations/inverseInequality.d.ts.map +1 -1
  207. package/lib/exercises/math/calculLitteral/inequations/inverseInequality.js +3 -4
  208. package/lib/exercises/math/calculLitteral/inequations/inverseInequalityWithGraph.d.ts.map +1 -1
  209. package/lib/exercises/math/calculLitteral/inequations/inverseInequalityWithGraph.js +4 -6
  210. package/lib/exercises/math/calculLitteral/inequations/isInequalityTrue.d.ts.map +1 -1
  211. package/lib/exercises/math/calculLitteral/inequations/isInequalityTrue.js +2 -2
  212. package/lib/exercises/math/calculLitteral/inequations/minNumberInequality.d.ts.map +1 -1
  213. package/lib/exercises/math/calculLitteral/inequations/minNumberInequality.js +4 -4
  214. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.d.ts.map +1 -1
  215. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.js +1 -1
  216. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.d.ts.map +1 -1
  217. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.js +1 -1
  218. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts.map +1 -1
  219. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
  220. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.js +2 -22
  221. package/lib/exercises/math/calculLitteral/simplifying/valuateExpression.d.ts.map +1 -1
  222. package/lib/exercises/math/calculLitteral/simplifying/valuateExpression.js +7 -7
  223. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -1
  224. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +4 -12
  225. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -1
  226. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.js +4 -12
  227. package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.d.ts.map +1 -1
  228. package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.js +1 -12
  229. package/lib/exercises/math/combinatory/anagrams.d.ts.map +1 -1
  230. package/lib/exercises/math/combinatory/anagrams.js +1 -1
  231. package/lib/exercises/math/combinatory/ballsCounting.d.ts.map +1 -1
  232. package/lib/exercises/math/combinatory/diceCounting.d.ts.map +1 -1
  233. package/lib/exercises/math/combinatory/diceCounting.js +1 -1
  234. package/lib/exercises/math/complex/addComplex.d.ts.map +1 -1
  235. package/lib/exercises/math/complex/argumentFromAlgebraicComplex.d.ts.map +1 -1
  236. package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -1
  237. package/lib/exercises/math/complex/linearCombinaisonComplex.d.ts.map +1 -1
  238. package/lib/exercises/math/complex/linearCombinaisonComplex.js +1 -1
  239. package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -1
  240. package/lib/exercises/math/conversion/aeraConversion.js +1 -1
  241. package/lib/exercises/math/conversion/hoursToDecimal.d.ts.map +1 -1
  242. package/lib/exercises/math/conversion/hoursToDecimal.js +2 -2
  243. package/lib/exercises/math/conversion/hoursToSecond.d.ts.map +1 -1
  244. package/lib/exercises/math/conversion/hoursToSecond.js +3 -3
  245. package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
  246. package/lib/exercises/math/conversion/lengthConversion.js +4 -4
  247. package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -1
  248. package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
  249. package/lib/exercises/math/curve/sqrtCurvePoint.d.ts.map +1 -1
  250. package/lib/exercises/math/curve/sqrtCurvePoint.js +3 -3
  251. package/lib/exercises/math/curve/squareCurvePoint.d.ts.map +1 -1
  252. package/lib/exercises/math/curve/squareCurvePoint.js +4 -4
  253. package/lib/exercises/math/dataRepresentations/barChartReading.d.ts.map +1 -1
  254. package/lib/exercises/math/dataRepresentations/barChartReading.js +5 -5
  255. package/lib/exercises/math/dataRepresentations/functionGraphReading.d.ts.map +1 -1
  256. package/lib/exercises/math/dataRepresentations/functionGraphReading.js +5 -12
  257. package/lib/exercises/math/dataRepresentations/pieChartReading.d.ts.map +1 -1
  258. package/lib/exercises/math/dataRepresentations/pieChartReading.js +3 -3
  259. package/lib/exercises/math/dataRepresentations/tableReading.d.ts.map +1 -1
  260. package/lib/exercises/math/dataRepresentations/tableReading.js +5 -5
  261. package/lib/exercises/math/dataRepresentations/testGen.d.ts +0 -7
  262. package/lib/exercises/math/dataRepresentations/testGen.d.ts.map +1 -1
  263. package/lib/exercises/math/dataRepresentations/testGen.js +129 -108
  264. package/lib/exercises/math/dataRepresentations/testGenGGB.d.ts +0 -7
  265. package/lib/exercises/math/dataRepresentations/testGenGGB.d.ts.map +1 -1
  266. package/lib/exercises/math/dataRepresentations/testGenGGB.js +140 -118
  267. package/lib/exercises/math/dataRepresentations/testGenStudentGGB.d.ts +0 -7
  268. package/lib/exercises/math/dataRepresentations/testGenStudentGGB.d.ts.map +1 -1
  269. package/lib/exercises/math/dataRepresentations/testGenStudentGGB.js +146 -123
  270. package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts.map +1 -1
  271. package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.js +1 -1
  272. package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts.map +1 -1
  273. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts.map +1 -1
  274. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.js +3 -4
  275. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts.map +1 -1
  276. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.js +1 -1
  277. package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +1 -1
  278. package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +2 -2
  279. package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.js +1 -1
  280. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
  281. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +1 -1
  282. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.js +6 -6
  283. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.js +2 -2
  284. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.js +2 -2
  285. package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.js +1 -1
  286. package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +2 -2
  287. package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +2 -2
  288. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.js +1 -1
  289. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts.map +1 -1
  290. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.js +2 -2
  291. package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.js +2 -2
  292. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts.map +1 -1
  293. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.js +2 -2
  294. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts.map +1 -1
  295. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.js +2 -2
  296. package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -1
  297. package/lib/exercises/math/derivation/derivative/productDerivative.js +1 -1
  298. package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
  299. package/lib/exercises/math/derivation/derivative/quotientDerivative.js +1 -1
  300. package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.js +2 -2
  301. package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +1 -1
  302. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts.map +1 -1
  303. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.js +8 -8
  304. package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts.map +1 -1
  305. package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.js +1 -1
  306. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts.map +1 -1
  307. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +1 -1
  308. package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.js +1 -1
  309. package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +1 -1
  310. package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.d.ts.map +1 -1
  311. package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.js +5 -6
  312. package/lib/exercises/math/derivation/tangent/derivativeNumberReading.d.ts.map +1 -1
  313. package/lib/exercises/math/derivation/tangent/derivativeNumberReading.js +6 -33
  314. package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.d.ts +2 -1
  315. package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.d.ts.map +1 -1
  316. package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.js +7 -7
  317. package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.d.ts.map +1 -1
  318. package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.js +4 -4
  319. package/lib/exercises/math/derivation/tangent/tangentEquationWithData.d.ts.map +1 -1
  320. package/lib/exercises/math/derivation/tangent/tangentEquationWithData.js +3 -3
  321. package/lib/exercises/math/derivation/tangent/tangentEquations.d.ts.map +1 -1
  322. package/lib/exercises/math/derivation/tangent/tangentEquations.js +2 -2
  323. package/lib/exercises/math/derivation/variations/thirdDegreeDerivativeVariation.d.ts.map +1 -1
  324. package/lib/exercises/math/derivation/variations/thirdDegreeDerivativeVariation.js +2 -2
  325. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts.map +1 -1
  326. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.js +5 -16
  327. package/lib/exercises/math/derivation/variations/variationArrowAmount.d.ts.map +1 -1
  328. package/lib/exercises/math/derivation/variations/variationArrowAmount.js +4 -11
  329. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts.map +1 -1
  330. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.js +7 -7
  331. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +1 -1
  332. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.js +7 -4
  333. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
  334. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +1 -1
  335. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts.map +1 -1
  336. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.js +6 -6
  337. package/lib/exercises/math/functions/absolute/absolueValueAffineEquation.js +4 -4
  338. package/lib/exercises/math/functions/absolute/absolueValueInequationsSup.d.ts.map +1 -1
  339. package/lib/exercises/math/functions/absolute/absolueValueInequationsSup.js +4 -4
  340. package/lib/exercises/math/functions/absolute/absoluteValueInequations.d.ts.map +1 -1
  341. package/lib/exercises/math/functions/absolute/absoluteValueInequations.js +2 -4
  342. package/lib/exercises/math/functions/absolute/calculateDistanceBetweenNumbers.d.ts.map +1 -1
  343. package/lib/exercises/math/functions/absolute/calculateDistanceBetweenNumbers.js +3 -3
  344. package/lib/exercises/math/functions/absolute/calculateDistanceWithAbsoluteValue.d.ts.map +1 -1
  345. package/lib/exercises/math/functions/absolute/calculateDistanceWithAbsoluteValue.js +4 -4
  346. package/lib/exercises/math/functions/absolute/calculateWithAbsoluteValue.d.ts.map +1 -1
  347. package/lib/exercises/math/functions/absolute/calculateWithAbsoluteValue.js +3 -6
  348. package/lib/exercises/math/functions/absolute/removeAbsNotation.d.ts.map +1 -1
  349. package/lib/exercises/math/functions/absolute/removeAbsNotation.js +2 -2
  350. package/lib/exercises/math/functions/absolute/removeAbsNotationSign.d.ts.map +1 -1
  351. package/lib/exercises/math/functions/absolute/removeAbsNotationSign.js +2 -2
  352. package/lib/exercises/math/functions/affines/affineAdjustment.d.ts.map +1 -1
  353. package/lib/exercises/math/functions/affines/affineAdjustment.js +5 -5
  354. package/lib/exercises/math/functions/affines/affineAdjustmentComplete.d.ts.map +1 -1
  355. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts.map +1 -1
  356. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.js +1 -1
  357. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -1
  358. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +4 -4
  359. package/lib/exercises/math/functions/affines/affineExpressionReading.js +6 -6
  360. package/lib/exercises/math/functions/affines/affineFromExercise.d.ts.map +1 -1
  361. package/lib/exercises/math/functions/affines/affineFromExercise.js +3 -3
  362. package/lib/exercises/math/functions/affines/affineMeanValue.js +1 -1
  363. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts.map +1 -1
  364. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.js +2 -2
  365. package/lib/exercises/math/functions/affines/drawAffineFromLitExp.d.ts +9 -0
  366. package/lib/exercises/math/functions/affines/drawAffineFromLitExp.d.ts.map +1 -0
  367. package/lib/exercises/math/functions/affines/drawAffineFromLitExp.js +118 -0
  368. package/lib/exercises/math/functions/affines/index.d.ts +1 -0
  369. package/lib/exercises/math/functions/affines/index.d.ts.map +1 -1
  370. package/lib/exercises/math/functions/affines/index.js +1 -0
  371. package/lib/exercises/math/functions/affines/interceptReading.js +8 -8
  372. package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.js +1 -1
  373. package/lib/exercises/math/functions/affines/leadingCoefficient.d.ts.map +1 -1
  374. package/lib/exercises/math/functions/affines/leadingCoefficient.js +7 -7
  375. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.d.ts.map +1 -1
  376. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.js +4 -6
  377. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.js +3 -3
  378. package/lib/exercises/math/functions/affines/signFunction.d.ts.map +1 -1
  379. package/lib/exercises/math/functions/affines/signFunction.js +1 -1
  380. package/lib/exercises/math/functions/basics/countFunctionZeroes.d.ts.map +1 -1
  381. package/lib/exercises/math/functions/basics/countFunctionZeroes.js +6 -5
  382. package/lib/exercises/math/functions/basics/findZeroesProductQuotient.d.ts.map +1 -1
  383. package/lib/exercises/math/functions/basics/findZeroesProductQuotient.js +2 -5
  384. package/lib/exercises/math/functions/basics/graphicEquation.d.ts.map +1 -1
  385. package/lib/exercises/math/functions/basics/graphicEquation.js +5 -5
  386. package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -1
  387. package/lib/exercises/math/functions/basics/graphicInequation.js +5 -5
  388. package/lib/exercises/math/functions/basics/graphicInequationAffine.d.ts.map +1 -1
  389. package/lib/exercises/math/functions/basics/graphicInequationAffine.js +5 -5
  390. package/lib/exercises/math/functions/basics/imageAntecedentFromSentence.d.ts.map +1 -1
  391. package/lib/exercises/math/functions/basics/imageAntecedentFromSentence.js +3 -3
  392. package/lib/exercises/math/functions/basics/imageFunction.d.ts.map +1 -1
  393. package/lib/exercises/math/functions/basics/imageFunction.js +11 -11
  394. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.d.ts.map +1 -1
  395. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.js +19 -52
  396. package/lib/exercises/math/functions/basics/inverseImageFunction.d.ts.map +1 -1
  397. package/lib/exercises/math/functions/basics/inverseImageFunction.js +1 -14
  398. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.d.ts.map +1 -1
  399. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.js +2 -29
  400. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts.map +1 -1
  401. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.js +5 -5
  402. package/lib/exercises/math/functions/basics/isPointOnFunction.d.ts.map +1 -1
  403. package/lib/exercises/math/functions/basics/isPointOnFunction.js +4 -5
  404. package/lib/exercises/math/functions/basics/signOfFunction.d.ts.map +1 -1
  405. package/lib/exercises/math/functions/basics/signOfFunction.js +4 -7
  406. package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts.map +1 -1
  407. package/lib/exercises/math/functions/basics/twoFunctionsEquation.js +6 -7
  408. package/lib/exercises/math/functions/basics/twoFunctionsInequation.d.ts.map +1 -1
  409. package/lib/exercises/math/functions/basics/twoFunctionsInequation.js +5 -5
  410. package/lib/exercises/math/functions/basics/valueTableCompletion.d.ts.map +1 -1
  411. package/lib/exercises/math/functions/basics/valueTableCompletion.js +5 -5
  412. package/lib/exercises/math/functions/basics/valueTableFromGraph.d.ts.map +1 -1
  413. package/lib/exercises/math/functions/basics/valueTableFromGraph.js +6 -6
  414. package/lib/exercises/math/functions/cube/compareCubeValues.js +3 -3
  415. package/lib/exercises/math/functions/cube/cubicEquation.d.ts.map +1 -1
  416. package/lib/exercises/math/functions/cube/imageOfCubeFunction.d.ts.map +1 -1
  417. package/lib/exercises/math/functions/cube/imageOfCubeFunction.js +3 -3
  418. package/lib/exercises/math/functions/cube/isPointOnCubicFunction.d.ts.map +1 -1
  419. package/lib/exercises/math/functions/cube/isPointOnCubicFunction.js +3 -3
  420. package/lib/exercises/math/functions/exponential/expEquation.js +2 -2
  421. package/lib/exercises/math/functions/exponential/expFactorization.d.ts.map +1 -1
  422. package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -1
  423. package/lib/exercises/math/functions/exponential/expSimplifiying.js +1 -1
  424. package/lib/exercises/math/functions/exponentials/exponentialsVariations.js +3 -3
  425. package/lib/exercises/math/functions/integral/integralAffines.d.ts.map +1 -1
  426. package/lib/exercises/math/functions/integral/integralExpU.d.ts.map +1 -1
  427. package/lib/exercises/math/functions/integral/integralExpU.js +1 -1
  428. package/lib/exercises/math/functions/integral/integralFractions.d.ts.map +1 -1
  429. package/lib/exercises/math/functions/integral/integralFractions.js +1 -1
  430. package/lib/exercises/math/functions/integral/integralKCosinus.d.ts.map +1 -1
  431. package/lib/exercises/math/functions/integral/integralKCosinus.js +1 -1
  432. package/lib/exercises/math/functions/integral/integralKSinus.d.ts.map +1 -1
  433. package/lib/exercises/math/functions/integral/integralKSinus.js +1 -1
  434. package/lib/exercises/math/functions/integral/integralTrinomials.d.ts.map +1 -1
  435. package/lib/exercises/math/functions/integral/integralTrinomials.js +1 -1
  436. package/lib/exercises/math/functions/inverse/compareInverseValues.d.ts.map +1 -1
  437. package/lib/exercises/math/functions/inverse/compareInverseValues.js +1 -2
  438. package/lib/exercises/math/functions/inverse/isPointOnReciprocalFunction.d.ts.map +1 -1
  439. package/lib/exercises/math/functions/inverse/isPointOnReciprocalFunction.js +3 -4
  440. package/lib/exercises/math/functions/inverse/solveInverseEquation.d.ts.map +1 -1
  441. package/lib/exercises/math/functions/inverse/solveInverseEquation.js +9 -6
  442. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
  443. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +1 -1
  444. package/lib/exercises/math/functions/logarithm/log10Simplifying.d.ts.map +1 -1
  445. package/lib/exercises/math/functions/logarithm/log10Simplifying.js +4 -4
  446. package/lib/exercises/math/functions/logarithm/logPowerEquation.d.ts.map +1 -1
  447. package/lib/exercises/math/functions/logarithm/logPowerEquation.js +6 -6
  448. package/lib/exercises/math/functions/logarithm/logSimplifiying.js +2 -2
  449. package/lib/exercises/math/functions/logarithm/powerEquation.d.ts.map +1 -1
  450. package/lib/exercises/math/functions/logarithm/powerEquation.js +2 -2
  451. package/lib/exercises/math/functions/parity/finishParityFunctionGraph.d.ts.map +1 -1
  452. package/lib/exercises/math/functions/parity/finishParityFunctionGraph.js +5 -5
  453. package/lib/exercises/math/functions/parity/parityFromAlgebra.d.ts.map +1 -1
  454. package/lib/exercises/math/functions/parity/parityFromAlgebra.js +5 -7
  455. package/lib/exercises/math/functions/parity/parityFromGraph.d.ts.map +1 -1
  456. package/lib/exercises/math/functions/parity/parityFromGraph.js +6 -6
  457. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.d.ts.map +1 -1
  458. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.js +4 -4
  459. package/lib/exercises/math/functions/sign/affineProductSign.d.ts.map +1 -1
  460. package/lib/exercises/math/functions/sign/affineProductSign.js +5 -5
  461. package/lib/exercises/math/functions/sign/affineProductSignTable.d.ts.map +1 -1
  462. package/lib/exercises/math/functions/sign/affineProductSignTable.js +2 -2
  463. package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.d.ts.map +1 -1
  464. package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.js +4 -21
  465. package/lib/exercises/math/functions/sign/affineSignTable.d.ts.map +1 -1
  466. package/lib/exercises/math/functions/sign/affineSignTable.js +4 -5
  467. package/lib/exercises/math/functions/sign/equationFromSignTable.js +7 -6
  468. package/lib/exercises/math/functions/sign/partialSignTableFromGraph.d.ts.map +1 -1
  469. package/lib/exercises/math/functions/sign/partialSignTableFromGraph.js +7 -7
  470. package/lib/exercises/math/functions/sign/readSignTable.d.ts.map +1 -1
  471. package/lib/exercises/math/functions/sign/readSignTable.js +4 -3
  472. package/lib/exercises/math/functions/sign/signTableFromGraph.d.ts.map +1 -1
  473. package/lib/exercises/math/functions/sign/signTableFromGraph.js +7 -7
  474. package/lib/exercises/math/functions/sqrt/compareSqrtValues.js +3 -3
  475. package/lib/exercises/math/functions/sqrt/getImageOfSquareRootFunction.d.ts.map +1 -1
  476. package/lib/exercises/math/functions/sqrt/getImageOfSquareRootFunction.js +2 -2
  477. package/lib/exercises/math/functions/sqrt/sqrtInequality.d.ts.map +1 -1
  478. package/lib/exercises/math/functions/sqrt/sqrtInequality.js +1 -2
  479. package/lib/exercises/math/functions/sqrt/squareRootCalculation.d.ts.map +1 -1
  480. package/lib/exercises/math/functions/sqrt/squareRootCalculation.js +2 -2
  481. package/lib/exercises/math/functions/square/compareSquaredValues.d.ts.map +1 -1
  482. package/lib/exercises/math/functions/square/compareSquaredValues.js +5 -8
  483. package/lib/exercises/math/functions/square/imageOfSquareFunction.d.ts.map +1 -1
  484. package/lib/exercises/math/functions/square/imageOfSquareFunction.js +3 -3
  485. package/lib/exercises/math/functions/square/squareFunctionInequationWithGraph.d.ts.map +1 -1
  486. package/lib/exercises/math/functions/square/squareFunctionInequationWithGraph.js +2 -2
  487. package/lib/exercises/math/functions/square/squareImageInterval.d.ts.map +1 -1
  488. package/lib/exercises/math/functions/square/squareImageInterval.js +26 -34
  489. package/lib/exercises/math/functions/square/squareImageIntervalWithGraph.d.ts.map +1 -1
  490. package/lib/exercises/math/functions/square/squareImageIntervalWithGraph.js +5 -6
  491. package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.d.ts.map +1 -1
  492. package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.js +1 -1
  493. package/lib/exercises/math/functions/trinoms/devForm/variationsFromAlgebricForm.js +2 -2
  494. package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.d.ts.map +1 -1
  495. package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.js +2 -2
  496. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -1
  497. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.js +4 -8
  498. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.d.ts.map +1 -1
  499. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.js +1 -1
  500. package/lib/exercises/math/functions/trinoms/factoForm/factorizedFormFromRoots.js +1 -1
  501. package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.d.ts.map +1 -1
  502. package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.js +18 -14
  503. package/lib/exercises/math/functions/trinoms/parabole/trinomSymetryAxisFromFacto.js +7 -7
  504. package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.d.ts.map +1 -1
  505. package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.js +3 -3
  506. package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.d.ts.map +1 -1
  507. package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.js +3 -3
  508. package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.d.ts.map +1 -1
  509. package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.js +2 -2
  510. package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.d.ts.map +1 -1
  511. package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.js +10 -11
  512. package/lib/exercises/math/functions/trinoms/roots/rootsProduct.d.ts.map +1 -1
  513. package/lib/exercises/math/functions/trinoms/roots/rootsProduct.js +3 -3
  514. package/lib/exercises/math/functions/trinoms/roots/rootsReading.d.ts.map +1 -1
  515. package/lib/exercises/math/functions/trinoms/roots/rootsReading.js +3 -3
  516. package/lib/exercises/math/functions/trinoms/roots/rootsSum.d.ts.map +1 -1
  517. package/lib/exercises/math/functions/trinoms/roots/rootsSum.js +3 -3
  518. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.d.ts.map +1 -1
  519. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.js +3 -6
  520. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.d.ts.map +1 -1
  521. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.js +3 -6
  522. package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.d.ts.map +1 -1
  523. package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.js +2 -2
  524. package/lib/exercises/math/functions/trinoms/summitAndCanonical/canonicalFromDevForm.d.ts.map +1 -1
  525. package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumTypeFromAlgebricForm.js +1 -1
  526. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromDevForm.js +4 -4
  527. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromRoots.js +2 -2
  528. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitReading.js +1 -1
  529. package/lib/exercises/math/functions/trinoms/trinomialMeanValue.js +1 -1
  530. package/lib/exercises/math/functions/variations/compareImagesInVarTable.d.ts.map +1 -1
  531. package/lib/exercises/math/functions/variations/compareImagesInVarTable.js +4 -5
  532. package/lib/exercises/math/functions/variations/partialVarTableFromGraph.d.ts.map +1 -1
  533. package/lib/exercises/math/functions/variations/partialVarTableFromGraph.js +7 -12
  534. package/lib/exercises/math/functions/variations/readExtremaOnGraph.d.ts.map +1 -1
  535. package/lib/exercises/math/functions/variations/readExtremaOnGraph.js +6 -6
  536. package/lib/exercises/math/functions/variations/readVarOnGraph.d.ts.map +1 -1
  537. package/lib/exercises/math/functions/variations/readVarOnGraph.js +3 -3
  538. package/lib/exercises/math/functions/variations/readVarOnGraph2.d.ts.map +1 -1
  539. package/lib/exercises/math/functions/variations/readVarOnGraph2.js +4 -4
  540. package/lib/exercises/math/functions/variations/varTableExtremaReading.d.ts.map +1 -1
  541. package/lib/exercises/math/functions/variations/varTableExtremaReading.js +5 -5
  542. package/lib/exercises/math/functions/variations/varTableFromGraph.d.ts.map +1 -1
  543. package/lib/exercises/math/functions/variations/varTableFromGraph.js +7 -7
  544. package/lib/exercises/math/functions/variations/varTableFromSentences.d.ts.map +1 -1
  545. package/lib/exercises/math/functions/variations/varTableFromSentences.js +12 -12
  546. package/lib/exercises/math/geometry/angles/parallelogramFourthAngle.js +3 -3
  547. package/lib/exercises/math/geometry/angles/recognizeAngleType.d.ts.map +1 -1
  548. package/lib/exercises/math/geometry/angles/recognizeAngleType.js +19 -19
  549. package/lib/exercises/math/geometry/areas/calculateAreaFromCodedShape.d.ts.map +1 -1
  550. package/lib/exercises/math/geometry/areas/calculateAreaFromCodedShape.js +7 -7
  551. package/lib/exercises/math/geometry/areas/circleArea.js +1 -1
  552. package/lib/exercises/math/geometry/areas/circleRadiusFromArea.d.ts.map +1 -1
  553. package/lib/exercises/math/geometry/areas/circleRadiusFromArea.js +3 -3
  554. package/lib/exercises/math/geometry/areas/rectangleArea.js +2 -2
  555. package/lib/exercises/math/geometry/areas/rectangleSideFromArea.d.ts.map +1 -1
  556. package/lib/exercises/math/geometry/areas/rectangleSideFromArea.js +3 -3
  557. package/lib/exercises/math/geometry/areas/squareArea.d.ts.map +1 -1
  558. package/lib/exercises/math/geometry/areas/squareArea.js +1 -1
  559. package/lib/exercises/math/geometry/areas/squareSideFromArea.d.ts.map +1 -1
  560. package/lib/exercises/math/geometry/areas/squareSideFromArea.js +3 -3
  561. package/lib/exercises/math/geometry/areas/triangleArea.js +4 -4
  562. package/lib/exercises/math/geometry/areas/triangleAreaV2.js +1 -1
  563. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.d.ts.map +1 -1
  564. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.js +2 -4
  565. package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.d.ts.map +1 -1
  566. package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.js +6 -6
  567. package/lib/exercises/math/geometry/cartesian/cartesianFromVectorAndPoint.d.ts.map +1 -1
  568. package/lib/exercises/math/geometry/cartesian/cartesianFromVectorAndPoint.js +4 -4
  569. package/lib/exercises/math/geometry/cartesian/directionVector.d.ts.map +1 -1
  570. package/lib/exercises/math/geometry/cartesian/directionVector.js +2 -22
  571. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.d.ts.map +1 -1
  572. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.js +10 -20
  573. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -1
  574. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +9 -9
  575. package/lib/exercises/math/geometry/cartesian/drawAlineInGGB.d.ts.map +1 -1
  576. package/lib/exercises/math/geometry/cartesian/drawAlineInGGB.js +1 -1
  577. package/lib/exercises/math/geometry/cartesian/midpoint.d.ts.map +1 -1
  578. package/lib/exercises/math/geometry/cartesian/midpoint.js +3 -5
  579. package/lib/exercises/math/geometry/cartesian/placeAPoint.d.ts.map +1 -1
  580. package/lib/exercises/math/geometry/cartesian/placeAPoint.js +3 -3
  581. package/lib/exercises/math/geometry/cartesian/placeAbscissOnLine.d.ts.map +1 -1
  582. package/lib/exercises/math/geometry/cartesian/placeAbscissOnLine.js +32 -30
  583. package/lib/exercises/math/geometry/cartesian/placeAbscissOnSemiLine.d.ts.map +1 -1
  584. package/lib/exercises/math/geometry/cartesian/placeAbscissOnSemiLine.js +5 -4
  585. package/lib/exercises/math/geometry/cartesian/pointCoordinates.js +2 -2
  586. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoAxisNumbers.js +2 -2
  587. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.d.ts.map +1 -1
  588. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.js +2 -3
  589. package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.d.ts.map +1 -1
  590. package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.js +10 -9
  591. package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.d.ts.map +1 -1
  592. package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.js +10 -9
  593. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.d.ts.map +1 -1
  594. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.js +3 -3
  595. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.d.ts.map +1 -1
  596. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.js +2 -2
  597. package/lib/exercises/math/geometry/euclidian/orthogonalProjectFromPicture.d.ts.map +1 -1
  598. package/lib/exercises/math/geometry/euclidian/orthogonalProjectFromPicture.js +3 -3
  599. package/lib/exercises/math/geometry/euclidian/pythagoreOrThales.d.ts.map +1 -1
  600. package/lib/exercises/math/geometry/euclidian/pythagoreOrThales.js +8 -12
  601. package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.d.ts.map +1 -1
  602. package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.js +2 -2
  603. package/lib/exercises/math/geometry/euclidianConstructions/buildPointFromAxialSymetry.d.ts.map +1 -1
  604. package/lib/exercises/math/geometry/euclidianConstructions/buildPointFromAxialSymetry.js +1 -1
  605. package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.d.ts.map +1 -1
  606. package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.js +2 -2
  607. package/lib/exercises/math/geometry/euclidianConstructions/pointImageFromTranslation.d.ts.map +1 -1
  608. package/lib/exercises/math/geometry/euclidianConstructions/pointImageFromTranslation.js +4 -5
  609. package/lib/exercises/math/geometry/lines/aAndBFromReductEquation.js +1 -1
  610. package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.d.ts.map +1 -1
  611. package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.js +7 -7
  612. package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.d.ts.map +1 -1
  613. package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.js +2 -2
  614. package/lib/exercises/math/geometry/lines/directorVectorFromAnother.d.ts.map +1 -1
  615. package/lib/exercises/math/geometry/lines/directorVectorFromAnother.js +3 -3
  616. package/lib/exercises/math/geometry/lines/directorVectorFromReductEquation.d.ts.map +1 -1
  617. package/lib/exercises/math/geometry/lines/directorVectorFromReductEquation.js +7 -7
  618. package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.d.ts.map +1 -1
  619. package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.js +1 -2
  620. package/lib/exercises/math/geometry/lines/drawLineFromPointAndVector.d.ts.map +1 -1
  621. package/lib/exercises/math/geometry/lines/drawLineFromPointAndVector.js +1 -1
  622. package/lib/exercises/math/geometry/lines/findParallelLineFromCartesianEquation.d.ts.map +1 -1
  623. package/lib/exercises/math/geometry/lines/findParallelLineFromCartesianEquation.js +4 -5
  624. package/lib/exercises/math/geometry/lines/findParallelLineFromReductEquation.d.ts.map +1 -1
  625. package/lib/exercises/math/geometry/lines/findParallelLineFromReductEquation.js +4 -5
  626. package/lib/exercises/math/geometry/lines/findPointOnLineWithCartesianEquation.d.ts.map +1 -1
  627. package/lib/exercises/math/geometry/lines/findPointOnLineWithCartesianEquation.js +3 -3
  628. package/lib/exercises/math/geometry/lines/findPointOnLineWithReductEquation.d.ts.map +1 -1
  629. package/lib/exercises/math/geometry/lines/findPointOnLineWithReductEquation.js +4 -4
  630. package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.d.ts.map +1 -1
  631. package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.js +3 -3
  632. package/lib/exercises/math/geometry/lines/isPointOnLine.js +3 -3
  633. package/lib/exercises/math/geometry/lines/linesRelativePositions.d.ts.map +1 -1
  634. package/lib/exercises/math/geometry/lines/linesRelativePositions.js +9 -9
  635. package/lib/exercises/math/geometry/lines/reductEquationFindY.d.ts.map +1 -1
  636. package/lib/exercises/math/geometry/lines/reductEquationFindY.js +7 -7
  637. package/lib/exercises/math/geometry/lines/reductEquationFromTwoPoints.d.ts.map +1 -1
  638. package/lib/exercises/math/geometry/lines/reductEquationFromTwoPoints.js +4 -5
  639. package/lib/exercises/math/geometry/lines/reductEquationReading.d.ts.map +1 -1
  640. package/lib/exercises/math/geometry/lines/reductEquationReading.js +9 -9
  641. package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.d.ts.map +1 -1
  642. package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.js +3 -3
  643. package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.d.ts.map +1 -1
  644. package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.js +5 -5
  645. package/lib/exercises/math/geometry/optimisation/lengthWithXOnPicture.d.ts.map +1 -1
  646. package/lib/exercises/math/geometry/optimisation/lengthWithXOnPicture.js +6 -6
  647. package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.d.ts.map +1 -1
  648. package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.js +3 -3
  649. package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.d.ts.map +1 -1
  650. package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.js +3 -3
  651. package/lib/exercises/math/geometry/parametric/pointFromParametricLine.d.ts.map +1 -1
  652. package/lib/exercises/math/geometry/parametric/pointFromParametricLine.js +3 -3
  653. package/lib/exercises/math/geometry/perimeters/circleCircumference.js +1 -1
  654. package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.d.ts.map +1 -1
  655. package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.js +3 -3
  656. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.d.ts.map +1 -1
  657. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.js +1 -1
  658. package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.js +3 -3
  659. package/lib/exercises/math/geometry/perimeters/squarePerimeter.js +1 -1
  660. package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.d.ts.map +1 -1
  661. package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.js +3 -3
  662. package/lib/exercises/math/geometry/perimeters/trianglePerimeter.js +1 -1
  663. package/lib/exercises/math/geometry/pythagore/calculateDiagonalFromSides.d.ts.map +1 -1
  664. package/lib/exercises/math/geometry/pythagore/calculateDiagonalFromSides.js +2 -3
  665. package/lib/exercises/math/geometry/pythagore/isTriangleRight.d.ts.map +1 -1
  666. package/lib/exercises/math/geometry/pythagore/isTriangleRight.js +5 -4
  667. package/lib/exercises/math/geometry/pythagore/pythagore.d.ts.map +1 -1
  668. package/lib/exercises/math/geometry/pythagore/pythagore.js +2 -2
  669. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.d.ts.map +1 -1
  670. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +3 -3
  671. package/lib/exercises/math/geometry/pythagore/triangleHeight.d.ts.map +1 -1
  672. package/lib/exercises/math/geometry/pythagore/triangleHeight.js +5 -5
  673. package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.d.ts.map +1 -1
  674. package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.js +3 -4
  675. package/lib/exercises/math/geometry/quadrilaterals/parallelogramRectangle.d.ts.map +1 -1
  676. package/lib/exercises/math/geometry/quadrilaterals/parallelogramRectangle.js +2 -2
  677. package/lib/exercises/math/geometry/quadrilaterals/parallelogramRhombus.d.ts.map +1 -1
  678. package/lib/exercises/math/geometry/quadrilaterals/parallelogramRhombus.js +2 -2
  679. package/lib/exercises/math/geometry/quadrilaterals/quadrilateralRecognition.d.ts.map +1 -1
  680. package/lib/exercises/math/geometry/quadrilaterals/quadrilateralRecognition.js +6 -9
  681. package/lib/exercises/math/geometry/shapes/basicShapesNaming.d.ts.map +1 -1
  682. package/lib/exercises/math/geometry/shapes/basicShapesNaming.js +8 -5
  683. package/lib/exercises/math/geometry/shapes/basicShapesRecognition.d.ts.map +1 -1
  684. package/lib/exercises/math/geometry/shapes/basicShapesRecognition.js +9 -5
  685. package/lib/exercises/math/geometry/thales/thales.d.ts.map +1 -1
  686. package/lib/exercises/math/geometry/thales/thales.js +2 -2
  687. package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
  688. package/lib/exercises/math/geometry/thales/thalesCalcul.js +4 -4
  689. package/lib/exercises/math/geometry/triangles/triangleNature.d.ts.map +1 -1
  690. package/lib/exercises/math/geometry/triangles/triangleNature.js +16 -14
  691. package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.d.ts.map +1 -1
  692. package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.js +3 -3
  693. package/lib/exercises/math/geometry/vectors/chasles.d.ts.map +1 -1
  694. package/lib/exercises/math/geometry/vectors/chasles.js +3 -3
  695. package/lib/exercises/math/geometry/vectors/colinearity/alignementViaColinearity.d.ts.map +1 -1
  696. package/lib/exercises/math/geometry/vectors/colinearity/alignementViaColinearity.js +2 -2
  697. package/lib/exercises/math/geometry/vectors/colinearity/colinearity.d.ts.map +1 -1
  698. package/lib/exercises/math/geometry/vectors/colinearity/colinearity.js +2 -13
  699. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromBasis.d.ts.map +1 -1
  700. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromBasis.js +4 -4
  701. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromPicture.d.ts.map +1 -1
  702. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromPicture.js +18 -15
  703. package/lib/exercises/math/geometry/vectors/colinearity/determinant.d.ts.map +1 -1
  704. package/lib/exercises/math/geometry/vectors/colinearity/determinant.js +1 -1
  705. package/lib/exercises/math/geometry/vectors/constructions/drawAVectorInGGB.d.ts.map +1 -1
  706. package/lib/exercises/math/geometry/vectors/constructions/drawAVectorInGGB.js +2 -2
  707. package/lib/exercises/math/geometry/vectors/constructions/linearVectorCombinationFromGraph.d.ts.map +1 -1
  708. package/lib/exercises/math/geometry/vectors/constructions/linearVectorCombinationFromGraph.js +6 -6
  709. package/lib/exercises/math/geometry/vectors/constructions/placePointFromPointAndVector.d.ts.map +1 -1
  710. package/lib/exercises/math/geometry/vectors/constructions/placePointFromPointAndVector.js +9 -7
  711. package/lib/exercises/math/geometry/vectors/constructions/traceOppositeVector.d.ts.map +1 -1
  712. package/lib/exercises/math/geometry/vectors/constructions/traceOppositeVector.js +3 -10
  713. package/lib/exercises/math/geometry/vectors/constructions/traceVectorDifference.d.ts.map +1 -1
  714. package/lib/exercises/math/geometry/vectors/constructions/traceVectorDifference.js +4 -8
  715. package/lib/exercises/math/geometry/vectors/constructions/traceVectorMultiple.d.ts.map +1 -1
  716. package/lib/exercises/math/geometry/vectors/constructions/traceVectorMultiple.js +3 -6
  717. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSum.d.ts.map +1 -1
  718. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSum.js +4 -8
  719. package/lib/exercises/math/geometry/vectors/coordinatesReading.d.ts.map +1 -1
  720. package/lib/exercises/math/geometry/vectors/coordinatesReading.js +2 -2
  721. package/lib/exercises/math/geometry/vectors/distributeAndReduceVectors.d.ts.map +1 -1
  722. package/lib/exercises/math/geometry/vectors/distributeAndReduceVectors.js +13 -8
  723. package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.d.ts.map +1 -1
  724. package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.js +5 -5
  725. package/lib/exercises/math/geometry/vectors/findCoordForAligment.d.ts.map +1 -1
  726. package/lib/exercises/math/geometry/vectors/findCoordForAligment.js +3 -3
  727. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.d.ts.map +1 -1
  728. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.js +3 -3
  729. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.d.ts.map +1 -1
  730. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.js +3 -3
  731. package/lib/exercises/math/geometry/vectors/parallelogram/fourthParallelogramPoint.d.ts.map +1 -1
  732. package/lib/exercises/math/geometry/vectors/parallelogram/fourthParallelogramPoint.js +1 -1
  733. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramCriterion.d.ts.map +1 -1
  734. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramCriterion.js +3 -4
  735. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramViaEqualVectors.d.ts.map +1 -1
  736. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramViaEqualVectors.js +3 -3
  737. package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.d.ts.map +1 -1
  738. package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.js +2 -2
  739. package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.d.ts.map +1 -1
  740. package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.js +2 -2
  741. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductIdentities.d.ts.map +1 -1
  742. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductIdentities.js +5 -5
  743. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.d.ts.map +1 -1
  744. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.js +2 -4
  745. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.js +1 -1
  746. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.d.ts.map +1 -1
  747. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.js +1 -1
  748. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.d.ts.map +1 -1
  749. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.js +3 -3
  750. package/lib/exercises/math/geometry/vectors/translationFromPicture.d.ts.map +1 -1
  751. package/lib/exercises/math/geometry/vectors/translationFromPicture.js +9 -7
  752. package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.js +3 -3
  753. package/lib/exercises/math/geometry/vectors/vectorLinearCombination.js +3 -3
  754. package/lib/exercises/math/geometry/vectors/vectorNormCalculation.js +4 -4
  755. package/lib/exercises/math/geometry/vectors/vectorRepresentative.d.ts.map +1 -1
  756. package/lib/exercises/math/geometry/vectors/vectorRepresentative.js +3 -3
  757. package/lib/exercises/math/geometry/volumes/coneVolume.js +2 -2
  758. package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts.map +1 -1
  759. package/lib/exercises/math/geometry/volumes/parallelepipedVolume.js +5 -6
  760. package/lib/exercises/math/geometry/volumes/sphereVolume.js +2 -2
  761. package/lib/exercises/math/geometry/volumes/variableVolume.d.ts.map +1 -1
  762. package/lib/exercises/math/geometry/volumes/variableVolume.js +3 -3
  763. package/lib/exercises/math/geometry/volumes/volumeOfCube.js +1 -1
  764. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts.map +1 -1
  765. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.js +8 -7
  766. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts.map +1 -1
  767. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.js +3 -4
  768. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts.map +1 -1
  769. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.js +5 -6
  770. package/lib/exercises/math/index.d.ts +1 -0
  771. package/lib/exercises/math/index.d.ts.map +1 -1
  772. package/lib/exercises/math/index.js +1 -0
  773. package/lib/exercises/math/limits/limitReading.d.ts.map +1 -1
  774. package/lib/exercises/math/limits/limitReading.js +11 -8
  775. package/lib/exercises/math/limits/polynomLimit.d.ts.map +1 -1
  776. package/lib/exercises/math/limits/polynomLimitNoFI.d.ts.map +1 -1
  777. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.d.ts.map +1 -1
  778. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.js +1 -1
  779. package/lib/exercises/math/limits/rationalFracLimit.js +3 -3
  780. package/lib/exercises/math/limits/sequencePolynomProductLimit.js +2 -2
  781. package/lib/exercises/math/limits/sequenceRationalFracLimit.d.ts.map +1 -1
  782. package/lib/exercises/math/limits/sequenceRationalFracLimit.js +3 -4
  783. package/lib/exercises/math/matrices/matrixGeneralTerm.js +2 -2
  784. package/lib/exercises/math/pcExosInMath.d.ts +85 -0
  785. package/lib/exercises/math/pcExosInMath.d.ts.map +1 -0
  786. package/lib/exercises/math/pcExosInMath.js +84 -0
  787. package/lib/exercises/math/percent/evolutions/applyPercent.d.ts.map +1 -1
  788. package/lib/exercises/math/percent/evolutions/applyPercent.js +1 -1
  789. package/lib/exercises/math/percent/evolutions/cmToEvolution.js +1 -1
  790. package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.d.ts.map +1 -1
  791. package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.js +2 -2
  792. package/lib/exercises/math/percent/evolutions/evolutionToCM.d.ts.map +1 -1
  793. package/lib/exercises/math/percent/evolutions/evolutionToCM.js +0 -1
  794. package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.d.ts.map +1 -1
  795. package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.js +2 -4
  796. package/lib/exercises/math/percent/evolutions/findRightCalculForPriceEvolution.js +7 -7
  797. package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.d.ts.map +1 -1
  798. package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.js +2 -2
  799. package/lib/exercises/math/percent/evolutions/globalCM.d.ts.map +1 -1
  800. package/lib/exercises/math/percent/evolutions/globalCM.js +3 -3
  801. package/lib/exercises/math/percent/evolutions/globalPercent.d.ts.map +1 -1
  802. package/lib/exercises/math/percent/evolutions/globalPercent.js +2 -2
  803. package/lib/exercises/math/percent/evolutions/reciprocalPercentage.js +1 -1
  804. package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
  805. package/lib/exercises/math/percent/findProportion.js +1 -1
  806. package/lib/exercises/math/percent/findTVA.js +3 -3
  807. package/lib/exercises/math/percent/htToTTC.d.ts.map +1 -1
  808. package/lib/exercises/math/percent/htToTTC.js +1 -3
  809. package/lib/exercises/math/percent/interests/compoundInterest.d.ts.map +1 -1
  810. package/lib/exercises/math/percent/interests/compoundInterest.js +1 -1
  811. package/lib/exercises/math/percent/interests/compoundInterestStartValue.d.ts.map +1 -1
  812. package/lib/exercises/math/percent/interests/compoundInterestStartValue.js +1 -1
  813. package/lib/exercises/math/percent/percentOfPercent.d.ts.map +1 -1
  814. package/lib/exercises/math/percent/percentOfPercent.js +3 -3
  815. package/lib/exercises/math/percent/percentOfPercentOfNumber.d.ts.map +1 -1
  816. package/lib/exercises/math/percent/percentOfPercentOfNumber.js +3 -3
  817. package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
  818. package/lib/exercises/math/percent/percentToDecimal.js +2 -3
  819. package/lib/exercises/math/percent/percentWritings.d.ts.map +1 -1
  820. package/lib/exercises/math/percent/percentWritings.js +5 -4
  821. package/lib/exercises/math/percent/populationEffectifFromSubPopulation.d.ts.map +1 -1
  822. package/lib/exercises/math/percent/populationEffectifFromSubPopulation.js +2 -2
  823. package/lib/exercises/math/percent/subPopulationEffectifFromPercent.d.ts.map +1 -1
  824. package/lib/exercises/math/percent/subPopulationEffectifFromPercent.js +2 -2
  825. package/lib/exercises/math/percent/ttcToHT.d.ts.map +1 -1
  826. package/lib/exercises/math/percent/ttcToHT.js +1 -1
  827. package/lib/exercises/math/percent/valuePercent.d.ts.map +1 -1
  828. package/lib/exercises/math/percent/valuePercent.js +3 -3
  829. package/lib/exercises/math/powers/calculateNegativePower.d.ts.map +1 -1
  830. package/lib/exercises/math/powers/calculateNegativePower.js +2 -3
  831. package/lib/exercises/math/powers/calculatePower.d.ts.map +1 -1
  832. package/lib/exercises/math/powers/calculatePower.js +1 -2
  833. package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
  834. package/lib/exercises/math/powers/decimalToScientific.js +2 -2
  835. package/lib/exercises/math/powers/powerDefinition.js +1 -1
  836. package/lib/exercises/math/powers/powerNotation.js +3 -3
  837. package/lib/exercises/math/powers/powersDivision.d.ts.map +1 -1
  838. package/lib/exercises/math/powers/powersDivision.js +5 -5
  839. package/lib/exercises/math/powers/powersMixOperations.d.ts.map +1 -1
  840. package/lib/exercises/math/powers/powersMixOperations.js +4 -4
  841. package/lib/exercises/math/powers/powersOfTenMixOperations.d.ts.map +1 -1
  842. package/lib/exercises/math/powers/powersOfTenMixOperations.js +3 -4
  843. package/lib/exercises/math/powers/powersOfTenToDecimal.js +1 -1
  844. package/lib/exercises/math/powers/powersPower.d.ts.map +1 -1
  845. package/lib/exercises/math/powers/powersPower.js +4 -5
  846. package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
  847. package/lib/exercises/math/powers/powersProduct.js +5 -5
  848. package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -1
  849. package/lib/exercises/math/powers/scientificToDecimal.js +2 -4
  850. package/lib/exercises/math/primitive/constantPrimitive.js +1 -1
  851. package/lib/exercises/math/primitive/expUPrimitive.js +1 -1
  852. package/lib/exercises/math/primitive/exponentialPrimitive.js +1 -1
  853. package/lib/exercises/math/primitive/kexpUPrimitive.d.ts.map +1 -1
  854. package/lib/exercises/math/primitive/kexpUPrimitive.js +4 -5
  855. package/lib/exercises/math/primitive/klogUPrimitive.d.ts.map +1 -1
  856. package/lib/exercises/math/primitive/klogUPrimitive.js +3 -5
  857. package/lib/exercises/math/primitive/logarithmePrimitive.d.ts.map +1 -1
  858. package/lib/exercises/math/primitive/logarithmePrimitive.js +1 -2
  859. package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -1
  860. package/lib/exercises/math/primitive/polynomialPrimitive.js +1 -1
  861. package/lib/exercises/math/primitive/sinCosPrimitive.d.ts.map +1 -1
  862. package/lib/exercises/math/primitive/sinCosPrimitive.js +1 -1
  863. package/lib/exercises/math/primitive/sinUCosUPrimitive.d.ts.map +1 -1
  864. package/lib/exercises/math/primitive/sinUCosUPrimitive.js +1 -1
  865. package/lib/exercises/math/probaStat/basicProbas/ballsBasicProbas.d.ts.map +1 -1
  866. package/lib/exercises/math/probaStat/basicProbas/ballsBasicProbas.js +2 -4
  867. package/lib/exercises/math/probaStat/basicProbas/cardBasicProbas.d.ts.map +1 -1
  868. package/lib/exercises/math/probaStat/basicProbas/cardBasicProbas.js +3 -5
  869. package/lib/exercises/math/probaStat/basicProbas/diceBasicProbas.d.ts.map +1 -1
  870. package/lib/exercises/math/probaStat/basicProbas/diceBasicProbas.js +2 -2
  871. package/lib/exercises/math/probaStat/basicProbas/getComplementaryProbability.d.ts.map +1 -1
  872. package/lib/exercises/math/probaStat/basicProbas/getMissingProbabilityValue.js +2 -2
  873. package/lib/exercises/math/probaStat/basicProbas/mostLeastProbable.js +1 -1
  874. package/lib/exercises/math/probaStat/basicProbas/rouletteProbas.d.ts.map +1 -1
  875. package/lib/exercises/math/probaStat/basicProbas/rouletteProbas.js +4 -3
  876. package/lib/exercises/math/probaStat/basicStats/calculateFrequency.d.ts.map +1 -1
  877. package/lib/exercises/math/probaStat/basicStats/calculateFrequency.js +7 -7
  878. package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.d.ts.map +1 -1
  879. package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.js +3 -3
  880. package/lib/exercises/math/probaStat/binomial/binomialInequation.d.ts.map +1 -1
  881. package/lib/exercises/math/probaStat/binomial/binomialInequation.js +13 -12
  882. package/lib/exercises/math/probaStat/binomial/calculateProbaOfBinomialDistribution.js +1 -1
  883. package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.js +2 -2
  884. package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.d.ts.map +1 -1
  885. package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.js +2 -2
  886. package/lib/exercises/math/probaStat/checkEquiprobability.d.ts.map +1 -1
  887. package/lib/exercises/math/probaStat/checkEquiprobability.js +2 -2
  888. package/lib/exercises/math/probaStat/conditionalProbability.d.ts.map +1 -1
  889. package/lib/exercises/math/probaStat/conditionalProbability.js +7 -4
  890. package/lib/exercises/math/probaStat/events/describeEvent.d.ts.map +1 -1
  891. package/lib/exercises/math/probaStat/events/describeEvent.js +7 -7
  892. package/lib/exercises/math/probaStat/events/eventNotation.d.ts.map +1 -1
  893. package/lib/exercises/math/probaStat/events/eventNotation.js +7 -7
  894. package/lib/exercises/math/probaStat/independancy.d.ts.map +1 -1
  895. package/lib/exercises/math/probaStat/independancy.js +1 -1
  896. package/lib/exercises/math/probaStat/issuesCountingForCards.d.ts.map +1 -1
  897. package/lib/exercises/math/probaStat/issuesCountingForCards.js +2 -4
  898. package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts.map +1 -1
  899. package/lib/exercises/math/probaStat/probaFromTableNoContext.js +13 -8
  900. package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts +1 -2
  901. package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts.map +1 -1
  902. package/lib/exercises/math/probaStat/probaFromTableWithContext.js +9 -6
  903. package/lib/exercises/math/probaStat/probabilityTree.d.ts.map +1 -1
  904. package/lib/exercises/math/probaStat/probabilityTree.js +10 -42
  905. package/lib/exercises/math/probaStat/randomVariable/isTableProbabilityLaw.d.ts.map +1 -1
  906. package/lib/exercises/math/probaStat/randomVariable/isTableProbabilityLaw.js +3 -3
  907. package/lib/exercises/math/probaStat/randomVariable/randomVariableAverage.d.ts.map +1 -1
  908. package/lib/exercises/math/probaStat/randomVariable/randomVariableAverage.js +3 -3
  909. package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.d.ts.map +1 -1
  910. package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.js +3 -3
  911. package/lib/exercises/math/probaStat/randomVariable/randomVariableVariance.d.ts.map +1 -1
  912. package/lib/exercises/math/probaStat/randomVariable/randomVariableVariance.js +3 -3
  913. package/lib/exercises/math/probaStat/stats1var/averageLinearity.d.ts.map +1 -1
  914. package/lib/exercises/math/probaStat/stats1var/averageLinearity.js +2 -2
  915. package/lib/exercises/math/probaStat/stats1var/averageList.d.ts.map +1 -1
  916. package/lib/exercises/math/probaStat/stats1var/averageList.js +2 -2
  917. package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -1
  918. package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +2 -4
  919. package/lib/exercises/math/probaStat/stats1var/calculateMeanFromFrequencies.d.ts.map +1 -1
  920. package/lib/exercises/math/probaStat/stats1var/calculateMeanFromFrequencies.js +3 -3
  921. package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.d.ts.map +1 -1
  922. package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.js +2 -2
  923. package/lib/exercises/math/probaStat/stats1var/compareSeriesDispersion.d.ts.map +1 -1
  924. package/lib/exercises/math/probaStat/stats1var/compareSeriesDispersion.js +3 -3
  925. package/lib/exercises/math/probaStat/stats1var/cumulativeSum.js +4 -4
  926. package/lib/exercises/math/probaStat/stats1var/etendueList.d.ts.map +1 -1
  927. package/lib/exercises/math/probaStat/stats1var/etendueList.js +2 -2
  928. package/lib/exercises/math/probaStat/stats1var/getQuartileProportionQuestion.d.ts.map +1 -1
  929. package/lib/exercises/math/probaStat/stats1var/getQuartileProportionQuestion.js +2 -2
  930. package/lib/exercises/math/probaStat/stats1var/interquartilesList.js +3 -3
  931. package/lib/exercises/math/probaStat/stats1var/interquartilesTable.d.ts.map +1 -1
  932. package/lib/exercises/math/probaStat/stats1var/interquartilesTable.js +4 -4
  933. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -1
  934. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +2 -4
  935. package/lib/exercises/math/probaStat/stats1var/medianWithList.js +2 -2
  936. package/lib/exercises/math/probaStat/stats1var/medianWithTable.d.ts.map +1 -1
  937. package/lib/exercises/math/probaStat/stats1var/medianWithTable.js +3 -3
  938. package/lib/exercises/math/probaStat/stats1var/quartiles.js +3 -3
  939. package/lib/exercises/math/probaStat/stats1var/quartilesList.js +2 -2
  940. package/lib/exercises/math/probaStat/stats1var/standardDeviationList.d.ts.map +1 -1
  941. package/lib/exercises/math/probaStat/stats1var/standardDeviationList.js +3 -3
  942. package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.d.ts.map +1 -1
  943. package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.js +3 -3
  944. package/lib/exercises/math/probaStat/stats1var/varianceList.js +3 -3
  945. package/lib/exercises/math/probaStat/stats1var/varianceTable.js +3 -3
  946. package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts.map +1 -1
  947. package/lib/exercises/math/probaStat/stats2var/averagePoint.js +2 -2
  948. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.d.ts +1 -1
  949. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.js +4 -4
  950. package/lib/exercises/math/probaStat/unionIntersectionProba.d.ts.map +1 -1
  951. package/lib/exercises/math/probaStat/unionIntersectionProba.js +3 -3
  952. package/lib/exercises/math/python/forLoop.js +2 -2
  953. package/lib/exercises/math/python/inOutCalcul.js +6 -6
  954. package/lib/exercises/math/python/pyForLoop1Exercise.js +2 -2
  955. package/lib/exercises/math/python/pyNestedForLoopExercise.d.ts.map +1 -1
  956. package/lib/exercises/math/python/pyNestedForLoopExercise.js +1 -11
  957. package/lib/exercises/math/python/pyWhileLoop1Exercise.d.ts.map +1 -1
  958. package/lib/exercises/math/python/pyWhileLoop1Exercise.js +2 -4
  959. package/lib/exercises/math/python/pythonForLoopInstructionCompletion.d.ts.map +1 -1
  960. package/lib/exercises/math/python/pythonForLoopInstructionCompletion.js +3 -3
  961. package/lib/exercises/math/python/pythonFunctionTrinom.d.ts.map +1 -1
  962. package/lib/exercises/math/python/pythonFunctionTrinom.js +2 -3
  963. package/lib/exercises/math/python/pythonIfStatementCompletion.d.ts.map +1 -1
  964. package/lib/exercises/math/python/pythonIfStatementCompletion.js +4 -4
  965. package/lib/exercises/math/python/pythonRangeCompletion.d.ts.map +1 -1
  966. package/lib/exercises/math/python/pythonRangeCompletion.js +4 -4
  967. package/lib/exercises/math/python/pythonSimpleFunctionInstructionCompletion.d.ts.map +1 -1
  968. package/lib/exercises/math/python/pythonSimpleFunctionInstructionCompletion.js +4 -4
  969. package/lib/exercises/math/python/pythonWhileStatementCompletion.d.ts.map +1 -1
  970. package/lib/exercises/math/python/pythonWhileStatementCompletion.js +2 -2
  971. package/lib/exercises/math/python/pythonWhileStatementOperationCompletion.d.ts.map +1 -1
  972. package/lib/exercises/math/python/pythonWhileStatementOperationCompletion.js +3 -4
  973. package/lib/exercises/math/python/variableAffectation.d.ts.map +1 -1
  974. package/lib/exercises/math/python/variableAffectation.js +2 -2
  975. package/lib/exercises/math/python/variableType.d.ts.map +1 -1
  976. package/lib/exercises/math/python/variableType.js +6 -6
  977. package/lib/exercises/math/python/whileLoop.d.ts.map +1 -1
  978. package/lib/exercises/math/python/whileLoop.js +4 -6
  979. package/lib/exercises/math/python/whileLoopCount.d.ts.map +1 -1
  980. package/lib/exercises/math/python/whileLoopCount.js +2 -2
  981. package/lib/exercises/math/sampling/confidenceInterval.d.ts.map +1 -1
  982. package/lib/exercises/math/sampling/confidenceInterval.js +3 -4
  983. package/lib/exercises/math/sampling/fluctuationInterval.d.ts.map +1 -1
  984. package/lib/exercises/math/sampling/fluctuationInterval.js +3 -4
  985. package/lib/exercises/math/sampling/getSampleCountAndSize.d.ts.map +1 -1
  986. package/lib/exercises/math/sampling/getSampleCountAndSize.js +3 -4
  987. package/lib/exercises/math/sampling/isSamplingRepresentative.d.ts.map +1 -1
  988. package/lib/exercises/math/sampling/isSamplingRepresentative.js +4 -4
  989. package/lib/exercises/math/sampling/samplingFrequency.d.ts.map +1 -1
  990. package/lib/exercises/math/sampling/samplingFrequency.js +4 -5
  991. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -1
  992. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +2 -2
  993. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.d.ts.map +1 -1
  994. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.js +4 -5
  995. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -1
  996. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -1
  997. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.js +4 -4
  998. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.d.ts.map +1 -1
  999. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.js +1 -1
  1000. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts.map +1 -1
  1001. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.js +1 -1
  1002. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +1 -1
  1003. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.js +3 -4
  1004. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -1
  1005. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +2 -2
  1006. package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -1
  1007. package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.js +1 -1
  1008. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts.map +1 -1
  1009. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.js +7 -7
  1010. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts.map +1 -1
  1011. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.js +13 -10
  1012. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.js +4 -4
  1013. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.js +2 -2
  1014. package/lib/exercises/math/sequences/genericSequenceVariations.d.ts.map +1 -1
  1015. package/lib/exercises/math/sequences/genericSequenceVariations.js +1 -1
  1016. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +1 -1
  1017. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -1
  1018. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +1 -2
  1019. package/lib/exercises/math/sequences/geometric/geometricFindReason.js +2 -2
  1020. package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts.map +1 -1
  1021. package/lib/exercises/math/sequences/geometric/geometricFindTerm.js +1 -1
  1022. package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.d.ts.map +1 -1
  1023. package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.js +4 -4
  1024. package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.js +1 -1
  1025. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.d.ts.map +1 -1
  1026. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.js +2 -2
  1027. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts.map +1 -1
  1028. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.js +4 -4
  1029. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +1 -1
  1030. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.js +2 -3
  1031. package/lib/exercises/math/sequences/geometric/geometricVariations.d.ts.map +1 -1
  1032. package/lib/exercises/math/sequences/geometric/geometricVariations.js +3 -3
  1033. package/lib/exercises/math/sequences/recurrenceFormulaUsage.js +1 -1
  1034. package/lib/exercises/math/sequences/sequenceEvaluation.js +11 -10
  1035. package/lib/exercises/math/sequences/sequencePlot.d.ts.map +1 -1
  1036. package/lib/exercises/math/sequences/sequencePlot.js +12 -12
  1037. package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts.map +1 -1
  1038. package/lib/exercises/math/sets/intervals/inequalityToInterval.js +3 -25
  1039. package/lib/exercises/math/sets/intervals/intervalOnGraph.d.ts.map +1 -1
  1040. package/lib/exercises/math/sets/intervals/intervalOnGraph.js +4 -4
  1041. package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts.map +1 -1
  1042. package/lib/exercises/math/sets/intervals/intervalToInequality.js +4 -26
  1043. package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts.map +1 -1
  1044. package/lib/exercises/math/sets/intervals/intervalsIntersection.js +4 -44
  1045. package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts.map +1 -1
  1046. package/lib/exercises/math/sets/intervals/intervalsUnion.js +2 -40
  1047. package/lib/exercises/math/sets/intervals/isNumberInInterval.d.ts.map +1 -1
  1048. package/lib/exercises/math/sets/intervals/isNumberInInterval.js +2 -2
  1049. package/lib/exercises/math/sets/isNumberDecimal.d.ts.map +1 -1
  1050. package/lib/exercises/math/sets/isNumberDecimal.js +9 -10
  1051. package/lib/exercises/math/sets/nameOfNumberSets.js +3 -3
  1052. package/lib/exercises/math/sets/setBelonging.d.ts.map +1 -1
  1053. package/lib/exercises/math/sets/setBelonging.js +2 -3
  1054. package/lib/exercises/math/sets/subsetsOfKnownSets.js +2 -2
  1055. package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.d.ts.map +1 -1
  1056. package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.js +2 -2
  1057. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -1
  1058. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +2 -3
  1059. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -1
  1060. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -1
  1061. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +1 -1
  1062. package/lib/exercises/math/squareRoots/simpifySquareRoot.d.ts.map +1 -1
  1063. package/lib/exercises/math/squareRoots/simpifySquareRoot.js +1 -1
  1064. package/lib/exercises/math/squareRoots/squareRootEquation.d.ts.map +1 -1
  1065. package/lib/exercises/math/squareRoots/squareRootEquation.js +1 -2
  1066. package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts.map +1 -1
  1067. package/lib/exercises/math/squareRoots/squareRootIdentities.js +1 -1
  1068. package/lib/exercises/math/squareRoots/squareRootsDistributivity.d.ts.map +1 -1
  1069. package/lib/exercises/math/squareRoots/squareRootsDistributivity.js +2 -2
  1070. package/lib/exercises/math/squareRoots/squareRootsFractions.js +2 -2
  1071. package/lib/exercises/math/squareRoots/squareRootsProducts.js +2 -2
  1072. package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -1
  1073. package/lib/exercises/math/squareRoots/squareRootsSum.js +2 -6
  1074. package/lib/exercises/math/squareRoots/squareRootsToSquare.d.ts.map +1 -1
  1075. package/lib/exercises/math/squareRoots/squareRootsToSquare.js +4 -3
  1076. package/lib/exercises/math/trigonometry/arcLength.d.ts +2 -1
  1077. package/lib/exercises/math/trigonometry/arcLength.d.ts.map +1 -1
  1078. package/lib/exercises/math/trigonometry/arcLength.js +4 -5
  1079. package/lib/exercises/math/trigonometry/arcValue.d.ts.map +1 -1
  1080. package/lib/exercises/math/trigonometry/arcValue.js +4 -4
  1081. package/lib/exercises/math/trigonometry/associatePoint.d.ts.map +1 -1
  1082. package/lib/exercises/math/trigonometry/associatePoint.js +9 -9
  1083. package/lib/exercises/math/trigonometry/basicEquationCos.d.ts.map +1 -1
  1084. package/lib/exercises/math/trigonometry/basicEquationCos.js +2 -2
  1085. package/lib/exercises/math/trigonometry/basicEquationSin.d.ts.map +1 -1
  1086. package/lib/exercises/math/trigonometry/basicEquationSin.js +2 -2
  1087. package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.d.ts.map +1 -1
  1088. package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.js +2 -2
  1089. package/lib/exercises/math/trigonometry/calculateCosSinAndTan.d.ts.map +1 -1
  1090. package/lib/exercises/math/trigonometry/calculateCosSinAndTan.js +7 -4
  1091. package/lib/exercises/math/trigonometry/degreeToRadians.d.ts +2 -1
  1092. package/lib/exercises/math/trigonometry/degreeToRadians.d.ts.map +1 -1
  1093. package/lib/exercises/math/trigonometry/degreeToRadians.js +5 -5
  1094. package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.d.ts.map +1 -1
  1095. package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.js +2 -2
  1096. package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.d.ts.map +1 -1
  1097. package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.js +2 -3
  1098. package/lib/exercises/math/trigonometry/mainAngleMeasure.d.ts +2 -1
  1099. package/lib/exercises/math/trigonometry/mainAngleMeasure.d.ts.map +1 -1
  1100. package/lib/exercises/math/trigonometry/mainAngleMeasure.js +3 -4
  1101. package/lib/exercises/math/trigonometry/mainRemarkableValues.d.ts.map +1 -1
  1102. package/lib/exercises/math/trigonometry/mainRemarkableValues.js +1 -9
  1103. package/lib/exercises/math/trigonometry/remarkableValues.d.ts.map +1 -1
  1104. package/lib/exercises/math/trigonometry/remarkableValues.js +3 -3
  1105. package/lib/exercises/math/trigonometry/trigoFundamentalEquation.d.ts.map +1 -1
  1106. package/lib/exercises/math/trigonometry/trigoFundamentalEquation.js +4 -4
  1107. package/lib/exercises/math/trigonometry/trigonometry.d.ts.map +1 -1
  1108. package/lib/exercises/math/trigonometry/trigonometry.js +3 -3
  1109. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -1
  1110. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +3 -4
  1111. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
  1112. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +5 -5
  1113. package/lib/exercises/pc/calibrationCurveOfSolution.d.ts.map +1 -1
  1114. package/lib/exercises/pc/calibrationCurveOfSolution.js +4 -4
  1115. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts.map +1 -1
  1116. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.js +2 -2
  1117. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
  1118. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +1 -1
  1119. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -1
  1120. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +3 -3
  1121. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +1 -1
  1122. package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.js +1 -1
  1123. package/lib/exercises/pc/chemicalReactions/identifyStoichiometricMixture.js +4 -4
  1124. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.js +2 -2
  1125. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -1
  1126. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +1 -1
  1127. package/lib/exercises/pc/delution.d.ts.map +1 -1
  1128. package/lib/exercises/pc/delution.js +1 -1
  1129. package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
  1130. package/lib/exercises/pc/dosage/beerLambertRandomValue.js +2 -2
  1131. package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -1
  1132. package/lib/exercises/pc/dosage/concentrationCalculation.js +2 -2
  1133. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +2 -2
  1134. package/lib/exercises/pc/electricity/calculateIntensity.js +2 -2
  1135. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.js +2 -2
  1136. package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -1
  1137. package/lib/exercises/pc/electricity/calculateVoltage.js +8 -4
  1138. package/lib/exercises/pc/electricity/electricEnergyFromPower.d.ts.map +1 -1
  1139. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -1
  1140. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +2 -2
  1141. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts.map +1 -1
  1142. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.js +1 -1
  1143. package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -1
  1144. package/lib/exercises/pc/electricity/ohmLaw.js +6 -7
  1145. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.js +1 -1
  1146. package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -1
  1147. package/lib/exercises/pc/energy/calorificValue.js +2 -7
  1148. package/lib/exercises/pc/energy/combustionTransferEnergy.js +2 -2
  1149. package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -1
  1150. package/lib/exercises/pc/energy/combustionTransferEnergy2.js +1 -2
  1151. package/lib/exercises/pc/energy/efficencyOfConverter.js +1 -1
  1152. package/lib/exercises/pc/energy/efficiencyCalculation.js +2 -2
  1153. package/lib/exercises/pc/energy/energyTransfer.js +2 -2
  1154. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +1 -1
  1155. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +2 -2
  1156. package/lib/exercises/pc/fluids/mariotte.d.ts.map +1 -1
  1157. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +2 -2
  1158. package/lib/exercises/pc/forces/electroStaticForce.d.ts +3 -3
  1159. package/lib/exercises/pc/forces/electroStaticForce.js +1 -1
  1160. package/lib/exercises/pc/forces/forceWork.d.ts.map +1 -1
  1161. package/lib/exercises/pc/forces/forceWork.js +1 -1
  1162. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
  1163. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +6 -6
  1164. package/lib/exercises/pc/forces/gravitationalAttractionValue.js +2 -2
  1165. package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -1
  1166. package/lib/exercises/pc/forces/gravitationalForcePlanets.js +4 -4
  1167. package/lib/exercises/pc/forces/massWeight.js +2 -2
  1168. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts.map +1 -1
  1169. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.js +5 -19
  1170. package/lib/exercises/pc/index.d.ts +1 -29
  1171. package/lib/exercises/pc/index.d.ts.map +1 -1
  1172. package/lib/exercises/pc/index.js +1 -29
  1173. package/lib/exercises/pc/math/isolateVariables.d.ts.map +1 -1
  1174. package/lib/exercises/pc/math/isolateVariables.js +1 -4
  1175. package/lib/exercises/pc/math/proportionnalityCoeffFromLine.d.ts.map +1 -1
  1176. package/lib/exercises/pc/math/proportionnalityCoeffFromLine.js +4 -5
  1177. package/lib/exercises/pc/mathExosInPC.d.ts +30 -0
  1178. package/lib/exercises/pc/mathExosInPC.d.ts.map +1 -0
  1179. package/lib/exercises/pc/mathExosInPC.js +29 -0
  1180. package/lib/exercises/pc/mecanicalWaves/elongationReading.d.ts.map +1 -1
  1181. package/lib/exercises/pc/mecanicalWaves/elongationReading.js +2 -2
  1182. package/lib/exercises/pc/mole/concentrationReading.d.ts.map +1 -1
  1183. package/lib/exercises/pc/mole/concentrationReading.js +3 -3
  1184. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts.map +1 -1
  1185. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.js +2 -2
  1186. package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts.map +1 -1
  1187. package/lib/exercises/pc/mole/moleculeCountFromMol.js +2 -2
  1188. package/lib/exercises/pc/moleculeFormula.d.ts.map +1 -1
  1189. package/lib/exercises/pc/moleculeFormula.js +1 -1
  1190. package/lib/exercises/pc/motion/averageSpeed.d.ts +3 -3
  1191. package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -1
  1192. package/lib/exercises/pc/motion/averageSpeed.js +2 -3
  1193. package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -1
  1194. package/lib/exercises/pc/motion/averageSpeedCalculation.js +1 -2
  1195. package/lib/exercises/pc/motion/characteristicsOfVelocityVector.js +2 -2
  1196. package/lib/exercises/pc/motion/motionReference.d.ts.map +1 -1
  1197. package/lib/exercises/pc/motion/recognizeFreeFall.js +1 -1
  1198. package/lib/exercises/pc/motion/typeOfAcceleration.d.ts.map +1 -1
  1199. package/lib/exercises/pc/motion/typeOfAcceleration.js +2 -2
  1200. package/lib/exercises/pc/motion/typeOfMovement.d.ts.map +1 -1
  1201. package/lib/exercises/pc/motion/typeOfMovement.js +5 -3
  1202. package/lib/exercises/pc/pH.js +1 -1
  1203. package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
  1204. package/lib/exercises/pc/potentialEnergy.js +2 -2
  1205. package/lib/exercises/pc/power/calculatePowerOfLight.js +1 -1
  1206. package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts.map +1 -1
  1207. package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.js +4 -2
  1208. package/lib/exercises/pc/snellDescartes.d.ts.map +1 -1
  1209. package/lib/exercises/pc/sound/findPeriodFromGraph.js +2 -2
  1210. package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.js +3 -3
  1211. package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
  1212. package/lib/exercises/pc/spectral/spectralEnergy.js +4 -4
  1213. package/lib/exercises/pc/waves/findDistanceFromEarth.d.ts.map +1 -1
  1214. package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -1
  1215. package/lib/exercises/pc/waves/lightDistanceConversion.js +3 -3
  1216. package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
  1217. package/lib/exercises/pc/waves/periodicWaveCelerity.js +1 -5
  1218. package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -1
  1219. package/lib/exercises/pc/weight/calculateWeight.js +2 -3
  1220. package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
  1221. package/lib/exercises/pc/weight/weightOnTheMoon.js +1 -1
  1222. package/lib/exercises/utils/geogebra/isGGBPoint.js +1 -1
  1223. package/lib/exercises/utils/geogebra/toolBarConstructor.d.ts.map +1 -1
  1224. package/lib/exercises/utils/getAtoms.d.ts.map +1 -1
  1225. package/lib/exercises/utils/getDistinctQuestions.d.ts +1 -1
  1226. package/lib/exercises/utils/getDistinctQuestions.d.ts.map +1 -1
  1227. package/lib/exercises/utils/getDistinctQuestions.js +1 -1
  1228. package/lib/exercises/utils/getElectronicConfigurationFromShells.d.ts.map +1 -1
  1229. package/lib/exercises/vea/equationVEA.d.ts.map +1 -1
  1230. package/lib/exercises/vea/equationVEA.js +1 -1
  1231. package/lib/exercises/vea/numberVEA.d.ts.map +1 -1
  1232. package/lib/exercises/vea/rationalVEA.d.ts.map +1 -1
  1233. package/lib/exercises/vea/sqrtVEA.d.ts.map +1 -1
  1234. package/lib/geogebra/colors.d.ts.map +1 -1
  1235. package/lib/geogebra/deleteObjectNamesFromAnswer.d.ts.map +1 -1
  1236. package/lib/geogebra/lagrange.d.ts.map +1 -1
  1237. package/lib/geogebra/parsers/approxEqual.d.ts.map +1 -1
  1238. package/lib/geogebra/parsers/ggbPointToCoords.d.ts.map +1 -1
  1239. package/lib/geogebra/parsers/ggbPointsToPoints.d.ts.map +1 -1
  1240. package/lib/geogebra/parsers/ggbPointsToPoints.js +0 -1
  1241. package/lib/geogebra/parsers/parseGGBPoints.d.ts.map +1 -1
  1242. package/lib/geogebra/spline.js +1 -1
  1243. package/lib/index.d.ts +1351 -1007
  1244. package/lib/index.d.ts.map +1 -1
  1245. package/lib/index.js +0 -1
  1246. package/lib/latexTester.d.ts.map +1 -1
  1247. package/lib/latexTester.js +0 -1
  1248. package/lib/math/geometry/CloudPoints.d.ts +1 -1
  1249. package/lib/math/geometry/CloudPoints.d.ts.map +1 -1
  1250. package/lib/math/geometry/CloudPoints.js +1 -1
  1251. package/lib/math/geometry/angle.d.ts.map +1 -1
  1252. package/lib/math/geometry/circle.d.ts +1 -1
  1253. package/lib/math/geometry/circle.d.ts.map +1 -1
  1254. package/lib/math/geometry/circle.js +2 -1
  1255. package/lib/math/geometry/line.d.ts +1 -1
  1256. package/lib/math/geometry/line.d.ts.map +1 -1
  1257. package/lib/math/geometry/line.js +3 -1
  1258. package/lib/math/geometry/parabola.d.ts +1 -1
  1259. package/lib/math/geometry/parabola.d.ts.map +1 -1
  1260. package/lib/math/geometry/parabola.js +3 -1
  1261. package/lib/math/geometry/point.d.ts +1 -1
  1262. package/lib/math/geometry/point.d.ts.map +1 -1
  1263. package/lib/math/geometry/point.js +1 -1
  1264. package/lib/math/geometry/quadrilaterals/parallelogram.d.ts.map +1 -1
  1265. package/lib/math/geometry/quadrilaterals/parallelogram.js +3 -4
  1266. package/lib/math/geometry/quadrilaterals/quadrilateral.d.ts +1 -2
  1267. package/lib/math/geometry/quadrilaterals/quadrilateral.d.ts.map +1 -1
  1268. package/lib/math/geometry/quadrilaterals/quadrilateral.js +1 -1
  1269. package/lib/math/geometry/quadrilaterals/rectangle.d.ts.map +1 -1
  1270. package/lib/math/geometry/quadrilaterals/rectangle.js +0 -1
  1271. package/lib/math/geometry/quadrilaterals/rhombus.d.ts.map +1 -1
  1272. package/lib/math/geometry/quadrilaterals/rhombus.js +1 -1
  1273. package/lib/math/geometry/quadrilaterals/square.d.ts +1 -4
  1274. package/lib/math/geometry/quadrilaterals/square.d.ts.map +1 -1
  1275. package/lib/math/geometry/quadrilaterals/square.js +1 -1
  1276. package/lib/math/geometry/segment.d.ts +1 -2
  1277. package/lib/math/geometry/segment.d.ts.map +1 -1
  1278. package/lib/math/geometry/spacePoint.d.ts +3 -3
  1279. package/lib/math/geometry/spacePoint.d.ts.map +1 -1
  1280. package/lib/math/geometry/spacePoint.js +3 -3
  1281. package/lib/math/geometry/spaceVector.d.ts +3 -3
  1282. package/lib/math/geometry/spaceVector.d.ts.map +1 -1
  1283. package/lib/math/geometry/spaceVector.js +4 -4
  1284. package/lib/math/geometry/triangles/equilateralTriangle.d.ts +1 -2
  1285. package/lib/math/geometry/triangles/equilateralTriangle.d.ts.map +1 -1
  1286. package/lib/math/geometry/triangles/equilateralTriangle.js +6 -7
  1287. package/lib/math/geometry/triangles/isoceleTriangle.d.ts.map +1 -1
  1288. package/lib/math/geometry/triangles/rightTriangle.d.ts.map +1 -1
  1289. package/lib/math/geometry/triangles/rightTriangle.js +2 -2
  1290. package/lib/math/geometry/triangles/triangle.d.ts +3 -3
  1291. package/lib/math/geometry/triangles/triangle.d.ts.map +1 -1
  1292. package/lib/math/geometry/triangles/triangle.js +1 -1
  1293. package/lib/math/inequations/inequation.d.ts.map +1 -1
  1294. package/lib/math/matrices/matrix.js +1 -1
  1295. package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
  1296. package/lib/math/numbers/decimals/decimal.js +3 -4
  1297. package/lib/math/numbers/integer/integer.d.ts +1 -1
  1298. package/lib/math/numbers/integer/integer.d.ts.map +1 -1
  1299. package/lib/math/numbers/integer/integer.js +11 -6
  1300. package/lib/math/numbers/logarithms/ln.d.ts.map +1 -1
  1301. package/lib/math/numbers/rationals/rational.js +1 -1
  1302. package/lib/math/numbers/reals/real.js +2 -2
  1303. package/lib/math/polynomials/generalAffine.d.ts.map +1 -1
  1304. package/lib/math/polynomials/generalPolynomial.d.ts.map +1 -1
  1305. package/lib/math/polynomials/generalPolynomial.js +1 -1
  1306. package/lib/math/polynomials/polynomial.js +1 -1
  1307. package/lib/math/polynomials/trinom.d.ts.map +1 -1
  1308. package/lib/math/polynomials/trinom.js +1 -1
  1309. package/lib/math/probability/binomial.d.ts.map +1 -1
  1310. package/lib/math/probability/randomVariable.d.ts.map +1 -1
  1311. package/lib/math/sequences/geometricSequence.d.ts +1 -2
  1312. package/lib/math/sequences/geometricSequence.d.ts.map +1 -1
  1313. package/lib/math/systems/generalSystem.d.ts.map +1 -1
  1314. package/lib/math/systems/generalSystem.js +4 -4
  1315. package/lib/math/systems/system.d.ts.map +1 -1
  1316. package/lib/math/trigonometry/remarkableValue.d.ts.map +1 -1
  1317. package/lib/math/trigonometry/remarkableValues.d.ts.map +1 -1
  1318. package/lib/math/trigonometry/remarkableValues.js +2 -2
  1319. package/lib/math/utils/arithmetic/coprimesOf.d.ts.map +1 -1
  1320. package/lib/math/utils/arithmetic/coprimesOf.js +1 -1
  1321. package/lib/math/utils/arithmetic/dividersOf.d.ts.map +1 -1
  1322. package/lib/math/utils/arithmetic/dividersOf.js +1 -1
  1323. package/lib/math/utils/arithmetic/factorial.d.ts.map +1 -1
  1324. package/lib/math/utils/arithmetic/isPrime.d.ts.map +1 -1
  1325. package/lib/math/utils/arithmetic/isSquare.d.ts.map +1 -1
  1326. package/lib/math/utils/arithmetic/lcm.d.ts.map +1 -1
  1327. package/lib/math/utils/arithmetic/maxPowerDecomposition.d.ts.map +1 -1
  1328. package/lib/math/utils/arithmetic/nonCoprimesOf.d.ts.map +1 -1
  1329. package/lib/math/utils/arithmetic/nonCoprimesOf.js +1 -1
  1330. package/lib/math/utils/arithmetic/nonDividersOf.d.ts.map +1 -1
  1331. package/lib/math/utils/arithmetic/nonDividersOf.js +1 -3
  1332. package/lib/math/utils/arithmetic/primeDecomposition.d.ts.map +1 -1
  1333. package/lib/math/utils/arithmetic/primeFactors.d.ts.map +1 -1
  1334. package/lib/math/utils/combinatorics/combination.d.ts.map +1 -1
  1335. package/lib/math/utils/decimals/decimalPartLengthOf.d.ts.map +1 -1
  1336. package/lib/math/utils/functions/expUDerivate.d.ts.map +1 -1
  1337. package/lib/math/utils/geometry/growthRate.d.ts.map +1 -1
  1338. package/lib/math/utils/latex/frenchify.d.ts.map +1 -1
  1339. package/lib/math/utils/latex/unfrenchify.d.ts.map +1 -1
  1340. package/lib/math/utils/random/randTupleInt.d.ts.map +1 -1
  1341. package/lib/math/utils/random/randfloat.d.ts +1 -1
  1342. package/lib/math/utils/random/randfloat.d.ts.map +1 -1
  1343. package/lib/math/utils/random/randfrac.d.ts.map +1 -1
  1344. package/lib/math/utils/random/randfrac.js +4 -1
  1345. package/lib/math/utils/random/randint.d.ts +1 -1
  1346. package/lib/math/utils/random/randint.d.ts.map +1 -1
  1347. package/lib/math/utils/round.d.ts +1 -1
  1348. package/lib/math/utils/round.d.ts.map +1 -1
  1349. package/lib/math/utils/round.js +1 -1
  1350. package/lib/math/utils/stats/gaussianWithNoise.d.ts.map +1 -1
  1351. package/lib/math/utils/stats/generateAffineCloud.d.ts.map +1 -1
  1352. package/lib/math/utils/stats/generateAffineCloud.js +4 -4
  1353. package/lib/math/utils/stats/leastSquares.d.ts.map +1 -1
  1354. package/lib/math/utils/stats/median.d.ts.map +1 -1
  1355. package/lib/math/utils/stats/quartiles.d.ts.map +1 -1
  1356. package/lib/math/utils/stats/rSquared.d.ts.map +1 -1
  1357. package/lib/math/utils/stats/standardDeviation.d.ts.map +1 -1
  1358. package/lib/math/utils/stats/sum.d.ts.map +1 -1
  1359. package/lib/math/utils/stats/variance.d.ts.map +1 -1
  1360. package/lib/pc/constants/gravity.d.ts.map +1 -1
  1361. package/lib/pc/constants/gravity.js +0 -1
  1362. package/lib/pc/constants/molecularChemistry/reaction.d.ts.map +1 -1
  1363. package/lib/pc/constants/molecularChemistry/reaction.js +2 -1
  1364. package/lib/pc/measure/measure.d.ts +3 -3
  1365. package/lib/pc/measure/measure.d.ts.map +1 -1
  1366. package/lib/pc/units/AmountOfSubstance.d.ts +3 -3
  1367. package/lib/pc/units/distanceUnits.d.ts +3 -3
  1368. package/lib/pc/units/divideUnit.d.ts +4 -4
  1369. package/lib/pc/units/divideUnit.d.ts.map +1 -1
  1370. package/lib/pc/units/electricalChargeUnit.d.ts +3 -3
  1371. package/lib/pc/units/electricalResistanceUnit.d.ts +3 -4
  1372. package/lib/pc/units/electricalResistanceUnit.d.ts.map +1 -1
  1373. package/lib/pc/units/electricalUnit.d.ts +3 -4
  1374. package/lib/pc/units/electricalUnit.d.ts.map +1 -1
  1375. package/lib/pc/units/energyUnit.d.ts +3 -3
  1376. package/lib/pc/units/forceUnits.d.ts +3 -3
  1377. package/lib/pc/units/frequenceUnit.d.ts +3 -3
  1378. package/lib/pc/units/interfaces/baseTenUnit.d.ts +2 -2
  1379. package/lib/pc/units/interfaces/baseTenUnit.d.ts.map +1 -1
  1380. package/lib/pc/units/interfaces/baseTenUnit.js +1 -1
  1381. package/lib/pc/units/massUnits.d.ts +3 -3
  1382. package/lib/pc/units/mulitplyUnits.d.ts +4 -4
  1383. package/lib/pc/units/mulitplyUnits.d.ts.map +1 -1
  1384. package/lib/pc/units/powerUnits.d.ts +3 -3
  1385. package/lib/pc/units/powerUnits.d.ts.map +1 -1
  1386. package/lib/pc/units/timeUnits.d.ts +3 -3
  1387. package/lib/pc/units/timeUnits.js +6 -6
  1388. package/lib/pc/units/volumeUnit.d.ts +3 -3
  1389. package/lib/pc/units/wattUnit.d.ts +3 -3
  1390. package/lib/playground.d.ts.map +1 -1
  1391. package/lib/server.js +4 -4
  1392. package/lib/tests/exoTest.d.ts +1 -1
  1393. package/lib/tests/exoTest.d.ts.map +1 -1
  1394. package/lib/tests/exoTest.js +2 -2
  1395. package/lib/tests/exosTest.d.ts +1 -1
  1396. package/lib/tests/exosTest.d.ts.map +1 -1
  1397. package/lib/tests/exosTest.js +1 -1
  1398. package/lib/tests/manyPdfExos.test.d.ts.map +1 -1
  1399. package/lib/tests/manyPdfExos.test.js +2 -2
  1400. package/lib/tests/megaExosTest.d.ts +1 -1
  1401. package/lib/tests/megaExosTest.d.ts.map +1 -1
  1402. package/lib/tests/pdfExo.test.d.ts.map +1 -1
  1403. package/lib/tests/pdfExo.test.js +1 -1
  1404. package/lib/tests/pdfs/buildPDFForExercise.d.ts +1 -1
  1405. package/lib/tests/pdfs/buildPDFForExercise.d.ts.map +1 -1
  1406. package/lib/tests/pdfs/buildPDFForExercise.js +1 -1
  1407. package/lib/tests/pdfs/formatMdToLatex.d.ts.map +1 -1
  1408. package/lib/tests/pdfs/mdCodeToLatex.d.ts.map +1 -1
  1409. package/lib/tests/pdfs/mdTableToLatexTabular.d.ts.map +1 -1
  1410. package/lib/tests/pdfs/quizPdfHeader.d.ts +1 -1
  1411. package/lib/tests/pdfs/quizPdfHeader.d.ts.map +1 -1
  1412. package/lib/tests/pdfs/quizPdfHeader.js +1 -1
  1413. package/lib/tests/pdfs/signTableToLatex.d.ts.map +1 -1
  1414. package/lib/tests/pdfs/signTableToLatex.js +0 -1
  1415. package/lib/tests/pdfs/valueTableToLatex.d.ts.map +1 -1
  1416. package/lib/tests/pdfs/valueTableToLatex.js +3 -3
  1417. package/lib/tests/pdfs/varTableToLatex.d.ts.map +1 -1
  1418. package/lib/tests/pdfs/varTableToLatex.js +1 -1
  1419. package/lib/tests/questionTest.d.ts +1 -1
  1420. package/lib/tests/questionTest.d.ts.map +1 -1
  1421. package/lib/tests/questionTest.js +4 -4
  1422. package/lib/tests/singleExo.test.d.ts.map +1 -1
  1423. package/lib/tests/singleExo.test.js +1 -1
  1424. package/lib/tree/nodes/algebraicNode.d.ts.map +1 -1
  1425. package/lib/tree/nodes/algebraicNode.js +1 -1
  1426. package/lib/tree/nodes/complex/complexNode.d.ts +3 -3
  1427. package/lib/tree/nodes/complex/complexNode.d.ts.map +1 -1
  1428. package/lib/tree/nodes/complex/complexNode.js +2 -3
  1429. package/lib/tree/nodes/equations/equalNode.d.ts +4 -4
  1430. package/lib/tree/nodes/equations/equalNode.d.ts.map +1 -1
  1431. package/lib/tree/nodes/equations/equalNode.js +5 -4
  1432. package/lib/tree/nodes/equations/equationSolutionNode.d.ts +5 -5
  1433. package/lib/tree/nodes/equations/equationSolutionNode.d.ts.map +1 -1
  1434. package/lib/tree/nodes/equations/equationSolutionNode.js +4 -4
  1435. package/lib/tree/nodes/equations/multiEqualNode.d.ts +5 -5
  1436. package/lib/tree/nodes/equations/multiEqualNode.d.ts.map +1 -1
  1437. package/lib/tree/nodes/equations/multiEqualNode.js +4 -4
  1438. package/lib/tree/nodes/functions/absNode.d.ts.map +1 -1
  1439. package/lib/tree/nodes/functions/arcSinNode.d.ts +1 -1
  1440. package/lib/tree/nodes/functions/arcSinNode.d.ts.map +1 -1
  1441. package/lib/tree/nodes/functions/arcSinNode.js +1 -1
  1442. package/lib/tree/nodes/functions/arccosNode.d.ts +1 -1
  1443. package/lib/tree/nodes/functions/arccosNode.d.ts.map +1 -1
  1444. package/lib/tree/nodes/functions/arccosNode.js +1 -1
  1445. package/lib/tree/nodes/functions/arctanNode.d.ts +1 -1
  1446. package/lib/tree/nodes/functions/arctanNode.d.ts.map +1 -1
  1447. package/lib/tree/nodes/functions/arctanNode.js +1 -1
  1448. package/lib/tree/nodes/functions/cosNode.d.ts +1 -1
  1449. package/lib/tree/nodes/functions/cosNode.d.ts.map +1 -1
  1450. package/lib/tree/nodes/functions/cosNode.js +2 -2
  1451. package/lib/tree/nodes/functions/expNode.d.ts +1 -1
  1452. package/lib/tree/nodes/functions/expNode.d.ts.map +1 -1
  1453. package/lib/tree/nodes/functions/expNode.js +1 -1
  1454. package/lib/tree/nodes/functions/integralNode.d.ts +7 -7
  1455. package/lib/tree/nodes/functions/integralNode.d.ts.map +1 -1
  1456. package/lib/tree/nodes/functions/integralNode.js +9 -9
  1457. package/lib/tree/nodes/functions/log10Node.d.ts +1 -1
  1458. package/lib/tree/nodes/functions/log10Node.d.ts.map +1 -1
  1459. package/lib/tree/nodes/functions/log10Node.js +1 -1
  1460. package/lib/tree/nodes/functions/logNode.d.ts +1 -1
  1461. package/lib/tree/nodes/functions/logNode.d.ts.map +1 -1
  1462. package/lib/tree/nodes/functions/logNode.js +1 -1
  1463. package/lib/tree/nodes/functions/oppositeNode.d.ts.map +1 -1
  1464. package/lib/tree/nodes/functions/oppositeNode.js +1 -2
  1465. package/lib/tree/nodes/functions/sinNode.d.ts.map +1 -1
  1466. package/lib/tree/nodes/functions/sinNode.js +1 -1
  1467. package/lib/tree/nodes/functions/sqrtNode.d.ts +3 -3
  1468. package/lib/tree/nodes/functions/sqrtNode.d.ts.map +1 -1
  1469. package/lib/tree/nodes/functions/sqrtNode.js +3 -3
  1470. package/lib/tree/nodes/functions/tanNode.d.ts +3 -3
  1471. package/lib/tree/nodes/functions/tanNode.d.ts.map +1 -1
  1472. package/lib/tree/nodes/functions/tanNode.js +4 -4
  1473. package/lib/tree/nodes/geometry/degree.d.ts +3 -3
  1474. package/lib/tree/nodes/geometry/degree.d.ts.map +1 -1
  1475. package/lib/tree/nodes/geometry/degree.js +3 -3
  1476. package/lib/tree/nodes/geometry/lengthNode.d.ts +3 -3
  1477. package/lib/tree/nodes/geometry/lengthNode.d.ts.map +1 -1
  1478. package/lib/tree/nodes/geometry/lengthNode.js +4 -4
  1479. package/lib/tree/nodes/geometry/pointNode.d.ts +4 -4
  1480. package/lib/tree/nodes/geometry/pointNode.d.ts.map +1 -1
  1481. package/lib/tree/nodes/geometry/pointNode.js +3 -3
  1482. package/lib/tree/nodes/geometry/vectorNode.d.ts +6 -6
  1483. package/lib/tree/nodes/geometry/vectorNode.d.ts.map +1 -1
  1484. package/lib/tree/nodes/geometry/vectorNode.js +6 -6
  1485. package/lib/tree/nodes/hasVariableNode.d.ts.map +1 -1
  1486. package/lib/tree/nodes/inequations/inequationNode.d.ts +6 -6
  1487. package/lib/tree/nodes/inequations/inequationNode.d.ts.map +1 -1
  1488. package/lib/tree/nodes/inequations/inequationNode.js +6 -6
  1489. package/lib/tree/nodes/inequations/inequationSolutionNode.d.ts +5 -5
  1490. package/lib/tree/nodes/inequations/inequationSolutionNode.d.ts.map +1 -1
  1491. package/lib/tree/nodes/inequations/inequationSolutionNode.js +4 -4
  1492. package/lib/tree/nodes/node.d.ts.map +1 -1
  1493. package/lib/tree/nodes/node.js +2 -0
  1494. package/lib/tree/nodes/nodeConstructor.d.ts +1 -1
  1495. package/lib/tree/nodes/nodeConstructor.d.ts.map +1 -1
  1496. package/lib/tree/nodes/nodeConstructor.js +3 -1
  1497. package/lib/tree/nodes/numbers/constantNode.d.ts +2 -2
  1498. package/lib/tree/nodes/numbers/constantNode.d.ts.map +1 -1
  1499. package/lib/tree/nodes/numbers/constantNode.js +2 -2
  1500. package/lib/tree/nodes/numbers/infiniteNode.d.ts.map +1 -1
  1501. package/lib/tree/nodes/numbers/numberNode.d.ts +3 -3
  1502. package/lib/tree/nodes/numbers/numberNode.d.ts.map +1 -1
  1503. package/lib/tree/nodes/numbers/numberNode.js +4 -4
  1504. package/lib/tree/nodes/numbers/percentNode.d.ts +5 -5
  1505. package/lib/tree/nodes/numbers/percentNode.d.ts.map +1 -1
  1506. package/lib/tree/nodes/numbers/percentNode.js +4 -4
  1507. package/lib/tree/nodes/operators/addNode.d.ts +1 -1
  1508. package/lib/tree/nodes/operators/addNode.d.ts.map +1 -1
  1509. package/lib/tree/nodes/operators/addNode.js +3 -3
  1510. package/lib/tree/nodes/operators/binomialCoefficientNode.d.ts +1 -1
  1511. package/lib/tree/nodes/operators/binomialCoefficientNode.d.ts.map +1 -1
  1512. package/lib/tree/nodes/operators/binomialCoefficientNode.js +1 -1
  1513. package/lib/tree/nodes/operators/divideNode.d.ts +3 -3
  1514. package/lib/tree/nodes/operators/divideNode.d.ts.map +1 -1
  1515. package/lib/tree/nodes/operators/divideNode.js +3 -3
  1516. package/lib/tree/nodes/operators/fractionNode.d.ts +1 -1
  1517. package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
  1518. package/lib/tree/nodes/operators/fractionNode.js +4 -3
  1519. package/lib/tree/nodes/operators/limitNode.d.ts +5 -5
  1520. package/lib/tree/nodes/operators/limitNode.d.ts.map +1 -1
  1521. package/lib/tree/nodes/operators/limitNode.js +7 -7
  1522. package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
  1523. package/lib/tree/nodes/operators/multiplyNode.js +7 -6
  1524. package/lib/tree/nodes/operators/operatorNode.d.ts.map +1 -1
  1525. package/lib/tree/nodes/operators/powerNode.d.ts +1 -1
  1526. package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
  1527. package/lib/tree/nodes/operators/powerNode.js +2 -2
  1528. package/lib/tree/nodes/operators/scalarProductNode.d.ts +2 -2
  1529. package/lib/tree/nodes/operators/scalarProductNode.d.ts.map +1 -1
  1530. package/lib/tree/nodes/operators/scalarProductNode.js +1 -1
  1531. package/lib/tree/nodes/operators/substractNode.d.ts.map +1 -1
  1532. package/lib/tree/nodes/operators/substractNode.js +1 -1
  1533. package/lib/tree/nodes/polynomials/monomNode.d.ts +1 -1
  1534. package/lib/tree/nodes/polynomials/monomNode.d.ts.map +1 -1
  1535. package/lib/tree/nodes/polynomials/monomNode.js +7 -1
  1536. package/lib/tree/nodes/polynomials/trinomNode.d.ts +1 -1
  1537. package/lib/tree/nodes/polynomials/trinomNode.d.ts.map +1 -1
  1538. package/lib/tree/nodes/polynomials/trinomNode.js +1 -1
  1539. package/lib/tree/nodes/randomReal.d.ts.map +1 -1
  1540. package/lib/tree/nodes/randomReal.js +5 -0
  1541. package/lib/tree/nodes/sets/belongsNode.d.ts +4 -4
  1542. package/lib/tree/nodes/sets/belongsNode.d.ts.map +1 -1
  1543. package/lib/tree/nodes/sets/belongsNode.js +4 -4
  1544. package/lib/tree/nodes/sets/closure.d.ts.map +1 -1
  1545. package/lib/tree/nodes/sets/discreteSetNode.d.ts +2 -2
  1546. package/lib/tree/nodes/sets/discreteSetNode.d.ts.map +1 -1
  1547. package/lib/tree/nodes/sets/discreteSetNode.js +3 -3
  1548. package/lib/tree/nodes/sets/intervalNode.d.ts +3 -4
  1549. package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
  1550. package/lib/tree/nodes/sets/intervalNode.js +4 -5
  1551. package/lib/tree/nodes/sets/unionIntervalNode.d.ts +4 -4
  1552. package/lib/tree/nodes/sets/unionIntervalNode.d.ts.map +1 -1
  1553. package/lib/tree/nodes/sets/unionIntervalNode.js +3 -3
  1554. package/lib/tree/parsers/affineParser.d.ts +1 -1
  1555. package/lib/tree/parsers/affineParser.d.ts.map +1 -1
  1556. package/lib/tree/parsers/affineParser.js +33 -33
  1557. package/lib/tree/parsers/degreeParser.d.ts.map +1 -1
  1558. package/lib/tree/parsers/discreteSetParser.d.ts.map +1 -1
  1559. package/lib/tree/parsers/equationSolutionParser.d.ts.map +1 -1
  1560. package/lib/tree/parsers/euroParser.d.ts.map +1 -1
  1561. package/lib/tree/parsers/inequationParser.d.ts.map +1 -1
  1562. package/lib/tree/parsers/intervalParser.d.ts.map +1 -1
  1563. package/lib/tree/parsers/isSegmentName.d.ts.map +1 -1
  1564. package/lib/tree/parsers/latexParser.d.ts +1 -1
  1565. package/lib/tree/parsers/latexParser.d.ts.map +1 -1
  1566. package/lib/tree/parsers/latexParser.js +36 -46
  1567. package/lib/tree/parsers/monomParser.d.ts.map +1 -1
  1568. package/lib/tree/parsers/numberParser.d.ts.map +1 -1
  1569. package/lib/tree/parsers/percentParser.d.ts.map +1 -1
  1570. package/lib/tree/parsers/pointParser.d.ts.map +1 -1
  1571. package/lib/tree/parsers/polynomialParser.d.ts.map +1 -1
  1572. package/lib/tree/parsers/powerParser.d.ts.map +1 -1
  1573. package/lib/tree/parsers/purifyLatex.d.ts +1 -1
  1574. package/lib/tree/parsers/purifyLatex.d.ts.map +1 -1
  1575. package/lib/tree/parsers/purifyLatex.js +7 -6
  1576. package/lib/tree/parsers/rationalParser.d.ts +1 -2
  1577. package/lib/tree/parsers/rationalParser.d.ts.map +1 -1
  1578. package/lib/tree/parsers/rationalParser.js +1 -1
  1579. package/lib/tree/parsers/spacePointParser.d.ts.map +1 -1
  1580. package/lib/tree/parsers/spaceVectorParser.d.ts.map +1 -1
  1581. package/lib/tree/parsers/sqrtParser.d.ts.map +1 -1
  1582. package/lib/tree/parsers/sqrtParser.js +1 -1
  1583. package/lib/tree/parsers/trinomParser.d.ts.map +1 -1
  1584. package/lib/tree/parsers/trinomParser.js +1 -1
  1585. package/lib/tree/parsers/unionIntervalParser.d.ts.map +1 -1
  1586. package/lib/tree/parsers/valueParser.d.ts.map +1 -1
  1587. package/lib/tree/parsers/vectorParser.d.ts.map +1 -1
  1588. package/lib/tree/utilities/functionComposition.d.ts +1 -1
  1589. package/lib/tree/utilities/functionComposition.d.ts.map +1 -1
  1590. package/lib/tree/utilities/functionComposition.js +3 -3
  1591. package/lib/tree/utilities/operatorComposition.d.ts +1 -1
  1592. package/lib/tree/utilities/operatorComposition.d.ts.map +1 -1
  1593. package/lib/tree/utilities/operatorComposition.js +3 -3
  1594. package/lib/types/class.d.ts +1 -1
  1595. package/lib/types/class.d.ts.map +1 -1
  1596. package/lib/utils/alea/diceFlip.d.ts.map +1 -1
  1597. package/lib/utils/alea/probaFlip.d.ts.map +1 -1
  1598. package/lib/utils/alea/probaLawFlip.d.ts.map +1 -1
  1599. package/lib/utils/alea/random.d.ts +2 -2
  1600. package/lib/utils/alea/randomEnumValue.d.ts.map +1 -1
  1601. package/lib/utils/alea/randomEnumValue.js +2 -0
  1602. package/lib/utils/alea/shuffle.js +3 -3
  1603. package/lib/utils/average.d.ts.map +1 -1
  1604. package/lib/utils/errors/handleVEAError.d.ts +1 -1
  1605. package/lib/utils/errors/handleVEAError.d.ts.map +1 -1
  1606. package/lib/utils/errors/handleVEAError.js +1 -1
  1607. package/lib/utils/isInt.d.ts.map +1 -1
  1608. package/lib/utils/latex/approxOrEqual.d.ts.map +1 -1
  1609. package/lib/utils/latex/colorize.d.ts.map +1 -1
  1610. package/lib/utils/latex/dollarize.d.ts.map +1 -1
  1611. package/lib/utils/markdown/mdCode.d.ts.map +1 -1
  1612. package/lib/utils/markdown/mdTable.d.ts.map +1 -1
  1613. package/lib/utils/numberPrototype/toScientific.d.ts.map +1 -1
  1614. package/lib/utils/numberPrototype/toSeparatedThousands.d.ts.map +1 -1
  1615. package/lib/utils/strings/getLetter.d.ts.map +1 -1
  1616. package/lib/utils/strings/isLetter.d.ts.map +1 -1
  1617. package/lib/utils/strings/numberToFrenchWord.d.ts.map +1 -1
  1618. package/lib/utils/strings/numberToFrenchWord.js +3 -3
  1619. package/lib/utils/strings/pluralize.d.ts.map +1 -1
  1620. package/lib/utils/strings/randomLetter.d.ts.map +1 -1
  1621. package/lib/utils/strings/requiresApostropheBefore.d.ts.map +1 -1
  1622. package/lib/utils/variance.d.ts.map +1 -1
  1623. package/package.json +5 -2
@@ -1,21 +1,20 @@
1
1
  import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
3
- import { Decimal, DecimalConstructor, decimalDigitRanks, } from "../../../../math/numbers/decimals/decimal.js";
3
+ import { Decimal, DecimalConstructor, } from "../../../../math/numbers/decimals/decimal.js";
4
4
  import { randint } from "../../../../math/utils/random/randint.js";
5
- import { round } from "../../../../math/utils/round.js";
6
5
  import { SqrtNode } from "../../../../tree/nodes/functions/sqrtNode.js";
7
6
  import { NodeConstructor, reifyAlgebraic, } from "../../../../tree/nodes/nodeConstructor.js";
8
7
  import { PiNode } from "../../../../tree/nodes/numbers/piNode.js";
9
8
  import { AddNode } from "../../../../tree/nodes/operators/addNode.js";
10
9
  import { FractionNode } from "../../../../tree/nodes/operators/fractionNode.js";
11
10
  import { MultiplyNode } from "../../../../tree/nodes/operators/multiplyNode.js";
12
- import { power, PowerNode } from "../../../../tree/nodes/operators/powerNode.js";
11
+ import { PowerNode } from "../../../../tree/nodes/operators/powerNode.js";
13
12
  import { coinFlip } from "../../../../utils/alea/coinFlip.js";
14
13
  import { random } from "../../../../utils/alea/random.js";
15
14
  //fraction: 1/3, 2/3, 1/6, 5/6, x/7
16
15
  //décimal
17
16
  const getInstruction = (identifiers) => {
18
- const { nbIds, nbValue, pow, type } = identifiers;
17
+ const { nbIds, pow, type } = identifiers;
19
18
  const nb = reifyAlgebraic(nbIds);
20
19
  return `Encadrer à $${new PowerNode((10).toTree(), pow.toTree()).toTex()}$ près le nombre suivant :
21
20
 
@@ -36,7 +35,7 @@ ${type === 2
36
35
  : ""}`;
37
36
  };
38
37
  const getAnswer = (identifiers) => {
39
- const { nbIds, nbValue, pow, type } = identifiers;
38
+ const { nbIds, pow } = identifiers;
40
39
  const nb = reifyAlgebraic(nbIds);
41
40
  const ev = nb.evaluate({});
42
41
  const dec = new Decimal(ev);
@@ -46,7 +45,7 @@ const getAnswer = (identifiers) => {
46
45
  return answer;
47
46
  };
48
47
  const getKeys = (identifiers) => {
49
- const { nbIds, nbValue, pow, type } = identifiers;
48
+ const { nbIds } = identifiers;
50
49
  const nb = reifyAlgebraic(nbIds);
51
50
  return [
52
51
  "pi",
@@ -63,41 +62,46 @@ const getKeys = (identifiers) => {
63
62
  },
64
63
  ];
65
64
  };
66
- const getHint = (identifiers) => {
67
- const { nbIds, nbValue, pow, type } = identifiers;
68
- let framingTip = `Un encadrement à $${power(10, pow).toTex()}$ est un encadrement aux ${decimalDigitRanks[Math.abs(pow) - 1]} près.`;
69
- return framingTip;
70
- };
71
- const getCorrection = (identifiers) => {
72
- const { nbIds, nbValue, pow, type } = identifiers;
73
- const node = reifyAlgebraic(nbIds);
74
- const nbRounded = round(nbValue, -pow + 1).frenchify();
75
- switch (type) {
76
- case 1:
77
- case 2:
78
- case 3:
79
- return `On a :
80
-
81
- $$
82
- ${node.toTex()} \\approx ${nbRounded}
83
- $$
84
-
85
- Donc :
86
-
87
- $$
88
- ${getAnswer(identifiers)}
89
- $$`;
90
- case 4:
91
- default:
92
- return `Un encadrement à $${power(10, pow).toTex()}$ est un encadrement aux ${decimalDigitRanks[Math.abs(pow) - 1]} près.
93
-
94
- On a donc :
95
-
96
- $$
97
- ${getAnswer(identifiers)}
98
- $$`;
99
- }
100
- };
65
+ // const getHint: GetHint<Identifiers> = (identifiers) => {
66
+ // const { pow, } = identifiers;
67
+ // const framingTip = `Un encadrement à $${power(
68
+ // 10,
69
+ // pow,
70
+ // ).toTex()}$ est un encadrement aux ${
71
+ // decimalDigitRanks[Math.abs(pow) - 1]
72
+ // } près.`;
73
+ // return framingTip;
74
+ // };
75
+ // const getCorrection: GetCorrection<Identifiers> = (identifiers) => {
76
+ // const { nbIds, nbValue, pow, type } = identifiers;
77
+ // const node = reifyAlgebraic(nbIds);
78
+ // const nbRounded = round(nbValue, -pow + 1).frenchify();
79
+ // switch (type) {
80
+ // case 1:
81
+ // case 2:
82
+ // case 3:
83
+ // return `On a :
84
+ // $$
85
+ // ${node.toTex()} \\approx ${nbRounded}
86
+ // $$
87
+ // Donc :
88
+ // $$
89
+ // ${getAnswer(identifiers)}
90
+ // $$`;
91
+ // case 4:
92
+ // default:
93
+ // return `Un encadrement à $${power(
94
+ // 10,
95
+ // pow,
96
+ // ).toTex()}$ est un encadrement aux ${
97
+ // decimalDigitRanks[Math.abs(pow) - 1]
98
+ // } près.
99
+ // On a donc :
100
+ // $$
101
+ // ${getAnswer(identifiers)}
102
+ // $$`;
103
+ // }
104
+ // };
101
105
  const getQuestionFromIdentifiers = (identifiers) => {
102
106
  const question = {
103
107
  answer: getAnswer(identifiers),
@@ -114,7 +118,6 @@ const getFramingQuestion = () => {
114
118
  const type = randint(1, 5);
115
119
  let nb;
116
120
  const pow = -randint(1, 4);
117
- let ev;
118
121
  switch (type) {
119
122
  case 1:
120
123
  //CL(pi)
@@ -132,10 +135,11 @@ const getFramingQuestion = () => {
132
135
  ]), { forceTimesSign: true }), randint(-10, 10).toTree());
133
136
  break;
134
137
  case 4:
135
- default:
138
+ default: {
136
139
  const dec = DecimalConstructor.random(-200, 200, randint(-pow, -pow + 3, [-pow]));
137
140
  nb = dec.toTree();
138
141
  break;
142
+ }
139
143
  }
140
144
  const identifiers = {
141
145
  type,
@@ -153,15 +157,13 @@ const getPropositions = (n, { answer, nbIds, nbValue, pow }) => {
153
157
  while (propositions.length < n) {
154
158
  const fakePower = -randint(1, 4, [pow]);
155
159
  const fakeDec = new Decimal(dec.value * randint(-3, 3, [0, 1]));
156
- coinFlip()
157
- ? tryToAddWrongProp(propositions, `${dec.toLowerBound(fakePower).toTree().toTex()}<${node.toTex()}<${dec
160
+ if (coinFlip())
161
+ tryToAddWrongProp(propositions, `${dec.toLowerBound(fakePower).toTree().toTex()}<${node.toTex()}<${dec
158
162
  .toUpperBound(fakePower)
159
163
  .toTree()
160
- .toTex()}`)
161
- : tryToAddWrongProp(propositions, `${fakeDec
162
- .toLowerBound(pow)
163
- .toTree()
164
- .toTex()}<${node.toTex()}<${fakeDec
164
+ .toTex()}`);
165
+ else
166
+ tryToAddWrongProp(propositions, `${fakeDec.toLowerBound(pow).toTree().toTex()}<${node.toTex()}<${fakeDec
165
167
  .toUpperBound(pow)
166
168
  .toTree()
167
169
  .toTex()}`);
@@ -1 +1 @@
1
- {"version":3,"file":"integerOrdering.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/ordering/integerOrdering.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoEF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAcjD,CAAC"}
1
+ {"version":3,"file":"integerOrdering.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/ordering/integerOrdering.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoEF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAcjD,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { Exercise } from "../../../../exercises/exercise.js";
2
+ import { NodeIdentifiers } from "../../../../tree/nodes/nodeConstructor.js";
2
3
  type Identifiers = {
3
- coeffIds: any;
4
- xValues: any[];
5
- yValues: any[];
4
+ coeffIds: NodeIdentifiers;
5
+ xValues: NodeIdentifiers[];
6
+ yValues: NodeIdentifiers[];
6
7
  coeffType: string;
7
8
  valuesType: string;
8
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"findCoeffInProportionalTableNonIntegers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAgIF,KAAK,OAAO,GAAG;IACb,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAoBF,eAAO,MAAM,uCAAuC,EAAE,QAAQ,CAC5D,WAAW,EACX,OAAO,CAuBR,CAAC"}
1
+ {"version":3,"file":"findCoeffInProportionalTableNonIntegers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AAS7C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AA+HF,KAAK,OAAO,GAAG;IACb,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAoBF,eAAO,MAAM,uCAAuC,EAAE,QAAQ,CAC5D,WAAW,EACX,OAAO,CAuBR,CAAC"}
@@ -3,7 +3,7 @@ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQue
3
3
  import { RationalConstructor } from "../../../../math/numbers/rationals/rational.js";
4
4
  import { randfloat } from "../../../../math/utils/random/randfloat.js";
5
5
  import { randint } from "../../../../math/utils/random/randint.js";
6
- import { NodeConstructor } from "../../../../tree/nodes/nodeConstructor.js";
6
+ import { NodeConstructor, } from "../../../../tree/nodes/nodeConstructor.js";
7
7
  import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
8
8
  import { parseAlgebraic } from "../../../../tree/parsers/latexParser.js";
9
9
  import { random } from "../../../../utils/alea/random.js";
@@ -45,7 +45,7 @@ Quel est le coefficient de proportionnalité ?
45
45
  };
46
46
  // const getHint: GetHint<Identifiers> = (identifiers) => {};
47
47
  // const getCorrection: GetCorrection<Identifiers> = (identifiers) => {};
48
- const getKeys = (identifiers) => {
48
+ const getKeys = () => {
49
49
  return [];
50
50
  };
51
51
  const isAnswerValid = (ans, { answer }) => {
@@ -60,20 +60,18 @@ const isAnswerValid = (ans, { answer }) => {
60
60
  }
61
61
  };
62
62
  const getFindCoeffInProportionalTableNonIntegersQuestion = (opts) => {
63
- let coeff;
64
- let xValues = [];
63
+ const xValues = [];
65
64
  const coeffType = random(opts?.coeffNumberTypes ?? ["Entier", "Décimal", "Fraction"]);
66
65
  if (!coeffType)
67
66
  throw Error("No Coeff Type");
68
67
  const valuesType = random(opts?.valuesNumberTypes ?? ["Entières", "Décimales", "Fractions"]);
69
68
  if (!valuesType)
70
69
  throw Error("No value type");
71
- coeff =
72
- coeffType === "Entier"
73
- ? randint(2, 10).toTree()
74
- : coeffType === "Décimal"
75
- ? randfloat(1.1, 10, 1).toTree()
76
- : RationalConstructor.randomPureRational(10).toTree();
70
+ const coeff = coeffType === "Entier"
71
+ ? randint(2, 10).toTree()
72
+ : coeffType === "Décimal"
73
+ ? randfloat(1.1, 10, 1).toTree()
74
+ : RationalConstructor.randomPureRational(10).toTree();
77
75
  const getX = () => {
78
76
  return valuesType === "Entières"
79
77
  ? randint(1, 10).toTree()
@@ -82,7 +80,7 @@ const getFindCoeffInProportionalTableNonIntegersQuestion = (opts) => {
82
80
  : RationalConstructor.randomIrreductible().toTree();
83
81
  };
84
82
  for (let i = 0; i < 3; i++) {
85
- let x = doWhile(getX, (y) => xValues.some((x) => x.equals(y)));
83
+ const x = doWhile(getX, (y) => xValues.some((x) => x.equals(y)));
86
84
  xValues.push(x);
87
85
  }
88
86
  xValues.sort((a, b) => a.evaluate() - b.evaluate());
@@ -96,7 +94,7 @@ const getFindCoeffInProportionalTableNonIntegersQuestion = (opts) => {
96
94
  };
97
95
  return getQuestionFromIdentifiers(identifiers, opts);
98
96
  };
99
- const getQuestionFromIdentifiers = (identifiers, opts) => {
97
+ const getQuestionFromIdentifiers = (identifiers) => {
100
98
  const question = {
101
99
  answer: getAnswer(identifiers),
102
100
  instruction: getInstruction(identifiers),
@@ -20,7 +20,7 @@ const getAnswer = (identifiers) => {
20
20
  const isProportionnal = ratios.every((r) => r === ratios[0]);
21
21
  return isProportionnal ? "Oui" : "Non";
22
22
  };
23
- const getHint = (identifiers) => {
23
+ const getHint = () => {
24
24
  return `Pour passer de la ligne du haut à la ligne du bas, multiplie-t-on toujours par le même nombre ? Si oui, alors c'est un tableau de proportionnalité.`;
25
25
  };
26
26
  const getCorrection = (identifiers) => {
@@ -1,8 +1,9 @@
1
1
  import { Exercise } from "../../../../exercises/exercise.js";
2
+ import { NodeIdentifiers } from "../../../../tree/nodes/nodeConstructor.js";
2
3
  type Identifiers = {
3
- coeffIds: any;
4
- xValues: any[];
5
- yValues: any[];
4
+ coeffIds: NodeIdentifiers;
5
+ xValues: NodeIdentifiers[];
6
+ yValues: NodeIdentifiers[];
6
7
  isProportionnal: boolean;
7
8
  coeffType: string;
8
9
  valuesType: string;
@@ -1 +1 @@
1
- {"version":3,"file":"isTableProportionalNonInteger.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/isTableProportionalNonInteger.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAgBrC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAqCF,KAAK,OAAO,GAAG;IACb,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAoGF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAqBxE,CAAC"}
1
+ {"version":3,"file":"isTableProportionalNonInteger.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/isTableProportionalNonInteger.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AAS7C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAqCF,KAAK,OAAO,GAAG;IACb,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAmGF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAqBxE,CAAC"}
@@ -3,7 +3,7 @@ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQue
3
3
  import { RationalConstructor } from "../../../../math/numbers/rationals/rational.js";
4
4
  import { randfloat } from "../../../../math/utils/random/randfloat.js";
5
5
  import { randint } from "../../../../math/utils/random/randint.js";
6
- import { NodeConstructor } from "../../../../tree/nodes/nodeConstructor.js";
6
+ import { NodeConstructor, } from "../../../../tree/nodes/nodeConstructor.js";
7
7
  import { add } from "../../../../tree/nodes/operators/addNode.js";
8
8
  import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
9
9
  import { coinFlip } from "../../../../utils/alea/coinFlip.js";
@@ -34,10 +34,10 @@ ${mdTable([xTexs.map((v) => dollarize(v)), yTexs.map((v) => dollarize(v))])}
34
34
  };
35
35
  // const getHint: GetHint<Identifiers> = (identifiers) => {};
36
36
  // const getCorrection: GetCorrection<Identifiers> = (identifiers) => {};
37
- const getKeys = (identifiers) => {
37
+ const getKeys = () => {
38
38
  return [];
39
39
  };
40
- const isAnswerValid = (ans, { answer }) => {
40
+ const isAnswerValid = () => {
41
41
  throw Error("VEA not implemented");
42
42
  };
43
43
  // ["Entier", "Décimal", "Fraction"],
@@ -49,15 +49,13 @@ const getIsTableProportionalNonIntegerQuestion = (opts) => {
49
49
  const valuesType = random(opts?.valuesNumberTypes ?? ["Entières", "Décimales", "Fractions"]);
50
50
  if (!valuesType)
51
51
  throw Error("No value type");
52
- let coeff;
53
- let xValues = [];
52
+ const xValues = [];
54
53
  const isProportionnal = coinFlip();
55
- coeff =
56
- coeffType === "Entier"
57
- ? randint(2, 10).toTree()
58
- : coeffType === "Décimal"
59
- ? randfloat(1.1, 10, 1).toTree()
60
- : RationalConstructor.randomPureRational(10).toTree();
54
+ const coeff = coeffType === "Entier"
55
+ ? randint(2, 10).toTree()
56
+ : coeffType === "Décimal"
57
+ ? randfloat(1.1, 10, 1).toTree()
58
+ : RationalConstructor.randomPureRational(10).toTree();
61
59
  const getX = () => {
62
60
  return valuesType === "Entières"
63
61
  ? randint(1, 10).toTree()
@@ -66,7 +64,7 @@ const getIsTableProportionalNonIntegerQuestion = (opts) => {
66
64
  : RationalConstructor.randomIrreductible().toTree();
67
65
  };
68
66
  for (let i = 0; i < 3; i++) {
69
- let x = doWhile(getX, (y) => xValues.some((x) => x.equals(y)));
67
+ const x = doWhile(getX, (y) => xValues.some((x) => x.equals(y)));
70
68
  xValues.push(x);
71
69
  }
72
70
  xValues.sort((a, b) => a.evaluate() - b.evaluate());
@@ -1 +1 @@
1
- {"version":3,"file":"proportionalityTableCoefficient.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/proportionalityTableCoefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAsFF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,CAejE,CAAC"}
1
+ {"version":3,"file":"proportionalityTableCoefficient.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/proportionalityTableCoefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAqFF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,CAejE,CAAC"}
@@ -9,7 +9,7 @@ import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
9
9
  import { dollarize } from "../../../../utils/latex/dollarize.js";
10
10
  import { mdTable } from "../../../../utils/markdown/mdTable.js";
11
11
  const getInstruction = ({ xValues, yValues }) => {
12
- let dataTable = mdTable([
12
+ const dataTable = mdTable([
13
13
  xValues.map((n) => dollarize(n.frenchify())),
14
14
  yValues.map((n) => dollarize(n.frenchify())),
15
15
  ]);
@@ -24,12 +24,11 @@ const getAnswer = (identifiers) => {
24
24
  const answer = factor.toTree().toTex();
25
25
  return answer;
26
26
  };
27
- const getHint = (identifiers) => {
27
+ const getHint = () => {
28
28
  return `Le coefficient de proportionnalité est le nomber par lequel on multiplie les valeurs de la première ligne pour obtenir les valeurs de la deuxième ligne.`;
29
29
  };
30
30
  const getCorrection = (identifiers) => {
31
31
  const { xValues, yValues } = identifiers;
32
- const factor = yValues[1] / xValues[1];
33
32
  return `Le coefficient de proportionnalité est le nomber par lequel on multiplie les valeurs de la première ligne pour obtenir les valeurs de la deuxième ligne.
34
33
 
35
34
  Pour l'obtenir, on divise une valeur de la deuxième ligne par la valeur correspondante dans la première ligne, par exemple :
@@ -1 +1 @@
1
- {"version":3,"file":"rectangleSideAfterReduction.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/rectangleSideAfterReduction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CAGnB,CAAC;AAsPF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAoB7D,CAAC"}
1
+ {"version":3,"file":"rectangleSideAfterReduction.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/rectangleSideAfterReduction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CAGnB,CAAC;AAqPF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAoB7D,CAAC"}
@@ -32,8 +32,6 @@ const getPropositions = (n, { answer, ...identifiers }) => {
32
32
  tryToAddWrongProp(propositions, b - (a - c) + "");
33
33
  tryToAddWrongProp(propositions, round((a * c) / b, 1).frenchify());
34
34
  tryToAddWrongProp(propositions, round((a * b) / c, 1).frenchify());
35
- default:
36
- break;
37
35
  }
38
36
  while (propositions.length < n) {
39
37
  tryToAddWrongProp(propositions, randfloat(2, 10, 1).frenchify());
@@ -70,7 +68,9 @@ const getInstruction = (identifiers) => {
70
68
  const width = 300, height = 150;
71
69
  const svg = d3n.createSVG(width, height, { id: "nonLatex" });
72
70
  // Function to add rotated rectangles
73
- function addRectangle(svg, x, y, w, h, angle, color, label1, label2) {
71
+ function addRectangle(
72
+ // eslint-disable-next-line
73
+ svg, x, y, w, h, angle, color, label1, label2) {
74
74
  const group = svg
75
75
  .append("g")
76
76
  .attr("transform", `translate(${x},${y}) rotate(${angle})`);
@@ -124,7 +124,7 @@ Quelle est la ${sideTypeAsked} (en $\\textrm{cm}$) du ${sideIsOnFirstRect ? "pre
124
124
  };
125
125
  // const getHint: GetHint<Identifiers> = (identifiers) => {};
126
126
  // const getCorrection: GetCorrection<Identifiers> = (identifiers) => {};
127
- const getKeys = (identifiers) => {
127
+ const getKeys = () => {
128
128
  return [];
129
129
  };
130
130
  const isAnswerValid = (ans, { answer }) => {
@@ -135,7 +135,7 @@ const isAnswerValid = (ans, { answer }) => {
135
135
  return handleVEAError(err);
136
136
  }
137
137
  };
138
- const getRectangleSideAfterReductionQuestion = (ops) => {
138
+ const getRectangleSideAfterReductionQuestion = () => {
139
139
  const askedSize = randint(0, 4);
140
140
  let a;
141
141
  let b;
@@ -1 +1 @@
1
- {"version":3,"file":"scaleCalculation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/scaleCalculation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IAEtB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAiIF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAelD,CAAC"}
1
+ {"version":3,"file":"scaleCalculation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/scaleCalculation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IAEtB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAgIF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAelD,CAAC"}
@@ -26,12 +26,11 @@ const getInstruction = (identifiers) => {
26
26
  return instruction;
27
27
  };
28
28
  const getAnswer = (identifiers) => {
29
- const { scale, isSmallScale, fakeDistance } = identifiers;
29
+ const { scale } = identifiers;
30
30
  const answer = new Rational(1, scale).toTree().toTex();
31
31
  return answer;
32
32
  };
33
- const getHint = (identifiers) => {
34
- const { scale, isSmallScale, fakeDistance } = identifiers;
33
+ const getHint = () => {
35
34
  const cm = DistanceUnit.cm;
36
35
  return `Convertis les longueurs en $${cm.toTex()}$, puis fais un calcul de proportionnalité.`;
37
36
  };
@@ -91,7 +90,7 @@ const getQuestionFromIdentifiers = (identifiers) => {
91
90
  };
92
91
  return question;
93
92
  };
94
- const getPropositions = (n, { answer, scale, isSmallScale }) => {
93
+ const getPropositions = (n, { answer, isSmallScale }) => {
95
94
  const propositions = [];
96
95
  addValidProp(propositions, answer);
97
96
  while (propositions.length < n) {
@@ -1 +1 @@
1
- {"version":3,"file":"scaleUsage.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/scaleUsage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAoJF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAa5C,CAAC"}
1
+ {"version":3,"file":"scaleUsage.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/scaleUsage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AA2IF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAa5C,CAAC"}
@@ -28,10 +28,7 @@ const getAnswer = (identifiers) => {
28
28
  return answer;
29
29
  };
30
30
  const getHint = (identifiers) => {
31
- const { scale, isSmallScale, fakeDistance, isFakeAsked } = identifiers;
32
- const realDistanceNb = (scale * fakeDistance) / (isSmallScale ? 100 : 100000);
33
- const realUnit = isSmallScale ? DistanceUnit.m : DistanceUnit.km;
34
- const realDistance = new Measure(realDistanceNb, 0, realUnit);
31
+ const { scale } = identifiers;
35
32
  const scaleFrac = new Rational(1, scale).toTree().toTex();
36
33
  const cm = DistanceUnit.cm;
37
34
  return `La carte est à l'échelle $${scaleFrac}$ : cela signifie que $1${cm.toTex()}$ sur cette carte représente $${scale}${cm.toTex()}$ dans la réalité. Il faut donc faire un calcul de proportionnalité.`;
@@ -90,11 +87,7 @@ const getScaleUsageQuestion = () => {
90
87
  const isSmallScale = coinFlip();
91
88
  const isFakeAsked = coinFlip();
92
89
  const scale = isSmallScale ? randint(1, 5) * 10 : randint(5, 100) * 1000;
93
- const realUnit = isSmallScale ? DistanceUnit.m : DistanceUnit.km;
94
- const cm = DistanceUnit.cm;
95
90
  const fakeDistanceNb = isSmallScale ? randint(5, 100) : randint(1, 100);
96
- const fakeDistance = new Measure(fakeDistanceNb, 0, cm);
97
- const realDistanceNb = (scale * fakeDistance.evaluate()) / (isSmallScale ? 100 : 100000);
98
91
  const identifiers = {
99
92
  scale,
100
93
  fakeDistance: fakeDistanceNb,
@@ -103,7 +96,7 @@ const getScaleUsageQuestion = () => {
103
96
  };
104
97
  return getQuestionFromIdentifiers(identifiers);
105
98
  };
106
- const getPropositions = (n, { answer, scale, isSmallScale }) => {
99
+ const getPropositions = (n, { answer, isSmallScale }) => {
107
100
  const propositions = [];
108
101
  addValidProp(propositions, answer);
109
102
  while (propositions.length < n) {
@@ -1 +1 @@
1
- {"version":3,"file":"rationalNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/rationals/rationalNumbers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EACL,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAc7C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE;QACP,IAAI,EAAE,eAAe,CAAC;QAEtB,cAAc,EAAE,eAAe,GAAG,IAAI,CAAC;KACxC,EAAE,CAAC;CACL,CAAC;AA+LF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAiBjD,CAAC"}
1
+ {"version":3,"file":"rationalNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/rationals/rationalNumbers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EACL,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAc7C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE;QACP,IAAI,EAAE,eAAe,CAAC;QAEtB,cAAc,EAAE,eAAe,GAAG,IAAI,CAAC;KACxC,EAAE,CAAC;CACL,CAAC;AAiMF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAiBjD,CAAC"}
@@ -13,7 +13,7 @@ import { frac, isFractionNode, } from "../../../../tree/nodes/operators/fraction
13
13
  import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
14
14
  import { coinFlip } from "../../../../utils/alea/coinFlip.js";
15
15
  import { random } from "../../../../utils/alea/random.js";
16
- const getPropositions = (n, { answer, choices }) => {
16
+ const getPropositions = (n, { choices }) => {
17
17
  const propositions = [];
18
18
  for (const choice of choices) {
19
19
  if (!choice.irrationalUsed) {
@@ -25,10 +25,10 @@ const getPropositions = (n, { answer, choices }) => {
25
25
  }
26
26
  return shuffleProps(propositions, n);
27
27
  };
28
- const getInstruction = (identifiers) => {
28
+ const getInstruction = () => {
29
29
  return "Parmi ces nombres, lesquels sont rationnels ?";
30
30
  };
31
- const getHint = (identifiers) => {
31
+ const getHint = () => {
32
32
  return `Un nombre $n$ est rationnel s'il peut s'écrire sous la forme :
33
33
 
34
34
  $$
@@ -38,7 +38,7 @@ $$
38
38
  avec $a \\in \\mathbb{Z}$ et $b \\in \\mathbb{Z}^*$.`;
39
39
  };
40
40
  const getCorrection = (identifiers) => {
41
- let corrections = [];
41
+ const corrections = [];
42
42
  for (const choice of identifiers.choices) {
43
43
  const node = reifyAlgebraic(choice.node);
44
44
  if (choice.irrationalUsed) {
@@ -69,8 +69,8 @@ $$`);
69
69
  }
70
70
  return corrections.join("\n");
71
71
  };
72
- const getRationalNumbersQuestion = (ops) => {
73
- let choices = [];
72
+ const getRationalNumbersQuestion = () => {
73
+ const choices = [];
74
74
  const knownIrrationals = [
75
75
  PiNode,
76
76
  new SqrtNode(new NumberNode(2)),
@@ -126,7 +126,7 @@ const getRationalNumbersQuestion = (ops) => {
126
126
  });
127
127
  break;
128
128
  case 1:
129
- default:
129
+ default: {
130
130
  let irrational;
131
131
  do {
132
132
  irrational = random(knownIrrationals);
@@ -138,13 +138,17 @@ const getRationalNumbersQuestion = (ops) => {
138
138
  irrationalUsed: irrational.toIdentifiers(),
139
139
  });
140
140
  break;
141
+ }
141
142
  }
142
143
  };
143
144
  // Generer au moins un choix rationnel et un choix irrationnel
144
145
  generateRational();
145
146
  generateIrrational();
146
147
  for (let i = 0; i < 2; i++) {
147
- coinFlip() ? generateRational() : generateIrrational();
148
+ if (coinFlip())
149
+ generateRational();
150
+ else
151
+ generateIrrational();
148
152
  }
149
153
  const identifiers = {
150
154
  choices: choices.map((c) => {
@@ -1 +1 @@
1
- {"version":3,"file":"getPhysicalOrderOfMagnitude.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AA2HrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAmFF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAuB7D,CAAC"}
1
+ {"version":3,"file":"getPhysicalOrderOfMagnitude.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AA0HrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAmFF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAuB7D,CAAC"}
@@ -138,7 +138,7 @@ const getAnswer = ({ factIndex }) => {
138
138
  const getInstruction = ({ factIndex }) => {
139
139
  return `Un ordre de grandeur ${physicalFacts[factIndex].question} est : `;
140
140
  };
141
- const getHint = ({ factIndex }) => {
141
+ const getHint = () => {
142
142
  return `Il ne s'agit pas de connaître la valeur exacte, mais de l'estimer dans les puissances de $10$.`;
143
143
  };
144
144
  const getCorrection = ({ factIndex }) => {
@@ -181,7 +181,7 @@ export const getPhysicalOrderOfMagnitude = {
181
181
  id: "getPhysicalOrderOfMagnitude",
182
182
  label: "Estimer l'ordre de grandeur d'une grandeur physique",
183
183
  isSingleStep: true,
184
- generator: (nb, opts) => getDistinctQuestions(() => getGetPhysicalOrderOfMagnitudeQuestion(), nb, physicalFacts.length),
184
+ generator: (nb) => getDistinctQuestions(() => getGetPhysicalOrderOfMagnitudeQuestion(), nb, physicalFacts.length),
185
185
  qcmTimer: 60,
186
186
  freeTimer: 60,
187
187
  getPropositions,
@@ -1 +1 @@
1
- {"version":3,"file":"rounding.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/rounding/rounding.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAwBrC,KAAK,OAAO,GAAG;IACb,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AACF,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAuIF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CActD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAczD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAc1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAc1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAiBvD,CAAC"}
1
+ {"version":3,"file":"rounding.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/rounding/rounding.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAwBrC,KAAK,OAAO,GAAG;IACb,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AACF,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAgIF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CActD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAczD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAc1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAc1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAiBvD,CAAC"}
@@ -20,19 +20,19 @@ const getStartStatement = (identifiers) => {
20
20
  const dec = new Decimal(identifiers.decimal);
21
21
  return dec.toTree().toTex();
22
22
  };
23
- const getInstruction = (identifiers, opts) => {
23
+ const getInstruction = (identifiers) => {
24
24
  const { precisionAsked } = identifiers;
25
25
  const dec = new Decimal(identifiers.decimal);
26
26
  const decTex = dec.toTree().toTex();
27
27
  return `${instructions[precisionAsked]} $${decTex}$`;
28
28
  };
29
- const getAnswer = (identifiers, opts) => {
29
+ const getAnswer = (identifiers) => {
30
30
  const { precisionAsked } = identifiers;
31
31
  const dec = new Decimal(identifiers.decimal);
32
32
  const answer = dec.round(precisionAsked).toTree().toTex();
33
33
  return answer;
34
34
  };
35
- const getHint = (identifiers, opts) => {
35
+ const getHint = (identifiers) => {
36
36
  const { precisionAsked } = identifiers;
37
37
  return `Pour arrondir ${ranksWithAu[precisionAsked]}, on regarde le chiffre des ${ranks[precisionAsked + 1]}s. S'il est inférieur à $5$, on arrondit ${ranksWithAu[precisionAsked]} inférieur. S'il est supérieur ou égal à $5$, on arrondit ${ranksWithAu[precisionAsked]} supérieur.`;
38
38
  };
@@ -60,7 +60,6 @@ const getRoundQuestions = (opts) => {
60
60
  const precisionAsked = opts?.precisionAsked || 0;
61
61
  const precision = randint(precisionAsked + 1, precisionAsked + 5);
62
62
  const dec = DecimalConstructor.random(0, 1000, precision);
63
- const decTex = dec.toTree().toTex();
64
63
  const identifiers = {
65
64
  precisionAsked,
66
65
  decimal: dec.value,
@@ -104,7 +103,7 @@ const getPropositions = (n, { answer, precisionAsked, decimal, precision }) => {
104
103
  }
105
104
  return shuffle(propositions);
106
105
  };
107
- const isAnswerValid = (ans, { answer, decimal, precisionAsked }) => {
106
+ const isAnswerValid = (ans, { answer }) => {
108
107
  return numberParser(ans) === answer;
109
108
  };
110
109
  export const roundToUnit = {
@@ -1 +1 @@
1
- {"version":3,"file":"absoluteNumber.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/sign/absoluteNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuEF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAkBhD,CAAC"}
1
+ {"version":3,"file":"absoluteNumber.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/sign/absoluteNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuEF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAkBhD,CAAC"}