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.
- package/lib/exercises/math/arithmetic/findLeftInHugeNumberDivision.d.ts +9 -0
- package/lib/exercises/math/arithmetic/findLeftInHugeNumberDivision.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/findLeftInHugeNumberDivision.js +194 -0
- package/lib/exercises/math/arithmetic/findMissingNumberToMakeNumberDivisibleBy9.d.ts +8 -0
- package/lib/exercises/math/arithmetic/findMissingNumberToMakeNumberDivisibleBy9.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/findMissingNumberToMakeNumberDivisibleBy9.js +121 -0
- package/lib/exercises/math/arithmetic/hasDiophantianEquationSolution.js +4 -4
- package/lib/exercises/math/arithmetic/index.d.ts +7 -0
- package/lib/exercises/math/arithmetic/index.d.ts.map +1 -1
- package/lib/exercises/math/arithmetic/index.js +7 -0
- package/lib/exercises/math/arithmetic/isBigNumberPrime.d.ts +7 -0
- package/lib/exercises/math/arithmetic/isBigNumberPrime.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/isBigNumberPrime.js +107 -0
- package/lib/exercises/math/arithmetic/numberOfEndingZerosOfBigProduct.d.ts +8 -0
- package/lib/exercises/math/arithmetic/numberOfEndingZerosOfBigProduct.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/numberOfEndingZerosOfBigProduct.js +139 -0
- package/lib/exercises/math/arithmetic/pgcdFromEuclid.d.ts +8 -0
- package/lib/exercises/math/arithmetic/pgcdFromEuclid.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/pgcdFromEuclid.js +123 -0
- package/lib/exercises/math/arithmetic/solveDiophantianEquationByUsingPrimality.d.ts +7 -0
- package/lib/exercises/math/arithmetic/solveDiophantianEquationByUsingPrimality.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/solveDiophantianEquationByUsingPrimality.js +117 -0
- package/lib/exercises/math/arithmetic/whichDayInXDays.d.ts +8 -0
- package/lib/exercises/math/arithmetic/whichDayInXDays.d.ts.map +1 -0
- package/lib/exercises/math/arithmetic/whichDayInXDays.js +81 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumFillInTheBlank.d.ts +15 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumFillInTheBlank.d.ts.map +1 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumFillInTheBlank.js +256 -0
- package/lib/exercises/math/calcul/fractions/index.d.ts +1 -0
- package/lib/exercises/math/calcul/fractions/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/index.js +1 -0
- package/lib/exercises/math/calcul/index.d.ts +1 -0
- package/lib/exercises/math/calcul/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/index.js +1 -0
- package/lib/exercises/math/calcul/mentalCaluls/index.d.ts +3 -0
- package/lib/exercises/math/calcul/mentalCaluls/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/index.js +3 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication101AndFriends.d.ts +10 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication101AndFriends.d.ts.map +1 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication101AndFriends.js +264 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication11AndFriends.d.ts +10 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication11AndFriends.d.ts.map +1 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplication11AndFriends.js +264 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationTable.d.ts +11 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationTable.d.ts.map +1 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationTable.js +141 -0
- package/lib/exercises/math/calcul/ratio/index.d.ts +1 -0
- package/lib/exercises/math/calcul/ratio/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ratio/index.js +1 -0
- package/lib/exercises/math/calcul/ratio/partsUsingRatio.d.ts +13 -0
- package/lib/exercises/math/calcul/ratio/partsUsingRatio.d.ts.map +1 -0
- package/lib/exercises/math/calcul/ratio/partsUsingRatio.js +237 -0
- package/lib/exercises/math/calcul/relatives/index.d.ts +2 -0
- package/lib/exercises/math/calcul/relatives/index.d.ts.map +1 -0
- package/lib/exercises/math/calcul/relatives/index.js +1 -0
- package/lib/exercises/math/calcul/relatives/relativesAddAndSub.d.ts +17 -0
- package/lib/exercises/math/calcul/relatives/relativesAddAndSub.d.ts.map +1 -0
- package/lib/exercises/math/calcul/relatives/relativesAddAndSub.js +448 -0
- package/lib/exercises/math/calculLitteral/factorisation/factoByXK.d.ts +10 -0
- package/lib/exercises/math/calculLitteral/factorisation/factoByXK.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/factorisation/factoByXK.js +190 -0
- package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +1 -0
- package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/index.js +1 -0
- package/lib/exercises/math/complex/algebraic/addComplex.d.ts +10 -0
- package/lib/exercises/math/complex/algebraic/addComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/addComplex.js +125 -0
- package/lib/exercises/math/complex/algebraic/conjugateComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/conjugateComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/conjugateComplex.js +105 -0
- package/lib/exercises/math/complex/algebraic/conjugateDivideComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/conjugateDivideComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/conjugateDivideComplex.js +137 -0
- package/lib/exercises/math/complex/algebraic/conjugateMultiplyComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/conjugateMultiplyComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/conjugateMultiplyComplex.js +116 -0
- package/lib/exercises/math/complex/algebraic/divideComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/divideComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/divideComplex.js +128 -0
- package/lib/exercises/math/complex/algebraic/index.d.ts +11 -0
- package/lib/exercises/math/complex/algebraic/index.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/index.js +10 -0
- package/lib/exercises/math/complex/algebraic/inverseComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/inverseComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/inverseComplex.js +95 -0
- package/lib/exercises/math/complex/algebraic/linearCombinaisonComplex.d.ts +10 -0
- package/lib/exercises/math/complex/algebraic/linearCombinaisonComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/linearCombinaisonComplex.js +105 -0
- package/lib/exercises/math/complex/algebraic/moduloFromAlgebraicComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/moduloFromAlgebraicComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/moduloFromAlgebraicComplex.js +93 -0
- package/lib/exercises/math/complex/algebraic/mutiplyComplex.d.ts +8 -0
- package/lib/exercises/math/complex/algebraic/mutiplyComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/mutiplyComplex.js +106 -0
- package/lib/exercises/math/complex/algebraic/reAndIm.d.ts +9 -0
- package/lib/exercises/math/complex/algebraic/reAndIm.d.ts.map +1 -0
- package/lib/exercises/math/complex/algebraic/reAndIm.js +92 -0
- package/lib/exercises/math/complex/geometric/complexAlgebraicFromModuloAndArg.d.ts +9 -0
- package/lib/exercises/math/complex/geometric/complexAlgebraicFromModuloAndArg.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexAlgebraicFromModuloAndArg.js +151 -0
- package/lib/exercises/math/complex/geometric/complexDistance.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexDistance.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexDistance.js +125 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixAlgFromPoint.d.ts +9 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixAlgFromPoint.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixAlgFromPoint.js +326 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromCenteredRegularPolygon.d.ts +10 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromCenteredRegularPolygon.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromCenteredRegularPolygon.js +459 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromPoint.d.ts +14 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromPoint.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixExpFromPoint.js +539 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixTrigFromPoint.d.ts +13 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixTrigFromPoint.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomAffixTrigFromPoint.js +485 -0
- package/lib/exercises/math/complex/geometric/complexGeomApproxOfCosArgOrSinArgFromPointAndAffixTrig.d.ts +12 -0
- package/lib/exercises/math/complex/geometric/complexGeomApproxOfCosArgOrSinArgFromPointAndAffixTrig.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomApproxOfCosArgOrSinArgFromPointAndAffixTrig.js +224 -0
- package/lib/exercises/math/complex/geometric/complexGeomArgumentOfFracCBABFromFigure.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexGeomArgumentOfFracCBABFromFigure.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomArgumentOfFracCBABFromFigure.js +448 -0
- package/lib/exercises/math/complex/geometric/complexGeomFindPointFromAffixExp.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexGeomFindPointFromAffixExp.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomFindPointFromAffixExp.js +223 -0
- package/lib/exercises/math/complex/geometric/complexGeomFindPointFromPowerOfUnitRootFromFigure.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexGeomFindPointFromPowerOfUnitRootFromFigure.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomFindPointFromPowerOfUnitRootFromFigure.js +348 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlaceAffixPoint.d.ts +8 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlaceAffixPoint.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlaceAffixPoint.js +86 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZAPlusZ.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZAPlusZ.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZAPlusZ.js +311 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATimesZ.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATimesZ.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATimesZ.js +345 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATransformed.d.ts +16 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATransformed.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointFromZATransformed.js +729 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointWithAffixInU.d.ts +11 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointWithAffixInU.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/complexGeomPlacePointWithAffixInU.js +253 -0
- package/lib/exercises/math/complex/geometric/index.d.ts +12 -0
- package/lib/exercises/math/complex/geometric/index.d.ts.map +1 -0
- package/lib/exercises/math/complex/geometric/index.js +19 -0
- package/lib/exercises/math/complex/index.d.ts +4 -10
- package/lib/exercises/math/complex/index.d.ts.map +1 -1
- package/lib/exercises/math/complex/index.js +4 -11
- package/lib/exercises/math/complex/polynomials/factorizePolynomialInC.d.ts +10 -0
- package/lib/exercises/math/complex/polynomials/factorizePolynomialInC.d.ts.map +1 -0
- package/lib/exercises/math/complex/polynomials/factorizePolynomialInC.js +176 -0
- package/lib/exercises/math/complex/polynomials/index.d.ts +4 -0
- package/lib/exercises/math/complex/polynomials/index.d.ts.map +1 -0
- package/lib/exercises/math/complex/polynomials/index.js +3 -0
- package/lib/exercises/math/complex/polynomials/solveSecondDegreeInComplex.d.ts +10 -0
- package/lib/exercises/math/complex/polynomials/solveSecondDegreeInComplex.d.ts.map +1 -0
- package/lib/exercises/math/complex/polynomials/solveSecondDegreeInComplex.js +190 -0
- package/lib/exercises/math/complex/polynomials/solveZSquareEqualsA.d.ts +11 -0
- package/lib/exercises/math/complex/polynomials/solveZSquareEqualsA.d.ts.map +1 -0
- package/lib/exercises/math/complex/polynomials/solveZSquareEqualsA.js +158 -0
- package/lib/exercises/math/complex/unitRoots/giveNUnitRoot.d.ts +7 -0
- package/lib/exercises/math/complex/unitRoots/giveNUnitRoot.d.ts.map +1 -0
- package/lib/exercises/math/complex/unitRoots/giveNUnitRoot.js +122 -0
- package/lib/exercises/math/complex/unitRoots/giveOneSolutionToComplexPowNEqualsOne.d.ts +8 -0
- package/lib/exercises/math/complex/unitRoots/giveOneSolutionToComplexPowNEqualsOne.d.ts.map +1 -0
- package/lib/exercises/math/complex/unitRoots/giveOneSolutionToComplexPowNEqualsOne.js +138 -0
- package/lib/exercises/math/complex/unitRoots/index.d.ts +3 -0
- package/lib/exercises/math/complex/unitRoots/index.d.ts.map +1 -0
- package/lib/exercises/math/complex/unitRoots/index.js +2 -0
- package/lib/exercises/math/conversion/clock/clockReading.d.ts +12 -0
- package/lib/exercises/math/conversion/clock/clockReading.d.ts.map +1 -0
- package/lib/exercises/math/conversion/clock/clockReading.js +385 -0
- package/lib/exercises/math/conversion/clock/clockReadingPlusTimeOperation.d.ts +2 -0
- package/lib/exercises/math/conversion/clock/clockReadingPlusTimeOperation.d.ts.map +1 -0
- package/lib/exercises/math/conversion/clock/clockReadingPlusTimeOperation.js +521 -0
- package/lib/exercises/math/conversion/clock/clockWritingByManipulatingNeedles.d.ts +2 -0
- package/lib/exercises/math/conversion/clock/clockWritingByManipulatingNeedles.d.ts.map +1 -0
- package/lib/exercises/math/conversion/clock/clockWritingByManipulatingNeedles.js +359 -0
- package/lib/exercises/math/conversion/clock/dateTimeOperationAdd.d.ts +16 -0
- package/lib/exercises/math/conversion/clock/dateTimeOperationAdd.d.ts.map +1 -0
- package/lib/exercises/math/conversion/clock/dateTimeOperationAdd.js +319 -0
- package/lib/exercises/math/conversion/clock/index.d.ts +3 -0
- package/lib/exercises/math/conversion/clock/index.d.ts.map +1 -0
- package/lib/exercises/math/conversion/clock/index.js +4 -0
- package/lib/exercises/math/conversion/index.d.ts +1 -0
- package/lib/exercises/math/conversion/index.d.ts.map +1 -1
- package/lib/exercises/math/conversion/index.js +1 -0
- package/lib/exercises/math/geometry/angles/angleNatureFromFigure.d.ts +11 -0
- package/lib/exercises/math/geometry/angles/angleNatureFromFigure.d.ts.map +1 -0
- package/lib/exercises/math/geometry/angles/angleNatureFromFigure.js +233 -0
- package/lib/exercises/math/geometry/angles/angleNatureFromMeasure.d.ts +10 -0
- package/lib/exercises/math/geometry/angles/angleNatureFromMeasure.d.ts.map +1 -0
- package/lib/exercises/math/geometry/angles/angleNatureFromMeasure.js +137 -0
- package/lib/exercises/math/geometry/angles/index.d.ts +2 -0
- package/lib/exercises/math/geometry/angles/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/angles/index.js +2 -0
- package/lib/exercises/math/geometry/circles/buildCircleFromRadius.d.ts +9 -0
- package/lib/exercises/math/geometry/circles/buildCircleFromRadius.d.ts.map +1 -0
- package/lib/exercises/math/geometry/circles/buildCircleFromRadius.js +187 -0
- package/lib/exercises/math/geometry/circles/index.d.ts +1 -0
- package/lib/exercises/math/geometry/circles/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/circles/index.js +1 -0
- package/lib/exercises/math/geometry/lines/buildParallelFromLineAndPoint.d.ts +11 -0
- package/lib/exercises/math/geometry/lines/buildParallelFromLineAndPoint.d.ts.map +1 -0
- package/lib/exercises/math/geometry/lines/buildParallelFromLineAndPoint.js +154 -0
- package/lib/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.d.ts +11 -0
- package/lib/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.d.ts.map +1 -0
- package/lib/exercises/math/geometry/lines/buildPerpendicularFromLineAndPoint.js +157 -0
- package/lib/exercises/math/geometry/lines/index.d.ts +2 -0
- package/lib/exercises/math/geometry/lines/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/index.js +2 -0
- package/lib/exercises/math/geometry/triangles/index.d.ts +2 -0
- package/lib/exercises/math/geometry/triangles/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/triangles/index.js +2 -1
- package/lib/exercises/math/geometry/triangles/traceHeightInTriangle.d.ts +13 -0
- package/lib/exercises/math/geometry/triangles/traceHeightInTriangle.d.ts.map +1 -0
- package/lib/exercises/math/geometry/triangles/traceHeightInTriangle.js +271 -0
- package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.d.ts +8 -0
- package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.d.ts.map +1 -1
- package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.js +284 -53
- package/lib/exercises/math/geometry/vectors/constructions/index.d.ts +1 -0
- package/lib/exercises/math/geometry/vectors/constructions/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/index.js +1 -0
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorSumFromVecs.d.ts +8 -0
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorSumFromVecs.d.ts.map +1 -0
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorSumFromVecs.js +165 -0
- package/lib/exercises/math/geometry/volumes/index.d.ts +1 -0
- package/lib/exercises/math/geometry/volumes/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/index.js +1 -0
- package/lib/exercises/math/geometry/volumes/volumeOfCylinder.d.ts +8 -0
- package/lib/exercises/math/geometry/volumes/volumeOfCylinder.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/volumeOfCylinder.js +157 -0
- package/lib/exercises/math/spaceGeometry/basis/index.d.ts +1 -0
- package/lib/exercises/math/spaceGeometry/basis/index.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/basis/index.js +1 -0
- package/lib/exercises/math/spaceGeometry/basis/spaceSegmentLengthInRectangularPrism.d.ts +18 -0
- package/lib/exercises/math/spaceGeometry/basis/spaceSegmentLengthInRectangularPrism.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/basis/spaceSegmentLengthInRectangularPrism.js +538 -0
- package/lib/exercises/math/trigonometry/formulas/trigoAdditionFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/formulas/trigoAdditionFormulaUsage.js +6 -5
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaCalcul.js +1 -1
- package/lib/exercises/utils/geogebra/toolBarConstructor.d.ts +1 -0
- package/lib/exercises/utils/geogebra/toolBarConstructor.d.ts.map +1 -1
- package/lib/exercises/utils/geogebra/toolBarConstructor.js +2 -0
- package/lib/geogebra/parsers/geogebraParser.d.ts +3 -0
- package/lib/geogebra/parsers/geogebraParser.d.ts.map +1 -1
- package/lib/geogebra/parsers/geogebraParser.js +27 -0
- package/lib/index.d.ts +213 -23
- package/lib/index.d.ts.map +1 -1
- package/lib/latexTester.js +2 -0
- package/lib/math/geometry/angle.d.ts.map +1 -1
- package/lib/math/geometry/angle.js +3 -0
- package/lib/math/geometry/segment.d.ts +1 -1
- package/lib/math/geometry/segment.d.ts.map +1 -1
- package/lib/math/geometry/segment.js +5 -2
- package/lib/math/utils/geometry/angleBetweenPoints.d.ts +4 -0
- package/lib/math/utils/geometry/angleBetweenPoints.d.ts.map +1 -0
- package/lib/math/utils/geometry/angleBetweenPoints.js +58 -0
- package/lib/math/utils/geometry/angleNWSE.d.ts +3 -0
- package/lib/math/utils/geometry/angleNWSE.d.ts.map +1 -0
- package/lib/math/utils/geometry/angleNWSE.js +56 -0
- package/lib/tests/singleExo.test.d.ts.map +1 -1
- package/lib/tests/singleExo.test.js +2 -2
- package/lib/utils/strings/frenchDays.d.ts +2 -0
- package/lib/utils/strings/frenchDays.d.ts.map +1 -0
- package/lib/utils/strings/frenchDays.js +9 -0
- package/package.json +1 -1
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/triangles/index.ts"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -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"}
|