math-exercises 3.0.156 → 3.0.158
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/exercise.d.ts +7 -0
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/exp/expOfAffineEquals1Equation.d.ts +14 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfAffineEquals1Equation.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfAffineEquals1Equation.js +145 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfFEqualsExpOfGEquation.d.ts +16 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfFEqualsExpOfGEquation.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfFEqualsExpOfGEquation.js +444 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfTrinomEquals1Equation.d.ts +15 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfTrinomEquals1Equation.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/equation/exp/expOfTrinomEquals1Equation.js +292 -0
- package/lib/exercises/math/calculLitteral/equation/exp/index.d.ts +4 -0
- package/lib/exercises/math/calculLitteral/equation/exp/index.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/equation/exp/index.js +3 -0
- package/lib/exercises/math/calculLitteral/equation/factorizeEquation.d.ts +4 -1
- package/lib/exercises/math/calculLitteral/equation/factorizeEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/factorizeEquation.js +148 -31
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts +4 -1
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +124 -44
- package/lib/exercises/math/calculLitteral/inequations/exp/expOfFEqualsExpOfGInequation.d.ts +18 -0
- package/lib/exercises/math/calculLitteral/inequations/exp/expOfFEqualsExpOfGInequation.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/inequations/exp/expOfFEqualsExpOfGInequation.js +437 -0
- package/lib/exercises/math/calculLitteral/inequations/exp/index.d.ts +2 -0
- package/lib/exercises/math/calculLitteral/inequations/exp/index.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/inequations/exp/index.js +1 -0
- package/lib/exercises/math/dataRepresentations/halfPieChartCommenting.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/halfPieChartCommenting.js +4 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +29 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.js +35 -2
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +19 -0
- package/lib/exercises/math/derivation/derivative/exp/expOverExpDerivative.d.ts +10 -0
- package/lib/exercises/math/derivation/derivative/exp/expOverExpDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/expOverExpDerivative.js +282 -0
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +30 -2
- package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/productDerivative.js +68 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.js +40 -4
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +30 -3
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeAlgebraicExpression.d.ts +12 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeAlgebraicExpression.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeAlgebraicExpression.js +127 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeFromAlgebraic.d.ts +13 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeFromAlgebraic.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeFromAlgebraic.js +161 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeFromImages.d.ts +11 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeFromImages.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivativeNumber/averageRateOfChangeFromImages.js +116 -0
- package/lib/exercises/math/derivation/derivativeNumber/derivativeNumberCalcul.d.ts +8 -0
- package/lib/exercises/math/derivation/derivativeNumber/derivativeNumberCalcul.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivativeNumber/derivativeNumberCalcul.js +142 -0
- package/lib/exercises/math/derivation/derivativeNumber/index.d.ts +4 -0
- package/lib/exercises/math/derivation/derivativeNumber/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivativeNumber/index.js +4 -0
- package/lib/exercises/math/derivation/index.d.ts +1 -1
- package/lib/exercises/math/derivation/index.js +1 -1
- package/lib/exercises/math/functions/affines/drawAffineFromPointAndLeadingCoeff.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/drawAffineFromPointAndLeadingCoeff.js +5 -4
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.d.ts +13 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.js +278 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpKa.d.ts +11 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpKa.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpKa.js +211 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpN.d.ts +9 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpN.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/algebraic/approxExpN.js +142 -0
- package/lib/exercises/math/functions/exponential/algebraic/index.d.ts +5 -0
- package/lib/exercises/math/functions/exponential/algebraic/index.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/algebraic/index.js +4 -0
- package/lib/exercises/math/functions/exponential/algebraic/rewriteExpUsingExpA.d.ts +14 -0
- package/lib/exercises/math/functions/exponential/algebraic/rewriteExpUsingExpA.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/algebraic/rewriteExpUsingExpA.js +337 -0
- package/lib/exercises/math/functions/exponential/definition/approxExpAPlusH.d.ts +11 -0
- package/lib/exercises/math/functions/exponential/definition/approxExpAPlusH.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/definition/approxExpAPlusH.js +234 -0
- package/lib/exercises/math/functions/exponential/definition/expAntecedentFromGraph.d.ts +9 -0
- package/lib/exercises/math/functions/exponential/definition/expAntecedentFromGraph.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/definition/expAntecedentFromGraph.js +190 -0
- package/lib/exercises/math/functions/exponential/definition/expImageFromGraph.d.ts +9 -0
- package/lib/exercises/math/functions/exponential/definition/expImageFromGraph.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/definition/expImageFromGraph.js +190 -0
- package/lib/exercises/math/functions/exponential/definition/index.d.ts +5 -0
- package/lib/exercises/math/functions/exponential/definition/index.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/definition/index.js +4 -0
- package/lib/exercises/math/functions/exponential/definition/isPlausibleExpFromGraph.d.ts +13 -0
- package/lib/exercises/math/functions/exponential/definition/isPlausibleExpFromGraph.d.ts.map +1 -0
- package/lib/exercises/math/functions/exponential/definition/isPlausibleExpFromGraph.js +375 -0
- package/lib/exercises/math/functions/linear/linearFromExercise.d.ts.map +1 -1
- package/lib/exercises/math/functions/linear/linearFromExercise.js +4 -3
- package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.js +30 -3
- package/lib/exercises/math/functions/trinoms/equation/deltaTrinom.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/deltaTrinom.js +35 -1
- package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.js +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.js +23 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumFromCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumFromCanonicalForm.js +29 -0
- package/lib/exercises/math/functions/variations/exp/index.d.ts +3 -0
- package/lib/exercises/math/functions/variations/exp/index.d.ts.map +1 -0
- package/lib/exercises/math/functions/variations/exp/index.js +2 -0
- package/lib/exercises/math/functions/variations/exp/varOfAEXPlusB.d.ts +9 -0
- package/lib/exercises/math/functions/variations/exp/varOfAEXPlusB.d.ts.map +1 -0
- package/lib/exercises/math/functions/variations/exp/varOfAEXPlusB.js +101 -0
- package/lib/exercises/math/functions/variations/exp/varOfAEXPlusBOverCEXPlusD.d.ts +11 -0
- package/lib/exercises/math/functions/variations/exp/varOfAEXPlusBOverCEXPlusD.d.ts.map +1 -0
- package/lib/exercises/math/functions/variations/exp/varOfAEXPlusBOverCEXPlusD.js +192 -0
- package/lib/exercises/math/geometry/euclidian/pinPointFromAxialOrCentralSymmetry.js +2 -2
- package/lib/exercises/math/geometry/euclidian/pinSegmentFromRotation.js +1 -1
- package/lib/exercises/math/geometry/euclidian/recognizeHomothetyCenter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidian/recognizeHomothetyCenter.js +4 -5
- package/lib/exercises/math/geometry/euclidianConstructions/placeHomothetyCenter.js +4 -4
- package/lib/exercises/math/geometry/perimeters/circleCircumference.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/circleCircumference.js +5 -3
- package/lib/exercises/math/geometry/thales/thales.js +1 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.js +1 -1
- package/lib/exercises/math/geometry/vectors/colinearity/determinant.js +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.js +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.js +33 -7
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.js +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.js +38 -1
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.js +18 -5
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.js +45 -21
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.js +33 -12
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.js +38 -15
- package/lib/exercises/math/percent/findTVA.d.ts.map +1 -1
- package/lib/exercises/math/percent/findTVA.js +17 -11
- package/lib/exercises/math/percent/populationEffectifFromSubPopulation.js +1 -1
- package/lib/exercises/math/probaStat/basicProbas/index.d.ts +1 -0
- package/lib/exercises/math/probaStat/basicProbas/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/index.js +1 -1
- package/lib/exercises/math/probaStat/basicProbas/pickEquiprobableSituations.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/pickEquiprobableSituations.js +114 -20
- package/lib/exercises/math/probaStat/basicProbas/pickEquiprobableTo.js +2 -2
- package/lib/exercises/math/probaStat/conditionalProbability.d.ts +4 -1
- package/lib/exercises/math/probaStat/conditionalProbability.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/conditionalProbability.js +38 -5
- package/lib/exercises/math/probaStat/independancy/independancy.d.ts +9 -0
- package/lib/exercises/math/probaStat/independancy/independancy.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/independancy/independancy.js +114 -0
- package/lib/exercises/math/probaStat/independancy/independancyFindCap.d.ts +9 -0
- package/lib/exercises/math/probaStat/independancy/independancyFindCap.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/independancy/independancyFindCap.js +101 -0
- package/lib/exercises/math/probaStat/independancy/independancyFindCup.d.ts +9 -0
- package/lib/exercises/math/probaStat/independancy/independancyFindCup.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/independancy/independancyFindCup.js +118 -0
- package/lib/exercises/math/probaStat/independancy/index.d.ts +5 -0
- package/lib/exercises/math/probaStat/independancy/index.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/independancy/index.js +4 -0
- package/lib/exercises/math/probaStat/independancy/isIndependantFromDefinition.d.ts +10 -0
- package/lib/exercises/math/probaStat/independancy/isIndependantFromDefinition.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/independancy/isIndependantFromDefinition.js +106 -0
- package/lib/exercises/math/probaStat/index.d.ts +1 -1
- package/lib/exercises/math/probaStat/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/index.js +1 -1
- package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.js +1 -1
- package/lib/exercises/math/probaStat/stats1var/etendueTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/etendueTable.js +5 -1
- package/lib/exercises/math/probaStat/stats1var/medianWithList.js +1 -1
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.js +19 -5
- package/lib/exercises/math/probaStat/stats1var/plausibilityOfAverage.js +1 -1
- package/lib/exercises/math/probaStat/twoStepExperiments/headsOrTailsTwiceOutcomes.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/twoStepExperiments/headsOrTailsTwiceOutcomes.js +41 -29
- package/lib/exercises/math/probaStat/twoStepExperiments/headsOrTailsTwiceProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/twoStepExperiments/headsOrTailsTwiceProbas.js +10 -3
- package/lib/exercises/math/probaStat/twoStepExperiments/numberPoolTwiceProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/twoStepExperiments/numberPoolTwiceProbas.js +9 -2
- package/lib/exercises/math/probaStat/twoStepExperiments/twoStepExperimentProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/twoStepExperiments/twoStepExperimentProbas.js +25 -10
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormulaFirstTermRandom.d.ts +9 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormulaFirstTermRandom.d.ts.map +1 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormulaFirstTermRandom.js +118 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.js +55 -6
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.js +42 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.d.ts +4 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.js +57 -7
- package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +24 -2
- package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.js +31 -8
- package/lib/exercises/math/sequences/arithmetic/index.d.ts +1 -1
- package/lib/exercises/math/sequences/arithmetic/index.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/index.js +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.js +11 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstRankOne.js +5 -5
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.js +3 -1
- package/lib/exercises/math/sequences/geometric/geometricFindReason.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindReason.js +41 -2
- package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.js +28 -2
- package/lib/exercises/math/sequences/sequenceEvaluation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/sequenceEvaluation.js +22 -2
- package/lib/exercises/math/spaceGeometry/solids/recognizeSolidFromSolidPattern.js +1 -1
- package/lib/exercises/math/spaceGeometry/sphere/index.d.ts +2 -0
- package/lib/exercises/math/spaceGeometry/sphere/index.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/sphere/index.js +3 -1
- package/lib/exercises/math/spaceGeometry/sphere/pinPointLatLon.2d.d.ts +12 -0
- package/lib/exercises/math/spaceGeometry/sphere/pinPointLatLon.2d.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/sphere/pinPointLatLon.2d.js +205 -0
- package/lib/exercises/math/spaceGeometry/sphere/sphereLatLonReading.2d.d.ts +13 -0
- package/lib/exercises/math/spaceGeometry/sphere/sphereLatLonReading.2d.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/sphere/sphereLatLonReading.2d.js +215 -0
- package/lib/exercises/math/spaceGeometry/sphere/sphereLatLonReading.3d.d.ts +14 -0
- package/lib/exercises/math/spaceGeometry/sphere/sphereLatLonReading.3d.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/sphere/sphereLatLonReading.3d.js +390 -0
- package/lib/exercises/math/trigonometry/circle/areReelsOnTheSameTrigoCirclePoint.d.ts +9 -0
- package/lib/exercises/math/trigonometry/circle/areReelsOnTheSameTrigoCirclePoint.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/areReelsOnTheSameTrigoCirclePoint.js +107 -0
- package/lib/exercises/math/trigonometry/circle/associatePoint.d.ts +10 -0
- package/lib/exercises/math/trigonometry/circle/associatePoint.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/associatePoint.js +86 -0
- package/lib/exercises/math/trigonometry/circle/associateReelToTrigoCirclePoint.d.ts +10 -0
- package/lib/exercises/math/trigonometry/circle/associateReelToTrigoCirclePoint.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/associateReelToTrigoCirclePoint.js +205 -0
- package/lib/exercises/math/trigonometry/circle/findAngleFromCosAndSin.d.ts +7 -0
- package/lib/exercises/math/trigonometry/circle/findAngleFromCosAndSin.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/findAngleFromCosAndSin.js +121 -0
- package/lib/exercises/math/trigonometry/circle/index.d.ts +7 -0
- package/lib/exercises/math/trigonometry/circle/index.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/index.js +7 -0
- package/lib/exercises/math/trigonometry/circle/mainAngleMeasure.d.ts +10 -0
- package/lib/exercises/math/trigonometry/circle/mainAngleMeasure.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/mainAngleMeasure.js +100 -0
- package/lib/exercises/math/trigonometry/circle/mainRemarkableValues.d.ts +8 -0
- package/lib/exercises/math/trigonometry/circle/mainRemarkableValues.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/mainRemarkableValues.js +97 -0
- package/lib/exercises/math/trigonometry/circle/remarkableValues.d.ts +10 -0
- package/lib/exercises/math/trigonometry/circle/remarkableValues.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/circle/remarkableValues.js +112 -0
- package/lib/exercises/math/trigonometry/functions/basicEquationCos.d.ts +7 -0
- package/lib/exercises/math/trigonometry/functions/basicEquationCos.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/basicEquationCos.js +92 -0
- package/lib/exercises/math/trigonometry/functions/basicEquationSin.d.ts +7 -0
- package/lib/exercises/math/trigonometry/functions/basicEquationSin.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/basicEquationSin.js +104 -0
- package/lib/exercises/math/trigonometry/functions/basicTrigoSystemEquation.d.ts +7 -0
- package/lib/exercises/math/trigonometry/functions/basicTrigoSystemEquation.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/basicTrigoSystemEquation.js +83 -0
- package/lib/exercises/math/trigonometry/functions/equationCosOnRandomInterval.d.ts +8 -0
- package/lib/exercises/math/trigonometry/functions/equationCosOnRandomInterval.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/equationCosOnRandomInterval.js +111 -0
- package/lib/exercises/math/trigonometry/functions/equationSinOnRandomInterval.d.ts +8 -0
- package/lib/exercises/math/trigonometry/functions/equationSinOnRandomInterval.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/equationSinOnRandomInterval.js +101 -0
- package/lib/exercises/math/trigonometry/functions/index.d.ts +6 -0
- package/lib/exercises/math/trigonometry/functions/index.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/index.js +6 -0
- package/lib/exercises/math/trigonometry/functions/trigoAssociateAngle.d.ts +9 -0
- package/lib/exercises/math/trigonometry/functions/trigoAssociateAngle.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/functions/trigoAssociateAngle.js +151 -0
- package/lib/exercises/math/trigonometry/index.d.ts +3 -14
- package/lib/exercises/math/trigonometry/index.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/index.js +3 -14
- package/lib/exercises/math/trigonometry/triangle/index.d.ts +7 -0
- package/lib/exercises/math/trigonometry/triangle/index.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/index.js +6 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometry.d.ts +10 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometry.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometry.js +207 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometryAngleCalcul.d.ts +10 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometryAngleCalcul.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometryAngleCalcul.js +174 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySideCalcul.d.ts +11 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySideCalcul.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySideCalcul.js +224 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySideName.d.ts +13 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySideName.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySideName.js +189 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaCalcul.d.ts +13 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaCalcul.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaCalcul.js +290 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaUse.d.ts +18 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaUse.d.ts.map +1 -0
- package/lib/exercises/math/trigonometry/triangle/trigonometrySohcahtoaUse.js +386 -0
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +1 -1
- package/lib/exercises/pc/mathExosInPC.d.ts +2 -2
- package/lib/exercises/pc/mathExosInPC.d.ts.map +1 -1
- package/lib/exercises/pc/mathExosInPC.js +2 -2
- package/lib/exercises/vea/setVEA.d.ts.map +1 -1
- package/lib/exercises/vea/setVEA.js +4 -0
- package/lib/index.d.ts +87 -29
- package/lib/index.d.ts.map +1 -1
- package/lib/math/geometry/segment.d.ts +1 -1
- package/lib/math/geometry/vector.d.ts +2 -1
- package/lib/math/geometry/vector.d.ts.map +1 -1
- package/lib/math/geometry/vector.js +1 -1
- package/lib/math/numbers/reals/real.d.ts.map +1 -1
- package/lib/math/numbers/reals/real.js +2 -0
- package/lib/playground.d.ts.map +1 -1
- package/lib/playground.js +3 -1
- package/lib/tree/nodes/algebraicNode.d.ts +1 -0
- package/lib/tree/nodes/algebraicNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/sqrtNode.d.ts +2 -1
- package/lib/tree/nodes/functions/sqrtNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/sqrtNode.js +17 -6
- package/lib/tree/nodes/operators/multiplyNode.js +1 -1
- package/lib/utils/arrays/dichoFilter.d.ts +2 -0
- package/lib/utils/arrays/dichoFilter.d.ts.map +1 -0
- package/lib/utils/arrays/dichoFilter.js +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
|
|
2
|
+
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
|
+
import { greenMain, red } from "../../../../geogebra/colors.js";
|
|
4
|
+
import { GeogebraConstructor } from "../../../../geogebra/geogebraConstructor.js";
|
|
5
|
+
import { Point, PointConstructor, } from "../../../../math/geometry/point.js";
|
|
6
|
+
import { cos } from "../../../../tree/nodes/functions/cosNode.js";
|
|
7
|
+
import { sin } from "../../../../tree/nodes/functions/sinNode.js";
|
|
8
|
+
import { PiNode } from "../../../../tree/nodes/numbers/piNode.js";
|
|
9
|
+
import { frac } from "../../../../tree/nodes/operators/fractionNode.js";
|
|
10
|
+
import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
|
|
11
|
+
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
12
|
+
import { random, randomMany } from "../../../../utils/alea/random.js";
|
|
13
|
+
import { getCartesiansProducts } from "../../../../utils/arrays/cartesianProducts.js";
|
|
14
|
+
const earthGlobe2DGGBCommands = () => {
|
|
15
|
+
const [pointN, pointS, pointE, pointO] = [
|
|
16
|
+
["N", [0, 1]],
|
|
17
|
+
["S", [0, -1]],
|
|
18
|
+
["E", [1, 0]],
|
|
19
|
+
["O", [-1, 0]],
|
|
20
|
+
].map(([pointName, [x, y]]) => new Point(pointName, x, y));
|
|
21
|
+
return [
|
|
22
|
+
//Greenwich and equator
|
|
23
|
+
...[pointN, pointS, pointE, pointO].flatMap((point) => point.toGGBCommand({
|
|
24
|
+
isFixed: true,
|
|
25
|
+
showLabel: true,
|
|
26
|
+
color: "#000000",
|
|
27
|
+
size: 2,
|
|
28
|
+
})),
|
|
29
|
+
`Seg_greenwich = Segment(S,N)`,
|
|
30
|
+
`SetColor(Seg_greenwich,"${greenMain}")`,
|
|
31
|
+
`SetFixed(Seg_greenwich, true, false)`,
|
|
32
|
+
`Seg_equator = Segment(O,E)`,
|
|
33
|
+
`SetFixed(Seg_equator, true, false)`,
|
|
34
|
+
`SetColor(Seg_equator,"${red}")`,
|
|
35
|
+
//labels
|
|
36
|
+
`Lbl_greenwich = Text(RotateText("\\tiny Greenwich", 90°), (-0.05, 0.62), true, true, 0, 0)`,
|
|
37
|
+
`Lbl_equator = Text("\\tiny Équateur", (0.62, 0), true, true, 0, 0)`,
|
|
38
|
+
`Lbl_15_greenwich = Text("\\tiny 15", (0.27, -0.05), true, true, 0, 0)`,
|
|
39
|
+
`SetFixed(Lbl_15_greenwich, true, false)`,
|
|
40
|
+
`Lbl_15_equator = Text("\\tiny 15", (-0.07, 0.27), true, true, 0, 0)`,
|
|
41
|
+
`SetFixed(Lbl_15_equator, true, false)`,
|
|
42
|
+
//curves
|
|
43
|
+
`l1 = Sequence(x² / sin²(λ) + y² = 1, λ, 0, π / 2, π / 12)`,
|
|
44
|
+
`SetColor(l1, "#AAAAAA")`,
|
|
45
|
+
`SetFilling(l1, 0)`,
|
|
46
|
+
`l2 = Sequence(If(x² + sin²(α) ≤ 1, sin(α)), α, (-π) / 2, π / 2, π / 12)`,
|
|
47
|
+
`SetColor(l2,"#AAAAAA")`,
|
|
48
|
+
`SetFilling(l2, 0)`,
|
|
49
|
+
];
|
|
50
|
+
};
|
|
51
|
+
const xyPointForLatLonPoint = (latlonPoint) => {
|
|
52
|
+
const { x: lat, y: lon } = latlonPoint;
|
|
53
|
+
const toRadians = frac(PiNode, 180);
|
|
54
|
+
const phi = multiply(lat, toRadians);
|
|
55
|
+
const lambda = multiply(lon, toRadians);
|
|
56
|
+
const x = multiply(cos(phi), sin(lambda));
|
|
57
|
+
const y = sin(phi);
|
|
58
|
+
return new Point("S", x, y);
|
|
59
|
+
};
|
|
60
|
+
const getStrLatitude = (angleInDegrees) => {
|
|
61
|
+
if (angleInDegrees % 90 === 0) {
|
|
62
|
+
return `${angleInDegrees.frenchify()}°`;
|
|
63
|
+
}
|
|
64
|
+
else if (angleInDegrees < 0) {
|
|
65
|
+
return `${(-angleInDegrees).frenchify()}°S`;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return `${angleInDegrees.frenchify()}°N`;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const getStrLongitude = (angleInDegrees) => {
|
|
72
|
+
if (angleInDegrees % 180 === 0) {
|
|
73
|
+
return `${angleInDegrees.frenchify()}°`;
|
|
74
|
+
}
|
|
75
|
+
else if (angleInDegrees < 0) {
|
|
76
|
+
return `${(-angleInDegrees).frenchify()}°O`;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
return `${angleInDegrees.frenchify()}°E`;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const getPropositions = (n, { answer, ...identifiers }) => {
|
|
83
|
+
const { pointData, isLatitude } = identifiers;
|
|
84
|
+
const propositions = [];
|
|
85
|
+
const latLonPoints = PointConstructor.fromIdentifiers(pointData.latLon);
|
|
86
|
+
if (isLatitude) {
|
|
87
|
+
addValidProp(propositions, getStrLatitude(latLonPoints.x.evaluate()));
|
|
88
|
+
tryToAddWrongProp(propositions, getStrLongitude(latLonPoints.y.evaluate()));
|
|
89
|
+
//wrongSign
|
|
90
|
+
tryToAddWrongProp(propositions, getStrLatitude(-latLonPoints.x.evaluate()));
|
|
91
|
+
//madness
|
|
92
|
+
tryToAddWrongProp(propositions, getStrLatitude(latLonPoints.y.evaluate()));
|
|
93
|
+
tryToAddWrongProp(propositions, getStrLatitude(-latLonPoints.y.evaluate()));
|
|
94
|
+
tryToAddWrongProp(propositions, getStrLongitude(latLonPoints.x.evaluate()));
|
|
95
|
+
tryToAddWrongProp(propositions, getStrLongitude(-latLonPoints.x.evaluate()));
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
addValidProp(propositions, getStrLongitude(latLonPoints.y.evaluate()));
|
|
99
|
+
tryToAddWrongProp(propositions, getStrLatitude(latLonPoints.x.evaluate()));
|
|
100
|
+
//wrongSign
|
|
101
|
+
tryToAddWrongProp(propositions, getStrLongitude(-latLonPoints.y.evaluate()));
|
|
102
|
+
//madness
|
|
103
|
+
tryToAddWrongProp(propositions, getStrLongitude(latLonPoints.x.evaluate()));
|
|
104
|
+
tryToAddWrongProp(propositions, getStrLongitude(-latLonPoints.x.evaluate()));
|
|
105
|
+
tryToAddWrongProp(propositions, getStrLatitude(latLonPoints.y.evaluate()));
|
|
106
|
+
tryToAddWrongProp(propositions, getStrLatitude(-latLonPoints.y.evaluate()));
|
|
107
|
+
}
|
|
108
|
+
return shuffleProps(propositions, n);
|
|
109
|
+
};
|
|
110
|
+
const getAnswer = (identifiers) => {
|
|
111
|
+
const { pointData, isLatitude } = identifiers;
|
|
112
|
+
const latLonPoints = PointConstructor.fromIdentifiers(pointData.latLon);
|
|
113
|
+
if (isLatitude) {
|
|
114
|
+
return getStrLatitude(latLonPoints.x.evaluate());
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
return getStrLongitude(latLonPoints.y.evaluate());
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const getInstruction = (identifiers) => {
|
|
121
|
+
const { isLatitude, namePointTarget } = identifiers;
|
|
122
|
+
return `Quelle est la ${isLatitude ? "latitude" : "longitude"} du point $${namePointTarget}$ sur la figure ci-dessous ?`;
|
|
123
|
+
};
|
|
124
|
+
const getHint = () => {
|
|
125
|
+
return `Pour déterminer la latitude, on utlise les parallèles.
|
|
126
|
+
Pour déterminer la longitude, on utilise les méridiens.`;
|
|
127
|
+
};
|
|
128
|
+
const getCorrection = (identifiers) => {
|
|
129
|
+
const { isLatitude, namePointTarget } = identifiers;
|
|
130
|
+
const answer = getAnswer(identifiers);
|
|
131
|
+
return `La latitude donne la position Nord/Sud.
|
|
132
|
+
La longitude donne la position Est/Ouest.
|
|
133
|
+
La ${isLatitude ? "latitude" : "longitude"} du point $${namePointTarget}$ est donc $${answer}$.`;
|
|
134
|
+
};
|
|
135
|
+
const getGGBOptions = (identifiers) => {
|
|
136
|
+
const { pointData } = identifiers;
|
|
137
|
+
const xyPoint = PointConstructor.fromIdentifiers(pointData["2d"]);
|
|
138
|
+
const commands = [
|
|
139
|
+
...earthGlobe2DGGBCommands(),
|
|
140
|
+
...xyPoint.toGGBCommand({ isFixed: true, showLabel: true }),
|
|
141
|
+
];
|
|
142
|
+
const ggb = new GeogebraConstructor({
|
|
143
|
+
commands,
|
|
144
|
+
hideAxes: true,
|
|
145
|
+
hideGrid: true,
|
|
146
|
+
});
|
|
147
|
+
return ggb.getOptions({
|
|
148
|
+
coords: [-1.1, 1.1, -1.1, 1.1],
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
const getKeys = () => {
|
|
152
|
+
return ["degree", "N", "O", "S", "E"];
|
|
153
|
+
};
|
|
154
|
+
const isAnswerValid = (ans, { answer }) => {
|
|
155
|
+
console.log("ans", ans);
|
|
156
|
+
console.log("answer", answer);
|
|
157
|
+
const ansRefined = ans.replace("^{\\circ}", "°");
|
|
158
|
+
return ansRefined === answer;
|
|
159
|
+
};
|
|
160
|
+
const getSphereLatLonReading2dQuestion = () => {
|
|
161
|
+
const isLatitude = coinFlip();
|
|
162
|
+
const letters = ["A", "B", "C", "D"];
|
|
163
|
+
const arrLat = [...Array(9).keys()].map((i) => (i - 4) * 15);
|
|
164
|
+
const arrLon = [...Array(9).keys()].map((i) => (i - 4) * 15);
|
|
165
|
+
//we need student to figure out the correct mapping
|
|
166
|
+
const arrLatLon = getCartesiansProducts([arrLat, arrLon]).filter(([lat, lon]) => lat !== lon && -lat !== lon);
|
|
167
|
+
const pickedLatLon = randomMany(arrLatLon, letters.length);
|
|
168
|
+
const pointsDict = letters.reduce((acc, letter, i) => {
|
|
169
|
+
const [lat, lon] = pickedLatLon[i];
|
|
170
|
+
const latLonPoint = new Point(`${letter}`, lat, lon);
|
|
171
|
+
const xyPoint = xyPointForLatLonPoint(latLonPoint);
|
|
172
|
+
xyPoint.name = letter;
|
|
173
|
+
acc[letter] = {
|
|
174
|
+
latLon: latLonPoint.toIdentifiers(),
|
|
175
|
+
"2d": xyPoint.toIdentifiers(),
|
|
176
|
+
};
|
|
177
|
+
return acc;
|
|
178
|
+
}, {});
|
|
179
|
+
const namePointTarget = random(Object.keys(pointsDict));
|
|
180
|
+
const identifiers = {
|
|
181
|
+
isLatitude,
|
|
182
|
+
pointData: pointsDict[namePointTarget],
|
|
183
|
+
namePointTarget,
|
|
184
|
+
};
|
|
185
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
186
|
+
};
|
|
187
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
188
|
+
const question = {
|
|
189
|
+
answer: getAnswer(identifiers),
|
|
190
|
+
instruction: getInstruction(identifiers),
|
|
191
|
+
keys: getKeys(identifiers),
|
|
192
|
+
answerFormat: "tex",
|
|
193
|
+
identifiers,
|
|
194
|
+
hint: getHint(identifiers),
|
|
195
|
+
correction: getCorrection(identifiers),
|
|
196
|
+
ggbOptions: getGGBOptions(identifiers),
|
|
197
|
+
};
|
|
198
|
+
return question;
|
|
199
|
+
};
|
|
200
|
+
export const sphereLatLonReading2d = {
|
|
201
|
+
id: "sphereLatLonReading2d",
|
|
202
|
+
label: "Donner la latitude/longitude d'un point sur une sphère ($2$D)",
|
|
203
|
+
isSingleStep: true,
|
|
204
|
+
generator: (nb, opts) => getDistinctQuestions(() => getSphereLatLonReading2dQuestion(opts), nb),
|
|
205
|
+
qcmTimer: 60,
|
|
206
|
+
freeTimer: 60,
|
|
207
|
+
getPropositions,
|
|
208
|
+
isAnswerValid,
|
|
209
|
+
getHint,
|
|
210
|
+
getCorrection,
|
|
211
|
+
hasHintAndCorrection: true,
|
|
212
|
+
subject: "Mathématiques",
|
|
213
|
+
hasGeogebra: true,
|
|
214
|
+
getQuestionFromIdentifiers,
|
|
215
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Exercise } from "../../../../exercises/exercise.js";
|
|
2
|
+
import { PointIdentifiers } from "../../../../math/geometry/point.js";
|
|
3
|
+
import { SpacePointIdentifiers } from "../../../../math/geometry/spacePoint.js";
|
|
4
|
+
type Identifiers = {
|
|
5
|
+
pointsDict: Record<string, {
|
|
6
|
+
latLon: PointIdentifiers;
|
|
7
|
+
"3d": SpacePointIdentifiers;
|
|
8
|
+
}>;
|
|
9
|
+
isLatitude: boolean;
|
|
10
|
+
namePointTarget: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const sphereLatLonReading: Exercise<Identifiers>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=sphereLatLonReading.3d.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sphereLatLonReading.3d.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/sphere/sphereLatLonReading.3d.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAGL,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAGL,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAwO3C,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAChB,MAAM,EACN;QACE,MAAM,EAAE,gBAAgB,CAAC;QACzB,IAAI,EAAE,qBAAqB,CAAC;KAC7B,CACF,CAAC;IACF,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAwMF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAgBrD,CAAC"}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
|
|
2
|
+
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
|
+
import { greenMain, red } from "../../../../geogebra/colors.js";
|
|
4
|
+
import { GeogebraConstructor } from "../../../../geogebra/geogebraConstructor.js";
|
|
5
|
+
import { Point, PointConstructor, } from "../../../../math/geometry/point.js";
|
|
6
|
+
import { SpacePoint, SpacePointConstructor, } from "../../../../math/geometry/spacePoint.js";
|
|
7
|
+
import { randint } from "../../../../math/utils/random/randint.js";
|
|
8
|
+
import { cos } from "../../../../tree/nodes/functions/cosNode.js";
|
|
9
|
+
import { sin } from "../../../../tree/nodes/functions/sinNode.js";
|
|
10
|
+
import { PiNode } from "../../../../tree/nodes/numbers/piNode.js";
|
|
11
|
+
import { frac } from "../../../../tree/nodes/operators/fractionNode.js";
|
|
12
|
+
import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
|
|
13
|
+
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
14
|
+
import { random } from "../../../../utils/alea/random.js";
|
|
15
|
+
const earthGlobeGGBCommands = () => {
|
|
16
|
+
const radius = 10;
|
|
17
|
+
const radiusMore = 10.5;
|
|
18
|
+
const radiusMoreMore = 11;
|
|
19
|
+
return [
|
|
20
|
+
//hide xOyPlane
|
|
21
|
+
`SetFilling(xOyPlane, 0)`,
|
|
22
|
+
//sphere
|
|
23
|
+
`Sph = Sphere((0,0,0), 0.99 * ${radius})`,
|
|
24
|
+
`SetColor(Sph, "#d3dde6ff")`,
|
|
25
|
+
`SetFilling(Sph, 0.84)`,
|
|
26
|
+
`SetLineThickness(Sph, 1)`,
|
|
27
|
+
//circles and arcs
|
|
28
|
+
//méridien
|
|
29
|
+
`c = Circle((0, 0, ${radius}), (${radius}, 0, 0), (0, 0, -${radius}))`,
|
|
30
|
+
`SetVisibleInView(c, -1, false)`,
|
|
31
|
+
`m = Arc(c, (0, 0, ${radius}), (0, 0, -${radius}) )`,
|
|
32
|
+
`SetColor(m, "${greenMain}")`,
|
|
33
|
+
`SetLineThickness(m, 3)`,
|
|
34
|
+
// `SetCaption(m, "$\\footnotesize \\text{Méridien de Greenwich}$")`,
|
|
35
|
+
// `ShowLabel(m, true)`,
|
|
36
|
+
//équateur
|
|
37
|
+
`d = Circle((${radius}, 0, 0), (0, ${radius}, 0), (-${radius}, 0, 0))`,
|
|
38
|
+
`SetColor(d, "${red}")`,
|
|
39
|
+
`SetLineThickness(d, 3)`,
|
|
40
|
+
// `SetCaption(d, "$\\footnotesize \\text{Équateur}$")`,
|
|
41
|
+
// `ShowLabel(d, true)`,
|
|
42
|
+
//other circles
|
|
43
|
+
`A_1 = (${radius}, 0, 0)`,
|
|
44
|
+
`l1 = Sequence(Rotate(m, nn * 15°, zAxis), nn, 1, 24)`,
|
|
45
|
+
`l2 = Sequence(Rotate(A_1, nn * 15°, yAxis), nn, -5, 5)`,
|
|
46
|
+
`l3 = Sequence(z(Element(l2, nn)), nn, 1, Length(l2))`,
|
|
47
|
+
`l4 = Sequence(x(Element(l2, nn)), nn, 1, Length(l2))`,
|
|
48
|
+
`l5 = Sequence(Circle((0, 0, Element(l3, nn)), Element(l4, nn), zAxis), nn, 1, Length(l2))`,
|
|
49
|
+
`SetVisibleInView(l2, -1, false)`, //Use -1 for the 3D View
|
|
50
|
+
`SetVisibleInView(A_1, -1, false)`,
|
|
51
|
+
//cercles::parallèles
|
|
52
|
+
`SetColor(l5, "${red}")`,
|
|
53
|
+
`SetLineThickness(l5, 1)`,
|
|
54
|
+
//cercles::méridiens
|
|
55
|
+
`SetColor(l1, "${greenMain}")`,
|
|
56
|
+
`SetLineThickness(l1, 1)`,
|
|
57
|
+
//markers
|
|
58
|
+
//marqueurs::parallèles
|
|
59
|
+
`lp0 = Sequence(Rotate((${radiusMore}, 0, 0), nn * 15°, yAxis), nn, -5, 5)`,
|
|
60
|
+
`SetVisibleInView(lp0, -1, false)`,
|
|
61
|
+
...[...Array(11).keys()]
|
|
62
|
+
.map((i) => i + 1)
|
|
63
|
+
.flatMap((i) => {
|
|
64
|
+
const angleInDegrees = -(90 - i * 15);
|
|
65
|
+
let strAngle;
|
|
66
|
+
if (angleInDegrees == 0) {
|
|
67
|
+
return [];
|
|
68
|
+
}
|
|
69
|
+
else if (angleInDegrees < 0) {
|
|
70
|
+
strAngle = `${(-angleInDegrees).frenchify()}°N`;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
strAngle = `${angleInDegrees.frenchify()}°S`;
|
|
74
|
+
}
|
|
75
|
+
return [
|
|
76
|
+
`P0_{${i}} = Point({x(Element(lp0, ${i})), y(Element(lp0, ${i})), z(Element(lp0, ${i}))})`,
|
|
77
|
+
`SetPointSize(P0_{${i}}, 1)`,
|
|
78
|
+
`SetColor(P0_{${i}}, "${red}")`,
|
|
79
|
+
`SetCaption(P0_{${i}}, "$\\footnotesize \\text{${strAngle}}$")`,
|
|
80
|
+
`ShowLabel(P0_{${i}}, true)`,
|
|
81
|
+
];
|
|
82
|
+
}),
|
|
83
|
+
`lp2 = Sequence(Rotate(((-${radiusMore}), 0, 0), nn * 15°, yAxis), nn, -5, 5)`,
|
|
84
|
+
`SetVisibleInView(lp2, -1, false)`,
|
|
85
|
+
...[...Array(11).keys()]
|
|
86
|
+
.map((i) => i + 1)
|
|
87
|
+
.flatMap((i) => {
|
|
88
|
+
const angleInDegrees = 90 - i * 15;
|
|
89
|
+
let strAngle;
|
|
90
|
+
if (angleInDegrees == 0) {
|
|
91
|
+
return [];
|
|
92
|
+
}
|
|
93
|
+
else if (angleInDegrees < 0) {
|
|
94
|
+
strAngle = `${(-angleInDegrees).frenchify()}°N`;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
strAngle = `${angleInDegrees.frenchify()}°S`;
|
|
98
|
+
}
|
|
99
|
+
return [
|
|
100
|
+
`P2_{${i}} = Point({x(Element(lp2, ${i})), y(Element(lp2, ${i})), z(Element(lp2, ${i}))})`,
|
|
101
|
+
`SetPointSize(P2_{${i}}, 1)`,
|
|
102
|
+
`SetColor(P2_{${i}}, "${red}")`,
|
|
103
|
+
`SetCaption(P2_{${i}}, "$\\footnotesize \\text{${strAngle}}$")`,
|
|
104
|
+
`ShowLabel(P2_{${i}}, true)`,
|
|
105
|
+
];
|
|
106
|
+
}),
|
|
107
|
+
`lp1 = Sequence(Rotate((0, -${radiusMore}, 0), nn * 15°, xAxis), nn, -5, 5)`,
|
|
108
|
+
`SetVisibleInView(lp1, -1, false)`,
|
|
109
|
+
...[...Array(11).keys()]
|
|
110
|
+
.map((i) => i + 1)
|
|
111
|
+
.flatMap((i) => {
|
|
112
|
+
const angleInDegrees = -(90 - i * 15);
|
|
113
|
+
let strAngle;
|
|
114
|
+
if (angleInDegrees == 0) {
|
|
115
|
+
return [];
|
|
116
|
+
}
|
|
117
|
+
else if (angleInDegrees < 0) {
|
|
118
|
+
strAngle = `${(-angleInDegrees).frenchify()}°N`;
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
strAngle = `${angleInDegrees.frenchify()}°S`;
|
|
122
|
+
}
|
|
123
|
+
return [
|
|
124
|
+
`P1_{${i}} = Point({x(Element(lp1, ${i})), y(Element(lp1, ${i})), z(Element(lp1, ${i}))})`,
|
|
125
|
+
`SetPointSize(P1_{${i}}, 1)`,
|
|
126
|
+
`SetColor(P1_{${i}}, "${red}")`,
|
|
127
|
+
`SetCaption(P1_{${i}}, "$\\footnotesize \\text{${strAngle}}$")`,
|
|
128
|
+
`ShowLabel(P1_{${i}}, true)`,
|
|
129
|
+
];
|
|
130
|
+
}),
|
|
131
|
+
`lp3 = Sequence(Rotate((0, ${radiusMore}, 0), nn * 15°, xAxis), nn, -5, 5)`,
|
|
132
|
+
`SetVisibleInView(lp3, -1, false)`,
|
|
133
|
+
...[...Array(11).keys()]
|
|
134
|
+
.map((i) => i + 1)
|
|
135
|
+
.flatMap((i) => {
|
|
136
|
+
const angleInDegrees = 90 - i * 15;
|
|
137
|
+
let strAngle;
|
|
138
|
+
if (angleInDegrees == 0) {
|
|
139
|
+
return [];
|
|
140
|
+
}
|
|
141
|
+
else if (angleInDegrees < 0) {
|
|
142
|
+
strAngle = `${(-angleInDegrees).frenchify()}°N`;
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
strAngle = `${angleInDegrees.frenchify()}°S`;
|
|
146
|
+
}
|
|
147
|
+
return [
|
|
148
|
+
`P3_{${i}} = Point({x(Element(lp3, ${i})), y(Element(lp3, ${i})), z(Element(lp3, ${i}))})`,
|
|
149
|
+
`SetPointSize(P3_{${i}}, 1)`,
|
|
150
|
+
`SetColor(P3_{${i}}, "${red}")`,
|
|
151
|
+
`SetCaption(P3_{${i}}, "$\\footnotesize \\text{${strAngle}}$")`,
|
|
152
|
+
`ShowLabel(P3_{${i}}, true)`,
|
|
153
|
+
];
|
|
154
|
+
}),
|
|
155
|
+
//marqueurs::méridiens
|
|
156
|
+
`lm0 = Sequence(Rotate((${radiusMoreMore}, 0, 0), nn * 15°, zAxis), nn, -11, 12)`,
|
|
157
|
+
`SetVisibleInView(lm0, -1, false)`,
|
|
158
|
+
...[...Array(24).keys()]
|
|
159
|
+
.map((i) => i + 1)
|
|
160
|
+
.flatMap((i) => {
|
|
161
|
+
const angleInDegrees = 180 - i * 15;
|
|
162
|
+
let strAngle;
|
|
163
|
+
if (angleInDegrees == -180 || angleInDegrees == 0) {
|
|
164
|
+
strAngle = `${angleInDegrees.frenchify()}°`;
|
|
165
|
+
}
|
|
166
|
+
else if (angleInDegrees < 0) {
|
|
167
|
+
strAngle = `${(-angleInDegrees).frenchify()}°E`;
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
strAngle = `${angleInDegrees.frenchify()}°O`;
|
|
171
|
+
}
|
|
172
|
+
return [
|
|
173
|
+
`M0_{${i}} = Point({x(Element(lm0, ${i})), y(Element(lm0, ${i})), z(Element(lm0, ${i}))})`,
|
|
174
|
+
`SetPointSize(M0_{${i}}, 1)`,
|
|
175
|
+
`SetColor(M0_{${i}}, "black")`,
|
|
176
|
+
`SetCaption(M0_{${i}}, "$\\footnotesize \\text{${strAngle}}$")`,
|
|
177
|
+
`ShowLabel(M0_{${i}}, true)`,
|
|
178
|
+
];
|
|
179
|
+
}),
|
|
180
|
+
//center view
|
|
181
|
+
`CenterView(Point({0,0,0}))`,
|
|
182
|
+
];
|
|
183
|
+
};
|
|
184
|
+
const spacePointForLatLonPoint = (latlonPoint, radius) => {
|
|
185
|
+
const { x: lat, y: lon } = latlonPoint;
|
|
186
|
+
const toRadians = frac(PiNode, 180);
|
|
187
|
+
const delta = multiply(lat, toRadians);
|
|
188
|
+
const theta = multiply(lon, toRadians);
|
|
189
|
+
const chunk = multiply(radius, cos(delta));
|
|
190
|
+
const x = multiply(chunk, cos(theta));
|
|
191
|
+
const y = multiply(chunk, sin(theta));
|
|
192
|
+
const z = multiply(radius, sin(delta));
|
|
193
|
+
return new SpacePoint("S", x, y, z);
|
|
194
|
+
};
|
|
195
|
+
// const latLonPointForSpacePoint = (
|
|
196
|
+
// spacePoint: SpacePoint,
|
|
197
|
+
// center: SpacePoint,
|
|
198
|
+
// ) => {
|
|
199
|
+
// const { x, y, z } = spacePoint;
|
|
200
|
+
// const vec3d = SpaceVectorConstructor.fromPoints(
|
|
201
|
+
// new SpacePoint("O", (0).toTree(), (0).toTree(), (0).toTree()),
|
|
202
|
+
// spacePoint,
|
|
203
|
+
// );
|
|
204
|
+
// const radius = vec3d.getNorm();
|
|
205
|
+
// const delta = substract(
|
|
206
|
+
// frac(PiNode, 2),
|
|
207
|
+
// Math.atan2(y.evaluate(), x.evaluate()),
|
|
208
|
+
// );
|
|
209
|
+
// const theta = Math.acos(z.evaluate()) / radius.evaluate();
|
|
210
|
+
// const toDegrees = frac(180, PiNode).evaluate();
|
|
211
|
+
// const lat = multiply(delta, toDegrees).evaluate();
|
|
212
|
+
// const lon = multiply(theta, toDegrees).evaluate();
|
|
213
|
+
// return new Point("L", lat, lon);
|
|
214
|
+
// };
|
|
215
|
+
const getStrLatitude = (angleInDegrees) => {
|
|
216
|
+
if (angleInDegrees % 90 === 0) {
|
|
217
|
+
return `${angleInDegrees.frenchify()}°`;
|
|
218
|
+
}
|
|
219
|
+
else if (angleInDegrees < 0) {
|
|
220
|
+
return `${(-angleInDegrees).frenchify()}°S`;
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
return `${angleInDegrees.frenchify()}°N`;
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
const getStrLongitude = (angleInDegrees) => {
|
|
227
|
+
if (angleInDegrees % 180 === 0) {
|
|
228
|
+
return `${angleInDegrees.frenchify()}°`;
|
|
229
|
+
}
|
|
230
|
+
else if (angleInDegrees < 0) {
|
|
231
|
+
return `${(-angleInDegrees).frenchify()}°O`;
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
return `${angleInDegrees.frenchify()}°E`;
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
const getPropositions = (n, { answer, ...identifiers }) => {
|
|
238
|
+
const { pointsDict, namePointTarget, isLatitude } = identifiers;
|
|
239
|
+
const propositions = [];
|
|
240
|
+
const latLonPoints = PointConstructor.fromIdentifiers(pointsDict[namePointTarget].latLon);
|
|
241
|
+
if (isLatitude) {
|
|
242
|
+
addValidProp(propositions, getStrLatitude(latLonPoints.x.evaluate()));
|
|
243
|
+
tryToAddWrongProp(propositions, getStrLongitude(latLonPoints.y.evaluate()));
|
|
244
|
+
//wrongSign
|
|
245
|
+
tryToAddWrongProp(propositions, getStrLatitude(-latLonPoints.x.evaluate()));
|
|
246
|
+
//madness
|
|
247
|
+
tryToAddWrongProp(propositions, getStrLatitude(latLonPoints.y.evaluate()));
|
|
248
|
+
tryToAddWrongProp(propositions, getStrLatitude(-latLonPoints.y.evaluate()));
|
|
249
|
+
tryToAddWrongProp(propositions, getStrLongitude(latLonPoints.x.evaluate()));
|
|
250
|
+
tryToAddWrongProp(propositions, getStrLongitude(-latLonPoints.x.evaluate()));
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
addValidProp(propositions, getStrLongitude(latLonPoints.y.evaluate()));
|
|
254
|
+
tryToAddWrongProp(propositions, getStrLatitude(latLonPoints.x.evaluate()));
|
|
255
|
+
//wrongSign
|
|
256
|
+
tryToAddWrongProp(propositions, getStrLongitude(-latLonPoints.y.evaluate()));
|
|
257
|
+
//madness
|
|
258
|
+
tryToAddWrongProp(propositions, getStrLongitude(latLonPoints.x.evaluate()));
|
|
259
|
+
tryToAddWrongProp(propositions, getStrLongitude(-latLonPoints.x.evaluate()));
|
|
260
|
+
tryToAddWrongProp(propositions, getStrLatitude(latLonPoints.y.evaluate()));
|
|
261
|
+
tryToAddWrongProp(propositions, getStrLatitude(-latLonPoints.y.evaluate()));
|
|
262
|
+
}
|
|
263
|
+
return shuffleProps(propositions, n);
|
|
264
|
+
};
|
|
265
|
+
const getAnswer = (identifiers) => {
|
|
266
|
+
const { pointsDict, namePointTarget, isLatitude } = identifiers;
|
|
267
|
+
const latLonPoints = PointConstructor.fromIdentifiers(pointsDict[namePointTarget].latLon);
|
|
268
|
+
if (isLatitude) {
|
|
269
|
+
return getStrLatitude(latLonPoints.x.evaluate());
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
return getStrLongitude(latLonPoints.y.evaluate());
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
const getInstruction = (identifiers) => {
|
|
276
|
+
const { isLatitude, namePointTarget } = identifiers;
|
|
277
|
+
return `Quelle est la ${isLatitude ? "latitude" : "longitude"} du point $${namePointTarget}$ sur la figure ci-dessous ?
|
|
278
|
+
|
|
279
|
+
*On pourra tourner la fenêtre graphique.*`;
|
|
280
|
+
};
|
|
281
|
+
const getHint = () => {
|
|
282
|
+
return `Pour déterminer la latitude, on utlise les parallèles.
|
|
283
|
+
Pour déterminer la longitude, on utilise les méridiens.`;
|
|
284
|
+
};
|
|
285
|
+
const getCorrection = (identifiers) => {
|
|
286
|
+
const { isLatitude, namePointTarget } = identifiers;
|
|
287
|
+
const answer = getAnswer(identifiers);
|
|
288
|
+
return `La latitude donne la position Nord/Sud.
|
|
289
|
+
La longitude donne la position Est/Ouest.
|
|
290
|
+
La ${isLatitude ? "latitude" : "longitude"} du point $${namePointTarget}$ est donc $${answer}$.`;
|
|
291
|
+
};
|
|
292
|
+
const getGGBOptions = (identifiers) => {
|
|
293
|
+
const { pointsDict, namePointTarget } = identifiers;
|
|
294
|
+
const spacePoints = Object.values(pointsDict).map((miniDict) => SpacePointConstructor.fromIdentifiers(miniDict["3d"]));
|
|
295
|
+
const spacePointTarget = SpacePointConstructor.fromIdentifiers(pointsDict[namePointTarget]["3d"]);
|
|
296
|
+
const radius = 5;
|
|
297
|
+
// const zoomInCuboid = [-1, -1, -1, 1, 1, 1].map((v) => v * 0.5);
|
|
298
|
+
const commands = [
|
|
299
|
+
...earthGlobeGGBCommands(),
|
|
300
|
+
...spacePoints.flatMap((spacePoint) => spacePoint.toGGBCommand()),
|
|
301
|
+
// `ZoomIn(${zoomInCuboid.join(",")})`, //does not work -_-
|
|
302
|
+
// `ZoomIn(2,${spacePointTarget.toCoords()})`, //does not work -_-
|
|
303
|
+
];
|
|
304
|
+
const ggb = new GeogebraConstructor({
|
|
305
|
+
commands,
|
|
306
|
+
is3D: true,
|
|
307
|
+
xAxis: {
|
|
308
|
+
hidden: true,
|
|
309
|
+
},
|
|
310
|
+
yAxis: {
|
|
311
|
+
hidden: true,
|
|
312
|
+
},
|
|
313
|
+
zAxis: {
|
|
314
|
+
hidden: true,
|
|
315
|
+
},
|
|
316
|
+
viewDirectionVector: [
|
|
317
|
+
-spacePointTarget.x.evaluate(),
|
|
318
|
+
-spacePointTarget.y.evaluate(),
|
|
319
|
+
-spacePointTarget.z.evaluate(),
|
|
320
|
+
],
|
|
321
|
+
});
|
|
322
|
+
const xMax = radius;
|
|
323
|
+
const xMin = -xMax;
|
|
324
|
+
const yMax = radius;
|
|
325
|
+
const yMin = -yMax;
|
|
326
|
+
const zMax = radius;
|
|
327
|
+
const zMin = -zMax;
|
|
328
|
+
return ggb.getOptions({
|
|
329
|
+
coords: [xMin, xMax, yMin, yMax, zMin, zMax],
|
|
330
|
+
});
|
|
331
|
+
};
|
|
332
|
+
const getKeys = () => {
|
|
333
|
+
return [];
|
|
334
|
+
};
|
|
335
|
+
const isAnswerValid = (ans, { answer }) => {
|
|
336
|
+
return ans === answer;
|
|
337
|
+
};
|
|
338
|
+
const getSphereLatLonReadingQuestion = () => {
|
|
339
|
+
const isLatitude = coinFlip();
|
|
340
|
+
const radius = 10;
|
|
341
|
+
const letters = ["A", "B", "C", "D"];
|
|
342
|
+
const pointsDict = letters.reduce((acc, letter) => {
|
|
343
|
+
const lat = randint(-4, 5) * 15;
|
|
344
|
+
const lon = randint(-11, 12) * 15;
|
|
345
|
+
const latLonPoint = new Point(`LatLon_{letter}`, lat, lon);
|
|
346
|
+
const spacePoint = spacePointForLatLonPoint(latLonPoint, radius.toTree());
|
|
347
|
+
spacePoint.name = letter;
|
|
348
|
+
acc[letter] = {
|
|
349
|
+
latLon: latLonPoint.toIdentifiers(),
|
|
350
|
+
"3d": spacePoint.toIdentifiers(),
|
|
351
|
+
};
|
|
352
|
+
return acc;
|
|
353
|
+
}, {});
|
|
354
|
+
const namePointTarget = random(Object.keys(pointsDict));
|
|
355
|
+
const identifiers = {
|
|
356
|
+
isLatitude,
|
|
357
|
+
pointsDict,
|
|
358
|
+
namePointTarget,
|
|
359
|
+
};
|
|
360
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
361
|
+
};
|
|
362
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
363
|
+
const question = {
|
|
364
|
+
answer: getAnswer(identifiers),
|
|
365
|
+
instruction: getInstruction(identifiers),
|
|
366
|
+
keys: getKeys(identifiers),
|
|
367
|
+
answerFormat: "tex",
|
|
368
|
+
identifiers,
|
|
369
|
+
hint: getHint(identifiers),
|
|
370
|
+
correction: getCorrection(identifiers),
|
|
371
|
+
ggbOptions: getGGBOptions(identifiers),
|
|
372
|
+
};
|
|
373
|
+
return question;
|
|
374
|
+
};
|
|
375
|
+
export const sphereLatLonReading = {
|
|
376
|
+
id: "sphereLatLonReading",
|
|
377
|
+
label: "Donner la latitude/longitude d'un point sur une sphère",
|
|
378
|
+
isSingleStep: true,
|
|
379
|
+
generator: (nb, opts) => getDistinctQuestions(() => getSphereLatLonReadingQuestion(opts), nb),
|
|
380
|
+
qcmTimer: 60,
|
|
381
|
+
freeTimer: 60,
|
|
382
|
+
getPropositions,
|
|
383
|
+
isAnswerValid,
|
|
384
|
+
getHint,
|
|
385
|
+
getCorrection,
|
|
386
|
+
hasHintAndCorrection: true,
|
|
387
|
+
subject: "Mathématiques",
|
|
388
|
+
hasGeogebra: true,
|
|
389
|
+
getQuestionFromIdentifiers,
|
|
390
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Exercise } from "../../../../exercises/exercise.js";
|
|
2
|
+
import { NodeIdentifiers } from "../../../../tree/nodes/nodeConstructor.js";
|
|
3
|
+
type Identifiers = {
|
|
4
|
+
aIds: NodeIdentifiers;
|
|
5
|
+
bIds: NodeIdentifiers;
|
|
6
|
+
};
|
|
7
|
+
export declare const areReelsOnTheSameTrigoCirclePoint: Exercise<Identifiers>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=areReelsOnTheSameTrigoCirclePoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"areReelsOnTheSameTrigoCirclePoint.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/trigonometry/circle/areReelsOnTheSameTrigoCirclePoint.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EACL,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAS7C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AA6FF,eAAO,MAAM,iCAAiC,EAAE,QAAQ,CAAC,WAAW,CAqBnE,CAAC"}
|