math-exercises 3.0.57 → 3.0.59

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 (256) hide show
  1. package/lib/exercises/exercise.d.ts +1 -0
  2. package/lib/exercises/exercise.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.d.ts.map +1 -1
  4. package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.js +46 -17
  5. package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.d.ts.map +1 -1
  6. package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.js +8 -2
  7. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
  8. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +15 -11
  9. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
  10. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +4 -5
  11. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.d.ts.map +1 -1
  12. package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.js +4 -2
  13. package/lib/exercises/math/calcul/fractions/fractionSquare.d.ts.map +1 -1
  14. package/lib/exercises/math/calcul/fractions/fractionSquare.js +0 -4
  15. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts +6 -3
  16. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
  17. package/lib/exercises/math/calcul/fractions/fractionsDivision.js +63 -28
  18. package/lib/exercises/math/calcul/fractions/fractionsOperations.d.ts.map +1 -1
  19. package/lib/exercises/math/calcul/fractions/fractionsOperations.js +0 -4
  20. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
  21. package/lib/exercises/math/calcul/fractions/fractionsProduct.js +0 -4
  22. package/lib/exercises/math/calcul/fractions/fractionsSubstraction.d.ts.map +1 -1
  23. package/lib/exercises/math/calcul/fractions/fractionsSubstraction.js +0 -4
  24. package/lib/exercises/math/calcul/fractions/fractionsSum.d.ts.map +1 -1
  25. package/lib/exercises/math/calcul/fractions/fractionsSum.js +33 -12
  26. package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts +2 -0
  27. package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts.map +1 -1
  28. package/lib/exercises/math/calcul/operations/operationsPriorities.js +46 -36
  29. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
  30. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +1 -4
  31. package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts +16 -0
  32. package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts.map +1 -0
  33. package/lib/exercises/math/calculLitteral/factorisation/facto1.js +184 -0
  34. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +1 -1
  35. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
  36. package/lib/exercises/math/calculLitteral/factorisation/index.js +1 -1
  37. package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts +8 -0
  38. package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts.map +1 -0
  39. package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.js +102 -0
  40. package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts +7 -0
  41. package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts.map +1 -0
  42. package/lib/exercises/math/derivation/convexity/convexityTrinomials.js +52 -0
  43. package/lib/exercises/math/derivation/convexity/index.d.ts +4 -0
  44. package/lib/exercises/math/derivation/convexity/index.d.ts.map +1 -0
  45. package/lib/exercises/math/derivation/convexity/index.js +3 -0
  46. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts +7 -0
  47. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts.map +1 -0
  48. package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.js +134 -0
  49. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts +8 -0
  50. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts.map +1 -0
  51. package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.js +79 -0
  52. package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts +8 -0
  53. package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts.map +1 -0
  54. package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +85 -0
  55. package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.d.ts +8 -0
  56. package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.d.ts.map +1 -0
  57. package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.js +86 -0
  58. package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts +8 -0
  59. package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts.map +1 -0
  60. package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +76 -0
  61. package/lib/exercises/math/derivation/derivative/exp/index.d.ts +6 -0
  62. package/lib/exercises/math/derivation/derivative/exp/index.d.ts.map +1 -0
  63. package/lib/exercises/math/derivation/derivative/exp/index.js +5 -0
  64. package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.d.ts +7 -0
  65. package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.d.ts.map +1 -0
  66. package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.js +84 -0
  67. package/lib/exercises/math/derivation/derivative/index.d.ts +6 -27
  68. package/lib/exercises/math/derivation/derivative/index.d.ts.map +1 -1
  69. package/lib/exercises/math/derivation/derivative/index.js +6 -27
  70. package/lib/exercises/math/derivation/derivative/ln/index.d.ts +4 -0
  71. package/lib/exercises/math/derivation/derivative/ln/index.d.ts.map +1 -0
  72. package/lib/exercises/math/derivation/derivative/ln/index.js +3 -0
  73. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.d.ts +8 -0
  74. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.d.ts.map +1 -0
  75. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.js +81 -0
  76. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.d.ts +8 -0
  77. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.d.ts.map +1 -0
  78. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.js +103 -0
  79. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.d.ts +8 -0
  80. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.d.ts.map +1 -0
  81. package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.js +77 -0
  82. package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts +10 -0
  83. package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts.map +1 -0
  84. package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.js +71 -0
  85. package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts +11 -0
  86. package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts.map +1 -0
  87. package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +88 -0
  88. package/lib/exercises/math/derivation/derivative/polynomial/index.d.ts +8 -0
  89. package/lib/exercises/math/derivation/derivative/polynomial/index.d.ts.map +1 -0
  90. package/lib/exercises/math/derivation/derivative/polynomial/index.js +7 -0
  91. package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts +10 -0
  92. package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts.map +1 -0
  93. package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +115 -0
  94. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.d.ts +10 -0
  95. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.d.ts.map +1 -0
  96. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.js +80 -0
  97. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts +9 -0
  98. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts.map +1 -0
  99. package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.js +67 -0
  100. package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts +10 -0
  101. package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts.map +1 -0
  102. package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.js +134 -0
  103. package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.d.ts +11 -0
  104. package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.d.ts.map +1 -0
  105. package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.js +97 -0
  106. package/lib/exercises/math/derivation/derivative/power/index.d.ts +3 -0
  107. package/lib/exercises/math/derivation/derivative/power/index.d.ts.map +1 -0
  108. package/lib/exercises/math/derivation/derivative/power/index.js +2 -0
  109. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts +9 -0
  110. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts.map +1 -0
  111. package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.js +122 -0
  112. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts +8 -0
  113. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts.map +1 -0
  114. package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.js +118 -0
  115. package/lib/exercises/math/derivation/derivative/sqrt/index.d.ts +3 -0
  116. package/lib/exercises/math/derivation/derivative/sqrt/index.d.ts.map +1 -0
  117. package/lib/exercises/math/derivation/derivative/sqrt/index.js +3 -0
  118. package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.d.ts +7 -0
  119. package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.d.ts.map +1 -0
  120. package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.js +115 -0
  121. package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts +8 -0
  122. package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts.map +1 -0
  123. package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +77 -0
  124. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts +8 -0
  125. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts.map +1 -0
  126. package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.js +85 -0
  127. package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts +8 -0
  128. package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts.map +1 -0
  129. package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.js +81 -0
  130. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts +7 -0
  131. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts.map +1 -0
  132. package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +103 -0
  133. package/lib/exercises/math/derivation/derivative/trigo/index.d.ts +5 -0
  134. package/lib/exercises/math/derivation/derivative/trigo/index.d.ts.map +1 -0
  135. package/lib/exercises/math/derivation/derivative/trigo/index.js +4 -0
  136. package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.d.ts +8 -0
  137. package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.d.ts.map +1 -0
  138. package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.js +70 -0
  139. package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.d.ts +7 -0
  140. package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.d.ts.map +1 -0
  141. package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +91 -0
  142. package/lib/exercises/math/derivation/derivativeNumberCalcul.d.ts.map +1 -1
  143. package/lib/exercises/math/derivation/derivativeNumberCalcul.js +4 -2
  144. package/lib/exercises/math/derivation/index.d.ts +2 -0
  145. package/lib/exercises/math/derivation/index.d.ts.map +1 -1
  146. package/lib/exercises/math/derivation/index.js +2 -0
  147. package/lib/exercises/math/derivation/variations/index.d.ts +2 -0
  148. package/lib/exercises/math/derivation/variations/index.d.ts.map +1 -0
  149. package/lib/exercises/math/derivation/variations/index.js +1 -0
  150. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts +11 -0
  151. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts.map +1 -0
  152. package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.js +168 -0
  153. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts.map +1 -1
  154. package/lib/exercises/math/equaDiff/equaDiffAyPlusB.js +39 -22
  155. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +1 -1
  156. package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.js +7 -1
  157. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
  158. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +38 -15
  159. package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.d.ts.map +1 -1
  160. package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.js +29 -8
  161. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts +8 -0
  162. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts.map +1 -0
  163. package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.js +86 -0
  164. package/lib/exercises/math/equaDiff/index.d.ts +1 -1
  165. package/lib/exercises/math/equaDiff/index.d.ts.map +1 -1
  166. package/lib/exercises/math/equaDiff/index.js +1 -1
  167. package/lib/exercises/math/functions/exponential/expEquation.d.ts.map +1 -1
  168. package/lib/exercises/math/functions/exponential/expEquation.js +3 -0
  169. package/lib/exercises/math/functions/exponential/expFactorization.d.ts.map +1 -1
  170. package/lib/exercises/math/functions/exponential/expFactorization.js +3 -0
  171. package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -1
  172. package/lib/exercises/math/functions/exponential/expSimplifiying.js +83 -45
  173. package/lib/exercises/math/geometry/areas/circleArea.js +1 -1
  174. package/lib/exercises/math/geometry/euclidianConstructions/buildRhombus.d.ts +2 -0
  175. package/lib/exercises/math/geometry/euclidianConstructions/buildRhombus.d.ts.map +1 -0
  176. package/lib/exercises/math/geometry/euclidianConstructions/buildRhombus.js +63 -0
  177. package/lib/exercises/math/percent/findProportion.js +1 -1
  178. package/lib/exercises/math/percent/findTVA.js +1 -1
  179. package/lib/exercises/math/percent/htToTTC.js +1 -1
  180. package/lib/exercises/math/percent/reciprocalPercentage.js +1 -1
  181. package/lib/exercises/math/percent/ttcToHT.js +1 -1
  182. package/lib/exercises/math/powers/powersOfTenToDecimal.d.ts.map +1 -1
  183. package/lib/exercises/math/powers/powersOfTenToDecimal.js +1 -0
  184. package/lib/exercises/math/primitive/klogUPrimitive.js +1 -1
  185. package/lib/exercises/math/primitive/logarithmePrimitive.js +1 -1
  186. package/lib/exercises/math/probaStat/stats1var/averageList.d.ts.map +1 -1
  187. package/lib/exercises/math/probaStat/stats1var/averageList.js +4 -4
  188. package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -1
  189. package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +42 -11
  190. package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.d.ts.map +1 -1
  191. package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.js +8 -20
  192. package/lib/exercises/math/probaStat/stats1var/etendueList.d.ts.map +1 -1
  193. package/lib/exercises/math/probaStat/stats1var/etendueList.js +4 -6
  194. package/lib/exercises/math/probaStat/stats1var/interquartilesList.d.ts.map +1 -1
  195. package/lib/exercises/math/probaStat/stats1var/interquartilesList.js +4 -4
  196. package/lib/exercises/math/probaStat/stats1var/interquartilesTable.d.ts.map +1 -1
  197. package/lib/exercises/math/probaStat/stats1var/interquartilesTable.js +4 -4
  198. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -1
  199. package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +13 -9
  200. package/lib/exercises/math/probaStat/stats1var/median.d.ts.map +1 -1
  201. package/lib/exercises/math/probaStat/stats1var/median.js +19 -14
  202. package/lib/exercises/math/probaStat/stats1var/medianList.d.ts.map +1 -1
  203. package/lib/exercises/math/probaStat/stats1var/medianList.js +3 -0
  204. package/lib/exercises/math/probaStat/stats1var/quartiles.d.ts.map +1 -1
  205. package/lib/exercises/math/probaStat/stats1var/quartiles.js +16 -11
  206. package/lib/exercises/math/probaStat/stats1var/quartilesList.d.ts.map +1 -1
  207. package/lib/exercises/math/probaStat/stats1var/quartilesList.js +18 -14
  208. package/lib/exercises/math/probaStat/stats1var/standardDeviationList.d.ts.map +1 -1
  209. package/lib/exercises/math/probaStat/stats1var/standardDeviationList.js +4 -4
  210. package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.d.ts.map +1 -1
  211. package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.js +4 -4
  212. package/lib/exercises/math/probaStat/stats1var/varianceList.d.ts.map +1 -1
  213. package/lib/exercises/math/probaStat/stats1var/varianceList.js +4 -4
  214. package/lib/exercises/math/probaStat/stats1var/varianceTable.d.ts.map +1 -1
  215. package/lib/exercises/math/probaStat/stats1var/varianceTable.js +4 -4
  216. package/lib/exercises/math/squareRoots/simpifySquareRoot.d.ts.map +1 -1
  217. package/lib/exercises/math/squareRoots/simpifySquareRoot.js +4 -4
  218. package/lib/exercises/math/squareRoots/squareRootEquation.d.ts.map +1 -1
  219. package/lib/exercises/math/squareRoots/squareRootEquation.js +4 -4
  220. package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts +1 -0
  221. package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts.map +1 -1
  222. package/lib/exercises/math/squareRoots/squareRootIdentities.js +64 -40
  223. package/lib/exercises/math/squareRoots/squareRootsDistributivity.d.ts.map +1 -1
  224. package/lib/exercises/math/squareRoots/squareRootsDistributivity.js +36 -23
  225. package/lib/exercises/math/squareRoots/squareRootsFractions.d.ts.map +1 -1
  226. package/lib/exercises/math/squareRoots/squareRootsFractions.js +4 -1
  227. package/lib/exercises/math/squareRoots/squareRootsProducts.d.ts.map +1 -1
  228. package/lib/exercises/math/squareRoots/squareRootsProducts.js +4 -1
  229. package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -1
  230. package/lib/exercises/math/squareRoots/squareRootsSum.js +4 -2
  231. package/lib/exercises/math/squareRoots/squareRootsToSquare.d.ts.map +1 -1
  232. package/lib/exercises/math/squareRoots/squareRootsToSquare.js +4 -2
  233. package/lib/exercises/math/trigonometry/arcValue.d.ts.map +1 -1
  234. package/lib/exercises/math/trigonometry/arcValue.js +67 -31
  235. package/lib/exercises/math/trigonometry/associatePoint.d.ts.map +1 -1
  236. package/lib/exercises/math/trigonometry/associatePoint.js +33 -16
  237. package/lib/exercises/math/trigonometry/basicEquationSin.js +6 -6
  238. package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.js +3 -3
  239. package/lib/exercises/math/trigonometry/trigonometry.d.ts.map +1 -1
  240. package/lib/exercises/math/trigonometry/trigonometry.js +0 -5
  241. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -1
  242. package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +0 -5
  243. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
  244. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +0 -5
  245. package/lib/exercises/pc/index.d.ts +5 -5
  246. package/lib/exercises/pc/index.d.ts.map +1 -1
  247. package/lib/exercises/pc/index.js +5 -5
  248. package/lib/index.d.ts +48 -44
  249. package/lib/index.d.ts.map +1 -1
  250. package/lib/tree/nodes/functions/logNode.js +2 -4
  251. package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
  252. package/lib/tree/nodes/operators/fractionNode.js +4 -0
  253. package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
  254. package/lib/tree/nodes/operators/multiplyNode.js +4 -3
  255. package/lib/tree/parsers/latexParser.js +6 -2
  256. package/package.json +1 -1
@@ -265,8 +265,12 @@ const buildTreeForSameDepthTokens = (tokens) => {
265
265
  if (token[0].match(/[0-9]/)) {
266
266
  tempTokens[i] = new NumberNode(Number(token));
267
267
  }
268
- else if (token[0].match(/[a-df-zA-Z]/))
269
- tempTokens[i] = new VariableNode(token);
268
+ else if (token.length === 1 && token.match(/^[a-zA-Z]/)) {
269
+ if (token === "e")
270
+ tempTokens[i] = new ExpNode((1).toTree());
271
+ else
272
+ tempTokens[i] = new VariableNode(token);
273
+ }
270
274
  else if (symbols.some((el) => el.tex === token)) {
271
275
  const obj = symbols.find((el) => el.tex === token);
272
276
  tempTokens[i] = obj.node;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "math-exercises",
3
3
  "type": "module",
4
- "version": "3.0.57",
4
+ "version": "3.0.59",
5
5
  "description": "Math exercises generator for middle school and high school",
6
6
  "main": "lib/index.js",
7
7
  "files": [