math-exercises 3.0.213 → 3.0.215

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 (267) hide show
  1. package/lib/exercises/math/arithmetic/findLeftInHugeNumberDivision.d.ts +9 -0
  2. package/lib/exercises/math/arithmetic/findLeftInHugeNumberDivision.d.ts.map +1 -0
  3. package/lib/exercises/math/arithmetic/findLeftInHugeNumberDivision.js +194 -0
  4. package/lib/exercises/math/arithmetic/findMissingNumberToMakeNumberDivisibleBy9.d.ts +8 -0
  5. package/lib/exercises/math/arithmetic/findMissingNumberToMakeNumberDivisibleBy9.d.ts.map +1 -0
  6. package/lib/exercises/math/arithmetic/findMissingNumberToMakeNumberDivisibleBy9.js +121 -0
  7. package/lib/exercises/math/arithmetic/hasDiophantianEquationSolution.js +4 -4
  8. package/lib/exercises/math/arithmetic/index.d.ts +7 -0
  9. package/lib/exercises/math/arithmetic/index.d.ts.map +1 -1
  10. package/lib/exercises/math/arithmetic/index.js +7 -0
  11. package/lib/exercises/math/arithmetic/isBigNumberPrime.d.ts +7 -0
  12. package/lib/exercises/math/arithmetic/isBigNumberPrime.d.ts.map +1 -0
  13. package/lib/exercises/math/arithmetic/isBigNumberPrime.js +107 -0
  14. package/lib/exercises/math/arithmetic/numberOfEndingZerosOfBigProduct.d.ts +8 -0
  15. package/lib/exercises/math/arithmetic/numberOfEndingZerosOfBigProduct.d.ts.map +1 -0
  16. package/lib/exercises/math/arithmetic/numberOfEndingZerosOfBigProduct.js +139 -0
  17. package/lib/exercises/math/arithmetic/pgcdFromEuclid.d.ts +8 -0
  18. package/lib/exercises/math/arithmetic/pgcdFromEuclid.d.ts.map +1 -0
  19. package/lib/exercises/math/arithmetic/pgcdFromEuclid.js +123 -0
  20. package/lib/exercises/math/arithmetic/solveDiophantianEquationByUsingPrimality.d.ts +7 -0
  21. package/lib/exercises/math/arithmetic/solveDiophantianEquationByUsingPrimality.d.ts.map +1 -0
  22. package/lib/exercises/math/arithmetic/solveDiophantianEquationByUsingPrimality.js +117 -0
  23. package/lib/exercises/math/arithmetic/whichDayInXDays.d.ts +8 -0
  24. package/lib/exercises/math/arithmetic/whichDayInXDays.d.ts.map +1 -0
  25. package/lib/exercises/math/arithmetic/whichDayInXDays.js +81 -0
  26. package/lib/exercises/math/calcul/fractions/fractionsSumFillInTheBlank.d.ts +15 -0
  27. package/lib/exercises/math/calcul/fractions/fractionsSumFillInTheBlank.d.ts.map +1 -0
  28. package/lib/exercises/math/calcul/fractions/fractionsSumFillInTheBlank.js +256 -0
  29. package/lib/exercises/math/calcul/fractions/index.d.ts +1 -0
  30. package/lib/exercises/math/calcul/fractions/index.d.ts.map +1 -1
  31. package/lib/exercises/math/calcul/fractions/index.js +1 -0
  32. package/lib/exercises/math/calcul/index.d.ts +1 -0
  33. package/lib/exercises/math/calcul/index.d.ts.map +1 -1
  34. package/lib/exercises/math/calcul/index.js +1 -0
  35. package/lib/exercises/math/calcul/mentalCaluls/index.d.ts +3 -0
  36. package/lib/exercises/math/calcul/mentalCaluls/index.d.ts.map +1 -1
  37. package/lib/exercises/math/calcul/mentalCaluls/index.js +3 -0
  38. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication101AndFriends.d.ts +10 -0
  39. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication101AndFriends.d.ts.map +1 -0
  40. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication101AndFriends.js +264 -0
  41. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication11AndFriends.d.ts +10 -0
  42. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication11AndFriends.d.ts.map +1 -0
  43. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication11AndFriends.js +264 -0
  44. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationTable.d.ts +11 -0
  45. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationTable.d.ts.map +1 -0
  46. package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationTable.js +141 -0
  47. package/lib/exercises/math/calcul/ratio/index.d.ts +1 -0
  48. package/lib/exercises/math/calcul/ratio/index.d.ts.map +1 -1
  49. package/lib/exercises/math/calcul/ratio/index.js +1 -0
  50. package/lib/exercises/math/calcul/ratio/partsUsingRatio.d.ts +13 -0
  51. package/lib/exercises/math/calcul/ratio/partsUsingRatio.d.ts.map +1 -0
  52. package/lib/exercises/math/calcul/ratio/partsUsingRatio.js +237 -0
  53. package/lib/exercises/math/calcul/relatives/index.d.ts +2 -0
  54. package/lib/exercises/math/calcul/relatives/index.d.ts.map +1 -0
  55. package/lib/exercises/math/calcul/relatives/index.js +1 -0
  56. package/lib/exercises/math/calcul/relatives/relativesAddAndSub.d.ts +17 -0
  57. package/lib/exercises/math/calcul/relatives/relativesAddAndSub.d.ts.map +1 -0
  58. package/lib/exercises/math/calcul/relatives/relativesAddAndSub.js +448 -0
  59. package/lib/exercises/math/calculLitteral/factorisation/factoByXK.d.ts +10 -0
  60. package/lib/exercises/math/calculLitteral/factorisation/factoByXK.d.ts.map +1 -0
  61. package/lib/exercises/math/calculLitteral/factorisation/factoByXK.js +190 -0
  62. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +1 -0
  63. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
  64. package/lib/exercises/math/calculLitteral/factorisation/index.js +1 -0
  65. package/lib/exercises/math/complex/algebraic/addComplex.d.ts +10 -0
  66. package/lib/exercises/math/complex/algebraic/addComplex.d.ts.map +1 -0
  67. package/lib/exercises/math/complex/algebraic/addComplex.js +125 -0
  68. package/lib/exercises/math/complex/algebraic/conjugateComplex.d.ts +8 -0
  69. package/lib/exercises/math/complex/algebraic/conjugateComplex.d.ts.map +1 -0
  70. package/lib/exercises/math/complex/algebraic/conjugateComplex.js +105 -0
  71. package/lib/exercises/math/complex/algebraic/conjugateDivideComplex.d.ts +8 -0
  72. package/lib/exercises/math/complex/algebraic/conjugateDivideComplex.d.ts.map +1 -0
  73. package/lib/exercises/math/complex/algebraic/conjugateDivideComplex.js +137 -0
  74. package/lib/exercises/math/complex/algebraic/conjugateMultiplyComplex.d.ts +8 -0
  75. package/lib/exercises/math/complex/algebraic/conjugateMultiplyComplex.d.ts.map +1 -0
  76. package/lib/exercises/math/complex/algebraic/conjugateMultiplyComplex.js +116 -0
  77. package/lib/exercises/math/complex/algebraic/divideComplex.d.ts +8 -0
  78. package/lib/exercises/math/complex/algebraic/divideComplex.d.ts.map +1 -0
  79. package/lib/exercises/math/complex/algebraic/divideComplex.js +128 -0
  80. package/lib/exercises/math/complex/algebraic/index.d.ts +11 -0
  81. package/lib/exercises/math/complex/algebraic/index.d.ts.map +1 -0
  82. package/lib/exercises/math/complex/algebraic/index.js +10 -0
  83. package/lib/exercises/math/complex/algebraic/inverseComplex.d.ts +8 -0
  84. package/lib/exercises/math/complex/algebraic/inverseComplex.d.ts.map +1 -0
  85. package/lib/exercises/math/complex/algebraic/inverseComplex.js +95 -0
  86. package/lib/exercises/math/complex/algebraic/linearCombinaisonComplex.d.ts +10 -0
  87. package/lib/exercises/math/complex/algebraic/linearCombinaisonComplex.d.ts.map +1 -0
  88. package/lib/exercises/math/complex/algebraic/linearCombinaisonComplex.js +105 -0
  89. package/lib/exercises/math/complex/algebraic/moduloFromAlgebraicComplex.d.ts +8 -0
  90. package/lib/exercises/math/complex/algebraic/moduloFromAlgebraicComplex.d.ts.map +1 -0
  91. package/lib/exercises/math/complex/algebraic/moduloFromAlgebraicComplex.js +93 -0
  92. package/lib/exercises/math/complex/algebraic/mutiplyComplex.d.ts +8 -0
  93. package/lib/exercises/math/complex/algebraic/mutiplyComplex.d.ts.map +1 -0
  94. package/lib/exercises/math/complex/algebraic/mutiplyComplex.js +106 -0
  95. package/lib/exercises/math/complex/algebraic/reAndIm.d.ts +9 -0
  96. package/lib/exercises/math/complex/algebraic/reAndIm.d.ts.map +1 -0
  97. package/lib/exercises/math/complex/algebraic/reAndIm.js +92 -0
  98. package/lib/exercises/math/complex/geometric/complexAlgebraicFromModuloAndArg.d.ts +9 -0
  99. package/lib/exercises/math/complex/geometric/complexAlgebraicFromModuloAndArg.d.ts.map +1 -0
  100. package/lib/exercises/math/complex/geometric/complexAlgebraicFromModuloAndArg.js +151 -0
  101. package/lib/exercises/math/complex/geometric/complexDistance.d.ts +11 -0
  102. package/lib/exercises/math/complex/geometric/complexDistance.d.ts.map +1 -0
  103. package/lib/exercises/math/complex/geometric/complexDistance.js +125 -0
  104. package/lib/exercises/math/complex/geometric/complexGeomAffixAlgFromPoint.d.ts +9 -0
  105. package/lib/exercises/math/complex/geometric/complexGeomAffixAlgFromPoint.d.ts.map +1 -0
  106. package/lib/exercises/math/complex/geometric/complexGeomAffixAlgFromPoint.js +326 -0
  107. package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromCenteredRegularPolygon.d.ts +10 -0
  108. package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromCenteredRegularPolygon.d.ts.map +1 -0
  109. package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromCenteredRegularPolygon.js +459 -0
  110. package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromPoint.d.ts +14 -0
  111. package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromPoint.d.ts.map +1 -0
  112. package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromPoint.js +539 -0
  113. package/lib/exercises/math/complex/geometric/complexGeomAffixTrigFromPoint.d.ts +13 -0
  114. package/lib/exercises/math/complex/geometric/complexGeomAffixTrigFromPoint.d.ts.map +1 -0
  115. package/lib/exercises/math/complex/geometric/complexGeomAffixTrigFromPoint.js +485 -0
  116. package/lib/exercises/math/complex/geometric/complexGeomApproxOfCosArgOrSinArgFromPointAndAffixTrig.d.ts +12 -0
  117. package/lib/exercises/math/complex/geometric/complexGeomApproxOfCosArgOrSinArgFromPointAndAffixTrig.d.ts.map +1 -0
  118. package/lib/exercises/math/complex/geometric/complexGeomApproxOfCosArgOrSinArgFromPointAndAffixTrig.js +224 -0
  119. package/lib/exercises/math/complex/geometric/complexGeomArgumentOfFracCBABFromFigure.d.ts +11 -0
  120. package/lib/exercises/math/complex/geometric/complexGeomArgumentOfFracCBABFromFigure.d.ts.map +1 -0
  121. package/lib/exercises/math/complex/geometric/complexGeomArgumentOfFracCBABFromFigure.js +448 -0
  122. package/lib/exercises/math/complex/geometric/complexGeomFindPointFromAffixExp.d.ts +11 -0
  123. package/lib/exercises/math/complex/geometric/complexGeomFindPointFromAffixExp.d.ts.map +1 -0
  124. package/lib/exercises/math/complex/geometric/complexGeomFindPointFromAffixExp.js +223 -0
  125. package/lib/exercises/math/complex/geometric/complexGeomFindPointFromPowerOfUnitRootFromFigure.d.ts +11 -0
  126. package/lib/exercises/math/complex/geometric/complexGeomFindPointFromPowerOfUnitRootFromFigure.d.ts.map +1 -0
  127. package/lib/exercises/math/complex/geometric/complexGeomFindPointFromPowerOfUnitRootFromFigure.js +348 -0
  128. package/lib/exercises/math/complex/geometric/complexGeomPlaceAffixPoint.d.ts +8 -0
  129. package/lib/exercises/math/complex/geometric/complexGeomPlaceAffixPoint.d.ts.map +1 -0
  130. package/lib/exercises/math/complex/geometric/complexGeomPlaceAffixPoint.js +86 -0
  131. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZAPlusZ.d.ts +11 -0
  132. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZAPlusZ.d.ts.map +1 -0
  133. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZAPlusZ.js +311 -0
  134. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATimesZ.d.ts +11 -0
  135. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATimesZ.d.ts.map +1 -0
  136. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATimesZ.js +345 -0
  137. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATransformed.d.ts +16 -0
  138. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATransformed.d.ts.map +1 -0
  139. package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATransformed.js +729 -0
  140. package/lib/exercises/math/complex/geometric/complexGeomPlacePointWithAffixInU.d.ts +11 -0
  141. package/lib/exercises/math/complex/geometric/complexGeomPlacePointWithAffixInU.d.ts.map +1 -0
  142. package/lib/exercises/math/complex/geometric/complexGeomPlacePointWithAffixInU.js +253 -0
  143. package/lib/exercises/math/complex/geometric/index.d.ts +12 -0
  144. package/lib/exercises/math/complex/geometric/index.d.ts.map +1 -0
  145. package/lib/exercises/math/complex/geometric/index.js +19 -0
  146. package/lib/exercises/math/complex/index.d.ts +4 -10
  147. package/lib/exercises/math/complex/index.d.ts.map +1 -1
  148. package/lib/exercises/math/complex/index.js +4 -11
  149. package/lib/exercises/math/complex/polynomials/factorizePolynomialInC.d.ts +10 -0
  150. package/lib/exercises/math/complex/polynomials/factorizePolynomialInC.d.ts.map +1 -0
  151. package/lib/exercises/math/complex/polynomials/factorizePolynomialInC.js +176 -0
  152. package/lib/exercises/math/complex/polynomials/index.d.ts +4 -0
  153. package/lib/exercises/math/complex/polynomials/index.d.ts.map +1 -0
  154. package/lib/exercises/math/complex/polynomials/index.js +3 -0
  155. package/lib/exercises/math/complex/polynomials/solveSecondDegreeInComplex.d.ts +10 -0
  156. package/lib/exercises/math/complex/polynomials/solveSecondDegreeInComplex.d.ts.map +1 -0
  157. package/lib/exercises/math/complex/polynomials/solveSecondDegreeInComplex.js +190 -0
  158. package/lib/exercises/math/complex/polynomials/solveZSquareEqualsA.d.ts +11 -0
  159. package/lib/exercises/math/complex/polynomials/solveZSquareEqualsA.d.ts.map +1 -0
  160. package/lib/exercises/math/complex/polynomials/solveZSquareEqualsA.js +158 -0
  161. package/lib/exercises/math/complex/unitRoots/giveNUnitRoot.d.ts +7 -0
  162. package/lib/exercises/math/complex/unitRoots/giveNUnitRoot.d.ts.map +1 -0
  163. package/lib/exercises/math/complex/unitRoots/giveNUnitRoot.js +122 -0
  164. package/lib/exercises/math/complex/unitRoots/giveOneSolutionToComplexPowNEqualsOne.d.ts +8 -0
  165. package/lib/exercises/math/complex/unitRoots/giveOneSolutionToComplexPowNEqualsOne.d.ts.map +1 -0
  166. package/lib/exercises/math/complex/unitRoots/giveOneSolutionToComplexPowNEqualsOne.js +138 -0
  167. package/lib/exercises/math/complex/unitRoots/index.d.ts +3 -0
  168. package/lib/exercises/math/complex/unitRoots/index.d.ts.map +1 -0
  169. package/lib/exercises/math/complex/unitRoots/index.js +2 -0
  170. package/lib/exercises/math/conversion/clock/clockReading.d.ts +12 -0
  171. package/lib/exercises/math/conversion/clock/clockReading.d.ts.map +1 -0
  172. package/lib/exercises/math/conversion/clock/clockReading.js +385 -0
  173. package/lib/exercises/math/conversion/clock/clockReadingPlusTimeOperation.d.ts +2 -0
  174. package/lib/exercises/math/conversion/clock/clockReadingPlusTimeOperation.d.ts.map +1 -0
  175. package/lib/exercises/math/conversion/clock/clockReadingPlusTimeOperation.js +521 -0
  176. package/lib/exercises/math/conversion/clock/clockWritingByManipulatingNeedles.d.ts +2 -0
  177. package/lib/exercises/math/conversion/clock/clockWritingByManipulatingNeedles.d.ts.map +1 -0
  178. package/lib/exercises/math/conversion/clock/clockWritingByManipulatingNeedles.js +359 -0
  179. package/lib/exercises/math/conversion/clock/dateTimeOperationAdd.d.ts +16 -0
  180. package/lib/exercises/math/conversion/clock/dateTimeOperationAdd.d.ts.map +1 -0
  181. package/lib/exercises/math/conversion/clock/dateTimeOperationAdd.js +319 -0
  182. package/lib/exercises/math/conversion/clock/index.d.ts +3 -0
  183. package/lib/exercises/math/conversion/clock/index.d.ts.map +1 -0
  184. package/lib/exercises/math/conversion/clock/index.js +4 -0
  185. package/lib/exercises/math/conversion/index.d.ts +1 -0
  186. package/lib/exercises/math/conversion/index.d.ts.map +1 -1
  187. package/lib/exercises/math/conversion/index.js +1 -0
  188. package/lib/exercises/math/geometry/angles/angleNatureFromFigure.d.ts +11 -0
  189. package/lib/exercises/math/geometry/angles/angleNatureFromFigure.d.ts.map +1 -0
  190. package/lib/exercises/math/geometry/angles/angleNatureFromFigure.js +233 -0
  191. package/lib/exercises/math/geometry/angles/angleNatureFromMeasure.d.ts +10 -0
  192. package/lib/exercises/math/geometry/angles/angleNatureFromMeasure.d.ts.map +1 -0
  193. package/lib/exercises/math/geometry/angles/angleNatureFromMeasure.js +137 -0
  194. package/lib/exercises/math/geometry/angles/index.d.ts +2 -0
  195. package/lib/exercises/math/geometry/angles/index.d.ts.map +1 -1
  196. package/lib/exercises/math/geometry/angles/index.js +2 -0
  197. package/lib/exercises/math/geometry/circles/buildCircleFromRadius.d.ts +9 -0
  198. package/lib/exercises/math/geometry/circles/buildCircleFromRadius.d.ts.map +1 -0
  199. package/lib/exercises/math/geometry/circles/buildCircleFromRadius.js +187 -0
  200. package/lib/exercises/math/geometry/circles/index.d.ts +1 -0
  201. package/lib/exercises/math/geometry/circles/index.d.ts.map +1 -1
  202. package/lib/exercises/math/geometry/circles/index.js +1 -0
  203. package/lib/exercises/math/geometry/lines/buildParallelFromLineAndPoint.d.ts +11 -0
  204. package/lib/exercises/math/geometry/lines/buildParallelFromLineAndPoint.d.ts.map +1 -0
  205. package/lib/exercises/math/geometry/lines/buildParallelFromLineAndPoint.js +154 -0
  206. package/lib/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.d.ts +11 -0
  207. package/lib/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.d.ts.map +1 -0
  208. package/lib/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.js +157 -0
  209. package/lib/exercises/math/geometry/lines/index.d.ts +2 -0
  210. package/lib/exercises/math/geometry/lines/index.d.ts.map +1 -1
  211. package/lib/exercises/math/geometry/lines/index.js +2 -0
  212. package/lib/exercises/math/geometry/triangles/index.d.ts +2 -0
  213. package/lib/exercises/math/geometry/triangles/index.d.ts.map +1 -1
  214. package/lib/exercises/math/geometry/triangles/index.js +2 -1
  215. package/lib/exercises/math/geometry/triangles/traceHeightInTriangle.d.ts +13 -0
  216. package/lib/exercises/math/geometry/triangles/traceHeightInTriangle.d.ts.map +1 -0
  217. package/lib/exercises/math/geometry/triangles/traceHeightInTriangle.js +271 -0
  218. package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.d.ts +8 -0
  219. package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.d.ts.map +1 -1
  220. package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.js +284 -53
  221. package/lib/exercises/math/geometry/vectors/constructions/index.d.ts +1 -0
  222. package/lib/exercises/math/geometry/vectors/constructions/index.d.ts.map +1 -1
  223. package/lib/exercises/math/geometry/vectors/constructions/index.js +1 -0
  224. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSumFromVecs.d.ts +8 -0
  225. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSumFromVecs.d.ts.map +1 -0
  226. package/lib/exercises/math/geometry/vectors/constructions/traceVectorSumFromVecs.js +165 -0
  227. package/lib/exercises/math/geometry/volumes/index.d.ts +1 -0
  228. package/lib/exercises/math/geometry/volumes/index.d.ts.map +1 -1
  229. package/lib/exercises/math/geometry/volumes/index.js +1 -0
  230. package/lib/exercises/math/geometry/volumes/volumeOfCylinder.d.ts +8 -0
  231. package/lib/exercises/math/geometry/volumes/volumeOfCylinder.d.ts.map +1 -0
  232. package/lib/exercises/math/geometry/volumes/volumeOfCylinder.js +157 -0
  233. package/lib/exercises/math/spaceGeometry/basis/index.d.ts +1 -0
  234. package/lib/exercises/math/spaceGeometry/basis/index.d.ts.map +1 -1
  235. package/lib/exercises/math/spaceGeometry/basis/index.js +1 -0
  236. package/lib/exercises/math/spaceGeometry/basis/spaceSegmentLengthInRectangularPrism.d.ts +18 -0
  237. package/lib/exercises/math/spaceGeometry/basis/spaceSegmentLengthInRectangularPrism.d.ts.map +1 -0
  238. package/lib/exercises/math/spaceGeometry/basis/spaceSegmentLengthInRectangularPrism.js +538 -0
  239. package/lib/exercises/math/trigonometry/formulas/trigoAdditionFormulaUsage.d.ts.map +1 -1
  240. package/lib/exercises/math/trigonometry/formulas/trigoAdditionFormulaUsage.js +6 -5
  241. package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaCalcul.js +1 -1
  242. package/lib/exercises/utils/geogebra/toolBarConstructor.d.ts +1 -0
  243. package/lib/exercises/utils/geogebra/toolBarConstructor.d.ts.map +1 -1
  244. package/lib/exercises/utils/geogebra/toolBarConstructor.js +2 -0
  245. package/lib/geogebra/parsers/geogebraParser.d.ts +3 -0
  246. package/lib/geogebra/parsers/geogebraParser.d.ts.map +1 -1
  247. package/lib/geogebra/parsers/geogebraParser.js +27 -0
  248. package/lib/index.d.ts +213 -23
  249. package/lib/index.d.ts.map +1 -1
  250. package/lib/latexTester.js +2 -0
  251. package/lib/math/geometry/angle.d.ts.map +1 -1
  252. package/lib/math/geometry/angle.js +3 -0
  253. package/lib/math/geometry/segment.d.ts +1 -1
  254. package/lib/math/geometry/segment.d.ts.map +1 -1
  255. package/lib/math/geometry/segment.js +5 -2
  256. package/lib/math/utils/geometry/angleBetweenPoints.d.ts +4 -0
  257. package/lib/math/utils/geometry/angleBetweenPoints.d.ts.map +1 -0
  258. package/lib/math/utils/geometry/angleBetweenPoints.js +58 -0
  259. package/lib/math/utils/geometry/angleNWSE.d.ts +3 -0
  260. package/lib/math/utils/geometry/angleNWSE.d.ts.map +1 -0
  261. package/lib/math/utils/geometry/angleNWSE.js +56 -0
  262. package/lib/tests/singleExo.test.d.ts.map +1 -1
  263. package/lib/tests/singleExo.test.js +2 -2
  264. package/lib/utils/strings/frenchDays.d.ts +2 -0
  265. package/lib/utils/strings/frenchDays.d.ts.map +1 -0
  266. package/lib/utils/strings/frenchDays.js +9 -0
  267. package/package.json +1 -1
