math-exercises 1.3.15 → 1.3.17

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 (303) hide show
  1. package/README.md +73 -73
  2. package/lib/exercises/calcul/addAndSub.d.ts +6 -6
  3. package/lib/exercises/calcul/addAndSub.js +39 -39
  4. package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts +7 -0
  5. package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts.map +1 -0
  6. package/lib/exercises/calcul/addAndSubWithoutRelatives.js +49 -0
  7. package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.d.ts +3 -3
  8. package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.js +35 -35
  9. package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.d.ts +3 -3
  10. package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.js +32 -32
  11. package/lib/exercises/calcul/fractions/fractionAndIntegerSum.d.ts +3 -3
  12. package/lib/exercises/calcul/fractions/fractionAndIntegerSum.js +32 -32
  13. package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.d.ts +1 -0
  14. package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -0
  15. package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.js +53 -0
  16. package/lib/exercises/calcul/fractions/fractionsDivision.d.ts +3 -3
  17. package/lib/exercises/calcul/fractions/fractionsDivision.js +29 -29
  18. package/lib/exercises/calcul/fractions/fractionsProduct.d.ts +3 -3
  19. package/lib/exercises/calcul/fractions/fractionsProduct.js +28 -28
  20. package/lib/exercises/calcul/fractions/fractionsSum.d.ts +3 -3
  21. package/lib/exercises/calcul/fractions/fractionsSum.js +28 -28
  22. package/lib/exercises/calcul/fractions/simplifyFraction.d.ts +3 -3
  23. package/lib/exercises/calcul/fractions/simplifyFraction.js +24 -24
  24. package/lib/exercises/calcul/operations/operationsPriorities.d.ts +10 -10
  25. package/lib/exercises/calcul/operations/operationsPriorities.js +98 -98
  26. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts +10 -0
  27. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
  28. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.js +179 -111
  29. package/lib/exercises/calcul/rounding/rounding.d.ts +19 -19
  30. package/lib/exercises/calcul/rounding/rounding.js +85 -85
  31. package/lib/exercises/calculLitteral/distributivity/allIdentities.d.ts +3 -3
  32. package/lib/exercises/calculLitteral/distributivity/allIdentities.js +27 -27
  33. package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts +3 -3
  34. package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.js +30 -30
  35. package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts +3 -3
  36. package/lib/exercises/calculLitteral/distributivity/firstIdentity.js +31 -31
  37. package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts +3 -3
  38. package/lib/exercises/calculLitteral/distributivity/secondIdentity.js +32 -32
  39. package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts +3 -3
  40. package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.js +32 -32
  41. package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts +3 -3
  42. package/lib/exercises/calculLitteral/distributivity/thirdIdentity.js +31 -31
  43. package/lib/exercises/calculLitteral/equation/equationSimpleSquare.d.ts +4 -0
  44. package/lib/exercises/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -0
  45. package/lib/exercises/calculLitteral/equation/equationSimpleSquare.js +46 -0
  46. package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts +6 -6
  47. package/lib/exercises/calculLitteral/equation/equationType1Exercise.js +37 -37
  48. package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts +6 -6
  49. package/lib/exercises/calculLitteral/equation/equationType2Exercise.js +40 -40
  50. package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts +6 -6
  51. package/lib/exercises/calculLitteral/equation/equationType3Exercise.js +41 -41
  52. package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts +6 -6
  53. package/lib/exercises/calculLitteral/equation/equationType4Exercise.js +43 -43
  54. package/lib/exercises/calculLitteral/equation/firstDegreeEquation.d.ts +4 -0
  55. package/lib/exercises/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -0
  56. package/lib/exercises/calculLitteral/equation/firstDegreeEquation.js +38 -0
  57. package/lib/exercises/calculLitteral/equation/firstDegreeGeneralEquation.d.ts +4 -0
  58. package/lib/exercises/calculLitteral/equation/firstDegreeGeneralEquation.d.ts.map +1 -0
  59. package/lib/exercises/calculLitteral/equation/firstDegreeGeneralEquation.js +41 -0
  60. package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts +3 -3
  61. package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.js +32 -32
  62. package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts +3 -3
  63. package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.js +33 -33
  64. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts +3 -3
  65. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.js +32 -32
  66. package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts +6 -6
  67. package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.js +38 -38
  68. package/lib/exercises/derivation/derivative/affineDerivative.d.ts +3 -3
  69. package/lib/exercises/derivation/derivative/affineDerivative.js +27 -27
  70. package/lib/exercises/derivation/derivative/secondDegreeDerivative.js +28 -28
  71. package/lib/exercises/derivation/derivative/thirdDegreeDerivative.d.ts +4 -0
  72. package/lib/exercises/derivation/derivative/thirdDegreeDerivative.d.ts.map +1 -0
  73. package/lib/exercises/derivation/derivative/thirdDegreeDerivative.js +31 -0
  74. package/lib/exercises/derivation/derivative/usualderivative.d.ts +4 -0
  75. package/lib/exercises/derivation/derivative/usualderivative.d.ts.map +1 -0
  76. package/lib/exercises/derivation/derivative/usualderivative.js +67 -0
  77. package/lib/exercises/exercise.d.ts +16 -16
  78. package/lib/exercises/exercise.d.ts.map +1 -1
  79. package/lib/exercises/exercise.js +7 -7
  80. package/lib/exercises/exercises.d.ts +1 -1
  81. package/lib/exercises/exercises.d.ts.map +1 -1
  82. package/lib/exercises/exercises.js +152 -113
  83. package/lib/exercises/geometry/cartesian/midpoint.d.ts +3 -3
  84. package/lib/exercises/geometry/cartesian/midpoint.js +29 -29
  85. package/lib/exercises/geometry/vectors/scalarProductViaCoords.d.ts +3 -3
  86. package/lib/exercises/geometry/vectors/scalarProductViaCoords.js +28 -28
  87. package/lib/exercises/geometry/vectors/scalarProductViaNorms.js +27 -27
  88. package/lib/exercises/percent/applyPercent.d.ts +4 -0
  89. package/lib/exercises/percent/applyPercent.d.ts.map +1 -0
  90. package/lib/exercises/percent/applyPercent.js +41 -0
  91. package/lib/exercises/percent/averageEvolutionRate.d.ts +4 -0
  92. package/lib/exercises/percent/averageEvolutionRate.d.ts.map +1 -0
  93. package/lib/exercises/percent/averageEvolutionRate.js +28 -0
  94. package/lib/exercises/percent/globalPercent.d.ts +4 -0
  95. package/lib/exercises/percent/globalPercent.d.ts.map +1 -0
  96. package/lib/exercises/percent/globalPercent.js +44 -0
  97. package/lib/exercises/percent/reciprocalPercentage.d.ts +4 -0
  98. package/lib/exercises/percent/reciprocalPercentage.d.ts.map +1 -0
  99. package/lib/exercises/percent/reciprocalPercentage.js +35 -0
  100. package/lib/exercises/powers/powersDivision.d.ts +7 -7
  101. package/lib/exercises/powers/powersDivision.js +44 -44
  102. package/lib/exercises/powers/powersOfTenToDecimal.d.ts +6 -6
  103. package/lib/exercises/powers/powersOfTenToDecimal.js +32 -32
  104. package/lib/exercises/powers/powersPower.d.ts +7 -7
  105. package/lib/exercises/powers/powersPower.js +43 -43
  106. package/lib/exercises/powers/powersProduct.d.ts +7 -7
  107. package/lib/exercises/powers/powersProduct.js +44 -44
  108. package/lib/exercises/powers/scientificToDecimal.d.ts +6 -6
  109. package/lib/exercises/powers/scientificToDecimal.js +37 -37
  110. package/lib/exercises/proba/conditionalProbability.d.ts +4 -0
  111. package/lib/exercises/proba/conditionalProbability.d.ts.map +1 -0
  112. package/lib/exercises/proba/conditionalProbability.js +72 -0
  113. package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts +4 -0
  114. package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts.map +1 -0
  115. package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +29 -0
  116. package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts +4 -0
  117. package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -0
  118. package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.js +29 -0
  119. package/lib/exercises/sequences/arithmetic/arithmeticFindReason.d.ts +4 -0
  120. package/lib/exercises/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -0
  121. package/lib/exercises/sequences/arithmetic/arithmeticFindReason.js +29 -0
  122. package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.d.ts +4 -0
  123. package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +1 -0
  124. package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.js +28 -0
  125. package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts +4 -0
  126. package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -0
  127. package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +28 -0
  128. package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.d.ts +4 -0
  129. package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -0
  130. package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.js +39 -0
  131. package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.d.ts +3 -3
  132. package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.js +34 -34
  133. package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.d.ts +3 -3
  134. package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.js +33 -33
  135. package/lib/exercises/sequences/geometric/geometricFindReason.d.ts +3 -3
  136. package/lib/exercises/sequences/geometric/geometricFindReason.js +29 -29
  137. package/lib/exercises/sequences/geometric/geometricReasonUsage.d.ts +3 -3
  138. package/lib/exercises/sequences/geometric/geometricReasonUsage.js +28 -28
  139. package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts +7 -7
  140. package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.js +28 -28
  141. package/lib/exercises/squareRoots/simpifySquareRoot.d.ts +3 -3
  142. package/lib/exercises/squareRoots/simpifySquareRoot.js +27 -27
  143. package/lib/exercises/trigonometry/mainRemarkableValues.d.ts +3 -3
  144. package/lib/exercises/trigonometry/mainRemarkableValues.js +28 -28
  145. package/lib/exercises/trigonometry/remarkableValues.d.ts +3 -3
  146. package/lib/exercises/trigonometry/remarkableValues.js +28 -28
  147. package/lib/exercises/utils/getDistinctQuestions.d.ts +2 -2
  148. package/lib/exercises/utils/getDistinctQuestions.js +15 -15
  149. package/lib/index.d.ts +2 -3
  150. package/lib/index.d.ts.map +1 -1
  151. package/lib/index.js +6 -39
  152. package/lib/math/geometry/point.d.ts +12 -12
  153. package/lib/math/geometry/point.js +27 -27
  154. package/lib/math/geometry/vector.d.ts +15 -15
  155. package/lib/math/geometry/vector.js +31 -31
  156. package/lib/math/numbers/decimals/decimal.d.ts +24 -24
  157. package/lib/math/numbers/decimals/decimal.js +140 -140
  158. package/lib/math/numbers/epsilon.d.ts +1 -1
  159. package/lib/math/numbers/epsilon.js +10 -10
  160. package/lib/math/numbers/integer/integer.d.ts +14 -14
  161. package/lib/math/numbers/integer/integer.js +68 -68
  162. package/lib/math/numbers/integer/power.d.ts +13 -13
  163. package/lib/math/numbers/integer/power.js +52 -52
  164. package/lib/math/numbers/nombre.d.ts +13 -13
  165. package/lib/math/numbers/nombre.js +10 -10
  166. package/lib/math/numbers/rationals/rational.d.ts +25 -25
  167. package/lib/math/numbers/rationals/rational.js +113 -113
  168. package/lib/math/numbers/reals/real.d.ts +9 -9
  169. package/lib/math/numbers/reals/real.js +16 -16
  170. package/lib/math/numbers/reals/squareRoot.d.ts +18 -18
  171. package/lib/math/numbers/reals/squareRoot.js +63 -63
  172. package/lib/math/polynomials/affine.d.ts +15 -15
  173. package/lib/math/polynomials/affine.js +42 -42
  174. package/lib/math/polynomials/polynomial.d.ts +25 -25
  175. package/lib/math/polynomials/polynomial.d.ts.map +1 -1
  176. package/lib/math/polynomials/polynomial.js +131 -129
  177. package/lib/math/sequences/arithmeticSequence.js +1 -1
  178. package/lib/math/sequences/geometricSequence.d.ts +3 -3
  179. package/lib/math/sequences/geometricSequence.js +8 -8
  180. package/lib/math/sequences/sequence.d.ts +22 -22
  181. package/lib/math/sequences/sequence.js +21 -21
  182. package/lib/math/sets/discreteSet.d.ts +10 -10
  183. package/lib/math/sets/discreteSet.js +28 -28
  184. package/lib/math/sets/emptySet.js +6 -6
  185. package/lib/math/sets/intervals/intervals.d.ts +26 -26
  186. package/lib/math/sets/intervals/intervals.js +104 -104
  187. package/lib/math/sets/mathSet.d.ts +7 -7
  188. package/lib/math/sets/mathSet.js +10 -10
  189. package/lib/math/sets/mathSetInterface.d.ts +5 -5
  190. package/lib/math/sets/mathSetInterface.js +2 -2
  191. package/lib/math/trigonometry/remarkableValue.d.ts +10 -10
  192. package/lib/math/trigonometry/remarkableValue.js +29 -29
  193. package/lib/math/trigonometry/remarkableValues.d.ts +2 -2
  194. package/lib/math/trigonometry/remarkableValues.js +51 -51
  195. package/lib/math/utils/arithmetic/coprimesOf.d.ts +1 -1
  196. package/lib/math/utils/arithmetic/coprimesOf.js +13 -13
  197. package/lib/math/utils/arithmetic/dividersOf.d.ts +1 -1
  198. package/lib/math/utils/arithmetic/dividersOf.js +12 -12
  199. package/lib/math/utils/arithmetic/gcd.d.ts +1 -1
  200. package/lib/math/utils/arithmetic/gcd.js +7 -7
  201. package/lib/math/utils/arithmetic/isSquare.d.ts +1 -1
  202. package/lib/math/utils/arithmetic/isSquare.js +7 -7
  203. package/lib/math/utils/arithmetic/lcd.d.ts +1 -1
  204. package/lib/math/utils/arithmetic/lcd.js +12 -12
  205. package/lib/math/utils/arithmetic/nonCoprimesOf.d.ts +1 -1
  206. package/lib/math/utils/arithmetic/nonCoprimesOf.js +13 -13
  207. package/lib/math/utils/arithmetic/nonDividersOf.d.ts +1 -1
  208. package/lib/math/utils/arithmetic/nonDividersOf.js +14 -14
  209. package/lib/math/utils/arithmetic/primeFactors.d.ts +5 -5
  210. package/lib/math/utils/arithmetic/primeFactors.js +22 -22
  211. package/lib/math/utils/decimals/decimalPartLengthOf.d.ts +1 -1
  212. package/lib/math/utils/decimals/decimalPartLengthOf.js +14 -14
  213. package/lib/math/utils/random/randTupleInt.d.ts +13 -13
  214. package/lib/math/utils/random/randTupleInt.js +30 -30
  215. package/lib/math/utils/random/randint.d.ts +4 -4
  216. package/lib/math/utils/random/randint.js +18 -18
  217. package/lib/math/utils/round.d.ts +1 -1
  218. package/lib/math/utils/round.js +8 -8
  219. package/lib/server.d.ts +1 -1
  220. package/lib/server.js +33 -33
  221. package/lib/tree/nodes/functions/cosNode.d.ts +9 -9
  222. package/lib/tree/nodes/functions/cosNode.js +21 -21
  223. package/lib/tree/nodes/functions/functionNode.d.ts +14 -14
  224. package/lib/tree/nodes/functions/functionNode.js +20 -20
  225. package/lib/tree/nodes/functions/oppositeNode.d.ts +7 -7
  226. package/lib/tree/nodes/functions/oppositeNode.js +26 -26
  227. package/lib/tree/nodes/functions/sinNode.js +1 -1
  228. package/lib/tree/nodes/functions/sqrtNode.d.ts +8 -8
  229. package/lib/tree/nodes/functions/sqrtNode.js +18 -18
  230. package/lib/tree/nodes/node.d.ts +12 -12
  231. package/lib/tree/nodes/node.js +11 -11
  232. package/lib/tree/nodes/numbers/constantNode.d.ts +9 -9
  233. package/lib/tree/nodes/numbers/constantNode.js +18 -18
  234. package/lib/tree/nodes/numbers/numberNode.d.ts +10 -10
  235. package/lib/tree/nodes/numbers/numberNode.js +19 -19
  236. package/lib/tree/nodes/numbers/piNode.d.ts +2 -2
  237. package/lib/tree/nodes/numbers/piNode.js +5 -5
  238. package/lib/tree/nodes/operators/addNode.d.ts +7 -7
  239. package/lib/tree/nodes/operators/addNode.js +19 -19
  240. package/lib/tree/nodes/operators/divideNode.d.ts +11 -11
  241. package/lib/tree/nodes/operators/divideNode.js +34 -34
  242. package/lib/tree/nodes/operators/equalNode.d.ts +7 -7
  243. package/lib/tree/nodes/operators/equalNode.js +16 -16
  244. package/lib/tree/nodes/operators/fractionNode.d.ts +11 -11
  245. package/lib/tree/nodes/operators/fractionNode.js +20 -20
  246. package/lib/tree/nodes/operators/multiplyNode.d.ts +7 -7
  247. package/lib/tree/nodes/operators/multiplyNode.js +43 -43
  248. package/lib/tree/nodes/operators/operatorNode.d.ts +21 -21
  249. package/lib/tree/nodes/operators/operatorNode.js +35 -35
  250. package/lib/tree/nodes/operators/powerNode.d.ts +7 -7
  251. package/lib/tree/nodes/operators/powerNode.js +33 -33
  252. package/lib/tree/nodes/operators/substractNode.d.ts +7 -7
  253. package/lib/tree/nodes/operators/substractNode.js +24 -24
  254. package/lib/tree/nodes/variables/variableNode.d.ts +8 -8
  255. package/lib/tree/nodes/variables/variableNode.js +19 -19
  256. package/lib/tree/parsers/derivateParser.js +62 -62
  257. package/lib/tree/parsers/simplify.d.ts +2 -2
  258. package/lib/tree/parsers/simplify.js +52 -52
  259. package/lib/utils/arrayEqual.d.ts +1 -1
  260. package/lib/utils/arrayEqual.js +13 -13
  261. package/lib/utils/coinFlip.d.ts +1 -1
  262. package/lib/utils/coinFlip.js +7 -7
  263. package/lib/utils/random.d.ts +1 -1
  264. package/lib/utils/random.js +7 -7
  265. package/lib/utils/shuffle.d.ts +1 -1
  266. package/lib/utils/shuffle.js +15 -15
  267. package/package.json +49 -50
  268. package/lib/exercises/calcul/operationsPriorities.js +0 -88
  269. package/lib/exercises/derivation/derivative/thridDegreeDerivative.d.ts +0 -1
  270. package/lib/exercises/derivation/derivative/thridDegreeDerivative.d.ts.map +0 -1
  271. package/lib/exercises/derivation/derivative/thridDegreeDerivative.js +0 -1
  272. package/lib/geometry/point.js +0 -27
  273. package/lib/geometry/vector.js +0 -31
  274. package/lib/mathutils/arithmetic/coprimesOf.js +0 -13
  275. package/lib/mathutils/arithmetic/dividersOf.js +0 -12
  276. package/lib/mathutils/arithmetic/gcd.js +0 -7
  277. package/lib/mathutils/arithmetic/isSquare.js +0 -7
  278. package/lib/mathutils/arithmetic/lcd.js +0 -12
  279. package/lib/mathutils/arithmetic/nonCoprimesOf.js +0 -13
  280. package/lib/mathutils/arithmetic/nonDividersOf.js +0 -14
  281. package/lib/mathutils/arithmetic/primeFactors.js +0 -22
  282. package/lib/mathutils/decimals/decimalPartLengthOf.js +0 -14
  283. package/lib/mathutils/random/randTupleInt.js +0 -30
  284. package/lib/mathutils/random/randint.js +0 -18
  285. package/lib/mathutils/round.js +0 -8
  286. package/lib/numbers/decimals/decimal.js +0 -140
  287. package/lib/numbers/epsilon.js +0 -10
  288. package/lib/numbers/integer/integer.js +0 -68
  289. package/lib/numbers/integer/power.js +0 -52
  290. package/lib/numbers/nombre.js +0 -10
  291. package/lib/numbers/rationals/rational.js +0 -113
  292. package/lib/numbers/reals/real.js +0 -16
  293. package/lib/numbers/reals/squareRoot.js +0 -63
  294. package/lib/polynomials/affine.js +0 -42
  295. package/lib/polynomials/polynomial.js +0 -125
  296. package/lib/sets/discreteSet.js +0 -28
  297. package/lib/sets/emptySet.js +0 -6
  298. package/lib/sets/intervals/intervals.js +0 -108
  299. package/lib/sets/intervals/union.js +0 -1
  300. package/lib/sets/mathSet.js +0 -10
  301. package/lib/sets/mathSetInterface.js +0 -2
  302. package/lib/tree/parsers/latexParser.js +0 -110
  303. package/lib/utils/coin.js +0 -7
