math-exercises 2.0.44 → 2.1.0

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 (1010) hide show
  1. package/README.md +2 -2
  2. package/lib/exercises/exercise.d.ts +4 -2
  3. package/lib/exercises/exercise.d.ts.map +1 -1
  4. package/lib/exercises/math/calcul/addAndSub.d.ts +7 -0
  5. package/lib/exercises/math/calcul/addAndSub.d.ts.map +1 -0
  6. package/lib/exercises/math/calcul/addAndSub.js +64 -0
  7. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts +7 -0
  8. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts.map +1 -0
  9. package/lib/exercises/math/calcul/addAndSubWithoutRelatives.js +74 -0
  10. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.d.ts +8 -0
  11. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.d.ts.map +1 -0
  12. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.js +65 -0
  13. package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts +7 -0
  14. package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -0
  15. package/lib/exercises/math/calcul/arithmetics/divisorsList.js +57 -0
  16. package/lib/exercises/math/calcul/arithmetics/euclideanDivision.d.ts +10 -0
  17. package/lib/exercises/math/calcul/arithmetics/euclideanDivision.d.ts.map +1 -0
  18. package/lib/exercises/math/calcul/arithmetics/euclideanDivision.js +61 -0
  19. package/lib/exercises/math/calcul/arithmetics/index.d.ts +7 -0
  20. package/lib/exercises/math/calcul/arithmetics/index.d.ts.map +1 -0
  21. package/lib/exercises/math/calcul/arithmetics/index.js +22 -0
  22. package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.d.ts +7 -0
  23. package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.d.ts.map +1 -0
  24. package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.js +116 -0
  25. package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.d.ts +8 -0
  26. package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.d.ts.map +1 -0
  27. package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.js +48 -0
  28. package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts +7 -0
  29. package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -0
  30. package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +106 -0
  31. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts +9 -0
  32. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -0
  33. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +78 -0
  34. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts +8 -0
  35. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -0
  36. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +69 -0
  37. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.d.ts +8 -0
  38. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.d.ts.map +1 -0
  39. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.js +68 -0
  40. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts +9 -0
  41. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -0
  42. package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +158 -0
  43. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts +8 -0
  44. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -0
  45. package/lib/exercises/math/calcul/fractions/fractionsDivision.js +63 -0
  46. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts +8 -0
  47. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -0
  48. package/lib/exercises/math/calcul/fractions/fractionsProduct.js +61 -0
  49. package/lib/exercises/math/calcul/fractions/fractionsSum.d.ts +8 -0
  50. package/lib/exercises/math/calcul/fractions/fractionsSum.d.ts.map +1 -0
  51. package/lib/exercises/math/calcul/fractions/fractionsSum.js +61 -0
  52. package/lib/exercises/math/calcul/fractions/index.d.ts +10 -0
  53. package/lib/exercises/math/calcul/fractions/index.d.ts.map +1 -0
  54. package/lib/exercises/math/calcul/fractions/index.js +25 -0
  55. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.d.ts +9 -0
  56. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.d.ts.map +1 -0
  57. package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.js +81 -0
  58. package/lib/exercises/math/calcul/fractions/simplifyFraction.d.ts +8 -0
  59. package/lib/exercises/math/calcul/fractions/simplifyFraction.d.ts.map +1 -0
  60. package/lib/exercises/math/calcul/fractions/simplifyFraction.js +53 -0
  61. package/lib/exercises/math/calcul/index.d.ts +9 -0
  62. package/lib/exercises/math/calcul/index.d.ts.map +1 -0
  63. package/lib/exercises/math/calcul/index.js +24 -0
  64. package/lib/exercises/math/calcul/mentalCaluls/index.d.ts +5 -0
  65. package/lib/exercises/math/calcul/mentalCaluls/index.d.ts.map +1 -0
  66. package/lib/exercises/math/calcul/mentalCaluls/index.js +20 -0
  67. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.d.ts +7 -0
  68. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.d.ts.map +1 -0
  69. package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.js +85 -0
  70. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.d.ts +10 -0
  71. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.d.ts.map +1 -0
  72. package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.js +102 -0
  73. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.d.ts +7 -0
  74. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.d.ts.map +1 -0
  75. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.js +85 -0
  76. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.d.ts +9 -0
  77. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.d.ts.map +1 -0
  78. package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.js +141 -0
  79. package/lib/exercises/math/calcul/operations/index.d.ts +3 -0
  80. package/lib/exercises/math/calcul/operations/index.d.ts.map +1 -0
  81. package/lib/exercises/math/calcul/operations/index.js +18 -0
  82. package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts +18 -0
  83. package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts.map +1 -0
  84. package/lib/exercises/math/calcul/operations/operationsPriorities.js +122 -0
  85. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts +19 -0
  86. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -0
  87. package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.js +203 -0
  88. package/lib/exercises/math/calcul/proportionality/index.d.ts +2 -0
  89. package/lib/exercises/math/calcul/proportionality/index.d.ts.map +1 -0
  90. package/lib/exercises/math/calcul/proportionality/index.js +17 -0
  91. package/lib/exercises/math/calcul/proportionality/proportionalityTable.d.ts +11 -0
  92. package/lib/exercises/math/calcul/proportionality/proportionalityTable.d.ts.map +1 -0
  93. package/lib/exercises/math/calcul/proportionality/proportionalityTable.js +73 -0
  94. package/lib/exercises/math/calcul/rounding/index.d.ts +2 -0
  95. package/lib/exercises/math/calcul/rounding/index.d.ts.map +1 -0
  96. package/lib/exercises/math/calcul/rounding/index.js +17 -0
  97. package/lib/exercises/math/calcul/rounding/rounding.d.ts +22 -0
  98. package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -0
  99. package/lib/exercises/math/calcul/rounding/rounding.js +146 -0
  100. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.d.ts +11 -0
  101. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.d.ts.map +1 -0
  102. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.js +73 -0
  103. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.d.ts +8 -0
  104. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.d.ts.map +1 -0
  105. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.js +75 -0
  106. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.d.ts +11 -0
  107. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.d.ts.map +1 -0
  108. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.js +71 -0
  109. package/lib/exercises/math/calculLitteral/distributivity/index.d.ts +7 -0
  110. package/lib/exercises/math/calculLitteral/distributivity/index.d.ts.map +1 -0
  111. package/lib/exercises/math/calculLitteral/distributivity/index.js +26 -0
  112. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.d.ts +11 -0
  113. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.d.ts.map +1 -0
  114. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.js +73 -0
  115. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.d.ts +9 -0
  116. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.d.ts.map +1 -0
  117. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.js +62 -0
  118. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.d.ts +11 -0
  119. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.d.ts.map +1 -0
  120. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.js +68 -0
  121. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts +7 -0
  122. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -0
  123. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +141 -0
  124. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.d.ts +11 -0
  125. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.d.ts.map +1 -0
  126. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.js +61 -0
  127. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts +11 -0
  128. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -0
  129. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.js +63 -0
  130. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.d.ts +12 -0
  131. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.d.ts.map +1 -0
  132. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.js +65 -0
  133. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.d.ts +13 -0
  134. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.d.ts.map +1 -0
  135. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.js +70 -0
  136. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts +8 -0
  137. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -0
  138. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +59 -0
  139. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts +10 -0
  140. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -0
  141. package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +83 -0
  142. package/lib/exercises/math/calculLitteral/equation/index.d.ts +9 -0
  143. package/lib/exercises/math/calculLitteral/equation/index.d.ts.map +1 -0
  144. package/lib/exercises/math/calculLitteral/equation/index.js +24 -0
  145. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts +10 -0
  146. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -0
  147. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +79 -0
  148. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts +8 -0
  149. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -0
  150. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +57 -0
  151. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts +8 -0
  152. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -0
  153. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +59 -0
  154. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts +8 -0
  155. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -0
  156. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +66 -0
  157. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts +11 -0
  158. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -0
  159. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +92 -0
  160. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +5 -0
  161. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -0
  162. package/lib/exercises/math/calculLitteral/factorisation/index.js +20 -0
  163. package/lib/exercises/math/calculLitteral/index.d.ts +7 -0
  164. package/lib/exercises/math/calculLitteral/index.d.ts.map +1 -0
  165. package/lib/exercises/math/calculLitteral/index.js +22 -0
  166. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts +10 -0
  167. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +1 -0
  168. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.js +65 -0
  169. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.d.ts +10 -0
  170. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.d.ts.map +1 -0
  171. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.js +71 -0
  172. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.d.ts +11 -0
  173. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.d.ts.map +1 -0
  174. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.js +74 -0
  175. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts +13 -0
  176. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -0
  177. package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +83 -0
  178. package/lib/exercises/math/calculLitteral/inequations/index.d.ts +6 -0
  179. package/lib/exercises/math/calculLitteral/inequations/index.d.ts.map +1 -0
  180. package/lib/exercises/math/calculLitteral/inequations/index.js +21 -0
  181. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.d.ts +9 -0
  182. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.d.ts.map +1 -0
  183. package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.js +66 -0
  184. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.d.ts +14 -0
  185. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.d.ts.map +1 -0
  186. package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.js +68 -0
  187. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts +10 -0
  188. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts.map +1 -0
  189. package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.js +64 -0
  190. package/lib/exercises/math/calculLitteral/simplifying/index.d.ts +4 -0
  191. package/lib/exercises/math/calculLitteral/simplifying/index.d.ts.map +1 -0
  192. package/lib/exercises/math/calculLitteral/simplifying/index.js +19 -0
  193. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts +9 -0
  194. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -0
  195. package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.js +115 -0
  196. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts +8 -0
  197. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -0
  198. package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +57 -0
  199. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts +8 -0
  200. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -0
  201. package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.js +68 -0
  202. package/lib/exercises/math/calculLitteral/systems/index.d.ts +3 -0
  203. package/lib/exercises/math/calculLitteral/systems/index.d.ts.map +1 -0
  204. package/lib/exercises/math/calculLitteral/systems/index.js +18 -0
  205. package/lib/exercises/math/combinatory/anagrams.d.ts +7 -0
  206. package/lib/exercises/math/combinatory/anagrams.d.ts.map +1 -0
  207. package/lib/exercises/math/combinatory/anagrams.js +162 -0
  208. package/lib/exercises/math/combinatory/ballsCounting.d.ts +10 -0
  209. package/lib/exercises/math/combinatory/ballsCounting.d.ts.map +1 -0
  210. package/lib/exercises/math/combinatory/ballsCounting.js +113 -0
  211. package/lib/exercises/math/combinatory/diceCounting.d.ts +10 -0
  212. package/lib/exercises/math/combinatory/diceCounting.d.ts.map +1 -0
  213. package/lib/exercises/math/combinatory/diceCounting.js +125 -0
  214. package/lib/exercises/math/combinatory/index.d.ts +4 -0
  215. package/lib/exercises/math/combinatory/index.d.ts.map +1 -0
  216. package/lib/exercises/math/combinatory/index.js +19 -0
  217. package/lib/exercises/math/complex/addComplex.d.ts +10 -0
  218. package/lib/exercises/math/complex/addComplex.d.ts.map +1 -0
  219. package/lib/exercises/math/complex/addComplex.js +65 -0
  220. package/lib/exercises/math/complex/argumentFromAlgebraicComplex.d.ts +8 -0
  221. package/lib/exercises/math/complex/argumentFromAlgebraicComplex.d.ts.map +1 -0
  222. package/lib/exercises/math/complex/argumentFromAlgebraicComplex.js +64 -0
  223. package/lib/exercises/math/complex/conjugateComplex.ts.d.ts +8 -0
  224. package/lib/exercises/math/complex/conjugateComplex.ts.d.ts.map +1 -0
  225. package/lib/exercises/math/complex/conjugateComplex.ts.js +55 -0
  226. package/lib/exercises/math/complex/conjugateDivideComplex.d.ts +8 -0
  227. package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -0
  228. package/lib/exercises/math/complex/conjugateDivideComplex.js +62 -0
  229. package/lib/exercises/math/complex/conjugateMultiplyComplex.d.ts +8 -0
  230. package/lib/exercises/math/complex/conjugateMultiplyComplex.d.ts.map +1 -0
  231. package/lib/exercises/math/complex/conjugateMultiplyComplex.js +62 -0
  232. package/lib/exercises/math/complex/divideComplex.d.ts +8 -0
  233. package/lib/exercises/math/complex/divideComplex.d.ts.map +1 -0
  234. package/lib/exercises/math/complex/divideComplex.js +59 -0
  235. package/lib/exercises/math/complex/index.d.ts +12 -0
  236. package/lib/exercises/math/complex/index.d.ts.map +1 -0
  237. package/lib/exercises/math/complex/index.js +28 -0
  238. package/lib/exercises/math/complex/inverseComplex.d.ts +8 -0
  239. package/lib/exercises/math/complex/inverseComplex.d.ts.map +1 -0
  240. package/lib/exercises/math/complex/inverseComplex.js +55 -0
  241. package/lib/exercises/math/complex/linearCombinaisonComplex.d.ts +10 -0
  242. package/lib/exercises/math/complex/linearCombinaisonComplex.d.ts.map +1 -0
  243. package/lib/exercises/math/complex/linearCombinaisonComplex.js +60 -0
  244. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.d.ts +8 -0
  245. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.d.ts.map +1 -0
  246. package/lib/exercises/math/complex/moduloFromAlgebraicComplex.js +56 -0
  247. package/lib/exercises/math/complex/mutiplyComplex.d.ts +8 -0
  248. package/lib/exercises/math/complex/mutiplyComplex.d.ts.map +1 -0
  249. package/lib/exercises/math/complex/mutiplyComplex.js +59 -0
  250. package/lib/exercises/math/complex/reAndIm.d.ts +9 -0
  251. package/lib/exercises/math/complex/reAndIm.d.ts.map +1 -0
  252. package/lib/exercises/math/complex/reAndIm.js +51 -0
  253. package/lib/exercises/math/conversion/aeraConversion.d.ts +9 -0
  254. package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -0
  255. package/lib/exercises/math/conversion/aeraConversion.js +63 -0
  256. package/lib/exercises/math/conversion/capacityConversion.d.ts +9 -0
  257. package/lib/exercises/math/conversion/capacityConversion.d.ts.map +1 -0
  258. package/lib/exercises/math/conversion/capacityConversion.js +61 -0
  259. package/lib/exercises/math/conversion/hoursToDecimal.d.ts +8 -0
  260. package/lib/exercises/math/conversion/hoursToDecimal.d.ts.map +1 -0
  261. package/lib/exercises/math/conversion/hoursToDecimal.js +73 -0
  262. package/lib/exercises/math/conversion/index.d.ts +8 -0
  263. package/lib/exercises/math/conversion/index.d.ts.map +1 -0
  264. package/lib/exercises/math/conversion/index.js +23 -0
  265. package/lib/exercises/math/conversion/lengthConversion.d.ts +9 -0
  266. package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -0
  267. package/lib/exercises/math/conversion/lengthConversion.js +61 -0
  268. package/lib/exercises/math/conversion/massConversion.d.ts +9 -0
  269. package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -0
  270. package/lib/exercises/math/conversion/massConversion.js +61 -0
  271. package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts +10 -0
  272. package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -0
  273. package/lib/exercises/math/conversion/volumeCapacityConversion.js +77 -0
  274. package/lib/exercises/math/conversion/volumeConversion.d.ts +9 -0
  275. package/lib/exercises/math/conversion/volumeConversion.d.ts.map +1 -0
  276. package/lib/exercises/math/conversion/volumeConversion.js +63 -0
  277. package/lib/exercises/math/derivation/derivative/constanteDerivative.d.ts +10 -0
  278. package/lib/exercises/math/derivation/derivative/constanteDerivative.d.ts.map +1 -0
  279. package/lib/exercises/math/derivation/derivative/constanteDerivative.js +55 -0
  280. package/lib/exercises/math/derivation/derivative/cosCompositionDerivation.d.ts +8 -0
  281. package/lib/exercises/math/derivation/derivative/cosCompositionDerivation.d.ts.map +1 -0
  282. package/lib/exercises/math/derivation/derivative/cosCompositionDerivation.js +57 -0
  283. package/lib/exercises/math/derivation/derivative/expDerivativeOne.d.ts +8 -0
  284. package/lib/exercises/math/derivation/derivative/expDerivativeOne.d.ts.map +1 -0
  285. package/lib/exercises/math/derivation/derivative/expDerivativeOne.js +63 -0
  286. package/lib/exercises/math/derivation/derivative/expDerivativeThree.d.ts +8 -0
  287. package/lib/exercises/math/derivation/derivative/expDerivativeThree.d.ts.map +1 -0
  288. package/lib/exercises/math/derivation/derivative/expDerivativeThree.js +56 -0
  289. package/lib/exercises/math/derivation/derivative/expDerivativeTwo.d.ts +8 -0
  290. package/lib/exercises/math/derivation/derivative/expDerivativeTwo.d.ts.map +1 -0
  291. package/lib/exercises/math/derivation/derivative/expDerivativeTwo.js +58 -0
  292. package/lib/exercises/math/derivation/derivative/firstDegreeDerivative.d.ts +11 -0
  293. package/lib/exercises/math/derivation/derivative/firstDegreeDerivative.d.ts.map +1 -0
  294. package/lib/exercises/math/derivation/derivative/firstDegreeDerivative.js +53 -0
  295. package/lib/exercises/math/derivation/derivative/index.d.ts +22 -0
  296. package/lib/exercises/math/derivation/derivative/index.d.ts.map +1 -0
  297. package/lib/exercises/math/derivation/derivative/index.js +42 -0
  298. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts +7 -0
  299. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -0
  300. package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +56 -0
  301. package/lib/exercises/math/derivation/derivative/lnDerivativeOne.d.ts +8 -0
  302. package/lib/exercises/math/derivation/derivative/lnDerivativeOne.d.ts.map +1 -0
  303. package/lib/exercises/math/derivation/derivative/lnDerivativeOne.js +69 -0
  304. package/lib/exercises/math/derivation/derivative/lnDerivativeThree.d.ts +8 -0
  305. package/lib/exercises/math/derivation/derivative/lnDerivativeThree.d.ts.map +1 -0
  306. package/lib/exercises/math/derivation/derivative/lnDerivativeThree.js +84 -0
  307. package/lib/exercises/math/derivation/derivative/lnDerivativeTwo.d.ts +8 -0
  308. package/lib/exercises/math/derivation/derivative/lnDerivativeTwo.d.ts.map +1 -0
  309. package/lib/exercises/math/derivation/derivative/lnDerivativeTwo.js +61 -0
  310. package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.d.ts +9 -0
  311. package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.d.ts.map +1 -0
  312. package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.js +62 -0
  313. package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.d.ts +8 -0
  314. package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.d.ts.map +1 -0
  315. package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.js +72 -0
  316. package/lib/exercises/math/derivation/derivative/productDerivative.d.ts +8 -0
  317. package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -0
  318. package/lib/exercises/math/derivation/derivative/productDerivative.js +60 -0
  319. package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts +8 -0
  320. package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -0
  321. package/lib/exercises/math/derivation/derivative/quotientDerivative.js +85 -0
  322. package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.d.ts +7 -0
  323. package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.d.ts.map +1 -0
  324. package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.js +79 -0
  325. package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.d.ts +10 -0
  326. package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.d.ts.map +1 -0
  327. package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.js +77 -0
  328. package/lib/exercises/math/derivation/derivative/sinCompositionDerivation.d.ts +8 -0
  329. package/lib/exercises/math/derivation/derivative/sinCompositionDerivation.d.ts.map +1 -0
  330. package/lib/exercises/math/derivation/derivative/sinCompositionDerivation.js +58 -0
  331. package/lib/exercises/math/derivation/derivative/sqrtCompositionDerivation.d.ts +8 -0
  332. package/lib/exercises/math/derivation/derivative/sqrtCompositionDerivation.d.ts.map +1 -0
  333. package/lib/exercises/math/derivation/derivative/sqrtCompositionDerivation.js +62 -0
  334. package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.d.ts +10 -0
  335. package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.d.ts.map +1 -0
  336. package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.js +84 -0
  337. package/lib/exercises/math/derivation/derivative/thirdDegreeFunctionVariation.d.ts +10 -0
  338. package/lib/exercises/math/derivation/derivative/thirdDegreeFunctionVariation.d.ts.map +1 -0
  339. package/lib/exercises/math/derivation/derivative/thirdDegreeFunctionVariation.js +123 -0
  340. package/lib/exercises/math/derivation/derivative/usualderivative.d.ts +11 -0
  341. package/lib/exercises/math/derivation/derivative/usualderivative.d.ts.map +1 -0
  342. package/lib/exercises/math/derivation/derivative/usualderivative.js +109 -0
  343. package/lib/exercises/math/derivation/derivativeNumberCalcul.d.ts +8 -0
  344. package/lib/exercises/math/derivation/derivativeNumberCalcul.d.ts.map +1 -0
  345. package/lib/exercises/math/derivation/derivativeNumberCalcul.js +49 -0
  346. package/lib/exercises/math/derivation/derivativeNumberReading.d.ts +8 -0
  347. package/lib/exercises/math/derivation/derivativeNumberReading.d.ts.map +1 -0
  348. package/lib/exercises/math/derivation/derivativeNumberReading.js +103 -0
  349. package/lib/exercises/math/derivation/index.d.ts +4 -0
  350. package/lib/exercises/math/derivation/index.d.ts.map +1 -0
  351. package/lib/exercises/math/derivation/index.js +19 -0
  352. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts +10 -0
  353. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +1 -0
  354. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.js +102 -0
  355. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts +7 -0
  356. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -0
  357. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +59 -0
  358. package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.d.ts +8 -0
  359. package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.d.ts.map +1 -0
  360. package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.js +69 -0
  361. package/lib/exercises/math/equaDiff/index.d.ts +4 -0
  362. package/lib/exercises/math/equaDiff/index.d.ts.map +1 -0
  363. package/lib/exercises/math/equaDiff/index.js +19 -0
  364. package/lib/exercises/math/functions/absolute/absoluteValueEquations.d.ts +8 -0
  365. package/lib/exercises/math/functions/absolute/absoluteValueEquations.d.ts.map +1 -0
  366. package/lib/exercises/math/functions/absolute/absoluteValueEquations.js +75 -0
  367. package/lib/exercises/math/functions/absolute/absoluteValueInequations.d.ts +9 -0
  368. package/lib/exercises/math/functions/absolute/absoluteValueInequations.d.ts.map +1 -0
  369. package/lib/exercises/math/functions/absolute/absoluteValueInequations.js +74 -0
  370. package/lib/exercises/math/functions/absolute/index.d.ts +3 -0
  371. package/lib/exercises/math/functions/absolute/index.d.ts.map +1 -0
  372. package/lib/exercises/math/functions/absolute/index.js +18 -0
  373. package/lib/exercises/math/functions/affines/affineExpressionReading.d.ts +8 -0
  374. package/lib/exercises/math/functions/affines/affineExpressionReading.d.ts.map +1 -0
  375. package/lib/exercises/math/functions/affines/affineExpressionReading.js +98 -0
  376. package/lib/exercises/math/functions/affines/index.d.ts +7 -0
  377. package/lib/exercises/math/functions/affines/index.d.ts.map +1 -0
  378. package/lib/exercises/math/functions/affines/index.js +22 -0
  379. package/lib/exercises/math/functions/affines/interceptReading.d.ts +8 -0
  380. package/lib/exercises/math/functions/affines/interceptReading.d.ts.map +1 -0
  381. package/lib/exercises/math/functions/affines/interceptReading.js +69 -0
  382. package/lib/exercises/math/functions/affines/leadingCoefficient.d.ts +10 -0
  383. package/lib/exercises/math/functions/affines/leadingCoefficient.d.ts.map +1 -0
  384. package/lib/exercises/math/functions/affines/leadingCoefficient.js +80 -0
  385. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.d.ts +10 -0
  386. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.d.ts.map +1 -0
  387. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.js +56 -0
  388. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.d.ts +10 -0
  389. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.d.ts.map +1 -0
  390. package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.js +55 -0
  391. package/lib/exercises/math/functions/affines/signFunction.d.ts +9 -0
  392. package/lib/exercises/math/functions/affines/signFunction.d.ts.map +1 -0
  393. package/lib/exercises/math/functions/affines/signFunction.js +85 -0
  394. package/lib/exercises/math/functions/basics/graphicEquation.d.ts +8 -0
  395. package/lib/exercises/math/functions/basics/graphicEquation.d.ts.map +1 -0
  396. package/lib/exercises/math/functions/basics/graphicEquation.js +114 -0
  397. package/lib/exercises/math/functions/basics/graphicInequation.d.ts +16 -0
  398. package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -0
  399. package/lib/exercises/math/functions/basics/graphicInequation.js +154 -0
  400. package/lib/exercises/math/functions/basics/imageFunction.d.ts +10 -0
  401. package/lib/exercises/math/functions/basics/imageFunction.d.ts.map +1 -0
  402. package/lib/exercises/math/functions/basics/imageFunction.js +65 -0
  403. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.d.ts +10 -0
  404. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.d.ts.map +1 -0
  405. package/lib/exercises/math/functions/basics/imageFunctionGeogebra.js +87 -0
  406. package/lib/exercises/math/functions/basics/index.d.ts +9 -0
  407. package/lib/exercises/math/functions/basics/index.d.ts.map +1 -0
  408. package/lib/exercises/math/functions/basics/index.js +24 -0
  409. package/lib/exercises/math/functions/basics/inverseImageFunction.d.ts +8 -0
  410. package/lib/exercises/math/functions/basics/inverseImageFunction.d.ts.map +1 -0
  411. package/lib/exercises/math/functions/basics/inverseImageFunction.js +53 -0
  412. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.d.ts +11 -0
  413. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.d.ts.map +1 -0
  414. package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.js +141 -0
  415. package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts +9 -0
  416. package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts.map +1 -0
  417. package/lib/exercises/math/functions/basics/twoFunctionsEquation.js +136 -0
  418. package/lib/exercises/math/functions/basics/twoFunctionsInequation.d.ts +17 -0
  419. package/lib/exercises/math/functions/basics/twoFunctionsInequation.d.ts.map +1 -0
  420. package/lib/exercises/math/functions/basics/twoFunctionsInequation.js +182 -0
  421. package/lib/exercises/math/functions/cube/cubicEquation.d.ts +7 -0
  422. package/lib/exercises/math/functions/cube/cubicEquation.d.ts.map +1 -0
  423. package/lib/exercises/math/functions/cube/cubicEquation.js +56 -0
  424. package/lib/exercises/math/functions/cube/index.d.ts +2 -0
  425. package/lib/exercises/math/functions/cube/index.d.ts.map +1 -0
  426. package/lib/exercises/math/functions/cube/index.js +17 -0
  427. package/lib/exercises/math/functions/exponential/expEquation.d.ts +9 -0
  428. package/lib/exercises/math/functions/exponential/expEquation.d.ts.map +1 -0
  429. package/lib/exercises/math/functions/exponential/expEquation.js +76 -0
  430. package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts +10 -0
  431. package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -0
  432. package/lib/exercises/math/functions/exponential/expSimplifiying.js +117 -0
  433. package/lib/exercises/math/functions/exponential/index.d.ts +3 -0
  434. package/lib/exercises/math/functions/exponential/index.d.ts.map +1 -0
  435. package/lib/exercises/math/functions/exponential/index.js +18 -0
  436. package/lib/exercises/math/functions/index.d.ts +11 -0
  437. package/lib/exercises/math/functions/index.d.ts.map +1 -0
  438. package/lib/exercises/math/functions/index.js +26 -0
  439. package/lib/exercises/math/functions/logarithm/index.d.ts +6 -0
  440. package/lib/exercises/math/functions/logarithm/index.d.ts.map +1 -0
  441. package/lib/exercises/math/functions/logarithm/index.js +21 -0
  442. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts +8 -0
  443. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -0
  444. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +56 -0
  445. package/lib/exercises/math/functions/logarithm/log10Simplifying.d.ts +11 -0
  446. package/lib/exercises/math/functions/logarithm/log10Simplifying.d.ts.map +1 -0
  447. package/lib/exercises/math/functions/logarithm/log10Simplifying.js +100 -0
  448. package/lib/exercises/math/functions/logarithm/logEquation.d.ts +9 -0
  449. package/lib/exercises/math/functions/logarithm/logEquation.d.ts.map +1 -0
  450. package/lib/exercises/math/functions/logarithm/logEquation.js +74 -0
  451. package/lib/exercises/math/functions/logarithm/logPowerEquation.d.ts +12 -0
  452. package/lib/exercises/math/functions/logarithm/logPowerEquation.d.ts.map +1 -0
  453. package/lib/exercises/math/functions/logarithm/logPowerEquation.js +105 -0
  454. package/lib/exercises/math/functions/logarithm/logSimplifiying.d.ts +9 -0
  455. package/lib/exercises/math/functions/logarithm/logSimplifiying.d.ts.map +1 -0
  456. package/lib/exercises/math/functions/logarithm/logSimplifiying.js +78 -0
  457. package/lib/exercises/math/functions/parity/index.d.ts +3 -0
  458. package/lib/exercises/math/functions/parity/index.d.ts.map +1 -0
  459. package/lib/exercises/math/functions/parity/index.js +18 -0
  460. package/lib/exercises/math/functions/parity/parityFromAlgebra.d.ts +8 -0
  461. package/lib/exercises/math/functions/parity/parityFromAlgebra.d.ts.map +1 -0
  462. package/lib/exercises/math/functions/parity/parityFromAlgebra.js +118 -0
  463. package/lib/exercises/math/functions/parity/parityFromGraph.d.ts +8 -0
  464. package/lib/exercises/math/functions/parity/parityFromGraph.d.ts.map +1 -0
  465. package/lib/exercises/math/functions/parity/parityFromGraph.js +129 -0
  466. package/lib/exercises/math/functions/rationalFraction/index.d.ts +2 -0
  467. package/lib/exercises/math/functions/rationalFraction/index.d.ts.map +1 -0
  468. package/lib/exercises/math/functions/rationalFraction/index.js +17 -0
  469. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.d.ts +10 -0
  470. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.d.ts.map +1 -0
  471. package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.js +65 -0
  472. package/lib/exercises/math/functions/square/index.d.ts +2 -0
  473. package/lib/exercises/math/functions/square/index.d.ts.map +1 -0
  474. package/lib/exercises/math/functions/square/index.js +17 -0
  475. package/lib/exercises/math/functions/square/squareImageInterval.d.ts +11 -0
  476. package/lib/exercises/math/functions/square/squareImageInterval.d.ts.map +1 -0
  477. package/lib/exercises/math/functions/square/squareImageInterval.js +110 -0
  478. package/lib/exercises/math/functions/trinoms/alphaBetaFromDevForm.d.ts +8 -0
  479. package/lib/exercises/math/functions/trinoms/alphaBetaFromDevForm.d.ts.map +1 -0
  480. package/lib/exercises/math/functions/trinoms/alphaBetaFromDevForm.js +52 -0
  481. package/lib/exercises/math/functions/trinoms/alphaBetaInCanonicalForm.d.ts +10 -0
  482. package/lib/exercises/math/functions/trinoms/alphaBetaInCanonicalForm.d.ts.map +1 -0
  483. package/lib/exercises/math/functions/trinoms/alphaBetaInCanonicalForm.js +67 -0
  484. package/lib/exercises/math/functions/trinoms/canonicalFromDevForm.d.ts +9 -0
  485. package/lib/exercises/math/functions/trinoms/canonicalFromDevForm.d.ts.map +1 -0
  486. package/lib/exercises/math/functions/trinoms/canonicalFromDevForm.js +51 -0
  487. package/lib/exercises/math/functions/trinoms/deltaTrinom.d.ts +9 -0
  488. package/lib/exercises/math/functions/trinoms/deltaTrinom.d.ts.map +1 -0
  489. package/lib/exercises/math/functions/trinoms/deltaTrinom.js +53 -0
  490. package/lib/exercises/math/functions/trinoms/extremumFromCanonicalForm.d.ts +9 -0
  491. package/lib/exercises/math/functions/trinoms/extremumFromCanonicalForm.d.ts.map +1 -0
  492. package/lib/exercises/math/functions/trinoms/extremumFromCanonicalForm.js +58 -0
  493. package/lib/exercises/math/functions/trinoms/extremumTypeFromAlgebricForm.d.ts +9 -0
  494. package/lib/exercises/math/functions/trinoms/extremumTypeFromAlgebricForm.d.ts.map +1 -0
  495. package/lib/exercises/math/functions/trinoms/extremumTypeFromAlgebricForm.js +44 -0
  496. package/lib/exercises/math/functions/trinoms/factorizedFormFromRoots.d.ts +8 -0
  497. package/lib/exercises/math/functions/trinoms/factorizedFormFromRoots.d.ts.map +1 -0
  498. package/lib/exercises/math/functions/trinoms/factorizedFormFromRoots.js +68 -0
  499. package/lib/exercises/math/functions/trinoms/index.d.ts +17 -0
  500. package/lib/exercises/math/functions/trinoms/index.d.ts.map +1 -0
  501. package/lib/exercises/math/functions/trinoms/index.js +32 -0
  502. package/lib/exercises/math/functions/trinoms/niceRootsFromDevForm.d.ts +9 -0
  503. package/lib/exercises/math/functions/trinoms/niceRootsFromDevForm.d.ts.map +1 -0
  504. package/lib/exercises/math/functions/trinoms/niceRootsFromDevForm.js +57 -0
  505. package/lib/exercises/math/functions/trinoms/rootsFromDevForm.d.ts +9 -0
  506. package/lib/exercises/math/functions/trinoms/rootsFromDevForm.d.ts.map +1 -0
  507. package/lib/exercises/math/functions/trinoms/rootsFromDevForm.js +57 -0
  508. package/lib/exercises/math/functions/trinoms/rootsFromFactorizedForm.d.ts +9 -0
  509. package/lib/exercises/math/functions/trinoms/rootsFromFactorizedForm.d.ts.map +1 -0
  510. package/lib/exercises/math/functions/trinoms/rootsFromFactorizedForm.js +71 -0
  511. package/lib/exercises/math/functions/trinoms/rootsReading.d.ts +9 -0
  512. package/lib/exercises/math/functions/trinoms/rootsReading.d.ts.map +1 -0
  513. package/lib/exercises/math/functions/trinoms/rootsReading.js +69 -0
  514. package/lib/exercises/math/functions/trinoms/secondDegreeInequation.d.ts +11 -0
  515. package/lib/exercises/math/functions/trinoms/secondDegreeInequation.d.ts.map +1 -0
  516. package/lib/exercises/math/functions/trinoms/secondDegreeInequation.js +100 -0
  517. package/lib/exercises/math/functions/trinoms/summitAbscissFromDevForm.d.ts +9 -0
  518. package/lib/exercises/math/functions/trinoms/summitAbscissFromDevForm.d.ts.map +1 -0
  519. package/lib/exercises/math/functions/trinoms/summitAbscissFromDevForm.js +55 -0
  520. package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.d.ts +9 -0
  521. package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.d.ts.map +1 -0
  522. package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.js +60 -0
  523. package/lib/exercises/math/functions/trinoms/summitReading.d.ts +9 -0
  524. package/lib/exercises/math/functions/trinoms/summitReading.d.ts.map +1 -0
  525. package/lib/exercises/math/functions/trinoms/summitReading.js +61 -0
  526. package/lib/exercises/math/functions/trinoms/variationsFromAlgebricForm.d.ts +9 -0
  527. package/lib/exercises/math/functions/trinoms/variationsFromAlgebricForm.d.ts.map +1 -0
  528. package/lib/exercises/math/functions/trinoms/variationsFromAlgebricForm.js +45 -0
  529. package/lib/exercises/math/geometry/areas/circleArea.d.ts +9 -0
  530. package/lib/exercises/math/geometry/areas/circleArea.d.ts.map +1 -0
  531. package/lib/exercises/math/geometry/areas/circleArea.js +53 -0
  532. package/lib/exercises/math/geometry/areas/index.d.ts +7 -0
  533. package/lib/exercises/math/geometry/areas/index.d.ts.map +1 -0
  534. package/lib/exercises/math/geometry/areas/index.js +22 -0
  535. package/lib/exercises/math/geometry/areas/rectangleArea.d.ts +8 -0
  536. package/lib/exercises/math/geometry/areas/rectangleArea.d.ts.map +1 -0
  537. package/lib/exercises/math/geometry/areas/rectangleArea.js +47 -0
  538. package/lib/exercises/math/geometry/areas/rightTriangleArea.d.ts +7 -0
  539. package/lib/exercises/math/geometry/areas/rightTriangleArea.d.ts.map +1 -0
  540. package/lib/exercises/math/geometry/areas/rightTriangleArea.js +83 -0
  541. package/lib/exercises/math/geometry/areas/squareArea.d.ts +7 -0
  542. package/lib/exercises/math/geometry/areas/squareArea.d.ts.map +1 -0
  543. package/lib/exercises/math/geometry/areas/squareArea.js +47 -0
  544. package/lib/exercises/math/geometry/areas/triangleArea.d.ts +5 -0
  545. package/lib/exercises/math/geometry/areas/triangleArea.d.ts.map +1 -0
  546. package/lib/exercises/math/geometry/areas/triangleArea.js +107 -0
  547. package/lib/exercises/math/geometry/areas/triangleAreaV2.d.ts +7 -0
  548. package/lib/exercises/math/geometry/areas/triangleAreaV2.d.ts.map +1 -0
  549. package/lib/exercises/math/geometry/areas/triangleAreaV2.js +72 -0
  550. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts +8 -0
  551. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -0
  552. package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +96 -0
  553. package/lib/exercises/math/geometry/cartesian/index.d.ts +3 -0
  554. package/lib/exercises/math/geometry/cartesian/index.d.ts.map +1 -0
  555. package/lib/exercises/math/geometry/cartesian/index.js +18 -0
  556. package/lib/exercises/math/geometry/cartesian/midpoint.d.ts +8 -0
  557. package/lib/exercises/math/geometry/cartesian/midpoint.d.ts.map +1 -0
  558. package/lib/exercises/math/geometry/cartesian/midpoint.js +64 -0
  559. package/lib/exercises/math/geometry/index.d.ts +7 -0
  560. package/lib/exercises/math/geometry/index.d.ts.map +1 -0
  561. package/lib/exercises/math/geometry/index.js +22 -0
  562. package/lib/exercises/math/geometry/perimeters/circleCircumference.d.ts +9 -0
  563. package/lib/exercises/math/geometry/perimeters/circleCircumference.d.ts.map +1 -0
  564. package/lib/exercises/math/geometry/perimeters/circleCircumference.js +53 -0
  565. package/lib/exercises/math/geometry/perimeters/index.d.ts +5 -0
  566. package/lib/exercises/math/geometry/perimeters/index.d.ts.map +1 -0
  567. package/lib/exercises/math/geometry/perimeters/index.js +20 -0
  568. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.d.ts +8 -0
  569. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.d.ts.map +1 -0
  570. package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.js +47 -0
  571. package/lib/exercises/math/geometry/perimeters/squarePerimeter.d.ts +7 -0
  572. package/lib/exercises/math/geometry/perimeters/squarePerimeter.d.ts.map +1 -0
  573. package/lib/exercises/math/geometry/perimeters/squarePerimeter.js +47 -0
  574. package/lib/exercises/math/geometry/perimeters/trianglePerimeter.d.ts +7 -0
  575. package/lib/exercises/math/geometry/perimeters/trianglePerimeter.d.ts.map +1 -0
  576. package/lib/exercises/math/geometry/perimeters/trianglePerimeter.js +47 -0
  577. package/lib/exercises/math/geometry/pythagore/index.d.ts +3 -0
  578. package/lib/exercises/math/geometry/pythagore/index.d.ts.map +1 -0
  579. package/lib/exercises/math/geometry/pythagore/index.js +18 -0
  580. package/lib/exercises/math/geometry/pythagore/pythagore.d.ts +9 -0
  581. package/lib/exercises/math/geometry/pythagore/pythagore.d.ts.map +1 -0
  582. package/lib/exercises/math/geometry/pythagore/pythagore.js +73 -0
  583. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.d.ts +8 -0
  584. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.d.ts.map +1 -0
  585. package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +110 -0
  586. package/lib/exercises/math/geometry/thales/index.d.ts +3 -0
  587. package/lib/exercises/math/geometry/thales/index.d.ts.map +1 -0
  588. package/lib/exercises/math/geometry/thales/index.js +18 -0
  589. package/lib/exercises/math/geometry/thales/thales.d.ts +7 -0
  590. package/lib/exercises/math/geometry/thales/thales.d.ts.map +1 -0
  591. package/lib/exercises/math/geometry/thales/thales.js +136 -0
  592. package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts +10 -0
  593. package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -0
  594. package/lib/exercises/math/geometry/thales/thalesCalcul.js +151 -0
  595. package/lib/exercises/math/geometry/vectors/alignementViaColinearity.d.ts +12 -0
  596. package/lib/exercises/math/geometry/vectors/alignementViaColinearity.d.ts.map +1 -0
  597. package/lib/exercises/math/geometry/vectors/alignementViaColinearity.js +65 -0
  598. package/lib/exercises/math/geometry/vectors/chasles.d.ts +8 -0
  599. package/lib/exercises/math/geometry/vectors/chasles.d.ts.map +1 -0
  600. package/lib/exercises/math/geometry/vectors/chasles.js +64 -0
  601. package/lib/exercises/math/geometry/vectors/colinearity.d.ts +10 -0
  602. package/lib/exercises/math/geometry/vectors/colinearity.d.ts.map +1 -0
  603. package/lib/exercises/math/geometry/vectors/colinearity.js +60 -0
  604. package/lib/exercises/math/geometry/vectors/coordinatesReading.d.ts +10 -0
  605. package/lib/exercises/math/geometry/vectors/coordinatesReading.d.ts.map +1 -0
  606. package/lib/exercises/math/geometry/vectors/coordinatesReading.js +75 -0
  607. package/lib/exercises/math/geometry/vectors/determinant.d.ts +8 -0
  608. package/lib/exercises/math/geometry/vectors/determinant.d.ts.map +1 -0
  609. package/lib/exercises/math/geometry/vectors/determinant.js +55 -0
  610. package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.d.ts +9 -0
  611. package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.d.ts.map +1 -0
  612. package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.js +196 -0
  613. package/lib/exercises/math/geometry/vectors/fourthParallelogramPoint.d.ts +14 -0
  614. package/lib/exercises/math/geometry/vectors/fourthParallelogramPoint.d.ts.map +1 -0
  615. package/lib/exercises/math/geometry/vectors/fourthParallelogramPoint.js +66 -0
  616. package/lib/exercises/math/geometry/vectors/index.d.ts +13 -0
  617. package/lib/exercises/math/geometry/vectors/index.d.ts.map +1 -0
  618. package/lib/exercises/math/geometry/vectors/index.js +28 -0
  619. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.d.ts +14 -0
  620. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.d.ts.map +1 -0
  621. package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.js +76 -0
  622. package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.d.ts +14 -0
  623. package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.d.ts.map +1 -0
  624. package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.js +68 -0
  625. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.d.ts +8 -0
  626. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.d.ts.map +1 -0
  627. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.js +53 -0
  628. package/lib/exercises/math/geometry/vectors/scalarProductViaCos.d.ts +9 -0
  629. package/lib/exercises/math/geometry/vectors/scalarProductViaCos.d.ts.map +1 -0
  630. package/lib/exercises/math/geometry/vectors/scalarProductViaCos.js +67 -0
  631. package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts +8 -0
  632. package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts.map +1 -0
  633. package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.js +53 -0
  634. package/lib/exercises/math/index.d.ts +20 -0
  635. package/lib/exercises/math/index.d.ts.map +1 -0
  636. package/lib/exercises/math/index.js +35 -0
  637. package/lib/exercises/math/limits/index.d.ts +11 -0
  638. package/lib/exercises/math/limits/index.d.ts.map +1 -0
  639. package/lib/exercises/math/limits/index.js +26 -0
  640. package/lib/exercises/math/limits/limitReading.d.ts +10 -0
  641. package/lib/exercises/math/limits/limitReading.d.ts.map +1 -0
  642. package/lib/exercises/math/limits/limitReading.js +121 -0
  643. package/lib/exercises/math/limits/polynomLimit.d.ts +8 -0
  644. package/lib/exercises/math/limits/polynomLimit.d.ts.map +1 -0
  645. package/lib/exercises/math/limits/polynomLimit.js +54 -0
  646. package/lib/exercises/math/limits/polynomLimitNoFI.d.ts +8 -0
  647. package/lib/exercises/math/limits/polynomLimitNoFI.d.ts.map +1 -0
  648. package/lib/exercises/math/limits/polynomLimitNoFI.js +54 -0
  649. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.d.ts +9 -0
  650. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.d.ts.map +1 -0
  651. package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.js +70 -0
  652. package/lib/exercises/math/limits/rationalFracLimit.d.ts +9 -0
  653. package/lib/exercises/math/limits/rationalFracLimit.d.ts.map +1 -0
  654. package/lib/exercises/math/limits/rationalFracLimit.js +102 -0
  655. package/lib/exercises/math/limits/sequenceGeometricLimit.d.ts +8 -0
  656. package/lib/exercises/math/limits/sequenceGeometricLimit.d.ts.map +1 -0
  657. package/lib/exercises/math/limits/sequenceGeometricLimit.js +52 -0
  658. package/lib/exercises/math/limits/sequencePolynomLimit.d.ts +7 -0
  659. package/lib/exercises/math/limits/sequencePolynomLimit.d.ts.map +1 -0
  660. package/lib/exercises/math/limits/sequencePolynomLimit.js +53 -0
  661. package/lib/exercises/math/limits/sequencePolynomNoFILimit.d.ts +7 -0
  662. package/lib/exercises/math/limits/sequencePolynomNoFILimit.d.ts.map +1 -0
  663. package/lib/exercises/math/limits/sequencePolynomNoFILimit.js +53 -0
  664. package/lib/exercises/math/limits/sequencePolynomProductLimit.d.ts +8 -0
  665. package/lib/exercises/math/limits/sequencePolynomProductLimit.d.ts.map +1 -0
  666. package/lib/exercises/math/limits/sequencePolynomProductLimit.js +71 -0
  667. package/lib/exercises/math/limits/sequenceRationalFracLimit.d.ts +8 -0
  668. package/lib/exercises/math/limits/sequenceRationalFracLimit.d.ts.map +1 -0
  669. package/lib/exercises/math/limits/sequenceRationalFracLimit.js +101 -0
  670. package/lib/exercises/math/matrices/index.d.ts +3 -0
  671. package/lib/exercises/math/matrices/index.d.ts.map +1 -0
  672. package/lib/exercises/math/matrices/index.js +19 -0
  673. package/lib/exercises/math/matrices/matrixGeneralTerm.d.ts +10 -0
  674. package/lib/exercises/math/matrices/matrixGeneralTerm.d.ts.map +1 -0
  675. package/lib/exercises/math/matrices/matrixGeneralTerm.js +58 -0
  676. package/lib/exercises/math/matrices/matrixInversibilityDomain.d.ts +10 -0
  677. package/lib/exercises/math/matrices/matrixInversibilityDomain.d.ts.map +1 -0
  678. package/lib/exercises/math/matrices/matrixInversibilityDomain.js +95 -0
  679. package/lib/exercises/math/matrices/productCell.d.ts +10 -0
  680. package/lib/exercises/math/matrices/productCell.d.ts.map +1 -0
  681. package/lib/exercises/math/matrices/productCell.js +58 -0
  682. package/lib/exercises/math/percent/applyPercent.d.ts +9 -0
  683. package/lib/exercises/math/percent/applyPercent.d.ts.map +1 -0
  684. package/lib/exercises/math/percent/applyPercent.js +79 -0
  685. package/lib/exercises/math/percent/averageEvolutionRate.d.ts +8 -0
  686. package/lib/exercises/math/percent/averageEvolutionRate.d.ts.map +1 -0
  687. package/lib/exercises/math/percent/averageEvolutionRate.js +55 -0
  688. package/lib/exercises/math/percent/evolutionToCM.d.ts +8 -0
  689. package/lib/exercises/math/percent/evolutionToCM.d.ts.map +1 -0
  690. package/lib/exercises/math/percent/evolutionToCM.js +65 -0
  691. package/lib/exercises/math/percent/globalPercent.d.ts +7 -0
  692. package/lib/exercises/math/percent/globalPercent.d.ts.map +1 -0
  693. package/lib/exercises/math/percent/globalPercent.js +72 -0
  694. package/lib/exercises/math/percent/index.d.ts +8 -0
  695. package/lib/exercises/math/percent/index.d.ts.map +1 -0
  696. package/lib/exercises/math/percent/index.js +23 -0
  697. package/lib/exercises/math/percent/percentToDecimal.d.ts +8 -0
  698. package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -0
  699. package/lib/exercises/math/percent/percentToDecimal.js +71 -0
  700. package/lib/exercises/math/percent/reciprocalPercentage.d.ts +8 -0
  701. package/lib/exercises/math/percent/reciprocalPercentage.d.ts.map +1 -0
  702. package/lib/exercises/math/percent/reciprocalPercentage.js +62 -0
  703. package/lib/exercises/math/percent/valuePercent.d.ts +8 -0
  704. package/lib/exercises/math/percent/valuePercent.d.ts.map +1 -0
  705. package/lib/exercises/math/percent/valuePercent.js +46 -0
  706. package/lib/exercises/math/powers/calculateNegativePower.d.ts +8 -0
  707. package/lib/exercises/math/powers/calculateNegativePower.d.ts.map +1 -0
  708. package/lib/exercises/math/powers/calculateNegativePower.js +74 -0
  709. package/lib/exercises/math/powers/calculatePower.d.ts +8 -0
  710. package/lib/exercises/math/powers/calculatePower.d.ts.map +1 -0
  711. package/lib/exercises/math/powers/calculatePower.js +66 -0
  712. package/lib/exercises/math/powers/decimalToScientific.d.ts +7 -0
  713. package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -0
  714. package/lib/exercises/math/powers/decimalToScientific.js +77 -0
  715. package/lib/exercises/math/powers/index.d.ts +10 -0
  716. package/lib/exercises/math/powers/index.d.ts.map +1 -0
  717. package/lib/exercises/math/powers/index.js +25 -0
  718. package/lib/exercises/math/powers/powerDefinition.d.ts +8 -0
  719. package/lib/exercises/math/powers/powerDefinition.d.ts.map +1 -0
  720. package/lib/exercises/math/powers/powerDefinition.js +56 -0
  721. package/lib/exercises/math/powers/powersDivision.d.ts +13 -0
  722. package/lib/exercises/math/powers/powersDivision.d.ts.map +1 -0
  723. package/lib/exercises/math/powers/powersDivision.js +89 -0
  724. package/lib/exercises/math/powers/powersOfTenToDecimal.d.ts +10 -0
  725. package/lib/exercises/math/powers/powersOfTenToDecimal.d.ts.map +1 -0
  726. package/lib/exercises/math/powers/powersOfTenToDecimal.js +73 -0
  727. package/lib/exercises/math/powers/powersPower.d.ts +13 -0
  728. package/lib/exercises/math/powers/powersPower.d.ts.map +1 -0
  729. package/lib/exercises/math/powers/powersPower.js +96 -0
  730. package/lib/exercises/math/powers/powersProduct.d.ts +13 -0
  731. package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -0
  732. package/lib/exercises/math/powers/powersProduct.js +91 -0
  733. package/lib/exercises/math/powers/scientificToDecimal.d.ts +11 -0
  734. package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -0
  735. package/lib/exercises/math/powers/scientificToDecimal.js +75 -0
  736. package/lib/exercises/math/primitive/constantPrimitive.d.ts +10 -0
  737. package/lib/exercises/math/primitive/constantPrimitive.d.ts.map +1 -0
  738. package/lib/exercises/math/primitive/constantPrimitive.js +57 -0
  739. package/lib/exercises/math/primitive/expUPrimitive.d.ts +10 -0
  740. package/lib/exercises/math/primitive/expUPrimitive.d.ts.map +1 -0
  741. package/lib/exercises/math/primitive/expUPrimitive.js +77 -0
  742. package/lib/exercises/math/primitive/exponentialPrimitive.d.ts +10 -0
  743. package/lib/exercises/math/primitive/exponentialPrimitive.d.ts.map +1 -0
  744. package/lib/exercises/math/primitive/exponentialPrimitive.js +73 -0
  745. package/lib/exercises/math/primitive/index.d.ts +9 -0
  746. package/lib/exercises/math/primitive/index.d.ts.map +1 -0
  747. package/lib/exercises/math/primitive/index.js +32 -0
  748. package/lib/exercises/math/primitive/logarithmePrimitive.d.ts +9 -0
  749. package/lib/exercises/math/primitive/logarithmePrimitive.d.ts.map +1 -0
  750. package/lib/exercises/math/primitive/logarithmePrimitive.js +80 -0
  751. package/lib/exercises/math/primitive/polynomialPrimitive.d.ts +10 -0
  752. package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -0
  753. package/lib/exercises/math/primitive/polynomialPrimitive.js +61 -0
  754. package/lib/exercises/math/primitive/sinCosPrimitive.d.ts +11 -0
  755. package/lib/exercises/math/primitive/sinCosPrimitive.d.ts.map +1 -0
  756. package/lib/exercises/math/primitive/sinCosPrimitive.js +80 -0
  757. package/lib/exercises/math/primitive/sinUCosUPrimitive.d.ts +11 -0
  758. package/lib/exercises/math/primitive/sinUCosUPrimitive.d.ts.map +1 -0
  759. package/lib/exercises/math/primitive/sinUCosUPrimitive.js +86 -0
  760. package/lib/exercises/math/primitive/usualPrimitives.d.ts +11 -0
  761. package/lib/exercises/math/primitive/usualPrimitives.d.ts.map +1 -0
  762. package/lib/exercises/math/primitive/usualPrimitives.js +109 -0
  763. package/lib/exercises/math/probaStat/ballsBasicProbas.d.ts +8 -0
  764. package/lib/exercises/math/probaStat/ballsBasicProbas.d.ts.map +1 -0
  765. package/lib/exercises/math/probaStat/ballsBasicProbas.js +64 -0
  766. package/lib/exercises/math/probaStat/cardBasicProbas.d.ts +7 -0
  767. package/lib/exercises/math/probaStat/cardBasicProbas.d.ts.map +1 -0
  768. package/lib/exercises/math/probaStat/cardBasicProbas.js +105 -0
  769. package/lib/exercises/math/probaStat/conditionalProbability.d.ts +10 -0
  770. package/lib/exercises/math/probaStat/conditionalProbability.d.ts.map +1 -0
  771. package/lib/exercises/math/probaStat/conditionalProbability.js +92 -0
  772. package/lib/exercises/math/probaStat/diceBasicProbas.d.ts +9 -0
  773. package/lib/exercises/math/probaStat/diceBasicProbas.d.ts.map +1 -0
  774. package/lib/exercises/math/probaStat/diceBasicProbas.js +78 -0
  775. package/lib/exercises/math/probaStat/independancy.d.ts +9 -0
  776. package/lib/exercises/math/probaStat/independancy.d.ts.map +1 -0
  777. package/lib/exercises/math/probaStat/independancy.js +60 -0
  778. package/lib/exercises/math/probaStat/index.d.ts +12 -0
  779. package/lib/exercises/math/probaStat/index.d.ts.map +1 -0
  780. package/lib/exercises/math/probaStat/index.js +27 -0
  781. package/lib/exercises/math/probaStat/issuesCountingForCards.d.ts +7 -0
  782. package/lib/exercises/math/probaStat/issuesCountingForCards.d.ts.map +1 -0
  783. package/lib/exercises/math/probaStat/issuesCountingForCards.js +79 -0
  784. package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts +13 -0
  785. package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts.map +1 -0
  786. package/lib/exercises/math/probaStat/probaFromTableNoContext.js +116 -0
  787. package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts +13 -0
  788. package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts.map +1 -0
  789. package/lib/exercises/math/probaStat/probaFromTableWithContext.js +122 -0
  790. package/lib/exercises/math/probaStat/probabilityTree.d.ts +13 -0
  791. package/lib/exercises/math/probaStat/probabilityTree.d.ts.map +1 -0
  792. package/lib/exercises/math/probaStat/probabilityTree.js +146 -0
  793. package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts +8 -0
  794. package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -0
  795. package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +69 -0
  796. package/lib/exercises/math/probaStat/stats1var/index.d.ts +7 -0
  797. package/lib/exercises/math/probaStat/stats1var/index.d.ts.map +1 -0
  798. package/lib/exercises/math/probaStat/stats1var/index.js +22 -0
  799. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts +11 -0
  800. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -0
  801. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +130 -0
  802. package/lib/exercises/math/probaStat/stats1var/median.d.ts +7 -0
  803. package/lib/exercises/math/probaStat/stats1var/median.d.ts.map +1 -0
  804. package/lib/exercises/math/probaStat/stats1var/median.js +72 -0
  805. package/lib/exercises/math/probaStat/stats1var/medianList.d.ts +7 -0
  806. package/lib/exercises/math/probaStat/stats1var/medianList.d.ts.map +1 -0
  807. package/lib/exercises/math/probaStat/stats1var/medianList.js +57 -0
  808. package/lib/exercises/math/probaStat/stats1var/quartiles.d.ts +9 -0
  809. package/lib/exercises/math/probaStat/stats1var/quartiles.d.ts.map +1 -0
  810. package/lib/exercises/math/probaStat/stats1var/quartiles.js +85 -0
  811. package/lib/exercises/math/probaStat/stats1var/quartilesList.d.ts +8 -0
  812. package/lib/exercises/math/probaStat/stats1var/quartilesList.d.ts.map +1 -0
  813. package/lib/exercises/math/probaStat/stats1var/quartilesList.js +73 -0
  814. package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts +8 -0
  815. package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts.map +1 -0
  816. package/lib/exercises/math/probaStat/stats2var/averagePoint.js +74 -0
  817. package/lib/exercises/math/probaStat/stats2var/index.d.ts +2 -0
  818. package/lib/exercises/math/probaStat/stats2var/index.d.ts.map +1 -0
  819. package/lib/exercises/math/probaStat/stats2var/index.js +17 -0
  820. package/lib/exercises/math/python/index.d.ts +1 -0
  821. package/lib/exercises/math/python/index.d.ts.map +1 -0
  822. package/lib/exercises/math/python/index.js +1 -0
  823. package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts +9 -0
  824. package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts.map +1 -0
  825. package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +55 -0
  826. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts +8 -0
  827. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -0
  828. package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +58 -0
  829. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts +9 -0
  830. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -0
  831. package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.js +49 -0
  832. package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.d.ts +10 -0
  833. package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.d.ts.map +1 -0
  834. package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.js +51 -0
  835. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.d.ts +9 -0
  836. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +1 -0
  837. package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.js +52 -0
  838. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts +9 -0
  839. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -0
  840. package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +52 -0
  841. package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts +9 -0
  842. package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -0
  843. package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.js +60 -0
  844. package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.d.ts +7 -0
  845. package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.d.ts.map +1 -0
  846. package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.js +47 -0
  847. package/lib/exercises/math/sequences/arithmetic/index.d.ts +13 -0
  848. package/lib/exercises/math/sequences/arithmetic/index.d.ts.map +1 -0
  849. package/lib/exercises/math/sequences/arithmetic/index.js +28 -0
  850. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts +8 -0
  851. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts.map +1 -0
  852. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.js +72 -0
  853. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts +8 -0
  854. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts.map +1 -0
  855. package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.js +89 -0
  856. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.d.ts +8 -0
  857. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.d.ts.map +1 -0
  858. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.js +45 -0
  859. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.d.ts +8 -0
  860. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.d.ts.map +1 -0
  861. package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.js +60 -0
  862. package/lib/exercises/math/sequences/explicitFormulaUsage.d.ts +8 -0
  863. package/lib/exercises/math/sequences/explicitFormulaUsage.d.ts.map +1 -0
  864. package/lib/exercises/math/sequences/explicitFormulaUsage.js +51 -0
  865. package/lib/exercises/math/sequences/genericSequenceVariations.d.ts +7 -0
  866. package/lib/exercises/math/sequences/genericSequenceVariations.d.ts.map +1 -0
  867. package/lib/exercises/math/sequences/genericSequenceVariations.js +53 -0
  868. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.d.ts +9 -0
  869. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.d.ts.map +1 -0
  870. package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +57 -0
  871. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts +8 -0
  872. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -0
  873. package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +61 -0
  874. package/lib/exercises/math/sequences/geometric/geometricFindReason.d.ts +9 -0
  875. package/lib/exercises/math/sequences/geometric/geometricFindReason.d.ts.map +1 -0
  876. package/lib/exercises/math/sequences/geometric/geometricFindReason.js +52 -0
  877. package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.d.ts +8 -0
  878. package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.d.ts.map +1 -0
  879. package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.js +56 -0
  880. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.d.ts +9 -0
  881. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.d.ts.map +1 -0
  882. package/lib/exercises/math/sequences/geometric/geometricReasonUsage.js +54 -0
  883. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts +9 -0
  884. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +1 -0
  885. package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.js +55 -0
  886. package/lib/exercises/math/sequences/geometric/index.d.ts +7 -0
  887. package/lib/exercises/math/sequences/geometric/index.d.ts.map +1 -0
  888. package/lib/exercises/math/sequences/geometric/index.js +22 -0
  889. package/lib/exercises/math/sequences/index.d.ts +6 -0
  890. package/lib/exercises/math/sequences/index.d.ts.map +1 -0
  891. package/lib/exercises/math/sequences/index.js +21 -0
  892. package/lib/exercises/math/sequences/recurrenceFormulaUsage.d.ts +9 -0
  893. package/lib/exercises/math/sequences/recurrenceFormulaUsage.d.ts.map +1 -0
  894. package/lib/exercises/math/sequences/recurrenceFormulaUsage.js +56 -0
  895. package/lib/exercises/math/sets/index.d.ts +3 -0
  896. package/lib/exercises/math/sets/index.d.ts.map +1 -0
  897. package/lib/exercises/math/sets/index.js +18 -0
  898. package/lib/exercises/math/sets/intervals/index.d.ts +4 -0
  899. package/lib/exercises/math/sets/intervals/index.d.ts.map +1 -0
  900. package/lib/exercises/math/sets/intervals/index.js +19 -0
  901. package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts +11 -0
  902. package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts.map +1 -0
  903. package/lib/exercises/math/sets/intervals/inequalityToInterval.js +149 -0
  904. package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts +13 -0
  905. package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts.map +1 -0
  906. package/lib/exercises/math/sets/intervals/intervalsIntersection.js +64 -0
  907. package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts +13 -0
  908. package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts.map +1 -0
  909. package/lib/exercises/math/sets/intervals/intervalsUnion.js +56 -0
  910. package/lib/exercises/math/sets/setBelonging.d.ts +8 -0
  911. package/lib/exercises/math/sets/setBelonging.d.ts.map +1 -0
  912. package/lib/exercises/math/sets/setBelonging.js +85 -0
  913. package/lib/exercises/math/squareRoots/index.d.ts +6 -0
  914. package/lib/exercises/math/squareRoots/index.d.ts.map +1 -0
  915. package/lib/exercises/math/squareRoots/index.js +21 -0
  916. package/lib/exercises/math/squareRoots/simpifySquareRoot.d.ts +7 -0
  917. package/lib/exercises/math/squareRoots/simpifySquareRoot.d.ts.map +1 -0
  918. package/lib/exercises/math/squareRoots/simpifySquareRoot.js +55 -0
  919. package/lib/exercises/math/squareRoots/squareRootEquation.d.ts +7 -0
  920. package/lib/exercises/math/squareRoots/squareRootEquation.d.ts.map +1 -0
  921. package/lib/exercises/math/squareRoots/squareRootEquation.js +55 -0
  922. package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts +11 -0
  923. package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts.map +1 -0
  924. package/lib/exercises/math/squareRoots/squareRootIdentities.js +125 -0
  925. package/lib/exercises/math/squareRoots/squareRootsDistributivity.d.ts +10 -0
  926. package/lib/exercises/math/squareRoots/squareRootsDistributivity.d.ts.map +1 -0
  927. package/lib/exercises/math/squareRoots/squareRootsDistributivity.js +68 -0
  928. package/lib/exercises/math/squareRoots/squareRootsSum.d.ts +13 -0
  929. package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -0
  930. package/lib/exercises/math/squareRoots/squareRootsSum.js +81 -0
  931. package/lib/exercises/math/trigonometry/associatePoint.d.ts +7 -0
  932. package/lib/exercises/math/trigonometry/associatePoint.d.ts.map +1 -0
  933. package/lib/exercises/math/trigonometry/associatePoint.js +65 -0
  934. package/lib/exercises/math/trigonometry/index.d.ts +7 -0
  935. package/lib/exercises/math/trigonometry/index.d.ts.map +1 -0
  936. package/lib/exercises/math/trigonometry/index.js +22 -0
  937. package/lib/exercises/math/trigonometry/mainRemarkableValues.d.ts +8 -0
  938. package/lib/exercises/math/trigonometry/mainRemarkableValues.d.ts.map +1 -0
  939. package/lib/exercises/math/trigonometry/mainRemarkableValues.js +73 -0
  940. package/lib/exercises/math/trigonometry/remarkableValues.d.ts +8 -0
  941. package/lib/exercises/math/trigonometry/remarkableValues.d.ts.map +1 -0
  942. package/lib/exercises/math/trigonometry/remarkableValues.js +76 -0
  943. package/lib/exercises/math/trigonometry/trigonometry.d.ts +11 -0
  944. package/lib/exercises/math/trigonometry/trigonometry.d.ts.map +1 -0
  945. package/lib/exercises/math/trigonometry/trigonometry.js +120 -0
  946. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts +9 -0
  947. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -0
  948. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +79 -0
  949. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts +10 -0
  950. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -0
  951. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +93 -0
  952. package/lib/exercises/pc/chemicalEquations.d.ts +8 -0
  953. package/lib/exercises/pc/chemicalEquations.d.ts.map +1 -0
  954. package/lib/exercises/pc/chemicalEquations.js +46 -0
  955. package/lib/exercises/pc/chemicalReactionsProduct.d.ts +9 -0
  956. package/lib/exercises/pc/chemicalReactionsProduct.d.ts.map +1 -0
  957. package/lib/exercises/pc/chemicalReactionsProduct.js +52 -0
  958. package/lib/exercises/pc/delution.d.ts +9 -0
  959. package/lib/exercises/pc/delution.d.ts.map +1 -0
  960. package/lib/exercises/pc/delution.js +57 -0
  961. package/lib/exercises/pc/formulaFromComposition.d.ts +7 -0
  962. package/lib/exercises/pc/formulaFromComposition.d.ts.map +1 -0
  963. package/lib/exercises/pc/formulaFromComposition.js +70 -0
  964. package/lib/exercises/pc/index.d.ts +13 -0
  965. package/lib/exercises/pc/index.d.ts.map +1 -0
  966. package/lib/exercises/pc/index.js +28 -0
  967. package/lib/exercises/pc/kineticEnergy.d.ts +8 -0
  968. package/lib/exercises/pc/kineticEnergy.d.ts.map +1 -0
  969. package/lib/exercises/pc/kineticEnergy.js +51 -0
  970. package/lib/exercises/pc/molarQuantity.d.ts +8 -0
  971. package/lib/exercises/pc/molarQuantity.d.ts.map +1 -0
  972. package/lib/exercises/pc/molarQuantity.js +63 -0
  973. package/lib/exercises/pc/moleculeFormula.d.ts +7 -0
  974. package/lib/exercises/pc/moleculeFormula.d.ts.map +1 -0
  975. package/lib/exercises/pc/moleculeFormula.js +52 -0
  976. package/lib/exercises/pc/moleculeNomenclature.d.ts +7 -0
  977. package/lib/exercises/pc/moleculeNomenclature.d.ts.map +1 -0
  978. package/lib/exercises/pc/moleculeNomenclature.js +51 -0
  979. package/lib/exercises/pc/pH.d.ts +8 -0
  980. package/lib/exercises/pc/pH.d.ts.map +1 -0
  981. package/lib/exercises/pc/pH.js +54 -0
  982. package/lib/exercises/pc/perceivedFrequency.d.ts +8 -0
  983. package/lib/exercises/pc/perceivedFrequency.d.ts.map +1 -0
  984. package/lib/exercises/pc/perceivedFrequency.js +57 -0
  985. package/lib/exercises/pc/potentialEnergy.d.ts +8 -0
  986. package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -0
  987. package/lib/exercises/pc/potentialEnergy.js +53 -0
  988. package/lib/exercises/pc/snellDescartes.d.ts +9 -0
  989. package/lib/exercises/pc/snellDescartes.d.ts.map +1 -0
  990. package/lib/exercises/pc/snellDescartes.js +110 -0
  991. package/lib/index.d.ts +329 -358
  992. package/lib/index.d.ts.map +1 -1
  993. package/lib/index.js +7 -4
  994. package/lib/math/numbers/integer/integer.d.ts.map +1 -1
  995. package/lib/pc/molecularChemistry/atomSymbols.d.ts +2 -0
  996. package/lib/pc/molecularChemistry/atomSymbols.d.ts.map +1 -0
  997. package/lib/pc/molecularChemistry/atomSymbols.js +2 -0
  998. package/lib/pc/molecularChemistry/atome.d.ts +17 -0
  999. package/lib/pc/molecularChemistry/atome.d.ts.map +1 -0
  1000. package/lib/pc/molecularChemistry/atome.js +138 -0
  1001. package/lib/pc/molecularChemistry/molecule.d.ts +24 -0
  1002. package/lib/pc/molecularChemistry/molecule.d.ts.map +1 -0
  1003. package/lib/pc/molecularChemistry/molecule.js +568 -0
  1004. package/lib/pc/molecularChemistry/reaction.d.ts +26 -0
  1005. package/lib/pc/molecularChemistry/reaction.d.ts.map +1 -0
  1006. package/lib/pc/molecularChemistry/reaction.js +462 -0
  1007. package/lib/server.d.ts +0 -2
  1008. package/lib/server.d.ts.map +1 -1
  1009. package/lib/server.js +7 -6
  1010. package/package.json +1 -1
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.thirdDegreeDerivative = exports.secondDegreeDerivative = exports.firstDegreeDerivative = exports.constanteDerivative = void 0;
18
+ var constanteDerivative_1 = require("./constanteDerivative");
19
+ Object.defineProperty(exports, "constanteDerivative", { enumerable: true, get: function () { return constanteDerivative_1.constanteDerivative; } });
20
+ __exportStar(require("./expDerivativeOne"), exports);
21
+ __exportStar(require("./expDerivativeThree"), exports);
22
+ __exportStar(require("./expDerivativeTwo"), exports);
23
+ var firstDegreeDerivative_1 = require("./firstDegreeDerivative");
24
+ Object.defineProperty(exports, "firstDegreeDerivative", { enumerable: true, get: function () { return firstDegreeDerivative_1.firstDegreeDerivative; } });
25
+ __exportStar(require("./inverseFunctionDerivative"), exports);
26
+ __exportStar(require("./lnDerivativeOne"), exports);
27
+ __exportStar(require("./lnDerivativeThree"), exports);
28
+ __exportStar(require("./lnDerivativeTwo"), exports);
29
+ __exportStar(require("./powerFunctionDerivative"), exports);
30
+ __exportStar(require("./quotientDerivative"), exports);
31
+ __exportStar(require("./productDerivative"), exports);
32
+ __exportStar(require("./rootFunctionDerivative"), exports);
33
+ var secondDegreeDerivative_1 = require("./secondDegreeDerivative");
34
+ Object.defineProperty(exports, "secondDegreeDerivative", { enumerable: true, get: function () { return secondDegreeDerivative_1.secondDegreeDerivative; } });
35
+ var thirdDegreeDerivative_1 = require("./thirdDegreeDerivative");
36
+ Object.defineProperty(exports, "thirdDegreeDerivative", { enumerable: true, get: function () { return thirdDegreeDerivative_1.thirdDegreeDerivative; } });
37
+ __exportStar(require("./thirdDegreeFunctionVariation"), exports);
38
+ __exportStar(require("./usualderivative"), exports);
39
+ __exportStar(require("./sqrtCompositionDerivation"), exports);
40
+ __exportStar(require("./cosCompositionDerivation"), exports);
41
+ __exportStar(require("./sinCompositionDerivation"), exports);
42
+ __exportStar(require("./powerCompositionDerivation"), exports);
@@ -0,0 +1,7 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ };
5
+ export declare const inverseFunctionDerivative: Exercise<Identifiers>;
6
+ export {};
7
+ //# sourceMappingURL=inverseFunctionDerivative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inverseFunctionDerivative.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/inverseFunctionDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2CF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAc3D,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inverseFunctionDerivative = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const randint_1 = require("../../../../math/utils/random/randint");
7
+ const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
8
+ const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
9
+ const powerNode_1 = require("../../../../tree/nodes/operators/powerNode");
10
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
11
+ const getInverseFunctionDerivative = () => {
12
+ const a = (0, randint_1.randint)(-19, 20, [0]);
13
+ const answer = `${a > 0 ? "-" : ""}\\frac{${Math.abs(a)}}{x^2}`;
14
+ const question = {
15
+ instruction: `Déterminer la fonction dérivée $f'$ de la fonction $f$ définie par $f(x) =\\frac{${a}}{x}$.`,
16
+ startStatement: `f'(x)`,
17
+ answer,
18
+ keys: ["x"],
19
+ answerFormat: "tex",
20
+ identifiers: { a },
21
+ };
22
+ return question;
23
+ };
24
+ const getPropositions = (n, { answer, a }) => {
25
+ const propositions = [];
26
+ (0, exercise_1.addValidProp)(propositions, answer);
27
+ (0, exercise_1.tryToAddWrongProp)(propositions, `\\frac{${a}}{x^2}`);
28
+ (0, exercise_1.tryToAddWrongProp)(propositions, `\\frac{${a}}{x}`);
29
+ (0, exercise_1.tryToAddWrongProp)(propositions, `${a}`);
30
+ (0, exercise_1.tryToAddWrongProp)(propositions, `\\frac{${2 * a}}{x}`);
31
+ while (propositions.length < n) {
32
+ const wrongAnswer = `\\frac{${(0, randint_1.randint)(-9, 10, [0, -a])}}{x^2}`;
33
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer);
34
+ }
35
+ return (0, exercise_1.shuffleProps)(propositions, n);
36
+ };
37
+ const isAnswerValid = (ans, { a }) => {
38
+ const answerTree = new fractionNode_1.FractionNode(new numberNode_1.NumberNode(-a), new powerNode_1.SquareNode(new variableNode_1.VariableNode("x")));
39
+ const texs = answerTree.toAllValidTexs();
40
+ console.log(texs);
41
+ return texs.includes(ans);
42
+ };
43
+ exports.inverseFunctionDerivative = {
44
+ id: "inverseFunctionDerivative",
45
+ connector: "=",
46
+ label: "Dérivée d'une fonction inverse",
47
+ levels: ["1reESM", "1reSpé", "1reTech", "MathComp", "TermTech"],
48
+ sections: ["Dérivation", "Fonction inverse"],
49
+ isSingleStep: false,
50
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getInverseFunctionDerivative, nb),
51
+ qcmTimer: 60,
52
+ freeTimer: 60,
53
+ getPropositions,
54
+ isAnswerValid,
55
+ subject: "Mathématiques",
56
+ };
@@ -0,0 +1,8 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ b: number;
5
+ };
6
+ export declare const lnDerivativeOne: Exercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=lnDerivativeOne.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lnDerivativeOne.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/lnDerivativeOne.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqDF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAajD,CAAC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lnDerivativeOne = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const polynomial_1 = require("../../../../math/polynomials/polynomial");
7
+ const rationalFrac_1 = require("../../../../math/polynomials/rationalFrac");
8
+ const randint_1 = require("../../../../math/utils/random/randint");
9
+ const expNode_1 = require("../../../../tree/nodes/functions/expNode");
10
+ const logNode_1 = require("../../../../tree/nodes/functions/logNode");
11
+ const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
12
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
13
+ const getLnDerivative = () => {
14
+ const a = (0, randint_1.randint)(-9, 10, [0]);
15
+ const b = (0, randint_1.randint)(-9, 10);
16
+ const polynom = new polynomial_1.Polynomial([b, a]);
17
+ const logTree = new logNode_1.LogNode(polynom.toTree());
18
+ const answer = new rationalFrac_1.RationalFrac(new polynomial_1.Polynomial([a]), polynom)
19
+ .simplify()
20
+ .toTree()
21
+ .toTex();
22
+ const question = {
23
+ instruction: `Déterminer la dérivée de la fonction $f(x) = ${logTree.toTex()}$.`,
24
+ startStatement: "f'(x)",
25
+ answer,
26
+ keys: ["x", "ln", "epower"],
27
+ answerFormat: "tex",
28
+ identifiers: { a, b },
29
+ };
30
+ return question;
31
+ };
32
+ const getPropositions = (n, { answer, a, b }) => {
33
+ const propositions = [];
34
+ (0, exercise_1.addValidProp)(propositions, answer);
35
+ const polynom = new polynomial_1.Polynomial([b, a]);
36
+ const logTree = new logNode_1.LogNode(polynom.toTree());
37
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), logTree).toTex());
38
+ (0, exercise_1.tryToAddWrongProp)(propositions, a + "");
39
+ (0, exercise_1.tryToAddWrongProp)(propositions, new expNode_1.ExpNode(polynom.toTree()).toTex());
40
+ (0, exercise_1.tryToAddWrongProp)(propositions, polynom.toTree().toTex());
41
+ (0, exercise_1.tryToAddWrongProp)(propositions, `\\frac{${a}}{${logTree.toTex()}}`);
42
+ (0, exercise_1.tryToAddWrongProp)(propositions, `\\frac{1}{${polynom.toTree().toTex()}}`);
43
+ return (0, exercise_1.shuffleProps)(propositions, n);
44
+ };
45
+ const isAnswerValid = (ans, { a, b }) => {
46
+ const frac = new rationalFrac_1.RationalFrac(new polynomial_1.Polynomial([a]), new polynomial_1.Polynomial([b, a]));
47
+ const nonSimplified = frac.toTree();
48
+ const simplified = frac.simplify().toTree();
49
+ const texs = [
50
+ ...simplified.toAllValidTexs(),
51
+ ...nonSimplified.toAllValidTexs(),
52
+ ];
53
+ console.log(texs);
54
+ return texs.includes(ans);
55
+ };
56
+ exports.lnDerivativeOne = {
57
+ id: "lnDerivativeOne",
58
+ connector: "=",
59
+ label: "Dérivée de $\\ln(ax + b)$",
60
+ levels: ["1reESM", "1reSpé", "1reTech", "MathComp", "TermSpé"],
61
+ sections: ["Dérivation", "Logarithme népérien"],
62
+ isSingleStep: false,
63
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getLnDerivative, nb),
64
+ qcmTimer: 60,
65
+ freeTimer: 60,
66
+ getPropositions,
67
+ isAnswerValid,
68
+ subject: "Mathématiques",
69
+ };
@@ -0,0 +1,8 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ b: number;
5
+ };
6
+ export declare const lnDerivativeThree: Exercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=lnDerivativeThree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lnDerivativeThree.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/lnDerivativeThree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAclC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA8FF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAanD,CAAC"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lnDerivativeThree = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const affine_1 = require("../../../../math/polynomials/affine");
7
+ const polynomial_1 = require("../../../../math/polynomials/polynomial");
8
+ const randint_1 = require("../../../../math/utils/random/randint");
9
+ const logNode_1 = require("../../../../tree/nodes/functions/logNode");
10
+ const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
11
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
12
+ const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
13
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
14
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
15
+ const getLnDerivative = () => {
16
+ const a = (0, randint_1.randint)(-9, 10, [0]);
17
+ const b = (0, randint_1.randint)(-9, 10);
18
+ const affine = new polynomial_1.Polynomial([b, a]).toTree();
19
+ const myfunction = new multiplyNode_1.MultiplyNode(affine, new logNode_1.LogNode(new variableNode_1.VariableNode("x")));
20
+ const derivative = new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new logNode_1.LogNode(new variableNode_1.VariableNode("x"))), new fractionNode_1.FractionNode(affine, new variableNode_1.VariableNode("x")));
21
+ const answer = derivative.toTex();
22
+ const question = {
23
+ instruction: `Déterminer la dérivée de la fonction $f(x) = ${myfunction.toTex()} $.`,
24
+ startStatement: "f'(x)",
25
+ answer,
26
+ keys: ["x", "ln", "epower"],
27
+ answerFormat: "tex",
28
+ identifiers: { a, b },
29
+ };
30
+ return question;
31
+ };
32
+ const getPropositions = (n, { answer, a, b }) => {
33
+ const propositions = [];
34
+ (0, exercise_1.addValidProp)(propositions, answer);
35
+ const affine = new affine_1.Affine(a, b).toTree();
36
+ (0, exercise_1.tryToAddWrongProp)(propositions, new fractionNode_1.FractionNode(new numberNode_1.NumberNode(a), new variableNode_1.VariableNode("x")).toTex());
37
+ (0, exercise_1.tryToAddWrongProp)(propositions, new fractionNode_1.FractionNode(affine, new variableNode_1.VariableNode("x")).toTex());
38
+ if (a === 1)
39
+ (0, exercise_1.tryToAddWrongProp)(propositions, "\\ln\\left(x\\right)");
40
+ else
41
+ (0, exercise_1.tryToAddWrongProp)(propositions, `${a}\\ln\\left(x\\right)`);
42
+ while (propositions.length < n) {
43
+ const randomA = (0, randint_1.randint)(-9, 10, [0]);
44
+ const randomB = (0, randint_1.randint)(-9, 10);
45
+ (0, exercise_1.tryToAddWrongProp)(propositions, new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(randomA), new logNode_1.LogNode(new variableNode_1.VariableNode("x"))), new fractionNode_1.FractionNode(new polynomial_1.Polynomial([randomB, randomA]).toTree(), new variableNode_1.VariableNode("x"))).toTex());
46
+ }
47
+ return (0, exercise_1.shuffleProps)(propositions, n);
48
+ };
49
+ const isAnswerValid = (ans, { a, b }) => {
50
+ const affine = new affine_1.Affine(a, b);
51
+ const xNode = new variableNode_1.VariableNode("x");
52
+ const aNode = new numberNode_1.NumberNode(a);
53
+ const bNode = new fractionNode_1.FractionNode(new numberNode_1.NumberNode(b), xNode);
54
+ const fracNode = new fractionNode_1.FractionNode(affine.toTree(), xNode);
55
+ const logNode = new logNode_1.LogNode(xNode);
56
+ const raw = new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(aNode, logNode), fracNode);
57
+ let developped = new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(aNode, logNode), fracNode);
58
+ let simplified = new multiplyNode_1.MultiplyNode(aNode, new addNode_1.AddNode(logNode, new numberNode_1.NumberNode(1)));
59
+ if (b !== 0) {
60
+ developped = new addNode_1.AddNode(developped, bNode);
61
+ simplified = new addNode_1.AddNode(simplified, bNode);
62
+ }
63
+ const texs = [
64
+ ...raw.toAllValidTexs(),
65
+ ...developped.toAllValidTexs(),
66
+ ...simplified.toAllValidTexs(),
67
+ ];
68
+ console.log(ans, texs);
69
+ return texs.includes(ans);
70
+ };
71
+ exports.lnDerivativeThree = {
72
+ id: "lnDerivativeThree",
73
+ connector: "=",
74
+ label: "Dérivée de $\\ln(x) \\times (ax+b)$",
75
+ levels: ["1reESM", "1reSpé", "1reTech", "MathComp", "TermSpé"],
76
+ sections: ["Dérivation", "Logarithme népérien"],
77
+ isSingleStep: false,
78
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getLnDerivative, nb),
79
+ qcmTimer: 60,
80
+ freeTimer: 60,
81
+ getPropositions,
82
+ isAnswerValid,
83
+ subject: "Mathématiques",
84
+ };
@@ -0,0 +1,8 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ b: number;
5
+ };
6
+ export declare const lnDerivativeTwo: Exercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=lnDerivativeTwo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lnDerivativeTwo.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/lnDerivativeTwo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6DF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAajD,CAAC"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lnDerivativeTwo = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const randint_1 = require("../../../../math/utils/random/randint");
7
+ const expNode_1 = require("../../../../tree/nodes/functions/expNode");
8
+ const logNode_1 = require("../../../../tree/nodes/functions/logNode");
9
+ const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
10
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
11
+ const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
12
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
13
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
14
+ const shuffle_1 = require("../../../../utils/shuffle");
15
+ const getLnDerivative = () => {
16
+ const a = (0, randint_1.randint)(-9, 10, [0]);
17
+ const b = (0, randint_1.randint)(-9, 10, [0]);
18
+ const myfunction = new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new logNode_1.LogNode(new variableNode_1.VariableNode("x"))), new numberNode_1.NumberNode(b));
19
+ const derivative = new fractionNode_1.FractionNode(new numberNode_1.NumberNode(a), new variableNode_1.VariableNode("x"));
20
+ const answer = derivative.toTex();
21
+ const question = {
22
+ instruction: `Déterminer la dérivée de la fonction $f(x) = ${myfunction.toTex()}$.`,
23
+ startStatement: "f'(x)",
24
+ answer,
25
+ keys: ["x", "ln", "epower"],
26
+ answerFormat: "tex",
27
+ identifiers: { a, b },
28
+ };
29
+ return question;
30
+ };
31
+ const getPropositions = (n, { answer, a, b }) => {
32
+ const propositions = [];
33
+ (0, exercise_1.addValidProp)(propositions, answer);
34
+ (0, exercise_1.tryToAddWrongProp)(propositions, new addNode_1.AddNode(new fractionNode_1.FractionNode(new numberNode_1.NumberNode(a), new variableNode_1.VariableNode("x")), new numberNode_1.NumberNode(b)).toTex());
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, a + "");
36
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new expNode_1.ExpNode(new variableNode_1.VariableNode("x"))).toTex());
37
+ while (propositions.length < n) {
38
+ const randomA = (0, randint_1.randint)(-9, 10, [0]);
39
+ (0, exercise_1.tryToAddWrongProp)(propositions, new fractionNode_1.FractionNode(new numberNode_1.NumberNode(randomA), new variableNode_1.VariableNode("x")).toTex());
40
+ }
41
+ return (0, shuffle_1.shuffle)(propositions);
42
+ };
43
+ const isAnswerValid = (ans, { a }) => {
44
+ const derivative = new fractionNode_1.FractionNode(new numberNode_1.NumberNode(a), new variableNode_1.VariableNode("x"));
45
+ const texs = derivative.toAllValidTexs();
46
+ return texs.includes(ans);
47
+ };
48
+ exports.lnDerivativeTwo = {
49
+ id: "lnDerivativeTwo",
50
+ connector: "=",
51
+ label: "Dérivée de $a \\times \\ln(x) + b$",
52
+ levels: ["1reESM", "1reSpé", "1reTech", "MathComp", "TermSpé"],
53
+ sections: ["Dérivation", "Logarithme népérien"],
54
+ isSingleStep: false,
55
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getLnDerivative, nb),
56
+ getPropositions,
57
+ isAnswerValid,
58
+ qcmTimer: 60,
59
+ freeTimer: 60,
60
+ subject: "Mathématiques",
61
+ };
@@ -0,0 +1,9 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ affineA: number;
4
+ affineB: number;
5
+ power: number;
6
+ };
7
+ export declare const powerCompositionDerivation: Exercise<Identifiers>;
8
+ export {};
9
+ //# sourceMappingURL=powerCompositionDerivation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"powerCompositionDerivation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/powerCompositionDerivation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA4EF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.powerCompositionDerivation = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const affine_1 = require("../../../../math/polynomials/affine");
7
+ const randint_1 = require("../../../../math/utils/random/randint");
8
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
9
+ const powerNode_1 = require("../../../../tree/nodes/operators/powerNode");
10
+ const getPowerCompositionDerivationQuestion = () => {
11
+ const affine = affine_1.AffineConstructor.random(undefined, { excludes: [0] });
12
+ const affineTree = affine.toTree();
13
+ const power = (0, randint_1.randint)(3, 10);
14
+ const powerTree = power.toTree();
15
+ const fct = new powerNode_1.PowerNode(affineTree, powerTree);
16
+ const deriv = new multiplyNode_1.MultiplyNode((power * affine.a).toTree(), new powerNode_1.PowerNode(affineTree, (power - 1).toTree()));
17
+ const question = {
18
+ answer: deriv.toTex(),
19
+ instruction: `Déterminer la dérivée de $f(x) = ${fct.toTex()}$`,
20
+ keys: ["x"],
21
+ answerFormat: "tex",
22
+ identifiers: { affineA: affine.a, affineB: affine.b, power },
23
+ };
24
+ return question;
25
+ };
26
+ const getPropositions = (n, { answer, affineA, affineB, power }) => {
27
+ console.log("qcm");
28
+ const propositions = [];
29
+ const affineTree = new affine_1.Affine(affineA, affineB).toTree();
30
+ (0, exercise_1.addValidProp)(propositions, answer);
31
+ const powerN = new powerNode_1.PowerNode(affineTree, power.toTree());
32
+ const powerNMinusOne = new powerNode_1.PowerNode(affineTree, (power - 1).toTree());
33
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(power.toTree(), powerNMinusOne).toTex());
34
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(affineA.toTree(), powerN).toTex());
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(affineA.toTree(), powerNMinusOne).toTex());
36
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode((power * affineA).toTree(), powerN).toTex());
37
+ while (propositions.length < n) {
38
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode((0, randint_1.randint)(-10, 10).toTree(), powerN).toTex());
39
+ console.log("prop");
40
+ }
41
+ return (0, exercise_1.shuffleProps)(propositions, n);
42
+ };
43
+ const isAnswerValid = (ans, { answer, power, affineA, affineB }) => {
44
+ const affineTree = new affine_1.Affine(affineA, affineB).toTree();
45
+ const deriv = new multiplyNode_1.MultiplyNode((power * affineA).toTree(), new powerNode_1.PowerNode(affineTree, (power - 1).toTree()));
46
+ const texs = deriv.toAllValidTexs({ forbidPowerToProduct: true });
47
+ return texs.includes(ans);
48
+ };
49
+ exports.powerCompositionDerivation = {
50
+ id: "powerCompositionDerivation",
51
+ connector: "=",
52
+ label: "Dérivée de $\\left(ax+b\\right)^n$",
53
+ levels: ["1reSpé"],
54
+ isSingleStep: true,
55
+ sections: ["Dérivation"],
56
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getPowerCompositionDerivationQuestion, nb),
57
+ qcmTimer: 60,
58
+ freeTimer: 60,
59
+ getPropositions,
60
+ isAnswerValid,
61
+ subject: "Mathématiques",
62
+ };
@@ -0,0 +1,8 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ power: number;
5
+ };
6
+ export declare const powerFunctionDerivative: Exercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=powerFunctionDerivative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"powerFunctionDerivative.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/powerFunctionDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAgHF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,CAezD,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.powerFunctionDerivative = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const randint_1 = require("../../../../math/utils/random/randint");
7
+ const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
8
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
9
+ const powerNode_1 = require("../../../../tree/nodes/operators/powerNode");
10
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
11
+ const getPowerFunctionDerivative = () => {
12
+ const a = (0, randint_1.randint)(-9, 10, [0]);
13
+ const power = (0, randint_1.randint)(2, 10);
14
+ const statement = new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(power)));
15
+ const answerStatement = power > 2
16
+ ? new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * power), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(power - 1)))
17
+ : new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * power), new variableNode_1.VariableNode("x"));
18
+ const answer = answerStatement.toTex();
19
+ const question = {
20
+ instruction: `Déterminer la fonction dérivée $f'$ de la fonction $f$ définie par $f(x) =${statement.toTex()}$.`,
21
+ startStatement: `f'(x)`,
22
+ answer,
23
+ keys: ["x"],
24
+ answerFormat: "tex",
25
+ identifiers: { a, power },
26
+ };
27
+ return question;
28
+ };
29
+ const getPropositions = (n, { answer, a, power }) => {
30
+ const propositions = [];
31
+ (0, exercise_1.addValidProp)(propositions, answer);
32
+ if (power === 2)
33
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new variableNode_1.VariableNode("x")).toTex());
34
+ if (power > 2)
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(power - 1))).toTex());
36
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * power), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(power))).toTex());
37
+ if (a !== 1)
38
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a - 1), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(power))).toTex());
39
+ while (propositions.length < n) {
40
+ const wrongExponent = (0, randint_1.randint)(2, 10);
41
+ if (wrongExponent === 2) {
42
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * wrongExponent), new variableNode_1.VariableNode("x")).toTex());
43
+ }
44
+ else {
45
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * wrongExponent), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(wrongExponent - 1))).toTex());
46
+ }
47
+ }
48
+ return (0, exercise_1.shuffleProps)(propositions, n);
49
+ };
50
+ const isAnswerValid = (ans, { a, power }) => {
51
+ const opts = { forbidPowerToProduct: true };
52
+ const answerTree = power > 2
53
+ ? new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * power), new powerNode_1.PowerNode(new variableNode_1.VariableNode("x"), new numberNode_1.NumberNode(power - 1), opts), opts)
54
+ : new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a * power), new variableNode_1.VariableNode("x"), opts);
55
+ const texs = answerTree.toAllValidTexs();
56
+ console.log(texs);
57
+ return texs.includes(ans);
58
+ };
59
+ exports.powerFunctionDerivative = {
60
+ id: "powerFunctionDerivative",
61
+ connector: "=",
62
+ label: "Dérivée d'une fonction puissance",
63
+ levels: ["1reESM", "1reSpé", "1reTech", "MathComp"],
64
+ sections: ["Dérivation"],
65
+ isSingleStep: false,
66
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getPowerFunctionDerivative, nb),
67
+ getPropositions,
68
+ isAnswerValid,
69
+ qcmTimer: 60,
70
+ freeTimer: 60,
71
+ subject: "Mathématiques",
72
+ };
@@ -0,0 +1,8 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ poly1Coeffs: number[];
4
+ poly2Coeffs: number[];
5
+ };
6
+ export declare const productDerivative: Exercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=productDerivative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productDerivative.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/productDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAQlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AA4DF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAcnD,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.productDerivative = void 0;
4
+ const exercise_1 = require("../../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
6
+ const polynomial_1 = require("../../../../math/polynomials/polynomial");
7
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
8
+ const getProductDerivativeQuestion = () => {
9
+ const poly1 = polynomial_1.PolynomialConstructor.randomWithLength(3, 2);
10
+ const poly2 = polynomial_1.PolynomialConstructor.randomWithLength(3, 2);
11
+ const answer = poly1.multiply(poly2).derivate().toTree().toTex();
12
+ const question = {
13
+ answer: answer,
14
+ instruction: `Déterminer la dérivée de la fonction $f$ définie par $f(x) = ${new multiplyNode_1.MultiplyNode(poly1.toTree(), poly2.toTree()).toTex()}$`,
15
+ keys: ["x", "xsquare", "xcube"],
16
+ answerFormat: "tex",
17
+ identifiers: {
18
+ poly1Coeffs: poly1.coefficients,
19
+ poly2Coeffs: poly2.coefficients,
20
+ },
21
+ };
22
+ return question;
23
+ };
24
+ const getPropositions = (n, { answer, poly1Coeffs, poly2Coeffs }) => {
25
+ const propositions = [];
26
+ (0, exercise_1.addValidProp)(propositions, answer);
27
+ const poly1 = new polynomial_1.Polynomial(poly1Coeffs);
28
+ const poly2 = new polynomial_1.Polynomial(poly2Coeffs);
29
+ (0, exercise_1.tryToAddWrongProp)(propositions, poly1.derivate().multiply(poly2.derivate()).toTree().toTex());
30
+ (0, exercise_1.tryToAddWrongProp)(propositions, poly1.derivate().add(poly2.derivate()).toTree().toTex());
31
+ while (propositions.length < n) {
32
+ const wrongAnswer = polynomial_1.PolynomialConstructor.random(3).toTree().toTex();
33
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer);
34
+ }
35
+ return (0, exercise_1.shuffleProps)(propositions, n);
36
+ };
37
+ const isAnswerValid = (ans, { poly1Coeffs, poly2Coeffs }) => {
38
+ const poly1 = new polynomial_1.Polynomial(poly1Coeffs);
39
+ const poly2 = new polynomial_1.Polynomial(poly2Coeffs);
40
+ const answer = poly1
41
+ .multiply(poly2)
42
+ .derivate()
43
+ .toTree({ forbidPowerToProduct: true });
44
+ const texs = answer.toAllValidTexs();
45
+ return texs.includes(ans);
46
+ };
47
+ exports.productDerivative = {
48
+ id: "productDerivative",
49
+ connector: "=",
50
+ getPropositions,
51
+ label: "Dérivée d'un produit de polynômes",
52
+ levels: ["1reSpé", "MathComp"],
53
+ isSingleStep: true,
54
+ sections: ["Dérivation"],
55
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getProductDerivativeQuestion, nb),
56
+ qcmTimer: 60,
57
+ freeTimer: 60,
58
+ isAnswerValid,
59
+ subject: "Mathématiques",
60
+ };
@@ -0,0 +1,8 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ poly1Coeffs: number[];
4
+ poly2Coeffs: number[];
5
+ };
6
+ export declare const quotientDerivative: Exercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=quotientDerivative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotientDerivative.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/quotientDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAoFF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAcpD,CAAC"}