@@ -4,3 +4,4 @@ export * from "./circleCenterAndRadiusFromEquation.js";
4
4
  export * from "./circleCanonicalEquationFromDevEquation.js";
5
5
  export * from "./circleEquationFromDiameter.js";
6
6
  export * from "./circleRadiusOrCenterFromDevEquation.js";
7
+ export * from "./buildCircleFromRadius.js";
@@ -0,0 +1,11 @@
1
+ import { Exercise } from "../../../../exercises/exercise.js";
2
+ import { LineIdentifiers } from "../../../../math/geometry/line.js";
3
+ import { PointIdentifiers } from "../../../../math/geometry/point.js";
4
+ type Identifiers = {
5
+ lineIds: LineIdentifiers;
6
+ pointIds: PointIdentifiers[];
7
+ indexPoint: number;
8
+ };
9
+ export declare const buildParallelFromLineAndPoint: Exercise<Identifiers>;
10
+ export {};
11
+ //# sourceMappingURL=buildParallelFromLineAndPoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildParallelFromLineAndPoint.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/lines/buildParallelFromLineAndPoint.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAGL,eAAe,EAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AAItC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;IACzB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAoLF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,CAgB/D,CAAC"}
@@ -0,0 +1,154 @@
1
+ import { toolBarConstructor } from "../../../../exercises/utils/geogebra/toolBarConstructor.js";
2
+ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
3
+ import { greenMain, orange } from "../../../../geogebra/colors.js";
4
+ import { GeogebraConstructor } from "../../../../geogebra/geogebraConstructor.js";
5
+ import { GeogebraParser } from "../../../../geogebra/parsers/geogebraParser.js";
6
+ import { Line, LineConstructor, } from "../../../../math/geometry/line.js";
7
+ import { PointConstructor, } from "../../../../math/geometry/point.js";
8
+ import { randint } from "../../../../math/utils/random/randint.js";
9
+ import { zip } from "../../../../utils/arrays/arrayZip.js";
10
+ const getHydrated = (identifiers) => {
11
+ const { lineIds, pointIds, indexPoint } = identifiers;
12
+ const line = LineConstructor.fromIdentifiers(lineIds);
13
+ const arrPoint = pointIds.map((pointIds) => PointConstructor.fromIdentifiers(pointIds));
14
+ const point = arrPoint[indexPoint];
15
+ return {
16
+ line,
17
+ arrPoint,
18
+ point,
19
+ };
20
+ };
21
+ const getInstruction = (identifiers) => {
22
+ const { line, point } = getHydrated(identifiers);
23
+ return `Avec les outils disponibles, construire la droite parallèle à $${line.name}$ passant par le point $${point.name}$.`;
24
+ };
25
+ const getGGBAnswer = (identifiers) => {
26
+ const { line, point, arrPoint } = getHydrated(identifiers);
27
+ const ggbAnswer = [
28
+ ...getStudentGGBCommands(line, arrPoint),
29
+ `lPer = PerpendicularLine(${point.name},${line.ggbName})`,
30
+ `SetColor(lPer, "${orange}")`,
31
+ `ang1 = Angle(${line.ggbName}, lPer)`,
32
+ `lPar = PerpendicularLine(${point.name},lPer)`,
33
+ `SetColor(lPar, "${greenMain}")`,
34
+ `ang2 = Angle(lPer,lPar)`,
35
+ ];
36
+ return ggbAnswer;
37
+ };
38
+ const getHint = (identifiers) => {
39
+ const { line, point } = getHydrated(identifiers);
40
+ return `Pour tracer la parallèle à $${line.name}$ qui passe par le point $${point.name}$,
41
+ commence par tracer la perpendiculaire à $${line.name}$ qui passe par le point $${point.name}$, que l'on va appeler $t$.
42
+ (Sélectionne l'outil Perpendiculaire dans Geogebra puis clique sur la droite $${line.name}$ puis sur le point $${point.name}$.)
43
+
44
+ Ensuite, trace la perpendiculaire à $t$ passant par $${point.name}$.`;
45
+ };
46
+ const getCorrection = (identifiers) => {
47
+ const { line, point } = getHydrated(identifiers);
48
+ return `Pour tracer la parallèle à $${line.name}$ qui passe par le point $${point.name}$,
49
+ on commence par tracer la perpendiculaire à $${line.name}$ qui passe par le point $${point.name}$, que l'on va appeler $t$.
50
+ Puis on trace la perpendiculaire à $t$ passant par $${point.name}$.`;
51
+ };
52
+ const getCorrectionGGBOptions = (identifiers) => {
53
+ const ggb = new GeogebraConstructor({
54
+ commands: [...getGGBAnswer(identifiers)],
55
+ hideGrid: true,
56
+ hideAxes: true,
57
+ isGridSimple: true,
58
+ fontSize: 16,
59
+ });
60
+ return ggb.getOptions({ coords: [-10, 10, -10, 10] });
61
+ };
62
+ const getStudentGGBCommands = (line, arrPoint) => {
63
+ return [
64
+ ...line.toGGBCommands(true, {
65
+ showLabel: true,
66
+ showUnderlyingPoints: false,
67
+ color: "#000000",
68
+ isFixed: true,
69
+ isSelectionnable: true,
70
+ }),
71
+ ...arrPoint.flatMap((point) => point.toGGBCommand({
72
+ isFixed: true,
73
+ showLabel: true,
74
+ isSelectionnable: true,
75
+ })),
76
+ ];
77
+ };
78
+ const getStudentGGBOptions = (identifiers) => {
79
+ const { line, arrPoint } = getHydrated(identifiers);
80
+ const commands = getStudentGGBCommands(line, arrPoint);
81
+ const studentGGB = new GeogebraConstructor({
82
+ commands,
83
+ hideGrid: true,
84
+ hideAxes: true,
85
+ customToolBar: toolBarConstructor({
86
+ orthogonal: true,
87
+ }),
88
+ });
89
+ return studentGGB.getOptions({
90
+ coords: studentGGB.getCoordsForPoints([
91
+ ...arrPoint,
92
+ line.pointA,
93
+ line.pointB,
94
+ ]),
95
+ });
96
+ };
97
+ const isGGBAnswerValid = (ans, { ggbAnswer, ...identifiers }) => {
98
+ const { point } = getHydrated(identifiers);
99
+ const commands = ans;
100
+ const ggbParser = new GeogebraParser(commands);
101
+ const objectDict = ggbParser.objectDict();
102
+ const arrEntryOrthogonalLine = Object.entries(objectDict).filter(([_strNameObj, strObj]) => strObj.startsWith("OrthogonalLine"));
103
+ //required: only 2 orthogonal lines
104
+ if (arrEntryOrthogonalLine.length !== 2) {
105
+ return false;
106
+ }
107
+ const [[strNameOrthogonalLine1, _strOrthogonalLine1], [_strNameOrthogonalLine2, strOrthogonalLine2],] = arrEntryOrthogonalLine;
108
+ const [namePointAns, nameLineAns] = GeogebraParser.argNamesForOrthogonalLineObj(strOrthogonalLine2);
109
+ return zip([namePointAns, nameLineAns], [point.name, strNameOrthogonalLine1]).every(([strAns, strAnswer]) => strAns === strAnswer);
110
+ };
111
+ const getBuildParallelFromLineAndPointQuestion = () => {
112
+ const [point1, point2, pointLine1, pointLine2] = PointConstructor.randomDifferent(4, {
113
+ names: ["A", "B", "P_1", "P_2"],
114
+ minDistance: 1.2,
115
+ });
116
+ const line = new Line(pointLine1, pointLine2, "d");
117
+ const indexPoint = randint(0, 2);
118
+ const identifiers = {
119
+ pointIds: [point1, point2].map((point) => point.toIdentifiers()),
120
+ lineIds: line.toIdentifiers(),
121
+ indexPoint,
122
+ };
123
+ return getQuestionFromIdentifiers(identifiers);
124
+ };
125
+ const getQuestionFromIdentifiers = (identifiers) => {
126
+ const question = {
127
+ ggbAnswer: getGGBAnswer(identifiers),
128
+ instruction: getInstruction(identifiers),
129
+ keys: [],
130
+ answerFormat: "tex",
131
+ identifiers,
132
+ studentGgbOptions: getStudentGGBOptions(identifiers),
133
+ hint: getHint(identifiers),
134
+ correction: getCorrection(identifiers),
135
+ correctionGgbOptions: getCorrectionGGBOptions(identifiers),
136
+ };
137
+ return question;
138
+ };
139
+ export const buildParallelFromLineAndPoint = {
140
+ id: "buildParallelFromLineAndPoint",
141
+ connector: "=",
142
+ label: "Tracer une droite parallèle à une autre passant par un point donné",
143
+ isSingleStep: true,
144
+ generator: (nb) => getDistinctQuestions(getBuildParallelFromLineAndPointQuestion, nb),
145
+ ggbTimer: 60,
146
+ isGGBAnswerValid,
147
+ subject: "Mathématiques",
148
+ answerType: "GGB",
149
+ getStudentGGBOptions,
150
+ getQuestionFromIdentifiers,
151
+ getHint,
152
+ getCorrection,
153
+ hasHintAndCorrection: true,
154
+ };
@@ -0,0 +1,11 @@
1
+ import { Exercise } from "../../../../exercises/exercise.js";
2
+ import { LineIdentifiers } from "../../../../math/geometry/line.js";
3
+ import { PointIdentifiers } from "../../../../math/geometry/point.js";
4
+ type Identifiers = {
5
+ lineIds: LineIdentifiers;
6
+ pointIds: PointIdentifiers[];
7
+ indexPoint: number;
8
+ };
9
+ export declare const buildPerpendicularFromLineAndPoint: Exercise<Identifiers>;
10
+ export {};
11
+ //# sourceMappingURL=buildPerpendicularFromLineAndPoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildPerpendicularFromLineAndPoint.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAGL,eAAe,EAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AAItC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;IACzB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAiLF,eAAO,MAAM,kCAAkC,EAAE,QAAQ,CAAC,WAAW,CAiBpE,CAAC"}
@@ -0,0 +1,157 @@
1
+ import { toolBarConstructor } from "../../../../exercises/utils/geogebra/toolBarConstructor.js";
2
+ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
3
+ import { greenMain } from "../../../../geogebra/colors.js";
4
+ import { GeogebraConstructor } from "../../../../geogebra/geogebraConstructor.js";
5
+ import { GeogebraParser } from "../../../../geogebra/parsers/geogebraParser.js";
6
+ import { Line, LineConstructor, } from "../../../../math/geometry/line.js";
7
+ import { PointConstructor, } from "../../../../math/geometry/point.js";
8
+ import { randint } from "../../../../math/utils/random/randint.js";
9
+ import { zip } from "../../../../utils/arrays/arrayZip.js";
10
+ const getHydrated = (identifiers) => {
11
+ const { lineIds, pointIds, indexPoint } = identifiers;
12
+ const line = LineConstructor.fromIdentifiers(lineIds);
13
+ const arrPoint = pointIds.map((pointIds) => PointConstructor.fromIdentifiers(pointIds));
14
+ const point = arrPoint[indexPoint];
15
+ return {
16
+ line,
17
+ arrPoint,
18
+ point,
19
+ };
20
+ };
21
+ const getInstruction = (identifiers) => {
22
+ const { line, point } = getHydrated(identifiers);
23
+ return `Avec les outils disponibles, construire la droite perpendiculaire à $${line.name}$ passant par le point $${point.name}$.`;
24
+ };
25
+ const getGGBAnswer = (identifiers) => {
26
+ const { line, point, arrPoint } = getHydrated(identifiers);
27
+ const ggbAnswer = [
28
+ ...getStudentGGBCommands(line, arrPoint),
29
+ `lPer = PerpendicularLine(${point.name},${line.ggbName})`,
30
+ `SetColor(lPer, "${greenMain}")`,
31
+ `ang = Angle(${line.ggbName}, lPer)`,
32
+ ];
33
+ return ggbAnswer;
34
+ };
35
+ const getHint = (identifiers) => {
36
+ const { line, point } = getHydrated(identifiers);
37
+ return `Sélectionne l'outil Perpendiculaire dans Geogebra puis clique sur la droite $${line.name}$ puis sur le point $${point.name}$.`;
38
+ };
39
+ const getCorrection = (identifiers) => {
40
+ const { line, point } = getHydrated(identifiers);
41
+ return `On sélectionne l'outil Perpendiculaire dans Geogebra puis on clique sur la droite $${line.name}$ puis sur le point $${point.name}$.`;
42
+ };
43
+ const getCorrectionGGBOptions = (identifiers) => {
44
+ const ggb = new GeogebraConstructor({
45
+ commands: [...getGGBAnswer(identifiers)],
46
+ hideGrid: true,
47
+ hideAxes: true,
48
+ isGridSimple: true,
49
+ fontSize: 16,
50
+ });
51
+ return ggb.getOptions({ coords: [-10, 10, -10, 10] });
52
+ };
53
+ const getStudentGGBCommands = (line, arrPoint) => {
54
+ return [
55
+ ...line.toGGBCommands(true, {
56
+ showLabel: true,
57
+ showUnderlyingPoints: false,
58
+ color: "#000000",
59
+ isFixed: true,
60
+ isSelectionnable: true,
61
+ }),
62
+ ...arrPoint.flatMap((point) => point.toGGBCommand({
63
+ isFixed: true,
64
+ showLabel: true,
65
+ isSelectionnable: true,
66
+ })),
67
+ ];
68
+ };
69
+ const getStudentGGBOptions = (identifiers) => {
70
+ const { line, arrPoint } = getHydrated(identifiers);
71
+ const commands = getStudentGGBCommands(line, arrPoint);
72
+ const studentGGB = new GeogebraConstructor({
73
+ commands,
74
+ hideGrid: true,
75
+ hideAxes: true,
76
+ customToolBar: toolBarConstructor({
77
+ parallel: true,
78
+ orthogonal: true,
79
+ }),
80
+ });
81
+ return studentGGB.getOptions({
82
+ coords: studentGGB.getCoordsForPoints([
83
+ ...arrPoint,
84
+ line.pointA,
85
+ line.pointB,
86
+ ]),
87
+ });
88
+ };
89
+ const isGGBAnswerValid = (ans, { ggbAnswer, ...identifiers }) => {
90
+ const { line, point } = getHydrated(identifiers);
91
+ const commands = ans;
92
+ const ggbParser = new GeogebraParser(commands);
93
+ const objectDict = ggbParser.objectDict();
94
+ //required: no parallel
95
+ {
96
+ const arrStrParallelLine = Object.entries(objectDict)
97
+ .filter(([_, strObj]) => strObj.startsWith("ParallelLine"))
98
+ .map(([_, strObj]) => strObj);
99
+ if (arrStrParallelLine.length > 0) {
100
+ return false;
101
+ }
102
+ }
103
+ const arrStrOrthogonalLine = Object.entries(objectDict)
104
+ .filter(([_, strObj]) => strObj.startsWith("OrthogonalLine"))
105
+ .map(([_, strObj]) => strObj);
106
+ //required: only one orthogonal line
107
+ if (arrStrOrthogonalLine.length !== 1) {
108
+ return false;
109
+ }
110
+ const [strOrthogonalLine] = arrStrOrthogonalLine;
111
+ const [namePointAns, nameLineAns] = GeogebraParser.argNamesForOrthogonalLineObj(strOrthogonalLine);
112
+ return zip([namePointAns, nameLineAns], [point.name, line.ggbName]).every(([strAns, strAnswer]) => strAns === strAnswer);
113
+ };
114
+ const getBuildPerpendicularFromLineAndPointQuestion = () => {
115
+ const [point1, point2, pointLine1, pointLine2] = PointConstructor.randomDifferent(4, {
116
+ names: ["A", "B", "P_1", "P_2"],
117
+ minDistance: 1.2,
118
+ });
119
+ const line = new Line(pointLine1, pointLine2, "d");
120
+ const indexPoint = randint(0, 2);
121
+ const identifiers = {
122
+ pointIds: [point1, point2].map((point) => point.toIdentifiers()),
123
+ lineIds: line.toIdentifiers(),
124
+ indexPoint,
125
+ };
126
+ return getQuestionFromIdentifiers(identifiers);
127
+ };
128
+ const getQuestionFromIdentifiers = (identifiers) => {
129
+ const question = {
130
+ ggbAnswer: getGGBAnswer(identifiers),
131
+ instruction: getInstruction(identifiers),
132
+ keys: [],
133
+ answerFormat: "tex",
134
+ identifiers,
135
+ studentGgbOptions: getStudentGGBOptions(identifiers),
136
+ hint: getHint(identifiers),
137
+ correction: getCorrection(identifiers),
138
+ correctionGgbOptions: getCorrectionGGBOptions(identifiers),
139
+ };
140
+ return question;
141
+ };
142
+ export const buildPerpendicularFromLineAndPoint = {
143
+ id: "buildPerpendicularFromLineAndPoint",
144
+ connector: "=",
145
+ label: "Tracer une droite perpendiculaire à une autre passant par un point donné",
146
+ isSingleStep: true,
147
+ generator: (nb) => getDistinctQuestions(getBuildPerpendicularFromLineAndPointQuestion, nb),
148
+ ggbTimer: 60,
149
+ isGGBAnswerValid,
150
+ subject: "Mathématiques",
151
+ answerType: "GGB",
152
+ getStudentGGBOptions,
153
+ getQuestionFromIdentifiers,
154
+ getHint,
155
+ getCorrection,
156
+ hasHintAndCorrection: true,
157
+ };
@@ -17,4 +17,6 @@ export * from "./cartesianEquationsIntersection.js";
17
17
  export * from "./directorVectorFromAnother.js";