@@ -1,27 +1,27 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAffineDerivativeQuestion = exports.affineDerivative = void 0;
4
- const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
5
- const affine_1 = require("../../../math/polynomials/affine");
6
- const randint_1 = require("../../../math/utils/random/randint");
7
- exports.affineDerivative = {
8
- id: 'affineDerivative',
9
- connector: '=',
10
- instruction: '',
11
- isSingleStep: false,
12
- label: "Calculer la dérivée d'une fonction affine",
13
- levels: ['1, 0'],
14
- section: 'Dérivation',
15
- generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getAffineDerivativeQuestion, nb),
16
- };
17
- function getAffineDerivativeQuestion() {
18
- const a = (0, randint_1.randint)(-20, 20, [0]);
19
- const b = (0, randint_1.randint)(-20, 20);
20
- const affine = new affine_1.Affine(a, b);
21
- return {
22
- instruction: `Soit $f(x) = ${affine.toTex()}$. Déterminer la fonction dérivée $f'$ de $f$.`,
23
- startStatement: `f'(x)`,
24
- answer: a.toString(),
25
- };
26
- }
27
- exports.getAffineDerivativeQuestion = getAffineDerivativeQuestion;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getAffineDerivativeQuestion = exports.affineDerivative = void 0;
4
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
5
+ const affine_1 = require("../../../math/polynomials/affine");
6
+ const randint_1 = require("../../../math/utils/random/randint");
7
+ exports.affineDerivative = {
8
+ id: 'affineDerivative',
9
+ connector: '=',
10
+ instruction: '',
11
+ isSingleStep: false,
12
+ label: "Calculer la dérivée d'une fonction affine",
13
+ levels: ['1, 0'],
14
+ section: 'Dérivation',
15
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getAffineDerivativeQuestion, nb),
16
+ };
17
+ function getAffineDerivativeQuestion() {
18
+ const a = (0, randint_1.randint)(-20, 20, [0]);
19
+ const b = (0, randint_1.randint)(-20, 20);
20
+ const affine = new affine_1.Affine(a, b);
21
+ return {
22
+ instruction: `Soit $f(x) = ${affine.toTex()}$. Déterminer la fonction dérivée $f'$ de $f$.`,
23
+ startStatement: `f'(x)`,
24
+ answer: a.toString(),
25
+ };
26
+ }
27
+ exports.getAffineDerivativeQuestion = getAffineDerivativeQuestion;
@@ -1,28 +1,28 @@
1
- "use strict";
2
- // import { Exercise, Question } from '../../../exercises/exercise';
3
- // import { getDistinctQuestions } from '../../../exercises/utils/getDistinctQuestions';
4
- // import { Vector } from '../../../math/geometry/vector';
5
- // import { Affine, AffineConstructor } from '../../../math/polynomials/affine';
6
- // import { Polynomial } from '../../../math/polynomials/polynomial';
7
- // import { randint } from '../../../math/utils/random/randint';
8
- // import { distinctRandTupleInt } from '../../../math/utils/random/randTupleInt';
9
- // import { NumberNode } from '../../../tree/nodes/numbers/numberNode';
10
- // export const secondDegreeDerivative: Exercise = {
11
- // id: 'secondDegreeDerivative',
12
- // connector: '=',
13
- // instruction: '',
14
- // isSingleStep: false,
15
- // label: "Calculer la dérivée d'une fonction du second degré",
16
- // levels: ['1, 0'],
17
- // section: 'Dérivation',
18
- // generator: (nb: number) => getDistinctQuestions(getSecondDegreeDerivativeQuestion, nb),
19
- // };
20
- // export function getSecondDegreeDerivativeQuestion(): Question {
21
- // const polynom = new Polynomial([randint(-20, 20, [0]), randint(-20, 20), randint(-20, 20)]);
22
- // const answer = polynom.derivate();
23
- // return {
24
- // instruction: `Soit $f(x) = ${polynom.toTex()}$. Déterminer la fonction dérivée $f'$ de $f$.`,
25
- // startStatement: `$f'(x)$`,
26
- // answer: a.toString(),
27
- // };
28
- // }
1
+ "use strict";
2
+ // import { Exercise, Question } from '../../../exercises/exercise';
3
+ // import { getDistinctQuestions } from '../../../exercises/utils/getDistinctQuestions';
4
+ // import { Vector } from '../../../math/geometry/vector';
5
+ // import { Affine, AffineConstructor } from '../../../math/polynomials/affine';
6
+ // import { Polynomial } from '../../../math/polynomials/polynomial';
7
+ // import { randint } from '../../../math/utils/random/randint';
8
+ // import { distinctRandTupleInt } from '../../../math/utils/random/randTupleInt';
9
+ // import { NumberNode } from '../../../tree/nodes/numbers/numberNode';
10
+ // export const secondDegreeDerivative: Exercise = {
11
+ // id: 'secondDegreeDerivative',
12
+ // connector: '=',
13
+ // instruction: '',
14
+ // isSingleStep: false,
15
+ // label: "Calculer la dérivée d'une fonction du second degré",
16
+ // levels: ['1, 0'],
17
+ // section: 'Dérivation',
18
+ // generator: (nb: number) => getDistinctQuestions(getSecondDegreeDerivativeQuestion, nb),
19
+ // };
20
+ // export function getSecondDegreeDerivativeQuestion(): Question {
21
+ // const polynom = new Polynomial([randint(-20, 20, [0]), randint(-20, 20), randint(-20, 20)]);
22
+ // const answer = polynom.derivate();
23
+ // return {
24
+ // instruction: `Soit $f(x) = ${polynom.toTex()}$. Déterminer la fonction dérivée $f'$ de $f$.`,
25
+ // startStatement: `$f'(x)$`,
26
+ // answer: a.toString(),
27
+ // };
28
+ // }
@@ -0,0 +1,4 @@
1
+ import { Exercise, Question } from "../../../exercises/exercise";
2
+ export declare const thirdDegreeDerivative: Exercise;
3
+ export declare function getThirdDegreeDerivative(): Question;
4
+ //# sourceMappingURL=thirdDegreeDerivative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thirdDegreeDerivative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/thirdDegreeDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAK9D,eAAO,MAAM,qBAAqB,EAAE,QASjC,CAAC;AAEJ,wBAAgB,wBAAwB,IAAI,QAAQ,CAkBnD"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getThirdDegreeDerivative = exports.thirdDegreeDerivative = void 0;
4
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
5
+ const polynomial_1 = require("../../../math/polynomials/polynomial");
6
+ const randint_1 = require("../../../math/utils/random/randint");
7
+ exports.thirdDegreeDerivative = {
8
+ id: 'thirdDegreeDerivative',
9
+ connector: '=',
10
+ instruction: '',
11
+ label: "Dérivée d'un polynôme de degré 3",
12
+ levels: ['2', '1'],
13
+ section: 'Dérivées',
14
+ isSingleStep: false,
15
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getThirdDegreeDerivative, nb),
16
+ };
17
+ function getThirdDegreeDerivative() {
18
+ const coefficients = [];
19
+ coefficients.push((0, randint_1.randint)(-10, 10, [0]));
20
+ for (let i = 1; i <= 3; i++)
21
+ coefficients.push((0, randint_1.randint)(-10, 10));
22
+ const polynomial = new polynomial_1.Polynomial(coefficients);
23
+ const derivative = polynomial.derivate();
24
+ const question = {
25
+ instruction: `Déterminer la fonction dérivée $f'$ de la fonction $f$ définie par $f(x) = ${polynomial.toString()}$ `,
26
+ startStatement: `f'(x) = `,
27
+ answer: derivative.toString(),
28
+ };
29
+ return question;
30
+ }
31
+ exports.getThirdDegreeDerivative = getThirdDegreeDerivative;
@@ -0,0 +1,4 @@
1
+ import { Exercise, Question } from "../../exercise";
2
+ export declare const usualDerivative: Exercise;
3
+ export declare function getUsualDerivative(): Question;
4
+ //# sourceMappingURL=usualderivative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usualderivative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/usualderivative.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAGpD,eAAO,MAAM,eAAe,EAAE,QAS3B,CAAC;AAEJ,wBAAgB,kBAAkB,IAAI,QAAQ,CAsD7C"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getUsualDerivative = exports.usualDerivative = void 0;
4
+ const polynomial_1 = require("../../../math/polynomials/polynomial");
5
+ const randint_1 = require("../../../math/utils/random/randint");
6
+ const round_1 = require("../../../math/utils/round");
7
+ const getDistinctQuestions_1 = require("../../utils/getDistinctQuestions");
8
+ exports.usualDerivative = {
9
+ id: 'usualDerivative',
10
+ connector: '=',
11
+ instruction: '',
12
+ label: 'Dérivées usuelles',
13
+ levels: ['2', '1'],
14
+ section: 'Dérivées',
15
+ isSingleStep: false,
16
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getUsualDerivative, nb),
17
+ };
18
+ function getUsualDerivative() {
19
+ const a = (0, randint_1.randint)(-10, 10, [0]);
20
+ const b = (0, randint_1.randint)(-10, 10);
21
+ const c = (0, randint_1.randint)(-10, 10);
22
+ const flip = (0, randint_1.randint)(1, 6);
23
+ let instruction = `Déterminer la fonction dérivée $f'$ de la fonction $f$ définie par $f(x) =$ `;
24
+ let answer = '';
25
+ switch (flip) {
26
+ case 1: {
27
+ instruction += `$${c}$`;
28
+ answer = `0`;
29
+ break;
30
+ }
31
+ case 2: {
32
+ instruction += `$${new polynomial_1.Polynomial([a, b]).toString()}$`;
33
+ answer = `${a}`;
34
+ break;
35
+ }
36
+ case 3: {
37
+ instruction += `$${new polynomial_1.Polynomial([a, b, c]).toString()}$`;
38
+ answer = `${new polynomial_1.Polynomial([2 * a, b]).toString()}`;
39
+ break;
40
+ }
41
+ case 4: {
42
+ instruction += `$\\frac{${a}}{x}$`;
43
+ answer = `\\frac{${-a}}{x^2}`;
44
+ break;
45
+ }
46
+ case 5: {
47
+ if (a === 1)
48
+ instruction += `$\\sqrt{x}$`;
49
+ else if (a === -1)
50
+ instruction += `$-\\sqrt{x}$`;
51
+ else
52
+ instruction += `$${a}\\sqrt{x}$`;
53
+ if (a / 2 === (0, round_1.round)(a / 2, 0))
54
+ answer = `\\frac{${a / 2}}{\\sqrt{x}}`;
55
+ else
56
+ answer = `\\frac{${a}}{2\\sqrt{x}}`;
57
+ break;
58
+ }
59
+ }
60
+ const question = {
61
+ instruction,
62
+ startStatement: `f'(x) = `,
63
+ answer,
64
+ };
65
+ return question;
66
+ }
67
+ exports.getUsualDerivative = getUsualDerivative;
@@ -1,17 +1,17 @@
1
- export type GeneratorOptions = {};
2
- export interface Question {
3
- instruction?: string;
4
- startStatement?: string;
5
- answer: string;
6
- }
7
- export interface Exercise {
8
- id: string;
9
- instruction: string;
10
- isSingleStep: boolean;
11
- label: string;
12
- section: string;
13
- levels: string[];
14
- connector: string;
15
- generator(nb: number, options?: GeneratorOptions): Question[];
16
- }
1
+ export type GeneratorOptions = {};
2
+ export interface Question {
3
+ instruction?: string;
4
+ startStatement?: string;
5
+ answer: string;
6
+ }
7
+ export interface Exercise {
8
+ id: string;
9
+ instruction: string;
10
+ isSingleStep: boolean;
11
+ label: string;
12
+ section: string;
13
+ levels: string[];
14
+ connector: '=' | '\\iff' | '\\approx';
15
+ generator(nb: number, options?: GeneratorOptions): Question[];
16
+ }
17
17
  //# sourceMappingURL=exercise.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,QAAQ,EAAE,CAAC;CAC/D"}
