math-exercises 3.0.121 → 3.0.123

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 (1261) hide show
  1. package/lib/exercises/math/calcul/addAndSub.d.ts.map +1 -1
  2. package/lib/exercises/math/calcul/addAndSub.js +3 -3
  3. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts.map +1 -1
  4. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.js +11 -3
  5. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.d.ts.map +1 -1
  6. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.js +3 -3
  7. package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -1
  8. package/lib/exercises/math/calcul/arithmetics/divisorsList.js +7 -3
  9. package/lib/exercises/math/calcul/arithmetics/euclideanDivision.d.ts.map +1 -1
  10. package/lib/exercises/math/calcul/arithmetics/euclideanDivision.js +3 -3
  11. package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.d.ts.map +1 -1
  12. package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.js +3 -3
  13. package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.d.ts.map +1 -1
  14. package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.js +3 -3
  15. package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.d.ts.map +1 -1
  16. package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.js +7 -3
  17. package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
  18. package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +15 -3
  19. package/lib/exercises/math/calcul/arithmetics/whichMultipleAmI.d.ts.map +1 -1
  20. package/lib/exercises/math/calcul/arithmetics/whichMultipleAmI.js +3 -3
  21. package/lib/exercises/math/calcul/decimals/decimalBoundingOnLine.d.ts.map +1 -1
  22. package/lib/exercises/math/calcul/decimals/decimalBoundingOnLine.js +3 -3
  23. package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.d.ts.map +1 -1
  24. package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.js +3 -3
  25. package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.d.ts.map +1 -1
  26. package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.js +3 -3
  27. package/lib/exercises/math/calcul/digitDecimalRank.d.ts.map +1 -1
  28. package/lib/exercises/math/calcul/digitDecimalRank.js +3 -3
  29. package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts.map +1 -1
  30. package/lib/exercises/math/calcul/digitDecimalRankNumber.js +3 -3
  31. package/lib/exercises/math/calcul/digitRank.d.ts.map +1 -1
  32. package/lib/exercises/math/calcul/digitRank.js +3 -3
  33. package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -1
  34. package/lib/exercises/math/calcul/digitRankNumber.js +3 -3
  35. package/lib/exercises/math/calcul/fractions/evalFractionExpression.d.ts.map +1 -1
  36. package/lib/exercises/math/calcul/fractions/evalFractionExpression.js +3 -3
  37. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
  38. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +3 -3
  39. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
  40. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +3 -3
  41. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.d.ts.map +1 -1
  42. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.js +3 -3
  43. package/lib/exercises/math/calcul/fractions/fractionForbiddenValue.d.ts.map +1 -1
  44. package/lib/exercises/math/calcul/fractions/fractionForbiddenValue.js +7 -3
  45. package/lib/exercises/math/calcul/fractions/fractionSquare.d.ts.map +1 -1
  46. package/lib/exercises/math/calcul/fractions/fractionSquare.js +3 -3
  47. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -1
  48. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +3 -3
  49. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
  50. package/lib/exercises/math/calcul/fractions/fractionsDivision.js +3 -3
  51. package/lib/exercises/math/calcul/fractions/fractionsMix.d.ts.map +1 -1
  52. package/lib/exercises/math/calcul/fractions/fractionsMix.js +3 -3
  53. package/lib/exercises/math/calcul/fractions/fractionsOperations.d.ts.map +1 -1
  54. package/lib/exercises/math/calcul/fractions/fractionsOperations.js +7 -3
  55. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
  56. package/lib/exercises/math/calcul/fractions/fractionsProduct.js +3 -3
  57. package/lib/exercises/math/calcul/fractions/fractionsSubstraction.d.ts.map +1 -1
  58. package/lib/exercises/math/calcul/fractions/fractionsSubstraction.js +7 -3
  59. package/lib/exercises/math/calcul/fractions/fractionsSum.d.ts.map +1 -1
  60. package/lib/exercises/math/calcul/fractions/fractionsSum.js +3 -3
  61. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts.map +1 -1
  62. package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.js +3 -3
  63. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts.map +1 -1
  64. package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.js +8 -3
  65. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts.map +1 -1
  66. package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +3 -3
  67. package/lib/exercises/math/calcul/fractions/simplifyFraction.d.ts.map +1 -1
  68. package/lib/exercises/math/calcul/fractions/simplifyFraction.js +3 -3
  69. package/lib/exercises/math/calcul/fractions/simplifyFractionWithPrimeFactorization.d.ts.map +1 -1
  70. package/lib/exercises/math/calcul/fractions/simplifyFractionWithPrimeFactorization.js +7 -3
  71. package/lib/exercises/math/calcul/fractions/simplifyToFraction.d.ts.map +1 -1
  72. package/lib/exercises/math/calcul/fractions/simplifyToFraction.js +3 -3
  73. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.d.ts.map +1 -1
  74. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.js +3 -3
  75. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.d.ts.map +1 -1
  76. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.js +7 -3
  77. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.d.ts.map +1 -1
  78. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.js +3 -3
  79. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.d.ts.map +1 -1
  80. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.js +3 -3
  81. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.d.ts.map +1 -1
  82. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.js +3 -3
  83. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.d.ts.map +1 -1
  84. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.js +3 -3
  85. package/lib/exercises/math/calcul/operations/numberInverse.d.ts.map +1 -1
  86. package/lib/exercises/math/calcul/operations/numberInverse.js +3 -3
  87. package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts.map +1 -1
  88. package/lib/exercises/math/calcul/operations/operationsPriorities.js +3 -3
  89. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.d.ts.map +1 -1
  90. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.js +3 -3
  91. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.d.ts.map +1 -1
  92. package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.js +3 -3
  93. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
  94. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.js +28 -3
  95. package/lib/exercises/math/calcul/ordering/decimalOrdering.d.ts.map +1 -1
  96. package/lib/exercises/math/calcul/ordering/decimalOrdering.js +4 -0
  97. package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.d.ts.map +1 -1
  98. package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.js +4 -0
  99. package/lib/exercises/math/calcul/ordering/framing.d.ts.map +1 -1
  100. package/lib/exercises/math/calcul/ordering/framing.js +3 -3
  101. package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.d.ts.map +1 -1
  102. package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.js +3 -3
  103. package/lib/exercises/math/calcul/proportionality/proportionalityTable.d.ts.map +1 -1
  104. package/lib/exercises/math/calcul/proportionality/proportionalityTable.js +3 -3
  105. package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.d.ts.map +1 -1
  106. package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.js +3 -3
  107. package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.d.ts.map +1 -1
  108. package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.js +3 -3
  109. package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts.map +1 -1
  110. package/lib/exercises/math/calcul/proportionality/scaleCalculation.js +3 -3
  111. package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts.map +1 -1
  112. package/lib/exercises/math/calcul/proportionality/scaleUsage.js +3 -3
  113. package/lib/exercises/math/calcul/rationals/rationalNumbers.d.ts.map +1 -1
  114. package/lib/exercises/math/calcul/rationals/rationalNumbers.js +17 -0
  115. package/lib/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.d.ts.map +1 -1
  116. package/lib/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.js +3 -3
  117. package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
  118. package/lib/exercises/math/calcul/rounding/rounding.js +3 -3
  119. package/lib/exercises/math/calcul/writing/numberToFrenchWriting.js +1 -1
  120. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -1
  121. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +3 -3
  122. package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.d.ts.map +1 -1
  123. package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.js +3 -3
  124. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivitySubstract.d.ts.map +1 -1
  125. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivitySubstract.js +3 -3
  126. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -1
  127. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +3 -3
  128. package/lib/exercises/math/calculLitteral/distributivity/idRmq1.d.ts.map +1 -1
  129. package/lib/exercises/math/calculLitteral/distributivity/idRmq1.js +3 -3
  130. package/lib/exercises/math/calculLitteral/distributivity/idRmq2.d.ts.map +1 -1
  131. package/lib/exercises/math/calculLitteral/distributivity/idRmq2.js +3 -3
  132. package/lib/exercises/math/calculLitteral/distributivity/idRmq3.d.ts.map +1 -1
  133. package/lib/exercises/math/calculLitteral/distributivity/idRmq3.js +3 -3
  134. package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.d.ts.map +1 -1
  135. package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.js +3 -3
  136. package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.d.ts.map +1 -1
  137. package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.js +3 -3
  138. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.d.ts.map +1 -1
  139. package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.js +3 -3
  140. package/lib/exercises/math/calculLitteral/equation/equa1.d.ts.map +1 -1
  141. package/lib/exercises/math/calculLitteral/equation/equa1.js +3 -3
  142. package/lib/exercises/math/calculLitteral/equation/equa2.d.ts.map +1 -1
  143. package/lib/exercises/math/calculLitteral/equation/equa2.js +3 -3
  144. package/lib/exercises/math/calculLitteral/equation/equa3.d.ts.map +1 -1
  145. package/lib/exercises/math/calculLitteral/equation/equa3.js +3 -3
  146. package/lib/exercises/math/calculLitteral/equation/equa4.d.ts.map +1 -1
  147. package/lib/exercises/math/calculLitteral/equation/equa4.js +3 -3
  148. package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.d.ts.map +1 -1
  149. package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.js +3 -3
  150. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
  151. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +5 -5
  152. package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.d.ts.map +1 -1
  153. package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.js +3 -3
  154. package/lib/exercises/math/calculLitteral/equation/factorizeEquation.d.ts.map +1 -1
  155. package/lib/exercises/math/calculLitteral/equation/factorizeEquation.js +3 -3
  156. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
  157. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +3 -3
  158. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
  159. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +3 -3
  160. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -1
  161. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +3 -3
  162. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.d.ts.map +1 -1
  163. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.js +3 -3
  164. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
  165. package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +3 -3
  166. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
  167. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +11 -3
  168. package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts.map +1 -1
  169. package/lib/exercises/math/calculLitteral/factorisation/facto1.js +7 -3
  170. package/lib/exercises/math/calculLitteral/factorisation/factoByX.d.ts.map +1 -1
  171. package/lib/exercises/math/calculLitteral/factorisation/factoByX.js +3 -3
  172. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
  173. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +3 -3
  174. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
  175. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +3 -3
  176. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  177. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +3 -3
  178. package/lib/exercises/math/calculLitteral/factorisation/factoType2.d.ts.map +1 -1
  179. package/lib/exercises/math/calculLitteral/factorisation/factoType2.js +3 -3
  180. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -1
  181. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +3 -3
  182. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -1
  183. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +3 -3
  184. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +1 -1
  185. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.js +3 -3
  186. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.d.ts.map +1 -1
  187. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.js +3 -3
  188. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.d.ts.map +1 -1
  189. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.js +3 -3
  190. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -1
  191. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +3 -3
  192. package/lib/exercises/math/calculLitteral/inequations/minNumberInequality.d.ts.map +1 -1
  193. package/lib/exercises/math/calculLitteral/inequations/minNumberInequality.js +3 -3
  194. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.d.ts.map +1 -1
  195. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.js +3 -3
  196. package/lib/exercises/math/calculLitteral/isolate/isolateVariable.js +1 -1
  197. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.d.ts.map +1 -1
  198. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.js +7 -3
  199. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts.map +1 -1
  200. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.js +3 -3
  201. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
  202. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.js +3 -3
  203. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -1
  204. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +3 -3
  205. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -1
  206. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.js +3 -3
  207. package/lib/exercises/math/combinatory/anagrams.d.ts.map +1 -1
  208. package/lib/exercises/math/combinatory/anagrams.js +3 -3
  209. package/lib/exercises/math/combinatory/ballsCounting.d.ts.map +1 -1
  210. package/lib/exercises/math/combinatory/ballsCounting.js +3 -3
  211. package/lib/exercises/math/combinatory/diceCounting.d.ts.map +1 -1
  212. package/lib/exercises/math/combinatory/diceCounting.js +3 -3
  213. package/lib/exercises/math/complex/addComplex.d.ts.map +1 -1
  214. package/lib/exercises/math/complex/addComplex.js +8 -3
  215. package/lib/exercises/math/complex/argumentFromAlgebraicComplex.d.ts.map +1 -1
  216. package/lib/exercises/math/complex/argumentFromAlgebraicComplex.js +3 -3
  217. package/lib/exercises/math/complex/conjugateComplex.d.ts.map +1 -1
  218. package/lib/exercises/math/complex/conjugateComplex.js +3 -3
  219. package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -1
  220. package/lib/exercises/math/complex/conjugateDivideComplex.js +8 -3
  221. package/lib/exercises/math/complex/conjugateMultiplyComplex.d.ts.map +1 -1
  222. package/lib/exercises/math/complex/conjugateMultiplyComplex.js +8 -3
  223. package/lib/exercises/math/complex/divideComplex.d.ts.map +1 -1
  224. package/lib/exercises/math/complex/divideComplex.js +8 -3
  225. package/lib/exercises/math/complex/inverseComplex.d.ts.map +1 -1
  226. package/lib/exercises/math/complex/inverseComplex.js +3 -3
  227. package/lib/exercises/math/complex/linearCombinaisonComplex.d.ts.map +1 -1
  228. package/lib/exercises/math/complex/linearCombinaisonComplex.js +3 -3
  229. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.d.ts.map +1 -1
  230. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.js +3 -3
  231. package/lib/exercises/math/complex/mutiplyComplex.d.ts.map +1 -1
  232. package/lib/exercises/math/complex/mutiplyComplex.js +8 -3
  233. package/lib/exercises/math/complex/reAndIm.d.ts.map +1 -1
  234. package/lib/exercises/math/complex/reAndIm.js +3 -3
  235. package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -1
  236. package/lib/exercises/math/conversion/aeraConversion.js +3 -3
  237. package/lib/exercises/math/conversion/capacityConversion.d.ts.map +1 -1
  238. package/lib/exercises/math/conversion/capacityConversion.js +3 -3
  239. package/lib/exercises/math/conversion/hoursToDecimal.d.ts.map +1 -1
  240. package/lib/exercises/math/conversion/hoursToDecimal.js +5 -5
  241. package/lib/exercises/math/conversion/hoursToSecond.d.ts.map +1 -1
  242. package/lib/exercises/math/conversion/hoursToSecond.js +3 -3
  243. package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
  244. package/lib/exercises/math/conversion/lengthConversion.js +3 -3
  245. package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -1
  246. package/lib/exercises/math/conversion/massConversion.js +3 -3
  247. package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
  248. package/lib/exercises/math/conversion/volumeCapacityConversion.js +3 -3
  249. package/lib/exercises/math/conversion/volumeConversion.d.ts.map +1 -1
  250. package/lib/exercises/math/conversion/volumeConversion.js +3 -3
  251. package/lib/exercises/math/dataRepresentations/barChartReading.d.ts.map +1 -1
  252. package/lib/exercises/math/dataRepresentations/barChartReading.js +3 -3
  253. package/lib/exercises/math/dataRepresentations/compareBoxPlot.d.ts.map +1 -1
  254. package/lib/exercises/math/dataRepresentations/compareBoxPlot.js +10 -5
  255. package/lib/exercises/math/dataRepresentations/functionGraphReading.d.ts.map +1 -1
  256. package/lib/exercises/math/dataRepresentations/functionGraphReading.js +3 -3
  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 +3 -3
  261. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts.map +1 -1
  262. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.js +8 -3
  263. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts.map +1 -1
  264. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.js +3 -3
  265. package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts.map +1 -1
  266. package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +3 -2
  267. package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts.map +1 -1
  268. package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +3 -3
  269. package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.d.ts.map +1 -1
  270. package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.js +3 -3
  271. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
  272. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +3 -3
  273. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.d.ts.map +1 -1
  274. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.js +3 -3
  275. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.d.ts.map +1 -1
  276. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.js +3 -3
  277. package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts.map +1 -1
  278. package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.js +3 -3
  279. package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts.map +1 -1
  280. package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +3 -3
  281. package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts.map +1 -1
  282. package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +3 -3
  283. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.d.ts.map +1 -1
  284. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.js +3 -3
  285. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts.map +1 -1
  286. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.js +3 -3
  287. package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts.map +1 -1
  288. package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.js +3 -3
  289. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts.map +1 -1
  290. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.js +3 -3
  291. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts.map +1 -1
  292. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.js +3 -3
  293. package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -1
  294. package/lib/exercises/math/derivation/derivative/productDerivative.js +3 -3
  295. package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
  296. package/lib/exercises/math/derivation/derivative/quotientDerivative.js +7 -3
  297. package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.d.ts.map +1 -1
  298. package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.js +3 -3
  299. package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts.map +1 -1
  300. package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +3 -3
  301. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts.map +1 -1
  302. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.js +3 -3
  303. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts.map +1 -1
  304. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +3 -3
  305. package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.d.ts.map +1 -1
  306. package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +3 -3
  307. package/lib/exercises/math/derivation/derivativeNumberCalcul.d.ts.map +1 -1
  308. package/lib/exercises/math/derivation/derivativeNumberCalcul.js +3 -3
  309. package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.d.ts.map +1 -1
  310. package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.js +3 -3
  311. package/lib/exercises/math/derivation/tangent/derivativeNumberReading.d.ts.map +1 -1
  312. package/lib/exercises/math/derivation/tangent/derivativeNumberReading.js +3 -3
  313. package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.d.ts.map +1 -1
  314. package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.js +3 -3
  315. package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.d.ts.map +1 -1
  316. package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.js +3 -3
  317. package/lib/exercises/math/derivation/tangent/tangentEquationWithData.d.ts.map +1 -1
  318. package/lib/exercises/math/derivation/tangent/tangentEquationWithData.js +3 -3
  319. package/lib/exercises/math/derivation/tangent/tangentEquations.d.ts.map +1 -1
  320. package/lib/exercises/math/derivation/tangent/tangentEquations.js +3 -3
  321. package/lib/exercises/math/derivation/variations/thirdDegreeDerivativeVariation.d.ts.map +1 -1
  322. package/lib/exercises/math/derivation/variations/thirdDegreeDerivativeVariation.js +3 -3
  323. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts.map +1 -1
  324. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.js +3 -3
  325. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts.map +1 -1
  326. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.js +3 -3
  327. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
  328. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +3 -3
  329. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts.map +1 -1
  330. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.js +3 -3
  331. package/lib/exercises/math/functions/absolute/absolueValueAffineEquation.d.ts.map +1 -1
  332. package/lib/exercises/math/functions/absolute/absolueValueAffineEquation.js +3 -3
  333. package/lib/exercises/math/functions/absolute/absolueValueInequationsSup.d.ts.map +1 -1
  334. package/lib/exercises/math/functions/absolute/absolueValueInequationsSup.js +3 -3
  335. package/lib/exercises/math/functions/absolute/absoluteValueEquations.d.ts.map +1 -1
  336. package/lib/exercises/math/functions/absolute/absoluteValueEquations.js +3 -3
  337. package/lib/exercises/math/functions/absolute/absoluteValueInequations.d.ts.map +1 -1
  338. package/lib/exercises/math/functions/absolute/absoluteValueInequations.js +3 -3
  339. package/lib/exercises/math/functions/absolute/calculateDistanceBetweenNumbers.d.ts.map +1 -1
  340. package/lib/exercises/math/functions/absolute/calculateDistanceBetweenNumbers.js +3 -3
  341. package/lib/exercises/math/functions/absolute/calculateWithAbsoluteValue.d.ts.map +1 -1
  342. package/lib/exercises/math/functions/absolute/calculateWithAbsoluteValue.js +3 -3
  343. package/lib/exercises/math/functions/affines/affineAdjustment.d.ts.map +1 -1
  344. package/lib/exercises/math/functions/affines/affineAdjustment.js +13 -3
  345. package/lib/exercises/math/functions/affines/affineAdjustmentComplete.d.ts.map +1 -1
  346. package/lib/exercises/math/functions/affines/affineAdjustmentComplete.js +3 -3
  347. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts.map +1 -1
  348. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.js +3 -3
  349. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -1
  350. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +3 -3
  351. package/lib/exercises/math/functions/affines/affineExpressionReading.d.ts.map +1 -1
  352. package/lib/exercises/math/functions/affines/affineExpressionReading.js +3 -3
  353. package/lib/exercises/math/functions/affines/affineMeanValue.d.ts.map +1 -1
  354. package/lib/exercises/math/functions/affines/affineMeanValue.js +3 -3
  355. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts.map +1 -1
  356. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.js +3 -3
  357. package/lib/exercises/math/functions/affines/interceptReading.d.ts.map +1 -1
  358. package/lib/exercises/math/functions/affines/interceptReading.js +3 -3
  359. package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.d.ts.map +1 -1
  360. package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.js +3 -3
  361. package/lib/exercises/math/functions/affines/leadingCoefficient.d.ts.map +1 -1
  362. package/lib/exercises/math/functions/affines/leadingCoefficient.js +3 -3
  363. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.d.ts.map +1 -1
  364. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.js +3 -3
  365. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.d.ts.map +1 -1
  366. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.js +3 -3
  367. package/lib/exercises/math/functions/affines/signFunction.d.ts.map +1 -1
  368. package/lib/exercises/math/functions/affines/signFunction.js +3 -3
  369. package/lib/exercises/math/functions/basics/countFunctionZeroes.d.ts.map +1 -1
  370. package/lib/exercises/math/functions/basics/countFunctionZeroes.js +7 -0
  371. package/lib/exercises/math/functions/basics/findZeroesProductQuotient.d.ts.map +1 -1
  372. package/lib/exercises/math/functions/basics/findZeroesProductQuotient.js +10 -3
  373. package/lib/exercises/math/functions/basics/graphicEquation.d.ts.map +1 -1
  374. package/lib/exercises/math/functions/basics/graphicEquation.js +3 -3
  375. package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -1
  376. package/lib/exercises/math/functions/basics/graphicInequation.js +3 -3
  377. package/lib/exercises/math/functions/basics/graphicInequationAffine.d.ts.map +1 -1
  378. package/lib/exercises/math/functions/basics/graphicInequationAffine.js +3 -3
  379. package/lib/exercises/math/functions/basics/imageFunction.d.ts.map +1 -1
  380. package/lib/exercises/math/functions/basics/imageFunction.js +3 -3
  381. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.d.ts.map +1 -1
  382. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.js +3 -3
  383. package/lib/exercises/math/functions/basics/inverseImageFunction.d.ts.map +1 -1
  384. package/lib/exercises/math/functions/basics/inverseImageFunction.js +3 -3
  385. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.d.ts.map +1 -1
  386. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.js +4 -4
  387. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts.map +1 -1
  388. package/lib/exercises/math/functions/basics/inverseImageFunctionTable.js +3 -3
  389. package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts.map +1 -1
  390. package/lib/exercises/math/functions/basics/twoFunctionsEquation.js +3 -3
  391. package/lib/exercises/math/functions/basics/twoFunctionsInequation.d.ts.map +1 -1
  392. package/lib/exercises/math/functions/basics/twoFunctionsInequation.js +3 -3
  393. package/lib/exercises/math/functions/cube/cubicEquation.d.ts.map +1 -1
  394. package/lib/exercises/math/functions/cube/cubicEquation.js +3 -3
  395. package/lib/exercises/math/functions/exponential/expEquation.d.ts.map +1 -1
  396. package/lib/exercises/math/functions/exponential/expEquation.js +3 -3
  397. package/lib/exercises/math/functions/exponential/expFactorization.d.ts.map +1 -1
  398. package/lib/exercises/math/functions/exponential/expFactorization.js +3 -3
  399. package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -1
  400. package/lib/exercises/math/functions/exponential/expSimplifiying.js +3 -3
  401. package/lib/exercises/math/functions/integral/integralAffines.d.ts.map +1 -1
  402. package/lib/exercises/math/functions/integral/integralAffines.js +3 -3
  403. package/lib/exercises/math/functions/integral/integralDerivatedUCosU.d.ts.map +1 -1
  404. package/lib/exercises/math/functions/integral/integralDerivatedUCosU.js +3 -3
  405. package/lib/exercises/math/functions/integral/integralDerivatedUSinU.d.ts.map +1 -1
  406. package/lib/exercises/math/functions/integral/integralDerivatedUSinU.js +3 -3
  407. package/lib/exercises/math/functions/integral/integralExpAxPlusB.d.ts.map +1 -1
  408. package/lib/exercises/math/functions/integral/integralExpAxPlusB.js +3 -3
  409. package/lib/exercises/math/functions/integral/integralExpU.d.ts.map +1 -1
  410. package/lib/exercises/math/functions/integral/integralExpU.js +8 -3
  411. package/lib/exercises/math/functions/integral/integralFractions.d.ts.map +1 -1
  412. package/lib/exercises/math/functions/integral/integralFractions.js +8 -3
  413. package/lib/exercises/math/functions/integral/integralKCosinus.d.ts.map +1 -1
  414. package/lib/exercises/math/functions/integral/integralKCosinus.js +7 -3
  415. package/lib/exercises/math/functions/integral/integralKSinus.d.ts.map +1 -1
  416. package/lib/exercises/math/functions/integral/integralKSinus.js +7 -3
  417. package/lib/exercises/math/functions/integral/integralTrinomials.d.ts.map +1 -1
  418. package/lib/exercises/math/functions/integral/integralTrinomials.js +3 -3
  419. package/lib/exercises/math/functions/inverse/solveInverseEquation.d.ts.map +1 -1
  420. package/lib/exercises/math/functions/inverse/solveInverseEquation.js +10 -3
  421. package/lib/exercises/math/functions/logarithm/log10Simplifying.d.ts.map +1 -1
  422. package/lib/exercises/math/functions/logarithm/log10Simplifying.js +3 -3
  423. package/lib/exercises/math/functions/logarithm/logEquation.d.ts.map +1 -1
  424. package/lib/exercises/math/functions/logarithm/logEquation.js +3 -3
  425. package/lib/exercises/math/functions/logarithm/logPowerEquation.d.ts.map +1 -1
  426. package/lib/exercises/math/functions/logarithm/logPowerEquation.js +3 -3
  427. package/lib/exercises/math/functions/logarithm/logSimplifiying.d.ts.map +1 -1
  428. package/lib/exercises/math/functions/logarithm/logSimplifiying.js +3 -3
  429. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.d.ts.map +1 -1
  430. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.js +7 -3
  431. package/lib/exercises/math/functions/sign/affineProductSignTable.d.ts.map +1 -1
  432. package/lib/exercises/math/functions/sign/affineProductSignTable.js +4 -0
  433. package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.d.ts.map +1 -1
  434. package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.js +4 -0
  435. package/lib/exercises/math/functions/sign/affineSignTable.d.ts.map +1 -1
  436. package/lib/exercises/math/functions/sign/affineSignTable.js +3 -3
  437. package/lib/exercises/math/functions/sign/equationFromSignTable.d.ts.map +1 -1
  438. package/lib/exercises/math/functions/sign/equationFromSignTable.js +3 -3
  439. package/lib/exercises/math/functions/sqrt/getImageOfSquareRootFunction.d.ts.map +1 -1
  440. package/lib/exercises/math/functions/sqrt/getImageOfSquareRootFunction.js +7 -3
  441. package/lib/exercises/math/functions/sqrt/sqrtInequality.d.ts.map +1 -1
  442. package/lib/exercises/math/functions/sqrt/sqrtInequality.js +3 -3
  443. package/lib/exercises/math/functions/sqrt/squareRootCalculation.d.ts.map +1 -1
  444. package/lib/exercises/math/functions/sqrt/squareRootCalculation.js +4 -4
  445. package/lib/exercises/math/functions/square/compareSquaredValues.d.ts.map +1 -1
  446. package/lib/exercises/math/functions/square/compareSquaredValues.js +4 -0
  447. package/lib/exercises/math/functions/square/squareFunctionInequationWithGraph.d.ts.map +1 -1
  448. package/lib/exercises/math/functions/square/squareFunctionInequationWithGraph.js +3 -3
  449. package/lib/exercises/math/functions/square/squareImageInterval.d.ts.map +1 -1
  450. package/lib/exercises/math/functions/square/squareImageInterval.js +3 -3
  451. package/lib/exercises/math/functions/square/squareImageIntervalWithGraph.d.ts.map +1 -1
  452. package/lib/exercises/math/functions/square/squareImageIntervalWithGraph.js +3 -3
  453. package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.d.ts.map +1 -1
  454. package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.js +3 -3
  455. package/lib/exercises/math/functions/trinoms/equation/deltaTrinom.d.ts.map +1 -1
  456. package/lib/exercises/math/functions/trinoms/equation/deltaTrinom.js +3 -3
  457. package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.d.ts.map +1 -1
  458. package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.js +3 -3
  459. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -1
  460. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.js +3 -3
  461. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.d.ts.map +1 -1
  462. package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.js +3 -3
  463. package/lib/exercises/math/functions/trinoms/factoForm/factorizedFormFromRoots.d.ts.map +1 -1
  464. package/lib/exercises/math/functions/trinoms/factoForm/factorizedFormFromRoots.js +3 -3
  465. package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.d.ts.map +1 -1
  466. package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.js +3 -3
  467. package/lib/exercises/math/functions/trinoms/parabole/trinomSymetryAxisFromFacto.d.ts.map +1 -1
  468. package/lib/exercises/math/functions/trinoms/parabole/trinomSymetryAxisFromFacto.js +3 -3
  469. package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.d.ts.map +1 -1
  470. package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.js +3 -3
  471. package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.d.ts.map +1 -1
  472. package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.js +3 -3
  473. package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.d.ts.map +1 -1
  474. package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.js +3 -3
  475. package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.d.ts.map +1 -1
  476. package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.js +3 -3
  477. package/lib/exercises/math/functions/trinoms/roots/rootsProduct.d.ts.map +1 -1
  478. package/lib/exercises/math/functions/trinoms/roots/rootsProduct.js +3 -3
  479. package/lib/exercises/math/functions/trinoms/roots/rootsReading.d.ts.map +1 -1
  480. package/lib/exercises/math/functions/trinoms/roots/rootsReading.js +3 -3
  481. package/lib/exercises/math/functions/trinoms/roots/rootsSum.d.ts.map +1 -1
  482. package/lib/exercises/math/functions/trinoms/roots/rootsSum.js +3 -3
  483. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.d.ts.map +1 -1
  484. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.js +3 -3
  485. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.d.ts.map +1 -1
  486. package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.js +3 -3
  487. package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaFromDevForm.d.ts.map +1 -1
  488. package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaFromDevForm.js +3 -3
  489. package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.d.ts.map +1 -1
  490. package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.js +3 -3
  491. package/lib/exercises/math/functions/trinoms/summitAndCanonical/canonicalFromDevForm.d.ts.map +1 -1
  492. package/lib/exercises/math/functions/trinoms/summitAndCanonical/canonicalFromDevForm.js +3 -3
  493. package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumFromCanonicalForm.d.ts.map +1 -1
  494. package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumFromCanonicalForm.js +3 -3
  495. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromDevForm.d.ts.map +1 -1
  496. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromDevForm.js +3 -3
  497. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromRoots.d.ts.map +1 -1
  498. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromRoots.js +3 -3
  499. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitReading.d.ts.map +1 -1
  500. package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitReading.js +3 -3
  501. package/lib/exercises/math/functions/trinoms/trinomialMeanValue.d.ts.map +1 -1
  502. package/lib/exercises/math/functions/trinoms/trinomialMeanValue.js +3 -3
  503. package/lib/exercises/math/functions/variations/readExtremaOnGraph.d.ts.map +1 -1
  504. package/lib/exercises/math/functions/variations/readExtremaOnGraph.js +11 -3
  505. package/lib/exercises/math/functions/variations/readVarOnGraph2.d.ts.map +1 -1
  506. package/lib/exercises/math/functions/variations/readVarOnGraph2.js +3 -3
  507. package/lib/exercises/math/functions/variations/varTableExtremaReading.d.ts.map +1 -1
  508. package/lib/exercises/math/functions/variations/varTableExtremaReading.js +3 -3
  509. package/lib/exercises/math/geometry/areas/calculateAreaFromCodedShape.d.ts.map +1 -1
  510. package/lib/exercises/math/geometry/areas/calculateAreaFromCodedShape.js +3 -3
  511. package/lib/exercises/math/geometry/areas/circleArea.d.ts.map +1 -1
  512. package/lib/exercises/math/geometry/areas/circleArea.js +3 -3
  513. package/lib/exercises/math/geometry/areas/circleRadiusFromArea.d.ts.map +1 -1
  514. package/lib/exercises/math/geometry/areas/circleRadiusFromArea.js +3 -3
  515. package/lib/exercises/math/geometry/areas/rectangleArea.d.ts.map +1 -1
  516. package/lib/exercises/math/geometry/areas/rectangleArea.js +3 -3
  517. package/lib/exercises/math/geometry/areas/rectangleSideFromArea.d.ts.map +1 -1
  518. package/lib/exercises/math/geometry/areas/rectangleSideFromArea.js +3 -3
  519. package/lib/exercises/math/geometry/areas/rightTriangleArea.d.ts.map +1 -1
  520. package/lib/exercises/math/geometry/areas/rightTriangleArea.js +3 -3
  521. package/lib/exercises/math/geometry/areas/squareArea.d.ts.map +1 -1
  522. package/lib/exercises/math/geometry/areas/squareArea.js +3 -3
  523. package/lib/exercises/math/geometry/areas/squareSideFromArea.d.ts.map +1 -1
  524. package/lib/exercises/math/geometry/areas/squareSideFromArea.js +3 -3
  525. package/lib/exercises/math/geometry/areas/triangleArea.d.ts.map +1 -1
  526. package/lib/exercises/math/geometry/areas/triangleArea.js +3 -3
  527. package/lib/exercises/math/geometry/areas/triangleAreaV2.d.ts.map +1 -1
  528. package/lib/exercises/math/geometry/areas/triangleAreaV2.js +3 -3
  529. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.d.ts.map +1 -1
  530. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.js +7 -3
  531. package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.d.ts.map +1 -1
  532. package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.js +3 -3
  533. package/lib/exercises/math/geometry/cartesian/cartesianFromVectorAndPoint.d.ts.map +1 -1
  534. package/lib/exercises/math/geometry/cartesian/cartesianFromVectorAndPoint.js +3 -3
  535. package/lib/exercises/math/geometry/cartesian/directionVector.d.ts.map +1 -1
  536. package/lib/exercises/math/geometry/cartesian/directionVector.js +7 -3
  537. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.d.ts.map +1 -1
  538. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.js +3 -3
  539. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -1
  540. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +3 -3
  541. package/lib/exercises/math/geometry/cartesian/midpoint.d.ts.map +1 -1
  542. package/lib/exercises/math/geometry/cartesian/midpoint.js +3 -3
  543. package/lib/exercises/math/geometry/cartesian/pointCoordinates.d.ts.map +1 -1
  544. package/lib/exercises/math/geometry/cartesian/pointCoordinates.js +3 -3
  545. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoAxisNumbers.d.ts.map +1 -1
  546. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoAxisNumbers.js +3 -3
  547. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.d.ts.map +1 -1
  548. package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.js +3 -3
  549. package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.d.ts.map +1 -1
  550. package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.js +3 -3
  551. package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.d.ts.map +1 -1
  552. package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.js +3 -3
  553. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.d.ts.map +1 -1
  554. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.js +8 -0
  555. package/lib/exercises/math/geometry/euclidian/orthogonalProjectFromPicture.d.ts.map +1 -1
  556. package/lib/exercises/math/geometry/euclidian/orthogonalProjectFromPicture.js +3 -3
  557. package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.d.ts.map +1 -1
  558. package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.js +3 -3
  559. package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.d.ts.map +1 -1
  560. package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.js +4 -0
  561. package/lib/exercises/math/geometry/lines/aAndBFromReductEquation.d.ts.map +1 -1
  562. package/lib/exercises/math/geometry/lines/aAndBFromReductEquation.js +3 -3
  563. package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.d.ts.map +1 -1
  564. package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.js +7 -3
  565. package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.d.ts.map +1 -1
  566. package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.js +3 -3
  567. package/lib/exercises/math/geometry/lines/directorVectorFromAnother.d.ts.map +1 -1
  568. package/lib/exercises/math/geometry/lines/directorVectorFromAnother.js +3 -3
  569. package/lib/exercises/math/geometry/lines/directorVectorFromReductEquation.d.ts.map +1 -1
  570. package/lib/exercises/math/geometry/lines/directorVectorFromReductEquation.js +4 -4
  571. package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.d.ts.map +1 -1
  572. package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.js +4 -0
  573. package/lib/exercises/math/geometry/lines/findParallelLineFromCartesianEquation.d.ts.map +1 -1
  574. package/lib/exercises/math/geometry/lines/findParallelLineFromCartesianEquation.js +3 -3
  575. package/lib/exercises/math/geometry/lines/findParallelLineFromReductEquation.d.ts.map +1 -1
  576. package/lib/exercises/math/geometry/lines/findParallelLineFromReductEquation.js +3 -3
  577. package/lib/exercises/math/geometry/lines/findPointOnLineWithCartesianEquation.d.ts.map +1 -1
  578. package/lib/exercises/math/geometry/lines/findPointOnLineWithCartesianEquation.js +3 -3
  579. package/lib/exercises/math/geometry/lines/findPointOnLineWithReductEquation.d.ts.map +1 -1
  580. package/lib/exercises/math/geometry/lines/findPointOnLineWithReductEquation.js +3 -3
  581. package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.d.ts.map +1 -1
  582. package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.js +4 -0
  583. package/lib/exercises/math/geometry/lines/reductEquationFindY.d.ts.map +1 -1
  584. package/lib/exercises/math/geometry/lines/reductEquationFindY.js +3 -3
  585. package/lib/exercises/math/geometry/lines/reductEquationFromTwoPoints.d.ts.map +1 -1
  586. package/lib/exercises/math/geometry/lines/reductEquationFromTwoPoints.js +3 -3
  587. package/lib/exercises/math/geometry/lines/reductEquationReading.d.ts.map +1 -1
  588. package/lib/exercises/math/geometry/lines/reductEquationReading.js +3 -3
  589. package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.d.ts.map +1 -1
  590. package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.js +3 -3
  591. package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.d.ts.map +1 -1
  592. package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.js +3 -3
  593. package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.d.ts.map +1 -1
  594. package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.js +3 -3
  595. package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.d.ts.map +1 -1
  596. package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.js +3 -3
  597. package/lib/exercises/math/geometry/perimeters/circleCircumference.d.ts.map +1 -1
  598. package/lib/exercises/math/geometry/perimeters/circleCircumference.js +3 -3
  599. package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.d.ts.map +1 -1
  600. package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.js +3 -3
  601. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.d.ts.map +1 -1
  602. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.js +3 -3
  603. package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.d.ts.map +1 -1
  604. package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.js +3 -3
  605. package/lib/exercises/math/geometry/perimeters/squarePerimeter.d.ts.map +1 -1
  606. package/lib/exercises/math/geometry/perimeters/squarePerimeter.js +3 -3
  607. package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.d.ts.map +1 -1
  608. package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.js +3 -3
  609. package/lib/exercises/math/geometry/perimeters/trianglePerimeter.d.ts.map +1 -1
  610. package/lib/exercises/math/geometry/perimeters/trianglePerimeter.js +3 -3
  611. package/lib/exercises/math/geometry/pythagore/calculateDiagonalFromSides.d.ts.map +1 -1
  612. package/lib/exercises/math/geometry/pythagore/calculateDiagonalFromSides.js +3 -3
  613. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.d.ts.map +1 -1
  614. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +3 -3
  615. package/lib/exercises/math/geometry/pythagore/triangleHeight.d.ts.map +1 -1
  616. package/lib/exercises/math/geometry/pythagore/triangleHeight.js +3 -3
  617. package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.d.ts.map +1 -1
  618. package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.js +3 -3
  619. package/lib/exercises/math/geometry/thales/thales.d.ts.map +1 -1
  620. package/lib/exercises/math/geometry/thales/thales.js +7 -3
  621. package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
  622. package/lib/exercises/math/geometry/thales/thalesCalcul.js +3 -3
  623. package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.js +1 -1
  624. package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.d.ts.map +1 -1
  625. package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.js +3 -3
  626. package/lib/exercises/math/geometry/vectors/chasles.d.ts.map +1 -1
  627. package/lib/exercises/math/geometry/vectors/chasles.js +3 -3
  628. package/lib/exercises/math/geometry/vectors/colinearity/alignementViaColinearity.d.ts.map +1 -1
  629. package/lib/exercises/math/geometry/vectors/colinearity/alignementViaColinearity.js +4 -0
  630. package/lib/exercises/math/geometry/vectors/colinearity/colinearity.d.ts.map +1 -1
  631. package/lib/exercises/math/geometry/vectors/colinearity/colinearity.js +5 -0
  632. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromBasis.d.ts.map +1 -1
  633. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromBasis.js +4 -0
  634. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromPicture.d.ts.map +1 -1
  635. package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromPicture.js +9 -0
  636. package/lib/exercises/math/geometry/vectors/colinearity/determinant.d.ts.map +1 -1
  637. package/lib/exercises/math/geometry/vectors/colinearity/determinant.js +3 -3
  638. package/lib/exercises/math/geometry/vectors/constructions/linearVectorCombinationFromGraph.d.ts.map +1 -1
  639. package/lib/exercises/math/geometry/vectors/constructions/linearVectorCombinationFromGraph.js +7 -3
  640. package/lib/exercises/math/geometry/vectors/constructions/placePointFromPointAndVector.d.ts.map +1 -1
  641. package/lib/exercises/math/geometry/vectors/constructions/placePointFromPointAndVector.js +4 -0
  642. package/lib/exercises/math/geometry/vectors/constructions/traceOppositeVector.d.ts.map +1 -1
  643. package/lib/exercises/math/geometry/vectors/constructions/traceOppositeVector.js +4 -0
  644. package/lib/exercises/math/geometry/vectors/constructions/traceVectorDifference.d.ts.map +1 -1
  645. package/lib/exercises/math/geometry/vectors/constructions/traceVectorDifference.js +4 -0
  646. package/lib/exercises/math/geometry/vectors/constructions/traceVectorMultiple.d.ts.map +1 -1
  647. package/lib/exercises/math/geometry/vectors/constructions/traceVectorMultiple.js +4 -0
  648. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSum.d.ts.map +1 -1
  649. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSum.js +4 -0
  650. package/lib/exercises/math/geometry/vectors/coordinatesReading.d.ts.map +1 -1
  651. package/lib/exercises/math/geometry/vectors/coordinatesReading.js +7 -3
  652. package/lib/exercises/math/geometry/vectors/distributeAndReduceVectors.d.ts.map +1 -1
  653. package/lib/exercises/math/geometry/vectors/distributeAndReduceVectors.js +3 -3
  654. package/lib/exercises/math/geometry/vectors/findCoordForAligment.d.ts.map +1 -1
  655. package/lib/exercises/math/geometry/vectors/findCoordForAligment.js +3 -3
  656. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.d.ts.map +1 -1
  657. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.js +3 -3
  658. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.d.ts.map +1 -1
  659. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.js +12 -0
  660. package/lib/exercises/math/geometry/vectors/parallelogram/fourthParallelogramPoint.d.ts.map +1 -1
  661. package/lib/exercises/math/geometry/vectors/parallelogram/fourthParallelogramPoint.js +7 -3
  662. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramCriterion.d.ts.map +1 -1
  663. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramCriterion.js +11 -3
  664. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramViaEqualVectors.d.ts.map +1 -1
  665. package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramViaEqualVectors.js +8 -0
  666. package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.d.ts.map +1 -1
  667. package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.js +3 -3
  668. package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.d.ts.map +1 -1
  669. package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.js +3 -3
  670. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductIdentities.d.ts.map +1 -1
  671. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductIdentities.js +3 -3
  672. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.d.ts.map +1 -1
  673. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.js +3 -3
  674. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.d.ts.map +1 -1
  675. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.js +3 -3
  676. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.d.ts.map +1 -1
  677. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.js +3 -3
  678. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.d.ts.map +1 -1
  679. package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.js +3 -3
  680. package/lib/exercises/math/geometry/vectors/translationFromPicture.d.ts.map +1 -1
  681. package/lib/exercises/math/geometry/vectors/translationFromPicture.js +3 -3
  682. package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts.map +1 -1
  683. package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.js +7 -3
  684. package/lib/exercises/math/geometry/vectors/vectorLinearCombination.d.ts.map +1 -1
  685. package/lib/exercises/math/geometry/vectors/vectorLinearCombination.js +3 -3
  686. package/lib/exercises/math/geometry/vectors/vectorNormCalculation.d.ts.map +1 -1
  687. package/lib/exercises/math/geometry/vectors/vectorNormCalculation.js +3 -3
  688. package/lib/exercises/math/geometry/vectors/vectorRepresentative.d.ts.map +1 -1
  689. package/lib/exercises/math/geometry/vectors/vectorRepresentative.js +8 -0
  690. package/lib/exercises/math/geometry/volumes/coneVolume.d.ts.map +1 -1
  691. package/lib/exercises/math/geometry/volumes/coneVolume.js +3 -3
  692. package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts.map +1 -1
  693. package/lib/exercises/math/geometry/volumes/parallelepipedVolume.js +3 -3
  694. package/lib/exercises/math/geometry/volumes/sphereVolume.d.ts.map +1 -1
  695. package/lib/exercises/math/geometry/volumes/sphereVolume.js +3 -3
  696. package/lib/exercises/math/geometry/volumes/variableVolume.d.ts.map +1 -1
  697. package/lib/exercises/math/geometry/volumes/variableVolume.js +3 -3
  698. package/lib/exercises/math/geometry/volumes/volumeOfCube.d.ts.map +1 -1
  699. package/lib/exercises/math/geometry/volumes/volumeOfCube.js +3 -3
  700. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts.map +1 -1
  701. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.js +3 -3
  702. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts.map +1 -1
  703. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.js +3 -3
  704. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts.map +1 -1
  705. package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.js +3 -3
  706. package/lib/exercises/math/limits/limitReading.d.ts.map +1 -1
  707. package/lib/exercises/math/limits/limitReading.js +3 -3
  708. package/lib/exercises/math/limits/polynomLimit.d.ts.map +1 -1
  709. package/lib/exercises/math/limits/polynomLimit.js +3 -3
  710. package/lib/exercises/math/limits/polynomLimitNoFI.d.ts.map +1 -1
  711. package/lib/exercises/math/limits/polynomLimitNoFI.js +3 -3
  712. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.d.ts.map +1 -1
  713. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.js +3 -3
  714. package/lib/exercises/math/limits/rationalFracLimit.d.ts.map +1 -1
  715. package/lib/exercises/math/limits/rationalFracLimit.js +3 -3
  716. package/lib/exercises/math/limits/sequencePolynomLimit.d.ts.map +1 -1
  717. package/lib/exercises/math/limits/sequencePolynomLimit.js +3 -3
  718. package/lib/exercises/math/limits/sequencePolynomNoFILimit.d.ts.map +1 -1
  719. package/lib/exercises/math/limits/sequencePolynomNoFILimit.js +3 -3
  720. package/lib/exercises/math/limits/sequencePolynomProductLimit.d.ts.map +1 -1
  721. package/lib/exercises/math/limits/sequencePolynomProductLimit.js +3 -3
  722. package/lib/exercises/math/limits/sequenceRationalFracLimit.d.ts.map +1 -1
  723. package/lib/exercises/math/limits/sequenceRationalFracLimit.js +3 -3
  724. package/lib/exercises/math/matrices/matrixGeneralTerm.d.ts.map +1 -1
  725. package/lib/exercises/math/matrices/matrixGeneralTerm.js +3 -3
  726. package/lib/exercises/math/matrices/matrixInversibilityDomain.d.ts.map +1 -1
  727. package/lib/exercises/math/matrices/matrixInversibilityDomain.js +3 -3
  728. package/lib/exercises/math/matrices/productCell.d.ts.map +1 -1
  729. package/lib/exercises/math/matrices/productCell.js +3 -3
  730. package/lib/exercises/math/percent/evolutions/averageEvolutionRate.d.ts.map +1 -1
  731. package/lib/exercises/math/percent/evolutions/averageEvolutionRate.js +3 -3
  732. package/lib/exercises/math/percent/evolutions/cmToEvolution.d.ts.map +1 -1
  733. package/lib/exercises/math/percent/evolutions/cmToEvolution.js +3 -3
  734. package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.d.ts.map +1 -1
  735. package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.js +3 -3
  736. package/lib/exercises/math/percent/evolutions/evolutionToCM.d.ts.map +1 -1
  737. package/lib/exercises/math/percent/evolutions/evolutionToCM.js +3 -3
  738. package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.d.ts.map +1 -1
  739. package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.js +3 -3
  740. package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.d.ts.map +1 -1
  741. package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.js +3 -3
  742. package/lib/exercises/math/percent/evolutions/globalCM.d.ts.map +1 -1
  743. package/lib/exercises/math/percent/evolutions/globalCM.js +3 -3
  744. package/lib/exercises/math/percent/evolutions/globalPercent.d.ts.map +1 -1
  745. package/lib/exercises/math/percent/evolutions/globalPercent.js +3 -3
  746. package/lib/exercises/math/percent/evolutions/reciprocalPercentage.d.ts.map +1 -1
  747. package/lib/exercises/math/percent/evolutions/reciprocalPercentage.js +3 -3
  748. package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
  749. package/lib/exercises/math/percent/findProportion.js +3 -3
  750. package/lib/exercises/math/percent/htToTTC.d.ts.map +1 -1
  751. package/lib/exercises/math/percent/htToTTC.js +3 -3
  752. package/lib/exercises/math/percent/interests/compoundInterest.d.ts.map +1 -1
  753. package/lib/exercises/math/percent/interests/compoundInterest.js +3 -3
  754. package/lib/exercises/math/percent/interests/compoundInterestDuration.js +1 -1
  755. package/lib/exercises/math/percent/interests/compoundInterestStartValue.d.ts.map +1 -1
  756. package/lib/exercises/math/percent/interests/compoundInterestStartValue.js +3 -3
  757. package/lib/exercises/math/percent/percentOfPercent.d.ts.map +1 -1
  758. package/lib/exercises/math/percent/percentOfPercent.js +3 -3
  759. package/lib/exercises/math/percent/percentOfPercentOfNumber.d.ts.map +1 -1
  760. package/lib/exercises/math/percent/percentOfPercentOfNumber.js +3 -3
  761. package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
  762. package/lib/exercises/math/percent/percentToDecimal.js +3 -3
  763. package/lib/exercises/math/percent/percentWritings.d.ts.map +1 -1
  764. package/lib/exercises/math/percent/percentWritings.js +3 -3
  765. package/lib/exercises/math/percent/populationEffectifFromSubPopulation.d.ts.map +1 -1
  766. package/lib/exercises/math/percent/populationEffectifFromSubPopulation.js +3 -3
  767. package/lib/exercises/math/percent/subPopulationEffectifFromPercent.d.ts.map +1 -1
  768. package/lib/exercises/math/percent/subPopulationEffectifFromPercent.js +3 -3
  769. package/lib/exercises/math/percent/ttcToHT.d.ts.map +1 -1
  770. package/lib/exercises/math/percent/ttcToHT.js +3 -3
  771. package/lib/exercises/math/percent/valuePercent.d.ts.map +1 -1
  772. package/lib/exercises/math/percent/valuePercent.js +5 -4
  773. package/lib/exercises/math/powers/calculateNegativePower.d.ts.map +1 -1
  774. package/lib/exercises/math/powers/calculateNegativePower.js +3 -3
  775. package/lib/exercises/math/powers/calculatePower.d.ts.map +1 -1
  776. package/lib/exercises/math/powers/calculatePower.js +3 -3
  777. package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
  778. package/lib/exercises/math/powers/decimalToScientific.js +3 -3
  779. package/lib/exercises/math/powers/powerDefinition.d.ts.map +1 -1
  780. package/lib/exercises/math/powers/powerDefinition.js +3 -3
  781. package/lib/exercises/math/powers/powersDivision.d.ts.map +1 -1
  782. package/lib/exercises/math/powers/powersDivision.js +3 -3
  783. package/lib/exercises/math/powers/powersMixOperations.d.ts.map +1 -1
  784. package/lib/exercises/math/powers/powersMixOperations.js +3 -3
  785. package/lib/exercises/math/powers/powersOfTenMixOperations.d.ts.map +1 -1
  786. package/lib/exercises/math/powers/powersOfTenMixOperations.js +3 -3
  787. package/lib/exercises/math/powers/powersOfTenToDecimal.d.ts.map +1 -1
  788. package/lib/exercises/math/powers/powersOfTenToDecimal.js +3 -3
  789. package/lib/exercises/math/powers/powersPower.d.ts.map +1 -1
  790. package/lib/exercises/math/powers/powersPower.js +3 -3
  791. package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
  792. package/lib/exercises/math/powers/powersProduct.js +3 -3
  793. package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -1
  794. package/lib/exercises/math/powers/scientificToDecimal.js +3 -3
  795. package/lib/exercises/math/primitive/constantPrimitive.d.ts.map +1 -1
  796. package/lib/exercises/math/primitive/constantPrimitive.js +3 -3
  797. package/lib/exercises/math/primitive/expUPrimitive.d.ts.map +1 -1
  798. package/lib/exercises/math/primitive/expUPrimitive.js +3 -3
  799. package/lib/exercises/math/primitive/exponentialPrimitive.d.ts.map +1 -1
  800. package/lib/exercises/math/primitive/exponentialPrimitive.js +3 -3
  801. package/lib/exercises/math/primitive/kexpUPrimitive.d.ts.map +1 -1
  802. package/lib/exercises/math/primitive/kexpUPrimitive.js +3 -3
  803. package/lib/exercises/math/primitive/klogUPrimitive.d.ts.map +1 -1
  804. package/lib/exercises/math/primitive/klogUPrimitive.js +3 -3
  805. package/lib/exercises/math/primitive/logarithmePrimitive.js +1 -1
  806. package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -1
  807. package/lib/exercises/math/primitive/polynomialPrimitive.js +3 -3
  808. package/lib/exercises/math/primitive/sinCosPrimitive.d.ts.map +1 -1
  809. package/lib/exercises/math/primitive/sinCosPrimitive.js +3 -3
  810. package/lib/exercises/math/primitive/sinUCosUPrimitive.d.ts.map +1 -1
  811. package/lib/exercises/math/primitive/sinUCosUPrimitive.js +3 -3
  812. package/lib/exercises/math/probaStat/basicProbas/ballsBasicProbas.d.ts.map +1 -1
  813. package/lib/exercises/math/probaStat/basicProbas/ballsBasicProbas.js +3 -3
  814. package/lib/exercises/math/probaStat/basicProbas/cardBasicProbas.d.ts.map +1 -1
  815. package/lib/exercises/math/probaStat/basicProbas/cardBasicProbas.js +3 -3
  816. package/lib/exercises/math/probaStat/basicProbas/diceBasicProbas.d.ts.map +1 -1
  817. package/lib/exercises/math/probaStat/basicProbas/diceBasicProbas.js +3 -3
  818. package/lib/exercises/math/probaStat/basicProbas/getComplementaryProbability.d.ts.map +1 -1
  819. package/lib/exercises/math/probaStat/basicProbas/getComplementaryProbability.js +3 -3
  820. package/lib/exercises/math/probaStat/basicProbas/getMissingProbabilityValue.d.ts.map +1 -1
  821. package/lib/exercises/math/probaStat/basicProbas/getMissingProbabilityValue.js +3 -3
  822. package/lib/exercises/math/probaStat/basicProbas/mostLeastProbable.d.ts.map +1 -1
  823. package/lib/exercises/math/probaStat/basicProbas/mostLeastProbable.js +4 -0
  824. package/lib/exercises/math/probaStat/basicProbas/rouletteProbas.d.ts.map +1 -1
  825. package/lib/exercises/math/probaStat/basicProbas/rouletteProbas.js +3 -3
  826. package/lib/exercises/math/probaStat/basicStats/calculateFrequency.d.ts.map +1 -1
  827. package/lib/exercises/math/probaStat/basicStats/calculateFrequency.js +3 -3
  828. package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.d.ts.map +1 -1
  829. package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.js +3 -3
  830. package/lib/exercises/math/probaStat/binomial/binomialInequation.d.ts.map +1 -1
  831. package/lib/exercises/math/probaStat/binomial/binomialInequation.js +17 -13
  832. package/lib/exercises/math/probaStat/binomial/calculateProbaOfBinomialDistribution.d.ts.map +1 -1
  833. package/lib/exercises/math/probaStat/binomial/calculateProbaOfBinomialDistribution.js +7 -3
  834. package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.d.ts.map +1 -1
  835. package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.js +3 -3
  836. package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.d.ts.map +1 -1
  837. package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.js +3 -3
  838. package/lib/exercises/math/probaStat/conditionalProbability.d.ts.map +1 -1
  839. package/lib/exercises/math/probaStat/conditionalProbability.js +3 -3
  840. package/lib/exercises/math/probaStat/events/describeEvent.d.ts.map +1 -1
  841. package/lib/exercises/math/probaStat/events/describeEvent.js +3 -3
  842. package/lib/exercises/math/probaStat/events/eventNotation.d.ts.map +1 -1
  843. package/lib/exercises/math/probaStat/events/eventNotation.js +3 -3
  844. package/lib/exercises/math/probaStat/independancy.d.ts.map +1 -1
  845. package/lib/exercises/math/probaStat/independancy.js +4 -0
  846. package/lib/exercises/math/probaStat/issuesCountingForCards.d.ts.map +1 -1
  847. package/lib/exercises/math/probaStat/issuesCountingForCards.js +3 -3
  848. package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts.map +1 -1
  849. package/lib/exercises/math/probaStat/probaFromTableNoContext.js +3 -3
  850. package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts.map +1 -1
  851. package/lib/exercises/math/probaStat/probaFromTableWithContext.js +3 -3
  852. package/lib/exercises/math/probaStat/probabilityTree.d.ts.map +1 -1
  853. package/lib/exercises/math/probaStat/probabilityTree.js +3 -3
  854. package/lib/exercises/math/probaStat/randomVariable/randomVariableAverage.d.ts.map +1 -1
  855. package/lib/exercises/math/probaStat/randomVariable/randomVariableAverage.js +3 -3
  856. package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.d.ts.map +1 -1
  857. package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.js +3 -3
  858. package/lib/exercises/math/probaStat/randomVariable/randomVariableVariance.d.ts.map +1 -1
  859. package/lib/exercises/math/probaStat/randomVariable/randomVariableVariance.js +3 -3
  860. package/lib/exercises/math/probaStat/stats1var/averageList.d.ts.map +1 -1
  861. package/lib/exercises/math/probaStat/stats1var/averageList.js +3 -3
  862. package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -1
  863. package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +7 -3
  864. package/lib/exercises/math/probaStat/stats1var/calculateMeanFromFrequencies.d.ts.map +1 -1
  865. package/lib/exercises/math/probaStat/stats1var/calculateMeanFromFrequencies.js +3 -3
  866. package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.d.ts.map +1 -1
  867. package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.js +4 -0
  868. package/lib/exercises/math/probaStat/stats1var/etendueList.d.ts.map +1 -1
  869. package/lib/exercises/math/probaStat/stats1var/etendueList.js +3 -3
  870. package/lib/exercises/math/probaStat/stats1var/getQuartileProportionQuestion.d.ts.map +1 -1
  871. package/lib/exercises/math/probaStat/stats1var/getQuartileProportionQuestion.js +4 -0
  872. package/lib/exercises/math/probaStat/stats1var/interquartilesList.d.ts.map +1 -1
  873. package/lib/exercises/math/probaStat/stats1var/interquartilesList.js +3 -3
  874. package/lib/exercises/math/probaStat/stats1var/interquartilesTable.d.ts.map +1 -1
  875. package/lib/exercises/math/probaStat/stats1var/interquartilesTable.js +3 -3
  876. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -1
  877. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +3 -3
  878. package/lib/exercises/math/probaStat/stats1var/medianWithList.d.ts.map +1 -1
  879. package/lib/exercises/math/probaStat/stats1var/medianWithList.js +3 -3
  880. package/lib/exercises/math/probaStat/stats1var/medianWithTable.d.ts.map +1 -1
  881. package/lib/exercises/math/probaStat/stats1var/medianWithTable.js +7 -3
  882. package/lib/exercises/math/probaStat/stats1var/quartiles.d.ts.map +1 -1
  883. package/lib/exercises/math/probaStat/stats1var/quartiles.js +7 -3
  884. package/lib/exercises/math/probaStat/stats1var/quartilesList.d.ts.map +1 -1
  885. package/lib/exercises/math/probaStat/stats1var/quartilesList.js +3 -3
  886. package/lib/exercises/math/probaStat/stats1var/standardDeviationList.d.ts.map +1 -1
  887. package/lib/exercises/math/probaStat/stats1var/standardDeviationList.js +3 -3
  888. package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.d.ts.map +1 -1
  889. package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.js +3 -3
  890. package/lib/exercises/math/probaStat/stats1var/varianceList.d.ts.map +1 -1
  891. package/lib/exercises/math/probaStat/stats1var/varianceList.js +3 -3
  892. package/lib/exercises/math/probaStat/stats1var/varianceTable.d.ts.map +1 -1
  893. package/lib/exercises/math/probaStat/stats1var/varianceTable.js +3 -3
  894. package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts.map +1 -1
  895. package/lib/exercises/math/probaStat/stats2var/averagePoint.js +3 -3
  896. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.d.ts.map +1 -1
  897. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.js +3 -3
  898. package/lib/exercises/math/probaStat/unionIntersectionProba.d.ts.map +1 -1
  899. package/lib/exercises/math/probaStat/unionIntersectionProba.js +3 -3
  900. package/lib/exercises/math/python/conditionIf.d.ts.map +1 -1
  901. package/lib/exercises/math/python/conditionIf.js +3 -3
  902. package/lib/exercises/math/python/conditionIfElifElse.d.ts.map +1 -1
  903. package/lib/exercises/math/python/conditionIfElifElse.js +7 -3
  904. package/lib/exercises/math/python/conditionIfElse.d.ts.map +1 -1
  905. package/lib/exercises/math/python/conditionIfElse.js +3 -3
  906. package/lib/exercises/math/python/forLoop.d.ts.map +1 -1
  907. package/lib/exercises/math/python/forLoop.js +3 -3
  908. package/lib/exercises/math/python/inOutCalcul.d.ts.map +1 -1
  909. package/lib/exercises/math/python/inOutCalcul.js +7 -3
  910. package/lib/exercises/math/python/pyForLoop1Exercise.d.ts.map +1 -1
  911. package/lib/exercises/math/python/pyForLoop1Exercise.js +3 -3
  912. package/lib/exercises/math/python/pyIfElseCondition.d.ts.map +1 -1
  913. package/lib/exercises/math/python/pyIfElseCondition.js +3 -3
  914. package/lib/exercises/math/python/pyNestedForLoopExercise.d.ts.map +1 -1
  915. package/lib/exercises/math/python/pyNestedForLoopExercise.js +3 -3
  916. package/lib/exercises/math/python/pyWhileLoop1Exercise.d.ts.map +1 -1
  917. package/lib/exercises/math/python/pyWhileLoop1Exercise.js +11 -3
  918. package/lib/exercises/math/python/pythonFunctionTrinom.d.ts.map +1 -1
  919. package/lib/exercises/math/python/pythonFunctionTrinom.js +3 -3
  920. package/lib/exercises/math/python/pythonRangeCompletion.d.ts.map +1 -1
  921. package/lib/exercises/math/python/pythonRangeCompletion.js +3 -3
  922. package/lib/exercises/math/python/whileLoop.d.ts.map +1 -1
  923. package/lib/exercises/math/python/whileLoop.js +11 -3
  924. package/lib/exercises/math/python/whileLoopCount.d.ts.map +1 -1
  925. package/lib/exercises/math/python/whileLoopCount.js +11 -3
  926. package/lib/exercises/math/sampling/confidenceInterval.d.ts.map +1 -1
  927. package/lib/exercises/math/sampling/confidenceInterval.js +3 -3
  928. package/lib/exercises/math/sampling/fluctuationInterval.d.ts.map +1 -1
  929. package/lib/exercises/math/sampling/fluctuationInterval.js +3 -3
  930. package/lib/exercises/math/sampling/getSampleCountAndSize.d.ts.map +1 -1
  931. package/lib/exercises/math/sampling/getSampleCountAndSize.js +3 -3
  932. package/lib/exercises/math/sampling/samplingFrequency.d.ts.map +1 -1
  933. package/lib/exercises/math/sampling/samplingFrequency.js +3 -3
  934. package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts.map +1 -1
  935. package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +3 -3
  936. package/lib/exercises/math/sequences/arithmetic/arithmeticFindAntecedent.d.ts.map +1 -1
  937. package/lib/exercises/math/sequences/arithmetic/arithmeticFindAntecedent.js +3 -3
  938. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -1
  939. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +3 -3
  940. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.d.ts.map +1 -1
  941. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.js +3 -3
  942. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -1
  943. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.js +3 -3
  944. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -1
  945. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.js +3 -3
  946. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.d.ts.map +1 -1
  947. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.js +3 -3
  948. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts.map +1 -1
  949. package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.js +3 -3
  950. package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.d.ts.map +1 -1
  951. package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.js +3 -3
  952. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +1 -1
  953. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.js +3 -3
  954. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -1
  955. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +3 -3
  956. package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -1
  957. package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.js +3 -3
  958. package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.d.ts.map +1 -1
  959. package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.js +3 -3
  960. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.d.ts.map +1 -1
  961. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.js +3 -3
  962. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.d.ts.map +1 -1
  963. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.js +3 -3
  964. package/lib/exercises/math/sequences/explicitFormulaUsage.d.ts.map +1 -1
  965. package/lib/exercises/math/sequences/explicitFormulaUsage.js +3 -3
  966. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.d.ts.map +1 -1
  967. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +3 -3
  968. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -1
  969. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +3 -3
  970. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.d.ts.map +1 -1
  971. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.js +3 -3
  972. package/lib/exercises/math/sequences/geometric/geometricFindReason.d.ts.map +1 -1
  973. package/lib/exercises/math/sequences/geometric/geometricFindReason.js +3 -3
  974. package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts.map +1 -1
  975. package/lib/exercises/math/sequences/geometric/geometricFindTerm.js +3 -3
  976. package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.d.ts.map +1 -1
  977. package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.js +3 -3
  978. package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.d.ts.map +1 -1
  979. package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.js +3 -3
  980. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.d.ts.map +1 -1
  981. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.js +3 -3
  982. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts.map +1 -1
  983. package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.js +3 -3
  984. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +1 -1
  985. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.js +3 -3
  986. package/lib/exercises/math/sequences/recurrenceFormulaUsage.d.ts.map +1 -1
  987. package/lib/exercises/math/sequences/recurrenceFormulaUsage.js +3 -3
  988. package/lib/exercises/math/sequences/sequenceEvaluation.d.ts.map +1 -1
  989. package/lib/exercises/math/sequences/sequenceEvaluation.js +3 -3
  990. package/lib/exercises/math/sequences/sequencePlot.d.ts.map +1 -1
  991. package/lib/exercises/math/sequences/sequencePlot.js +3 -3
  992. package/lib/exercises/math/sets/intervals/intervalOnGraph.js +1 -1
  993. package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts.map +1 -1
  994. package/lib/exercises/math/sets/intervals/intervalsIntersection.js +3 -3
  995. package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts.map +1 -1
  996. package/lib/exercises/math/sets/intervals/intervalsUnion.js +3 -3
  997. package/lib/exercises/math/sets/setBelonging.d.ts.map +1 -1
  998. package/lib/exercises/math/sets/setBelonging.js +3 -3
  999. package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.d.ts.map +1 -1
  1000. package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.js +3 -3
  1001. package/lib/exercises/math/spaceGeometry/planes/isPointOnCartesianPlane.js +1 -1
  1002. package/lib/exercises/math/spaceGeometry/relativePositions/linesRelativePositions.js +1 -1
  1003. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -1
  1004. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +3 -3
  1005. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -1
  1006. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.js +3 -3
  1007. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -1
  1008. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +3 -3
  1009. package/lib/exercises/math/squareRoots/simpifySquareRoot.d.ts.map +1 -1
  1010. package/lib/exercises/math/squareRoots/simpifySquareRoot.js +3 -3
  1011. package/lib/exercises/math/squareRoots/squareRootEquation.d.ts.map +1 -1
  1012. package/lib/exercises/math/squareRoots/squareRootEquation.js +3 -3
  1013. package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts.map +1 -1
  1014. package/lib/exercises/math/squareRoots/squareRootIdentities.js +11 -7
  1015. package/lib/exercises/math/squareRoots/squareRootsDistributivity.d.ts.map +1 -1
  1016. package/lib/exercises/math/squareRoots/squareRootsDistributivity.js +3 -3
  1017. package/lib/exercises/math/squareRoots/squareRootsFractions.d.ts.map +1 -1
  1018. package/lib/exercises/math/squareRoots/squareRootsFractions.js +3 -3
  1019. package/lib/exercises/math/squareRoots/squareRootsProducts.d.ts.map +1 -1
  1020. package/lib/exercises/math/squareRoots/squareRootsProducts.js +3 -3
  1021. package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -1
  1022. package/lib/exercises/math/squareRoots/squareRootsSum.js +3 -3
  1023. package/lib/exercises/math/squareRoots/squareRootsToSquare.d.ts.map +1 -1
  1024. package/lib/exercises/math/squareRoots/squareRootsToSquare.js +3 -3
  1025. package/lib/exercises/math/trigonometry/arcLength.d.ts.map +1 -1
  1026. package/lib/exercises/math/trigonometry/arcLength.js +3 -3
  1027. package/lib/exercises/math/trigonometry/arcValue.d.ts.map +1 -1
  1028. package/lib/exercises/math/trigonometry/arcValue.js +13 -3
  1029. package/lib/exercises/math/trigonometry/associatePoint.d.ts.map +1 -1
  1030. package/lib/exercises/math/trigonometry/associatePoint.js +3 -3
  1031. package/lib/exercises/math/trigonometry/basicEquationCos.d.ts.map +1 -1
  1032. package/lib/exercises/math/trigonometry/basicEquationCos.js +3 -3
  1033. package/lib/exercises/math/trigonometry/basicEquationSin.d.ts.map +1 -1
  1034. package/lib/exercises/math/trigonometry/basicEquationSin.js +3 -3
  1035. package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.d.ts.map +1 -1
  1036. package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.js +3 -3
  1037. package/lib/exercises/math/trigonometry/calculateCosSinAndTan.d.ts.map +1 -1
  1038. package/lib/exercises/math/trigonometry/calculateCosSinAndTan.js +3 -3
  1039. package/lib/exercises/math/trigonometry/degreeToRadians.d.ts.map +1 -1
  1040. package/lib/exercises/math/trigonometry/degreeToRadians.js +3 -3
  1041. package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.d.ts.map +1 -1
  1042. package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.js +3 -3
  1043. package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.d.ts.map +1 -1
  1044. package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.js +3 -3
  1045. package/lib/exercises/math/trigonometry/remarkableValues.d.ts.map +1 -1
  1046. package/lib/exercises/math/trigonometry/remarkableValues.js +3 -3
  1047. package/lib/exercises/math/trigonometry/trigoFundamentalEquation.d.ts.map +1 -1
  1048. package/lib/exercises/math/trigonometry/trigoFundamentalEquation.js +3 -3
  1049. package/lib/exercises/math/trigonometry/trigonometry.d.ts.map +1 -1
  1050. package/lib/exercises/math/trigonometry/trigonometry.js +3 -3
  1051. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -1
  1052. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +3 -3
  1053. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
  1054. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +3 -3
  1055. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.d.ts.map +1 -1
  1056. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.js +3 -3
  1057. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts.map +1 -1
  1058. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.js +3 -3
  1059. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.d.ts.map +1 -1
  1060. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.js +3 -3
  1061. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
  1062. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.js +3 -3
  1063. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts.map +1 -1
  1064. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +3 -3
  1065. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts.map +1 -1
  1066. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.js +3 -3
  1067. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.d.ts.map +1 -1
  1068. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.js +3 -3
  1069. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.d.ts.map +1 -1
  1070. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.js +3 -3
  1071. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -1
  1072. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +3 -3
  1073. package/lib/exercises/pc/chemicalElements/weightPercent.d.ts.map +1 -1
  1074. package/lib/exercises/pc/chemicalElements/weightPercent.js +3 -3
  1075. package/lib/exercises/pc/chemicalReactions/calculateCombustionEnergy.d.ts.map +1 -1
  1076. package/lib/exercises/pc/chemicalReactions/calculateCombustionEnergy.js +3 -3
  1077. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.d.ts.map +1 -1
  1078. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +3 -3
  1079. package/lib/exercises/pc/chemicalReactions/chemicalEquations.d.ts.map +1 -1
  1080. package/lib/exercises/pc/chemicalReactions/chemicalEquations.js +3 -3
  1081. package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.d.ts.map +1 -1
  1082. package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.js +3 -3
  1083. package/lib/exercises/pc/chemicalReactions/identifyLimitingReagent.d.ts.map +1 -1
  1084. package/lib/exercises/pc/chemicalReactions/identifyLimitingReagent.js +4 -0
  1085. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -1
  1086. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +3 -3
  1087. package/lib/exercises/pc/delution.d.ts.map +1 -1
  1088. package/lib/exercises/pc/delution.js +3 -3
  1089. package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
  1090. package/lib/exercises/pc/dosage/beerLambertRandomValue.js +3 -3
  1091. package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -1
  1092. package/lib/exercises/pc/dosage/concentrationCalculation.js +3 -3
  1093. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts.map +1 -1
  1094. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +3 -3
  1095. package/lib/exercises/pc/electricity/calculateIntensity.d.ts.map +1 -1
  1096. package/lib/exercises/pc/electricity/calculateIntensity.js +3 -3
  1097. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.d.ts.map +1 -1
  1098. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.js +3 -3
  1099. package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -1
  1100. package/lib/exercises/pc/electricity/calculateVoltage.js +3 -3
  1101. package/lib/exercises/pc/electricity/electricChargeFromIntensity.d.ts.map +1 -1
  1102. package/lib/exercises/pc/electricity/electricChargeFromIntensity.js +3 -3
  1103. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -1
  1104. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +3 -3
  1105. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts.map +1 -1
  1106. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.js +3 -3
  1107. package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -1
  1108. package/lib/exercises/pc/electricity/ohmLaw.js +3 -3
  1109. package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -1
  1110. package/lib/exercises/pc/energy/calorificValue.js +3 -3
  1111. package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts.map +1 -1
  1112. package/lib/exercises/pc/energy/combustionTransferEnergy.js +3 -3
  1113. package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -1
  1114. package/lib/exercises/pc/energy/combustionTransferEnergy2.js +3 -3
  1115. package/lib/exercises/pc/energy/efficencyOfConverter.d.ts.map +1 -1
  1116. package/lib/exercises/pc/energy/efficencyOfConverter.js +3 -3
  1117. package/lib/exercises/pc/energy/efficiencyCalculation.d.ts.map +1 -1
  1118. package/lib/exercises/pc/energy/efficiencyCalculation.js +3 -3
  1119. package/lib/exercises/pc/energy/energyTransfer.d.ts.map +1 -1
  1120. package/lib/exercises/pc/energy/energyTransfer.js +3 -3
  1121. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts.map +1 -1
  1122. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +3 -3
  1123. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts.map +1 -1
  1124. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +3 -3
  1125. package/lib/exercises/pc/fluids/mariotte.d.ts.map +1 -1
  1126. package/lib/exercises/pc/fluids/mariotte.js +3 -3
  1127. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts.map +1 -1
  1128. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +3 -3
  1129. package/lib/exercises/pc/forces/electroStaticForce.d.ts.map +1 -1
  1130. package/lib/exercises/pc/forces/electroStaticForce.js +3 -3
  1131. package/lib/exercises/pc/forces/forceWork.d.ts.map +1 -1
  1132. package/lib/exercises/pc/forces/forceWork.js +3 -3
  1133. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
  1134. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +3 -3
  1135. package/lib/exercises/pc/forces/gravitationalAttractionValue.d.ts.map +1 -1
  1136. package/lib/exercises/pc/forces/gravitationalAttractionValue.js +3 -3
  1137. package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -1
  1138. package/lib/exercises/pc/forces/gravitationalForcePlanets.js +3 -3
  1139. package/lib/exercises/pc/forces/pressingForce.d.ts.map +1 -1
  1140. package/lib/exercises/pc/forces/pressingForce.js +3 -3
  1141. package/lib/exercises/pc/forces/pressureDifferenceCalculation.js +1 -1
  1142. package/lib/exercises/pc/formulaFromComposition.d.ts.map +1 -1
  1143. package/lib/exercises/pc/formulaFromComposition.js +3 -3
  1144. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts.map +1 -1
  1145. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.js +3 -3
  1146. package/lib/exercises/pc/kineticEnergy.d.ts.map +1 -1
  1147. package/lib/exercises/pc/kineticEnergy.js +3 -3
  1148. package/lib/exercises/pc/math/proportionnalityCoeffFromLine.d.ts.map +1 -1
  1149. package/lib/exercises/pc/math/proportionnalityCoeffFromLine.js +3 -3
  1150. package/lib/exercises/pc/mecanicalWaves/elongationReading.d.ts.map +1 -1
  1151. package/lib/exercises/pc/mecanicalWaves/elongationReading.js +3 -3
  1152. package/lib/exercises/pc/molarQuantity.d.ts.map +1 -1
  1153. package/lib/exercises/pc/molarQuantity.js +3 -3
  1154. package/lib/exercises/pc/mole/concentrationReading.d.ts.map +1 -1
  1155. package/lib/exercises/pc/mole/concentrationReading.js +3 -3
  1156. package/lib/exercises/pc/mole/molFromMass.d.ts.map +1 -1
  1157. package/lib/exercises/pc/mole/molFromMass.js +3 -3
  1158. package/lib/exercises/pc/mole/molFromMolarMass.d.ts.map +1 -1
  1159. package/lib/exercises/pc/mole/molFromMolarMass.js +3 -3
  1160. package/lib/exercises/pc/mole/molarMass.d.ts.map +1 -1
  1161. package/lib/exercises/pc/mole/molarMass.js +3 -3
  1162. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts.map +1 -1
  1163. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.js +3 -3
  1164. package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts.map +1 -1
  1165. package/lib/exercises/pc/mole/moleculeCountFromMol.js +3 -3
  1166. package/lib/exercises/pc/moleculeFormula.d.ts.map +1 -1
  1167. package/lib/exercises/pc/moleculeFormula.js +3 -3
  1168. package/lib/exercises/pc/moleculeNomenclature.d.ts.map +1 -1
  1169. package/lib/exercises/pc/moleculeNomenclature.js +3 -3
  1170. package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -1
  1171. package/lib/exercises/pc/motion/averageSpeed.js +3 -3
  1172. package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -1
  1173. package/lib/exercises/pc/motion/averageSpeedCalculation.js +3 -3
  1174. package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts.map +1 -1
  1175. package/lib/exercises/pc/motion/characteristicsOfVelocityVector.js +3 -3
  1176. package/lib/exercises/pc/motion/recognizeFreeFall.js +1 -1
  1177. package/lib/exercises/pc/pH.d.ts.map +1 -1
  1178. package/lib/exercises/pc/pH.js +3 -3
  1179. package/lib/exercises/pc/perceivedFrequency.d.ts.map +1 -1
  1180. package/lib/exercises/pc/perceivedFrequency.js +3 -3
  1181. package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
  1182. package/lib/exercises/pc/potentialEnergy.js +3 -3
  1183. package/lib/exercises/pc/power/calculatePowerOfLight.d.ts.map +1 -1
  1184. package/lib/exercises/pc/power/calculatePowerOfLight.js +3 -3
  1185. package/lib/exercises/pc/snellDescartes.d.ts.map +1 -1
  1186. package/lib/exercises/pc/snellDescartes.js +3 -3
  1187. package/lib/exercises/pc/sound/findPeriodFromGraph.d.ts.map +1 -1
  1188. package/lib/exercises/pc/sound/findPeriodFromGraph.js +3 -3
  1189. package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts.map +1 -1
  1190. package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.js +3 -3
  1191. package/lib/exercises/pc/sound/findSoundFrequencyFromPeriod.d.ts.map +1 -1
  1192. package/lib/exercises/pc/sound/findSoundFrequencyFromPeriod.js +3 -3
  1193. package/lib/exercises/pc/sound/findSoundPeriodFromFrequency.d.ts.map +1 -1
  1194. package/lib/exercises/pc/sound/findSoundPeriodFromFrequency.js +3 -3
  1195. package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
  1196. package/lib/exercises/pc/spectral/spectralEnergy.js +3 -3
  1197. package/lib/exercises/pc/waves/findDistanceFromEarth.d.ts.map +1 -1
  1198. package/lib/exercises/pc/waves/findDistanceFromEarth.js +3 -3
  1199. package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -1
  1200. package/lib/exercises/pc/waves/lightDistanceConversion.js +3 -3
  1201. package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
  1202. package/lib/exercises/pc/waves/periodicWaveCelerity.js +3 -3
  1203. package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -1
  1204. package/lib/exercises/pc/weight/calculateWeight.js +3 -3
  1205. package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
  1206. package/lib/exercises/pc/weight/weightOnTheMoon.js +9 -3
  1207. package/lib/geogebra/parsers/geogebraParser.d.ts.map +1 -1
  1208. package/lib/geogebra/parsers/geogebraParser.js +4 -0
  1209. package/lib/math/complex/complex.d.ts.map +1 -1
  1210. package/lib/math/complex/complex.js +8 -0
  1211. package/lib/math/geometry/point.d.ts.map +1 -1
  1212. package/lib/math/geometry/point.js +4 -0
  1213. package/lib/math/geometry/spacePoint.d.ts.map +1 -1
  1214. package/lib/math/geometry/spacePoint.js +4 -0
  1215. package/lib/math/geometry/spaceVector.d.ts.map +1 -1
  1216. package/lib/math/geometry/spaceVector.js +8 -0
  1217. package/lib/math/geometry/triangles/isoceleTriangle.d.ts.map +1 -1
  1218. package/lib/math/geometry/triangles/isoceleTriangle.js +4 -0
  1219. package/lib/math/geometry/triangles/triangle.d.ts.map +1 -1
  1220. package/lib/math/geometry/triangles/triangle.js +8 -0
  1221. package/lib/math/numbers/integer/integer.d.ts.map +1 -1
  1222. package/lib/math/numbers/integer/integer.js +8 -0
  1223. package/lib/math/numbers/nombre.d.ts.map +1 -1
  1224. package/lib/math/numbers/nombre.js +17 -0
  1225. package/lib/math/numbers/reals/real.d.ts.map +1 -1
  1226. package/lib/math/numbers/reals/real.js +4 -0
  1227. package/lib/math/polynomials/affine.d.ts.map +1 -1
  1228. package/lib/math/polynomials/affine.js +4 -0
  1229. package/lib/math/probability/randomVariable.d.ts.map +1 -1
  1230. package/lib/math/probability/randomVariable.js +4 -0
  1231. package/lib/math/utils/arithmetic/primeFactors.d.ts.map +1 -1
  1232. package/lib/math/utils/arithmetic/primeFactors.js +4 -0
  1233. package/lib/math/utils/decimals/decimalPartLengthOf.d.ts.map +1 -1
  1234. package/lib/math/utils/decimals/decimalPartLengthOf.js +6 -1
  1235. package/lib/math/utils/random/randTupleInt.d.ts.map +1 -1
  1236. package/lib/math/utils/random/randTupleInt.js +12 -0
  1237. package/lib/math/utils/random/randfloat.d.ts.map +1 -1
  1238. package/lib/math/utils/random/randfloat.js +8 -0
  1239. package/lib/math/utils/random/randint.d.ts.map +1 -1
  1240. package/lib/math/utils/random/randint.js +4 -0
  1241. package/lib/math/utils/stats/generateAffineCloud.d.ts.map +1 -1
  1242. package/lib/math/utils/stats/generateAffineCloud.js +8 -0
  1243. package/lib/pc/constants/molecularChemistry/reaction.d.ts.map +1 -1
  1244. package/lib/pc/constants/molecularChemistry/reaction.js +4 -0
  1245. package/lib/tests/megaExosTest.js +1 -1
  1246. package/lib/tests/pdfs/mdCodeToLatex.d.ts.map +1 -1
  1247. package/lib/tests/pdfs/mdCodeToLatex.js +8 -0
  1248. package/lib/tests/pdfs/mdTableToLatexTabular.d.ts.map +1 -1
  1249. package/lib/tests/pdfs/mdTableToLatexTabular.js +4 -0
  1250. package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
  1251. package/lib/tree/nodes/operators/fractionNode.js +12 -2
  1252. package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
  1253. package/lib/tree/nodes/sets/intervalNode.js +8 -0
  1254. package/lib/tree/parsers/latexParser.js +4 -0
  1255. package/lib/utils/alea/probaLawFlip.d.ts.map +1 -1
  1256. package/lib/utils/alea/probaLawFlip.js +4 -0
  1257. package/lib/utils/doWhile.d.ts.map +1 -1
  1258. package/lib/utils/doWhile.js +4 -0
  1259. package/lib/utils/strings/randomLetter.d.ts.map +1 -1
  1260. package/lib/utils/strings/randomLetter.js +4 -0
  1261. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  const getInstruction = (identifiers) => {
@@ -35,10 +35,10 @@ const getPropositions = (n, { answer, l1, l2 }) => {
35
35
  const propositions = [];
36
36
  addValidProp(propositions, answer);
37
37
  generatePropositions(l1, l2).forEach((value) => tryToAddWrongProp(propositions, value + ""));
38
- while (propositions.length < n) {
38
+ propWhile(propositions, n, () => {
39
39
  const random = randint(+answer - Math.min(5, +answer - 1), +answer + 6, [+answer]) + "";
40
40
  tryToAddWrongProp(propositions, random);
41
- }
41
+ });
42
42
  return shuffleProps(propositions, n);
43
43
  };
44
44
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"calculateIntensityInSerieOrParallel.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/calculateIntensityInSerieOrParallel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA4HF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,WAAW,CAYrE,CAAC"}
1
+ {"version":3,"file":"calculateIntensityInSerieOrParallel.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/calculateIntensityInSerieOrParallel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA4HF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,WAAW,CAYrE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { random } from "../../../utils/alea/random.js";
@@ -38,10 +38,10 @@ const getPropositions = (n, { answer, isAsking, circuit, l1, l2 }) => {
38
38
  const propositions = [];
39
39
  addValidProp(propositions, answer);
40
40
  generatePropositions(l1, l2, isAsking, circuit).forEach((value) => tryToAddWrongProp(propositions, value + ""));
41
- while (propositions.length < n) {
41
+ propWhile(propositions, n, () => {
42
42
  const random = randint(+answer - Math.min(5, +answer - 1), +answer + 6, [+answer]) + "";
43
43
  tryToAddWrongProp(propositions, random);
44
- }
44
+ });
45
45
  return shuffleProps(propositions, n);
46
46
  };
47
47
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"calculateVoltage.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/calculateVoltage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAiLF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
1
+ {"version":3,"file":"calculateVoltage.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/calculateVoltage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAiLF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAalD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randfloat } from "../../../math/utils/random/randfloat.js";
4
4
  import { randint } from "../../../math/utils/random/randint.js";
@@ -121,10 +121,10 @@ const getPropositions = (n, { answer, E, I, R, r, isAsking }) => {
121
121
  const correctAns = getAnswer({ E, I, R, r, isAsking }).unfrenchify();
122
122
  addValidProp(propositions, answer);
123
123
  generatePropositions(E, I, r, R, isAsking).forEach((value) => tryToAddWrongProp(propositions, value));
124
- while (propositions.length < n) {
124
+ propWhile(propositions, n, () => {
125
125
  const random = randint(correctAns - 10, correctAns + 11, [correctAns]);
126
126
  tryToAddWrongProp(propositions, random.frenchify());
127
- }
127
+ });
128
128
  return shuffleProps(propositions, n);
129
129
  };
130
130
  const isAnswerValid = (ans, { answer, isAsking, E, I, r, R }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"electricChargeFromIntensity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/electricChargeFromIntensity.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAsE1D,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAY7D,CAAC"}
1
+ {"version":3,"file":"electricChargeFromIntensity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/electricChargeFromIntensity.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAsE1D,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAY7D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { roundSignificant } from "../../../math/utils/round.js";
2
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
3
3
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
4
4
  import { randint } from "../../../math/utils/random/randint.js";
5
5
  import { randfloat } from "../../../math/utils/random/randfloat.js";
@@ -39,9 +39,9 @@ const getPropositions = (n, { answer, intensity, seconds }) => {
39
39
  tryToAddWrongProp(propositions, `${roundSignificant(firstDivision, 1)}`);
40
40
  tryToAddWrongProp(propositions, `${roundSignificant(secondDivision, 1)}`);
41
41
  tryToAddWrongProp(propositions, `${roundSignificant(electricCharge * 0.1, 1)}`);
42
- while (propositions.length < n) {
42
+ propWhile(propositions, n, () => {
43
43
  tryToAddWrongProp(propositions, `${randfloat(0, electricCharge, 1).frenchify()}`);
44
- }
44
+ });
45
45
  return shuffleProps(propositions, n);
46
46
  };
47
47
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"electricPowerOrEnergyCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/electricPowerOrEnergyCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAsHF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAalE,CAAC"}
1
+ {"version":3,"file":"electricPowerOrEnergyCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/electricPowerOrEnergyCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAsHF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAalE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { frenchify } from "../../../math/utils/latex/frenchify.js";
2
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
3
3
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
4
4
  import { round, roundSignificant } from "../../../math/utils/round.js";
5
5
  import { random } from "../../../utils/alea/random.js";
@@ -85,9 +85,9 @@ const getPropositions = (n, { answer, power, seconds, energy }) => {
85
85
  wrongAnswers.forEach((wrongAnswer) => {
86
86
  tryToAddWrongProp(propositions, wrongAnswer);
87
87
  });
88
- while (propositions.length < n) {
88
+ propWhile(propositions, n, () => {
89
89
  tryToAddWrongProp(propositions, randfloat(0.1, 5, 2).toTree().toTex());
90
- }
90
+ });
91
91
  return shuffleProps(propositions, n);
92
92
  };
93
93
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"kirchhoffVoltageLaw.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/kirchhoffVoltageLaw.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAgHF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAYrD,CAAC"}
1
+ {"version":3,"file":"kirchhoffVoltageLaw.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/kirchhoffVoltageLaw.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAgHF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAYrD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { random } from "../../../utils/alea/random.js";
@@ -24,12 +24,12 @@ const getPropositions = (n, { answer, isAsking, uAB, uDC, uED }) => {
24
24
  const propositions = [];
25
25
  addValidProp(propositions, answer);
26
26
  generateProposition(isAsking, uAB, uED, uDC).forEach((value) => tryToAddWrongProp(propositions, value + ""));
27
- while (propositions.length < n) {
27
+ propWhile(propositions, n, () => {
28
28
  const random = randint(+answer - Math.min(5, +answer), +answer + 6, [
29
29
  +answer,
30
30
  ]);
31
31
  tryToAddWrongProp(propositions, random + "");
32
- }
32
+ });
33
33
  return shuffleProps(propositions, n);
34
34
  };
35
35
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ohmLaw.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/ohmLaw.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAuMF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAYhD,CAAC"}
1
+ {"version":3,"file":"ohmLaw.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/electricity/ohmLaw.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAuMF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAYhD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { round } from "../../../math/utils/round.js";
4
4
  import { randfloat } from "../../../math/utils/random/randfloat.js";
@@ -133,9 +133,9 @@ const getPropositions = (n, { answer, voltage, current, resistance, target }) =>
133
133
  .toTree()
134
134
  .toTex());
135
135
  }
136
- while (propositions.length < n) {
136
+ propWhile(propositions, n, () => {
137
137
  tryToAddWrongProp(propositions, randfloat(10, 100, 2).toTree().toTex());
138
- }
138
+ });
139
139
  return shuffleProps(propositions, n);
140
140
  };
141
141
  const isAnswerValid = (ans, { targetValue }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"calorificValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/calorificValue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAgIF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
1
+ {"version":3,"file":"calorificValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/calorificValue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAgIF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAchD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { Measure } from "../../../pc/measure/measure.js";
@@ -67,10 +67,10 @@ const getPropositions = (n, { answer, pc, mass }) => {
67
67
  const propositions = [];
68
68
  addValidProp(propositions, answer);
69
69
  generatePropositions(pc, mass).forEach((value) => tryToAddWrongProp(propositions, value.toTex()));
70
- while (propositions.length < n) {
70
+ propWhile(propositions, n, () => {
71
71
  const random = new Measure(-randint(60, 91) * randint(2, 9, [mass]) * 1000, randint(-2, 3), EnergyUnit.J);
72
72
  tryToAddWrongProp(propositions, random.toTex());
73
- }
73
+ });
74
74
  return shuffleProps(propositions, n);
75
75
  };
76
76
  const isAnswerValid = (ans, { answer, pc, mass }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"combustionTransferEnergy.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAiIF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAa1D,CAAC"}
1
+ {"version":3,"file":"combustionTransferEnergy.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAiIF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAa1D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { Measure } from "../../../pc/measure/measure.js";
@@ -66,10 +66,10 @@ const getPropositions = (n, { answer, eComb, quantity }) => {
66
66
  const propositions = [];
67
67
  addValidProp(propositions, answer);
68
68
  generatePropositions(eComb, quantity).forEach((value) => tryToAddWrongProp(propositions, value.toTex()));
69
- while (propositions.length < n) {
69
+ propWhile(propositions, n, () => {
70
70
  const random = new Measure(-randint(60, 91) * randint(2, 9, [quantity]) * 1000, randint(-2, 3), EnergyUnit.J);
71
71
  tryToAddWrongProp(propositions, random.toTex());
72
- }
72
+ });
73
73
  return shuffleProps(propositions, n);
74
74
  };
75
75
  const isAnswerValid = (ans, { answer, eComb, quantity }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"combustionTransferEnergy2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAkPF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAc3D,CAAC"}
1
+ {"version":3,"file":"combustionTransferEnergy2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/combustionTransferEnergy2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAkPF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAc3D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, shuffleProps, tryToAddWrongProp, propWhile, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { Measure } from "../../../pc/measure/measure.js";
@@ -110,10 +110,10 @@ const getPropositions = (n, { answer, type, pc, mass, quantity, eComb }) => {
110
110
  const propositions = [];
111
111
  addValidProp(propositions, answer);
112
112
  generatePropositions(type, pc, mass, eComb, quantity).forEach((value) => tryToAddWrongProp(propositions, value.toTex()));
113
- while (propositions.length < n) {
113
+ propWhile(propositions, n, () => {
114
114
  const random = new Measure(-randint(60, 91) * randint(2, 9) * 1000, randint(-2, 3), EnergyUnit.J);
115
115
  tryToAddWrongProp(propositions, random.toTex());
116
- }
116
+ });
117
117
  return shuffleProps(propositions, n);
118
118
  };
119
119
  const isAnswerValid = (ans, { answer, type, pc, mass, eComb, quantity }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"efficencyOfConverter.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/efficencyOfConverter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAgGF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAatD,CAAC"}
1
+ {"version":3,"file":"efficencyOfConverter.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/efficencyOfConverter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAgGF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAatD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { Measure } from "../../../pc/measure/measure.js";
@@ -66,10 +66,10 @@ const getPropositions = (n, { answer, entry, out }) => {
66
66
  addValidProp(propositions, answer);
67
67
  generatePropositions(entry, out).forEach((value) => tryToAddWrongProp(propositions, value + ""));
68
68
  let random;
69
- while (propositions.length < n) {
69
+ propWhile(propositions, n, () => {
70
70
  random = randint(+answer - 10, +answer + 20, [+answer]);
71
71
  tryToAddWrongProp(propositions, random + "");
72
- }
72
+ });
73
73
  return shuffleProps(propositions, n);
74
74
  };
75
75
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"efficiencyCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/efficiencyCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,GAAG,CAAC;CAClC,CAAC;AA0KF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAavD,CAAC"}
1
+ {"version":3,"file":"efficiencyCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/efficiencyCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,GAAG,CAAC;CAClC,CAAC;AAyKF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAavD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { frenchify } from "../../../math/utils/latex/frenchify.js";
2
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
3
3
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
4
4
  import { round } from "../../../math/utils/round.js";
5
5
  import { randfloat } from "../../../math/utils/random/randfloat.js";
@@ -107,9 +107,9 @@ const getPropositions = (n, { answer, inputPower, outputPower, efficiency, varia
107
107
  wrongAnswers.forEach((wrongAnswer) => {
108
108
  tryToAddWrongProp(propositions, wrongAnswer.toTree().toTex());
109
109
  });
110
- while (propositions.length < n) {
110
+ propWhile(propositions, n, () => {
111
111
  tryToAddWrongProp(propositions, randfloat(0.1, 1, 2).toTree().toTex());
112
- }
112
+ });
113
113
  return shuffleProps(propositions, n);
114
114
  };
115
115
  const isAnswerValid = (ans, { outputPower, inputPower, variable }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"energyTransfer.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/energyTransfer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAmFF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAYhD,CAAC"}
1
+ {"version":3,"file":"energyTransfer.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/energyTransfer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAmFF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAYhD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { frenchify } from "../../../math/utils/latex/frenchify.js";
2
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
3
3
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
4
4
  import { randfloat } from "../../../math/utils/random/randfloat.js";
5
5
  import { round } from "../../../math/utils/round.js";
@@ -50,10 +50,10 @@ const getPropositions = (n, { answer, substance, mass }) => {
50
50
  addValidProp(propositions, answer);
51
51
  const subst = substances.find((s) => s.name === substance);
52
52
  const energy = round(mass * subst.latentHeat, 2);
53
- while (propositions.length < n) {
53
+ propWhile(propositions, n, () => {
54
54
  const wrongEnergy = round(energy + randfloat(-50, 50), 2);
55
55
  tryToAddWrongProp(propositions, wrongEnergy.toTree().toTex());
56
- }
56
+ });
57
57
  return shuffleProps(propositions, n);
58
58
  };
59
59
  const isAnswerValid = (ans, { substance, mass }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"kineticEnergyOrMassOrSpeed.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/kineticEnergyOrMassOrSpeed.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAsOF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
1
+ {"version":3,"file":"kineticEnergyOrMassOrSpeed.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/kineticEnergyOrMassOrSpeed.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAsOF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, tryToAddWrongProp, propWhile, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { frenchify } from "../../../math/utils/latex/frenchify.js";
4
4
  import { randfloat } from "../../../math/utils/random/randfloat.js";
@@ -42,11 +42,11 @@ const getPropositions = (n, { answer, ...identifiers }) => {
42
42
  const propositions = [];
43
43
  addValidProp(propositions, answer);
44
44
  const nbAnswer = getAnswer(identifiers).unfrenchify();
45
- while (propositions.length < n) {
45
+ propWhile(propositions, n, () => {
46
46
  tryToAddWrongProp(propositions, frenchify(Number.isInteger(nbAnswer)
47
47
  ? randint(nbAnswer - 10, nbAnswer + 11, [nbAnswer])
48
48
  : randfloat(nbAnswer - 10, nbAnswer + 11, 2, [nbAnswer])) + "");
49
- }
49
+ });
50
50
  return shuffle(propositions);
51
51
  };
52
52
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"thermalEnergyTransferCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/thermalEnergyTransferCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,QAAQ,CAAC;CACzC,CAAC;AAwRF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAalE,CAAC"}
1
+ {"version":3,"file":"thermalEnergyTransferCalculation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/energy/thermalEnergyTransferCalculation.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,QAAQ,CAAC;CACzC,CAAC;AAwRF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAalE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { frenchify } from "../../../math/utils/latex/frenchify.js";
2
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
3
3
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
4
4
  import { round } from "../../../math/utils/round.js";
5
5
  import { randfloat } from "../../../math/utils/random/randfloat.js";
@@ -143,9 +143,9 @@ const getPropositions = (n, { answer, mass, specificHeat, initialTemp, finalTemp
143
143
  wrongAnswers.forEach((wrongAnswer) => {
144
144
  tryToAddWrongProp(propositions, wrongAnswer.toTree().toTex());
145
145
  });
146
- while (propositions.length < n) {
146
+ propWhile(propositions, n, () => {
147
147
  tryToAddWrongProp(propositions, randfloat(0.1, 5, 2).toTree().toTex());
148
- }
148
+ });
149
149
  return shuffleProps(propositions, n);
150
150
  };
151
151
  const isAnswerValid = (ans, { mass, specificHeat, initialTemp, finalTemp, variable }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"mariotte.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/fluids/mariotte.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AA4FF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAY1C,CAAC"}
1
+ {"version":3,"file":"mariotte.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/fluids/mariotte.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AA4FF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAY1C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randfloat } from "../../../math/utils/random/randfloat.js";
4
4
  import { roundSignificant } from "../../../math/utils/round.js";
@@ -57,7 +57,7 @@ const getMariotteQuestion = () => {
57
57
  const getPropositions = (n, { answer, isAskingPressure }) => {
58
58
  const propositions = [];
59
59
  addValidProp(propositions, answer);
60
- while (propositions.length < n) {
60
+ propWhile(propositions, n, () => {
61
61
  if (isAskingPressure) {
62
62
  tryToAddWrongProp(propositions, new Measure(randfloat(1, 10, 1), 5)
63
63
  .toSignificant(1)
@@ -66,7 +66,7 @@ const getPropositions = (n, { answer, isAskingPressure }) => {
66
66
  else {
67
67
  tryToAddWrongProp(propositions, roundSignificant(randfloat(0, 10, 1), 1));
68
68
  }
69
- }
69
+ });
70
70
  return shuffleProps(propositions, n);
71
71
  };
72
72
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"calculateNormalOrFrictionForce.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/calculateNormalOrFrictionForce.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA8HF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAchE,CAAC"}
1
+ {"version":3,"file":"calculateNormalOrFrictionForce.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/calculateNormalOrFrictionForce.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA8HF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAchE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randfloat } from "../../../math/utils/random/randfloat.js";
4
4
  import { randint } from "../../../math/utils/random/randint.js";
@@ -52,10 +52,10 @@ const getPropositions = (n, { answer, ...identifiers }) => {
52
52
  const correctAns = getAnswer(identifiers).unfrenchify();
53
53
  addValidProp(propositions, answer);
54
54
  generatePropositions(identifiers).forEach((value) => tryToAddWrongProp(propositions, value));
55
- while (propositions.length < n) {
55
+ propWhile(propositions, n, () => {
56
56
  const random = randfloat(correctAns - 20, correctAns + 21, 2, [correctAns]);
57
57
  tryToAddWrongProp(propositions, random.frenchify());
58
- }
58
+ });
59
59
  return shuffleProps(propositions, n);
60
60
  };
61
61
  const isAnswerValid = (ans, { answer, ...identifiers }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"electroStaticForce.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/electroStaticForce.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,iBAAiB,GAAG;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,iBAAiB,CAAC;IACtB,EAAE,EAAE,iBAAiB,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA2KF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAapD,CAAC"}
1
+ {"version":3,"file":"electroStaticForce.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/electroStaticForce.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,iBAAiB,GAAG;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,iBAAiB,CAAC;IACtB,EAAE,EAAE,iBAAiB,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA2KF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAapD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randfloat } from "../../../math/utils/random/randfloat.js";
4
4
  import { randint } from "../../../math/utils/random/randint.js";
@@ -89,10 +89,10 @@ const getPropositions = (n, { answer, qA, qB, distance }) => {
89
89
  generatePropositions(qA, qB, distance).forEach((value) => tryToAddWrongProp(propositions, value.toTex()));
90
90
  const correctAns = getAnswerNode({ qA, qB, distance });
91
91
  let random;
92
- while (propositions.length < n) {
92
+ propWhile(propositions, n, () => {
93
93
  random = new Measure(randfloat(1, 5, 1, [correctAns.significantPart]), correctAns.exponent, ForceUnit.N);
94
94
  tryToAddWrongProp(propositions, random.toTex());
95
- }
95
+ });
96
96
  return shuffleProps(propositions, n);
97
97
  };
98
98
  const isAnswerValid = (ans, { answer, qA, qB, distance }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"forceWork.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/forceWork.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAoEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,WAAW,CAY3C,CAAC"}
1
+ {"version":3,"file":"forceWork.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/forceWork.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAoEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,WAAW,CAY3C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { remarkableTrigoValues } from "../../../math/trigonometry/remarkableValues.js";
4
4
  import { randfloat } from "../../../math/utils/random/randfloat.js";
@@ -40,9 +40,9 @@ const getQuestionFromIdentifiers = (identifiers) => {
40
40
  const getPropositions = (n, { answer }) => {
41
41
  const propositions = [];
42
42
  addValidProp(propositions, answer);
43
- while (propositions.length < n) {
43
+ propWhile(propositions, n, () => {
44
44
  tryToAddWrongProp(propositions, roundSignificant(randfloat(-30, 30, 1), 1) + "J");
45
- }
45
+ });
46
46
  return shuffleProps(propositions, n);
47
47
  };
48
48
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"gravitationalAttractionObjectHeight.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/gravitationalAttractionObjectHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqLF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,WAAW,CAcrE,CAAC"}
1
+ {"version":3,"file":"gravitationalAttractionObjectHeight.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/gravitationalAttractionObjectHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqLF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,WAAW,CAcrE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { planets } from "../../../pc/constants/mechanics/planets.js";
@@ -140,9 +140,9 @@ const getPropositions = (n, { answer, h }) => {
140
140
  tryToAddWrongProp(propositions, w1.toScientific(2).toTex({ hideUnit: true }));
141
141
  tryToAddWrongProp(propositions, w2.toSignificant(2).toTex({ hideUnit: true }));
142
142
  tryToAddWrongProp(propositions, w3.toSignificant(2).toTex({ hideUnit: true }));
143
- while (propositions.length < n) {
143
+ propWhile(propositions, n, () => {
144
144
  tryToAddWrongProp(propositions, randint(1500, 9000).toScientific(2).toTex());
145
- }
145
+ });
146
146
  return shuffleProps(propositions, n);
147
147
  };
148
148
  const isAnswerValid = (ans, { answer, h }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"gravitationalAttractionValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/gravitationalAttractionValue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAuFF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAa9D,CAAC"}
1
+ {"version":3,"file":"gravitationalAttractionValue.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/gravitationalAttractionValue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAuFF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAa9D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randfloat } from "../../../math/utils/random/randfloat.js";
4
4
  import { randint } from "../../../math/utils/random/randint.js";
@@ -62,9 +62,9 @@ const getPropositions = (n, { answer, mass }) => {
62
62
  .times(massEarth)
63
63
  .divide(RT.times(RT))
64
64
  .toTex({ scientific: 2, hideUnit: true }) + "\\ \\text{N}");
65
- while (propositions.length < n) {
65
+ propWhile(propositions, n, () => {
66
66
  tryToAddWrongProp(propositions, round(randfloat(1, 20), 2).toTree().toTex() + "\\ \\text{N}");
67
- }
67
+ });
68
68
  return shuffleProps(propositions, n);
69
69
  };
70
70
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"gravitationalForcePlanets.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/gravitationalForcePlanets.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAMtD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA+LF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAe3D,CAAC"}
1
+ {"version":3,"file":"gravitationalForcePlanets.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/gravitationalForcePlanets.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAMtD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA8LF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAe3D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
1
+ import { addValidProp, propWhile, shuffleProps, tryToAddWrongProp, } from "../../../exercises/exercise.js";
2
2
  import { getDistinctQuestions } from "../../../exercises/utils/getDistinctQuestions.js";
3
3
  import { randint } from "../../../math/utils/random/randint.js";
4
4
  import { Measure } from "../../../pc/measure/measure.js";
@@ -128,11 +128,11 @@ const getPropositions = (n, { answer, mass, distance }) => {
128
128
  tryToAddWrongProp(propositions, wrongAnswer1.toTex({ scientific: 2, hideUnit: true }) + "\\ \\text{N}");
129
129
  tryToAddWrongProp(propositions, wrongAnswer2.toTex({ scientific: 2, hideUnit: true }) + "\\ \\text{N}");
130
130
  tryToAddWrongProp(propositions, wrongAnswer3.toTex({ scientific: 2, hideUnit: true }) + "\\ \\text{N}");
131
- while (propositions.length < n) {
131
+ propWhile(propositions, n, () => {
132
132
  const errorFactor = new Measure(1, randint(1, 5));
133
133
  const wrongAnswer = correctAnswer.times(errorFactor);
134
134
  tryToAddWrongProp(propositions, wrongAnswer.toTex({ scientific: 2 }) + "\\ \\text{N}");
135
- }
135
+ });
136
136
  return shuffleProps(propositions, n);
137
137
  };
138
138
  const isAnswerValid = (ans, { answer }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"pressingForce.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/pressingForce.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD,CAAC;AA4IF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAY/C,CAAC"}
1
+ {"version":3,"file":"pressingForce.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/forces/pressingForce.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD,CAAC;AA4IF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAY/C,CAAC"}