18
18
  export * from "./cartesianEquationOfTriangleHeight.js";
19
19
  export * from "./readLineNormalVectorOnGraph.js";
20
+ export * from "./buildPerpendicularFromLineAndPoint.js";
21
+ export * from "./buildParallelFromLineAndPoint.js";
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/lines/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/lines/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC"}
@@ -17,3 +17,5 @@ export * from "./cartesianEquationsIntersection.js";
17
17
  export * from "./directorVectorFromAnother.js";
18
18
  export * from "./cartesianEquationOfTriangleHeight.js";
19
19
  export * from "./readLineNormalVectorOnGraph.js";
20
+ export * from "./buildPerpendicularFromLineAndPoint.js";
21
+ export * from "./buildParallelFromLineAndPoint.js";
@@ -1,4 +1,6 @@
1
+ export * from "./traceMedianInTriangle.js";
1
2
  export * from "./triangleNature.js";
2
3
  export * from "./triangleThirdAngleValue.js";
3
4
  export * from "./similar/index.js";
5
+ export * from "./traceHeightInTriangle.js";
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/triangles/index.ts"],"names":[],"mappings":"AACA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/triangles/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
@@ -1,4 +1,5 @@
1
- // export * from './traceMedianInTriangle'
1
+ export * from "./traceMedianInTriangle.js";
2
2
  export * from "./triangleNature.js";
3
3
  export * from "./triangleThirdAngleValue.js";
4
4
  export * from "./similar/index.js";
5
+ export * from "./traceHeightInTriangle.js";
@@ -0,0 +1,13 @@
1
+ import { Exercise } from "../../../../exercises/exercise.js";
2
+ import { TriangleIdentifiers } from "../../../../math/geometry/triangles/triangle.js";
3
+ /************/
4
+ type Identifiers = {
5
+ triangleIds: TriangleIdentifiers;
6
+ strNameTriangle: string;
7
+ };
8
+ type Options = {
9
+ heightType: string;
10
+ };
11
+ export declare const traceHeightInTriangle: Exercise<Identifiers, Options>;
12
+ export {};
13
+ //# sourceMappingURL=traceHeightInTriangle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"traceHeightInTriangle.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/triangles/traceHeightInTriangle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,OAAO,EAGL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAwEnD,cAAc;AAEd,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,mBAAmB,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAyQF,KAAK,OAAO,GAAG;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAsBF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAiBhE,CAAC"}