math-exercises 2.1.8 → 2.1.10

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 (205) hide show
  1. package/lib/exercises/exercise.d.ts +1 -1
  2. package/lib/exercises/exercise.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.js +1 -1
  4. package/lib/exercises/math/calcul/arithmetics/divisorsList.js +1 -1
  5. package/lib/exercises/math/calcul/arithmetics/euclideanDivision.js +1 -1
  6. package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.js +1 -1
  7. package/lib/exercises/math/calcul/rounding/rounding.js +1 -1
  8. package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.d.ts +5 -0
  9. package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.d.ts.map +1 -0
  10. package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.js +78 -0
  11. package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.d.ts +14 -0
  12. package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.d.ts.map +1 -0
  13. package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.js +160 -0
  14. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts +9 -0
  15. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -0
  16. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +65 -0
  17. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts +10 -0
  18. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -0
  19. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +72 -0
  20. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.d.ts +11 -0
  21. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.d.ts.map +1 -0
  22. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.js +78 -0
  23. package/lib/exercises/math/calculLitteral/equation/index.d.ts +5 -1
  24. package/lib/exercises/math/calculLitteral/equation/index.d.ts.map +1 -1
  25. package/lib/exercises/math/calculLitteral/equation/index.js +5 -1
  26. package/lib/exercises/math/derivation/derivative/convexityQuadrinomials.d.ts +8 -0
  27. package/lib/exercises/math/derivation/derivative/convexityQuadrinomials.d.ts.map +1 -0
  28. package/lib/exercises/math/derivation/derivative/convexityQuadrinomials.js +96 -0
  29. package/lib/exercises/math/derivation/derivative/convexityTrinomials.d.ts +7 -0
  30. package/lib/exercises/math/derivation/derivative/convexityTrinomials.d.ts.map +1 -0
  31. package/lib/exercises/math/derivation/derivative/convexityTrinomials.js +44 -0
  32. package/lib/exercises/math/derivation/derivative/cosSecondDegreeDerivative.d.ts +7 -0
  33. package/lib/exercises/math/derivation/derivative/cosSecondDegreeDerivative.d.ts.map +1 -0
  34. package/lib/exercises/math/derivation/derivative/cosSecondDegreeDerivative.js +79 -0
  35. package/lib/exercises/math/derivation/derivative/index.d.ts +8 -0
  36. package/lib/exercises/math/derivation/derivative/index.d.ts.map +1 -1
  37. package/lib/exercises/math/derivation/derivative/index.js +8 -0
  38. package/lib/exercises/math/derivation/derivative/inflexionPointQuadrinomials.d.ts +7 -0
  39. package/lib/exercises/math/derivation/derivative/inflexionPointQuadrinomials.d.ts.map +1 -0
  40. package/lib/exercises/math/derivation/derivative/inflexionPointQuadrinomials.js +83 -0
  41. package/lib/exercises/math/derivation/derivative/secondDerivativeOfExpoFunction.d.ts +7 -0
  42. package/lib/exercises/math/derivation/derivative/secondDerivativeOfExpoFunction.d.ts.map +1 -0
  43. package/lib/exercises/math/derivation/derivative/secondDerivativeOfExpoFunction.js +59 -0
  44. package/lib/exercises/math/derivation/derivative/secondDerivativeOfThirdDegreeFunction.d.ts +10 -0
  45. package/lib/exercises/math/derivation/derivative/secondDerivativeOfThirdDegreeFunction.d.ts.map +1 -0
  46. package/lib/exercises/math/derivation/derivative/secondDerivativeOfThirdDegreeFunction.js +60 -0
  47. package/lib/exercises/math/derivation/derivative/secondDerivativeOfTrinom.d.ts +9 -0
  48. package/lib/exercises/math/derivation/derivative/secondDerivativeOfTrinom.d.ts.map +1 -0
  49. package/lib/exercises/math/derivation/derivative/secondDerivativeOfTrinom.js +56 -0
  50. package/lib/exercises/math/derivation/derivative/sinSecondDegreeDerivative.d.ts +7 -0
  51. package/lib/exercises/math/derivation/derivative/sinSecondDegreeDerivative.d.ts.map +1 -0
  52. package/lib/exercises/math/derivation/derivative/sinSecondDegreeDerivative.js +79 -0
  53. package/lib/exercises/math/derivation/index.d.ts +1 -0
  54. package/lib/exercises/math/derivation/index.d.ts.map +1 -1
  55. package/lib/exercises/math/derivation/index.js +1 -0
  56. package/lib/exercises/math/derivation/tangent/index.d.ts +2 -0
  57. package/lib/exercises/math/derivation/tangent/index.d.ts.map +1 -0
  58. package/lib/exercises/math/derivation/tangent/index.js +17 -0
  59. package/lib/exercises/math/derivation/tangent/tangentEquations.d.ts +8 -0
  60. package/lib/exercises/math/derivation/tangent/tangentEquations.d.ts.map +1 -0
  61. package/lib/exercises/math/derivation/tangent/tangentEquations.js +70 -0
  62. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts +8 -0
  63. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts.map +1 -0
  64. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.js +85 -0
  65. package/lib/exercises/math/equaDiff/index.d.ts +1 -0
  66. package/lib/exercises/math/equaDiff/index.d.ts.map +1 -1
  67. package/lib/exercises/math/equaDiff/index.js +1 -0
  68. package/lib/exercises/math/functions/affines/affineAdjustment.d.ts +10 -0
  69. package/lib/exercises/math/functions/affines/affineAdjustment.d.ts.map +1 -0
  70. package/lib/exercises/math/functions/affines/affineAdjustment.js +106 -0
  71. package/lib/exercises/math/functions/affines/affineAdjustmentComplete.d.ts +11 -0
  72. package/lib/exercises/math/functions/affines/affineAdjustmentComplete.d.ts.map +1 -0
  73. package/lib/exercises/math/functions/affines/affineAdjustmentComplete.js +125 -0
  74. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts +7 -0
  75. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts.map +1 -0
  76. package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.js +100 -0
  77. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts +8 -0
  78. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts.map +1 -0
  79. package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.js +55 -0
  80. package/lib/exercises/math/functions/affines/index.d.ts +5 -0
  81. package/lib/exercises/math/functions/affines/index.d.ts.map +1 -1
  82. package/lib/exercises/math/functions/affines/index.js +5 -0
  83. package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.d.ts +9 -0
  84. package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.d.ts.map +1 -0
  85. package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.js +61 -0
  86. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.d.ts +10 -0
  87. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.d.ts.map +1 -0
  88. package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.js +172 -0
  89. package/lib/exercises/math/geometry/cartesian/directionVector.d.ts +8 -0
  90. package/lib/exercises/math/geometry/cartesian/directionVector.d.ts.map +1 -0
  91. package/lib/exercises/math/geometry/cartesian/directionVector.js +106 -0
  92. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.d.ts +8 -0
  93. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.d.ts.map +1 -0
  94. package/lib/exercises/math/geometry/cartesian/directionVectorEquation.js +100 -0
  95. package/lib/exercises/math/geometry/cartesian/index.d.ts +4 -0
  96. package/lib/exercises/math/geometry/cartesian/index.d.ts.map +1 -1
  97. package/lib/exercises/math/geometry/cartesian/index.js +4 -0
  98. package/lib/exercises/math/geometry/cartesian/pointCoordinates.d.ts +8 -0
  99. package/lib/exercises/math/geometry/cartesian/pointCoordinates.d.ts.map +1 -0
  100. package/lib/exercises/math/geometry/cartesian/pointCoordinates.js +76 -0
  101. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.d.ts +8 -0
  102. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.d.ts.map +1 -0
  103. package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.js +135 -0
  104. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.d.ts +7 -0
  105. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.d.ts.map +1 -0
  106. package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.js +61 -0
  107. package/lib/exercises/math/geometry/convexity/index.d.ts +3 -0
  108. package/lib/exercises/math/geometry/convexity/index.d.ts.map +1 -0
  109. package/lib/exercises/math/geometry/convexity/index.js +18 -0
  110. package/lib/exercises/math/geometry/index.d.ts +1 -0
  111. package/lib/exercises/math/geometry/index.d.ts.map +1 -1
  112. package/lib/exercises/math/geometry/index.js +1 -0
  113. package/lib/exercises/math/geometry/vectors/index.d.ts +3 -0
  114. package/lib/exercises/math/geometry/vectors/index.d.ts.map +1 -1
  115. package/lib/exercises/math/geometry/vectors/index.js +3 -0
  116. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.d.ts +10 -0
  117. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.d.ts.map +1 -0
  118. package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.js +112 -0
  119. package/lib/exercises/math/geometry/vectors/vectorLinearCombination.d.ts +14 -0
  120. package/lib/exercises/math/geometry/vectors/vectorLinearCombination.d.ts.map +1 -0
  121. package/lib/exercises/math/geometry/vectors/vectorLinearCombination.js +99 -0
  122. package/lib/exercises/math/geometry/vectors/vectorNormCalculation.d.ts +8 -0
  123. package/lib/exercises/math/geometry/vectors/vectorNormCalculation.d.ts.map +1 -0
  124. package/lib/exercises/math/geometry/vectors/vectorNormCalculation.js +61 -0
  125. package/lib/exercises/math/index.d.ts +1 -0
  126. package/lib/exercises/math/index.d.ts.map +1 -1
  127. package/lib/exercises/math/index.js +1 -0
  128. package/lib/exercises/math/percent/findProportion.js +1 -1
  129. package/lib/exercises/math/probaStat/probaFromTableNoContext.js +3 -3
  130. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.d.ts +7 -0
  131. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.d.ts.map +1 -0
  132. package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.js +97 -0
  133. package/lib/exercises/math/probaStat/stats2var/index.d.ts +1 -0
  134. package/lib/exercises/math/probaStat/stats2var/index.d.ts.map +1 -1
  135. package/lib/exercises/math/probaStat/stats2var/index.js +1 -0
  136. package/lib/exercises/math/python/conditionIf.d.ts +9 -0
  137. package/lib/exercises/math/python/conditionIf.d.ts.map +1 -0
  138. package/lib/exercises/math/python/conditionIf.js +66 -0
  139. package/lib/exercises/math/python/forLoop.d.ts +10 -0
  140. package/lib/exercises/math/python/forLoop.d.ts.map +1 -0
  141. package/lib/exercises/math/python/forLoop.js +90 -0
  142. package/lib/exercises/math/python/inOutCalcul.d.ts +10 -0
  143. package/lib/exercises/math/python/inOutCalcul.d.ts.map +1 -0
  144. package/lib/exercises/math/python/inOutCalcul.js +71 -0
  145. package/lib/exercises/math/python/index.d.ts +8 -0
  146. package/lib/exercises/math/python/index.d.ts.map +1 -1
  147. package/lib/exercises/math/python/index.js +23 -0
  148. package/lib/exercises/math/python/pyForLoop1Exercise.d.ts +13 -0
  149. package/lib/exercises/math/python/pyForLoop1Exercise.d.ts.map +1 -0
  150. package/lib/exercises/math/python/pyForLoop1Exercise.js +144 -0
  151. package/lib/exercises/math/python/pyNestedForLoopExercise.d.ts +12 -0
  152. package/lib/exercises/math/python/pyNestedForLoopExercise.d.ts.map +1 -0
  153. package/lib/exercises/math/python/pyNestedForLoopExercise.js +84 -0
  154. package/lib/exercises/math/python/pyWhileLoop1Exercise.d.ts +12 -0
  155. package/lib/exercises/math/python/pyWhileLoop1Exercise.d.ts.map +1 -0
  156. package/lib/exercises/math/python/pyWhileLoop1Exercise.js +114 -0
  157. package/lib/exercises/math/python/pythonFunctionTrinom.d.ts +9 -0
  158. package/lib/exercises/math/python/pythonFunctionTrinom.d.ts.map +1 -0
  159. package/lib/exercises/math/python/pythonFunctionTrinom.js +63 -0
  160. package/lib/exercises/math/python/whileLoop.d.ts +12 -0
  161. package/lib/exercises/math/python/whileLoop.d.ts.map +1 -0
  162. package/lib/exercises/math/python/whileLoop.js +78 -0
  163. package/lib/exercises/pc/electricity/electricChargeFromIntensity.js +1 -1
  164. package/lib/exercises/pc/mole/molFromMass.js +1 -1
  165. package/lib/exercises/pc/mole/molFromMolarMass.js +1 -1
  166. package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
  167. package/lib/exercises/pc/potentialEnergy.js +4 -5
  168. package/lib/exercises/pc/waves/periodicWaveCelerity.js +1 -1
  169. package/lib/index.d.ts +152 -0
  170. package/lib/index.d.ts.map +1 -1
  171. package/lib/math/geometry/CloudPoints.d.ts +14 -0
  172. package/lib/math/geometry/CloudPoints.d.ts.map +1 -0
  173. package/lib/math/geometry/CloudPoints.js +94 -0
  174. package/lib/math/geometry/line.d.ts +4 -0
  175. package/lib/math/geometry/line.d.ts.map +1 -1
  176. package/lib/math/geometry/line.js +25 -0
  177. package/lib/math/geometry/vector.d.ts +5 -0
  178. package/lib/math/geometry/vector.d.ts.map +1 -1
  179. package/lib/math/geometry/vector.js +31 -0
  180. package/lib/math/polynomials/polynomial.d.ts +1 -0
  181. package/lib/math/polynomials/polynomial.d.ts.map +1 -1
  182. package/lib/math/polynomials/polynomial.js +10 -2
  183. package/lib/math/polynomials/trinom.d.ts +1 -0
  184. package/lib/math/polynomials/trinom.d.ts.map +1 -1
  185. package/lib/math/polynomials/trinom.js +28 -0
  186. package/lib/math/utils/arithmetic/factorial.d.ts +2 -0
  187. package/lib/math/utils/arithmetic/factorial.d.ts.map +1 -0
  188. package/lib/math/utils/arithmetic/factorial.js +10 -0
  189. package/lib/math/utils/covariance.d.ts +4 -0
  190. package/lib/math/utils/covariance.d.ts.map +1 -0
  191. package/lib/math/utils/covariance.js +26 -0
  192. package/lib/math/utils/functions/expUDerivate.d.ts +5 -0
  193. package/lib/math/utils/functions/expUDerivate.d.ts.map +1 -0
  194. package/lib/math/utils/functions/expUDerivate.js +9 -0
  195. package/lib/math/utils/functions/expUSecondDerivate.d.ts +5 -0
  196. package/lib/math/utils/functions/expUSecondDerivate.d.ts.map +1 -0
  197. package/lib/math/utils/functions/expUSecondDerivate.js +12 -0
  198. package/lib/math/utils/variance.d.ts +4 -0
  199. package/lib/math/utils/variance.d.ts.map +1 -0
  200. package/lib/math/utils/variance.js +27 -0
  201. package/lib/server.d.ts.map +1 -1
  202. package/lib/tree/nodes/sets/intervalNode.d.ts +1 -1
  203. package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
  204. package/lib/tree/nodes/sets/intervalNode.js +2 -2
  205. package/package.json +3 -3
