math-exercises 3.0.64 → 3.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/commonDivisorsList.js +4 -6
- package/lib/exercises/math/calcul/arithmetics/divisibiltyCriteria.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/divisibiltyCriteria.js +4 -5
- package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/divisorsList.js +18 -7
- package/lib/exercises/math/calcul/arithmetics/euclideanDivision.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/euclideanDivision.js +18 -7
- package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/paritySumsAndProducts.js +56 -47
- package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/pgcdCalcul.js +4 -4
- package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/ppcmCalcul.js +0 -4
- package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +4 -3
- package/lib/exercises/math/calcul/decimals/multiplyDecimalByNegativeTens.js +2 -2
- package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.d.ts.map +1 -1
- package/lib/exercises/math/calcul/decimals/multiplyDecimalByTens.js +6 -8
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +2 -5
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +1 -1
- package/lib/exercises/math/calcul/fractions/simplifyFraction.js +2 -2
- package/lib/exercises/math/calcul/operations/index.d.ts +1 -0
- package/lib/exercises/math/calcul/operations/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/operations/index.js +1 -0
- package/lib/exercises/math/calcul/operations/numberInverse.d.ts +8 -0
- package/lib/exercises/math/calcul/operations/numberInverse.d.ts.map +1 -0
- package/lib/exercises/math/calcul/operations/numberInverse.js +113 -0
- package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/rectangleSideAfterReduction.js +4 -2
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.js +65 -35
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +2 -2
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistriXCoeff.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/choseOperationToSolveEquation.js +17 -17
- package/lib/exercises/math/calculLitteral/equation/equa1.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa2.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa3.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa3.js +2 -4
- package/lib/exercises/math/calculLitteral/equation/equa4.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationFromSentenceExercise.js +78 -63
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +3 -3
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +2 -4
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType3.js +1 -1
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoType2.js +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.js +4 -5
- package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/evaluateExpression.js +1 -0
- package/lib/exercises/math/calculLitteral/simplifying/valuateExpression.js +1 -1
- package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/aeraConversion.js +4 -4
- package/lib/exercises/math/conversion/hoursToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/conversion/hoursToDecimal.js +6 -5
- package/lib/exercises/math/conversion/hoursToSecond.d.ts.map +1 -1
- package/lib/exercises/math/conversion/hoursToSecond.js +8 -7
- package/lib/exercises/math/conversion/lengthConversion.js +1 -1
- package/lib/exercises/math/conversion/massConversion.js +2 -2
- package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/volumeCapacityConversion.js +42 -23
- package/lib/exercises/math/conversion/volumeConversion.js +2 -2
- 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/tableReading.d.ts.map +1 -1
- package/lib/exercises/math/dataRepresentations/tableReading.js +4 -4
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeOne.js +27 -14
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/ln/lnDerivativeThree.js +4 -5
- package/lib/exercises/math/derivation/derivative/polynomial/firstDegreeDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/secondDegreeDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/polynomial/thirdDegreeDerivative.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 -5
- package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.d.ts +10 -0
- package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.d.ts.map +1 -0
- package/lib/exercises/math/derivation/tangent/derivativeNumberOrImageReading.js +144 -0
- package/lib/exercises/math/derivation/tangent/derivativeNumberReading.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/derivativeNumberReading.js +17 -12
- package/lib/exercises/math/derivation/tangent/derivativeTangentEquationReading.js +2 -2
- package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.d.ts +7 -0
- package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.d.ts.map +1 -0
- package/lib/exercises/math/derivation/tangent/horizontalTangentFromAlgebraic.js +108 -0
- package/lib/exercises/math/derivation/tangent/index.d.ts +3 -0
- package/lib/exercises/math/derivation/tangent/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/index.js +3 -0
- package/lib/exercises/math/derivation/tangent/tangentEquationWithData.d.ts +9 -0
- package/lib/exercises/math/derivation/tangent/tangentEquationWithData.d.ts.map +1 -0
- package/lib/exercises/math/derivation/tangent/tangentEquationWithData.js +121 -0
- package/lib/exercises/math/derivation/tangent/tangentEquations.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/tangentEquations.js +5 -5
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/exponentialDifferentialEquationWithIC.js +6 -0
- package/lib/exercises/math/functions/affines/signFunction.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/signFunction.js +7 -7
- package/lib/exercises/math/functions/exponential/expEquation.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/expEquation.js +4 -6
- package/lib/exercises/math/functions/exponentials/exponentialsVariations.js +1 -1
- package/lib/exercises/math/geometry/areas/circleArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/circleArea.js +6 -3
- package/lib/exercises/math/geometry/areas/circleRadiusFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/circleRadiusFromArea.js +6 -5
- package/lib/exercises/math/geometry/areas/rectangleArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/rectangleArea.js +5 -4
- package/lib/exercises/math/geometry/areas/rectangleSideFromArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/rectangleSideFromArea.js +3 -2
- package/lib/exercises/math/geometry/areas/rightTriangleArea.js +1 -1
- package/lib/exercises/math/geometry/areas/squareArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/squareArea.js +4 -3
- package/lib/exercises/math/geometry/areas/triangleArea.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/triangleArea.js +8 -5
- package/lib/exercises/math/geometry/areas/triangleAreaV2.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/triangleAreaV2.js +3 -2
- package/lib/exercises/math/geometry/cartesian/drawAlineInGGB.js +1 -1
- package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/readAbscissOnLine.js +8 -6
- package/lib/exercises/math/geometry/cartesian/readAbscissOnSemiLine.js +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildTriangleWithSizes.js +1 -1
- package/lib/exercises/math/geometry/perimeters/circleCircumference.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/circleCircumference.js +10 -8
- package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/circleRadiusFromPerimeter.js +15 -13
- package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/rectanglePerimeter.js +4 -3
- package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/rectangleSideFromPerimeter.js +1 -0
- package/lib/exercises/math/geometry/perimeters/squarePerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/squarePerimeter.js +3 -2
- package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.d.ts.map +1 -1
- package/lib/exercises/math/geometry/perimeters/squareSideFromPerimeter.js +1 -0
- package/lib/exercises/math/geometry/perimeters/trianglePerimeter.js +1 -1
- package/lib/exercises/math/geometry/pythagore/isTriangleRight.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/isTriangleRight.js +6 -3
- package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.d.ts.map +1 -1
- package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +4 -3
- package/lib/exercises/math/geometry/triangles/triangleNature.js +1 -1
- package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.d.ts.map +1 -1
- package/lib/exercises/math/geometry/triangles/triangleThirdAngleValue.js +11 -4
- package/lib/exercises/math/geometry/vectors/lineFromDirectorVector.js +1 -1
- package/lib/exercises/math/geometry/volumes/coneVolume.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/coneVolume.js +7 -8
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.js +21 -22
- package/lib/exercises/math/geometry/volumes/sphereVolume.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/sphereVolume.js +2 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.js +6 -3
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.js +3 -2
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.js +3 -2
- package/lib/exercises/math/percent/averageEvolutionRate.js +1 -1
- package/lib/exercises/math/percent/evolutions/applyPercent.d.ts +9 -0
- package/lib/exercises/math/percent/evolutions/applyPercent.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/applyPercent.js +114 -0
- package/lib/exercises/math/percent/evolutions/averageEvolutionRate.d.ts +8 -0
- package/lib/exercises/math/percent/evolutions/averageEvolutionRate.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/averageEvolutionRate.js +104 -0
- package/lib/exercises/math/percent/evolutions/cmToEvolution.d.ts +7 -0
- package/lib/exercises/math/percent/evolutions/cmToEvolution.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/cmToEvolution.js +88 -0
- package/lib/exercises/math/percent/evolutions/compoundInterest.d.ts +12 -0
- package/lib/exercises/math/percent/evolutions/compoundInterest.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/compoundInterest.js +128 -0
- package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.d.ts +8 -0
- package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/evolutionRateFromValues.js +100 -0
- package/lib/exercises/math/percent/evolutions/evolutionToCM.d.ts +7 -0
- package/lib/exercises/math/percent/evolutions/evolutionToCM.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/evolutionToCM.js +83 -0
- package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.d.ts +8 -0
- package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/findEndValueAfterEvolution.js +102 -0
- package/lib/exercises/math/percent/evolutions/findRightCalculForPriceEvolution.d.ts +10 -0
- package/lib/exercises/math/percent/evolutions/findRightCalculForPriceEvolution.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/findRightCalculForPriceEvolution.js +113 -0
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.d.ts +8 -0
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.js +100 -0
- package/lib/exercises/math/percent/evolutions/globalPercent.d.ts +7 -0
- package/lib/exercises/math/percent/evolutions/globalPercent.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/globalPercent.js +104 -0
- package/lib/exercises/math/percent/evolutions/index.d.ts +12 -0
- package/lib/exercises/math/percent/evolutions/index.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/index.js +11 -0
- package/lib/exercises/math/percent/evolutions/reciprocalPercentage.d.ts +8 -0
- package/lib/exercises/math/percent/evolutions/reciprocalPercentage.d.ts.map +1 -0
- package/lib/exercises/math/percent/evolutions/reciprocalPercentage.js +108 -0
- package/lib/exercises/math/percent/findEndValueAfterEvolution.js +1 -1
- package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
- package/lib/exercises/math/percent/findProportion.js +33 -11
- package/lib/exercises/math/percent/findStartValueAfterEvolution.js +1 -1
- package/lib/exercises/math/percent/findTVA.d.ts.map +1 -1
- package/lib/exercises/math/percent/findTVA.js +4 -4
- package/lib/exercises/math/percent/htToTTC.d.ts.map +1 -1
- package/lib/exercises/math/percent/htToTTC.js +11 -7
- package/lib/exercises/math/percent/index.d.ts +1 -10
- package/lib/exercises/math/percent/index.d.ts.map +1 -1
- package/lib/exercises/math/percent/index.js +1 -10
- package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentToDecimal.js +4 -0
- package/lib/exercises/math/percent/percentWritings.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentWritings.js +4 -4
- package/lib/exercises/math/percent/populationEffectifFromSubPopulation.d.ts.map +1 -1
- package/lib/exercises/math/percent/populationEffectifFromSubPopulation.js +7 -5
- package/lib/exercises/math/percent/reciprocalPercentage.js +1 -1
- package/lib/exercises/math/percent/subPopulationEffectifFromPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/subPopulationEffectifFromPercent.js +6 -4
- package/lib/exercises/math/percent/ttcToHT.d.ts.map +1 -1
- package/lib/exercises/math/percent/ttcToHT.js +4 -4
- package/lib/exercises/math/percent/valuePercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/valuePercent.js +4 -4
- package/lib/exercises/math/powers/calculateNegativePower.d.ts.map +1 -1
- package/lib/exercises/math/powers/calculateNegativePower.js +6 -10
- package/lib/exercises/math/powers/calculatePower.d.ts.map +1 -1
- package/lib/exercises/math/powers/calculatePower.js +1 -0
- package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
- package/lib/exercises/math/powers/decimalToScientific.js +36 -9
- package/lib/exercises/math/powers/powersMixOperations.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersMixOperations.js +0 -4
- package/lib/exercises/math/powers/powersOfTenMixOperations.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersOfTenMixOperations.js +0 -4
- package/lib/exercises/math/powers/powersOfTenToDecimal.js +2 -2
- package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersProduct.js +0 -5
- package/lib/exercises/math/powers/scientificToDecimal.js +2 -2
- package/lib/exercises/math/probaStat/ballsBasicProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/ballsBasicProbas.js +4 -4
- package/lib/exercises/math/probaStat/basicStats/calculateFrequency.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicStats/calculateFrequency.js +4 -4
- package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.d.ts +8 -0
- package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/basicStats/calculateFrequencyInList.js +117 -0
- package/lib/exercises/math/probaStat/basicStats/index.d.ts +1 -0
- package/lib/exercises/math/probaStat/basicStats/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/basicStats/index.js +1 -0
- package/lib/exercises/math/probaStat/binomial/calculateProbaOfBinomialDistribution.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/binomial/calculateProbaOfBinomialDistribution.js +66 -41
- package/lib/exercises/math/probaStat/cardBasicProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/cardBasicProbas.js +4 -2
- package/lib/exercises/math/probaStat/conditionalProbability.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/conditionalProbability.js +168 -88
- package/lib/exercises/math/probaStat/diceBasicProbas.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/diceBasicProbas.js +3 -0
- package/lib/exercises/math/probaStat/independancy.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/independancy.js +18 -8
- package/lib/exercises/math/probaStat/issuesCountingForCards.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/issuesCountingForCards.js +41 -15
- package/lib/exercises/math/probaStat/probaFromTableNoContext.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/probaFromTableNoContext.js +4 -4
- package/lib/exercises/math/probaStat/probaFromTableWithContext.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/probaFromTableWithContext.js +5 -2
- package/lib/exercises/math/probaStat/probabilityTree.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/probabilityTree.js +8 -4
- package/lib/exercises/math/probaStat/stats1var/medianList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/medianList.js +1 -4
- package/lib/exercises/math/probaStat/stats1var/standardDeviationList.js +1 -1
- package/lib/exercises/math/probaStat/stats1var/standardDeviationTable.js +1 -1
- package/lib/exercises/math/probaStat/stats2var/averagePoint.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats2var/averagePoint.js +25 -22
- package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats2var/fineAdjustementExercise.js +52 -43
- package/lib/exercises/math/sampling/confidenceInterval.d.ts.map +1 -1
- package/lib/exercises/math/sampling/confidenceInterval.js +4 -4
- package/lib/exercises/math/sampling/fluctuationInterval.d.ts.map +1 -1
- package/lib/exercises/math/sampling/fluctuationInterval.js +4 -4
- package/lib/exercises/math/sampling/isSamplingRepresentative.d.ts.map +1 -1
- package/lib/exercises/math/sampling/isSamplingRepresentative.js +5 -5
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.js +0 -2
- package/lib/exercises/math/sequences/geometric/geometricVariations.js +1 -1
- package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/inequalityToInterval.js +4 -4
- package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalToInequality.js +4 -4
- package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalsIntersection.js +8 -1
- package/lib/exercises/math/sets/intervals/intervalsUnion.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalsUnion.js +3 -0
- package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.js +0 -5
- package/lib/exercises/math/spaceGeometry/index.js +1 -0
- package/lib/exercises/math/spaceGeometry/planes/index.d.ts +2 -0
- package/lib/exercises/math/spaceGeometry/planes/index.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/planes/index.js +2 -0
- package/lib/exercises/math/spaceGeometry/planes/isPointOnCartesianPlane.d.ts +2 -0
- package/lib/exercises/math/spaceGeometry/planes/isPointOnCartesianPlane.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/planes/isPointOnCartesianPlane.js +102 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +4 -4
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.js +4 -2
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +4 -6
- package/lib/exercises/math/trigonometry/arcLength.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/arcLength.js +5 -2
- package/lib/exercises/math/trigonometry/basicEquationCos.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/basicEquationCos.js +4 -3
- package/lib/exercises/math/trigonometry/basicEquationSin.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/basicEquationSin.js +4 -3
- package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/basicTrigoSystemEquation.js +4 -3
- package/lib/exercises/math/trigonometry/calculateCosSinAndTan.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/calculateCosSinAndTan.js +1 -0
- package/lib/exercises/math/trigonometry/degreeToRadians.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/degreeToRadians.js +7 -6
- package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/equationCosOnRandomInterval.js +4 -3
- package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/equationSinOnRandomInterval.js +4 -3
- package/lib/exercises/math/trigonometry/mainAngleMeasure.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/mainAngleMeasure.js +4 -5
- package/lib/exercises/math/trigonometry/mainRemarkableValues.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/mainRemarkableValues.js +4 -3
- package/lib/exercises/math/trigonometry/trigonometry.js +2 -2
- package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometryAngleCalcul.js +5 -3
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +6 -6
- package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.js +1 -1
- package/lib/index.d.ts +47 -25
- package/lib/index.d.ts.map +1 -1
- package/lib/math/spaceGeometry/plane.d.ts +9 -0
- package/lib/math/spaceGeometry/plane.d.ts.map +1 -0
- package/lib/math/spaceGeometry/plane.js +22 -0
- package/lib/tree/nodes/algebraicNode.d.ts +1 -0
- package/lib/tree/nodes/algebraicNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equationSolutionNode.d.ts +2 -2
- package/lib/tree/nodes/equations/equationSolutionNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equationSolutionNode.js +2 -2
- package/lib/tree/nodes/operators/fractionNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/fractionNode.js +4 -0
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ $$`;
|
|
|
43
43
|
};
|
|
44
44
|
const getHint = (identifiers) => {
|
|
45
45
|
const { a, b, x } = identifiers;
|
|
46
|
-
return `Il faut isoler $x$ à gauche. Pour cela, effectue
|
|
46
|
+
return `Il faut isoler $x$ à gauche. Pour cela, effectue des deux côtés de l'équation l'opération qui permet de supprimer la multiplication par $${a}$.`;
|
|
47
47
|
};
|
|
48
48
|
const getFirstDegreeEquationIntQuestion = () => {
|
|
49
49
|
const a = randint(-15, 15, [0, 1]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firstDegreeEquationIntType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;
|
|
1
|
+
{"version":3,"file":"firstDegreeEquationIntType2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6HF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAkB7D,CAAC"}
|
|
@@ -20,16 +20,14 @@ ${statementTex}
|
|
|
20
20
|
$$`;
|
|
21
21
|
};
|
|
22
22
|
const getHint = (identifiers) => {
|
|
23
|
-
return "
|
|
23
|
+
return "Isole le terme $x$ dans le membre gauche de l'équation.";
|
|
24
24
|
};
|
|
25
25
|
const getCorrection = (identifiers) => {
|
|
26
26
|
const { a, b, c, x } = identifiers;
|
|
27
27
|
const equation = new EqualNode(new AddNode(new MultiplyNode(a.toTree(), new VariableNode("x")), b.toTree()).simplify({ forbidFactorize: true }), c.toTree());
|
|
28
28
|
const statementTex = equation.toTex();
|
|
29
29
|
const answer = getAnswer(identifiers);
|
|
30
|
-
return `
|
|
31
|
-
l'éliminer du côté gauche. Ensuite, diviser les deux côtés de l'équation par
|
|
32
|
-
$${a}$ pour isoler $x$, ce qui donne :
|
|
30
|
+
return `On commence par soustraire $${b}$ des deux côtés de l'équation pour l'éliminer du côté gauche. Ensuite, on divise les deux côtés de l'équation par $${a}$ pour isoler $x$.
|
|
33
31
|
|
|
34
32
|
${alignTex([
|
|
35
33
|
[
|
|
@@ -23,7 +23,7 @@ const getAnswer = (identifiers) => {
|
|
|
23
23
|
return answer;
|
|
24
24
|
};
|
|
25
25
|
const getHint = (identifiers) => {
|
|
26
|
-
return `Commence par regrouper les termes en $x$ d'un même côté de l'équation. Puis
|
|
26
|
+
return `Commence par regrouper les termes en $x$ d'un même côté de l'équation. Puis isole $x$ en effectuant les bonnes opérations.`;
|
|
27
27
|
};
|
|
28
28
|
const getCorrection = (identifiers) => {
|
|
29
29
|
const { a, b, c, d } = identifiers;
|
|
@@ -34,7 +34,7 @@ const getAnswer = (identifiers) => {
|
|
|
34
34
|
return answer;
|
|
35
35
|
};
|
|
36
36
|
const getHint = (identifiers) => {
|
|
37
|
-
return "Un produit est nul si et seulement si un des deux facteurs est nul.
|
|
37
|
+
return "Un produit est nul si et seulement si un des deux facteurs est nul. Il faut donc trouver les valeurs de $x$ qui rendent un des deux facteurs nul.";
|
|
38
38
|
};
|
|
39
39
|
const getCorrection = (identifiers) => {
|
|
40
40
|
const { a, b, c, d } = identifiers;
|
|
@@ -39,7 +39,7 @@ ${statement.toTex()}
|
|
|
39
39
|
$$`;
|
|
40
40
|
};
|
|
41
41
|
const getHint = (identifiers) => {
|
|
42
|
-
return `Repère d'abord le facteur commun dans cette expression. Puis
|
|
42
|
+
return `Repère d'abord le facteur commun dans cette expression. Puis multiplie ce facteur commun par les autres termes de l'expression.`;
|
|
43
43
|
};
|
|
44
44
|
const getCorrection = (identifiers) => {
|
|
45
45
|
const affine1 = new Affine(identifiers.a, identifiers.b);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firstDegreeInequationsType0.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"firstDegreeInequationsType0.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAgB9C,cAAc;AAEd,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAmKF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAiBtE,CAAC"}
|
|
@@ -64,6 +64,9 @@ const getFirstDegreeInequationsQuestion = (opts) => {
|
|
|
64
64
|
const c = randint(-10, 11);
|
|
65
65
|
const ineqType = InequationSymbolConstructor.random();
|
|
66
66
|
const identifiers = { ineqType: ineqType.symbol, b: affine.b, c };
|
|
67
|
+
return getQuestionFromIdentifiers(identifiers, opts);
|
|
68
|
+
};
|
|
69
|
+
const getQuestionFromIdentifiers = (identifiers, opts) => {
|
|
67
70
|
const question = {
|
|
68
71
|
answer: getAnswer(identifiers, opts),
|
|
69
72
|
instruction: getInstruction(identifiers, opts),
|
|
@@ -132,9 +135,5 @@ export const firstDegreeInequationsType0 = {
|
|
|
132
135
|
subject: "Mathématiques",
|
|
133
136
|
options,
|
|
134
137
|
hasHintAndCorrection: true,
|
|
135
|
-
|
|
136
|
-
getCorrection,
|
|
137
|
-
getHint,
|
|
138
|
-
getInstruction,
|
|
139
|
-
getKeys,
|
|
138
|
+
getQuestionFromIdentifiers,
|
|
140
139
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluateExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/evaluateExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAoFF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"evaluateExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/simplifying/evaluateExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAoFF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAiBpD,CAAC"}
|
|
@@ -36,7 +36,7 @@ $$
|
|
|
36
36
|
${getExpression(identifiers).toTex()}
|
|
37
37
|
$$
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Quel calcul faut-il effectuer pour déterminer la valeur de cette expression pour $x=${xValue}$ ?`;
|
|
40
40
|
};
|
|
41
41
|
const getHint = (identifiers) => {
|
|
42
42
|
return `L'écriture $ax$ signifie : $a\\times x$.`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeraConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/aeraConversion.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"aeraConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/aeraConversion.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,QAAQ,EAaT,MAAM,mBAAmB,CAAC;AAE3B,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAmIF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAahD,CAAC"}
|
|
@@ -73,6 +73,9 @@ const getAeraConversion = () => {
|
|
|
73
73
|
randomUnitIndex,
|
|
74
74
|
randomUnitInstructionIndex,
|
|
75
75
|
};
|
|
76
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
77
|
+
};
|
|
78
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
76
79
|
const question = {
|
|
77
80
|
instruction: getInstruction(identifiers),
|
|
78
81
|
answer: getAnswer(identifiers),
|
|
@@ -110,9 +113,6 @@ export const aeraConversion = {
|
|
|
110
113
|
qcmTimer: 60,
|
|
111
114
|
freeTimer: 60,
|
|
112
115
|
subject: "Mathématiques",
|
|
113
|
-
|
|
114
|
-
getInstruction,
|
|
115
|
-
getHint,
|
|
116
|
-
getCorrection,
|
|
116
|
+
getQuestionFromIdentifiers,
|
|
117
117
|
hasHintAndCorrection: true,
|
|
118
118
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hoursToDecimal.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/hoursToDecimal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAwIF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"hoursToDecimal.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/hoursToDecimal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAwIF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAehD,CAAC"}
|
|
@@ -37,9 +37,9 @@ const getHint = (identifiers) => {
|
|
|
37
37
|
const hours = Math.floor(dec);
|
|
38
38
|
const mins = round((dec - hours) * 100 * 0.6, 0);
|
|
39
39
|
if (isDecimalToHours) {
|
|
40
|
-
return `Dans $1\\ \\
|
|
40
|
+
return `Dans $1\\ \\textrm{h}$, il y a $60$ minutes. Un calcul de proportionnalité permet donc de déterminer combien y a-t-il de minutes dans $${dec.frenchify()} \\ \\textrm{h}$.`;
|
|
41
41
|
}
|
|
42
|
-
return `$60$ minutes correspondent à $1 \\ \\
|
|
42
|
+
return `$60$ minutes correspondent à $1 \\ \\textrm{h}$. Un calcul de proportionnalité permet donc de convertir $${mins} \\ \\textrm{min}$ en heures.`;
|
|
43
43
|
};
|
|
44
44
|
const getCorrection = (identifiers) => {
|
|
45
45
|
const { dec, isDecimalToHours } = identifiers;
|
|
@@ -47,15 +47,15 @@ const getCorrection = (identifiers) => {
|
|
|
47
47
|
const mins = round((dec - hours) * 100 * 0.6, 0);
|
|
48
48
|
const fracDec = round(dec - Math.floor(dec), 2);
|
|
49
49
|
if (isDecimalToHours) {
|
|
50
|
-
return `Dans $1\\ \\
|
|
50
|
+
return `Dans $1\\ \\textrm{h}$, il y a $60$ minutes. Un calcul de proportionnalité permet donc de déterminer combien il y a de minutes dans $${fracDec.frenchify()} \\ \\textrm{h}$ :
|
|
51
51
|
|
|
52
52
|
$$
|
|
53
53
|
${multiply(fracDec, 60).toTex()} ${approxOrEqual(fracDec * 60, 0).join("")}
|
|
54
54
|
$$
|
|
55
55
|
|
|
56
|
-
$${dec.frenchify()}\\ \\
|
|
56
|
+
$${dec.frenchify()}\\ \\textrm{h}$ correspond donc à $${getAnswer(identifiers)}$.`;
|
|
57
57
|
}
|
|
58
|
-
return `$60$ minutes correspondent à $1 \\ \\
|
|
58
|
+
return `$60$ minutes correspondent à $1 \\ \\textrm{h}$. Un calcul de proportionnalité permet donc de convertir $${mins} \\ \\textrm{min}$ en heures :
|
|
59
59
|
|
|
60
60
|
$$
|
|
61
61
|
${frac(mins, 60).toTex()} ${approxOrEqual(mins / 60, 2).join("")}
|
|
@@ -125,4 +125,5 @@ export const hoursToDecimal = {
|
|
|
125
125
|
subject: "Mathématiques",
|
|
126
126
|
getQuestionFromIdentifiers,
|
|
127
127
|
hasHintAndCorrection: true,
|
|
128
|
+
shouldHaveCalculator: true,
|
|
128
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hoursToSecond.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/hoursToSecond.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"hoursToSecond.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/hoursToSecond.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA8FF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAe/C,CAAC"}
|
|
@@ -19,7 +19,7 @@ const getAnswer = (identifiers) => {
|
|
|
19
19
|
};
|
|
20
20
|
const getInstruction = (identifiers) => {
|
|
21
21
|
const { hours, mins, seconds } = identifiers;
|
|
22
|
-
return `Combien y a-t-il de secondes dans $${hours}\\
|
|
22
|
+
return `Combien y a-t-il de secondes dans $${hours}\\ \\textrm{h} \\ ${mins} \\ \\textrm{min} \\ ${seconds}\\ \\textrm{s}$ ?`;
|
|
23
23
|
};
|
|
24
24
|
const getHint = (identifiers) => {
|
|
25
25
|
return `Dans une minute, il y a $60$ secondes. Dans une heure, il y a $60$ minutes.`;
|
|
@@ -32,7 +32,7 @@ $$
|
|
|
32
32
|
60\\times ${mins} = ${60 * mins}
|
|
33
33
|
$$
|
|
34
34
|
|
|
35
|
-
Puis
|
|
35
|
+
Puis dans une heure, il y a $60$ minutes, qui chacune compte $60$ secondes. Ainsi, dans une heure, il y a $60\\times 60 = 3600$ secondes.
|
|
36
36
|
|
|
37
37
|
Le nombre de secondes dans $${hours}$ heures est donc :
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ $$
|
|
|
40
40
|
3600\\times ${hours} = ${3600 * hours}
|
|
41
41
|
$$
|
|
42
42
|
|
|
43
|
-
Au final, dans $${hours}\\
|
|
43
|
+
Au final, dans $${hours}\\ \\textrm{h} \\ ${mins} \\ \\textrm{min} \\ ${seconds}\\ \\textrm{s}$, il y a donc :
|
|
44
44
|
|
|
45
45
|
$$
|
|
46
46
|
${3600 * hours}+ ${60 * mins} + ${seconds} = ${getAnswer(identifiers)}
|
|
@@ -64,6 +64,9 @@ const getHoursToSecondQuestion = (ops) => {
|
|
|
64
64
|
mins,
|
|
65
65
|
seconds,
|
|
66
66
|
};
|
|
67
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
68
|
+
};
|
|
69
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
67
70
|
const question = {
|
|
68
71
|
answer: getAnswer(identifiers),
|
|
69
72
|
instruction: getInstruction(identifiers),
|
|
@@ -86,9 +89,7 @@ export const hoursToSecond = {
|
|
|
86
89
|
getPropositions,
|
|
87
90
|
isAnswerValid,
|
|
88
91
|
subject: "Mathématiques",
|
|
89
|
-
|
|
90
|
-
getHint,
|
|
91
|
-
getCorrection,
|
|
92
|
-
getAnswer,
|
|
92
|
+
getQuestionFromIdentifiers,
|
|
93
93
|
hasHintAndCorrection: true,
|
|
94
|
+
shouldHaveCalculator: true,
|
|
94
95
|
};
|
|
@@ -48,7 +48,7 @@ Il suffit alors de multiplier $${randomLength.frenchify()}$ par $${coeff.toTex()
|
|
|
48
48
|
|
|
49
49
|
${alignTex([
|
|
50
50
|
[
|
|
51
|
-
`${randomLength.frenchify()} \\textrm{${unit}} `,
|
|
51
|
+
`${randomLength.frenchify()} \\ \\textrm{${unit}} `,
|
|
52
52
|
"=",
|
|
53
53
|
`${multiply(coeff, randomLength).toTex()}\\ \\textrm{${target}}`,
|
|
54
54
|
],
|
|
@@ -36,7 +36,7 @@ Il suffit alors de multiplier $${randomMass.frenchify()}$ par $${coeff.toTex()}$
|
|
|
36
36
|
|
|
37
37
|
${alignTex([
|
|
38
38
|
[
|
|
39
|
-
`${randomMass.frenchify()} \\textrm{${unit}} `,
|
|
39
|
+
`${randomMass.frenchify()} \\ \\textrm{${unit}} `,
|
|
40
40
|
"=",
|
|
41
41
|
`${multiply(coeff, randomMass).toTex()}\\ \\textrm{${target}}`,
|
|
42
42
|
],
|
|
@@ -49,7 +49,7 @@ const getInstruction = (identifiers) => {
|
|
|
49
49
|
return `Compléter :
|
|
50
50
|
|
|
51
51
|
$$
|
|
52
|
-
${randomMass.frenchify()} \\textrm{${units[randomUnitIndex]}} = \\ldots \\textrm{${units[randomUnitInstructionIndex]}}
|
|
52
|
+
${randomMass.frenchify()}\\ \\textrm{${units[randomUnitIndex]}} = \\ldots \\ \\textrm{${units[randomUnitInstructionIndex]}}
|
|
53
53
|
$$`;
|
|
54
54
|
};
|
|
55
55
|
const getAnswer = (identifiers) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumeCapacityConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/volumeCapacityConversion.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"volumeCapacityConversion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/conversion/volumeCapacityConversion.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,EAWT,MAAM,mBAAmB,CAAC;AAG3B,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAuGF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAY1D,CAAC"}
|
|
@@ -7,40 +7,61 @@ import { addValidProp, tryToAddWrongProp, } from "../../exercise.js";
|
|
|
7
7
|
import { getDistinctQuestions } from "../../utils/getDistinctQuestions.js";
|
|
8
8
|
const volumeUnits = ["mm", "cm", "dm", "m", "dam", "hm", "km"];
|
|
9
9
|
const capacityUnits = ["mL", "cL", "dL", "L", "daL", "hL", "kL"];
|
|
10
|
-
const
|
|
11
|
-
const randomUnitInstructionIndex =
|
|
12
|
-
const randomUnitIndex = randint(
|
|
13
|
-
// cette manip a pour but d'éviter des conversion avec des nombres trop grand/petit
|
|
14
|
-
randomUnitInstructionIndex - 1 < 0 ? 0 : randomUnitInstructionIndex - 1, randomUnitInstructionIndex + 2 > 7 ? 7 : randomUnitInstructionIndex + 2);
|
|
15
|
-
const random = doWhile(() => DecimalConstructor.random(0, 1000, randint(0, 4)), (x) => x.value === 0);
|
|
10
|
+
const getInstruction = (identifiers) => {
|
|
11
|
+
const { randomValue, randomUnitIndex, randomUnitInstructionIndex, isVolumeToCapacity, } = identifiers;
|
|
16
12
|
let instructionUnit;
|
|
17
13
|
let answerUnit;
|
|
18
|
-
let answer;
|
|
19
|
-
const isVolumeToCapacity = coinFlip();
|
|
20
14
|
if (isVolumeToCapacity) {
|
|
21
15
|
instructionUnit = volumeUnits[randomUnitIndex];
|
|
22
16
|
answerUnit = capacityUnits[randomUnitInstructionIndex];
|
|
23
|
-
answer = random.multiplyByPowerOfTen(3 * (randomUnitIndex - 2) + 3 - randomUnitInstructionIndex);
|
|
24
17
|
}
|
|
25
18
|
else {
|
|
26
19
|
instructionUnit = capacityUnits[randomUnitIndex];
|
|
27
20
|
answerUnit = volumeUnits[randomUnitInstructionIndex];
|
|
28
|
-
answer = random.multiplyByPowerOfTen(randomUnitIndex - 3 + 3 * (2 - randomUnitInstructionIndex));
|
|
29
21
|
}
|
|
30
|
-
|
|
22
|
+
return `Compléter :
|
|
23
|
+
|
|
24
|
+
$$
|
|
25
|
+
${randomValue.frenchify()}\\ \\textrm{${instructionUnit}}${isVolumeToCapacity ? "^3" : ""} = \\ldots \\ \\textrm{${answerUnit}}${!isVolumeToCapacity ? "^3" : ""}
|
|
26
|
+
$$`;
|
|
27
|
+
};
|
|
28
|
+
const getAnswer = (identifiers) => {
|
|
29
|
+
const { randomValue, randomUnitIndex, randomUnitInstructionIndex, isVolumeToCapacity, } = identifiers;
|
|
30
|
+
if (isVolumeToCapacity) {
|
|
31
|
+
return new Decimal(randomValue)
|
|
32
|
+
.multiplyByPowerOfTen(3 * (randomUnitIndex - 2) + 3 - randomUnitInstructionIndex)
|
|
33
|
+
.toTree()
|
|
34
|
+
.toTex();
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
return new Decimal(randomValue)
|
|
38
|
+
.multiplyByPowerOfTen(randomUnitIndex - 3 + 3 * (2 - randomUnitInstructionIndex))
|
|
39
|
+
.toTree()
|
|
40
|
+
.toTex();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const getVolumeCapacityConversion = () => {
|
|
44
|
+
const randomUnitInstructionIndex = randint(0, 7);
|
|
45
|
+
const randomUnitIndex = randint(
|
|
46
|
+
// cette manip a pour but d'éviter des conversion avec des nombres trop grand/petit
|
|
47
|
+
randomUnitInstructionIndex - 1 < 0 ? 0 : randomUnitInstructionIndex - 1, randomUnitInstructionIndex + 2 > 7 ? 7 : randomUnitInstructionIndex + 2);
|
|
48
|
+
const random = doWhile(() => DecimalConstructor.random(0, 1000, randint(0, 4)), (x) => x.value === 0);
|
|
49
|
+
const isVolumeToCapacity = coinFlip();
|
|
50
|
+
const identifiers = {
|
|
51
|
+
isVolumeToCapacity,
|
|
52
|
+
randomUnitIndex,
|
|
53
|
+
randomUnitInstructionIndex,
|
|
54
|
+
randomValue: random.value,
|
|
55
|
+
};
|
|
56
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
57
|
+
};
|
|
58
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
31
59
|
const question = {
|
|
32
|
-
instruction:
|
|
33
|
-
|
|
34
|
-
.replace(".", ",")} \\textrm{${instructionUnit}}${isVolumeToCapacity ? "^3" : ""} = \\ldots \\textrm{${answerUnit}}${!isVolumeToCapacity ? "^3" : ""}$`,
|
|
35
|
-
answer: answerTex,
|
|
60
|
+
instruction: getInstruction(identifiers),
|
|
61
|
+
answer: getAnswer(identifiers),
|
|
36
62
|
keys: [],
|
|
37
63
|
answerFormat: "tex",
|
|
38
|
-
identifiers
|
|
39
|
-
isVolumeToCapacity,
|
|
40
|
-
randomUnitIndex,
|
|
41
|
-
randomUnitInstructionIndex,
|
|
42
|
-
randomValue: random.value,
|
|
43
|
-
},
|
|
64
|
+
identifiers,
|
|
44
65
|
};
|
|
45
66
|
return question;
|
|
46
67
|
};
|
|
@@ -62,8 +83,6 @@ export const volumeCapacityConversion = {
|
|
|
62
83
|
connector: "=",
|
|
63
84
|
getPropositions,
|
|
64
85
|
label: "Conversion d'un volume vers une contenance et vice versa",
|
|
65
|
-
levels: ["6ème", "5ème", "CAP", "2ndPro"],
|
|
66
|
-
sections: ["Conversions"],
|
|
67
86
|
isSingleStep: true,
|
|
68
87
|
generator: (nb) => getDistinctQuestions(getVolumeCapacityConversion, nb),
|
|
69
88
|
qcmTimer: 60,
|
|
@@ -24,7 +24,7 @@ const getInstruction = (identifiers) => {
|
|
|
24
24
|
return `Compléter :
|
|
25
25
|
|
|
26
26
|
$$
|
|
27
|
-
${randomVolume.frenchify()} \\textrm{${units[randomUnitIndex]}}^3 = \\ldots \\textrm{${units[randomUnitInstructionIndex]}}^3
|
|
27
|
+
${randomVolume.frenchify()} \\textrm{${units[randomUnitIndex]}}^3 = \\ldots \\ \\textrm{${units[randomUnitInstructionIndex]}}^3
|
|
28
28
|
$$`;
|
|
29
29
|
};
|
|
30
30
|
const getAnswer = (identifiers) => {
|
|
@@ -65,7 +65,7 @@ Il suffit alors de multiplier $${randomVolume.frenchify()}$ par $${coeff.toTex()
|
|
|
65
65
|
|
|
66
66
|
${alignTex([
|
|
67
67
|
[
|
|
68
|
-
`${randomVolume.frenchify()} \\textrm{${unit}}^3 `,
|
|
68
|
+
`${randomVolume.frenchify()}\\ \\textrm{${unit}}^3 `,
|
|
69
69
|
"=",
|
|
70
70
|
`${multiply(coeff, randomVolume).toTex()}\\ \\textrm{${target}}^3`,
|
|
71
71
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"barChartReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/dataRepresentations/barChartReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"barChartReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/dataRepresentations/barChartReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAOrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA4HF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAajD,CAAC;;AAgFF,oBAAoB;AACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG"}
|
|
@@ -22,7 +22,7 @@ const getInstruction = (identifiers) => {
|
|
|
22
22
|
const { labels, data, itemAsked } = identifiers;
|
|
23
23
|
return `Un producteur trie sa récolte de pommes selon leur diamètre. Le diagramme en bâtons ci-dessous représente ses résultats.
|
|
24
24
|
|
|
25
|
-
Combien de pommes de $${labels[itemAsked]}
|
|
25
|
+
Combien de pommes de $${labels[itemAsked]}\\ \\textrm{cm}$ de diamètre le producteur a-t-il récoltées ?
|
|
26
26
|
`;
|
|
27
27
|
};
|
|
28
28
|
// const getHint: GetHint<Identifiers> = (identifiers) => {
|
|
@@ -89,6 +89,9 @@ const getBarChartReadingQuestion = (ops) => {
|
|
|
89
89
|
data,
|
|
90
90
|
itemAsked,
|
|
91
91
|
};
|
|
92
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
93
|
+
};
|
|
94
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
92
95
|
const question = {
|
|
93
96
|
answer: getAnswer(identifiers),
|
|
94
97
|
instruction: getInstruction(identifiers),
|
|
@@ -111,10 +114,7 @@ export const barChartReading = {
|
|
|
111
114
|
getPropositions,
|
|
112
115
|
isAnswerValid,
|
|
113
116
|
subject: "Mathématiques",
|
|
114
|
-
|
|
115
|
-
// getHint,
|
|
116
|
-
// getCorrection,
|
|
117
|
-
getAnswer,
|
|
117
|
+
getQuestionFromIdentifiers,
|
|
118
118
|
hasGeogebra: true,
|
|
119
119
|
};
|
|
120
120
|
// !signtable
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/dataRepresentations/tableReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"tableReading.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/dataRepresentations/tableReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IAIjB,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAkGF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAa9C,CAAC"}
|
|
@@ -73,6 +73,9 @@ const getTableReadingQuestion = (ops) => {
|
|
|
73
73
|
caseAsked,
|
|
74
74
|
values,
|
|
75
75
|
};
|
|
76
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
77
|
+
};
|
|
78
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
76
79
|
const question = {
|
|
77
80
|
answer: getAnswer(identifiers),
|
|
78
81
|
instruction: getInstruction(identifiers),
|
|
@@ -95,8 +98,5 @@ export const tableReading = {
|
|
|
95
98
|
getPropositions,
|
|
96
99
|
isAnswerValid,
|
|
97
100
|
subject: "Mathématiques",
|
|
98
|
-
|
|
99
|
-
// getHint,
|
|
100
|
-
// getCorrection,
|
|
101
|
-
getAnswer,
|
|
101
|
+
getQuestionFromIdentifiers,
|
|
102
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lnDerivativeOne.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/derivation/derivative/ln/lnDerivativeOne.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"lnDerivativeOne.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/derivation/derivative/ln/lnDerivativeOne.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAiBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoFF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAYjD,CAAC"}
|
|
@@ -6,7 +6,11 @@ import { randint } from "../../../../../math/utils/random/randint.js";
|
|
|
6
6
|
import { ExpNode } from "../../../../../tree/nodes/functions/expNode.js";
|
|
7
7
|
import { LogNode } from "../../../../../tree/nodes/functions/logNode.js";
|
|
8
8
|
import { NumberNode } from "../../../../../tree/nodes/numbers/numberNode.js";
|
|
9
|
-
import {
|
|
9
|
+
import { add } from "../../../../../tree/nodes/operators/addNode.js";
|
|
10
|
+
import { frac } from "../../../../../tree/nodes/operators/fractionNode.js";
|
|
11
|
+
import { multiply, MultiplyNode, } from "../../../../../tree/nodes/operators/multiplyNode.js";
|
|
12
|
+
import { parseAlgebraic } from "../../../../../tree/parsers/latexParser.js";
|
|
13
|
+
import { handleVEAError } from "../../../../../utils/errors/handleVEAError.js";
|
|
10
14
|
const getInstruction = (identifiers) => {
|
|
11
15
|
const { a, b } = identifiers;
|
|
12
16
|
const polynom = new Polynomial([b, a]);
|
|
@@ -26,10 +30,19 @@ const getAnswer = (identifiers) => {
|
|
|
26
30
|
.toTex();
|
|
27
31
|
return answer;
|
|
28
32
|
};
|
|
33
|
+
const getHint = (identifiers) => {
|
|
34
|
+
return ``;
|
|
35
|
+
};
|
|
36
|
+
const getCorrection = (identifiers) => {
|
|
37
|
+
return ``;
|
|
38
|
+
};
|
|
29
39
|
const getLnDerivative = () => {
|
|
30
40
|
const a = randint(-9, 10, [0]);
|
|
31
41
|
const b = randint(-9, 10);
|
|
32
42
|
const identifiers = { a, b };
|
|
43
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
44
|
+
};
|
|
45
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
33
46
|
const question = {
|
|
34
47
|
instruction: getInstruction(identifiers),
|
|
35
48
|
startStatement: "f'(x)",
|
|
@@ -53,22 +66,23 @@ const getPropositions = (n, { answer, a, b }) => {
|
|
|
53
66
|
tryToAddWrongProp(propositions, `\\frac{1}{${polynom.toTree().toTex()}}`);
|
|
54
67
|
return shuffleProps(propositions, n);
|
|
55
68
|
};
|
|
56
|
-
const isAnswerValid = (ans, { a, b }) => {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
const isAnswerValid = (ans, { answer, a, b }) => {
|
|
70
|
+
try {
|
|
71
|
+
const parsed = parseAlgebraic(ans);
|
|
72
|
+
const simp = parsed.simplify().toTex();
|
|
73
|
+
const nonSimp = frac(a, add(multiply(a, "x"), b))
|
|
74
|
+
.simplify()
|
|
75
|
+
.toTex();
|
|
76
|
+
return simp === answer || simp === nonSimp;
|
|
77
|
+
}
|
|
78
|
+
catch (err) {
|
|
79
|
+
return handleVEAError(err);
|
|
80
|
+
}
|
|
65
81
|
};
|
|
66
82
|
export const lnDerivativeOne = {
|
|
67
83
|
id: "lnDerivativeOne",
|
|
68
84
|
connector: "=",
|
|
69
85
|
label: "Dérivée de $\\ln(ax + b)$",
|
|
70
|
-
levels: ["1reESM", "1reSpé", "1reTech", "MathComp", "TermSpé"],
|
|
71
|
-
sections: ["Dérivation", "Logarithme népérien"],
|
|
72
86
|
isSingleStep: false,
|
|
73
87
|
generator: (nb) => getDistinctQuestions(getLnDerivative, nb),
|
|
74
88
|
qcmTimer: 60,
|
|
@@ -76,6 +90,5 @@ export const lnDerivativeOne = {
|
|
|
76
90
|
getPropositions,
|
|
77
91
|
isAnswerValid,
|
|
78
92
|
subject: "Mathématiques",
|
|
79
|
-
|
|
80
|
-
getInstruction,
|
|
93
|
+
getQuestionFromIdentifiers,
|
|
81
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lnDerivativeThree.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/derivation/derivative/ln/lnDerivativeThree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"lnDerivativeThree.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/derivation/derivative/ln/lnDerivativeThree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAcrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAoHF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAYnD,CAAC"}
|
|
@@ -40,6 +40,9 @@ const getLnDerivative = () => {
|
|
|
40
40
|
const a = randint(-9, 10, [0]);
|
|
41
41
|
const b = randint(-9, 10);
|
|
42
42
|
const identifiers = { a, b };
|
|
43
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
44
|
+
};
|
|
45
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
43
46
|
const question = {
|
|
44
47
|
instruction: getInstruction(identifiers),
|
|
45
48
|
startStatement: "f'(x)",
|
|
@@ -88,8 +91,6 @@ export const lnDerivativeThree = {
|
|
|
88
91
|
id: "lnDerivativeThree",
|
|
89
92
|
connector: "=",
|
|
90
93
|
label: "Dérivée de $\\ln(x) \\times (ax+b)$",
|
|
91
|
-
levels: ["1reESM", "1reSpé", "1reTech", "MathComp", "TermSpé"],
|
|
92
|
-
sections: ["Dérivation", "Logarithme népérien"],
|
|
93
94
|
isSingleStep: false,
|
|
94
95
|
generator: (nb) => getDistinctQuestions(getLnDerivative, nb),
|
|
95
96
|
qcmTimer: 60,
|
|
@@ -97,7 +98,5 @@ export const lnDerivativeThree = {
|
|
|
97
98
|
getPropositions,
|
|
98
99
|
isAnswerValid,
|
|
99
100
|
subject: "Mathématiques",
|
|
100
|
-
|
|
101
|
-
getAnswer,
|
|
102
|
-
getInstruction,
|
|
101
|
+
getQuestionFromIdentifiers,
|
|
103
102
|
};
|
|
@@ -26,7 +26,7 @@ ${monoms
|
|
|
26
26
|
.map((n) => `- $${n.toTex()} \\to ${n.derivative().simplify().toTex()}$`)
|
|
27
27
|
.join(" \n ")}
|
|
28
28
|
|
|
29
|
-
Puis
|
|
29
|
+
Puis on additionne ces résultats pour obtenir la dérivée de la fonction $f$ :
|
|
30
30
|
|
|
31
31
|
$$
|
|
32
32
|
f'(x) = ${answer}
|
|
@@ -33,7 +33,7 @@ ${monoms
|
|
|
33
33
|
.map((n) => `- $${n.toTex()} \\to ${n.derivative().simplify().toTex()}$`)
|
|
34
34
|
.join(" \n ")}
|
|
35
35
|
|
|
36
|
-
Puis
|
|
36
|
+
Puis on additionne ces résultats pour obtenir la dérivée de la fonction $f$ :
|
|
37
37
|
|
|
38
38
|
$$
|
|
39
39
|
f'(x) = ${answer}
|
|
@@ -27,7 +27,7 @@ ${monoms
|
|
|
27
27
|
.map((n) => `- $${n.toTex()} \\to ${n.derivative().simplify().toTex()}$`)
|
|
28
28
|
.join(" \n ")}
|
|
29
29
|
|
|
30
|
-
Puis
|
|
30
|
+
Puis on additionne ces résultats pour obtenir la dérivée de la fonction $f$ :
|
|
31
31
|
|
|
32
32
|
$$
|
|
33
33
|
f'(x) = ${answer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqrtProductDerivative.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"sqrtProductDerivative.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/derivation/derivative/sqrt/sqrtProductDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqFF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAavD,CAAC"}
|