1
+ {"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,GAAG,OAAO,GAAG,UAAU,CAAC;IACtC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,QAAQ,EAAE,CAAC;CAC/D"}
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // export enum Connector {
3
- // equal = "=",
4
- // equiv = "\\iff",
5
- // implies = "\\Rightarrow",
6
- // }
7
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ // export enum Connector {
3
+ // equal = "=",
4
+ // equiv = "\\iff",
5
+ // implies = "\\Rightarrow",
6
+ // }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,2 @@
1
- export declare const exercises: import("./exercise").Exercise[];
1
+ export declare const exercises: import("./exercise").Exercise[];
2
2
  //# sourceMappingURL=exercises.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exercises.d.ts","sourceRoot":"","sources":["../../src/exercises/exercises.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,SAAS,iCAgFrB,CAAC"}
1
+ {"version":3,"file":"exercises.d.ts","sourceRoot":"","sources":["../../src/exercises/exercises.ts"],"names":[],"mappings":"AAiEA,eAAO,MAAM,SAAS,iCAwGrB,CAAC"}
@@ -1,113 +1,152 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.exercises = void 0;
4
- const addAndSub_1 = require("./calcul/addAndSub");
5
- const fractionAndIntegerDivision_1 = require("./calcul/fractions/fractionAndIntegerDivision");
6
- const fractionAndIntegerProduct_1 = require("./calcul/fractions/fractionAndIntegerProduct");
7
- const fractionAndIntegerSum_1 = require("./calcul/fractions/fractionAndIntegerSum");
8
- const fractionsDivision_1 = require("./calcul/fractions/fractionsDivision");
9
- const fractionsProduct_1 = require("./calcul/fractions/fractionsProduct");
10
- const fractionsSum_1 = require("./calcul/fractions/fractionsSum");
11
- const simplifyFraction_1 = require("./calcul/fractions/simplifyFraction");
12
- const operationsPriorities_1 = require("./calcul/operations/operationsPriorities");
13
- const rounding_1 = require("./calcul/rounding/rounding");
14
- const allIdentities_1 = require("./calculLitteral/distributivity/allIdentities");
15
- const doubleDistributivity_1 = require("./calculLitteral/distributivity/doubleDistributivity");
16
- const firstIdentity_1 = require("./calculLitteral/distributivity/firstIdentity");
17
- const secondIdentity_1 = require("./calculLitteral/distributivity/secondIdentity");
18
- const simpleDistributivity_1 = require("./calculLitteral/distributivity/simpleDistributivity");
19
- const thirdIdentity_1 = require("./calculLitteral/distributivity/thirdIdentity");
20
- const equationType1Exercise_1 = require("./calculLitteral/equation/equationType1Exercise");
21
- const equationType2Exercise_1 = require("./calculLitteral/equation/equationType2Exercise");
22
- const equationType3Exercise_1 = require("./calculLitteral/equation/equationType3Exercise");
23
- const equationType4Exercise_1 = require("./calculLitteral/equation/equationType4Exercise");
24
- const factoIdRmq1_1 = require("./calculLitteral/factorisation/factoIdRmq1");
25
- const factoIdRmq2_1 = require("./calculLitteral/factorisation/factoIdRmq2");
26
- const factoIdRmq3_1 = require("./calculLitteral/factorisation/factoIdRmq3");
27
- const factoType1Exercise_1 = require("./calculLitteral/factorisation/factoType1Exercise");
28
- const midpoint_1 = require("./geometry/cartesian/midpoint");
29
- const scalarProductViaCoords_1 = require("./geometry/vectors/scalarProductViaCoords");
30
- const powersDivision_1 = require("./powers/powersDivision");
31
- const powersOfTenToDecimal_1 = require("./powers/powersOfTenToDecimal");
32
- const powersPower_1 = require("./powers/powersPower");
33
- const powersProduct_1 = require("./powers/powersProduct");
34
- const scientificToDecimal_1 = require("./powers/scientificToDecimal");
35
- const geometricExplicitFormulaUsage_1 = require("./sequences/geometric/geometricExplicitFormulaUsage");
36
- const geometricFindExplicitFormula_1 = require("./sequences/geometric/geometricFindExplicitFormula");
37
- const geometricFindReason_1 = require("./sequences/geometric/geometricFindReason");
38
- const geometricReasonUsage_1 = require("./sequences/geometric/geometricReasonUsage");
39
- const geometricRecurrenceFormulaUsage_1 = require("./sequences/geometric/geometricRecurrenceFormulaUsage");
40
- const simpifySquareRoot_1 = require("./squareRoots/simpifySquareRoot");
41
- exports.exercises = [
42
- /**
43
- * calcul litteral
44
- */
45
- factoType1Exercise_1.factoType1Exercise,
46
- factoIdRmq1_1.factoIdRmq1,
47
- factoIdRmq2_1.factoIdRmq2,
48
- factoIdRmq3_1.factoIdRmq3,
49
- simpleDistributivity_1.simpleDistributivity,
50
- doubleDistributivity_1.doubleDistributivity,
51
- firstIdentity_1.firstIdentity,
52
- secondIdentity_1.secondIdentity,
53
- thirdIdentity_1.thirdIdentity,
54
- allIdentities_1.allIdentities,
55
- equationType1Exercise_1.equationType1Exercise,
56
- equationType2Exercise_1.equationType2Exercise,
57
- equationType3Exercise_1.equationType3Exercise,
58
- equationType4Exercise_1.equationType4Exercise,
59
- /**
60
- * square roots
61
- */
62
- simpifySquareRoot_1.simplifySquareRoot,
63
- /**
64
- * fractions
65
- */
66
- fractionAndIntegerDivision_1.fractionAndIntegerDivision,
67
- fractionAndIntegerProduct_1.fractionAndIntegerProduct,
68
- fractionAndIntegerSum_1.fractionAndIntegerSum,
69
- fractionsDivision_1.fractionsDivision,
70
- fractionsProduct_1.fractionsProduct,
71
- fractionsSum_1.fractionsSum,
72
- simplifyFraction_1.simplifyFraction,
73
- /**
74
- * calcul
75
- */
76
- operationsPriorities_1.operationsPriorities,
77
- addAndSub_1.addAndSubExercise,
78
- /**
79
- * rounding
80
- */
81
- rounding_1.roundToCentieme,
82
- rounding_1.roundToDixieme,
83
- rounding_1.roundToMillieme,
84
- rounding_1.roundToUnit,
85
- rounding_1.allRoundings,
86
- /**
87
- * geometry
88
- */
89
- midpoint_1.midpoint,
90
- /**
91
- * vectors
92
- */
93
- scalarProductViaCoords_1.scalarProductViaCoords,
94
- /**
95
- * puissances
96
- */
97
- powersDivision_1.powersDivision,
98
- powersPower_1.powersPower,
99
- powersProduct_1.powersProduct,
100
- powersDivision_1.powersOfTenDivision,
101
- powersPower_1.powersOfTenPower,
102
- powersProduct_1.powersOfTenProduct,
103
- scientificToDecimal_1.scientificToDecimal,
104
- powersOfTenToDecimal_1.powersOfTenToDecimal,
105
- /**
106
- * suites
107
- */
108
- geometricExplicitFormulaUsage_1.geometricExplicitFormulaUsage,
109
- geometricFindReason_1.geometricFindReason,
110
- geometricFindExplicitFormula_1.geometricFindExplicitFormula,
111
- geometricReasonUsage_1.geometricReasonUsage,
112
- geometricRecurrenceFormulaUsage_1.geometricRecurrenceFormulaUsage,
113
- ];
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.exercises = void 0;
4
+ const addAndSub_1 = require("./calcul/addAndSub");
5
+ const addAndSubWithoutRelatives_1 = require("./calcul/addAndSubWithoutRelatives");
6
+ const fractionAndIntegerDivision_1 = require("./calcul/fractions/fractionAndIntegerDivision");
7
+ const fractionAndIntegerProduct_1 = require("./calcul/fractions/fractionAndIntegerProduct");
8
+ const fractionAndIntegerSum_1 = require("./calcul/fractions/fractionAndIntegerSum");
9
+ const fractionsDivision_1 = require("./calcul/fractions/fractionsDivision");
10
+ const fractionsProduct_1 = require("./calcul/fractions/fractionsProduct");
11
+ const fractionsSum_1 = require("./calcul/fractions/fractionsSum");
12
+ const simplifyFraction_1 = require("./calcul/fractions/simplifyFraction");
13
+ const operationsPriorities_1 = require("./calcul/operations/operationsPriorities");
14
+ const operationsPrioritiesWithoutRelative_1 = require("./calcul/operations/operationsPrioritiesWithoutRelative");
15
+ const rounding_1 = require("./calcul/rounding/rounding");
16
+ const allIdentities_1 = require("./calculLitteral/distributivity/allIdentities");
17
+ const doubleDistributivity_1 = require("./calculLitteral/distributivity/doubleDistributivity");
18
+ const firstIdentity_1 = require("./calculLitteral/distributivity/firstIdentity");
19
+ const secondIdentity_1 = require("./calculLitteral/distributivity/secondIdentity");
20
+ const simpleDistributivity_1 = require("./calculLitteral/distributivity/simpleDistributivity");
21
+ const thirdIdentity_1 = require("./calculLitteral/distributivity/thirdIdentity");
22
+ const equationSimpleSquare_1 = require("./calculLitteral/equation/equationSimpleSquare");
23
+ const equationType1Exercise_1 = require("./calculLitteral/equation/equationType1Exercise");
24
+ const equationType2Exercise_1 = require("./calculLitteral/equation/equationType2Exercise");
25
+ const equationType3Exercise_1 = require("./calculLitteral/equation/equationType3Exercise");
26
+ const equationType4Exercise_1 = require("./calculLitteral/equation/equationType4Exercise");
27
+ const firstDegreeEquation_1 = require("./calculLitteral/equation/firstDegreeEquation");
28
+ const firstDegreeGeneralEquation_1 = require("./calculLitteral/equation/firstDegreeGeneralEquation");
29
+ const factoIdRmq1_1 = require("./calculLitteral/factorisation/factoIdRmq1");
30
+ const factoIdRmq2_1 = require("./calculLitteral/factorisation/factoIdRmq2");
31
+ const factoIdRmq3_1 = require("./calculLitteral/factorisation/factoIdRmq3");
32
+ const factoType1Exercise_1 = require("./calculLitteral/factorisation/factoType1Exercise");
33
+ const thirdDegreeDerivative_1 = require("./derivation/derivative/thirdDegreeDerivative");
34
+ const usualderivative_1 = require("./derivation/derivative/usualderivative");
35
+ const midpoint_1 = require("./geometry/cartesian/midpoint");
36
+ const scalarProductViaCoords_1 = require("./geometry/vectors/scalarProductViaCoords");
37
+ const applyPercent_1 = require("./percent/applyPercent");
38
+ const averageEvolutionRate_1 = require("./percent/averageEvolutionRate");
39
+ const globalPercent_1 = require("./percent/globalPercent");
40
+ const reciprocalPercentage_1 = require("./percent/reciprocalPercentage");
41
+ const powersDivision_1 = require("./powers/powersDivision");
42
+ const powersOfTenToDecimal_1 = require("./powers/powersOfTenToDecimal");
43
+ const powersPower_1 = require("./powers/powersPower");
44
+ const powersProduct_1 = require("./powers/powersProduct");
45
+ const scientificToDecimal_1 = require("./powers/scientificToDecimal");
46
+ const conditionalProbability_1 = require("./proba/conditionalProbability");
47
+ const arithmeticExplicitFormulaUsage_1 = require("./sequences/arithmetic/arithmeticExplicitFormulaUsage");
48
+ const arithmeticFindExplicitFormula_1 = require("./sequences/arithmetic/arithmeticFindExplicitFormula");
49
+ const arithmeticFindReason_1 = require("./sequences/arithmetic/arithmeticFindReason");
50
+ const arithmeticReasonUsage_1 = require("./sequences/arithmetic/arithmeticReasonUsage");
51
+ const arithmeticRecurrenceFormulaUsage_1 = require("./sequences/arithmetic/arithmeticRecurrenceFormulaUsage");
52
+ const arithmeticThresholdFind_1 = require("./sequences/arithmetic/arithmeticThresholdFind");
53
+ const geometricExplicitFormulaUsage_1 = require("./sequences/geometric/geometricExplicitFormulaUsage");
54
+ const geometricFindExplicitFormula_1 = require("./sequences/geometric/geometricFindExplicitFormula");
55
+ const geometricFindReason_1 = require("./sequences/geometric/geometricFindReason");
56
+ const geometricReasonUsage_1 = require("./sequences/geometric/geometricReasonUsage");
57
+ const geometricRecurrenceFormulaUsage_1 = require("./sequences/geometric/geometricRecurrenceFormulaUsage");
58
+ const simpifySquareRoot_1 = require("./squareRoots/simpifySquareRoot");
59
+ exports.exercises = [
60
+ /**
61
+ * calcul litteral
62
+ */
63
+ factoType1Exercise_1.factoType1Exercise,
64
+ factoIdRmq1_1.factoIdRmq1,
65
+ factoIdRmq2_1.factoIdRmq2,
66
+ factoIdRmq3_1.factoIdRmq3,
67
+ simpleDistributivity_1.simpleDistributivity,
68
+ doubleDistributivity_1.doubleDistributivity,
69
+ firstIdentity_1.firstIdentity,
70
+ secondIdentity_1.secondIdentity,
71
+ thirdIdentity_1.thirdIdentity,
72
+ allIdentities_1.allIdentities,
73
+ equationType1Exercise_1.equationType1Exercise,
74
+ equationType2Exercise_1.equationType2Exercise,
75
+ equationType3Exercise_1.equationType3Exercise,
76
+ equationType4Exercise_1.equationType4Exercise,
77
+ /**
78
+ * square roots
79
+ */
80
+ simpifySquareRoot_1.simplifySquareRoot,
81
+ /**
82
+ * fractions
83
+ */
84
+ fractionAndIntegerDivision_1.fractionAndIntegerDivision,
85
+ fractionAndIntegerProduct_1.fractionAndIntegerProduct,
86
+ fractionAndIntegerSum_1.fractionAndIntegerSum,
87
+ fractionsDivision_1.fractionsDivision,
88
+ fractionsProduct_1.fractionsProduct,
89
+ fractionsSum_1.fractionsSum,
90
+ simplifyFraction_1.simplifyFraction,
91
+ /**
92
+ * calcul
93
+ */
94
+ operationsPriorities_1.operationsPriorities,
95
+ addAndSub_1.addAndSubExercise,
96
+ /**
97
+ * rounding
98
+ */
99
+ rounding_1.roundToCentieme,
100
+ rounding_1.roundToDixieme,
101
+ rounding_1.roundToMillieme,
102
+ rounding_1.roundToUnit,
103
+ rounding_1.allRoundings,
104
+ /**
105
+ * geometry
106
+ */
107
+ midpoint_1.midpoint,
108
+ /**
109
+ * vectors
110
+ */
111
+ scalarProductViaCoords_1.scalarProductViaCoords,
112
+ /**
113
+ * puissances
114
+ */
115
+ powersDivision_1.powersDivision,
116
+ powersPower_1.powersPower,
117
+ powersProduct_1.powersProduct,
118
+ powersDivision_1.powersOfTenDivision,
119
+ powersPower_1.powersOfTenPower,
120
+ powersProduct_1.powersOfTenProduct,
121
+ scientificToDecimal_1.scientificToDecimal,
122
+ powersOfTenToDecimal_1.powersOfTenToDecimal,
123
+ /**
124
+ * suites
125
+ */
126
+ geometricExplicitFormulaUsage_1.geometricExplicitFormulaUsage,
127
+ geometricFindReason_1.geometricFindReason,
128
+ geometricFindExplicitFormula_1.geometricFindExplicitFormula,
129
+ geometricReasonUsage_1.geometricReasonUsage,
130
+ geometricRecurrenceFormulaUsage_1.geometricRecurrenceFormulaUsage,
131
+ /**
132
+ * islam
133
+ */
134
+ applyPercent_1.applyPercent,
135
+ globalPercent_1.globalPercent,
136
+ reciprocalPercentage_1.reciprocalPercentage,
137
+ equationSimpleSquare_1.equationSimpleSquare,
138
+ usualderivative_1.usualDerivative,
139
+ thirdDegreeDerivative_1.thirdDegreeDerivative,
140
+ averageEvolutionRate_1.averageEvolutionRate,
141
+ firstDegreeEquation_1.firstDegreeEquation,
142
+ firstDegreeGeneralEquation_1.firstDegreeGeneralEquation,
143
+ conditionalProbability_1.conditionalProbability,
144
+ arithmeticExplicitFormulaUsage_1.arithmeticExplicitFormulaUsage,
145
+ arithmeticFindExplicitFormula_1.arithmeticFindExplicitFormula,
146
+ arithmeticFindReason_1.arithmeticFindReason,
147
+ arithmeticReasonUsage_1.arithmeticReasonUsage,
148
+ arithmeticRecurrenceFormulaUsage_1.arithmeticRecurrenceFormulaUsage,
149
+ arithmeticThresholdFind_1.arithmeticThresholdFind,
150
+ addAndSubWithoutRelatives_1.addAndSubWithoutRelatives,
151
+ operationsPrioritiesWithoutRelative_1.operationsPrioritiesWithoutRelative,
152
+ ];
@@ -1,4 +1,4 @@
1
- import { Exercise, Question } from '../../../exercises/exercise';
2
- export declare const midpoint: Exercise;
3
- export declare function getMidpointQuestion(): Question;
1
+ import { Exercise, Question } from '../../../exercises/exercise';
2
+ export declare const midpoint: Exercise;
3
+ export declare function getMidpointQuestion(): Question;
4
4
  //# sourceMappingURL=midpoint.d.ts.map