@@ -57,6 +57,6 @@ export interface Exercise<TIdentifiers = {}> {
57
57
  subject: "Mathématiques" | "Chimie" | "Physique";
58
58
  }
59
59
  export type MathLevel = "6ème" | "5ème" | "4ème" | "3ème" | "2nde" | "1reTech" | "1reESM" | "1reSpé" | "TermSpé" | "TermTech" | "MathExp" | "MathComp" | "CAP" | "2ndPro" | "1rePro" | "TermPro";
60
- export type MathSection = "Aires" | "Arithmétique" | "Calcul littéral" | "Calculs" | "Combinatoire et dénombrement" | "Conversions" | "Dérivation" | "Droites" | "Ensembles et intervalles" | "Équations" | "Équations différentielles" | "Exponentielle" | "Fonction cube" | "Fonction inverse" | "Fonctions" | "Fonctions affines" | "Fonctions de référence" | "Fractions" | "Géométrie cartésienne" | "Géométrie euclidienne" | "Inéquations" | "Intégration" | "Limites" | "Logarithme népérien" | "Logarithme décimal" | "Matrices" | "Nombres complexes" | "Périmètres" | "Pourcentages" | "Primitives" | "Probabilités" | "Produit scalaire" | "Proportionnalité" | "Puissances" | "Racines carrées" | "Second degré" | "Statistiques" | "Suites" | "Systèmes" | "Théorème de Pythagore" | "Théorème de Thalès" | "Trigonométrie" | "Valeur absolue" | "Vecteurs";
60
+ export type MathSection = "Aires" | "Arithmétique" | "Calcul littéral" | "Calculs" | "Combinatoire et dénombrement" | "Conversions" | "Dérivation" | "Droites" | "Ensembles et intervalles" | "Équations" | "Équations différentielles" | "Exponentielle" | "Fonction cube" | "Fonction inverse" | "Fonctions" | "Fonctions affines" | "Fonctions de référence" | "Fractions" | "Géométrie cartésienne" | "Géométrie euclidienne" | "Inéquations" | "Intégration" | "Limites" | "Logarithme népérien" | "Logarithme décimal" | "Matrices" | "Nombres complexes" | "Périmètres" | "Pourcentages" | "Primitives" | "Probabilités" | "Produit scalaire" | "Proportionnalité" | "Python" | "Puissances" | "Python" | "Racines carrées" | "Second degré" | "Statistiques" | "Suites" | "Systèmes" | "Théorème de Pythagore" | "Théorème de Thalès" | "Trigonométrie" | "Valeur absolue" | "Vecteurs";
61
61
  export type PCSection = "Réaction chimique" | "Chimie des solutions" | "Forces" | "Chimie organique" | "Mécanique" | "Lumière" | "Acide / Base" | "Constitution et transformations de la matière" | "Ondes" | "Son" | "Corps purs et mélanges" | "Fluides" | "Mol" | "Électricité";
