math-exercises 3.0.56 → 3.0.58
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/calcul/operations/operationsPriorities.d.ts +2 -0
- package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPriorities.js +46 -36
- package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.js +65 -13
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +1 -4
- package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts +16 -0
- package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/factorisation/facto1.js +184 -0
- package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +43 -0
- package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/index.js +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +23 -0
- package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.js +23 -0
- package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.js +49 -0
- package/lib/exercises/math/conversion/capacityConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/capacityConversion.js +68 -12
- package/lib/exercises/math/conversion/hoursToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/conversion/hoursToDecimal.js +73 -15
- package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/lengthConversion.js +55 -6
- package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/massConversion.js +72 -16
- package/lib/exercises/math/conversion/volumeConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/volumeConversion.js +72 -12
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts +8 -0
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts.map +1 -0
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.js +102 -0
- package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts +7 -0
- package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts.map +1 -0
- package/lib/exercises/math/derivation/convexity/convexityTrinomials.js +52 -0
- package/lib/exercises/math/derivation/convexity/index.d.ts +4 -0
- package/lib/exercises/math/derivation/convexity/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/convexity/index.js +3 -0
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts +7 -0
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts.map +1 -0
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.js +134 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.js +79 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +85 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeThree.js +86 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +76 -0
- package/lib/exercises/math/derivation/derivative/exp/index.d.ts +6 -0
- package/lib/exercises/math/derivation/derivative/exp/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/index.js +5 -0
- package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.d.ts +7 -0
- package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.js +84 -0
- package/lib/exercises/math/derivation/derivative/index.d.ts +6 -27
- package/lib/exercises/math/derivation/derivative/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/index.js +6 -27
- package/lib/exercises/math/derivation/derivative/ln/index.d.ts +4 -0
- package/lib/exercises/math/derivation/derivative/ln/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/ln/index.js +3 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.js +81 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.js +103 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.js +77 -0
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts +10 -0
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.js +71 -0
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts +11 -0
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +88 -0
- package/lib/exercises/math/derivation/derivative/polynomial/index.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/polynomial/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/index.js +7 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts +10 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +115 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.d.ts +10 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.js +80 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts +9 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.js +67 -0
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts +10 -0
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.js +134 -0
- package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.d.ts +11 -0
- package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.js +97 -0
- package/lib/exercises/math/derivation/derivative/power/index.d.ts +3 -0
- package/lib/exercises/math/derivation/derivative/power/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/power/index.js +2 -0
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts +9 -0
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.js +122 -0
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.js +118 -0
- package/lib/exercises/math/derivation/derivative/sqrt/index.d.ts +3 -0
- package/lib/exercises/math/derivation/derivative/sqrt/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/sqrt/index.js +3 -0
- package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.d.ts +7 -0
- package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.js +115 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +77 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.js +85 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.js +81 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts +7 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +103 -0
- package/lib/exercises/math/derivation/derivative/trigo/index.d.ts +5 -0
- package/lib/exercises/math/derivation/derivative/trigo/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/trigo/index.js +4 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.d.ts +8 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.js +70 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.d.ts +7 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +91 -0
- package/lib/exercises/math/derivation/derivativeNumberCalcul.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivativeNumberCalcul.js +4 -2
- package/lib/exercises/math/derivation/index.d.ts +2 -0
- package/lib/exercises/math/derivation/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/index.js +2 -0
- package/lib/exercises/math/derivation/variations/index.d.ts +2 -0
- package/lib/exercises/math/derivation/variations/index.d.ts.map +1 -0
- package/lib/exercises/math/derivation/variations/index.js +1 -0
- package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts +11 -0
- package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts.map +1 -0
- package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.js +168 -0
- package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffAyPlusB.js +39 -22
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.js +7 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +38 -15
- package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.js +29 -8
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts +8 -0
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts.map +1 -0
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.js +86 -0
- package/lib/exercises/math/equaDiff/index.d.ts +1 -1
- package/lib/exercises/math/equaDiff/index.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/index.js +1 -1
- package/lib/exercises/math/functions/affines/signFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/signFunction.js +23 -11
- package/lib/exercises/math/functions/exponential/expEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expEquation.js +3 -0
- package/lib/exercises/math/functions/exponential/expFactorization.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expFactorization.js +3 -0
- package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expSimplifiying.js +83 -45
- package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.js +12 -5
- package/lib/exercises/math/geometry/euclidianConstructions/buildRhombus.d.ts +2 -0
- package/lib/exercises/math/geometry/euclidianConstructions/buildRhombus.d.ts.map +1 -0
- package/lib/exercises/math/geometry/euclidianConstructions/buildRhombus.js +63 -0
- package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.js +68 -29
- package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.js +56 -4
- package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.js +71 -25
- package/lib/exercises/math/limits/polynomLimit.d.ts +1 -1
- package/lib/exercises/math/limits/polynomLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/polynomLimit.js +28 -9
- package/lib/exercises/math/limits/polynomLimitNoFI.d.ts +1 -1
- package/lib/exercises/math/limits/polynomLimitNoFI.d.ts.map +1 -1
- package/lib/exercises/math/limits/polynomLimitNoFI.js +29 -10
- package/lib/exercises/math/powers/calculateNegativePower.d.ts.map +1 -1
- package/lib/exercises/math/powers/calculateNegativePower.js +59 -16
- package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
- package/lib/exercises/math/powers/decimalToScientific.js +55 -11
- package/lib/exercises/math/powers/index.d.ts +1 -0
- package/lib/exercises/math/powers/index.d.ts.map +1 -1
- package/lib/exercises/math/powers/index.js +1 -0
- package/lib/exercises/math/powers/powersDivision.d.ts +5 -2
- package/lib/exercises/math/powers/powersDivision.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersDivision.js +68 -53
- package/lib/exercises/math/powers/powersMixOperations.d.ts +1 -0
- package/lib/exercises/math/powers/powersMixOperations.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersMixOperations.js +88 -17
- package/lib/exercises/math/powers/powersOfTenMixOperations.d.ts +10 -0
- package/lib/exercises/math/powers/powersOfTenMixOperations.d.ts.map +1 -0
- package/lib/exercises/math/powers/powersOfTenMixOperations.js +129 -0
- package/lib/exercises/math/powers/powersOfTenToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersOfTenToDecimal.js +32 -3
- package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersProduct.js +1 -0
- package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/powers/scientificToDecimal.js +50 -10
- package/lib/exercises/math/primitive/klogUPrimitive.js +1 -1
- package/lib/exercises/math/primitive/logarithmePrimitive.js +1 -1
- package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/polynomialPrimitive.js +1 -0
- package/lib/exercises/math/probaStat/stats1var/averageList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageList.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +42 -11
- package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.js +8 -20
- package/lib/exercises/math/probaStat/stats1var/etendueList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/etendueList.js +4 -6
- package/lib/exercises/math/probaStat/stats1var/interquartilesList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/interquartilesList.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/interquartilesTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/interquartilesTable.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +13 -9
- package/lib/exercises/math/probaStat/stats1var/median.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/median.js +19 -14
- package/lib/exercises/math/probaStat/stats1var/medianList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/medianList.js +3 -0
- package/lib/exercises/math/probaStat/stats1var/quartiles.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/quartiles.js +16 -11
- package/lib/exercises/math/probaStat/stats1var/quartilesList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/quartilesList.js +18 -14
- package/lib/exercises/math/probaStat/stats1var/standardDeviationList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/standardDeviationList.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/varianceList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/varianceList.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/varianceTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/varianceTable.js +4 -4
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.js +40 -2
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.js +32 -0
- package/lib/exercises/math/trigonometry/trigonometry.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometry.js +67 -1
- package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +89 -0
- package/lib/exercises/pc/index.d.ts +5 -5
- package/lib/exercises/pc/index.d.ts.map +1 -1
- package/lib/exercises/pc/index.js +5 -5
- package/lib/index.d.ts +56 -45
- package/lib/index.d.ts.map +1 -1
- package/lib/math/geometry/angle.d.ts.map +1 -1
- package/lib/math/geometry/angle.js +0 -5
- package/lib/math/geometry/vector.d.ts +1 -0
- package/lib/math/geometry/vector.d.ts.map +1 -1
- package/lib/math/geometry/vector.js +19 -0
- package/lib/math/numbers/decimals/decimal.d.ts +1 -0
- package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
- package/lib/math/numbers/decimals/decimal.js +2 -0
- package/lib/math/systems/generalSystem.d.ts +6 -1
- package/lib/math/systems/generalSystem.d.ts.map +1 -1
- package/lib/math/systems/generalSystem.js +137 -0
- package/lib/math/utils/arithmetic/lcm.js +1 -1
- package/lib/playground.d.ts.map +1 -1
- package/lib/playground.js +4 -34
- package/lib/tree/nodes/algebraicNode.d.ts +1 -0
- package/lib/tree/nodes/algebraicNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equalNode.d.ts +7 -1
- package/lib/tree/nodes/equations/equalNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equalNode.js +17 -9
- package/lib/tree/nodes/functions/logNode.js +2 -4
- package/lib/tree/nodes/operators/addNode.js +1 -1
- package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/fractionNode.js +35 -11
- package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/multiplyNode.js +4 -3
- package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/powerNode.js +5 -0
- package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/intervalNode.js +3 -1
- package/lib/tree/parsers/latexParser.js +6 -2
- package/package.json +1 -1
|
@@ -88,6 +88,9 @@ const getVarianceListQuestion = (ops) => {
|
|
|
88
88
|
const identifiers = {
|
|
89
89
|
sortedValues: values.sort((a, b) => a - b),
|
|
90
90
|
};
|
|
91
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
92
|
+
};
|
|
93
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
91
94
|
const question = {
|
|
92
95
|
answer: getAnswer(identifiers),
|
|
93
96
|
instruction: getInstruction(identifiers),
|
|
@@ -110,9 +113,6 @@ export const varianceList = {
|
|
|
110
113
|
getPropositions,
|
|
111
114
|
isAnswerValid,
|
|
112
115
|
subject: "Mathématiques",
|
|
113
|
-
|
|
114
|
-
getHint,
|
|
115
|
-
getCorrection,
|
|
116
|
-
getAnswer,
|
|
116
|
+
getQuestionFromIdentifiers,
|
|
117
117
|
hasHintAndCorrection: true,
|
|
118
118
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"varianceTable.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/varianceTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"varianceTable.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/varianceTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAYrC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AA+HF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAc/C,CAAC"}
|
|
@@ -100,6 +100,9 @@ const getVarianceTableQuestion = (ops) => {
|
|
|
100
100
|
sortedValues: values.sort((a, b) => a - b),
|
|
101
101
|
effectifs,
|
|
102
102
|
};
|
|
103
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
104
|
+
};
|
|
105
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
103
106
|
const question = {
|
|
104
107
|
answer: getAnswer(identifiers),
|
|
105
108
|
instruction: getInstruction(identifiers),
|
|
@@ -125,9 +128,6 @@ export const varianceTable = {
|
|
|
125
128
|
getPropositions,
|
|
126
129
|
isAnswerValid,
|
|
127
130
|
subject: "Mathématiques",
|
|
128
|
-
|
|
129
|
-
getHint,
|
|
130
|
-
getCorrection,
|
|
131
|
-
getAnswer,
|
|
131
|
+
getQuestionFromIdentifiers,
|
|
132
132
|
hasHintAndCorrection: true,
|
|
133
133
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometricFirstTermsGeneralSum.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"geometricFirstTermsGeneralSum.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAgHF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,CAgB/D,CAAC"}
|
|
@@ -1,12 +1,46 @@
|
|
|
1
1
|
import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
|
|
2
2
|
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
3
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
4
|
+
import { frac } from "../../../../tree/nodes/operators/fractionNode.js";
|
|
5
|
+
import { multiply } from "../../../../tree/nodes/operators/multiplyNode.js";
|
|
6
|
+
import { power } from "../../../../tree/nodes/operators/powerNode.js";
|
|
7
|
+
import { substract } from "../../../../tree/nodes/operators/substractNode.js";
|
|
4
8
|
import { random } from "../../../../utils/alea/random.js";
|
|
9
|
+
import { alignTex } from "../../../../utils/latex/alignTex.js";
|
|
5
10
|
const getHint = (identifiers) => {
|
|
6
|
-
return
|
|
11
|
+
return `On utilise la formule :
|
|
12
|
+
|
|
13
|
+
$$
|
|
14
|
+
S = \\text{premier terme} \\times \\frac{1-\\text{raison}^{\\text{nombre de termes}}}{1-\\text{raison}}
|
|
15
|
+
$$`;
|
|
7
16
|
};
|
|
8
17
|
const getCorrection = (identifiers) => {
|
|
9
|
-
|
|
18
|
+
const { firstRank, firstValue, nbTerms, reason } = identifiers;
|
|
19
|
+
return `On utilise la formule :
|
|
20
|
+
|
|
21
|
+
$$
|
|
22
|
+
S = \\text{premier terme} \\times \\frac{1-\\text{raison}^{\\text{nombre de termes}}}{1-\\text{raison}}
|
|
23
|
+
$$
|
|
24
|
+
|
|
25
|
+
Ici, la raison est $${reason}$, le premier terme est $${firstValue}$ et le nombre de termes est $${nbTerms}$.
|
|
26
|
+
|
|
27
|
+
On a donc :
|
|
28
|
+
|
|
29
|
+
${alignTex([
|
|
30
|
+
[
|
|
31
|
+
"S",
|
|
32
|
+
"=",
|
|
33
|
+
multiply(firstValue, frac(substract(1, power(reason, nbTerms)), substract(1, reason))).toTex(),
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
"",
|
|
37
|
+
"=",
|
|
38
|
+
multiply(firstValue, frac(substract(1, power(reason, nbTerms)).simplify({
|
|
39
|
+
calculatePowers: true,
|
|
40
|
+
}), substract(1, reason).simplify())).toTex(),
|
|
41
|
+
],
|
|
42
|
+
["", "=", getAnswer(identifiers)],
|
|
43
|
+
])}`;
|
|
10
44
|
};
|
|
11
45
|
const getInstruction = (identifiers) => {
|
|
12
46
|
const { firstRank, firstValue, reason, nbTerms } = identifiers;
|
|
@@ -39,6 +73,8 @@ const getQuestionFromIdentifiers = (identifiers) => {
|
|
|
39
73
|
keys: [],
|
|
40
74
|
answerFormat: "tex",
|
|
41
75
|
identifiers,
|
|
76
|
+
hint: getHint(identifiers),
|
|
77
|
+
correction: getCorrection(identifiers),
|
|
42
78
|
};
|
|
43
79
|
return question;
|
|
44
80
|
};
|
|
@@ -70,4 +106,6 @@ export const geometricFirstTermsGeneralSum = {
|
|
|
70
106
|
subject: "Mathématiques",
|
|
71
107
|
getInstruction,
|
|
72
108
|
getAnswer,
|
|
109
|
+
getQuestionFromIdentifiers,
|
|
110
|
+
hasHintAndCorrection: true,
|
|
73
111
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometricFirstTermsSum.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFirstTermsSum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"geometricFirstTermsSum.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFirstTermsSum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA2FF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAexD,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { addValidProp, tryToAddWrongProp, } from "../../../../exercises/exercise
|
|
|
2
2
|
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
3
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
4
4
|
import { shuffle } from "../../../../utils/alea/shuffle.js";
|
|
5
|
+
import { alignTex } from "../../../../utils/latex/alignTex.js";
|
|
5
6
|
const getInstruction = (identifiers) => {
|
|
6
7
|
const { raison, final } = identifiers;
|
|
7
8
|
return `Calculer la somme suivante :
|
|
@@ -10,6 +11,31 @@ $$
|
|
|
10
11
|
1 + ${raison} + ${raison}^2 + \\ldots + ${raison}^{${final}}
|
|
11
12
|
$$`;
|
|
12
13
|
};
|
|
14
|
+
const getHint = (identifiers) => {
|
|
15
|
+
return `On utilise la formule :
|
|
16
|
+
|
|
17
|
+
$$
|
|
18
|
+
1 + q + q^2 + \\ldots + q^n = \\frac{1-q^{n+1}}{1-q}
|
|
19
|
+
$$`;
|
|
20
|
+
};
|
|
21
|
+
const getCorrection = (identifiers) => {
|
|
22
|
+
const { raison, final } = identifiers;
|
|
23
|
+
return `On utilise la formule :
|
|
24
|
+
|
|
25
|
+
$$
|
|
26
|
+
1 + q + q^2 + \\ldots + q^n = \\frac{1-q^{n+1}}{1-q}
|
|
27
|
+
$$
|
|
28
|
+
|
|
29
|
+
Ici, $q = ${raison}$ et $n = ${final}$.
|
|
30
|
+
|
|
31
|
+
On a donc :
|
|
32
|
+
|
|
33
|
+
${alignTex([
|
|
34
|
+
["S", "=", `\\frac{1-${raison}^{${final}+1}}{1-${raison}}`],
|
|
35
|
+
["", "=", `\\frac{${1 - raison ** (final + 1)}}{${1 - raison}}`],
|
|
36
|
+
["", "=", getAnswer(identifiers)],
|
|
37
|
+
])}`;
|
|
38
|
+
};
|
|
13
39
|
const getAnswer = (identifiers) => {
|
|
14
40
|
const { raison, final } = identifiers;
|
|
15
41
|
const answer = (raison ** (final + 1) - 1) / (raison - 1) + "";
|
|
@@ -19,12 +45,17 @@ const getGeometricFirstTermsSumQuestion = () => {
|
|
|
19
45
|
const raison = randint(2, 8);
|
|
20
46
|
const final = randint(5, 10);
|
|
21
47
|
const identifiers = { raison, final };
|
|
48
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
49
|
+
};
|
|
50
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
22
51
|
const question = {
|
|
23
52
|
answer: getAnswer(identifiers),
|
|
24
53
|
instruction: getInstruction(identifiers),
|
|
25
54
|
keys: [],
|
|
26
55
|
answerFormat: "tex",
|
|
27
56
|
identifiers,
|
|
57
|
+
hint: getHint(identifiers),
|
|
58
|
+
correction: getCorrection(identifiers),
|
|
28
59
|
};
|
|
29
60
|
return question;
|
|
30
61
|
};
|
|
@@ -55,4 +86,5 @@ export const geometricFirstTermsSum = {
|
|
|
55
86
|
subject: "Mathématiques",
|
|
56
87
|
getAnswer,
|
|
57
88
|
getInstruction,
|
|
89
|
+
hasHintAndCorrection: true,
|
|
58
90
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigonometry.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"trigonometry.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAYnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AAqOF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAoB9C,CAAC"}
|
|
@@ -7,11 +7,74 @@ import { LengthNode } from "../../../tree/nodes/geometry/lengthNode.js";
|
|
|
7
7
|
import { FractionNode } from "../../../tree/nodes/operators/fractionNode.js";
|
|
8
8
|
import { random } from "../../../utils/alea/random.js";
|
|
9
9
|
import { shuffle } from "../../../utils/alea/shuffle.js";
|
|
10
|
+
const getHint = (identifiers) => {
|
|
11
|
+
return `On peut utiliser la formule :
|
|
12
|
+
|
|
13
|
+
$$
|
|
14
|
+
\\text{SOHCAHTOA}
|
|
15
|
+
$$
|
|
16
|
+
|
|
17
|
+
qui signifie :
|
|
18
|
+
|
|
19
|
+
$$
|
|
20
|
+
\\text{sinus} = \\frac{\\text{opposé}}{\\text{hypoténuse}}
|
|
21
|
+
$$
|
|
22
|
+
|
|
23
|
+
$$
|
|
24
|
+
\\text{cosinus} = \\frac{\\text{adjacent}}{\\text{hypoténuse}}
|
|
25
|
+
$$
|
|
26
|
+
|
|
27
|
+
$$
|
|
28
|
+
\\text{tangente} = \\frac{\\text{opposé}}{\\text{adjacent}}
|
|
29
|
+
$$`;
|
|
30
|
+
};
|
|
31
|
+
const getCorrection = (identifiers) => {
|
|
32
|
+
const { randAngle, triangleIdentifiers, randTrigo } = identifiers;
|
|
33
|
+
const triangle = RightTriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
34
|
+
const formules = [
|
|
35
|
+
"\\text{cosinus} = \\frac{\\text{adjacent}}{\\text{hypoténuse}}",
|
|
36
|
+
"\\text{sinus} = \\frac{\\text{opposé}}{\\text{hypoténuse}}",
|
|
37
|
+
"\\text{tangente} = \\frac{\\text{opposé}}{\\text{adjacent}}",
|
|
38
|
+
];
|
|
39
|
+
const oppose = triangle.sides[randAngle];
|
|
40
|
+
const adjacent = triangle.sides[3 - randAngle];
|
|
41
|
+
const hypo = triangle.sides[0];
|
|
42
|
+
const angle = triangle.angles[randAngle];
|
|
43
|
+
const fct = ["\\cos", "\\sin", "\\tan"][randTrigo];
|
|
44
|
+
const fraction = [
|
|
45
|
+
[adjacent, hypo],
|
|
46
|
+
[oppose, hypo],
|
|
47
|
+
[oppose, adjacent],
|
|
48
|
+
][randTrigo];
|
|
49
|
+
return `On utilise la formule :
|
|
50
|
+
|
|
51
|
+
$$
|
|
52
|
+
${formules[randTrigo]}
|
|
53
|
+
$$
|
|
54
|
+
|
|
55
|
+
${randTrigo !== 2
|
|
56
|
+
? `L'hypoténuse du triangle est le côté $${hypo.toTex()}$.`
|
|
57
|
+
: ""}
|
|
58
|
+
|
|
59
|
+
${randTrigo !== 0
|
|
60
|
+
? `Le côté opposé à l'angle $${angle.toTex()}$ est le côté $${oppose.toTex()}$.`
|
|
61
|
+
: ""}
|
|
62
|
+
|
|
63
|
+
${randTrigo !== 1
|
|
64
|
+
? `Le côté adjacent à l'angle $${angle.toTex()}$ est le côté $${adjacent.toTex()}$.`
|
|
65
|
+
: ""}
|
|
66
|
+
|
|
67
|
+
Cela donne donc :
|
|
68
|
+
|
|
69
|
+
$$
|
|
70
|
+
${fct}\\left(${angle.toTex()}\\right) = \\frac{${fraction[0].toInsideName()}}{${fraction[1].toInsideName()}}
|
|
71
|
+
$$
|
|
72
|
+
`;
|
|
73
|
+
};
|
|
10
74
|
const getInstruction = (identifiers) => {
|
|
11
75
|
const { randAngle, triangleIdentifiers, randTrigo } = identifiers;
|
|
12
76
|
const triangle = RightTriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
13
77
|
const trigo = ["le cosinus", "le sinus", "la tangente"];
|
|
14
|
-
const angleSummit = triangle.points[randAngle].name;
|
|
15
78
|
return `À quel quotient est égal ${trigo[randTrigo]} de l'angle $${triangle.angles[randAngle].toTex()}$ ?`;
|
|
16
79
|
};
|
|
17
80
|
const getAnswer = (identifiers) => {
|
|
@@ -78,6 +141,8 @@ const getQuestionFromIdentifiers = (identifiers) => {
|
|
|
78
141
|
ggbOptions: getGGBOptions(identifiers),
|
|
79
142
|
answerFormat: "tex",
|
|
80
143
|
identifiers,
|
|
144
|
+
hint: getHint(identifiers),
|
|
145
|
+
correction: getCorrection(identifiers),
|
|
81
146
|
};
|
|
82
147
|
};
|
|
83
148
|
const getPropositions = (n, { answer, triangleIdentifiers }) => {
|
|
@@ -143,4 +208,5 @@ export const trigonometry = {
|
|
|
143
208
|
getInstruction,
|
|
144
209
|
getGGBOptions,
|
|
145
210
|
getQuestionFromIdentifiers,
|
|
211
|
+
hasHintAndCorrection: true,
|
|
146
212
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigonometryAngleCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometryAngleCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"trigonometryAngleCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometryAngleCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAUnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AAqLF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,CAoBzD,CAAC"}
|
|
@@ -4,7 +4,10 @@ import { GeogebraConstructor } from "../../../geogebra/geogebraConstructor.js";
|
|
|
4
4
|
import { RightTriangleConstructor } from "../../../math/geometry/triangles/rightTriangle.js";
|
|
5
5
|
import { randint } from "../../../math/utils/random/randint.js";
|
|
6
6
|
import { round } from "../../../math/utils/round.js";
|
|
7
|
+
import { frac } from "../../../tree/nodes/operators/fractionNode.js";
|
|
7
8
|
import { shuffle } from "../../../utils/alea/shuffle.js";
|
|
9
|
+
import { alignTex } from "../../../utils/latex/alignTex.js";
|
|
10
|
+
import { approxOrEqual } from "../../../utils/latex/approxOrEqual.js";
|
|
8
11
|
const getInstruction = (identifiers) => {
|
|
9
12
|
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
10
13
|
const triangle = RightTriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
@@ -19,6 +22,89 @@ const getAnswer = (identifiers) => {
|
|
|
19
22
|
const answer = round(triangle.angles[randAngle].evaluate(), 0);
|
|
20
23
|
return answer + "^{\\circ}";
|
|
21
24
|
};
|
|
25
|
+
const getHint = (identifiers) => {
|
|
26
|
+
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
27
|
+
return `On peut utiliser la formule :
|
|
28
|
+
|
|
29
|
+
$$
|
|
30
|
+
\\text{SOHCAHTOA}
|
|
31
|
+
$$
|
|
32
|
+
|
|
33
|
+
qui signifie :
|
|
34
|
+
|
|
35
|
+
$$
|
|
36
|
+
\\text{sinus} = \\frac{\\text{opposé}}{\\text{hypoténuse}}
|
|
37
|
+
$$
|
|
38
|
+
|
|
39
|
+
$$
|
|
40
|
+
\\text{cosinus} = \\frac{\\text{adjacent}}{\\text{hypoténuse}}
|
|
41
|
+
$$
|
|
42
|
+
|
|
43
|
+
$$
|
|
44
|
+
\\text{tangente} = \\frac{\\text{opposé}}{\\text{adjacent}}
|
|
45
|
+
$$`;
|
|
46
|
+
};
|
|
47
|
+
const getCorrection = (identifiers) => {
|
|
48
|
+
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
49
|
+
const triangle = RightTriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
50
|
+
const formules = [
|
|
51
|
+
"\\text{cosinus} = \\frac{\\text{adjacent}}{\\text{hypoténuse}}",
|
|
52
|
+
"\\text{sinus} = \\frac{\\text{opposé}}{\\text{hypoténuse}}",
|
|
53
|
+
"\\text{tangente} = \\frac{\\text{opposé}}{\\text{adjacent}}",
|
|
54
|
+
];
|
|
55
|
+
const randTrigo = hiddenSide === 0 ? 2 : hiddenSide === randAngle ? 0 : 1;
|
|
56
|
+
const oppose = triangle.sides[randAngle];
|
|
57
|
+
const adjacent = triangle.sides[3 - randAngle];
|
|
58
|
+
const hypo = triangle.sides[0];
|
|
59
|
+
const angle = triangle.angles[randAngle];
|
|
60
|
+
const fct = ["\\cos", "\\sin", "\\tan"][randTrigo];
|
|
61
|
+
const fraction = [
|
|
62
|
+
[adjacent, hypo],
|
|
63
|
+
[oppose, hypo],
|
|
64
|
+
[oppose, adjacent],
|
|
65
|
+
][randTrigo];
|
|
66
|
+
const fractionEvs = fraction.map((e) => e.getLengthNode());
|
|
67
|
+
const fractionEv = frac(fractionEvs[0], fractionEvs[1]);
|
|
68
|
+
const fractionEvApprox = fractionEv.evaluate();
|
|
69
|
+
return `On utilise la formule :
|
|
70
|
+
|
|
71
|
+
$$
|
|
72
|
+
${formules[randTrigo]}
|
|
73
|
+
$$
|
|
74
|
+
|
|
75
|
+
${randTrigo !== 2
|
|
76
|
+
? `L'hypoténuse du triangle est le côté $${hypo.toTex()}$.`
|
|
77
|
+
: ""}
|
|
78
|
+
|
|
79
|
+
${randTrigo !== 0
|
|
80
|
+
? `Le côté opposé à l'angle $${angle.toTex()}$ est le côté $${oppose.toTex()}$.`
|
|
81
|
+
: ""}
|
|
82
|
+
|
|
83
|
+
${randTrigo !== 1
|
|
84
|
+
? `Le côté adjacent à l'angle $${angle.toTex()}$ est le côté $${adjacent.toTex()}$.`
|
|
85
|
+
: ""}
|
|
86
|
+
|
|
87
|
+
Cela donne donc :
|
|
88
|
+
|
|
89
|
+
${alignTex([
|
|
90
|
+
[
|
|
91
|
+
`${fct}\\left(${angle.toTex()}\\right)`,
|
|
92
|
+
"=",
|
|
93
|
+
`\\frac{${fraction[0].toInsideName()}}{${fraction[1].toInsideName()}}`,
|
|
94
|
+
],
|
|
95
|
+
["", "=", fractionEv.toTex()],
|
|
96
|
+
["", ...approxOrEqual(fractionEvApprox, 2)],
|
|
97
|
+
])}
|
|
98
|
+
|
|
99
|
+
On utilise alors la fonction $${fct}^{-1}$ avec la calculatrice :
|
|
100
|
+
|
|
101
|
+
$$
|
|
102
|
+
${fct}^{-1}\\left(${round(fractionEvApprox, 2).frenchify()}\\right) \\approx ${getAnswer(identifiers)}
|
|
103
|
+
$$
|
|
104
|
+
|
|
105
|
+
On en déduit que $${angle.toTex()} \\approx ${getAnswer(identifiers)}$.
|
|
106
|
+
`;
|
|
107
|
+
};
|
|
22
108
|
const getGGBOptions = (identifiers) => {
|
|
23
109
|
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
24
110
|
const triangle = RightTriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
@@ -55,6 +141,8 @@ const getQuestionFromIdentifiers = (identifiers) => {
|
|
|
55
141
|
ggbOptions: getGGBOptions(identifiers),
|
|
56
142
|
answerFormat: "tex",
|
|
57
143
|
identifiers,
|
|
144
|
+
hint: getHint(identifiers),
|
|
145
|
+
correction: getCorrection(identifiers),
|
|
58
146
|
};
|
|
59
147
|
};
|
|
60
148
|
const getPropositions = (n, { answer }) => {
|
|
@@ -86,4 +174,5 @@ export const trigonometryAngleCalcul = {
|
|
|
86
174
|
getInstruction,
|
|
87
175
|
getGGBOptions,
|
|
88
176
|
getQuestionFromIdentifiers,
|
|
177
|
+
hasHintAndCorrection: true,
|
|
89
178
|
};
|
|
@@ -51,12 +51,12 @@ export * from "../math/geometry/thales/thales.js";
|
|
|
51
51
|
export * from "../math/geometry/thales/thalesCalcul.js";
|
|
52
52
|
export * from "../math/equaDiff/equaDiffCheckSolutionFirstOrder.js";
|
|
53
53
|
export * from "../math/equaDiff/equaDiffGeneralForme.js";
|
|
54
|
-
export * from "../math/equaDiff/
|
|
54
|
+
export * from "../math/equaDiff/exponentialDifferentialEquationWithIC.js";
|
|
55
55
|
export * from "../math/derivation/tangent/derivativeNumberReading.js";
|
|
56
|
-
export * from "../math/derivation/derivative/usualderivative.js";
|
|
57
|
-
export { thirdDegreeDerivative } from "../math/derivation/derivative/thirdDegreeDerivative.js";
|
|
58
|
-
export { firstDegreeDerivative } from "../math/derivation/derivative/firstDegreeDerivative.js";
|
|
59
|
-
export { secondDegreeDerivative } from "../math/derivation/derivative/secondDegreeDerivative.js";
|
|
56
|
+
export * from "../math/derivation/derivative/polynomial/usualderivative.js";
|
|
57
|
+
export { thirdDegreeDerivative } from "../math/derivation/derivative/polynomial/thirdDegreeDerivative.js";
|
|
58
|
+
export { firstDegreeDerivative } from "../math/derivation/derivative/polynomial/firstDegreeDerivative.js";
|
|
59
|
+
export { secondDegreeDerivative } from "../math/derivation/derivative/polynomial/secondDegreeDerivative.js";
|
|
60
60
|
export * from "../math/trigonometry/trigonometrySideCalcul.js";
|
|
61
61
|
export * from "../math/trigonometry/trigonometryAngleCalcul.js";
|
|
62
62
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,q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E,MAAM,iDAAiD,CAAC;AACrF,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,kEAAkE,CAAC;AACjF,cAAc,+DAA+D,CAAC;AAC9E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,6DAA6D,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mEAAmE,CAAC;AAC1G,OAAO,EAAE,qBAAqB,EAAE,MAAM,mEAAmE,CAAC;AAC1G,OAAO,EAAE,sBAAsB,EAAE,MAAM,oEAAoE,CAAC;AAC5G,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC"}
|
|
@@ -51,11 +51,11 @@ export * from "../math/geometry/thales/thales.js";
|
|
|
51
51
|
export * from "../math/geometry/thales/thalesCalcul.js";
|
|
52
52
|
export * from "../math/equaDiff/equaDiffCheckSolutionFirstOrder.js";
|
|
53
53
|
export * from "../math/equaDiff/equaDiffGeneralForme.js";
|
|
54
|
-
export * from "../math/equaDiff/
|
|
54
|
+
export * from "../math/equaDiff/exponentialDifferentialEquationWithIC.js";
|
|
55
55
|
export * from "../math/derivation/tangent/derivativeNumberReading.js";
|
|
56
|
-
export * from "../math/derivation/derivative/usualderivative.js";
|
|
57
|
-
export { thirdDegreeDerivative } from "../math/derivation/derivative/thirdDegreeDerivative.js";
|
|
58
|
-
export { firstDegreeDerivative } from "../math/derivation/derivative/firstDegreeDerivative.js";
|
|
59
|
-
export { secondDegreeDerivative } from "../math/derivation/derivative/secondDegreeDerivative.js";
|
|
56
|
+
export * from "../math/derivation/derivative/polynomial/usualderivative.js";
|
|
57
|
+
export { thirdDegreeDerivative } from "../math/derivation/derivative/polynomial/thirdDegreeDerivative.js";
|
|
58
|
+
export { firstDegreeDerivative } from "../math/derivation/derivative/polynomial/firstDegreeDerivative.js";
|
|
59
|
+
export { secondDegreeDerivative } from "../math/derivation/derivative/polynomial/secondDegreeDerivative.js";
|
|
60
60
|
export * from "../math/trigonometry/trigonometrySideCalcul.js";
|
|
61
61
|
export * from "../math/trigonometry/trigonometryAngleCalcul.js";
|
package/lib/index.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ declare const mathExercises: (Exercise<{
|
|
|
121
121
|
b: number;
|
|
122
122
|
c: number;
|
|
123
123
|
d: number | undefined;
|
|
124
|
+
statementIds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
124
125
|
}, {}> | Exercise<{
|
|
125
126
|
type: number;
|
|
126
127
|
flip: number;
|
|
@@ -517,7 +518,13 @@ declare const mathExercises: (Exercise<{
|
|
|
517
518
|
mins: number;
|
|
518
519
|
seconds: number;
|
|
519
520
|
}, {}> | Exercise<{
|
|
520
|
-
|
|
521
|
+
a: number;
|
|
522
|
+
}, {}> | Exercise<{
|
|
523
|
+
poly1Coeffs: number[];
|
|
524
|
+
poly2Coeffs: number[];
|
|
525
|
+
}, {}> | Exercise<{
|
|
526
|
+
poly1Coeffs: number[];
|
|
527
|
+
poly2Coeffs: number[];
|
|
521
528
|
}, {}> | Exercise<{
|
|
522
529
|
a: number;
|
|
523
530
|
b: number;
|
|
@@ -531,10 +538,7 @@ declare const mathExercises: (Exercise<{
|
|
|
531
538
|
affine1Coeffs: number[];
|
|
532
539
|
affine2Coeffs: number[];
|
|
533
540
|
}, {}> | Exercise<{
|
|
534
|
-
|
|
535
|
-
b: number;
|
|
536
|
-
}, {}> | Exercise<{
|
|
537
|
-
a: number;
|
|
541
|
+
coeffs: number[];
|
|
538
542
|
}, {}> | Exercise<{
|
|
539
543
|
a: number;
|
|
540
544
|
b: number;
|
|
@@ -544,27 +548,15 @@ declare const mathExercises: (Exercise<{
|
|
|
544
548
|
}, {}> | Exercise<{
|
|
545
549
|
a: number;
|
|
546
550
|
b: number;
|
|
547
|
-
}, {}> | Exercise<{
|
|
548
|
-
a: number;
|
|
549
|
-
power: number;
|
|
550
|
-
}, {}> | Exercise<{
|
|
551
|
-
poly1Coeffs: number[];
|
|
552
|
-
poly2Coeffs: number[];
|
|
553
|
-
}, {}> | Exercise<{
|
|
554
|
-
poly1Coeffs: number[];
|
|
555
|
-
poly2Coeffs: number[];
|
|
556
|
-
}, {}> | Exercise<{
|
|
557
|
-
a: number;
|
|
558
551
|
}, {}> | Exercise<{
|
|
559
552
|
coefficients: number[];
|
|
560
553
|
}, {}> | Exercise<{
|
|
561
554
|
coefficients: number[];
|
|
555
|
+
}, {}> | Exercise<{
|
|
556
|
+
tex: string;
|
|
562
557
|
}, {}> | Exercise<{
|
|
563
558
|
a: number;
|
|
564
|
-
|
|
565
|
-
coin: number;
|
|
566
|
-
racine1: number;
|
|
567
|
-
racine2: number;
|
|
559
|
+
b: number;
|
|
568
560
|
}, {}> | Exercise<{
|
|
569
561
|
type: number;
|
|
570
562
|
a?: number;
|
|
@@ -572,40 +564,36 @@ declare const mathExercises: (Exercise<{
|
|
|
572
564
|
coefficients?: number[];
|
|
573
565
|
tex?: string;
|
|
574
566
|
}, {}> | Exercise<{
|
|
575
|
-
|
|
576
|
-
|
|
567
|
+
a: number;
|
|
568
|
+
b: number;
|
|
569
|
+
c: number;
|
|
577
570
|
}, {}> | Exercise<{
|
|
578
|
-
|
|
579
|
-
|
|
571
|
+
a: number;
|
|
572
|
+
b: number;
|
|
573
|
+
c: number;
|
|
574
|
+
d: number;
|
|
580
575
|
}, {}> | Exercise<{
|
|
581
576
|
affineA: number;
|
|
582
577
|
affineB: number;
|
|
583
578
|
}, {}> | Exercise<{
|
|
584
579
|
affineA: number;
|
|
585
580
|
affineB: number;
|
|
586
|
-
power: number;
|
|
587
581
|
}, {}> | Exercise<{
|
|
588
582
|
affinecoeffs: number[];
|
|
589
583
|
}, {}> | Exercise<{
|
|
590
584
|
affinecoeffs: number[];
|
|
591
585
|
}, {}> | Exercise<{
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
quadcoeffs: number[];
|
|
596
|
-
}, {}> | Exercise<{
|
|
597
|
-
quadcoeffs: number[];
|
|
586
|
+
affineA: number;
|
|
587
|
+
affineB: number;
|
|
588
|
+
power: number;
|
|
598
589
|
}, {}> | Exercise<{
|
|
599
590
|
a: number;
|
|
600
|
-
|
|
601
|
-
c: number;
|
|
591
|
+
power: number;
|
|
602
592
|
}, {}> | Exercise<{
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
c: number;
|
|
606
|
-
d: number;
|
|
593
|
+
affineA: number;
|
|
594
|
+
affineB: number;
|
|
607
595
|
}, {}> | Exercise<{
|
|
608
|
-
|
|
596
|
+
a: number;
|
|
609
597
|
}, {}> | Exercise<{
|
|
610
598
|
coeffs: number[];
|
|
611
599
|
x: number;
|
|
@@ -621,6 +609,19 @@ declare const mathExercises: (Exercise<{
|
|
|
621
609
|
yA: number;
|
|
622
610
|
yPrimeA: any;
|
|
623
611
|
trinomCoeffs: number[];
|
|
612
|
+
}, {}> | Exercise<{
|
|
613
|
+
a: number;
|
|
614
|
+
c: number;
|
|
615
|
+
coin: number;
|
|
616
|
+
racine1: number;
|
|
617
|
+
racine2: number;
|
|
618
|
+
}, {}> | Exercise<{
|
|
619
|
+
coeffs: number[];
|
|
620
|
+
}, {}> | Exercise<{
|
|
621
|
+
askConvex: boolean;
|
|
622
|
+
quadcoeffs: number[];
|
|
623
|
+
}, {}> | Exercise<{
|
|
624
|
+
quadcoeffs: number[];
|
|
624
625
|
}, {}> | Exercise<{
|
|
625
626
|
a: number;
|
|
626
627
|
}, {}> | Exercise<{
|
|
@@ -1416,10 +1417,10 @@ declare const mathExercises: (Exercise<{
|
|
|
1416
1417
|
angleAsked: number;
|
|
1417
1418
|
}, {}> | Exercise<{
|
|
1418
1419
|
coeffs: number[];
|
|
1419
|
-
to:
|
|
1420
|
+
to: "+\\infty" | "-\\infty";
|
|
1420
1421
|
}, {}> | Exercise<{
|
|
1421
1422
|
coeffs: number[];
|
|
1422
|
-
to:
|
|
1423
|
+
to: "+\\infty" | "-\\infty";
|
|
1423
1424
|
}, {}> | Exercise<{
|
|
1424
1425
|
numCoeffs: number[];
|
|
1425
1426
|
denumCoeffs: number[];
|
|
@@ -1531,7 +1532,9 @@ declare const mathExercises: (Exercise<{
|
|
|
1531
1532
|
a: number;
|
|
1532
1533
|
b: number;
|
|
1533
1534
|
c: number;
|
|
1534
|
-
}, {
|
|
1535
|
+
}, {
|
|
1536
|
+
useOnlyPowersOfTen: boolean;
|
|
1537
|
+
}> | Exercise<{
|
|
1535
1538
|
randPower: number;
|
|
1536
1539
|
}, {}> | Exercise<{
|
|
1537
1540
|
a: number;
|
|
@@ -1555,6 +1558,12 @@ declare const mathExercises: (Exercise<{
|
|
|
1555
1558
|
k: number;
|
|
1556
1559
|
l: number;
|
|
1557
1560
|
m: number;
|
|
1561
|
+
n: number | undefined;
|
|
1562
|
+
}, {}> | Exercise<{
|
|
1563
|
+
a: number;
|
|
1564
|
+
b: number;
|
|
1565
|
+
c: number;
|
|
1566
|
+
d: number;
|
|
1558
1567
|
}, {}> | Exercise<{
|
|
1559
1568
|
c: number;
|
|
1560
1569
|
}, {}> | Exercise<{
|
|
@@ -2084,13 +2093,13 @@ declare const pcExercises: (Exercise<{
|
|
|
2084
2093
|
b: number;
|
|
2085
2094
|
c: number;
|
|
2086
2095
|
d: number;
|
|
2087
|
-
}, {}> | Exercise<{
|
|
2088
|
-
a: number;
|
|
2089
|
-
b: number;
|
|
2090
2096
|
}, {}> | Exercise<{
|
|
2091
2097
|
coefficients: number[];
|
|
2092
2098
|
}, {}> | Exercise<{
|
|
2093
2099
|
coefficients: number[];
|
|
2100
|
+
}, {}> | Exercise<{
|
|
2101
|
+
a: number;
|
|
2102
|
+
b: number;
|
|
2094
2103
|
}, {}> | Exercise<{
|
|
2095
2104
|
type: number;
|
|
2096
2105
|
a?: number;
|
|
@@ -2169,7 +2178,9 @@ declare const pcExercises: (Exercise<{
|
|
|
2169
2178
|
a: number;
|
|
2170
2179
|
b: number;
|
|
2171
2180
|
c: number;
|
|
2172
|
-
}, {
|
|
2181
|
+
}, {
|
|
2182
|
+
useOnlyPowersOfTen: boolean;
|
|
2183
|
+
}> | Exercise<{
|
|
2173
2184
|
randAngle: number;
|
|
2174
2185
|
hiddenSide: number;
|
|
2175
2186
|
triangleIdentifiers: import("./math/geometry/triangles/triangle.js").TriangleIdentifiers;
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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