math-exercises 3.0.68 → 3.0.70
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 +9 -1
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/calcul/addAndSub.d.ts.map +1 -1
- package/lib/exercises/math/calcul/addAndSub.js +4 -0
- package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts +3 -0
- package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/addAndSubWithoutRelatives.js +33 -20
- package/lib/exercises/math/calcul/digitDecimalRank.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitDecimalRank.js +36 -13
- package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitDecimalRankNumber.js +27 -12
- package/lib/exercises/math/calcul/digitRank.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitRank.js +37 -13
- package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitRankNumber.js +21 -12
- package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +55 -37
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.js +4 -4
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.js +31 -18
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +59 -35
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.js +33 -17
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.js +36 -18
- package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.js +38 -30
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.js +35 -21
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.js +4 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.js +22 -9
- package/lib/exercises/math/calcul/operations/expressionNature.d.ts +2 -1
- package/lib/exercises/math/calcul/operations/expressionNature.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/expressionNature.js +36 -15
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.d.ts +2 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.js +26 -15
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.d.ts +2 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.js +26 -17
- package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts +1 -0
- package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.js +89 -60
- package/lib/exercises/math/calcul/ordering/decimalOrdering.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/decimalOrdering.js +30 -13
- package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.js +26 -13
- package/lib/exercises/math/calcul/ordering/framing.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/framing.js +70 -59
- package/lib/exercises/math/calcul/ordering/integerOrdering.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/integerOrdering.js +30 -11
- package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.js +4 -0
- package/lib/exercises/math/calcul/proportionality/isTableProportional.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/isTableProportional.js +42 -24
- package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.js +4 -0
- package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts +1 -0
- package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/scaleUsage.js +75 -39
- package/lib/exercises/math/calcul/writing/index.d.ts +1 -1
- package/lib/exercises/math/calcul/writing/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/writing/index.js +3 -1
- package/lib/exercises/math/calcul/writing/numberToFrenchWriting.d.ts +0 -5
- package/lib/exercises/math/calcul/writing/numberToFrenchWriting.d.ts.map +1 -1
- package/lib/exercises/math/calcul/writing/numberToFrenchWriting.js +87 -64
- package/lib/exercises/math/calculLitteral/distributivity/allIdentities.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/allIdentities.js +29 -5
- package/lib/exercises/math/calculLitteral/distributivity/idRmq1.d.ts +2 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq1.js +3 -3
- package/lib/exercises/math/calculLitteral/distributivity/idRmq2.d.ts +2 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq2.js +3 -3
- package/lib/exercises/math/calculLitteral/distributivity/idRmq3.d.ts +2 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq3.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq3.js +3 -3
- package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/facto1.js +3 -1
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +1 -1
- package/lib/exercises/math/combinatory/anagrams.d.ts.map +1 -1
- package/lib/exercises/math/combinatory/anagrams.js +18 -7
- package/lib/exercises/math/combinatory/ballsCounting.d.ts.map +1 -1
- package/lib/exercises/math/combinatory/ballsCounting.js +8 -6
- package/lib/exercises/math/combinatory/diceCounting.d.ts.map +1 -1
- package/lib/exercises/math/combinatory/diceCounting.js +62 -27
- package/lib/exercises/math/complex/addComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/addComplex.js +31 -18
- package/lib/exercises/math/complex/argumentFromAlgebraicComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/argumentFromAlgebraicComplex.js +24 -11
- package/lib/exercises/math/complex/conjugateComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/conjugateComplex.js +20 -7
- package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/conjugateDivideComplex.js +29 -16
- package/lib/exercises/math/complex/conjugateMultiplyComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/conjugateMultiplyComplex.js +26 -13
- package/lib/exercises/math/complex/divideComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/divideComplex.js +29 -16
- package/lib/exercises/math/complex/inverseComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/inverseComplex.js +18 -7
- package/lib/exercises/math/complex/linearCombinaisonComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/linearCombinaisonComplex.js +30 -13
- package/lib/exercises/math/complex/moduloFromAlgebraicComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/moduloFromAlgebraicComplex.js +20 -8
- package/lib/exercises/math/complex/mutiplyComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/mutiplyComplex.js +26 -13
- package/lib/exercises/math/complex/reAndIm.d.ts.map +1 -1
- package/lib/exercises/math/complex/reAndIm.js +22 -9
- package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/volumeCapacityConversion.js +1 -0
- package/lib/exercises/math/dataRepresentations/testGen.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/testGen.js +5 -1
- package/lib/exercises/math/dataRepresentations/testGenGGB.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/testGenGGB.js +5 -1
- package/lib/exercises/math/dataRepresentations/testGenStudentGGB.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/testGenStudentGGB.js +5 -1
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts.map +1 -1
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.js +4 -0
- package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts.map +1 -1
- package/lib/exercises/math/derivation/convexity/convexityTrinomials.js +4 -0
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts.map +1 -1
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.js +4 -2
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.js +4 -2
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +4 -0
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +4 -0
- package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.js +4 -2
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.js +4 -0
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts +2 -1
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.js +6 -4
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts +2 -1
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts +2 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.js +4 -0
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.js +4 -0
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts +2 -1
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.js +4 -10
- package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/usualderivative.js +32 -4
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.js +4 -2
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/productDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +4 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.js +4 -0
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +4 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.js +4 -0
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +4 -0
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts +4 -3
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.js +32 -16
- package/lib/exercises/math/functions/absolute/absolueValueAffineEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/absolueValueAffineEquation.js +4 -0
- package/lib/exercises/math/functions/absolute/absolueValueInequationsSup.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/absolueValueInequationsSup.js +4 -4
- package/lib/exercises/math/functions/absolute/absoluteValueEquations.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/absoluteValueEquations.js +22 -10
- package/lib/exercises/math/functions/absolute/absoluteValueInequations.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/absoluteValueInequations.js +22 -8
- package/lib/exercises/math/functions/affines/affineAdjustment.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustment.js +4 -4
- package/lib/exercises/math/functions/affines/affineAdjustmentComplete.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustmentComplete.js +4 -4
- package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.js +4 -4
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +4 -4
- package/lib/exercises/math/functions/affines/affineExpressionReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineExpressionReading.js +1 -0
- package/lib/exercises/math/functions/affines/affineMeanValue.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineMeanValue.js +33 -14
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.js +4 -4
- package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.js +4 -0
- package/lib/exercises/math/functions/affines/leadingCoefficient.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/leadingCoefficient.js +4 -5
- package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.js +4 -2
- package/lib/exercises/math/functions/basics/graphicEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicEquation.js +4 -2
- package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicInequation.js +4 -2
- package/lib/exercises/math/functions/basics/graphicInequationAffine.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicInequationAffine.js +4 -5
- package/lib/exercises/math/functions/basics/imageAntecedentFromSentence.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/imageAntecedentFromSentence.js +4 -3
- package/lib/exercises/math/functions/basics/inverseImageFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/inverseImageFunction.js +4 -6
- package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.js +0 -2
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.js +16 -15
- package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts +1 -0
- package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/twoFunctionsEquation.js +46 -32
- package/lib/exercises/math/functions/basics/twoFunctionsInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/twoFunctionsInequation.js +4 -2
- package/lib/exercises/math/functions/cube/cubicEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/cube/cubicEquation.js +4 -3
- package/lib/exercises/math/functions/exponential/expFactorization.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expFactorization.js +1 -0
- package/lib/exercises/math/functions/exponentials/exponentialsVariations.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponentials/exponentialsVariations.js +4 -1
- package/lib/exercises/math/functions/integral/integralAffines.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralAffines.js +4 -2
- package/lib/exercises/math/functions/integral/integralDerivatedUCosU.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralDerivatedUCosU.js +27 -12
- package/lib/exercises/math/functions/integral/integralDerivatedUSinU.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralDerivatedUSinU.js +26 -11
- package/lib/exercises/math/functions/integral/integralExpAxPlusB.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralExpAxPlusB.js +26 -11
- package/lib/exercises/math/functions/integral/integralExpU.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralExpU.js +38 -20
- package/lib/exercises/math/functions/integral/integralFractions.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralFractions.js +40 -21
- package/lib/exercises/math/functions/integral/integralKCosinus.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralKCosinus.js +29 -12
- package/lib/exercises/math/functions/integral/integralKSinus.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralKSinus.js +29 -12
- package/lib/exercises/math/functions/integral/integralTrinomials.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralTrinomials.js +4 -2
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts +0 -1
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +36 -15
- package/lib/exercises/math/functions/logarithm/log10Simplifying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/log10Simplifying.js +43 -22
- package/lib/exercises/math/functions/logarithm/logEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/logEquation.js +20 -11
- package/lib/exercises/math/functions/logarithm/logPowerEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/logPowerEquation.js +26 -14
- package/lib/exercises/math/functions/logarithm/logSimplifiying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/logSimplifiying.js +4 -3
- package/lib/exercises/math/functions/parity/parityFromAlgebra.d.ts.map +1 -1
- package/lib/exercises/math/functions/parity/parityFromAlgebra.js +29 -13
- package/lib/exercises/math/functions/parity/parityFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/parity/parityFromGraph.js +30 -12
- package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.d.ts.map +1 -1
- package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.js +27 -14
- package/lib/exercises/math/functions/sign/affineProductSign.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineProductSign.js +4 -4
- package/lib/exercises/math/functions/square/squareImageInterval.d.ts.map +1 -1
- package/lib/exercises/math/functions/square/squareImageInterval.js +39 -19
- package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.js +4 -3
- package/lib/exercises/math/functions/trinoms/devForm/variationsFromAlgebricForm.d.ts +1 -0
- package/lib/exercises/math/functions/trinoms/devForm/variationsFromAlgebricForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/devForm/variationsFromAlgebricForm.js +26 -9
- package/lib/exercises/math/functions/trinoms/equation/deltaTrinom.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/deltaTrinom.js +25 -10
- package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.js +73 -41
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.js +4 -2
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.js +4 -2
- package/lib/exercises/math/functions/trinoms/factoForm/factorizedFormFromRoots.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/factoForm/factorizedFormFromRoots.js +4 -4
- package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.js +4 -5
- package/lib/exercises/math/functions/trinoms/parabole/trinomSymetryAxisFromFacto.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/parabole/trinomSymetryAxisFromFacto.js +4 -4
- package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.js +4 -4
- package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.js +4 -2
- package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.js +4 -2
- package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.js +4 -2
- package/lib/exercises/math/functions/trinoms/roots/rootsProduct.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsProduct.js +4 -4
- package/lib/exercises/math/functions/trinoms/roots/rootsReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsReading.js +4 -3
- package/lib/exercises/math/functions/trinoms/roots/rootsSum.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsSum.js +4 -4
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.js +4 -0
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.js +4 -0
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaFromDevForm.js +32 -11
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.js +32 -16
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/canonicalFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/canonicalFromDevForm.js +24 -9
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumFromCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumFromCanonicalForm.js +24 -9
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumTypeFromAlgebricForm.d.ts +1 -0
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumTypeFromAlgebricForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumTypeFromAlgebricForm.js +29 -12
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromDevForm.js +4 -0
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromRoots.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromRoots.js +4 -0
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitReading.js +4 -2
- package/lib/exercises/math/functions/trinoms/trinomialMeanValue.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/trinomialMeanValue.js +33 -14
- package/lib/exercises/math/geometry/areas/circleRadiusFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/circleRadiusFromArea.js +1 -0
- package/lib/exercises/math/geometry/areas/squareSideFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/squareSideFromArea.js +1 -0
- package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.js +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.d.ts +2 -0
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.js +55 -27
- package/lib/exercises/math/geometry/euclidianConstructions/buildPointFromAxialSymetry.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildPointFromAxialSymetry.js +4 -0
- package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.js +4 -0
- package/lib/exercises/math/geometry/euclidianConstructions/pointImageFromTranslation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/pointImageFromTranslation.js +6 -2
- package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.js +7 -5
- package/lib/exercises/math/geometry/lines/isPointOnLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/isPointOnLine.js +4 -0
- package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.js +4 -0
- package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.js +4 -0
- package/lib/exercises/math/geometry/parametric/pointFromParametricLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/parametric/pointFromParametricLine.js +4 -0
- package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.js +4 -0
- package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.js +4 -0
- package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.js +4 -0
- package/lib/exercises/math/geometry/pythagore/isTriangleRight.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/isTriangleRight.js +4 -0
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.d.ts.map +1 -1
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.js +4 -0
- package/lib/exercises/math/geometry/quadrilaterals/quadrilateralRecognition.d.ts.map +1 -1
- package/lib/exercises/math/geometry/quadrilaterals/quadrilateralRecognition.js +4 -0
- package/lib/exercises/math/geometry/shapes/basicShapesNaming.d.ts +4 -1
- package/lib/exercises/math/geometry/shapes/basicShapesNaming.d.ts.map +1 -1
- package/lib/exercises/math/geometry/shapes/basicShapesNaming.js +97 -44
- package/lib/exercises/math/geometry/shapes/basicShapesRecognition.d.ts.map +1 -1
- package/lib/exercises/math/geometry/shapes/basicShapesRecognition.js +42 -23
- package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.js +8 -4
- package/lib/exercises/math/geometry/vectors/chasles.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/chasles.js +36 -12
- package/lib/exercises/math/geometry/vectors/coordinatesReading.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/coordinatesReading.js +28 -14
- package/lib/exercises/math/geometry/vectors/determinant.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/determinant.js +26 -12
- package/lib/exercises/math/geometry/vectors/drawAVectorInGGB.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/drawAVectorInGGB.js +25 -11
- package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.d.ts +1 -0
- package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.js +60 -33
- package/lib/exercises/math/geometry/vectors/fourthParallelogramPoint.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/fourthParallelogramPoint.js +34 -19
- package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.js +42 -20
- package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.js +42 -20
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.js +4 -0
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.js +4 -2
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.js +4 -0
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.js +4 -0
- package/lib/exercises/math/geometry/vectors/traceOppositeVector.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/traceOppositeVector.js +4 -0
- package/lib/exercises/math/geometry/vectors/traceVectorDifference.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/traceVectorDifference.js +4 -0
- package/lib/exercises/math/geometry/vectors/traceVectorMultiple.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/traceVectorMultiple.js +4 -0
- package/lib/exercises/math/geometry/vectors/traceVectorSum.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/traceVectorSum.js +4 -0
- package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts +2 -0
- package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.js +45 -25
- package/lib/exercises/math/geometry/vectors/vectorLinearCombination.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/vectorLinearCombination.js +33 -14
- package/lib/exercises/math/geometry/vectors/vectorNormCalculation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/vectorNormCalculation.js +9 -3
- package/lib/exercises/math/limits/limitReading.d.ts +5 -1
- package/lib/exercises/math/limits/limitReading.d.ts.map +1 -1
- package/lib/exercises/math/limits/limitReading.js +96 -38
- package/lib/exercises/math/limits/polynomLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/polynomLimit.js +0 -2
- package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.js +37 -20
- package/lib/exercises/math/limits/rationalFracLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/rationalFracLimit.js +34 -17
- package/lib/exercises/math/limits/sequenceGeometricLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/sequenceGeometricLimit.js +4 -0
- package/lib/exercises/math/limits/sequencePolynomLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/sequencePolynomLimit.js +23 -10
- package/lib/exercises/math/limits/sequencePolynomNoFILimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/sequencePolynomNoFILimit.js +24 -11
- package/lib/exercises/math/limits/sequencePolynomProductLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/sequencePolynomProductLimit.js +31 -18
- package/lib/exercises/math/limits/sequenceRationalFracLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/sequenceRationalFracLimit.js +33 -16
- package/lib/exercises/math/matrices/matrixGeneralTerm.d.ts.map +1 -1
- package/lib/exercises/math/matrices/matrixGeneralTerm.js +21 -8
- package/lib/exercises/math/matrices/matrixInversibilityDomain.d.ts.map +1 -1
- package/lib/exercises/math/matrices/matrixInversibilityDomain.js +44 -26
- package/lib/exercises/math/matrices/productCell.d.ts +2 -0
- package/lib/exercises/math/matrices/productCell.d.ts.map +1 -1
- package/lib/exercises/math/matrices/productCell.js +27 -12
- package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
- package/lib/exercises/math/powers/decimalToScientific.js +9 -0
- package/lib/exercises/math/primitive/constantPrimitive.d.ts +2 -1
- package/lib/exercises/math/primitive/constantPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/constantPrimitive.js +3 -3
- package/lib/exercises/math/primitive/exponentialPrimitive.d.ts +2 -1
- package/lib/exercises/math/primitive/exponentialPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/exponentialPrimitive.js +3 -3
- package/lib/exercises/math/primitive/polynomialPrimitive.d.ts +2 -1
- package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/polynomialPrimitive.js +3 -3
- package/lib/exercises/math/primitive/sinCosPrimitive.d.ts +2 -1
- package/lib/exercises/math/primitive/sinCosPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/sinCosPrimitive.js +3 -3
- package/lib/exercises/math/primitive/usualPrimitives.d.ts.map +1 -1
- package/lib/exercises/math/primitive/usualPrimitives.js +33 -6
- package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.js +1 -0
- package/lib/exercises/math/probaStat/stats1var/quartilesList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/quartilesList.js +4 -1
- package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats2var/averagePoint.js +1 -2
- package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +47 -23
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +4 -6
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.js +4 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.js +30 -12
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.js +4 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.js +23 -9
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.js +62 -41
- package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFirstTermsSum.js +4 -2
- package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.js +4 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +26 -10
- package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.js +33 -14
- package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.js +4 -2
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.js +35 -14
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.js +37 -24
- package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.js +4 -0
- package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.js +29 -15
- package/lib/exercises/math/sequences/explicitFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/explicitFormulaUsage.js +27 -10
- package/lib/exercises/math/sequences/genericSequenceVariations.d.ts.map +1 -1
- package/lib/exercises/math/sequences/genericSequenceVariations.js +23 -10
- package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +9 -3
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +45 -17
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.js +20 -9
- package/lib/exercises/math/sequences/geometric/geometricFindReason.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindReason.js +20 -9
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.js +60 -41
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.js +1 -0
- package/lib/exercises/math/sequences/geometric/geometricReasonUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricReasonUsage.js +26 -10
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.js +4 -0
- package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.js +27 -10
- package/lib/exercises/math/sequences/geometric/geometricVariations.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricVariations.js +4 -0
- package/lib/exercises/math/sequences/recurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/recurrenceFormulaUsage.js +23 -11
- package/lib/exercises/math/sequences/sequenceEvaluation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/sequenceEvaluation.js +45 -21
- package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalsUnion.js +1 -2
- package/lib/exercises/pc/calibrationCurveOfSolution.d.ts.map +1 -1
- package/lib/exercises/pc/calibrationCurveOfSolution.js +56 -48
- package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.js +3 -1
- package/lib/exercises/pc/chemicalElements/weightPercent.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/weightPercent.js +1 -0
- package/lib/exercises/pc/chemicalEquations.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalEquations.js +0 -2
- package/lib/exercises/pc/chemicalReactions/chemicalEquations.d.ts +8 -0
- package/lib/exercises/pc/chemicalReactions/chemicalEquations.d.ts.map +1 -0
- package/lib/exercises/pc/chemicalReactions/chemicalEquations.js +62 -0
- package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.d.ts +9 -0
- package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.d.ts.map +1 -0
- package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.js +70 -0
- package/lib/exercises/pc/chemicalReactions/index.d.ts +2 -0
- package/lib/exercises/pc/chemicalReactions/index.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalReactions/index.js +2 -0
- package/lib/exercises/pc/delution.d.ts.map +1 -1
- package/lib/exercises/pc/delution.js +25 -12
- package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/dosage/concentrationCalculation.js +5 -3
- package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/calculateVoltage.js +112 -90
- package/lib/exercises/pc/electricity/electricEnergyFromPower.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/electricEnergyFromPower.js +1 -0
- package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -1
- package/lib/exercises/pc/energy/calorificValue.js +58 -29
- package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/energy/combustionTransferEnergy.js +52 -29
- package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -1
- package/lib/exercises/pc/energy/combustionTransferEnergy2.js +96 -67
- package/lib/exercises/pc/energy/efficencyOfConverter.d.ts.map +1 -1
- package/lib/exercises/pc/energy/efficencyOfConverter.js +53 -40
- package/lib/exercises/pc/energy/efficiencyCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/energy/efficiencyCalculation.js +68 -38
- package/lib/exercises/pc/energy/energyTransfer.d.ts +0 -2
- package/lib/exercises/pc/energy/energyTransfer.d.ts.map +1 -1
- package/lib/exercises/pc/energy/energyTransfer.js +27 -11
- package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts.map +1 -1
- package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +111 -64
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +86 -38
- package/lib/exercises/pc/fluids/mariotte.d.ts.map +1 -1
- package/lib/exercises/pc/fluids/mariotte.js +40 -23
- package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts.map +1 -1
- package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +80 -52
- package/lib/exercises/pc/forces/electroStaticForce.d.ts.map +1 -1
- package/lib/exercises/pc/forces/electroStaticForce.js +73 -58
- package/lib/exercises/pc/forces/forceWork.d.ts.map +1 -1
- package/lib/exercises/pc/forces/forceWork.js +22 -7
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +87 -38
- package/lib/exercises/pc/forces/gravitationalAttractionValue.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalAttractionValue.js +31 -16
- package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalForcePlanets.js +71 -31
- package/lib/exercises/pc/forces/massWeight.d.ts.map +1 -1
- package/lib/exercises/pc/forces/massWeight.js +53 -20
- package/lib/exercises/pc/forces/pressingForce.d.ts.map +1 -1
- package/lib/exercises/pc/forces/pressingForce.js +71 -31
- package/lib/exercises/pc/formulaFromComposition.d.ts.map +1 -1
- package/lib/exercises/pc/formulaFromComposition.js +28 -8
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts.map +1 -1
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.js +31 -12
- package/lib/exercises/pc/index.d.ts +4 -6
- package/lib/exercises/pc/index.d.ts.map +1 -1
- package/lib/exercises/pc/index.js +4 -6
- package/lib/exercises/pc/kineticEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/kineticEnergy.js +22 -10
- package/lib/exercises/pc/math/isolateVariables.d.ts.map +1 -1
- package/lib/exercises/pc/math/isolateVariables.js +114 -32
- package/lib/exercises/pc/math/proportionnalityCoeffFromLine.d.ts.map +1 -1
- package/lib/exercises/pc/math/proportionnalityCoeffFromLine.js +34 -18
- package/lib/exercises/pc/mecanicalWaves/elongationReading.d.ts.map +1 -1
- package/lib/exercises/pc/mecanicalWaves/elongationReading.js +35 -13
- package/lib/exercises/pc/molarQuantity.d.ts.map +1 -1
- package/lib/exercises/pc/molarQuantity.js +29 -13
- package/lib/exercises/pc/mole/concentrationReading.d.ts +4 -1
- package/lib/exercises/pc/mole/concentrationReading.d.ts.map +1 -1
- package/lib/exercises/pc/mole/concentrationReading.js +28 -10
- package/lib/exercises/pc/mole/molFromMass.d.ts.map +1 -1
- package/lib/exercises/pc/mole/molFromMass.js +21 -8
- package/lib/exercises/pc/mole/molFromMolarMass.d.ts.map +1 -1
- package/lib/exercises/pc/mole/molFromMolarMass.js +21 -8
- package/lib/exercises/pc/mole/molarMass.d.ts +3 -1
- package/lib/exercises/pc/mole/molarMass.d.ts.map +1 -1
- package/lib/exercises/pc/mole/molarMass.js +22 -9
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts.map +1 -1
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.js +25 -11
- package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts.map +1 -1
- package/lib/exercises/pc/mole/moleculeCountFromMol.js +18 -7
- package/lib/exercises/pc/moleculeFormula.d.ts.map +1 -1
- package/lib/exercises/pc/moleculeFormula.js +30 -9
- package/lib/exercises/pc/moleculeNomenclature.d.ts.map +1 -1
- package/lib/exercises/pc/moleculeNomenclature.js +23 -8
- package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -1
- package/lib/exercises/pc/motion/averageSpeed.js +68 -55
- package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/motion/averageSpeedCalculation.js +97 -39
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts +4 -1
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts.map +1 -1
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.js +51 -49
- package/lib/exercises/pc/motion/motionReference.d.ts +1 -0
- package/lib/exercises/pc/motion/motionReference.d.ts.map +1 -1
- package/lib/exercises/pc/motion/motionReference.js +47 -26
- package/lib/exercises/pc/motion/typeOfAcceleration.d.ts +1 -1
- package/lib/exercises/pc/motion/typeOfAcceleration.d.ts.map +1 -1
- package/lib/exercises/pc/motion/typeOfAcceleration.js +61 -62
- package/lib/exercises/pc/motion/typeOfMovement.d.ts +2 -1
- package/lib/exercises/pc/motion/typeOfMovement.d.ts.map +1 -1
- package/lib/exercises/pc/motion/typeOfMovement.js +58 -57
- package/lib/exercises/pc/orderOfMagnitude.d.ts.map +1 -1
- package/lib/exercises/pc/orderOfMagnitude.js +24 -23
- package/lib/exercises/pc/pH.d.ts.map +1 -1
- package/lib/exercises/pc/pH.js +37 -16
- package/lib/exercises/pc/perceivedFrequency.d.ts.map +1 -1
- package/lib/exercises/pc/perceivedFrequency.js +26 -13
- package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/potentialEnergy.js +23 -11
- package/lib/exercises/pc/power/calculatePowerOfLight.d.ts +2 -2
- package/lib/exercises/pc/power/calculatePowerOfLight.d.ts.map +1 -1
- package/lib/exercises/pc/power/calculatePowerOfLight.js +65 -39
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts +3 -1
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts.map +1 -1
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.js +48 -47
- package/lib/exercises/pc/snellDescartes.d.ts.map +1 -1
- package/lib/exercises/pc/snellDescartes.js +31 -13
- package/lib/exercises/pc/sound/findPeriodFromGraph.d.ts.map +1 -1
- package/lib/exercises/pc/sound/findPeriodFromGraph.js +42 -26
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts +1 -0
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts.map +1 -1
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.js +51 -32
- package/lib/exercises/pc/sound/findSoundFrequencyFromPeriod.d.ts.map +1 -1
- package/lib/exercises/pc/sound/findSoundFrequencyFromPeriod.js +20 -7
- package/lib/exercises/pc/sound/findSoundPeriodFromFrequency.d.ts.map +1 -1
- package/lib/exercises/pc/sound/findSoundPeriodFromFrequency.js +20 -7
- package/lib/exercises/pc/sound/frequencyComparison.d.ts.map +1 -1
- package/lib/exercises/pc/sound/frequencyComparison.js +25 -14
- package/lib/exercises/pc/spectral/spectralEnergy.d.ts +1 -3
- package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/spectral/spectralEnergy.js +98 -56
- package/lib/exercises/pc/waves/findDistanceFromEarth.d.ts.map +1 -1
- package/lib/exercises/pc/waves/findDistanceFromEarth.js +22 -9
- package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -1
- package/lib/exercises/pc/waves/lightDistanceConversion.js +104 -76
- package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts +1 -0
- package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
- package/lib/exercises/pc/waves/periodicWaveCelerity.js +81 -25
- package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -1
- package/lib/exercises/pc/weight/calculateWeight.js +55 -26
- package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
- package/lib/exercises/pc/weight/weightOnTheMoon.js +67 -32
- package/lib/index.d.ts +63 -41
- package/lib/index.d.ts.map +1 -1
- package/lib/latexTester.js +7 -2
- package/lib/math/geometry/ray.d.ts +8 -1
- package/lib/math/geometry/ray.d.ts.map +1 -1
- package/lib/math/geometry/ray.js +11 -1
- package/lib/math/polynomials/trinom.d.ts +5 -0
- package/lib/math/polynomials/trinom.d.ts.map +1 -1
- package/lib/math/polynomials/trinom.js +6 -0
- package/lib/pc/constants/molecularChemistry/reaction.js +1 -1
- package/lib/pc/measure/measure.d.ts +11 -4
- package/lib/pc/measure/measure.d.ts.map +1 -1
- package/lib/pc/measure/measure.js +10 -6
- package/lib/playground.d.ts.map +1 -1
- package/lib/playground.js +8 -1
- package/lib/tests/exoTest.d.ts.map +1 -1
- package/lib/tests/exoTest.js +13 -0
- package/lib/tests/mega.test.d.ts +2 -0
- package/lib/tests/mega.test.d.ts.map +1 -0
- package/lib/tests/mega.test.js +13 -0
- package/lib/tests/megaxl.test.d.ts +2 -0
- package/lib/tests/megaxl.test.d.ts.map +1 -0
- package/lib/tests/megaxl.test.js +10 -0
- package/lib/tests/singleExo.test.d.ts.map +1 -1
- package/lib/tests/singleExo.test.js +2 -2
- package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/powerNode.js +2 -1
- package/package.json +3 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./chemicalReactionsProduct.js";
|
|
1
|
+
export * from "./calibrationCurveOfSolution.js";
|
|
3
2
|
export * from "./delution.js";
|
|
4
3
|
export * from "./formulaFromComposition.js";
|
|
5
4
|
export * from "./kineticEnergy.js";
|
|
@@ -10,6 +9,9 @@ export * from "./pH.js";
|
|
|
10
9
|
export * from "./perceivedFrequency.js";
|
|
11
10
|
export * from "./potentialEnergy.js";
|
|
12
11
|
export * from "./snellDescartes.js";
|
|
12
|
+
export * from "./identifyAtomicMassOrAtomicNb.js";
|
|
13
|
+
export * from "./recognizeRefractionOrReflectionAngles.js";
|
|
14
|
+
export * from "./orderOfMagnitude.js";
|
|
13
15
|
export * from "./sound/index.js";
|
|
14
16
|
export * from "./math/index.js";
|
|
15
17
|
export * from "./weight/index.js";
|
|
@@ -23,12 +25,8 @@ export * from "./fluids/index.js";
|
|
|
23
25
|
export * from "./electricity/index.js";
|
|
24
26
|
export * from "./energy/index.js";
|
|
25
27
|
export * from "./motion/index.js";
|
|
26
|
-
export * from "./calibrationCurveOfSolution.js";
|
|
27
28
|
export * from "./dosage/index.js";
|
|
28
29
|
export * from "./spectral/index.js";
|
|
29
|
-
export * from "./identifyAtomicMassOrAtomicNb.js";
|
|
30
|
-
export * from "./recognizeRefractionOrReflectionAngles.js";
|
|
31
|
-
export * from "./orderOfMagnitude.js";
|
|
32
30
|
export * from "./power/index.js";
|
|
33
31
|
/**exos pris des maths */
|
|
34
32
|
export * from "../math/percent/findProportion.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,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,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uBAAuB,CAAC;AAEtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AAEjC,yBAAyB;AACzB,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,cAAc,uCAAuC,CAAC;AACtD,cAAc,gDAAgD,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,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"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./chemicalReactionsProduct.js";
|
|
1
|
+
export * from "./calibrationCurveOfSolution.js";
|
|
3
2
|
export * from "./delution.js";
|
|
4
3
|
export * from "./formulaFromComposition.js";
|
|
5
4
|
export * from "./kineticEnergy.js";
|
|
@@ -10,6 +9,9 @@ export * from "./pH.js";
|
|
|
10
9
|
export * from "./perceivedFrequency.js";
|
|
11
10
|
export * from "./potentialEnergy.js";
|
|
12
11
|
export * from "./snellDescartes.js";
|
|
12
|
+
export * from "./identifyAtomicMassOrAtomicNb.js";
|
|
13
|
+
export * from "./recognizeRefractionOrReflectionAngles.js";
|
|
14
|
+
export * from "./orderOfMagnitude.js";
|
|
13
15
|
export * from "./sound/index.js";
|
|
14
16
|
export * from "./math/index.js";
|
|
15
17
|
export * from "./weight/index.js";
|
|
@@ -23,12 +25,8 @@ export * from "./fluids/index.js";
|
|
|
23
25
|
export * from "./electricity/index.js";
|
|
24
26
|
export * from "./energy/index.js";
|
|
25
27
|
export * from "./motion/index.js";
|
|
26
|
-
export * from "./calibrationCurveOfSolution.js";
|
|
27
28
|
export * from "./dosage/index.js";
|
|
28
29
|
export * from "./spectral/index.js";
|
|
29
|
-
export * from "./identifyAtomicMassOrAtomicNb.js";
|
|
30
|
-
export * from "./recognizeRefractionOrReflectionAngles.js";
|
|
31
|
-
export * from "./orderOfMagnitude.js";
|
|
32
30
|
export * from "./power/index.js";
|
|
33
31
|
/**exos pris des maths */
|
|
34
32
|
export * from "../math/percent/findProportion.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kineticEnergy.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/kineticEnergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"kineticEnergy.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/kineticEnergy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA6DF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAY/C,CAAC"}
|
|
@@ -3,23 +3,36 @@ import { getDistinctQuestions } from "../../exercises/utils/getDistinctQuestions
|
|
|
3
3
|
import { frenchify } from "../../math/utils/latex/frenchify.js";
|
|
4
4
|
import { round } from "../../math/utils/round.js";
|
|
5
5
|
import { shuffle } from "../../utils/alea/shuffle.js";
|
|
6
|
-
const
|
|
7
|
-
const mass
|
|
8
|
-
const
|
|
6
|
+
const getInstruction = (identifiers) => {
|
|
7
|
+
const { mass, velocity } = identifiers;
|
|
8
|
+
const instruction = `Une voiture ayant une masse de $${mass} \\ \\textrm{kg}$ qui se déplace le long d'une route. La voiture accélère et atteint une vitesse de $${velocity} \\ \\textrm{m}/\\textrm{s}$.
|
|
9
|
+
|
|
10
|
+
Calculer l'énergie cinétique (en $\\textrm{kJ}$) de la voiture lorsqu'elle atteint cette vitesse.`;
|
|
11
|
+
return instruction;
|
|
12
|
+
};
|
|
13
|
+
const getAnswer = (identifiers) => {
|
|
14
|
+
const { mass, velocity } = identifiers;
|
|
9
15
|
const kineticEnergy = 0.5 * mass * velocity ** 2;
|
|
10
|
-
const instruction = `Une voiture ayant une masse de $${mass}$ kg qui se déplace le long d'une route. La voiture accélère et atteint une vitesse de $${velocity}$ m/s.
|
|
11
|
-
$\\\\$ Calculer l'énergie cinétique (en kJ) de la voiture lorsqu'elle atteint cette vitesse.`;
|
|
12
16
|
const answer = `${frenchify(round(kineticEnergy / 1000, 2))} \\ kJ`;
|
|
17
|
+
return answer;
|
|
18
|
+
};
|
|
19
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
13
20
|
const question = {
|
|
14
|
-
instruction,
|
|
21
|
+
instruction: getInstruction(identifiers),
|
|
15
22
|
startStatement: "Ec",
|
|
16
|
-
answer,
|
|
23
|
+
answer: getAnswer(identifiers),
|
|
17
24
|
keys: ["kJ"],
|
|
18
25
|
answerFormat: "tex",
|
|
19
|
-
identifiers
|
|
26
|
+
identifiers,
|
|
20
27
|
};
|
|
21
28
|
return question;
|
|
22
29
|
};
|
|
30
|
+
const getKineticEnergyQuestion = () => {
|
|
31
|
+
const mass = Math.floor(Math.random() * 50 + 90) * 10; // Masse de la voiture entre 900 et 1500 kg
|
|
32
|
+
const velocity = Math.floor(Math.random() * 20 + 10); // Vitesse de la voiture en m/s
|
|
33
|
+
const identifiers = { mass, velocity };
|
|
34
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
35
|
+
};
|
|
23
36
|
const getPropositions = (n, { answer, mass, velocity }) => {
|
|
24
37
|
const propositions = [];
|
|
25
38
|
addValidProp(propositions, answer);
|
|
@@ -36,8 +49,6 @@ export const kineticEnergy = {
|
|
|
36
49
|
id: "kineticEnergy",
|
|
37
50
|
connector: "=",
|
|
38
51
|
label: "Calculer l'énergie cinétique",
|
|
39
|
-
levels: ["4ème", "3ème", "2nde", "1reSpé"],
|
|
40
|
-
sections: ["Mécanique"],
|
|
41
52
|
subject: "Physique",
|
|
42
53
|
isSingleStep: true,
|
|
43
54
|
generator: (nb) => getDistinctQuestions(getKineticEnergyQuestion, nb),
|
|
@@ -45,4 +56,5 @@ export const kineticEnergy = {
|
|
|
45
56
|
freeTimer: 60,
|
|
46
57
|
getPropositions,
|
|
47
58
|
isAnswerValid,
|
|
59
|
+
getQuestionFromIdentifiers,
|
|
48
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isolateVariables.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/math/isolateVariables.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"isolateVariables.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/math/isolateVariables.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA6XF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAclD,CAAC"}
|
|
@@ -9,61 +9,73 @@ import { random } from "../../../utils/alea/random.js";
|
|
|
9
9
|
// F = t_m / t_f
|
|
10
10
|
// F = V_f / V_m
|
|
11
11
|
// t_m/t_f = V_f/V_m
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
let
|
|
15
|
-
let answer = "";
|
|
16
|
-
const formulaType = randint(1, 8);
|
|
12
|
+
const getInstruction = (identifiers) => {
|
|
13
|
+
const { formulaType, varAsked } = identifiers;
|
|
14
|
+
let formulas = [];
|
|
17
15
|
let formulaAsked = "";
|
|
18
|
-
|
|
16
|
+
switch (formulaType) {
|
|
17
|
+
case 1:
|
|
18
|
+
formulas = ["m=tv", "t=\\frac{m}{v}", "v=\\frac{m}{t}"];
|
|
19
|
+
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
20
|
+
break;
|
|
21
|
+
case 2:
|
|
22
|
+
formulas = ["P=mg", "m=\\frac{P}{g}", "g=\\frac{P}{m}"];
|
|
23
|
+
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
24
|
+
break;
|
|
25
|
+
case 3:
|
|
26
|
+
formulas = ["U=RI", "R=\\frac{U}{I}", "I=\\frac{U}{R}"];
|
|
27
|
+
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
28
|
+
break;
|
|
29
|
+
case 4:
|
|
30
|
+
formulas = ["v=\\frac{d}{t}", "d=vt", "t=\\frac{d}{v}"];
|
|
31
|
+
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
32
|
+
break;
|
|
33
|
+
case 5:
|
|
34
|
+
formulas = ["F=\\frac{t_m}{t_f}", "t_m=Ft_f", "t_f=\\frac{t_m}{F}"];
|
|
35
|
+
formulaAsked = random(formulas.filter((el) => el.split("=")[0] !== varAsked));
|
|
36
|
+
break;
|
|
37
|
+
case 6:
|
|
38
|
+
formulas = ["F=\\frac{V_f}{V_m}", "V_m=\\frac{V_f}{F}", "V_f=FV_m"];
|
|
39
|
+
formulaAsked = random(formulas.filter((el) => el.split("=")[0] !== varAsked));
|
|
40
|
+
break;
|
|
41
|
+
case 7:
|
|
42
|
+
formulas = ["\\frac{t_m}{t_f}=\\frac{V_f}{V_m}", "t_mV_m=t_fV_f"];
|
|
43
|
+
formulaAsked = random(formulas);
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
return `Isoler la grandeur $${varAsked}$ dans l'expression suivante : $${formulaAsked}$`;
|
|
47
|
+
};
|
|
48
|
+
const getAnswer = (identifiers) => {
|
|
49
|
+
const { formulaType, varAsked } = identifiers;
|
|
50
|
+
let answer = "";
|
|
19
51
|
let formulas = [];
|
|
20
52
|
switch (formulaType) {
|
|
21
53
|
case 1:
|
|
22
|
-
vars = ["m", "t", "v"];
|
|
23
54
|
formulas = ["m=tv", "t=\\frac{m}{v}", "v=\\frac{m}{t}"];
|
|
24
|
-
varAsked = random(vars);
|
|
25
55
|
answer = formulas.find((el) => el[0] === varAsked);
|
|
26
|
-
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
27
56
|
break;
|
|
28
57
|
case 2:
|
|
29
|
-
vars = ["P", "m", "g"];
|
|
30
58
|
formulas = ["P=mg", "m=\\frac{P}{g}", "g=\\frac{P}{m}"];
|
|
31
|
-
varAsked = random(vars);
|
|
32
59
|
answer = formulas.find((el) => el[0] === varAsked);
|
|
33
|
-
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
34
60
|
break;
|
|
35
61
|
case 3:
|
|
36
|
-
vars = ["U", "R", "I"];
|
|
37
62
|
formulas = ["U=RI", "R=\\frac{U}{I}", "I=\\frac{U}{R}"];
|
|
38
|
-
varAsked = random(vars);
|
|
39
63
|
answer = formulas.find((el) => el[0] === varAsked);
|
|
40
|
-
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
41
64
|
break;
|
|
42
65
|
case 4:
|
|
43
|
-
vars = ["v", "d", "t"];
|
|
44
66
|
formulas = ["v=\\frac{d}{t}", "d=vt", "t=\\frac{d}{v}"];
|
|
45
|
-
varAsked = random(vars);
|
|
46
67
|
answer = formulas.find((el) => el[0] === varAsked);
|
|
47
|
-
formulaAsked = random(formulas.filter((el) => el[0] !== varAsked));
|
|
48
68
|
break;
|
|
49
69
|
case 5:
|
|
50
|
-
vars = ["F", "t_m", "t_f"];
|
|
51
70
|
formulas = ["F=\\frac{t_m}{t_f}", "t_m=Ft_f", "t_f=\\frac{t_m}{F}"];
|
|
52
|
-
varAsked = random(vars);
|
|
53
71
|
answer = formulas.find((el) => el.split("=")[0] === varAsked);
|
|
54
|
-
formulaAsked = random(formulas.filter((el) => el.split("=")[0] !== varAsked));
|
|
55
72
|
break;
|
|
56
73
|
case 6:
|
|
57
|
-
vars = ["F", "V_m", "V_f"];
|
|
58
74
|
formulas = ["F=\\frac{V_f}{V_m}", "V_m=\\frac{V_f}{F}", "V_f=FV_m"];
|
|
59
|
-
varAsked = random(vars);
|
|
60
75
|
answer = formulas.find((el) => el.split("=")[0] === varAsked);
|
|
61
|
-
formulaAsked = random(formulas.filter((el) => el.split("=")[0] !== varAsked));
|
|
62
76
|
break;
|
|
63
77
|
case 7:
|
|
64
|
-
vars = ["t_m", "t_f", "V_m", "V_f"];
|
|
65
78
|
formulas = ["\\frac{t_m}{t_f}=\\frac{V_f}{V_m}", "t_mV_m=t_fV_f"];
|
|
66
|
-
varAsked = random(vars);
|
|
67
79
|
answer =
|
|
68
80
|
varAsked === "t_m"
|
|
69
81
|
? "t_m=\\frac{V_ft_f}{V_m}"
|
|
@@ -72,7 +84,34 @@ const getIsolateVariablesQuestion = () => {
|
|
|
72
84
|
: varAsked === "V_m"
|
|
73
85
|
? "V_m=\\frac{t_fV_f}{t_m}"
|
|
74
86
|
: "V_f=\\frac{t_mV_m}{t_f}";
|
|
75
|
-
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
return answer;
|
|
90
|
+
};
|
|
91
|
+
const getKeys = (identifiers) => {
|
|
92
|
+
const { formulaType, varAsked } = identifiers;
|
|
93
|
+
let vars = [];
|
|
94
|
+
switch (formulaType) {
|
|
95
|
+
case 1:
|
|
96
|
+
vars = ["m", "t", "v"];
|
|
97
|
+
break;
|
|
98
|
+
case 2:
|
|
99
|
+
vars = ["P", "m", "g"];
|
|
100
|
+
break;
|
|
101
|
+
case 3:
|
|
102
|
+
vars = ["U", "R", "I"];
|
|
103
|
+
break;
|
|
104
|
+
case 4:
|
|
105
|
+
vars = ["v", "d", "t"];
|
|
106
|
+
break;
|
|
107
|
+
case 5:
|
|
108
|
+
vars = ["F", "t_m", "t_f"];
|
|
109
|
+
break;
|
|
110
|
+
case 6:
|
|
111
|
+
vars = ["F", "V_m", "V_f"];
|
|
112
|
+
break;
|
|
113
|
+
case 7:
|
|
114
|
+
vars = ["t_m", "t_f", "V_m", "V_f"];
|
|
76
115
|
break;
|
|
77
116
|
}
|
|
78
117
|
const keys = [
|
|
@@ -87,15 +126,58 @@ const getIsolateVariablesQuestion = () => {
|
|
|
87
126
|
? "concentrationMere"
|
|
88
127
|
: v),
|
|
89
128
|
];
|
|
129
|
+
return keys;
|
|
130
|
+
};
|
|
131
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
90
132
|
const question = {
|
|
91
|
-
answer,
|
|
92
|
-
instruction:
|
|
93
|
-
keys:
|
|
133
|
+
answer: getAnswer(identifiers),
|
|
134
|
+
instruction: getInstruction(identifiers),
|
|
135
|
+
keys: getKeys(identifiers),
|
|
94
136
|
answerFormat: "tex",
|
|
95
|
-
identifiers
|
|
137
|
+
identifiers,
|
|
96
138
|
};
|
|
97
139
|
return question;
|
|
98
140
|
};
|
|
141
|
+
const getIsolateVariablesQuestion = () => {
|
|
142
|
+
let varAsked = "";
|
|
143
|
+
let answer = "";
|
|
144
|
+
const formulaType = randint(1, 8);
|
|
145
|
+
let formulaAsked = "";
|
|
146
|
+
let vars = [];
|
|
147
|
+
let formulas = [];
|
|
148
|
+
switch (formulaType) {
|
|
149
|
+
case 1:
|
|
150
|
+
vars = ["m", "t", "v"];
|
|
151
|
+
varAsked = random(vars);
|
|
152
|
+
break;
|
|
153
|
+
case 2:
|
|
154
|
+
vars = ["P", "m", "g"];
|
|
155
|
+
varAsked = random(vars);
|
|
156
|
+
break;
|
|
157
|
+
case 3:
|
|
158
|
+
vars = ["U", "R", "I"];
|
|
159
|
+
varAsked = random(vars);
|
|
160
|
+
break;
|
|
161
|
+
case 4:
|
|
162
|
+
vars = ["v", "d", "t"];
|
|
163
|
+
varAsked = random(vars);
|
|
164
|
+
break;
|
|
165
|
+
case 5:
|
|
166
|
+
vars = ["F", "t_m", "t_f"];
|
|
167
|
+
varAsked = random(vars);
|
|
168
|
+
break;
|
|
169
|
+
case 6:
|
|
170
|
+
vars = ["F", "V_m", "V_f"];
|
|
171
|
+
varAsked = random(vars);
|
|
172
|
+
break;
|
|
173
|
+
case 7:
|
|
174
|
+
vars = ["t_m", "t_f", "V_m", "V_f"];
|
|
175
|
+
varAsked = random(vars);
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
const identifiers = { varAsked, formulaType };
|
|
179
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
180
|
+
};
|
|
99
181
|
const getPropositions = (n, { answer, formulaType, varAsked }) => {
|
|
100
182
|
const propositions = [];
|
|
101
183
|
addValidProp(propositions, answer);
|
|
@@ -289,7 +371,6 @@ export const isolateVariables = {
|
|
|
289
371
|
id: "isolateVariables",
|
|
290
372
|
connector: "=",
|
|
291
373
|
label: "Isoler une grandeur",
|
|
292
|
-
levels: ["2nde"],
|
|
293
374
|
isSingleStep: true,
|
|
294
375
|
sections: [],
|
|
295
376
|
generator: (nb) => getDistinctQuestions(getIsolateVariablesQuestion, nb),
|
|
@@ -298,4 +379,5 @@ export const isolateVariables = {
|
|
|
298
379
|
getPropositions,
|
|
299
380
|
isAnswerValid,
|
|
300
381
|
subject: "Physique",
|
|
382
|
+
getQuestionFromIdentifiers,
|
|
301
383
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proportionnalityCoeffFromLine.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/math/proportionnalityCoeffFromLine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"proportionnalityCoeffFromLine.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/math/proportionnalityCoeffFromLine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA4FF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,CAc/D,CAAC"}
|
|
@@ -7,21 +7,28 @@ import { Rational } from "../../../math/numbers/rationals/rational.js";
|
|
|
7
7
|
import { randint } from "../../../math/utils/random/randint.js";
|
|
8
8
|
import { NumberNode } from "../../../tree/nodes/numbers/numberNode.js";
|
|
9
9
|
import { shuffle } from "../../../utils/alea/shuffle.js";
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
const getInstruction = (identifiers) => {
|
|
11
|
+
return "Déterminer le coefficient de proportionnalité entre $y$ et $x$ : ";
|
|
12
|
+
};
|
|
13
|
+
const getAnswer = (identifiers) => {
|
|
14
|
+
const { xA, yA, xB, yB } = identifiers;
|
|
15
15
|
const a = new Rational(yB - yA, xB - xA).simplify();
|
|
16
|
-
const b = a.opposite().multiply(new Integer(xA)).add(new Integer(yA));
|
|
17
16
|
const aTree = a.toTree();
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
const answer = aTree.toTex();
|
|
18
|
+
return answer;
|
|
19
|
+
};
|
|
20
|
+
const getGGBOptions = (identifiers) => {
|
|
21
|
+
const { xA, yA, xB, yB } = identifiers;
|
|
21
22
|
const xMin = Math.min(xA, xB);
|
|
22
23
|
const xMax = Math.max(xA, xB);
|
|
23
24
|
const yMin = Math.min(yA, yB);
|
|
24
25
|
const yMax = Math.max(yA, yB);
|
|
26
|
+
const a = new Rational(yB - yA, xB - xA).simplify();
|
|
27
|
+
const b = a.opposite().multiply(new Integer(xA)).add(new Integer(yA));
|
|
28
|
+
const aTree = a.toTree();
|
|
29
|
+
const bTree = b.toTree();
|
|
30
|
+
const aString = aTree.toMathString();
|
|
31
|
+
const bString = bTree.toMathString();
|
|
25
32
|
const commands = [
|
|
26
33
|
`f(x) = (${aString}) * x + (${bString})`,
|
|
27
34
|
`SetColor(f, "${randomColor()}")`,
|
|
@@ -31,19 +38,29 @@ const getProportionnalityCoeffFromLineQuestion = () => {
|
|
|
31
38
|
yAxis: { label: "$y$" },
|
|
32
39
|
commands,
|
|
33
40
|
});
|
|
34
|
-
|
|
41
|
+
return ggb.getOptions({
|
|
42
|
+
coords: ggb.getAdaptedCoords({ xMin, xMax, yMin, yMax }),
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
35
46
|
const question = {
|
|
36
|
-
instruction:
|
|
37
|
-
answer,
|
|
47
|
+
instruction: getInstruction(identifiers),
|
|
48
|
+
answer: getAnswer(identifiers),
|
|
38
49
|
keys: [],
|
|
39
|
-
ggbOptions:
|
|
40
|
-
coords: ggb.getAdaptedCoords({ xMin, xMax, yMin, yMax }),
|
|
41
|
-
}),
|
|
50
|
+
ggbOptions: getGGBOptions(identifiers),
|
|
42
51
|
answerFormat: "tex",
|
|
43
|
-
identifiers
|
|
52
|
+
identifiers,
|
|
44
53
|
};
|
|
45
54
|
return question;
|
|
46
55
|
};
|
|
56
|
+
const getProportionnalityCoeffFromLineQuestion = () => {
|
|
57
|
+
let xA, yA, xB, yB;
|
|
58
|
+
[xA, yA] = [1, 2].map((el) => randint(-5, 6));
|
|
59
|
+
xB = xA > 0 ? randint(xA - 4, 6, [xA]) : randint(-4, xA + 5, [xA]); // l'écart entre les deux points ne soit pas grand
|
|
60
|
+
yB = yA > 0 ? randint(yA - 4, 6) : randint(-4, yA + 5);
|
|
61
|
+
const identifiers = { xA, xB, yA, yB };
|
|
62
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
63
|
+
};
|
|
47
64
|
const getPropositions = (n, { answer, xA, xB, yA, yB }) => {
|
|
48
65
|
const propositions = [];
|
|
49
66
|
addValidProp(propositions, answer);
|
|
@@ -66,9 +83,7 @@ export const proportionnalityCoeffFromLine = {
|
|
|
66
83
|
id: "proportionnalityCoeffFromLine",
|
|
67
84
|
connector: "=",
|
|
68
85
|
label: "Déterminer le coefficient de proportionnalité à l'aide d'une droite",
|
|
69
|
-
levels: ["3ème", "2nde", "1reESM", "2ndPro", "1rePro", "1reTech", "1reSpé"],
|
|
70
86
|
isSingleStep: false,
|
|
71
|
-
sections: ["Droites", "Fonctions affines"],
|
|
72
87
|
generator: (nb) => getDistinctQuestions(getProportionnalityCoeffFromLineQuestion, nb),
|
|
73
88
|
qcmTimer: 60,
|
|
74
89
|
freeTimer: 60,
|
|
@@ -76,4 +91,5 @@ export const proportionnalityCoeffFromLine = {
|
|
|
76
91
|
isAnswerValid,
|
|
77
92
|
hasGeogebra: true,
|
|
78
93
|
subject: "Physique",
|
|
94
|
+
getQuestionFromIdentifiers,
|
|
79
95
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elongationReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/mecanicalWaves/elongationReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"elongationReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/mecanicalWaves/elongationReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAYrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAwHF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAanD,CAAC"}
|
|
@@ -9,9 +9,25 @@ import { PiNode } from "../../../tree/nodes/numbers/piNode.js";
|
|
|
9
9
|
import { FractionNode } from "../../../tree/nodes/operators/fractionNode.js";
|
|
10
10
|
import { MultiplyNode } from "../../../tree/nodes/operators/multiplyNode.js";
|
|
11
11
|
import { VariableNode } from "../../../tree/nodes/variables/variableNode.js";
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
const getInstruction = (identifiers) => {
|
|
13
|
+
return `L'élongation d'un point affecté par le passage d'une onde est représentée ci-dessous.
|
|
14
|
+
|
|
15
|
+
L'équation de la fonction correspondante est de la forme :
|
|
16
|
+
|
|
17
|
+
$$
|
|
18
|
+
y(t) = A\\cos\\left(\\frac{2\\pi}{T}t\\right)
|
|
19
|
+
$$
|
|
20
|
+
|
|
21
|
+
Quelle est l'expression numérique de la fonction $y(t)$ ?`;
|
|
22
|
+
};
|
|
23
|
+
const getAnswer = (identifiers) => {
|
|
24
|
+
const { amplitude, period } = identifiers;
|
|
25
|
+
const frac = new FractionNode(new MultiplyNode((2).toTree(), PiNode), period.toTree()).simplify();
|
|
26
|
+
const node = new MultiplyNode(amplitude.toTree(), new CosNode(new MultiplyNode(frac, new VariableNode("t"))));
|
|
27
|
+
return `y\\left(t\\right)=${node.toTex()}`;
|
|
28
|
+
};
|
|
29
|
+
const getGGBOptions = (identifiers) => {
|
|
30
|
+
const { amplitude, period } = identifiers;
|
|
15
31
|
const commands = [
|
|
16
32
|
`f(x) = If(x>=0, ${amplitude}*cos(x* (2*PI)/${period}))`,
|
|
17
33
|
`SetColor(f, "${randomColor()}")`,
|
|
@@ -21,20 +37,27 @@ const getElongationReadingQuestion = () => {
|
|
|
21
37
|
xAxis: { label: "$\\tiny \\text{Temps (s)}$" },
|
|
22
38
|
yAxis: { label: "$\\tiny \\text{y (cm)}$" },
|
|
23
39
|
});
|
|
24
|
-
|
|
25
|
-
|
|
40
|
+
return ggb.getOptions({
|
|
41
|
+
coords: [-1, 20, -10, 10],
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
26
45
|
const question = {
|
|
27
|
-
answer:
|
|
28
|
-
instruction:
|
|
46
|
+
answer: getAnswer(identifiers),
|
|
47
|
+
instruction: getInstruction(identifiers),
|
|
29
48
|
keys: ["y", "t", "pi", "cos", "equal"],
|
|
30
49
|
answerFormat: "tex",
|
|
31
|
-
identifiers
|
|
32
|
-
ggbOptions:
|
|
33
|
-
coords: [-1, 20, -10, 10],
|
|
34
|
-
}),
|
|
50
|
+
identifiers,
|
|
51
|
+
ggbOptions: getGGBOptions(identifiers),
|
|
35
52
|
};
|
|
36
53
|
return question;
|
|
37
54
|
};
|
|
55
|
+
const getElongationReadingQuestion = () => {
|
|
56
|
+
const amplitude = randint(2, 7);
|
|
57
|
+
const period = randint(1, 8);
|
|
58
|
+
const identifiers = { amplitude, period };
|
|
59
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
60
|
+
};
|
|
38
61
|
const getPropositions = (n, { answer, amplitude, period }) => {
|
|
39
62
|
const propositions = [];
|
|
40
63
|
addValidProp(propositions, answer);
|
|
@@ -57,9 +80,7 @@ const isAnswerValid = (ans, { answer, amplitude, period }) => {
|
|
|
57
80
|
export const elongationReading = {
|
|
58
81
|
id: "elongationReading",
|
|
59
82
|
label: "Déterminer l'expression d'une élongation",
|
|
60
|
-
levels: ["1reSpé"],
|
|
61
83
|
isSingleStep: true,
|
|
62
|
-
sections: ["Ondes"],
|
|
63
84
|
generator: (nb) => getDistinctQuestions(getElongationReadingQuestion, nb),
|
|
64
85
|
qcmTimer: 60,
|
|
65
86
|
freeTimer: 60,
|
|
@@ -67,4 +88,5 @@ export const elongationReading = {
|
|
|
67
88
|
isAnswerValid,
|
|
68
89
|
subject: "Physique",
|
|
69
90
|
hasGeogebra: true,
|
|
91
|
+
getQuestionFromIdentifiers,
|
|
70
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"molarQuantity.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/molarQuantity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"molarQuantity.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/molarQuantity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAoFF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAY/C,CAAC"}
|
|
@@ -5,13 +5,10 @@ import { round } from "../../math/utils/round.js";
|
|
|
5
5
|
import { atomes } from "../../pc/constants/molecularChemistry/atome.js";
|
|
6
6
|
import { molecules } from "../../pc/constants/molecularChemistry/molecule.js";
|
|
7
7
|
import { shuffle } from "../../utils/alea/shuffle.js";
|
|
8
|
-
const
|
|
9
|
-
const mG
|
|
8
|
+
const getInstruction = (identifiers) => {
|
|
9
|
+
const { mG, randomMoleculeIndex } = identifiers;
|
|
10
10
|
const moleculesSolid = molecules.filter((molecule) => molecule.state === "solid");
|
|
11
|
-
const randomMoleculeIndex = Math.floor(Math.random() * moleculesSolid.length);
|
|
12
11
|
const myRandomMolecule = moleculesSolid[randomMoleculeIndex];
|
|
13
|
-
const molarMassG = round(myRandomMolecule.weight, 2); // Masse molaire en g/mol
|
|
14
|
-
const nG = mG / molarMassG;
|
|
15
12
|
const myAtoms = myRandomMolecule.atoms.map((el) => el.atom.name);
|
|
16
13
|
const myAtomsMolarMass = myAtoms.map((atome) => {
|
|
17
14
|
return atomes.find((el) => el.name === atome)?.masseAtomique;
|
|
@@ -19,20 +16,40 @@ const getMolarQuantityQuestion = () => {
|
|
|
19
16
|
const res = myAtomsMolarMass
|
|
20
17
|
.map((molarMass, index) => `$M_{(${myRandomMolecule.atoms[index].atom.symbole})}$ = $${molarMass?.toFixed(0)}$ $g/mol$ ; `)
|
|
21
18
|
.join("");
|
|
22
|
-
const instruction = `Un échantillon de ${myRandomMolecule.name} $${myRandomMolecule.formula}$ a une masse de
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
const instruction = `Un échantillon de ${myRandomMolecule.name} $${myRandomMolecule.formula}$ a une masse de $${mG}\\ \\textrm{g}$.
|
|
20
|
+
|
|
21
|
+
Déterminer la quantité de matière $n$ contenue dans cet échantillon de ${myRandomMolecule.name}.
|
|
22
|
+
|
|
23
|
+
On donne : ${res}`;
|
|
24
|
+
return instruction;
|
|
25
|
+
};
|
|
26
|
+
const getAnswer = (identifiers) => {
|
|
27
|
+
const { mG, randomMoleculeIndex } = identifiers;
|
|
28
|
+
const moleculesSolid = molecules.filter((molecule) => molecule.state === "solid");
|
|
29
|
+
const myRandomMolecule = moleculesSolid[randomMoleculeIndex];
|
|
30
|
+
const molarMassG = round(myRandomMolecule.weight, 2); // Masse molaire en g/mol
|
|
31
|
+
const nG = mG / molarMassG;
|
|
25
32
|
const answer = `${frenchify(round(nG, 2))}\\ mol`;
|
|
33
|
+
return answer;
|
|
34
|
+
};
|
|
35
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
26
36
|
const question = {
|
|
27
|
-
instruction,
|
|
37
|
+
instruction: getInstruction(identifiers),
|
|
28
38
|
startStatement: "n",
|
|
29
|
-
answer,
|
|
39
|
+
answer: getAnswer(identifiers),
|
|
30
40
|
keys: ["mol"],
|
|
31
41
|
answerFormat: "tex",
|
|
32
|
-
identifiers
|
|
42
|
+
identifiers,
|
|
33
43
|
};
|
|
34
44
|
return question;
|
|
35
45
|
};
|
|
46
|
+
const getMolarQuantityQuestion = () => {
|
|
47
|
+
const mG = round(Math.random() * 150 + 50, 0); // Masse de l'échantillon en g (entre 50 et 200 g)
|
|
48
|
+
const moleculesSolid = molecules.filter((molecule) => molecule.state === "solid");
|
|
49
|
+
const randomMoleculeIndex = Math.floor(Math.random() * moleculesSolid.length);
|
|
50
|
+
const identifiers = { mG, randomMoleculeIndex };
|
|
51
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
52
|
+
};
|
|
36
53
|
const getPropositions = (n, { answer }) => {
|
|
37
54
|
const propositions = [];
|
|
38
55
|
addValidProp(propositions, answer);
|
|
@@ -48,8 +65,6 @@ export const molarQuantity = {
|
|
|
48
65
|
id: "molarQuantity",
|
|
49
66
|
connector: "=",
|
|
50
67
|
label: "Calculer une quantité de matière",
|
|
51
|
-
levels: ["4ème", "3ème", "2nde"],
|
|
52
|
-
sections: ["Constitution et transformations de la matière"],
|
|
53
68
|
subject: "Chimie",
|
|
54
69
|
isSingleStep: true,
|
|
55
70
|
generator: (nb) => getDistinctQuestions(getMolarQuantityQuestion, nb),
|
|
@@ -57,4 +72,5 @@ export const molarQuantity = {
|
|
|
57
72
|
freeTimer: 60,
|
|
58
73
|
getPropositions,
|
|
59
74
|
isAnswerValid,
|
|
75
|
+
getQuestionFromIdentifiers,
|
|
60
76
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise.js";
|
|
2
|
-
type Identifiers = {
|
|
2
|
+
type Identifiers = {
|
|
3
|
+
absorbtion: number;
|
|
4
|
+
concentration: number;
|
|
5
|
+
};
|
|
3
6
|
export declare const concentrationReading: Exercise<Identifiers>;
|
|
4
7
|
export {};
|
|
5
8
|
//# sourceMappingURL=concentrationReading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concentrationReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/mole/concentrationReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"concentrationReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/mole/concentrationReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAOrC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAoEF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAatD,CAAC"}
|