62
62
  //# sourceMappingURL=exercise.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAI3C,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAQtB,CAAC;AACF,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAQtB,CAAC;AACF,eAAO,MAAM,iBAAiB,UACrB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U,GACV,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,cAAc,GACd,iBAAiB,GACjB,SAAS,GACT,8BAA8B,GAC9B,aAAa,GACb,YAAY,GACZ,SAAS,GACT,0BAA0B,GAC1B,WAAW,GACX,2BAA2B,GAC3B,eAAe,GACf,eAAe,GACf,kBAAkB,GAClB,WAAW,GACX,mBAAmB,GACnB,wBAAwB,GACxB,WAAW,GACX,uBAAuB,GACvB,uBAAuB,GACvB,aAAa,GACb,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,oBAAoB,GACpB,UAAU,GACV,mBAAmB,GACnB,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,cAAc,GACd,kBAAkB,GAClB,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,cAAc,GACd,cAAc,GACd,QAAQ,GACR,UAAU,GACV,uBAAuB,GACvB,oBAAoB,GACpB,eAAe,GACf,gBAAgB,GAChB,UAAU,CAAC;AAEf,MAAM,MAAM,SAAS,GACjB,mBAAmB,GACnB,sBAAsB,GACtB,QAAQ,GACR,kBAAkB,GAClB,WAAW,GACX,SAAS,GACT,cAAc,GACd,+CAA+C,GAC/C,OAAO,GACP,KAAK,GACL,wBAAwB,GACxB,SAAS,GACT,KAAK,GACL,aAAa,CAAC"}
