math-exercises 3.0.109 → 3.0.111
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 +25 -25
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/calcul/addAndSub.js +2 -2
- package/lib/exercises/math/calcul/addAndSubWithoutRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/addAndSubWithoutRelatives.js +5 -3
- package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.js +7 -6
- package/lib/exercises/math/calcul/arithmetics/divisibiltyCriteria.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/divisibiltyCriteria.js +2 -2
- package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/divisorsList.js +5 -4
- package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.js +6 -5
- package/lib/exercises/math/calcul/arithmetics/isMultipleOrDivisor.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/isMultipleOrDivisor.js +4 -5
- package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.js +2 -2
- package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.js +2 -2
- package/lib/exercises/math/calcul/arithmetics/primeNumberIdentification.js +2 -2
- package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +11 -19
- package/lib/exercises/math/calcul/arithmetics/whichMultipleAmI.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/whichMultipleAmI.js +1 -7
- package/lib/exercises/math/calcul/decimals/decimalBoundingOnLine.d.ts.map +1 -1
- package/lib/exercises/math/calcul/decimals/decimalBoundingOnLine.js +5 -30
- package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.d.ts.map +1 -1
- package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.js +1 -1
- package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.js +1 -1
- package/lib/exercises/math/calcul/digitDecimalRank.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitDecimalRank.js +2 -2
- package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitRank.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitRank.js +2 -2
- package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/evalFractionExpression.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/evalFractionExpression.js +2 -2
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +2 -2
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerSum.js +3 -13
- package/lib/exercises/math/calcul/fractions/fractionForbiddenValue.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionForbiddenValue.js +4 -4
- package/lib/exercises/math/calcul/fractions/fractionSquare.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionSquare.js +3 -4
- package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +5 -3
- package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsDivision.js +5 -5
- package/lib/exercises/math/calcul/fractions/fractionsMix.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsMix.js +7 -6
- package/lib/exercises/math/calcul/fractions/fractionsOperations.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsOperations.js +5 -5
- package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsProduct.js +3 -3
- package/lib/exercises/math/calcul/fractions/fractionsSubstraction.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSubstraction.js +3 -4
- package/lib/exercises/math/calcul/fractions/fractionsSum.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSum.js +3 -4
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.js +2 -2
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.js +2 -2
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +4 -5
- package/lib/exercises/math/calcul/fractions/periodicWritingToFraction.js +1 -1
- package/lib/exercises/math/calcul/fractions/simplifyFractionWithPrimeFactorization.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/simplifyFractionWithPrimeFactorization.js +2 -3
- package/lib/exercises/math/calcul/fractions/simplifyToFraction.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/simplifyToFraction.js +3 -3
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.js +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalDivisions.js +0 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.js +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.js +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalPercentage.js +3 -3
- package/lib/exercises/math/calcul/operations/expressionNature.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/expressionNature.js +2 -4
- package/lib/exercises/math/calcul/operations/numberInverse.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/numberInverse.js +3 -3
- package/lib/exercises/math/calcul/operations/operationsPriorities.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPriorities.js +7 -13
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesis.js +6 -5
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesParenthesisNoRelatives.js +5 -4
- package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/operationsPrioritiesWithoutRelative.js +5 -6
- package/lib/exercises/math/calcul/ordering/decimalOrdering.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/framing.d.ts +2 -1
- package/lib/exercises/math/calcul/ordering/framing.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/framing.js +52 -50
- package/lib/exercises/math/calcul/ordering/integerOrdering.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.d.ts +4 -3
- package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/findCoeffInProportionalTableNonIntegers.js +10 -12
- package/lib/exercises/math/calcul/proportionality/isTableProportional.js +1 -1
- package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.d.ts +4 -3
- package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/isTableProportionalNonInteger.js +10 -12
- package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.js +2 -3
- package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.js +5 -5
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.js +3 -4
- package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/scaleUsage.js +2 -9
- package/lib/exercises/math/calcul/rationals/rationalNumbers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/rationals/rationalNumbers.js +12 -8
- package/lib/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.d.ts.map +1 -1
- package/lib/exercises/math/calcul/rounding/getPhysicalOrderOfMagnitude.js +2 -2
- package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
- package/lib/exercises/math/calcul/rounding/rounding.js +4 -5
- package/lib/exercises/math/calcul/sign/absoluteNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/sign/absoluteNumber.js +3 -3
- package/lib/exercises/math/calcul/sign/inverseOrOpposite.d.ts.map +1 -1
- package/lib/exercises/math/calcul/sign/inverseOrOpposite.js +2 -2
- package/lib/exercises/math/calcul/sign/signFromAx.d.ts.map +1 -1
- package/lib/exercises/math/calcul/sign/signFromAx.js +4 -4
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +2 -2
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.js +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivitySubstract.js +5 -5
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +2 -2
- package/lib/exercises/math/calculLitteral/distributivity/idRmq1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq1.js +4 -4
- package/lib/exercises/math/calculLitteral/distributivity/idRmq2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/idRmq2.js +1 -2
- 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/distributivity/identitiesWithNonIntegers.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/identitiesWithNonIntegers.js +3 -3
- package/lib/exercises/math/calculLitteral/distributivity/index.d.ts +1 -0
- package/lib/exercises/math/calculLitteral/distributivity/index.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/index.js +1 -0
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.js +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistriMinus1.d.ts +10 -0
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistriMinus1.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistriMinus1.js +147 -0
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.js +2 -3
- package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/binomialsTrinomialsProposedSolutions.js +3 -11
- package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.js +3 -4
- package/lib/exercises/math/calculLitteral/equation/equa1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa1.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa2.js +5 -17
- package/lib/exercises/math/calculLitteral/equation/equa3.js +2 -2
- package/lib/exercises/math/calculLitteral/equation/equa4.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa4.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +3 -4
- package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationWithDistributivity.js +3 -3
- package/lib/exercises/math/calculLitteral/equation/factorizeEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/factorizeEquation.js +4 -4
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +5 -5
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +5 -5
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.js +4 -4
- package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +2 -2
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +2 -2
- package/lib/exercises/math/calculLitteral/factorisation/facto1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/facto1.js +3 -4
- package/lib/exercises/math/calculLitteral/factorisation/factoByX.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoByX.js +2 -2
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +2 -2
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +1 -2
- package/lib/exercises/math/calculLitteral/factorisation/factoType2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoType2.js +2 -3
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +2 -2
- package/lib/exercises/math/calculLitteral/formulas/useFormula.js +5 -5
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.js +2 -2
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType1.js +3 -3
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType2.js +3 -3
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +3 -3
- package/lib/exercises/math/calculLitteral/inequations/inequationsSign.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/inequationsSign.js +3 -4
- package/lib/exercises/math/calculLitteral/inequations/inverseInequality.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/inverseInequality.js +3 -4
- package/lib/exercises/math/calculLitteral/inequations/inverseInequalityWithGraph.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/inverseInequalityWithGraph.js +4 -6
- package/lib/exercises/math/calculLitteral/inequations/isInequalityTrue.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/isInequalityTrue.js +2 -2
- package/lib/exercises/math/calculLitteral/inequations/minNumberInequality.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/minNumberInequality.js +4 -4
- package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/squareFunctionInequation.js +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/distributeAndSimplify.js +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.js +2 -22
- package/lib/exercises/math/calculLitteral/simplifying/valuateExpression.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/valuateExpression.js +7 -7
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +4 -12
- package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.js +4 -12
- package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.js +1 -12
- package/lib/exercises/math/combinatory/anagrams.d.ts.map +1 -1
- package/lib/exercises/math/combinatory/anagrams.js +1 -1
- package/lib/exercises/math/combinatory/ballsCounting.d.ts.map +1 -1
- package/lib/exercises/math/combinatory/diceCounting.d.ts.map +1 -1
- package/lib/exercises/math/combinatory/diceCounting.js +1 -1
- package/lib/exercises/math/complex/addComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/argumentFromAlgebraicComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/linearCombinaisonComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/linearCombinaisonComplex.js +1 -1
- package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/aeraConversion.js +1 -1
- package/lib/exercises/math/conversion/hoursToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/conversion/hoursToDecimal.js +2 -2
- package/lib/exercises/math/conversion/hoursToSecond.d.ts.map +1 -1
- package/lib/exercises/math/conversion/hoursToSecond.js +3 -3
- package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/lengthConversion.js +4 -4
- package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
- package/lib/exercises/math/curve/sqrtCurvePoint.d.ts.map +1 -1
- package/lib/exercises/math/curve/sqrtCurvePoint.js +3 -3
- package/lib/exercises/math/curve/squareCurvePoint.d.ts.map +1 -1
- package/lib/exercises/math/curve/squareCurvePoint.js +4 -4
- package/lib/exercises/math/dataRepresentations/barChartReading.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/barChartReading.js +5 -5
- package/lib/exercises/math/dataRepresentations/functionGraphReading.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/functionGraphReading.js +5 -12
- package/lib/exercises/math/dataRepresentations/pieChartReading.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/pieChartReading.js +3 -3
- package/lib/exercises/math/dataRepresentations/tableReading.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/tableReading.js +5 -5
- package/lib/exercises/math/dataRepresentations/testGen.d.ts +0 -7
- package/lib/exercises/math/dataRepresentations/testGen.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/testGen.js +129 -108
- package/lib/exercises/math/dataRepresentations/testGenGGB.d.ts +0 -7
- package/lib/exercises/math/dataRepresentations/testGenGGB.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/testGenGGB.js +140 -118
- package/lib/exercises/math/dataRepresentations/testGenStudentGGB.d.ts +0 -7
- package/lib/exercises/math/dataRepresentations/testGenStudentGGB.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/testGenStudentGGB.js +146 -123
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.d.ts.map +1 -1
- package/lib/exercises/math/derivation/convexity/convexityQuadrinomials.js +1 -1
- package/lib/exercises/math/derivation/convexity/convexityTrinomials.d.ts.map +1 -1
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.d.ts.map +1 -1
- package/lib/exercises/math/derivation/convexity/inflexionPointQuadrinomials.js +4 -5
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeFour.js +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeOne.js +1 -1
- package/lib/exercises/math/derivation/derivative/exp/expDerivativeTwo.js +2 -2
- package/lib/exercises/math/derivation/derivative/exp/secondDerivativeOfExpoFunction.js +1 -1
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.js +6 -6
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.js +2 -2
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeTwo.js +2 -2
- package/lib/exercises/math/derivation/derivative/polynomial/constanteDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +2 -2
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +2 -2
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfThirdDegreeFunction.js +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDerivativeOfTrinom.js +2 -2
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.js +2 -2
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/power/powerCompositionDerivation.js +2 -2
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/power/powerFunctionDerivative.js +2 -2
- package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/productDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/sqrt/rootFunctionDerivative.js +2 -2
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtCompositionDerivation.js +1 -1
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.js +8 -8
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/cosCompositionDerivation.js +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/sinCompositionDerivation.js +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +1 -1
- package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.js +5 -6
- package/lib/exercises/math/derivation/tangent/derivativeNumberReading.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/derivativeNumberReading.js +6 -33
- package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.d.ts +2 -1
- package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.js +7 -7
- package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.js +4 -4
- package/lib/exercises/math/derivation/tangent/tangentEquationWithData.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/tangentEquationWithData.js +3 -3
- package/lib/exercises/math/derivation/tangent/tangentEquations.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/tangentEquations.js +2 -2
- package/lib/exercises/math/derivation/variations/thirdDegreeDerivativeVariation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/variations/thirdDegreeDerivativeVariation.js +2 -2
- package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/variations/thirdDegreeFunctionVariation.js +5 -16
- package/lib/exercises/math/derivation/variations/variationArrowAmount.d.ts.map +1 -1
- package/lib/exercises/math/derivation/variations/variationArrowAmount.js +4 -11
- package/lib/exercises/math/equaDiff/equaDiffAyPlusB.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffAyPlusB.js +7 -7
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffCheckSolutionFirstOrder.js +7 -4
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +1 -1
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.js +6 -6
- package/lib/exercises/math/functions/absolute/absolueValueAffineEquation.js +4 -4
- 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/absoluteValueInequations.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/absoluteValueInequations.js +2 -4
- package/lib/exercises/math/functions/absolute/calculateDistanceBetweenNumbers.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/calculateDistanceBetweenNumbers.js +3 -3
- package/lib/exercises/math/functions/absolute/calculateDistanceWithAbsoluteValue.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/calculateDistanceWithAbsoluteValue.js +4 -4
- package/lib/exercises/math/functions/absolute/calculateWithAbsoluteValue.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/calculateWithAbsoluteValue.js +3 -6
- package/lib/exercises/math/functions/absolute/removeAbsNotation.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/removeAbsNotation.js +2 -2
- package/lib/exercises/math/functions/absolute/removeAbsNotationSign.d.ts.map +1 -1
- package/lib/exercises/math/functions/absolute/removeAbsNotationSign.js +2 -2
- package/lib/exercises/math/functions/affines/affineAdjustment.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustment.js +5 -5
- package/lib/exercises/math/functions/affines/affineAdjustmentComplete.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.js +1 -1
- 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.js +6 -6
- package/lib/exercises/math/functions/affines/affineFromExercise.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineFromExercise.js +3 -3
- package/lib/exercises/math/functions/affines/affineMeanValue.js +1 -1
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.js +2 -2
- package/lib/exercises/math/functions/affines/drawAffineFromLitExp.d.ts +9 -0
- package/lib/exercises/math/functions/affines/drawAffineFromLitExp.d.ts.map +1 -0
- package/lib/exercises/math/functions/affines/drawAffineFromLitExp.js +118 -0
- package/lib/exercises/math/functions/affines/index.d.ts +1 -0
- package/lib/exercises/math/functions/affines/index.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/index.js +1 -0
- package/lib/exercises/math/functions/affines/interceptReading.js +8 -8
- package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.js +1 -1
- package/lib/exercises/math/functions/affines/leadingCoefficient.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/leadingCoefficient.js +7 -7
- package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/leadingCoefficientCalculV1.js +4 -6
- package/lib/exercises/math/functions/affines/leadingCoefficientCalculV2.js +3 -3
- package/lib/exercises/math/functions/affines/signFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/signFunction.js +1 -1
- package/lib/exercises/math/functions/basics/countFunctionZeroes.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/countFunctionZeroes.js +6 -5
- package/lib/exercises/math/functions/basics/findZeroesProductQuotient.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/findZeroesProductQuotient.js +2 -5
- package/lib/exercises/math/functions/basics/graphicEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicEquation.js +5 -5
- package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicInequation.js +5 -5
- package/lib/exercises/math/functions/basics/graphicInequationAffine.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicInequationAffine.js +5 -5
- package/lib/exercises/math/functions/basics/imageAntecedentFromSentence.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/imageAntecedentFromSentence.js +3 -3
- package/lib/exercises/math/functions/basics/imageFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/imageFunction.js +11 -11
- package/lib/exercises/math/functions/basics/imageFunctionGeogebra.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/imageFunctionGeogebra.js +19 -52
- package/lib/exercises/math/functions/basics/inverseImageFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/inverseImageFunction.js +1 -14
- package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/inverseImageFunctionGeogebra.js +2 -29
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.js +5 -5
- package/lib/exercises/math/functions/basics/isPointOnFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/isPointOnFunction.js +4 -5
- package/lib/exercises/math/functions/basics/signOfFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/signOfFunction.js +4 -7
- package/lib/exercises/math/functions/basics/twoFunctionsEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/twoFunctionsEquation.js +6 -7
- package/lib/exercises/math/functions/basics/twoFunctionsInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/twoFunctionsInequation.js +5 -5
- package/lib/exercises/math/functions/basics/valueTableCompletion.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/valueTableCompletion.js +5 -5
- package/lib/exercises/math/functions/basics/valueTableFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/valueTableFromGraph.js +6 -6
- package/lib/exercises/math/functions/cube/compareCubeValues.js +3 -3
- package/lib/exercises/math/functions/cube/cubicEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/cube/imageOfCubeFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/cube/imageOfCubeFunction.js +3 -3
- package/lib/exercises/math/functions/cube/isPointOnCubicFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/cube/isPointOnCubicFunction.js +3 -3
- package/lib/exercises/math/functions/exponential/expEquation.js +2 -2
- package/lib/exercises/math/functions/exponential/expFactorization.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expSimplifiying.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expSimplifiying.js +1 -1
- package/lib/exercises/math/functions/exponentials/exponentialsVariations.js +3 -3
- package/lib/exercises/math/functions/integral/integralAffines.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralExpU.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralExpU.js +1 -1
- package/lib/exercises/math/functions/integral/integralFractions.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralFractions.js +1 -1
- package/lib/exercises/math/functions/integral/integralKCosinus.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralKCosinus.js +1 -1
- package/lib/exercises/math/functions/integral/integralKSinus.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralKSinus.js +1 -1
- package/lib/exercises/math/functions/integral/integralTrinomials.d.ts.map +1 -1
- package/lib/exercises/math/functions/integral/integralTrinomials.js +1 -1
- package/lib/exercises/math/functions/inverse/compareInverseValues.d.ts.map +1 -1
- package/lib/exercises/math/functions/inverse/compareInverseValues.js +1 -2
- package/lib/exercises/math/functions/inverse/isPointOnReciprocalFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/inverse/isPointOnReciprocalFunction.js +3 -4
- package/lib/exercises/math/functions/inverse/solveInverseEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/inverse/solveInverseEquation.js +9 -6
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +1 -1
- package/lib/exercises/math/functions/logarithm/log10Simplifying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/log10Simplifying.js +4 -4
- package/lib/exercises/math/functions/logarithm/logPowerEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/logPowerEquation.js +6 -6
- package/lib/exercises/math/functions/logarithm/logSimplifiying.js +2 -2
- package/lib/exercises/math/functions/logarithm/powerEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/powerEquation.js +2 -2
- package/lib/exercises/math/functions/parity/finishParityFunctionGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/parity/finishParityFunctionGraph.js +5 -5
- package/lib/exercises/math/functions/parity/parityFromAlgebra.d.ts.map +1 -1
- package/lib/exercises/math/functions/parity/parityFromAlgebra.js +5 -7
- package/lib/exercises/math/functions/parity/parityFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/parity/parityFromGraph.js +6 -6
- package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.d.ts.map +1 -1
- package/lib/exercises/math/functions/rationalFraction/rationalFractionForbiddenValue.js +4 -4
- package/lib/exercises/math/functions/sign/affineProductSign.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineProductSign.js +5 -5
- package/lib/exercises/math/functions/sign/affineProductSignTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineProductSignTable.js +2 -2
- package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.js +4 -21
- package/lib/exercises/math/functions/sign/affineSignTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineSignTable.js +4 -5
- package/lib/exercises/math/functions/sign/equationFromSignTable.js +7 -6
- package/lib/exercises/math/functions/sign/partialSignTableFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/partialSignTableFromGraph.js +7 -7
- package/lib/exercises/math/functions/sign/readSignTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/readSignTable.js +4 -3
- package/lib/exercises/math/functions/sign/signTableFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/signTableFromGraph.js +7 -7
- package/lib/exercises/math/functions/sqrt/compareSqrtValues.js +3 -3
- package/lib/exercises/math/functions/sqrt/getImageOfSquareRootFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/sqrt/getImageOfSquareRootFunction.js +2 -2
- package/lib/exercises/math/functions/sqrt/sqrtInequality.d.ts.map +1 -1
- package/lib/exercises/math/functions/sqrt/sqrtInequality.js +1 -2
- package/lib/exercises/math/functions/sqrt/squareRootCalculation.d.ts.map +1 -1
- package/lib/exercises/math/functions/sqrt/squareRootCalculation.js +2 -2
- package/lib/exercises/math/functions/square/compareSquaredValues.d.ts.map +1 -1
- package/lib/exercises/math/functions/square/compareSquaredValues.js +5 -8
- package/lib/exercises/math/functions/square/imageOfSquareFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/square/imageOfSquareFunction.js +3 -3
- package/lib/exercises/math/functions/square/squareFunctionInequationWithGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/square/squareFunctionInequationWithGraph.js +2 -2
- package/lib/exercises/math/functions/square/squareImageInterval.d.ts.map +1 -1
- package/lib/exercises/math/functions/square/squareImageInterval.js +26 -34
- package/lib/exercises/math/functions/square/squareImageIntervalWithGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/square/squareImageIntervalWithGraph.js +5 -6
- package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/devForm/coefficientsIdentification.js +1 -1
- package/lib/exercises/math/functions/trinoms/devForm/variationsFromAlgebricForm.js +2 -2
- package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/secondDegreeInequation.js +2 -2
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationByFactorisation.js +4 -8
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/equation/solveSecondDegreeEquationFromCano.js +1 -1
- package/lib/exercises/math/functions/trinoms/factoForm/factorizedFormFromRoots.js +1 -1
- package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/parabole/paraboleExpressionReading.js +18 -14
- package/lib/exercises/math/functions/trinoms/parabole/trinomSymetryAxisFromFacto.js +7 -7
- package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/findSecondRoot.js +3 -3
- package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/niceRootsFromDevForm.js +3 -3
- package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsFromDevForm.js +2 -2
- package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsFromFactorizedForm.js +10 -11
- package/lib/exercises/math/functions/trinoms/roots/rootsProduct.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsProduct.js +3 -3
- package/lib/exercises/math/functions/trinoms/roots/rootsReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsReading.js +3 -3
- package/lib/exercises/math/functions/trinoms/roots/rootsSum.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/roots/rootsSum.js +3 -3
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromFacto.js +3 -6
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/sign/trinomSignFromRoots.js +3 -6
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/alphaBetaInCanonicalForm.js +2 -2
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/canonicalFromDevForm.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/extremumTypeFromAlgebricForm.js +1 -1
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromDevForm.js +4 -4
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitAbscissFromRoots.js +2 -2
- package/lib/exercises/math/functions/trinoms/summitAndCanonical/summitReading.js +1 -1
- package/lib/exercises/math/functions/trinoms/trinomialMeanValue.js +1 -1
- package/lib/exercises/math/functions/variations/compareImagesInVarTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/compareImagesInVarTable.js +4 -5
- package/lib/exercises/math/functions/variations/partialVarTableFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/partialVarTableFromGraph.js +7 -12
- package/lib/exercises/math/functions/variations/readExtremaOnGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/readExtremaOnGraph.js +6 -6
- package/lib/exercises/math/functions/variations/readVarOnGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/readVarOnGraph.js +3 -3
- package/lib/exercises/math/functions/variations/readVarOnGraph2.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/readVarOnGraph2.js +4 -4
- package/lib/exercises/math/functions/variations/varTableExtremaReading.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/varTableExtremaReading.js +5 -5
- package/lib/exercises/math/functions/variations/varTableFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/varTableFromGraph.js +7 -7
- package/lib/exercises/math/functions/variations/varTableFromSentences.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/varTableFromSentences.js +12 -12
- package/lib/exercises/math/geometry/angles/parallelogramFourthAngle.js +3 -3
- package/lib/exercises/math/geometry/angles/recognizeAngleType.d.ts.map +1 -1
- package/lib/exercises/math/geometry/angles/recognizeAngleType.js +19 -19
- package/lib/exercises/math/geometry/areas/calculateAreaFromCodedShape.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/calculateAreaFromCodedShape.js +7 -7
- package/lib/exercises/math/geometry/areas/circleArea.js +1 -1
- package/lib/exercises/math/geometry/areas/circleRadiusFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/circleRadiusFromArea.js +3 -3
- package/lib/exercises/math/geometry/areas/rectangleArea.js +2 -2
- package/lib/exercises/math/geometry/areas/rectangleSideFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/rectangleSideFromArea.js +3 -3
- package/lib/exercises/math/geometry/areas/squareArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/squareArea.js +1 -1
- package/lib/exercises/math/geometry/areas/squareSideFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/squareSideFromArea.js +3 -3
- package/lib/exercises/math/geometry/areas/triangleArea.js +4 -4
- package/lib/exercises/math/geometry/areas/triangleAreaV2.js +1 -1
- package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/cartesianEquationOfLine.js +2 -4
- package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/cartesianFromTwoPoints.js +6 -6
- package/lib/exercises/math/geometry/cartesian/cartesianFromVectorAndPoint.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/cartesianFromVectorAndPoint.js +4 -4
- package/lib/exercises/math/geometry/cartesian/directionVector.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/directionVector.js +2 -22
- package/lib/exercises/math/geometry/cartesian/directionVectorEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/directionVectorEquation.js +10 -20
- package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +9 -9
- package/lib/exercises/math/geometry/cartesian/drawAlineInGGB.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/drawAlineInGGB.js +1 -1
- package/lib/exercises/math/geometry/cartesian/midpoint.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/midpoint.js +3 -5
- package/lib/exercises/math/geometry/cartesian/placeAPoint.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/placeAPoint.js +3 -3
- package/lib/exercises/math/geometry/cartesian/placeAbscissOnLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/placeAbscissOnLine.js +32 -30
- package/lib/exercises/math/geometry/cartesian/placeAbscissOnSemiLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/placeAbscissOnSemiLine.js +5 -4
- package/lib/exercises/math/geometry/cartesian/pointCoordinates.js +2 -2
- package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoAxisNumbers.js +2 -2
- package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/pointCoordinatesNoOrthonorm.js +2 -3
- package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.js +10 -9
- package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.js +10 -9
- package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.d.ts.map +1 -1
- package/lib/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.js +3 -3
- package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.d.ts.map +1 -1
- package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.js +2 -2
- package/lib/exercises/math/geometry/euclidian/orthogonalProjectFromPicture.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidian/orthogonalProjectFromPicture.js +3 -3
- package/lib/exercises/math/geometry/euclidian/pythagoreOrThales.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidian/pythagoreOrThales.js +8 -12
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.js +2 -2
- package/lib/exercises/math/geometry/euclidianConstructions/buildPointFromAxialSymetry.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildPointFromAxialSymetry.js +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.js +2 -2
- package/lib/exercises/math/geometry/euclidianConstructions/pointImageFromTranslation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/pointImageFromTranslation.js +4 -5
- package/lib/exercises/math/geometry/lines/aAndBFromReductEquation.js +1 -1
- package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/cartesianEquationToReduced.js +7 -7
- package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/cartesianEquationsIntersection.js +2 -2
- package/lib/exercises/math/geometry/lines/directorVectorFromAnother.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/directorVectorFromAnother.js +3 -3
- package/lib/exercises/math/geometry/lines/directorVectorFromReductEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/directorVectorFromReductEquation.js +7 -7
- package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/drawLineFromCartesianEquation.js +1 -2
- package/lib/exercises/math/geometry/lines/drawLineFromPointAndVector.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/drawLineFromPointAndVector.js +1 -1
- package/lib/exercises/math/geometry/lines/findParallelLineFromCartesianEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/findParallelLineFromCartesianEquation.js +4 -5
- package/lib/exercises/math/geometry/lines/findParallelLineFromReductEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/findParallelLineFromReductEquation.js +4 -5
- package/lib/exercises/math/geometry/lines/findPointOnLineWithCartesianEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/findPointOnLineWithCartesianEquation.js +3 -3
- package/lib/exercises/math/geometry/lines/findPointOnLineWithReductEquation.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/findPointOnLineWithReductEquation.js +4 -4
- package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/isPointOnCartesianLine.js +3 -3
- package/lib/exercises/math/geometry/lines/isPointOnLine.js +3 -3
- package/lib/exercises/math/geometry/lines/linesRelativePositions.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/linesRelativePositions.js +9 -9
- package/lib/exercises/math/geometry/lines/reductEquationFindY.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/reductEquationFindY.js +7 -7
- package/lib/exercises/math/geometry/lines/reductEquationFromTwoPoints.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/reductEquationFromTwoPoints.js +4 -5
- package/lib/exercises/math/geometry/lines/reductEquationReading.d.ts.map +1 -1
- package/lib/exercises/math/geometry/lines/reductEquationReading.js +9 -9
- package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.d.ts.map +1 -1
- package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.js +3 -3
- package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.d.ts.map +1 -1
- package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.js +5 -5
- package/lib/exercises/math/geometry/optimisation/lengthWithXOnPicture.d.ts.map +1 -1
- package/lib/exercises/math/geometry/optimisation/lengthWithXOnPicture.js +6 -6
- package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/parametric/extractPointFromParametricLine.js +3 -3
- package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/parametric/extractVectorFromParametricLine.js +3 -3
- package/lib/exercises/math/geometry/parametric/pointFromParametricLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/parametric/pointFromParametricLine.js +3 -3
- package/lib/exercises/math/geometry/perimeters/circleCircumference.js +1 -1
- package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.js +3 -3
- package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.js +1 -1
- package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.js +3 -3
- package/lib/exercises/math/geometry/perimeters/squarePerimeter.js +1 -1
- package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.js +3 -3
- package/lib/exercises/math/geometry/perimeters/trianglePerimeter.js +1 -1
- package/lib/exercises/math/geometry/pythagore/calculateDiagonalFromSides.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/calculateDiagonalFromSides.js +2 -3
- package/lib/exercises/math/geometry/pythagore/isTriangleRight.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/isTriangleRight.js +5 -4
- package/lib/exercises/math/geometry/pythagore/pythagore.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/pythagore.js +2 -2
- package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +3 -3
- package/lib/exercises/math/geometry/pythagore/triangleHeight.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/triangleHeight.js +5 -5
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.d.ts.map +1 -1
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramAngles.js +3 -4
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramRectangle.d.ts.map +1 -1
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramRectangle.js +2 -2
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramRhombus.d.ts.map +1 -1
- package/lib/exercises/math/geometry/quadrilaterals/parallelogramRhombus.js +2 -2
- package/lib/exercises/math/geometry/quadrilaterals/quadrilateralRecognition.d.ts.map +1 -1
- package/lib/exercises/math/geometry/quadrilaterals/quadrilateralRecognition.js +6 -9
- package/lib/exercises/math/geometry/shapes/basicShapesNaming.d.ts.map +1 -1
- package/lib/exercises/math/geometry/shapes/basicShapesNaming.js +8 -5
- package/lib/exercises/math/geometry/shapes/basicShapesRecognition.d.ts.map +1 -1
- package/lib/exercises/math/geometry/shapes/basicShapesRecognition.js +9 -5
- package/lib/exercises/math/geometry/thales/thales.d.ts.map +1 -1
- package/lib/exercises/math/geometry/thales/thales.js +2 -2
- package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.js +4 -4
- package/lib/exercises/math/geometry/triangles/triangleNature.d.ts.map +1 -1
- package/lib/exercises/math/geometry/triangles/triangleNature.js +16 -14
- package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.d.ts.map +1 -1
- package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.js +3 -3
- package/lib/exercises/math/geometry/vectors/chasles.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/chasles.js +3 -3
- package/lib/exercises/math/geometry/vectors/colinearity/alignementViaColinearity.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/colinearity/alignementViaColinearity.js +2 -2
- package/lib/exercises/math/geometry/vectors/colinearity/colinearity.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/colinearity/colinearity.js +2 -13
- package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromBasis.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromBasis.js +4 -4
- package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromPicture.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/colinearity/colinearityFromPicture.js +18 -15
- package/lib/exercises/math/geometry/vectors/colinearity/determinant.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/colinearity/determinant.js +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/drawAVectorInGGB.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/drawAVectorInGGB.js +2 -2
- package/lib/exercises/math/geometry/vectors/constructions/linearVectorCombinationFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/linearVectorCombinationFromGraph.js +6 -6
- package/lib/exercises/math/geometry/vectors/constructions/placePointFromPointAndVector.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/placePointFromPointAndVector.js +9 -7
- package/lib/exercises/math/geometry/vectors/constructions/traceOppositeVector.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/traceOppositeVector.js +3 -10
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorDifference.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorDifference.js +4 -8
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorMultiple.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorMultiple.js +3 -6
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorSum.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/constructions/traceVectorSum.js +4 -8
- package/lib/exercises/math/geometry/vectors/coordinatesReading.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/coordinatesReading.js +2 -2
- package/lib/exercises/math/geometry/vectors/distributeAndReduceVectors.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/distributeAndReduceVectors.js +13 -8
- package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/equalCaracteristicFromGraph.js +5 -5
- package/lib/exercises/math/geometry/vectors/findCoordForAligment.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/findCoordForAligment.js +3 -3
- package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.js +3 -3
- package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/paralellismViaColinearity.js +3 -3
- package/lib/exercises/math/geometry/vectors/parallelogram/fourthParallelogramPoint.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/parallelogram/fourthParallelogramPoint.js +1 -1
- package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramCriterion.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramCriterion.js +3 -4
- package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramViaEqualVectors.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/parallelogram/parallelogramViaEqualVectors.js +3 -3
- package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/angleFromScalarProduct.js +2 -2
- package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/findCoordinatesToOrthogonalize.js +2 -2
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductIdentities.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductIdentities.js +5 -5
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductOrthoInSquare.js +2 -4
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCoords.js +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaCos.js +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProduct/scalarProductViaNorms.js +3 -3
- package/lib/exercises/math/geometry/vectors/translationFromPicture.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/translationFromPicture.js +9 -7
- package/lib/exercises/math/geometry/vectors/vectorCoordinatesFromTwoPoints.js +3 -3
- package/lib/exercises/math/geometry/vectors/vectorLinearCombination.js +3 -3
- package/lib/exercises/math/geometry/vectors/vectorNormCalculation.js +4 -4
- package/lib/exercises/math/geometry/vectors/vectorRepresentative.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/vectorRepresentative.js +3 -3
- package/lib/exercises/math/geometry/volumes/coneVolume.js +2 -2
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.js +5 -6
- package/lib/exercises/math/geometry/volumes/sphereVolume.js +2 -2
- package/lib/exercises/math/geometry/volumes/variableVolume.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/variableVolume.js +3 -3
- package/lib/exercises/math/geometry/volumes/volumeOfCube.js +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.js +8 -7
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.js +3 -4
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.js +5 -6
- package/lib/exercises/math/index.d.ts +1 -0
- package/lib/exercises/math/index.d.ts.map +1 -1
- package/lib/exercises/math/index.js +1 -0
- package/lib/exercises/math/limits/limitReading.d.ts.map +1 -1
- package/lib/exercises/math/limits/limitReading.js +11 -8
- package/lib/exercises/math/limits/polynomLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/polynomLimitNoFI.d.ts.map +1 -1
- package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/rationalFracForbiddenValueLimit.js +1 -1
- package/lib/exercises/math/limits/rationalFracLimit.js +3 -3
- package/lib/exercises/math/limits/sequencePolynomLimit.js +2 -2
- package/lib/exercises/math/limits/sequencePolynomNoFILimit.js +2 -2
- package/lib/exercises/math/limits/sequencePolynomProductLimit.js +6 -6
- package/lib/exercises/math/limits/sequenceRationalFracLimit.d.ts.map +1 -1
- package/lib/exercises/math/limits/sequenceRationalFracLimit.js +7 -8
- package/lib/exercises/math/matrices/matrixGeneralTerm.js +2 -2
- package/lib/exercises/math/pcExosInMath.d.ts +85 -0
- package/lib/exercises/math/pcExosInMath.d.ts.map +1 -0
- package/lib/exercises/math/pcExosInMath.js +84 -0
- package/lib/exercises/math/percent/evolutions/applyPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/applyPercent.js +1 -1
- package/lib/exercises/math/percent/evolutions/cmToEvolution.js +1 -1
- package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.js +2 -2
- package/lib/exercises/math/percent/evolutions/evolutionToCM.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/evolutionToCM.js +0 -1
- package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.js +2 -4
- package/lib/exercises/math/percent/evolutions/findRightCalculForPriceEvolution.js +7 -7
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.js +2 -2
- package/lib/exercises/math/percent/evolutions/globalCM.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/globalCM.js +3 -3
- package/lib/exercises/math/percent/evolutions/globalPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/globalPercent.js +2 -2
- package/lib/exercises/math/percent/evolutions/reciprocalPercentage.js +1 -1
- package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
- package/lib/exercises/math/percent/findProportion.js +1 -1
- package/lib/exercises/math/percent/findTVA.js +3 -3
- package/lib/exercises/math/percent/htToTTC.d.ts.map +1 -1
- package/lib/exercises/math/percent/htToTTC.js +1 -3
- package/lib/exercises/math/percent/interests/compoundInterest.d.ts.map +1 -1
- package/lib/exercises/math/percent/interests/compoundInterest.js +1 -1
- package/lib/exercises/math/percent/interests/compoundInterestStartValue.d.ts.map +1 -1
- package/lib/exercises/math/percent/interests/compoundInterestStartValue.js +1 -1
- package/lib/exercises/math/percent/percentOfPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentOfPercent.js +3 -3
- package/lib/exercises/math/percent/percentOfPercentOfNumber.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentOfPercentOfNumber.js +3 -3
- package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentToDecimal.js +2 -3
- package/lib/exercises/math/percent/percentWritings.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentWritings.js +5 -4
- package/lib/exercises/math/percent/populationEffectifFromSubPopulation.d.ts.map +1 -1
- package/lib/exercises/math/percent/populationEffectifFromSubPopulation.js +2 -2
- package/lib/exercises/math/percent/subPopulationEffectifFromPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/subPopulationEffectifFromPercent.js +2 -2
- package/lib/exercises/math/percent/ttcToHT.d.ts.map +1 -1
- package/lib/exercises/math/percent/ttcToHT.js +1 -1
- package/lib/exercises/math/percent/valuePercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/valuePercent.js +3 -3
- package/lib/exercises/math/powers/calculateNegativePower.d.ts.map +1 -1
- package/lib/exercises/math/powers/calculateNegativePower.js +2 -3
- package/lib/exercises/math/powers/calculatePower.d.ts.map +1 -1
- package/lib/exercises/math/powers/calculatePower.js +1 -2
- package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
- package/lib/exercises/math/powers/decimalToScientific.js +2 -2
- package/lib/exercises/math/powers/powerDefinition.js +1 -1
- package/lib/exercises/math/powers/powerNotation.js +3 -3
- package/lib/exercises/math/powers/powersDivision.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersDivision.js +5 -5
- package/lib/exercises/math/powers/powersMixOperations.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersMixOperations.js +4 -4
- package/lib/exercises/math/powers/powersOfTenMixOperations.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersOfTenMixOperations.js +3 -4
- package/lib/exercises/math/powers/powersOfTenToDecimal.js +1 -1
- package/lib/exercises/math/powers/powersPower.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersPower.js +4 -5
- package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersProduct.js +5 -5
- package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/powers/scientificToDecimal.js +2 -4
- package/lib/exercises/math/primitive/constantPrimitive.js +1 -1
- package/lib/exercises/math/primitive/expUPrimitive.js +1 -1
- package/lib/exercises/math/primitive/exponentialPrimitive.js +1 -1
- package/lib/exercises/math/primitive/kexpUPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/kexpUPrimitive.js +4 -5
- package/lib/exercises/math/primitive/klogUPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/klogUPrimitive.js +3 -5
- package/lib/exercises/math/primitive/logarithmePrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/logarithmePrimitive.js +1 -2
- package/lib/exercises/math/primitive/polynomialPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/polynomialPrimitive.js +1 -1
- package/lib/exercises/math/primitive/sinCosPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/sinCosPrimitive.js +1 -1
- package/lib/exercises/math/primitive/sinUCosUPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/sinUCosUPrimitive.js +1 -1
- package/lib/exercises/math/probaStat/basicProbas/ballsBasicProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/ballsBasicProbas.js +2 -4
- package/lib/exercises/math/probaStat/basicProbas/cardBasicProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/cardBasicProbas.js +3 -5
- package/lib/exercises/math/probaStat/basicProbas/diceBasicProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/diceBasicProbas.js +2 -2
- package/lib/exercises/math/probaStat/basicProbas/getComplementaryProbability.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/getMissingProbabilityValue.js +2 -2
- package/lib/exercises/math/probaStat/basicProbas/mostLeastProbable.js +1 -1
- package/lib/exercises/math/probaStat/basicProbas/rouletteProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicProbas/rouletteProbas.js +4 -3
- package/lib/exercises/math/probaStat/basicStats/calculateFrequency.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicStats/calculateFrequency.js +7 -7
- package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.js +3 -3
- package/lib/exercises/math/probaStat/binomial/binomialInequation.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/binomial/binomialInequation.js +13 -12
- package/lib/exercises/math/probaStat/binomial/calculateProbaOfBinomialDistribution.js +1 -1
- package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.js +2 -2
- package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.js +2 -2
- package/lib/exercises/math/probaStat/checkEquiprobability.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/checkEquiprobability.js +2 -2
- package/lib/exercises/math/probaStat/conditionalProbability.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/conditionalProbability.js +7 -4
- package/lib/exercises/math/probaStat/events/describeEvent.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/events/describeEvent.js +7 -7
- package/lib/exercises/math/probaStat/events/eventNotation.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/events/eventNotation.js +7 -7
- package/lib/exercises/math/probaStat/independancy.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/independancy.js +1 -1
- package/lib/exercises/math/probaStat/issuesCountingForCards.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/issuesCountingForCards.js +2 -4
- package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/probaFromTableNoContext.js +13 -8
- package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts +1 -2
- package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/probaFromTableWithContext.js +9 -6
- package/lib/exercises/math/probaStat/probabilityTree.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/probabilityTree.js +10 -42
- package/lib/exercises/math/probaStat/randomVariable/isTableProbabilityLaw.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/randomVariable/isTableProbabilityLaw.js +3 -3
- package/lib/exercises/math/probaStat/randomVariable/randomVariableAverage.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/randomVariable/randomVariableAverage.js +3 -3
- package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/randomVariable/randomVariableStandardDeviation.js +3 -3
- package/lib/exercises/math/probaStat/randomVariable/randomVariableVariance.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/randomVariable/randomVariableVariance.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/averageLinearity.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageLinearity.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/averageList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageList.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +2 -4
- package/lib/exercises/math/probaStat/stats1var/calculateMeanFromFrequencies.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/calculateMeanFromFrequencies.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/choseReasoningForIndicator.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/compareSeriesDispersion.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/compareSeriesDispersion.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/cumulativeSum.js +4 -4
- package/lib/exercises/math/probaStat/stats1var/etendueList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/etendueList.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/getQuartileProportionQuestion.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/getQuartileProportionQuestion.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/interquartilesList.js +3 -3
- 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 +2 -4
- package/lib/exercises/math/probaStat/stats1var/medianWithList.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/quartiles.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/quartilesList.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/standardDeviationList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/standardDeviationList.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/varianceList.js +3 -3
- package/lib/exercises/math/probaStat/stats1var/varianceTable.js +3 -3
- package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats2var/averagePoint.js +2 -2
- package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.d.ts +1 -1
- package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.js +4 -4
- package/lib/exercises/math/probaStat/unionIntersectionProba.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/unionIntersectionProba.js +3 -3
- package/lib/exercises/math/python/conditionIfElifElse.d.ts +1 -0
- package/lib/exercises/math/python/conditionIfElifElse.d.ts.map +1 -1
- package/lib/exercises/math/python/conditionIfElifElse.js +24 -16
- package/lib/exercises/math/python/forLoop.js +3 -3
- package/lib/exercises/math/python/inOutCalcul.d.ts.map +1 -1
- package/lib/exercises/math/python/inOutCalcul.js +9 -5
- package/lib/exercises/math/python/pyForLoop1Exercise.js +2 -2
- package/lib/exercises/math/python/pyNestedForLoopExercise.d.ts.map +1 -1
- package/lib/exercises/math/python/pyNestedForLoopExercise.js +1 -11
- package/lib/exercises/math/python/pyWhileLoop1Exercise.d.ts.map +1 -1
- package/lib/exercises/math/python/pyWhileLoop1Exercise.js +3 -5
- package/lib/exercises/math/python/pythonForLoopInstructionCompletion.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonForLoopInstructionCompletion.js +27 -18
- package/lib/exercises/math/python/pythonFunctionTrinom.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonFunctionTrinom.js +2 -3
- package/lib/exercises/math/python/pythonIfStatementCompletion.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonIfStatementCompletion.js +4 -4
- package/lib/exercises/math/python/pythonRangeCompletion.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonRangeCompletion.js +11 -9
- package/lib/exercises/math/python/pythonSimpleFunctionInstructionCompletion.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonSimpleFunctionInstructionCompletion.js +4 -4
- package/lib/exercises/math/python/pythonWhileStatementCompletion.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonWhileStatementCompletion.js +2 -2
- package/lib/exercises/math/python/pythonWhileStatementOperationCompletion.d.ts.map +1 -1
- package/lib/exercises/math/python/pythonWhileStatementOperationCompletion.js +3 -4
- package/lib/exercises/math/python/variableAffectation.d.ts.map +1 -1
- package/lib/exercises/math/python/variableAffectation.js +9 -9
- package/lib/exercises/math/python/variableType.d.ts.map +1 -1
- package/lib/exercises/math/python/variableType.js +17 -16
- package/lib/exercises/math/python/whileLoop.d.ts.map +1 -1
- package/lib/exercises/math/python/whileLoop.js +4 -6
- package/lib/exercises/math/python/whileLoopCount.d.ts.map +1 -1
- package/lib/exercises/math/python/whileLoopCount.js +3 -3
- package/lib/exercises/math/sampling/confidenceInterval.d.ts.map +1 -1
- package/lib/exercises/math/sampling/confidenceInterval.js +3 -4
- package/lib/exercises/math/sampling/fluctuationInterval.d.ts.map +1 -1
- package/lib/exercises/math/sampling/fluctuationInterval.js +3 -4
- package/lib/exercises/math/sampling/getSampleCountAndSize.d.ts.map +1 -1
- package/lib/exercises/math/sampling/getSampleCountAndSize.js +3 -4
- package/lib/exercises/math/sampling/isSamplingRepresentative.d.ts.map +1 -1
- package/lib/exercises/math/sampling/isSamplingRepresentative.js +4 -4
- package/lib/exercises/math/sampling/samplingFrequency.d.ts.map +1 -1
- package/lib/exercises/math/sampling/samplingFrequency.js +4 -5
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +2 -2
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.js +4 -5
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.js +4 -4
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReasonRandomRange.js +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.js +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticReasonUsage.js +3 -4
- package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +2 -2
- package/lib/exercises/math/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/firstIntegersSum.js +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromFirstTerms.js +7 -7
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/recognizeArithmeticFromGraph.js +13 -10
- package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromFirstTerms.js +4 -4
- package/lib/exercises/math/sequences/arithmetic/recognizeReasonFromGraph.js +2 -2
- package/lib/exercises/math/sequences/genericSequenceVariations.d.ts.map +1 -1
- package/lib/exercises/math/sequences/genericSequenceVariations.js +1 -1
- package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +1 -2
- package/lib/exercises/math/sequences/geometric/geometricFindReason.js +2 -2
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.js +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.js +4 -4
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsSum.js +1 -1
- package/lib/exercises/math/sequences/geometric/geometricReasonUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricReasonUsage.js +2 -2
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.js +4 -4
- package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricRecurrenceFormulaUsage.js +2 -3
- package/lib/exercises/math/sequences/geometric/geometricVariations.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricVariations.js +3 -3
- package/lib/exercises/math/sequences/recurrenceFormulaUsage.js +1 -1
- package/lib/exercises/math/sequences/sequenceEvaluation.js +11 -10
- package/lib/exercises/math/sequences/sequencePlot.d.ts.map +1 -1
- package/lib/exercises/math/sequences/sequencePlot.js +12 -12
- package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/inequalityToInterval.js +3 -25
- package/lib/exercises/math/sets/intervals/intervalOnGraph.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalOnGraph.js +4 -4
- package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalToInequality.js +4 -26
- package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalsIntersection.js +4 -44
- package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalsUnion.js +2 -40
- package/lib/exercises/math/sets/intervals/isNumberInInterval.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/isNumberInInterval.js +2 -2
- package/lib/exercises/math/sets/isNumberDecimal.d.ts.map +1 -1
- package/lib/exercises/math/sets/isNumberDecimal.js +9 -10
- package/lib/exercises/math/sets/nameOfNumberSets.js +3 -3
- package/lib/exercises/math/sets/setBelonging.d.ts.map +1 -1
- package/lib/exercises/math/sets/setBelonging.js +2 -3
- package/lib/exercises/math/sets/subsetsOfKnownSets.js +2 -2
- package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.js +2 -2
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +2 -3
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +1 -1
- package/lib/exercises/math/squareRoots/simpifySquareRoot.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/simpifySquareRoot.js +1 -1
- package/lib/exercises/math/squareRoots/squareRootEquation.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/squareRootEquation.js +1 -2
- package/lib/exercises/math/squareRoots/squareRootIdentities.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/squareRootIdentities.js +1 -1
- package/lib/exercises/math/squareRoots/squareRootsDistributivity.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/squareRootsDistributivity.js +2 -2
- package/lib/exercises/math/squareRoots/squareRootsFractions.js +2 -2
- package/lib/exercises/math/squareRoots/squareRootsProducts.js +2 -2
- package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/squareRootsSum.js +2 -6
- package/lib/exercises/math/squareRoots/squareRootsToSquare.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/squareRootsToSquare.js +4 -3
- package/lib/exercises/math/trigonometry/arcLength.d.ts +2 -1
- package/lib/exercises/math/trigonometry/arcLength.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/arcLength.js +4 -5
- package/lib/exercises/math/trigonometry/arcValue.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/arcValue.js +4 -4
- package/lib/exercises/math/trigonometry/associatePoint.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/associatePoint.js +9 -9
- package/lib/exercises/math/trigonometry/basicEquationCos.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/basicEquationCos.js +2 -2
- package/lib/exercises/math/trigonometry/basicEquationSin.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/basicEquationSin.js +2 -2
- package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.js +2 -2
- package/lib/exercises/math/trigonometry/calculateCosSinAndTan.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/calculateCosSinAndTan.js +7 -4
- package/lib/exercises/math/trigonometry/degreeToRadians.d.ts +2 -1
- package/lib/exercises/math/trigonometry/degreeToRadians.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/degreeToRadians.js +5 -5
- package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.js +2 -2
- package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.js +2 -3
- package/lib/exercises/math/trigonometry/mainAngleMeasure.d.ts +2 -1
- package/lib/exercises/math/trigonometry/mainAngleMeasure.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/mainAngleMeasure.js +3 -4
- package/lib/exercises/math/trigonometry/mainRemarkableValues.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/mainRemarkableValues.js +1 -9
- package/lib/exercises/math/trigonometry/remarkableValues.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/remarkableValues.js +3 -3
- package/lib/exercises/math/trigonometry/trigoFundamentalEquation.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigoFundamentalEquation.js +4 -4
- package/lib/exercises/math/trigonometry/trigonometry.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometry.js +3 -3
- package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +3 -4
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +5 -5
- package/lib/exercises/pc/calibrationCurveOfSolution.d.ts.map +1 -1
- package/lib/exercises/pc/calibrationCurveOfSolution.js +4 -4
- package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.js +2 -2
- package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +1 -1
- package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +3 -3
- package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +1 -1
- package/lib/exercises/pc/chemicalReactions/chemicalReactionsProduct.js +1 -1
- package/lib/exercises/pc/chemicalReactions/identifyStoichiometricMixture.js +4 -4
- package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.js +2 -2
- package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +1 -1
- package/lib/exercises/pc/delution.d.ts.map +1 -1
- package/lib/exercises/pc/delution.js +1 -1
- package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
- package/lib/exercises/pc/dosage/beerLambertRandomValue.js +2 -2
- package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/dosage/concentrationCalculation.js +2 -2
- package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +2 -2
- package/lib/exercises/pc/electricity/calculateIntensity.js +2 -2
- package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.js +2 -2
- package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/calculateVoltage.js +8 -4
- package/lib/exercises/pc/electricity/electricEnergyFromPower.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +2 -2
- package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.js +1 -1
- package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/ohmLaw.js +6 -7
- package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.js +1 -1
- package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -1
- package/lib/exercises/pc/energy/calorificValue.js +2 -7
- package/lib/exercises/pc/energy/combustionTransferEnergy.js +2 -2
- package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -1
- package/lib/exercises/pc/energy/combustionTransferEnergy2.js +1 -2
- package/lib/exercises/pc/energy/efficencyOfConverter.js +1 -1
- package/lib/exercises/pc/energy/efficiencyCalculation.js +2 -2
- package/lib/exercises/pc/energy/energyTransfer.js +2 -2
- package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +1 -1
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +2 -2
- package/lib/exercises/pc/fluids/mariotte.d.ts.map +1 -1
- package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +2 -2
- package/lib/exercises/pc/forces/electroStaticForce.d.ts +3 -3
- package/lib/exercises/pc/forces/electroStaticForce.js +1 -1
- package/lib/exercises/pc/forces/forceWork.d.ts.map +1 -1
- package/lib/exercises/pc/forces/forceWork.js +1 -1
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +6 -6
- package/lib/exercises/pc/forces/gravitationalAttractionValue.js +2 -2
- package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalForcePlanets.js +4 -4
- package/lib/exercises/pc/forces/massWeight.js +2 -2
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts.map +1 -1
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.js +5 -19
- package/lib/exercises/pc/index.d.ts +1 -29
- package/lib/exercises/pc/index.d.ts.map +1 -1
- package/lib/exercises/pc/index.js +1 -29
- package/lib/exercises/pc/math/isolateVariables.d.ts.map +1 -1
- package/lib/exercises/pc/math/isolateVariables.js +1 -4
- package/lib/exercises/pc/math/proportionnalityCoeffFromLine.d.ts.map +1 -1
- package/lib/exercises/pc/math/proportionnalityCoeffFromLine.js +4 -5
- package/lib/exercises/pc/mathExosInPC.d.ts +30 -0
- package/lib/exercises/pc/mathExosInPC.d.ts.map +1 -0
- package/lib/exercises/pc/mathExosInPC.js +29 -0
- package/lib/exercises/pc/mecanicalWaves/elongationReading.d.ts.map +1 -1
- package/lib/exercises/pc/mecanicalWaves/elongationReading.js +2 -2
- package/lib/exercises/pc/mole/concentrationReading.d.ts.map +1 -1
- package/lib/exercises/pc/mole/concentrationReading.js +3 -3
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts.map +1 -1
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.js +2 -2
- package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts.map +1 -1
- package/lib/exercises/pc/mole/moleculeCountFromMol.js +2 -2
- package/lib/exercises/pc/moleculeFormula.d.ts.map +1 -1
- package/lib/exercises/pc/moleculeFormula.js +1 -1
- package/lib/exercises/pc/motion/averageSpeed.d.ts +3 -3
- package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -1
- package/lib/exercises/pc/motion/averageSpeed.js +2 -3
- package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -1
- package/lib/exercises/pc/motion/averageSpeedCalculation.js +1 -2
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.js +2 -2
- package/lib/exercises/pc/motion/motionReference.d.ts.map +1 -1
- package/lib/exercises/pc/motion/recognizeFreeFall.js +1 -1
- package/lib/exercises/pc/motion/typeOfAcceleration.d.ts.map +1 -1
- package/lib/exercises/pc/motion/typeOfAcceleration.js +2 -2
- package/lib/exercises/pc/motion/typeOfMovement.d.ts.map +1 -1
- package/lib/exercises/pc/motion/typeOfMovement.js +5 -3
- package/lib/exercises/pc/pH.js +1 -1
- package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/potentialEnergy.js +2 -2
- package/lib/exercises/pc/power/calculatePowerOfLight.js +1 -1
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts.map +1 -1
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.js +4 -2
- package/lib/exercises/pc/snellDescartes.d.ts.map +1 -1
- package/lib/exercises/pc/sound/findPeriodFromGraph.js +2 -2
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.js +3 -3
- package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/spectral/spectralEnergy.js +4 -4
- package/lib/exercises/pc/waves/findDistanceFromEarth.d.ts.map +1 -1
- package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -1
- package/lib/exercises/pc/waves/lightDistanceConversion.js +3 -3
- package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
- package/lib/exercises/pc/waves/periodicWaveCelerity.js +1 -5
- package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -1
- package/lib/exercises/pc/weight/calculateWeight.js +2 -3
- package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
- package/lib/exercises/pc/weight/weightOnTheMoon.js +1 -1
- package/lib/exercises/utils/geogebra/isGGBPoint.js +1 -1
- package/lib/exercises/utils/geogebra/toolBarConstructor.d.ts.map +1 -1
- package/lib/exercises/utils/getAtoms.d.ts.map +1 -1
- package/lib/exercises/utils/getDistinctQuestions.d.ts +1 -1
- package/lib/exercises/utils/getDistinctQuestions.d.ts.map +1 -1
- package/lib/exercises/utils/getDistinctQuestions.js +1 -1
- package/lib/exercises/utils/getElectronicConfigurationFromShells.d.ts.map +1 -1
- package/lib/exercises/vea/equationVEA.d.ts.map +1 -1
- package/lib/exercises/vea/equationVEA.js +1 -1
- package/lib/exercises/vea/numberVEA.d.ts.map +1 -1
- package/lib/exercises/vea/rationalVEA.d.ts.map +1 -1
- package/lib/exercises/vea/sqrtVEA.d.ts.map +1 -1
- package/lib/geogebra/colors.d.ts.map +1 -1
- package/lib/geogebra/deleteObjectNamesFromAnswer.d.ts.map +1 -1
- package/lib/geogebra/lagrange.d.ts.map +1 -1
- package/lib/geogebra/parsers/approxEqual.d.ts.map +1 -1
- package/lib/geogebra/parsers/ggbPointToCoords.d.ts.map +1 -1
- package/lib/geogebra/parsers/ggbPointsToPoints.d.ts.map +1 -1
- package/lib/geogebra/parsers/ggbPointsToPoints.js +0 -1
- package/lib/geogebra/parsers/parseGGBPoints.d.ts.map +1 -1
- package/lib/geogebra/spline.js +1 -1
- package/lib/index.d.ts +1352 -1007
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/latexTester.d.ts.map +1 -1
- package/lib/latexTester.js +0 -1
- package/lib/math/geometry/CloudPoints.d.ts +1 -1
- package/lib/math/geometry/CloudPoints.d.ts.map +1 -1
- package/lib/math/geometry/CloudPoints.js +1 -1
- package/lib/math/geometry/angle.d.ts.map +1 -1
- package/lib/math/geometry/circle.d.ts +1 -1
- package/lib/math/geometry/circle.d.ts.map +1 -1
- package/lib/math/geometry/circle.js +2 -1
- package/lib/math/geometry/line.d.ts +1 -1
- package/lib/math/geometry/line.d.ts.map +1 -1
- package/lib/math/geometry/line.js +3 -1
- package/lib/math/geometry/parabola.d.ts +1 -1
- package/lib/math/geometry/parabola.d.ts.map +1 -1
- package/lib/math/geometry/parabola.js +3 -1
- package/lib/math/geometry/point.d.ts +1 -1
- package/lib/math/geometry/point.d.ts.map +1 -1
- package/lib/math/geometry/point.js +1 -1
- package/lib/math/geometry/quadrilaterals/parallelogram.d.ts.map +1 -1
- package/lib/math/geometry/quadrilaterals/parallelogram.js +3 -4
- package/lib/math/geometry/quadrilaterals/quadrilateral.d.ts +1 -2
- package/lib/math/geometry/quadrilaterals/quadrilateral.d.ts.map +1 -1
- package/lib/math/geometry/quadrilaterals/quadrilateral.js +1 -1
- package/lib/math/geometry/quadrilaterals/rectangle.d.ts.map +1 -1
- package/lib/math/geometry/quadrilaterals/rectangle.js +0 -1
- package/lib/math/geometry/quadrilaterals/rhombus.d.ts.map +1 -1
- package/lib/math/geometry/quadrilaterals/rhombus.js +1 -1
- package/lib/math/geometry/quadrilaterals/square.d.ts +1 -4
- package/lib/math/geometry/quadrilaterals/square.d.ts.map +1 -1
- package/lib/math/geometry/quadrilaterals/square.js +1 -1
- package/lib/math/geometry/segment.d.ts +1 -2
- package/lib/math/geometry/segment.d.ts.map +1 -1
- package/lib/math/geometry/spacePoint.d.ts +3 -3
- package/lib/math/geometry/spacePoint.d.ts.map +1 -1
- package/lib/math/geometry/spacePoint.js +3 -3
- package/lib/math/geometry/spaceVector.d.ts +3 -3
- package/lib/math/geometry/spaceVector.d.ts.map +1 -1
- package/lib/math/geometry/spaceVector.js +4 -4
- package/lib/math/geometry/triangles/equilateralTriangle.d.ts +1 -2
- package/lib/math/geometry/triangles/equilateralTriangle.d.ts.map +1 -1
- package/lib/math/geometry/triangles/equilateralTriangle.js +6 -7
- package/lib/math/geometry/triangles/isoceleTriangle.d.ts.map +1 -1
- package/lib/math/geometry/triangles/rightTriangle.d.ts.map +1 -1
- package/lib/math/geometry/triangles/rightTriangle.js +2 -2
- package/lib/math/geometry/triangles/triangle.d.ts +3 -3
- package/lib/math/geometry/triangles/triangle.d.ts.map +1 -1
- package/lib/math/geometry/triangles/triangle.js +1 -1
- package/lib/math/inequations/inequation.d.ts.map +1 -1
- package/lib/math/matrices/matrix.js +1 -1
- package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
- package/lib/math/numbers/decimals/decimal.js +3 -4
- package/lib/math/numbers/integer/integer.d.ts +1 -1
- package/lib/math/numbers/integer/integer.d.ts.map +1 -1
- package/lib/math/numbers/integer/integer.js +11 -6
- package/lib/math/numbers/logarithms/ln.d.ts.map +1 -1
- package/lib/math/numbers/rationals/rational.js +1 -1
- package/lib/math/numbers/reals/real.js +2 -2
- package/lib/math/polynomials/generalAffine.d.ts.map +1 -1
- package/lib/math/polynomials/generalPolynomial.d.ts.map +1 -1
- package/lib/math/polynomials/generalPolynomial.js +1 -1
- package/lib/math/polynomials/polynomial.js +1 -1
- package/lib/math/polynomials/trinom.d.ts.map +1 -1
- package/lib/math/polynomials/trinom.js +1 -1
- package/lib/math/probability/binomial.d.ts.map +1 -1
- package/lib/math/probability/randomVariable.d.ts.map +1 -1
- package/lib/math/sequences/geometricSequence.d.ts +1 -2
- package/lib/math/sequences/geometricSequence.d.ts.map +1 -1
- package/lib/math/systems/generalSystem.d.ts.map +1 -1
- package/lib/math/systems/generalSystem.js +4 -4
- package/lib/math/systems/system.d.ts.map +1 -1
- package/lib/math/trigonometry/remarkableValue.d.ts.map +1 -1
- package/lib/math/trigonometry/remarkableValues.d.ts.map +1 -1
- package/lib/math/trigonometry/remarkableValues.js +2 -2
- package/lib/math/utils/arithmetic/coprimesOf.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/coprimesOf.js +1 -1
- package/lib/math/utils/arithmetic/dividersOf.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/dividersOf.js +1 -1
- package/lib/math/utils/arithmetic/factorial.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/isPrime.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/isSquare.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/lcm.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/maxPowerDecomposition.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/nonCoprimesOf.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/nonCoprimesOf.js +1 -1
- package/lib/math/utils/arithmetic/nonDividersOf.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/nonDividersOf.js +1 -3
- package/lib/math/utils/arithmetic/primeDecomposition.d.ts.map +1 -1
- package/lib/math/utils/arithmetic/primeFactors.d.ts.map +1 -1
- package/lib/math/utils/combinatorics/combination.d.ts.map +1 -1
- package/lib/math/utils/decimals/decimalPartLengthOf.d.ts.map +1 -1
- package/lib/math/utils/functions/expUDerivate.d.ts.map +1 -1
- package/lib/math/utils/geometry/growthRate.d.ts.map +1 -1
- package/lib/math/utils/latex/frenchify.d.ts.map +1 -1
- package/lib/math/utils/latex/unfrenchify.d.ts.map +1 -1
- package/lib/math/utils/random/randTupleInt.d.ts.map +1 -1
- package/lib/math/utils/random/randfloat.d.ts +1 -1
- package/lib/math/utils/random/randfloat.d.ts.map +1 -1
- package/lib/math/utils/random/randfrac.d.ts.map +1 -1
- package/lib/math/utils/random/randfrac.js +4 -1
- package/lib/math/utils/random/randint.d.ts +1 -1
- package/lib/math/utils/random/randint.d.ts.map +1 -1
- package/lib/math/utils/round.d.ts +1 -1
- package/lib/math/utils/round.d.ts.map +1 -1
- package/lib/math/utils/round.js +1 -1
- package/lib/math/utils/stats/gaussianWithNoise.d.ts.map +1 -1
- package/lib/math/utils/stats/generateAffineCloud.d.ts.map +1 -1
- package/lib/math/utils/stats/generateAffineCloud.js +4 -4
- package/lib/math/utils/stats/leastSquares.d.ts.map +1 -1
- package/lib/math/utils/stats/median.d.ts.map +1 -1
- package/lib/math/utils/stats/quartiles.d.ts.map +1 -1
- package/lib/math/utils/stats/rSquared.d.ts.map +1 -1
- package/lib/math/utils/stats/standardDeviation.d.ts.map +1 -1
- package/lib/math/utils/stats/sum.d.ts.map +1 -1
- package/lib/math/utils/stats/variance.d.ts.map +1 -1
- package/lib/pc/constants/gravity.d.ts.map +1 -1
- package/lib/pc/constants/gravity.js +0 -1
- package/lib/pc/constants/molecularChemistry/reaction.d.ts.map +1 -1
- package/lib/pc/constants/molecularChemistry/reaction.js +2 -1
- package/lib/pc/measure/measure.d.ts +3 -3
- package/lib/pc/measure/measure.d.ts.map +1 -1
- package/lib/pc/units/AmountOfSubstance.d.ts +3 -3
- package/lib/pc/units/distanceUnits.d.ts +3 -3
- package/lib/pc/units/divideUnit.d.ts +4 -4
- package/lib/pc/units/divideUnit.d.ts.map +1 -1
- package/lib/pc/units/electricalChargeUnit.d.ts +3 -3
- package/lib/pc/units/electricalResistanceUnit.d.ts +3 -4
- package/lib/pc/units/electricalResistanceUnit.d.ts.map +1 -1
- package/lib/pc/units/electricalUnit.d.ts +3 -4
- package/lib/pc/units/electricalUnit.d.ts.map +1 -1
- package/lib/pc/units/energyUnit.d.ts +3 -3
- package/lib/pc/units/forceUnits.d.ts +3 -3
- package/lib/pc/units/frequenceUnit.d.ts +3 -3
- package/lib/pc/units/interfaces/baseTenUnit.d.ts +2 -2
- package/lib/pc/units/interfaces/baseTenUnit.d.ts.map +1 -1
- package/lib/pc/units/interfaces/baseTenUnit.js +1 -1
- package/lib/pc/units/massUnits.d.ts +3 -3
- package/lib/pc/units/mulitplyUnits.d.ts +4 -4
- package/lib/pc/units/mulitplyUnits.d.ts.map +1 -1
- package/lib/pc/units/powerUnits.d.ts +3 -3
- package/lib/pc/units/powerUnits.d.ts.map +1 -1
- package/lib/pc/units/timeUnits.d.ts +3 -3
- package/lib/pc/units/timeUnits.js +6 -6
- package/lib/pc/units/volumeUnit.d.ts +3 -3
- package/lib/pc/units/wattUnit.d.ts +3 -3
- package/lib/playground.d.ts.map +1 -1
- package/lib/server.js +4 -4
- package/lib/tests/exoTest.d.ts +1 -1
- package/lib/tests/exoTest.d.ts.map +1 -1
- package/lib/tests/exoTest.js +2 -2
- package/lib/tests/exosTest.d.ts +1 -1
- package/lib/tests/exosTest.d.ts.map +1 -1
- package/lib/tests/exosTest.js +1 -1
- package/lib/tests/manyPdfExos.test.d.ts.map +1 -1
- package/lib/tests/manyPdfExos.test.js +2 -2
- package/lib/tests/megaExosTest.d.ts +1 -1
- package/lib/tests/megaExosTest.d.ts.map +1 -1
- package/lib/tests/pdfExo.test.d.ts.map +1 -1
- package/lib/tests/pdfExo.test.js +1 -1
- package/lib/tests/pdfs/buildPDFForExercise.d.ts +1 -1
- package/lib/tests/pdfs/buildPDFForExercise.d.ts.map +1 -1
- package/lib/tests/pdfs/buildPDFForExercise.js +1 -1
- package/lib/tests/pdfs/formatMdToLatex.d.ts.map +1 -1
- package/lib/tests/pdfs/mdCodeToLatex.d.ts.map +1 -1
- package/lib/tests/pdfs/mdTableToLatexTabular.d.ts.map +1 -1
- package/lib/tests/pdfs/quizPdfHeader.d.ts +1 -1
- package/lib/tests/pdfs/quizPdfHeader.d.ts.map +1 -1
- package/lib/tests/pdfs/quizPdfHeader.js +1 -1
- package/lib/tests/pdfs/signTableToLatex.d.ts.map +1 -1
- package/lib/tests/pdfs/signTableToLatex.js +0 -1
- package/lib/tests/pdfs/valueTableToLatex.d.ts.map +1 -1
- package/lib/tests/pdfs/valueTableToLatex.js +3 -3
- package/lib/tests/pdfs/varTableToLatex.d.ts.map +1 -1
- package/lib/tests/pdfs/varTableToLatex.js +1 -1
- package/lib/tests/questionTest.d.ts +1 -1
- package/lib/tests/questionTest.d.ts.map +1 -1
- package/lib/tests/questionTest.js +4 -4
- package/lib/tests/singleExo.test.d.ts.map +1 -1
- package/lib/tests/singleExo.test.js +1 -1
- package/lib/tree/nodes/algebraicNode.d.ts.map +1 -1
- package/lib/tree/nodes/algebraicNode.js +1 -1
- package/lib/tree/nodes/complex/complexNode.d.ts +3 -3
- package/lib/tree/nodes/complex/complexNode.d.ts.map +1 -1
- package/lib/tree/nodes/complex/complexNode.js +2 -3
- package/lib/tree/nodes/equations/equalNode.d.ts +4 -4
- package/lib/tree/nodes/equations/equalNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equalNode.js +5 -4
- package/lib/tree/nodes/equations/equationSolutionNode.d.ts +5 -5
- package/lib/tree/nodes/equations/equationSolutionNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equationSolutionNode.js +4 -4
- package/lib/tree/nodes/equations/multiEqualNode.d.ts +5 -5
- package/lib/tree/nodes/equations/multiEqualNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/multiEqualNode.js +4 -4
- package/lib/tree/nodes/functions/absNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/arcSinNode.d.ts +1 -1
- package/lib/tree/nodes/functions/arcSinNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/arcSinNode.js +1 -1
- package/lib/tree/nodes/functions/arccosNode.d.ts +1 -1
- package/lib/tree/nodes/functions/arccosNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/arccosNode.js +1 -1
- package/lib/tree/nodes/functions/arctanNode.d.ts +1 -1
- package/lib/tree/nodes/functions/arctanNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/arctanNode.js +1 -1
- package/lib/tree/nodes/functions/cosNode.d.ts +1 -1
- package/lib/tree/nodes/functions/cosNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/cosNode.js +2 -2
- package/lib/tree/nodes/functions/expNode.d.ts +1 -1
- package/lib/tree/nodes/functions/expNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/expNode.js +1 -1
- package/lib/tree/nodes/functions/integralNode.d.ts +7 -7
- package/lib/tree/nodes/functions/integralNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/integralNode.js +9 -9
- package/lib/tree/nodes/functions/log10Node.d.ts +1 -1
- package/lib/tree/nodes/functions/log10Node.d.ts.map +1 -1
- package/lib/tree/nodes/functions/log10Node.js +1 -1
- package/lib/tree/nodes/functions/logNode.d.ts +1 -1
- package/lib/tree/nodes/functions/logNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/logNode.js +1 -1
- package/lib/tree/nodes/functions/oppositeNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/oppositeNode.js +1 -2
- package/lib/tree/nodes/functions/sinNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/sinNode.js +1 -1
- package/lib/tree/nodes/functions/sqrtNode.d.ts +3 -3
- package/lib/tree/nodes/functions/sqrtNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/sqrtNode.js +3 -3
- package/lib/tree/nodes/functions/tanNode.d.ts +3 -3
- package/lib/tree/nodes/functions/tanNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/tanNode.js +4 -4
- package/lib/tree/nodes/geometry/degree.d.ts +3 -3
- package/lib/tree/nodes/geometry/degree.d.ts.map +1 -1
- package/lib/tree/nodes/geometry/degree.js +3 -3
- package/lib/tree/nodes/geometry/lengthNode.d.ts +3 -3
- package/lib/tree/nodes/geometry/lengthNode.d.ts.map +1 -1
- package/lib/tree/nodes/geometry/lengthNode.js +4 -4
- package/lib/tree/nodes/geometry/pointNode.d.ts +4 -4
- package/lib/tree/nodes/geometry/pointNode.d.ts.map +1 -1
- package/lib/tree/nodes/geometry/pointNode.js +3 -3
- package/lib/tree/nodes/geometry/vectorNode.d.ts +6 -6
- package/lib/tree/nodes/geometry/vectorNode.d.ts.map +1 -1
- package/lib/tree/nodes/geometry/vectorNode.js +6 -6
- package/lib/tree/nodes/hasVariableNode.d.ts.map +1 -1
- package/lib/tree/nodes/inequations/inequationNode.d.ts +6 -6
- package/lib/tree/nodes/inequations/inequationNode.d.ts.map +1 -1
- package/lib/tree/nodes/inequations/inequationNode.js +6 -6
- package/lib/tree/nodes/inequations/inequationSolutionNode.d.ts +5 -5
- package/lib/tree/nodes/inequations/inequationSolutionNode.d.ts.map +1 -1
- package/lib/tree/nodes/inequations/inequationSolutionNode.js +4 -4
- package/lib/tree/nodes/node.d.ts.map +1 -1
- package/lib/tree/nodes/node.js +2 -0
- package/lib/tree/nodes/nodeConstructor.d.ts +1 -1
- package/lib/tree/nodes/nodeConstructor.d.ts.map +1 -1
- package/lib/tree/nodes/nodeConstructor.js +3 -1
- package/lib/tree/nodes/numbers/constantNode.d.ts +2 -2
- package/lib/tree/nodes/numbers/constantNode.d.ts.map +1 -1
- package/lib/tree/nodes/numbers/constantNode.js +2 -2
- package/lib/tree/nodes/numbers/infiniteNode.d.ts.map +1 -1
- package/lib/tree/nodes/numbers/numberNode.d.ts +3 -3
- package/lib/tree/nodes/numbers/numberNode.d.ts.map +1 -1
- package/lib/tree/nodes/numbers/numberNode.js +4 -4
- package/lib/tree/nodes/numbers/percentNode.d.ts +5 -5
- package/lib/tree/nodes/numbers/percentNode.d.ts.map +1 -1
- package/lib/tree/nodes/numbers/percentNode.js +4 -4
- package/lib/tree/nodes/operators/addNode.d.ts +1 -1
- package/lib/tree/nodes/operators/addNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/addNode.js +3 -3
- package/lib/tree/nodes/operators/binomialCoefficientNode.d.ts +1 -1
- package/lib/tree/nodes/operators/binomialCoefficientNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/binomialCoefficientNode.js +1 -1
- package/lib/tree/nodes/operators/divideNode.d.ts +3 -3
- package/lib/tree/nodes/operators/divideNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/divideNode.js +3 -3
- package/lib/tree/nodes/operators/fractionNode.d.ts +1 -1
- package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/fractionNode.js +4 -3
- package/lib/tree/nodes/operators/limitNode.d.ts +5 -5
- package/lib/tree/nodes/operators/limitNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/limitNode.js +7 -7
- package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/multiplyNode.js +7 -6
- package/lib/tree/nodes/operators/operatorNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/powerNode.d.ts +1 -1
- package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/powerNode.js +2 -2
- package/lib/tree/nodes/operators/scalarProductNode.d.ts +2 -2
- package/lib/tree/nodes/operators/scalarProductNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/scalarProductNode.js +1 -1
- package/lib/tree/nodes/operators/substractNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/substractNode.js +1 -1
- package/lib/tree/nodes/polynomials/monomNode.d.ts +1 -1
- package/lib/tree/nodes/polynomials/monomNode.d.ts.map +1 -1
- package/lib/tree/nodes/polynomials/monomNode.js +7 -1
- package/lib/tree/nodes/polynomials/trinomNode.d.ts +1 -1
- package/lib/tree/nodes/polynomials/trinomNode.d.ts.map +1 -1
- package/lib/tree/nodes/polynomials/trinomNode.js +1 -1
- package/lib/tree/nodes/randomReal.d.ts.map +1 -1
- package/lib/tree/nodes/randomReal.js +5 -0
- package/lib/tree/nodes/sets/belongsNode.d.ts +4 -4
- package/lib/tree/nodes/sets/belongsNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/belongsNode.js +4 -4
- package/lib/tree/nodes/sets/closure.d.ts.map +1 -1
- package/lib/tree/nodes/sets/discreteSetNode.d.ts +2 -2
- package/lib/tree/nodes/sets/discreteSetNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/discreteSetNode.js +3 -3
- package/lib/tree/nodes/sets/intervalNode.d.ts +3 -4
- package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/intervalNode.js +4 -5
- package/lib/tree/nodes/sets/unionIntervalNode.d.ts +4 -4
- package/lib/tree/nodes/sets/unionIntervalNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/unionIntervalNode.js +3 -3
- package/lib/tree/parsers/affineParser.d.ts +1 -1
- package/lib/tree/parsers/affineParser.d.ts.map +1 -1
- package/lib/tree/parsers/affineParser.js +33 -33
- package/lib/tree/parsers/degreeParser.d.ts.map +1 -1
- package/lib/tree/parsers/discreteSetParser.d.ts.map +1 -1
- package/lib/tree/parsers/equationSolutionParser.d.ts.map +1 -1
- package/lib/tree/parsers/euroParser.d.ts.map +1 -1
- package/lib/tree/parsers/inequationParser.d.ts.map +1 -1
- package/lib/tree/parsers/intervalParser.d.ts.map +1 -1
- package/lib/tree/parsers/isSegmentName.d.ts.map +1 -1
- package/lib/tree/parsers/latexParser.d.ts +1 -1
- package/lib/tree/parsers/latexParser.d.ts.map +1 -1
- package/lib/tree/parsers/latexParser.js +36 -46
- package/lib/tree/parsers/monomParser.d.ts.map +1 -1
- package/lib/tree/parsers/numberParser.d.ts.map +1 -1
- package/lib/tree/parsers/percentParser.d.ts.map +1 -1
- package/lib/tree/parsers/pointParser.d.ts.map +1 -1
- package/lib/tree/parsers/polynomialParser.d.ts.map +1 -1
- package/lib/tree/parsers/powerParser.d.ts.map +1 -1
- package/lib/tree/parsers/purifyLatex.d.ts +1 -1
- package/lib/tree/parsers/purifyLatex.d.ts.map +1 -1
- package/lib/tree/parsers/purifyLatex.js +7 -6
- package/lib/tree/parsers/rationalParser.d.ts +1 -2
- package/lib/tree/parsers/rationalParser.d.ts.map +1 -1
- package/lib/tree/parsers/rationalParser.js +1 -1
- package/lib/tree/parsers/spacePointParser.d.ts.map +1 -1
- package/lib/tree/parsers/spaceVectorParser.d.ts.map +1 -1
- package/lib/tree/parsers/sqrtParser.d.ts.map +1 -1
- package/lib/tree/parsers/sqrtParser.js +1 -1
- package/lib/tree/parsers/trinomParser.d.ts.map +1 -1
- package/lib/tree/parsers/trinomParser.js +1 -1
- package/lib/tree/parsers/unionIntervalParser.d.ts.map +1 -1
- package/lib/tree/parsers/valueParser.d.ts.map +1 -1
- package/lib/tree/parsers/vectorParser.d.ts.map +1 -1
- package/lib/tree/utilities/functionComposition.d.ts +1 -1
- package/lib/tree/utilities/functionComposition.d.ts.map +1 -1
- package/lib/tree/utilities/functionComposition.js +3 -3
- package/lib/tree/utilities/operatorComposition.d.ts +1 -1
- package/lib/tree/utilities/operatorComposition.d.ts.map +1 -1
- package/lib/tree/utilities/operatorComposition.js +3 -3
- package/lib/types/class.d.ts +1 -1
- package/lib/types/class.d.ts.map +1 -1
- package/lib/utils/alea/diceFlip.d.ts.map +1 -1
- package/lib/utils/alea/probaFlip.d.ts.map +1 -1
- package/lib/utils/alea/probaLawFlip.d.ts.map +1 -1
- package/lib/utils/alea/random.d.ts +2 -2
- package/lib/utils/alea/randomEnumValue.d.ts.map +1 -1
- package/lib/utils/alea/randomEnumValue.js +2 -0
- package/lib/utils/alea/shuffle.js +3 -3
- package/lib/utils/average.d.ts.map +1 -1
- package/lib/utils/errors/handleVEAError.d.ts +1 -1
- package/lib/utils/errors/handleVEAError.d.ts.map +1 -1
- package/lib/utils/errors/handleVEAError.js +1 -1
- package/lib/utils/isInt.d.ts.map +1 -1
- package/lib/utils/latex/approxOrEqual.d.ts.map +1 -1
- package/lib/utils/latex/colorize.d.ts.map +1 -1
- package/lib/utils/latex/dollarize.d.ts.map +1 -1
- package/lib/utils/markdown/mdCode.d.ts.map +1 -1
- package/lib/utils/markdown/mdTable.d.ts.map +1 -1
- package/lib/utils/numberPrototype/toScientific.d.ts.map +1 -1
- package/lib/utils/numberPrototype/toSeparatedThousands.d.ts.map +1 -1
- package/lib/utils/strings/getLetter.d.ts.map +1 -1
- package/lib/utils/strings/isLetter.d.ts.map +1 -1
- package/lib/utils/strings/numberToFrenchWord.d.ts.map +1 -1
- package/lib/utils/strings/numberToFrenchWord.js +3 -3
- package/lib/utils/strings/pluralize.d.ts.map +1 -1
- package/lib/utils/strings/randomLetter.d.ts.map +1 -1
- package/lib/utils/strings/requiresApostropheBefore.d.ts.map +1 -1
- package/lib/utils/variance.d.ts.map +1 -1
- package/package.json +5 -2
|
@@ -21,7 +21,7 @@ export declare enum GeneratorOptionType {
|
|
|
21
21
|
select = "select",
|
|
22
22
|
multiselect = "multiselect"
|
|
23
23
|
}
|
|
24
|
-
export type GeneratorOption<TValue =
|
|
24
|
+
export type GeneratorOption<TValue = string | number | boolean | string[]> = {
|
|
25
25
|
id: string;
|
|
26
26
|
label: string;
|
|
27
27
|
type: GeneratorOptionType;
|
|
@@ -68,7 +68,7 @@ export type GeogebraOptions = {
|
|
|
68
68
|
export type KeyboardOptions = {
|
|
69
69
|
parenthesisShouldNotProduceLeftRight?: boolean;
|
|
70
70
|
};
|
|
71
|
-
export interface Question<TIdentifiers
|
|
71
|
+
export interface Question<TIdentifiers, TOptions = object> {
|
|
72
72
|
instruction: string;
|
|
73
73
|
hint?: string;
|
|
74
74
|
correction?: string;
|
|
@@ -91,52 +91,52 @@ export interface Question<TIdentifiers = {}, TOptions = {}> {
|
|
|
91
91
|
answerTable?: string[][];
|
|
92
92
|
initTable?: string[][];
|
|
93
93
|
}
|
|
94
|
-
export type QCMGenerator<TIdentifiers, TOptions =
|
|
94
|
+
export type QCMGenerator<TIdentifiers, TOptions = object> = (n: number, args: {
|
|
95
95
|
answer: string;
|
|
96
96
|
} & TIdentifiers, options?: TOptions) => Proposition[];
|
|
97
|
-
export type VEA<TIdentifiers, TOptions =
|
|
97
|
+
export type VEA<TIdentifiers, TOptions = object> = (studentAnswer: string, args: {
|
|
98
98
|
answer: string;
|
|
99
99
|
} & TIdentifiers, options?: TOptions) => boolean;
|
|
100
|
-
export type TableVEA<TIdentifiers, TOptions =
|
|
100
|
+
export type TableVEA<TIdentifiers, TOptions = object> = (studentAnswer: string[][], args: {
|
|
101
101
|
answerTable: string[][];
|
|
102
102
|
} & TIdentifiers, options?: TOptions) => boolean;
|
|
103
|
-
export type GGBVEA<TIdentifiers, TOptions =
|
|
103
|
+
export type GGBVEA<TIdentifiers, TOptions = object> = (studentAnswer: string[], args: {
|
|
104
104
|
ggbAnswer: string[];
|
|
105
105
|
} & TIdentifiers, options?: TOptions) => boolean;
|
|
106
|
-
export type QuestionGenerator<TIdentifiers
|
|
107
|
-
export type GetHint<TIdentifiers, TOptions =
|
|
108
|
-
export type GetCorrection<TIdentifiers, TOptions =
|
|
109
|
-
export type GetInstruction<TIdentifiers, TOptions =
|
|
110
|
-
export type GetStartStatement<TIdentifiers, TOptions =
|
|
111
|
-
export type GetAnswer<TIdentifiers, TOptions =
|
|
112
|
-
export type GetAnswerTable<TIdentifiers, TOptions =
|
|
113
|
-
export type GetKeys<TIdentifiers, TOptions =
|
|
114
|
-
export type GetGGBAnswer<TIdentifiers, TOptions =
|
|
115
|
-
export type GetGGBOptions<TIdentifiers, TOptions =
|
|
116
|
-
export type GetStudentGGBOptions<TIdentifiers, TOptions =
|
|
117
|
-
export type RebuildIdentifiers<TIdentifiers, TOptions =
|
|
118
|
-
export type GetQuestionFromIdentifiers<TIdentifiers, TOptions =
|
|
119
|
-
export type QuestionHotFix<TIdentifiers, TOptions =
|
|
120
|
-
export type ValidateOptions<TOptions =
|
|
106
|
+
export type QuestionGenerator<TIdentifiers, TOptions = object> = (opts?: TOptions) => Question<TIdentifiers, TOptions>;
|
|
107
|
+
export type GetHint<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string;
|
|
108
|
+
export type GetCorrection<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string;
|
|
109
|
+
export type GetInstruction<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string;
|
|
110
|
+
export type GetStartStatement<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string;
|
|
111
|
+
export type GetAnswer<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string;
|
|
112
|
+
export type GetAnswerTable<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string[][];
|
|
113
|
+
export type GetKeys<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => (KeyId | KeyProps)[];
|
|
114
|
+
export type GetGGBAnswer<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => string[];
|
|
115
|
+
export type GetGGBOptions<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => GeogebraOptions;
|
|
116
|
+
export type GetStudentGGBOptions<TIdentifiers, TOptions = object> = (args: TIdentifiers, options?: TOptions) => GeogebraOptions;
|
|
117
|
+
export type RebuildIdentifiers<TIdentifiers, TOptions = object, TOldIdentifiers = object> = (oldIdentifiers: TOldIdentifiers, options?: TOptions) => TIdentifiers;
|
|
118
|
+
export type GetQuestionFromIdentifiers<TIdentifiers, TOptions = object> = (identifiers: TIdentifiers, options?: TOptions) => Question<TIdentifiers, TOptions>;
|
|
119
|
+
export type QuestionHotFix<TIdentifiers, TOptions = object> = (q: Question<TIdentifiers, TOptions>, options?: TOptions) => Question<TIdentifiers, TOptions>;
|
|
120
|
+
export type ValidateOptions<TOptions = object> = (options: TOptions) => {
|
|
121
121
|
valid: boolean;
|
|
122
122
|
message: string;
|
|
123
123
|
};
|
|
124
|
-
export type TestData<TIdentifiers, TOptions =
|
|
124
|
+
export type TestData<TIdentifiers, TOptions = object> = {
|
|
125
125
|
identifiers: TIdentifiers;
|
|
126
126
|
options?: TOptions;
|
|
127
127
|
answer: string;
|
|
128
128
|
valids?: string[];
|
|
129
129
|
};
|
|
130
|
-
export type GetTests<TIdentifiers, TOptions =
|
|
130
|
+
export type GetTests<TIdentifiers, TOptions = object> = () => TestData<TIdentifiers, TOptions>[];
|
|
131
131
|
type PDFOptions = {
|
|
132
132
|
shouldSpreadPropositions?: boolean;
|
|
133
133
|
};
|
|
134
|
-
export interface Exercise<TIdentifiers =
|
|
134
|
+
export interface Exercise<TIdentifiers, TOptions = object, TOptionValue = string | number | boolean | string[]> {
|
|
135
135
|
id: string;
|
|
136
136
|
isSingleStep: boolean;
|
|
137
137
|
label: string;
|
|
138
138
|
pdfOptions?: PDFOptions;
|
|
139
|
-
options?: GeneratorOption[];
|
|
139
|
+
options?: GeneratorOption<TOptionValue>[];
|
|
140
140
|
connector?: "=" | "\\iff" | "\\approx";
|
|
141
141
|
generator: (n: number, opts?: TOptions) => Question<TIdentifiers, TOptions>[];
|
|
142
142
|
maxAllowedQuestions?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,eAAO,MAAM,SAAS,GACpB,cAAc,WAAW,EAAE,EAC3B,GAAG,MAAM,EACT,SAAS,MAAM,IAAI,SAQpB,CAAC;AACF,eAAO,MAAM,YAAY,GACvB,OAAO,WAAW,EAAE,EACpB,WAAW,MAAM,EACjB,SAAQ,KAAK,GAAG,KAAa,SAQ9B,CAAC;AACF,eAAO,MAAM,YAAY,GACvB,OAAO,WAAW,EAAE,EACpB,WAAW,MAAM,EACjB,SAAQ,KAAK,GAAG,KAAa,SAQ9B,CAAC;AACF,eAAO,MAAM,iBAAiB,GAC5B,OAAO,WAAW,EAAE,EACpB,WAAW,MAAM,EACjB,SAAQ,KAAK,GAAG,KAAa,SAU9B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,OAAO,WAAW,EAAE,EACpB,GAAG,MAAM,EACT,oBAAoB,MAAM,kBAQ3B,CAAC;AAEF,oBAAY,qBAAqB;IAC/B,UAAU,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AACD,oBAAY,mBAAmB;IAC7B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B;AACD,MAAM,MAAM,eAAe,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,IAAI;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,KAAK,GAAG,KAAK,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACjC,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,oCAAoC,CAAC,EAAE,OAAO,CAAC;CAChD,CAAC;AAEF,MAAM,WAAW,QAAQ,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,IAAI,CAAC,EAAE,CAAC,KAAK,GAAG,QAAQ,CAAC,EAAE,CAAC;IAE5B,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,oBAAoB,CAAC,EAAE,eAAe,CAAC;IACvC,KAAK,CAAC,EAAE;QACN,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,cAAc,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC;IACvC,WAAW,EAAE,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC1D,CAAC,EAAE,MAAM,EACT,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,YAAY,EACvC,OAAO,CAAC,EAAE,QAAQ,KACf,WAAW,EAAE,CAAC;AACnB,MAAM,MAAM,GAAG,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACjD,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,YAAY,EACvC,OAAO,CAAC,EAAE,QAAQ,KACf,OAAO,CAAC;AACb,MAAM,MAAM,QAAQ,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACtD,aAAa,EAAE,MAAM,EAAE,EAAE,EACzB,IAAI,EAAE;IAAE,WAAW,EAAE,MAAM,EAAE,EAAE,CAAA;CAAE,GAAG,YAAY,EAChD,OAAO,CAAC,EAAE,QAAQ,KACf,OAAO,CAAC;AACb,MAAM,MAAM,MAAM,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACpD,aAAa,EAAE,MAAM,EAAE,EACvB,IAAI,EAAE;IAAE,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,YAAY,EAC5C,OAAO,CAAC,EAAE,QAAQ,KACf,OAAO,CAAC;AACb,MAAM,MAAM,iBAAiB,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC/D,IAAI,CAAC,EAAE,QAAQ,KACZ,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;AACtC,MAAM,MAAM,OAAO,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACrD,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,CAAC;AACZ,MAAM,MAAM,aAAa,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC3D,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,CAAC;AACZ,MAAM,MAAM,cAAc,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC5D,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,CAAC;AACZ,MAAM,MAAM,iBAAiB,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC/D,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,CAAC;AACZ,MAAM,MAAM,SAAS,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACvD,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,CAAC;AACZ,MAAM,MAAM,cAAc,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC5D,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,EAAE,EAAE,CAAC;AAChB,MAAM,MAAM,OAAO,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACrD,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,CAAC,KAAK,GAAG,QAAQ,CAAC,EAAE,CAAC;AAC1B,MAAM,MAAM,YAAY,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC1D,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,MAAM,EAAE,CAAC;AACd,MAAM,MAAM,aAAa,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC3D,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,eAAe,CAAC;AACrB,MAAM,MAAM,oBAAoB,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAClE,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,QAAQ,KACf,eAAe,CAAC;AACrB,MAAM,MAAM,kBAAkB,CAC5B,YAAY,EACZ,QAAQ,GAAG,MAAM,EACjB,eAAe,GAAG,MAAM,IACtB,CAAC,cAAc,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,QAAQ,KAAK,YAAY,CAAC;AAC1E,MAAM,MAAM,0BAA0B,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CACxE,WAAW,EAAE,YAAY,EACzB,OAAO,CAAC,EAAE,QAAQ,KACf,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;AACtC,MAAM,MAAM,cAAc,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,CAC5D,CAAC,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,EACnC,OAAO,CAAC,EAAE,QAAQ,KACf,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;AACtC,MAAM,MAAM,eAAe,CAAC,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,QAAQ,KAAK;IACtE,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,QAAQ,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI;IACtD,WAAW,EAAE,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,QAAQ,CAAC,YAAY,EAAE,QAAQ,GAAG,MAAM,IAAI,MAAM,QAAQ,CACpE,YAAY,EACZ,QAAQ,CACT,EAAE,CAAC;AACJ,KAAK,UAAU,GAAG;IAEhB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AACF,MAAM,WAAW,QAAQ,CACvB,YAAY,EACZ,QAAQ,GAAG,MAAM,EACjB,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE;IAEnD,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,EAAE,CAAC;IAC1C,SAAS,CAAC,EAAE,GAAG,GAAG,OAAO,GAAG,UAAU,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,KAAK,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,CAAC;IAC9E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EACP,KAAK,GACL,KAAK,GACL,MAAM,GACN,KAAK,GACL,YAAY,GACZ,UAAU,GACV,WAAW,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,YAAY,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC5E,aAAa,CAAC,EAAE,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC5C,kBAAkB,CAAC,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,eAAe,GAAG,QAAQ,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACpE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,cAAc,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACxD,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC1C,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,SAAS,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAExD,YAAY,CAAC,EAAE,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACtD,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACpE,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAChE,0BAA0B,EAAE,0BAA0B,CACpD,YAAY,EACZ,QAAQ,CACT,CAAC;IACF,MAAM,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAChD,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC;IAC1E,QAAQ,CAAC,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;CAC7C"}
|
|
@@ -20,7 +20,7 @@ const options = [
|
|
|
20
20
|
defaultValue: "Simplifiée",
|
|
21
21
|
},
|
|
22
22
|
];
|
|
23
|
-
const getStatementNode = (identifiers
|
|
23
|
+
const getStatementNode = (identifiers) => {
|
|
24
24
|
const { numbers } = identifiers;
|
|
25
25
|
const allNumbersNodes = numbers.map((nb) => new NumberNode(nb));
|
|
26
26
|
let statementTree = new AddNode(allNumbersNodes[0], allNumbersNodes[1]);
|
|
@@ -38,7 +38,7 @@ const getStartStatement = (identifiers, opts) => {
|
|
|
38
38
|
: opts?.explicitWriting === "Les deux"
|
|
39
39
|
? coinFlip()
|
|
40
40
|
: true;
|
|
41
|
-
return getStatementNode(identifiers
|
|
41
|
+
return getStatementNode(identifiers).toTex({
|
|
42
42
|
explicitNumberWriting: explicitNumberWriting,
|
|
43
43
|
});
|
|
44
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addAndSubWithoutRelatives.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/calcul/addAndSubWithoutRelatives.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"addAndSubWithoutRelatives.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/calcul/addAndSubWithoutRelatives.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,EAYT,MAAM,mBAAmB,CAAC;AAG3B;;GAEG;AAEH,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAiFzC,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAa3D,CAAC"}
|
|
@@ -7,8 +7,11 @@ import { handleVEAError } from "../../../utils/errors/handleVEAError.js";
|
|
|
7
7
|
import { addValidProp, tryToAddWrongProp, } from "../../exercise.js";
|
|
8
8
|
import { getDistinctQuestions } from "../../utils/getDistinctQuestions.js";
|
|
9
9
|
const getInstruction = (identifiers) => {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
return `Calculer :
|
|
11
|
+
|
|
12
|
+
$$
|
|
13
|
+
${getStartStatement(identifiers)}
|
|
14
|
+
$$`;
|
|
12
15
|
};
|
|
13
16
|
const getAnswer = (identifiers) => {
|
|
14
17
|
const { numbers } = identifiers;
|
|
@@ -38,7 +41,6 @@ const getQuestionFromIdentifiers = (identifiers) => {
|
|
|
38
41
|
};
|
|
39
42
|
const getAddAndSubWithoutRelatives = () => {
|
|
40
43
|
let answer = -1;
|
|
41
|
-
let statementTree;
|
|
42
44
|
let numbers = [];
|
|
43
45
|
while (answer < 0) {
|
|
44
46
|
const nbOperations = randint(2, 4);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonDivisorsList.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/commonDivisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;
|
|
1
|
+
{"version":3,"file":"commonDivisorsList.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/commonDivisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6GF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAapD,CAAC"}
|
|
@@ -20,7 +20,7 @@ const getAnswer = (identifiers) => {
|
|
|
20
20
|
const answer = res.join(";");
|
|
21
21
|
return answer;
|
|
22
22
|
};
|
|
23
|
-
const getHint = (
|
|
23
|
+
const getHint = () => {
|
|
24
24
|
return `Détermine la liste des diviseurs de chaque nombre, puis identifie ceux qu'ils ont en commun.`;
|
|
25
25
|
};
|
|
26
26
|
const getCorrection = (identifiers) => {
|
|
@@ -70,18 +70,19 @@ const getPropositions = (n, { answer, a, b }) => {
|
|
|
70
70
|
const values = answer.split(";").map((v) => Number(v));
|
|
71
71
|
const max = Math.max(a, b);
|
|
72
72
|
while (propositions.length < n) {
|
|
73
|
-
const newValue = doWhile(() => randint(2, max), (
|
|
73
|
+
const newValue = doWhile(() => randint(2, max), () => values.includes(max));
|
|
74
74
|
const copy = values.slice();
|
|
75
75
|
const willRemove = coinFlip();
|
|
76
|
-
willRemove
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
if (willRemove)
|
|
77
|
+
copy.splice(randint(0, values.length), 1);
|
|
78
|
+
else
|
|
79
|
+
copy.splice(0, 0, newValue);
|
|
79
80
|
tryToAddWrongProp(propositions, willRemove ? copy.join(";") : copy.sort((a, b) => a - b).join(";"));
|
|
80
81
|
}
|
|
81
82
|
return shuffleProps(propositions, n);
|
|
82
83
|
};
|
|
83
84
|
const isAnswerValid = (ans, { answer }) => {
|
|
84
|
-
|
|
85
|
+
const values = ans
|
|
85
86
|
.replaceAll(",", ";")
|
|
86
87
|
.split(";")
|
|
87
88
|
.map((v) => Number(v));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divisibiltyCriteria.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/divisibiltyCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"divisibiltyCriteria.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/divisibiltyCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAKrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA4FF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAerD,CAAC"}
|
|
@@ -22,7 +22,7 @@ const getAnswer = (identifiers) => {
|
|
|
22
22
|
const getInstruction = (identifiers) => {
|
|
23
23
|
return `Parmi les nombres suivants, lequel est un diviseur de $${identifiers.nb}$ ?`;
|
|
24
24
|
};
|
|
25
|
-
const getHint = (
|
|
25
|
+
const getHint = () => {
|
|
26
26
|
return `Voici les critères de divisibilité à connaître :
|
|
27
27
|
|
|
28
28
|
- Les nombres pairs (ceux qui finissent par $0$, $2$, $4$, $6$ ou $8$) sont divisibles par $2$ ;
|
|
@@ -54,7 +54,7 @@ const getCorrection = ({ nb, divisor }) => {
|
|
|
54
54
|
}
|
|
55
55
|
return "";
|
|
56
56
|
};
|
|
57
|
-
const getKeys = (
|
|
57
|
+
const getKeys = () => {
|
|
58
58
|
return [];
|
|
59
59
|
};
|
|
60
60
|
const getDivisibiltyCriteriaQuestion = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divisorsList.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/divisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"divisorsList.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/divisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgGF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAc9C,CAAC"}
|
|
@@ -71,15 +71,16 @@ const getPropositions = (n, { answer }) => {
|
|
|
71
71
|
const newValue = doWhile(() => randint(2, values[values.length - 1]), (x) => values.includes(x));
|
|
72
72
|
const copy = values.slice();
|
|
73
73
|
const willRemove = coinFlip();
|
|
74
|
-
willRemove
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
if (willRemove)
|
|
75
|
+
copy.splice(randint(0, values.length), 1);
|
|
76
|
+
else
|
|
77
|
+
copy.splice(0, 0, newValue);
|
|
77
78
|
tryToAddWrongProp(propositions, willRemove ? copy.join(";") : copy.sort((a, b) => a - b).join(";"));
|
|
78
79
|
}
|
|
79
80
|
return shuffleProps(propositions, n);
|
|
80
81
|
};
|
|
81
82
|
const isAnswerValid = (ans, { answer }) => {
|
|
82
|
-
|
|
83
|
+
const values = ans
|
|
83
84
|
.replaceAll(",", ";")
|
|
84
85
|
.replaceAll("\\ ", "")
|
|
85
86
|
.split(";")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getParityBetweenTwoNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"getParityBetweenTwoNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAyHF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAiB5D,CAAC"}
|
|
@@ -13,7 +13,7 @@ const getPropositions = (n, { answer }) => {
|
|
|
13
13
|
return shuffleProps(propositions, n);
|
|
14
14
|
};
|
|
15
15
|
const getAnswer = (identifiers) => {
|
|
16
|
-
|
|
16
|
+
const { a, b, isAskingParity } = identifiers;
|
|
17
17
|
const start = a + 1;
|
|
18
18
|
const end = b - 1;
|
|
19
19
|
const totalNumbers = end - start + 1;
|
|
@@ -29,14 +29,15 @@ const getInstruction = (identifiers) => {
|
|
|
29
29
|
const { a, b, isAskingParity } = identifiers;
|
|
30
30
|
return `Combien y a-t-il de nombres ${isAskingParity ? "pairs" : "impairs"} entre $${a}$ et $${b}$ ?`;
|
|
31
31
|
};
|
|
32
|
-
const getHint = (
|
|
32
|
+
const getHint = () => {
|
|
33
33
|
return `
|
|
34
34
|
- Un nombre est pair s'il est divisible par $2$ (il finit par $0$, $2$, $4$, $6$ ou $8$) ;
|
|
35
35
|
- un nombre est impair s'il n'est **pas** divisible par $2$ (il finit par $1$, $3$, $5$, $7$ ou $9$) ;
|
|
36
36
|
- seuls les nombres **strictement entre** les deux bornes sont à prendre en compte.`;
|
|
37
37
|
};
|
|
38
38
|
const getCorrection = (identifiers) => {
|
|
39
|
-
let { a, b
|
|
39
|
+
let { a, b } = identifiers;
|
|
40
|
+
const isAskingParity = identifiers.isAskingParity;
|
|
40
41
|
if (a > b) {
|
|
41
42
|
[a, b] = [b, a];
|
|
42
43
|
}
|
|
@@ -62,7 +63,7 @@ Ensuite, comme il y a $${totalNumbers}$ nombres au total, le nombre d'impairs es
|
|
|
62
63
|
|
|
63
64
|
On cherche les nombres ${isAskingParity ? "pairs" : "impairs"}, donc la réponse finale est $${number}$.`;
|
|
64
65
|
};
|
|
65
|
-
const getKeys = (
|
|
66
|
+
const getKeys = () => {
|
|
66
67
|
return [];
|
|
67
68
|
};
|
|
68
69
|
const isAnswerValid = (ans, { answer }) => {
|
|
@@ -73,7 +74,7 @@ const isAnswerValid = (ans, { answer }) => {
|
|
|
73
74
|
return handleVEAError(err);
|
|
74
75
|
}
|
|
75
76
|
};
|
|
76
|
-
const getGetParityBetweenTwoNumbersQuestion = (
|
|
77
|
+
const getGetParityBetweenTwoNumbersQuestion = () => {
|
|
77
78
|
let a = randint(1, 100);
|
|
78
79
|
let b = randint(1, 100, [a, a - 1, a + 1, a - 2, a + 2]);
|
|
79
80
|
if (a > b) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isMultipleOrDivisor.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/isMultipleOrDivisor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"isMultipleOrDivisor.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/isMultipleOrDivisor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EACL,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAM7C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,eAAe,CAAC;IACnB,CAAC,EAAE,eAAe,CAAC;CACpB,CAAC;AAgHF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAkBrD,CAAC"}
|
|
@@ -36,8 +36,7 @@ const getInstruction = (identifiers) => {
|
|
|
36
36
|
$${bTex}$ est un ... de $${aTex}$.
|
|
37
37
|
`;
|
|
38
38
|
};
|
|
39
|
-
const getHint = (
|
|
40
|
-
const { a, b } = identifiers;
|
|
39
|
+
const getHint = () => {
|
|
41
40
|
return `Un nombre $n$ est un multiple d'un nombre $k$ si on peut l'écrire sous la forme $n = k \\times m$ avec $m \\in \\mathbb{N}$.
|
|
42
41
|
|
|
43
42
|
Un nombre $n$ est un diviseur d'un nombre $k$ si on peut écrire $k$ sous la forme $k=n \\times m$ avec $m \\in \\mathbb{N}$.`;
|
|
@@ -64,10 +63,10 @@ $$
|
|
|
64
63
|
${aTex} = ${bTex} \\times ${divideTex}
|
|
65
64
|
$$`;
|
|
66
65
|
};
|
|
67
|
-
const getKeys = (
|
|
66
|
+
const getKeys = () => {
|
|
68
67
|
return [];
|
|
69
68
|
};
|
|
70
|
-
const isAnswerValid = (
|
|
69
|
+
const isAnswerValid = () => {
|
|
71
70
|
try {
|
|
72
71
|
throw Error("VEA not implemented");
|
|
73
72
|
}
|
|
@@ -75,7 +74,7 @@ const isAnswerValid = (ans, { answer }) => {
|
|
|
75
74
|
return handleVEAError(err);
|
|
76
75
|
}
|
|
77
76
|
};
|
|
78
|
-
const getIsMultipleOrDivisorQuestion = (
|
|
77
|
+
const getIsMultipleOrDivisorQuestion = () => {
|
|
79
78
|
const isMultiple = coinFlip();
|
|
80
79
|
const a = randint(10, 100);
|
|
81
80
|
const k = randint(2, 10);
|
|
@@ -67,7 +67,7 @@ const getParitySumsAndProductsQuestion = () => {
|
|
|
67
67
|
const identifiers = { type };
|
|
68
68
|
return getQuestionFromIdentifiers(identifiers);
|
|
69
69
|
};
|
|
70
|
-
const getHint = (
|
|
70
|
+
const getHint = () => {
|
|
71
71
|
return `Un nombre $n$ est pair si et seulement si on peut l'écrire sous la forme $n = 2k$, avec $k\\in \\mathbb{N}$.
|
|
72
72
|
|
|
73
73
|
Un nombre $n$ est impair si et seulement si on peut l'écrire sous la forme $n = 2k+1$, avec $k\\in \\mathbb{N}$.`;
|
|
@@ -190,7 +190,7 @@ const getQuestionFromIdentifiers = (identifiers) => {
|
|
|
190
190
|
};
|
|
191
191
|
return question;
|
|
192
192
|
};
|
|
193
|
-
const getPropositions = (
|
|
193
|
+
const getPropositions = (_n, { answer }) => {
|
|
194
194
|
const propositions = [
|
|
195
195
|
{
|
|
196
196
|
id: v4(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ppcmCalcul.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/ppcmCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"ppcmCalcul.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/ppcmCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqHF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,WAAW,CAc5C,CAAC"}
|
|
@@ -64,7 +64,7 @@ Le plus petit commun multiple de $${a}$ et $${b}$ est donc $${sorted[1]}$.`;
|
|
|
64
64
|
Le plus petit commun multiple de $${a}$ et $${b}$ est donc $${ppcm}$.
|
|
65
65
|
`;
|
|
66
66
|
};
|
|
67
|
-
const getKeys = (
|
|
67
|
+
const getKeys = () => {
|
|
68
68
|
return [];
|
|
69
69
|
};
|
|
70
70
|
const isAnswerValid = (ans, { answer }) => {
|
|
@@ -75,7 +75,7 @@ const isAnswerValid = (ans, { answer }) => {
|
|
|
75
75
|
return handleVEAError(err);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
const getPpcmCalculQuestion = (
|
|
78
|
+
const getPpcmCalculQuestion = () => {
|
|
79
79
|
const areCoPrimes = coinFlip();
|
|
80
80
|
let a;
|
|
81
81
|
let b;
|
|
@@ -18,7 +18,7 @@ const getInstruction = (identifiers) => {
|
|
|
18
18
|
const { n } = identifiers;
|
|
19
19
|
return `Le nombre $${n}$ est-il premier ?`;
|
|
20
20
|
};
|
|
21
|
-
const getHint = (
|
|
21
|
+
const getHint = () => {
|
|
22
22
|
return "Un nombre premier est un nombre qui est divisible seulement par $1$ et par lui-même.";
|
|
23
23
|
};
|
|
24
24
|
const getCorrection = (identifiers) => {
|
|
@@ -44,7 +44,7 @@ const primes = [
|
|
|
44
44
|
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
|
|
45
45
|
73, 79, 83, 89, 97,
|
|
46
46
|
];
|
|
47
|
-
const getPrimeNumberIdentificationQuestion = (
|
|
47
|
+
const getPrimeNumberIdentificationQuestion = () => {
|
|
48
48
|
// 33% de chance d'avoir un premier garanti,
|
|
49
49
|
// 25% de chance que le nombre entre 1 et 100 soit un premier (par hasard)
|
|
50
50
|
// -> 50% de chance au total que le nombre soit premier (0.33 + 0.66 * 0.25 = 0.5)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primeNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/primeNumbers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"primeNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/primeNumbers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAiBT,MAAM,sBAAsB,CAAC;AAmB9B,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA0LF,KAAK,OAAO,GAAG;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAWF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAgBvD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
2
2
|
import { GeneratorOptionTarget, GeneratorOptionType, addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../exercise.js";
|
|
3
3
|
import { getDistinctQuestions } from "../../../utils/getDistinctQuestions.js";
|
|
4
|
-
import { isNumberNode
|
|
4
|
+
import { isNumberNode } from "../../../../tree/nodes/numbers/numberNode.js";
|
|
5
5
|
import { isMultiplyNode, MultiplyNode, } from "../../../../tree/nodes/operators/multiplyNode.js";
|
|
6
|
-
import { isPowerNode, power
|
|
6
|
+
import { isPowerNode, power } from "../../../../tree/nodes/operators/powerNode.js";
|
|
7
7
|
import { operatorComposition } from "../../../../tree/utilities/operatorComposition.js";
|
|
8
8
|
import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
|
|
9
9
|
import { parseAlgebraic } from "../../../../tree/parsers/latexParser.js";
|
|
@@ -13,22 +13,15 @@ import { primeDecomposition } from "../../../../math/utils/arithmetic/primeDecom
|
|
|
13
13
|
import { divide } from "../../../../tree/nodes/operators/divideNode.js";
|
|
14
14
|
import { alignTex } from "../../../../utils/latex/alignTex.js";
|
|
15
15
|
import { random } from "../../../../utils/alea/random.js";
|
|
16
|
-
const rebuildIdentifiers = (oldIds) => {
|
|
17
|
-
if (oldIds.nb)
|
|
18
|
-
return oldIds;
|
|
19
|
-
return {
|
|
20
|
-
nb: oldIds.chosenNumbers.reduce((acc, curr) => acc * curr),
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
16
|
const primes = [2, 3, 5, 7, 11];
|
|
24
17
|
const getStatementNode = (identifiers) => {
|
|
25
18
|
const { nb } = identifiers;
|
|
26
19
|
return nb.toTree();
|
|
27
20
|
};
|
|
28
|
-
const getStartStatement = (identifiers
|
|
21
|
+
const getStartStatement = (identifiers) => {
|
|
29
22
|
return getStatementNode(identifiers).toTex();
|
|
30
23
|
};
|
|
31
|
-
const getInstruction = (identifiers
|
|
24
|
+
const getInstruction = (identifiers) => {
|
|
32
25
|
return `Décomposer en produit de facteurs premiers :
|
|
33
26
|
|
|
34
27
|
$$
|
|
@@ -39,7 +32,7 @@ const getAnswer = (identifiers, opts) => {
|
|
|
39
32
|
const { nb } = identifiers;
|
|
40
33
|
const decomp = primeDecomposition(nb);
|
|
41
34
|
const usePowers = opts?.usePowers;
|
|
42
|
-
|
|
35
|
+
const nodes = [];
|
|
43
36
|
if (usePowers) {
|
|
44
37
|
for (const d of decomp) {
|
|
45
38
|
if (d.power === 1)
|
|
@@ -61,7 +54,7 @@ const getPrimeNumbers = (opts) => {
|
|
|
61
54
|
const rand = randint(2, 5);
|
|
62
55
|
let nb = 0;
|
|
63
56
|
do {
|
|
64
|
-
|
|
57
|
+
const chosenNumbers = [];
|
|
65
58
|
for (let i = 0; i < rand; i++) {
|
|
66
59
|
chosenNumbers.push(random(primes));
|
|
67
60
|
nb = chosenNumbers.reduce((acc, curr) => acc * curr);
|
|
@@ -114,7 +107,7 @@ const getQuestionFromIdentifiers = (identifiers, opts) => {
|
|
|
114
107
|
};
|
|
115
108
|
return question;
|
|
116
109
|
};
|
|
117
|
-
const getPropositions = (n, { answer, nb }
|
|
110
|
+
const getPropositions = (n, { answer, nb }) => {
|
|
118
111
|
const propositions = [];
|
|
119
112
|
addValidProp(propositions, answer);
|
|
120
113
|
const decomp = primeDecomposition(nb);
|
|
@@ -125,9 +118,9 @@ const getPropositions = (n, { answer, nb }, opts) => {
|
|
|
125
118
|
}
|
|
126
119
|
}
|
|
127
120
|
while (propositions.length < n) {
|
|
128
|
-
let
|
|
129
|
-
randomIndex = randint(0, wrongFactors.length);
|
|
130
|
-
wrongFactor = wrongFactors[randomIndex];
|
|
121
|
+
let newFactor, wrongAnswer;
|
|
122
|
+
const randomIndex = randint(0, wrongFactors.length);
|
|
123
|
+
const wrongFactor = wrongFactors[randomIndex];
|
|
131
124
|
newFactor = wrongFactor;
|
|
132
125
|
while (newFactor === wrongFactor) {
|
|
133
126
|
const temp = randint(0, primes.length);
|
|
@@ -143,7 +136,7 @@ const getPropositions = (n, { answer, nb }, opts) => {
|
|
|
143
136
|
}
|
|
144
137
|
return shuffleProps(propositions, n);
|
|
145
138
|
};
|
|
146
|
-
const isAnswerValid = (ans, {
|
|
139
|
+
const isAnswerValid = (ans, { nb }) => {
|
|
147
140
|
try {
|
|
148
141
|
//? aucune idée de comment, mais les élèves envoient parfois des espaces
|
|
149
142
|
const parsed = parseAlgebraic(ans.replaceAll("\\ ", ""));
|
|
@@ -209,7 +202,6 @@ export const primeNumbers = {
|
|
|
209
202
|
subject: "Mathématiques",
|
|
210
203
|
maxAllowedQuestions: 30,
|
|
211
204
|
options,
|
|
212
|
-
rebuildIdentifiers,
|
|
213
205
|
getQuestionFromIdentifiers,
|
|
214
206
|
hasHintAndCorrection: true,
|
|
215
207
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whichMultipleAmI.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/whichMultipleAmI.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"whichMultipleAmI.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/whichMultipleAmI.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAOrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,WAAW,GAAG,WAAW,CAAC;CACjC,CAAC;AAgHF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAiBlD,CAAC"}
|
|
@@ -16,9 +16,6 @@ const getPropositions = (n, { answer }) => {
|
|
|
16
16
|
}
|
|
17
17
|
return shuffleProps(propositions, n);
|
|
18
18
|
};
|
|
19
|
-
const getKeys = (identifiers) => {
|
|
20
|
-
return [];
|
|
21
|
-
};
|
|
22
19
|
const isAnswerValid = (ans, { answer }) => {
|
|
23
20
|
try {
|
|
24
21
|
const parsedAnswer = parseAlgebraic(answer).simplify();
|
|
@@ -55,9 +52,6 @@ const getHint = (identifiers) => {
|
|
|
55
52
|
};
|
|
56
53
|
const getCorrection = (identifiers) => {
|
|
57
54
|
const { n, threshold, mode } = identifiers;
|
|
58
|
-
const div = threshold / n;
|
|
59
|
-
const floor = Math.floor(div);
|
|
60
|
-
const ceil = Math.ceil(div);
|
|
61
55
|
const quotient = Math.floor(threshold / n);
|
|
62
56
|
const left = threshold % n;
|
|
63
57
|
if (mode === "supérieur") {
|
|
@@ -93,7 +87,7 @@ $$
|
|
|
93
87
|
`;
|
|
94
88
|
}
|
|
95
89
|
};
|
|
96
|
-
const getWhichMultipleAmIQuestion = (
|
|
90
|
+
const getWhichMultipleAmIQuestion = () => {
|
|
97
91
|
const x = randint(2, 20);
|
|
98
92
|
let y = 0;
|
|
99
93
|
do {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decimalBoundingOnLine.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/decimals/decimalBoundingOnLine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"decimalBoundingOnLine.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/decimals/decimalBoundingOnLine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAGL,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AAQtC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAwJF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAmBvD,CAAC"}
|
|
@@ -17,8 +17,8 @@ const getPropositions = (n, context) => {
|
|
|
17
17
|
const correctLower = round(Math.floor(x / bounding) * bounding, 2);
|
|
18
18
|
const correctUpper = round(correctLower + bounding, 2);
|
|
19
19
|
while (propositions.length < n) {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
const wrongLower = round(correctLower + randfloat(-2, 2, 1), 1);
|
|
21
|
+
const wrongUpper = round(correctUpper + randfloat(-2, 2, 1), 1);
|
|
22
22
|
const node = new InequationNode([wrongLower.toTree(), vNode, wrongUpper.toTree()], ["<", "<"]);
|
|
23
23
|
tryToAddWrongProp(propositions, node.toTex());
|
|
24
24
|
}
|
|
@@ -51,7 +51,6 @@ $$`;
|
|
|
51
51
|
const getCorrection = ({ point, bounding }) => {
|
|
52
52
|
const pointObj = PointConstructor.fromIdentifiers(point);
|
|
53
53
|
const x = round(pointObj.x.evaluate(), 2);
|
|
54
|
-
const firstDiv = round(x / bounding, 2);
|
|
55
54
|
const quotient = Math.floor(x / bounding);
|
|
56
55
|
const lowerBound = round(quotient * bounding, 2);
|
|
57
56
|
const upperBound = round(lowerBound + bounding, 2);
|
|
@@ -65,7 +64,7 @@ $$
|
|
|
65
64
|
${inequation}
|
|
66
65
|
$$`;
|
|
67
66
|
};
|
|
68
|
-
const getGGBOptions = ({ point
|
|
67
|
+
const getGGBOptions = ({ point }) => {
|
|
69
68
|
const A = PointConstructor.fromIdentifiers(point);
|
|
70
69
|
const commands = [
|
|
71
70
|
...A.toGGBCommand({
|
|
@@ -92,34 +91,10 @@ const getGGBOptions = ({ point, bounding }) => {
|
|
|
92
91
|
coords: [A.x.evaluate() - 2.2, A.x.evaluate() + 2.2, -0.2, 0.2],
|
|
93
92
|
});
|
|
94
93
|
};
|
|
95
|
-
const getKeys = (
|
|
94
|
+
const getKeys = () => {
|
|
96
95
|
return ["inf", "a"];
|
|
97
96
|
};
|
|
98
|
-
|
|
99
|
-
const clean = input.replace(/\\text\{([A-Za-z])\}/g, "$1").replace(/\s/g, "");
|
|
100
|
-
const match = clean.match(/^([-\d,]+)(<|\\leq)([A-Za-z])(<|\\leq)([-\d,]+)$/);
|
|
101
|
-
if (!match)
|
|
102
|
-
return null;
|
|
103
|
-
const [, lowerStr, sym1, variableRaw, sym2, upperStr] = match;
|
|
104
|
-
const symbolMap = {
|
|
105
|
-
"<": "<",
|
|
106
|
-
"\\le": "\\le",
|
|
107
|
-
};
|
|
108
|
-
const variable = variableRaw.toUpperCase();
|
|
109
|
-
return {
|
|
110
|
-
lower: lowerStr.unfrenchify(),
|
|
111
|
-
upper: upperStr.unfrenchify(),
|
|
112
|
-
variable,
|
|
113
|
-
symbols: [symbolMap[sym1], symbolMap[sym2]],
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function constructInequationNodeFromParsed(parsed) {
|
|
117
|
-
const lowerNode = parsed.lower.toTree();
|
|
118
|
-
const upperNode = parsed.upper.toTree();
|
|
119
|
-
const variableNode = new VariableNode(parsed.variable);
|
|
120
|
-
return new InequationNode([lowerNode, variableNode, upperNode], parsed.symbols);
|
|
121
|
-
}
|
|
122
|
-
const isAnswerValid = (ans, { point, bounding, answer }) => {
|
|
97
|
+
const isAnswerValid = (ans, { answer }) => {
|
|
123
98
|
// const parsed = parseInequationFromUser(ans);
|
|
124
99
|
// if (!parsed) return false;
|
|
125
100
|
// const userNode = constructInequationNodeFromParsed(parsed);
|