1
+ {"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAI3C,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAQtB,CAAC;AACF,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAQtB,CAAC;AACF,eAAO,MAAM,iBAAiB,UACrB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAUtB,C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AEd,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,cAAc,GACd,iBAAiB,GACjB,SAAS,GACT,8BAA8B,GAC9B,aAAa,GACb,YAAY,GACZ,SAAS,GACT,0BAA0B,GAC1B,WAAW,GACX,2BAA2B,GAC3B,eAAe,GACf,eAAe,GACf,kBAAkB,GAClB,WAAW,GACX,mBAAmB,GACnB,wBAAwB,GACxB,WAAW,GACX,uBAAuB,GACvB,uBAAuB,GACvB,aAAa,GACb,aAAa,GACb,SAAS,GACT,qBAAqB,GACrB,oBAAoB,GACpB,UAAU,GACV,mBAAmB,GACnB,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,cAAc,GACd,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,iBAAiB,GACjB,cAAc,GACd,cAAc,GACd,QAAQ,GACR,UAAU,GACV,uBAAuB,GACvB,oBAAoB,GACpB,eAAe,GACf,gBAAgB,GAChB,UAAU,CAAC;AAEf,MAAM,MAAM,SAAS,GACjB,mBAAmB,GACnB,sBAAsB,GACtB,QAAQ,GACR,kBAAkB,GAClB,WAAW,GACX,SAAS,GACT,cAAc,GACd,+CAA+C,GAC/C,OAAO,GACP,KAAK,GACL,wBAAwB,GACxB,SAAS,GACT,KAAK,GACL,aAAa,CAAC"}
@@ -20,7 +20,7 @@ const getCommonDivisorsListQuestion = () => {
20
20
  const answer = res.join(",");
21
21
  const question = {
22
22
  answer,
23
- instruction: `Donner la liste des diviseurs communs à ${a} et ${b} (séparer les valeurs par des virgules).`,
23
+ instruction: `Donner la liste des diviseurs communs à $${a}$ et $${b}$ (séparer les valeurs par des virgules).`,
24
24
  keys: [],
25
25
  answerFormat: "tex",
26
26
  identifiers: { a, b },
@@ -13,7 +13,7 @@ const getDivisorsListQuestion = () => {
13
13
  const answer = divisors.join(",");
14
14
  const question = {
15
15
  answer,
16
- instruction: `Donner la liste des diviseurs de ${a} (séparer les valeurs par des virgules).`,
16
+ instruction: `Donner la liste des diviseurs de $${a}$ (séparer les valeurs par des virgules).`,
17
17
  keys: [],
18
18
  answerFormat: "tex",
19
19
  identifiers: { a },
@@ -20,7 +20,7 @@ const getEuclideanDivisionQuestions = () => {
20
20
  const answer = new equalNode_1.EqualNode(new numberNode_1.NumberNode(dividend), new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(divisor), new numberNode_1.NumberNode(quotient)), new numberNode_1.NumberNode(remainder)));
21
21
  const answerTex = answer.toTex();
22
22
  const question = {
23
- instruction: `Ecrire la division euclidienne de ${dividend} par ${divisor}.`,
23
+ instruction: `Ecrire la division euclidienne de $${dividend}$ par $${divisor}$.`,
24
24
  answer: answerTex,
25
25
  keys: ["equal"],
26
26
  answerFormat: "tex",
@@ -13,7 +13,7 @@ const getPgcdCalculQuestion = () => {
13
13
  const pgcd = (0, gcd_1.gcd)(a, b);
14
14
  const question = {
15
15
  answer: pgcd + "",
16
- instruction: `Donner le PGCD de ${a} et ${b}`,
16
+ instruction: `Donner le PGCD de $${a}$ et $${b}$`,
17
17
  keys: [],
18
18
  answerFormat: "tex",
19
19
  identifiers: { a, b },
@@ -23,7 +23,7 @@ const getRoundQuestions = (opts) => {
23
23
  const decTex = dec.toTree().toTex();
24
24
  const answer = dec.round(precisionAsked).toTree().toTex();
25
25
  const question = {
26
- instruction: `${instructions[precisionAsked]} ${decTex}`,
26
+ instruction: `${instructions[precisionAsked]} $${decTex}$`,
27
27
  startStatement: decTex,
28
28
  answer,
29
29
  keys: [],
@@ -0,0 +1,5 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {};
3
+ export declare const binomialsTrinomialsProposedSolutions: Exercise<Identifiers>;
4
+ export {};
5
+ //# sourceMappingURL=binomialsTrinomialsProposedSolutions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binomialsTrinomialsProposedSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG,EAAE,CAAC;AA0EtB,eAAO,MAAM,oCAAoC,EAAE,QAAQ,CAAC,WAAW,CActE,CAAC"}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.binomialsTrinomialsProposedSolutions = 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 trinom_1 = require("../../../../math/polynomials/trinom");
8
+ const randint_1 = require("../../../../math/utils/random/randint");
9
+ const equalNode_1 = require("../../../../tree/nodes/equations/equalNode");
10
+ const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
11
+ const substractNode_1 = require("../../../../tree/nodes/operators/substractNode");
12
+ const coinFlip_1 = require("../../../../utils/coinFlip");
13
+ function generateTrinomialFromRoot(root, constante) {
14
+ const a = (0, randint_1.randint)(1, 5);
15
+ const r2 = (0, randint_1.randint)(-10, 10, [0]);
16
+ const b = -(root + r2);
17
+ const c = root * r2;
18
+ return new trinom_1.Trinom(a, a * b, a * c + constante);
19
+ }
20
+ const getBinomialsTrinomialsProposedSolutionsQuestion = () => {
21
+ const degree = (0, coinFlip_1.coinFlip)();
22
+ const constante = (0, randint_1.randint)(-10, 10);
23
+ const root = (0, randint_1.randint)(-10, 10, [0]);
24
+ const trinomial = generateTrinomialFromRoot(root, constante);
25
+ const a1 = (0, randint_1.randint)(-10, 10, [0]);
26
+ const b1 = (0, randint_1.randint)(-10, 10);
27
+ let a2;
28
+ do {
29
+ a2 = (0, randint_1.randint)(-10, 10, [0]);
30
+ } while (a2 === a1);
31
+ const b2 = (0, randint_1.randint)(-10, 10);
32
+ const binomial1 = new affine_1.Affine(a1, b1);
33
+ const binomial2 = new affine_1.Affine(a2, b2);
34
+ const equation = degree
35
+ ? new equalNode_1.EqualNode(trinomial.toTree(), constante.toTree())
36
+ : new equalNode_1.EqualNode(binomial1.toTree(), binomial2.toTree());
37
+ const ans = degree
38
+ ? root.toTree().toTex()
39
+ : new fractionNode_1.FractionNode(new substractNode_1.SubstractNode(binomial2.b.toTree(), binomial1.b.toTree()), new substractNode_1.SubstractNode(binomial1.a.toTree(), binomial2.a.toTree()))
40
+ .simplify()
41
+ .toTex();
42
+ const answertype = (0, coinFlip_1.coinFlip)();
43
+ const solution = answertype ? ans : (0, randint_1.randint)(-10, 10);
44
+ const answer = answertype ? "Oui" : "Non";
45
+ const question = {
46
+ answer: answer,
47
+ instruction: `Soit $x_0 = ${solution}$. Est-ce une solution de l'équation $${equation.toTex()}$ ?`,
48
+ keys: [],
49
+ answerFormat: "raw",
50
+ identifiers: {},
51
+ };
52
+ return question;
53
+ };
54
+ const getPropositions = (n, { answer }) => {
55
+ const propositions = [];
56
+ (0, exercise_1.addValidProp)(propositions, answer, "raw");
57
+ (0, exercise_1.tryToAddWrongProp)(propositions, "Oui", "raw");
58
+ (0, exercise_1.tryToAddWrongProp)(propositions, "Non", "raw");
59
+ (0, exercise_1.tryToAddWrongProp)(propositions, "On ne peut pas savoir", "raw");
60
+ return (0, exercise_1.shuffleProps)(propositions, n);
61
+ };
62
+ const isAnswerValid = (ans, { answer }) => {
63
+ return ans === answer;
64
+ };
65
+ exports.binomialsTrinomialsProposedSolutions = {
66
+ id: "binomialsTrinomialsProposedSolutions",
67
+ label: "Demander si un nombre est solution d'une équation",
68
+ levels: ["1rePro"],
69
+ isSingleStep: true,
70
+ sections: ["Équations"],
71
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getBinomialsTrinomialsProposedSolutionsQuestion, nb),
72
+ answerType: "QCM",
73
+ qcmTimer: 60,
74
+ freeTimer: 60,
75
+ getPropositions,
76
+ isAnswerValid,
77
+ subject: "Mathématiques",
78
+ };
@@ -0,0 +1,14 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ type: number;
4
+ vars: ExerciseVars;
5
+ };
6
+ type ExerciseVars = {
7
+ flip: boolean;
8
+ resultNb: number;
9
+ randAdd?: number;
10
+ op2?: string;
11
+ };
12
+ export declare const equationFromSentenceExericse: Exercise<Identifiers>;
13
+ export {};
14
+ //# sourceMappingURL=equationFromSentenceExercise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"equationFromSentenceExercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equationFromSentenceExercise.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAalC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AASF,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAkOF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAa9D,CAAC"}
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.equationFromSentenceExericse = 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 equalNode_1 = require("../../../../tree/nodes/equations/equalNode");
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 substractNode_1 = require("../../../../tree/nodes/operators/substractNode");
14
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
15
+ const coinFlip_1 = require("../../../../utils/coinFlip");
16
+ const x = new variableNode_1.VariableNode("x");
17
+ const twoNode = new numberNode_1.NumberNode(2);
18
+ const getEquationFromSentenceExerciseQuestion = () => {
19
+ const exercise = generateExercise();
20
+ const question = {
21
+ answer: exercise.answer.toTex(),
22
+ instruction: exercise.instruction,
23
+ keys: ["x", "equal"],
24
+ answerFormat: "tex",
25
+ identifiers: {
26
+ type: exercise.type,
27
+ vars: exercise.vars,
28
+ },
29
+ };
30
+ return question;
31
+ };
32
+ const getPropositions = (n, { answer, type, vars }) => {
33
+ const propositions = [];
34
+ (0, exercise_1.addValidProp)(propositions, answer);
35
+ generateProposition(type, vars).forEach((value) => (0, exercise_1.tryToAddWrongProp)(propositions, value.toTex()));
36
+ let rand;
37
+ while (propositions.length < n) {
38
+ rand = new equalNode_1.EqualNode(affine_1.AffineConstructor.random().toTree(), new numberNode_1.NumberNode(vars.resultNb));
39
+ (0, exercise_1.tryToAddWrongProp)(propositions, rand.toTex());
40
+ }
41
+ return (0, exercise_1.shuffleProps)(propositions, n);
42
+ };
43
+ const isAnswerValid = (ans, { type, vars }) => {
44
+ const correctAnswer = getCorrectAnswer(type, vars);
45
+ return correctAnswer.toAllValidTexs().includes(ans);
46
+ };
47
+ const generateProposition = (type, vars) => {
48
+ const randAddNode = type !== 1 ? new numberNode_1.NumberNode(vars.randAdd) : new numberNode_1.NumberNode(0);
49
+ const resultNode = new numberNode_1.NumberNode(vars.resultNb);
50
+ const firstProposition = getFirstProposition(type, vars, randAddNode, resultNode);
51
+ const secondProposition = getSecondProposition(type, vars, randAddNode, resultNode);
52
+ return [firstProposition, secondProposition];
53
+ };
54
+ const getFirstProposition = (type, vars, randAddNode, resultNode) => {
55
+ switch (type) {
56
+ case 1:
57
+ return new equalNode_1.EqualNode(vars.flip
58
+ ? new fractionNode_1.FractionNode(x, twoNode).simplify()
59
+ : new multiplyNode_1.MultiplyNode(twoNode, x).simplify(), resultNode);
60
+ case 2:
61
+ return new equalNode_1.EqualNode(vars.flip
62
+ ? new substractNode_1.SubstractNode(x, randAddNode)
63
+ : new addNode_1.AddNode(x, randAddNode), resultNode);
64
+ case 3:
65
+ return new equalNode_1.EqualNode(vars.op2 === "augmenté"
66
+ ? new substractNode_1.SubstractNode(vars.flip
67
+ ? new multiplyNode_1.MultiplyNode(twoNode, x).simplify()
68
+ : new fractionNode_1.FractionNode(x, twoNode).simplify(), randAddNode)
69
+ : new addNode_1.AddNode(vars.flip
70
+ ? new multiplyNode_1.MultiplyNode(twoNode, x).simplify()
71
+ : new fractionNode_1.FractionNode(x, twoNode).simplify(), randAddNode), resultNode);
72
+ }
73
+ return new equalNode_1.EqualNode(x, x);
74
+ };
75
+ const getSecondProposition = (type, vars, randAddNode, resultNode) => {
76
+ switch (type) {
77
+ case 1:
78
+ return new equalNode_1.EqualNode(vars.flip
79
+ ? new multiplyNode_1.MultiplyNode(resultNode, twoNode).simplify()
80
+ : new fractionNode_1.FractionNode(resultNode, twoNode).simplify(), x);
81
+ case 2:
82
+ return new equalNode_1.EqualNode(vars.flip
83
+ ? new addNode_1.AddNode(resultNode, randAddNode).simplify()
84
+ : new substractNode_1.SubstractNode(resultNode, randAddNode).simplify(), x);
85
+ case 3:
86
+ return new equalNode_1.EqualNode(vars.op2 === "augmenté"
87
+ ? new addNode_1.AddNode(vars.flip
88
+ ? new fractionNode_1.FractionNode(twoNode, x).simplify()
89
+ : new multiplyNode_1.MultiplyNode(x, twoNode).simplify(), randAddNode)
90
+ : new substractNode_1.SubstractNode(vars.flip
91
+ ? new fractionNode_1.FractionNode(twoNode, x).simplify()
92
+ : new multiplyNode_1.MultiplyNode(x, twoNode).simplify(), randAddNode), resultNode);
93
+ }
94
+ return new equalNode_1.EqualNode(x, x);
95
+ };
96
+ const getCorrectAnswer = (type, vars) => {
97
+ const randAddNode = vars.randAdd
98
+ ? new numberNode_1.NumberNode(vars.randAdd)
99
+ : new numberNode_1.NumberNode(0);
100
+ switch (type) {
101
+ case 1:
102
+ return new equalNode_1.EqualNode(vars.flip
103
+ ? new multiplyNode_1.MultiplyNode(x, twoNode).simplify()
104
+ : new fractionNode_1.FractionNode(x, twoNode).simplify(), new numberNode_1.NumberNode(vars.resultNb));
105
+ case 2:
106
+ return new equalNode_1.EqualNode(vars.flip
107
+ ? new addNode_1.AddNode(x, randAddNode)
108
+ : new substractNode_1.SubstractNode(x, randAddNode), new numberNode_1.NumberNode(vars.resultNb));
109
+ case 3:
110
+ return new equalNode_1.EqualNode(vars.op2 === "augmenté"
111
+ ? new addNode_1.AddNode(vars.flip
112
+ ? new multiplyNode_1.MultiplyNode(twoNode, x).simplify()
113
+ : new fractionNode_1.FractionNode(x, twoNode).simplify(), randAddNode)
114
+ : new substractNode_1.SubstractNode(vars.flip
115
+ ? new multiplyNode_1.MultiplyNode(twoNode, x).simplify()
116
+ : new fractionNode_1.FractionNode(x, twoNode).simplify(), randAddNode), new numberNode_1.NumberNode(vars.resultNb));
117
+ }
118
+ return new equalNode_1.EqualNode(x, x);
119
+ };
120
+ const generateExercise = () => {
121
+ const type = (0, randint_1.randint)(1, 4);
122
+ const flip = (0, coinFlip_1.coinFlip)();
123
+ const resultNb = (0, randint_1.randint)(1, 51) * 2;
124
+ let randAdd;
125
+ let op2;
126
+ let instruction = "";
127
+ switch (type) {
128
+ case 1:
129
+ instruction = `On appelle $x$ le nombre à trouver.
130
+ Traduire par une équation la phrase "${flip ? `Le double` : `La moitié`} du nombre à trouver vaut $${resultNb}$"`;
131
+ break;
132
+ case 2:
133
+ randAdd = (0, randint_1.randint)(1, 11);
134
+ instruction = `On appelle $x$ le nombre à trouver.
135
+ Traduire par une équation la phrase "${flip ? `La somme` : `La différence`} du nombre à trouver et de $${randAdd}$ a pour résultat $${resultNb}$"`;
136
+ break;
137
+ case 3:
138
+ randAdd = (0, randint_1.randint)(1, 11);
139
+ op2 = (0, coinFlip_1.coinFlip)() ? `augmenté` : `diminué`;
140
+ instruction = `On appelle $x$ le nombre à trouver.
141
+ Traduire par une équation la phrase "${flip ? `Le double` : `La moitié`} du nombre à trouver ${flip ? op2 : op2 + "e"} de $${randAdd}$ vaut $${resultNb}$"`;
142
+ break;
143
+ }
144
+ const vars = { randAdd, resultNb, op2, flip };
145
+ const answer = getCorrectAnswer(type, vars);
146
+ return { type, instruction, answer, vars };
147
+ };
148
+ exports.equationFromSentenceExericse = {
149
+ id: "equationFromSentenceExercise",
150
+ label: "Traduire une phrase en une equation Mathématique.",
151
+ levels: ["5ème"],
152
+ isSingleStep: true,
153
+ sections: ["Calcul littéral"],
154
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getEquationFromSentenceExerciseQuestion, nb),
155
+ qcmTimer: 60,
156
+ freeTimer: 60,
157
+ getPropositions,
158
+ isAnswerValid,
159
+ subject: "Mathématiques",
160
+ };
@@ -0,0 +1,9 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ b: number;
5
+ x: number;
6
+ };
7
+ export declare const firstDegreeEquationIntType1: Exercise<Identifiers>;
8
+ export {};
9
+ //# sourceMappingURL=firstDegreeEquationIntType1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firstDegreeEquationIntType1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoEF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.firstDegreeEquationIntType1 = 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 equalNode_1 = require("../../../../tree/nodes/equations/equalNode");
8
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
9
+ const getFirstDegreeEquationIntQuestion = () => {
10
+ const a = (0, randint_1.randint)(-15, 15, [0]);
11
+ const x = (0, randint_1.randint)(-15, 15, [0]);
12
+ const b = a * x;
13
+ const answer = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), x.toTree()).toTex();
14
+ const question = {
15
+ answer: answer,
16
+ instruction: `Résoudre l'équation suivante : $${a}x = ${b}$`,
17
+ keys: ["x", "equal"],
18
+ answerFormat: "tex",
19
+ identifiers: { a: a, x: x, b: b },
20
+ };
21
+ return question;
22
+ };
23
+ const getPropositions = (n, { answer, a, b }) => {
24
+ const propositions = [];
25
+ (0, exercise_1.addValidProp)(propositions, answer);
26
+ const w1 = b - a;
27
+ const w2 = b + a;
28
+ let w3 = 0;
29
+ if (b !== 0) {
30
+ w3 = Math.floor(a / b);
31
+ }
32
+ else {
33
+ w3 = Math.floor((0, randint_1.randint)(-10, 10));
34
+ }
35
+ const wrongAnswer1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w1.toTree()).toTex();
36
+ const wrongAnswer2 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w2.toTree()).toTex();
37
+ const wrongAnswer3 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w3.toTree()).toTex();
38
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer1);
39
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer2);
40
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer3);
41
+ while (propositions.length < n) {
42
+ const random = (0, randint_1.randint)(-10, 10);
43
+ const wrongAnswer = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), random.toTree()).toTex();
44
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer);
45
+ }
46
+ return (0, exercise_1.shuffleProps)(propositions, n);
47
+ };
48
+ const isAnswerValid = (ans, { answer, x }) => {
49
+ const ans1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), x.toTree());
50
+ const latexs = ans1.toAllValidTexs({ allowRawRightChildAsSolution: true });
51
+ return latexs.includes(ans);
52
+ };
53
+ exports.firstDegreeEquationIntType1 = {
54
+ id: "firstDegreeEquationIntType1",
55
+ label: "Résoudre une équation du premier degré du type $ax = b$ (solution entière)",
56
+ levels: ["2nde"],
57
+ isSingleStep: true,
58
+ sections: ["Équations"],
59
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFirstDegreeEquationIntQuestion, nb),
60
+ qcmTimer: 60,
61
+ freeTimer: 60,
62
+ getPropositions,
63
+ isAnswerValid,
64
+ subject: "Mathématiques",
65
+ };
@@ -0,0 +1,10 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ x: number;
5
+ b: number;
6
+ c: number;
7
+ };
8
+ export declare const firstDegreeEquationIntType2: Exercise<Identifiers>;
9
+ export {};
10
+ //# sourceMappingURL=firstDegreeEquationIntType2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firstDegreeEquationIntType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6EF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.firstDegreeEquationIntType2 = 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 equalNode_1 = require("../../../../tree/nodes/equations/equalNode");
8
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
9
+ const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
10
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
11
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
12
+ const getFirstDegreeEquationIntQuestion = () => {
13
+ const a = (0, randint_1.randint)(-15, 15, [0]);
14
+ const x = (0, randint_1.randint)(-15, 15, [0]);
15
+ const c = (0, randint_1.randint)(-15, 15, [0]);
16
+ const b = c - a * x;
17
+ const answer = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), x.toTree()).toTex();
18
+ const equation = new equalNode_1.EqualNode(new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(a.toTree(), new variableNode_1.VariableNode("x")), b.toTree()).simplify({ forbidFactorize: true }), c.toTree());
19
+ const question = {
20
+ answer: answer,
21
+ instruction: `Résoudre l'équation suivante : $${equation.toTex()}$`,
22
+ keys: ["x", "equal"],
23
+ answerFormat: "tex",
24
+ identifiers: { a: a, x: x, c: c, b: b },
25
+ };
26
+ return question;
27
+ };
28
+ const getPropositions = (n, { answer, a, b, c }) => {
29
+ const propositions = [];
30
+ (0, exercise_1.addValidProp)(propositions, answer);
31
+ const w1 = b - c - a;
32
+ let wrongAnswer2 = "";
33
+ if (b !== c) {
34
+ // Assurez-vous que b - c n'est pas zéro
35
+ const w2 = new fractionNode_1.FractionNode(a.toTree(), (b - c).toTree()).simplify();
36
+ wrongAnswer2 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w2).toTex();
37
+ }
38
+ else {
39
+ // Fournir une réponse alternative ou invalide si b - c est zéro
40
+ wrongAnswer2 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), (0, randint_1.randint)(-10, 10).toTree()).toTex();
41
+ }
42
+ const w3 = b !== 0 ? Math.floor(c / b - a) : Math.floor((0, randint_1.randint)(-10, 10));
43
+ const wrongAnswer1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w1.toTree()).toTex();
44
+ const wrongAnswer3 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w3.toTree()).toTex();
45
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer1);
46
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer2);
47
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer3);
48
+ while (propositions.length < n) {
49
+ const random = (0, randint_1.randint)(-15, 15);
50
+ const wrongAnswer = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), random.toTree()).toTex();
51
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer);
52
+ }
53
+ return (0, exercise_1.shuffleProps)(propositions, n);
54
+ };
55
+ const isAnswerValid = (ans, { answer, x }) => {
56
+ const ans1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), x.toTree());
57
+ const latexs = ans1.toAllValidTexs({ allowRawRightChildAsSolution: true });
58
+ return latexs.includes(ans);
59
+ };
60
+ exports.firstDegreeEquationIntType2 = {
61
+ id: "firstDegreeEquationIntType2",
62
+ label: "Résoudre une équation du premier degré du type $ax + b = c$ (solution entière)",
63
+ levels: ["2nde"],
64
+ isSingleStep: true,
65
+ sections: ["Équations"],
66
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFirstDegreeEquationIntQuestion, nb),
67
+ qcmTimer: 60,
68
+ freeTimer: 60,
69
+ getPropositions,
70
+ isAnswerValid,
71
+ subject: "Mathématiques",
72
+ };
@@ -0,0 +1,11 @@
1
+ import { Exercise } from "../../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ x: number;
5
+ b: number;
6
+ c: number;
7
+ d: number;
8
+ };
9
+ export declare const firstDegreeEquationIntType3: Exercise<Identifiers>;
10
+ export {};
11
+ //# sourceMappingURL=firstDegreeEquationIntType3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firstDegreeEquationIntType3.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAsFF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.firstDegreeEquationIntType3 = 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 equalNode_1 = require("../../../../tree/nodes/equations/equalNode");
8
+ const addNode_1 = require("../../../../tree/nodes/operators/addNode");
9
+ const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
10
+ const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
11
+ const variableNode_1 = require("../../../../tree/nodes/variables/variableNode");
12
+ const getFirstDegreeEquationIntQuestion = () => {
13
+ const a = (0, randint_1.randint)(-15, 15, [0]);
14
+ const x = (0, randint_1.randint)(-15, 15, [0]);
15
+ const c = (0, randint_1.randint)(-15, 15, [0]);
16
+ const d = (0, randint_1.randint)(-15, 15, [0]);
17
+ const b = d - (a - c) * x;
18
+ const answer = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), x.toTree()).toTex();
19
+ const equation = new equalNode_1.EqualNode(new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(a.toTree(), new variableNode_1.VariableNode("x")), b.toTree()).simplify({ forbidFactorize: true }), new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(c.toTree(), new variableNode_1.VariableNode("x")), d.toTree()).simplify({ forbidFactorize: true }));
20
+ const question = {
21
+ answer: answer,
22
+ instruction: `Résoudre l'équation suivante : $${equation.toTex()}$`,
23
+ keys: ["x", "equal"],
24
+ answerFormat: "tex",
25
+ identifiers: { a: a, x: x, b: b, c: c, d: d },
26
+ };
27
+ return question;
28
+ };
29
+ const getPropositions = (n, { answer, a, b, c, d }) => {
30
+ const propositions = [];
31
+ (0, exercise_1.addValidProp)(propositions, answer);
32
+ const denomW1 = a - c;
33
+ let wrongAnswer1 = "";
34
+ if (denomW1 !== 0) {
35
+ const w1 = new fractionNode_1.FractionNode((d - b).toTree(), denomW1.toTree()).simplify();
36
+ wrongAnswer1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w1).toTex();
37
+ }
38
+ else {
39
+ wrongAnswer1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), (0, randint_1.randint)(-10, 10).toTree()).toTex();
40
+ }
41
+ const denomW2 = b + d;
42
+ let wrongAnswer2 = "";
43
+ if (denomW2 !== 0) {
44
+ const w2 = new fractionNode_1.FractionNode((a + c).toTree(), denomW2.toTree()).simplify();
45
+ wrongAnswer2 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), w2).toTex();
46
+ }
47
+ else {
48
+ wrongAnswer2 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), (0, randint_1.randint)(-10, 10).toTree()).toTex();
49
+ }
50
+ const wrongAnswer3 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), Math.floor((a + c) / (denomW1 === 0 ? 1 : denomW1)).toTree()).toTex();
51
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer1);
52
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer2);
53
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer3);
54
+ while (propositions.length < n) {
55
+ const random = (0, randint_1.randint)(-10, 10);
56
+ const wrongAnswer = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), random.toTree()).toTex();
57
+ (0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer);
58
+ }
59
+ return (0, exercise_1.shuffleProps)(propositions, n);
60
+ };
61
+ const isAnswerValid = (ans, { answer, x }) => {
62
+ const ans1 = new equalNode_1.EqualNode(new variableNode_1.VariableNode("x"), x.toTree());
63
+ const latexs = ans1.toAllValidTexs({ allowRawRightChildAsSolution: true });
64
+ return latexs.includes(ans);
65
+ };
66
+ exports.firstDegreeEquationIntType3 = {
67
+ id: "firstDegreeEquationIntType3",
68
+ label: "Résoudre une équation du premier degré du type $ax + b = cx + d$ (solution entière)",
69
+ levels: ["2nde"],
70
+ isSingleStep: true,
71
+ sections: ["Équations"],
72
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFirstDegreeEquationIntQuestion, nb),
73
+ qcmTimer: 60,
74
+ freeTimer: 60,
75
+ getPropositions,
76
+ isAnswerValid,
77
+ subject: "Mathématiques",
78
+ };
@@ -3,7 +3,11 @@ export * from "./equationType1Exercise";
3
3
  export * from "./equationType2Exercise";
4
4
  export * from "./equationType3Exercise";
5
5
  export * from "./equationType4Exercise";
6
- export * from "./firstDegreeEquation";
7
6
  export * from "./fractionEquation";
8
7
  export * from "./multiplicationEquation";
8
+ export * from "./firstDegreeEquationIntType1";
9
+ export * from "./firstDegreeEquationIntType2";
10
+ export * from "./firstDegreeEquationIntType3";
11
+ export * from "./equationFromSentenceExercise";
12
+ export * from "./binomialsTrinomialsProposedSolutions";
9
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC"}