math-exercises 3.0.64 → 3.0.65
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 +12 -10
- 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
|
@@ -47,7 +47,7 @@ $$
|
|
|
47
47
|
V = \\frac{n_1(x_1-\\overline{x})^2 + \\ldots + n_N(x_N-\\overline{x})^2}{N}
|
|
48
48
|
$$
|
|
49
49
|
|
|
50
|
-
Puis
|
|
50
|
+
Puis l'écart-type est la racine carrée de la variance.`;
|
|
51
51
|
};
|
|
52
52
|
const getCorrection = (identifiers) => {
|
|
53
53
|
const { sortedValues, effectifs } = identifiers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"averagePoint.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats2var/averagePoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,
|
|
1
|
+
{"version":3,"file":"averagePoint.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats2var/averagePoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAmEF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAc9C,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { shuffleProps, addValidProp, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
|
|
2
2
|
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
|
-
import { Point } from "../../../../math/geometry/point.js";
|
|
4
|
-
import { Rational } from "../../../../math/numbers/rationals/rational.js";
|
|
5
3
|
import { frenchify } from "../../../../math/utils/latex/frenchify.js";
|
|
6
4
|
import { distinctRandTupleInt, } from "../../../../math/utils/random/randTupleInt.js";
|
|
7
5
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
8
|
-
import {
|
|
6
|
+
import { pointParser } from "../../../../tree/parsers/pointParser.js";
|
|
9
7
|
import { average } from "../../../../utils/average.js";
|
|
8
|
+
import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
|
|
10
9
|
import { dollarize } from "../../../../utils/latex/dollarize.js";
|
|
11
10
|
import { mdTable } from "../../../../utils/markdown/mdTable.js";
|
|
12
11
|
const getInstruction = ({ xValues, yValues }) => {
|
|
@@ -16,28 +15,32 @@ const getInstruction = ({ xValues, yValues }) => {
|
|
|
16
15
|
]);
|
|
17
16
|
return `On considère la liste de points suivante : ${tab}
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
Déterminer les coordonnées du point moyen $G$.
|
|
20
19
|
`;
|
|
21
20
|
};
|
|
21
|
+
const getAnswer = (identifiers) => {
|
|
22
|
+
const { xValues, yValues } = identifiers;
|
|
23
|
+
const xG = frenchify(average(xValues) + "");
|
|
24
|
+
const yG = frenchify(average(yValues) + "");
|
|
25
|
+
const answer = `\\left(${xG};${yG}\\right)`;
|
|
26
|
+
return answer;
|
|
27
|
+
};
|
|
22
28
|
const getAveragePointQuestion = () => {
|
|
23
29
|
const points = distinctRandTupleInt(4, 2, { from: -9, to: 10 });
|
|
24
30
|
const sortedPoints = points.sort((a, b) => a[0] - b[0]);
|
|
25
|
-
const xG = frenchify(average(sortedPoints.map((el) => el[0])) + "");
|
|
26
|
-
const yG = frenchify(average(sortedPoints.map((el) => el[1])) + "");
|
|
27
|
-
const answer = `\\left(${xG};${yG}\\right)`;
|
|
28
31
|
const identifiers = {
|
|
29
32
|
xValues: sortedPoints.map((el) => el[0]),
|
|
30
33
|
yValues: sortedPoints.map((el) => el[1]),
|
|
31
34
|
};
|
|
35
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
36
|
+
};
|
|
37
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
32
38
|
const question = {
|
|
33
|
-
answer,
|
|
39
|
+
answer: getAnswer(identifiers),
|
|
34
40
|
instruction: getInstruction(identifiers),
|
|
35
41
|
keys: ["semicolon"],
|
|
36
42
|
answerFormat: "tex",
|
|
37
|
-
identifiers
|
|
38
|
-
xValues: sortedPoints.map((el) => el[0]),
|
|
39
|
-
yValues: sortedPoints.map((el) => el[1]),
|
|
40
|
-
},
|
|
43
|
+
identifiers,
|
|
41
44
|
style: { tableHasNoHeader: true },
|
|
42
45
|
};
|
|
43
46
|
return question;
|
|
@@ -51,16 +54,16 @@ const getPropositions = (n, { answer }) => {
|
|
|
51
54
|
}
|
|
52
55
|
return shuffleProps(propositions, n);
|
|
53
56
|
};
|
|
54
|
-
const isAnswerValid = (ans, { xValues, yValues }) => {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.simplify()
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
const isAnswerValid = (ans, { answer, xValues, yValues }) => {
|
|
58
|
+
try {
|
|
59
|
+
const point = pointParser(ans);
|
|
60
|
+
if (!point)
|
|
61
|
+
return false;
|
|
62
|
+
return point.simplify({ fractionsToDecimal: true }).toCoords() === answer;
|
|
63
|
+
}
|
|
64
|
+
catch (err) {
|
|
65
|
+
return handleVEAError(err);
|
|
66
|
+
}
|
|
64
67
|
};
|
|
65
68
|
export const averagePoint = {
|
|
66
69
|
id: "averagePoint",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fineAdjustementExercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats2var/fineAdjustementExercise.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"fineAdjustementExercise.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats2var/fineAdjustementExercise.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAGL,sBAAsB,EACvB,MAAM,oCAAoC,CAAC;AAM5C,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,sBAAsB,EAAE,sBAAsB,CAAC;CAChD,CAAC;AAyIF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,CAczD,CAAC"}
|
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
|
|
2
2
|
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
3
|
import { GeogebraConstructor } from "../../../../geogebra/geogebraConstructor.js";
|
|
4
|
-
import { CloudPointsConstructor, } from "../../../../math/geometry/CloudPoints.js";
|
|
4
|
+
import { CloudPoints, CloudPointsConstructor, } from "../../../../math/geometry/CloudPoints.js";
|
|
5
|
+
import { PointConstructor } from "../../../../math/geometry/point.js";
|
|
5
6
|
import { randfloat } from "../../../../math/utils/random/randfloat.js";
|
|
6
7
|
import { NumberNode } from "../../../../tree/nodes/numbers/numberNode.js";
|
|
7
8
|
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
const getInstruction = (identifiers) => {
|
|
10
|
+
return `On considère le nuage de points ci-dessous. Un ajustement affine semble-t-il justifié ? Quelle peut être la valeur du coefficient de détermination ?`;
|
|
11
|
+
};
|
|
12
|
+
const getAnswer = (identifiers) => {
|
|
13
|
+
const { isJustified, cloudPointsIdentifiers } = identifiers;
|
|
14
|
+
const cloudPoints = new CloudPoints(cloudPointsIdentifiers.pointsIdentifiers.map((i) => PointConstructor.fromIdentifiers(i)));
|
|
15
|
+
const coeff = cloudPoints.getCorrelationCoeff().value;
|
|
16
|
+
let determinationCoeff = new NumberNode(+(coeff * coeff).toFixed(2));
|
|
17
|
+
return isJustified
|
|
18
|
+
? `Un ajustement affine est justifié. Le coefficient de détermination vaut ${determinationCoeff.toTex()}`
|
|
19
|
+
: `Un ajustement affine n'est pas justifié. Le coefficient de détermination vaut ${determinationCoeff.toTex()}`;
|
|
20
|
+
};
|
|
21
|
+
const getGGBOptions = (identifiers) => {
|
|
22
|
+
const { isJustified, cloudPointsIdentifiers } = identifiers;
|
|
23
|
+
const cloudPoints = new CloudPoints(cloudPointsIdentifiers.pointsIdentifiers.map((i) => PointConstructor.fromIdentifiers(i)));
|
|
17
24
|
const commands = cloudPoints.points.map((point) => {
|
|
18
25
|
return `${point.name}=Point({${point.getXnumber()},${point.getYnumber()}})`;
|
|
19
26
|
});
|
|
@@ -25,22 +32,47 @@ const getFineAdjustementExerciseQuestion = () => {
|
|
|
25
32
|
hideAxes: true,
|
|
26
33
|
hideGrid: true,
|
|
27
34
|
});
|
|
35
|
+
const xValues = cloudPoints.points.map((element) => {
|
|
36
|
+
return element.getXnumber();
|
|
37
|
+
});
|
|
38
|
+
const yValues = cloudPoints.points.map((element) => {
|
|
39
|
+
return element.getYnumber();
|
|
40
|
+
});
|
|
28
41
|
const xMin = Math.min(...xValues);
|
|
29
42
|
const xMax = Math.max(...xValues);
|
|
30
43
|
const yMin = Math.min(...yValues);
|
|
31
44
|
const yMax = Math.max(...yValues);
|
|
45
|
+
return ggb.getOptions({
|
|
46
|
+
coords: ggb.getAdaptedCoords({ xMin, xMax, yMin, yMax }),
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
const getFineAdjustementExerciseQuestion = () => {
|
|
50
|
+
const flip = coinFlip();
|
|
51
|
+
const cloudPoints = flip
|
|
52
|
+
? CloudPointsConstructor.random(8)
|
|
53
|
+
: CloudPointsConstructor.randomLinear(8);
|
|
54
|
+
const coeff = cloudPoints.getCorrelationCoeff().value;
|
|
55
|
+
let determinationCoeff = new NumberNode(+(coeff * coeff).toFixed(2));
|
|
56
|
+
if (determinationCoeff.value === 0) {
|
|
57
|
+
determinationCoeff = new NumberNode(0.1);
|
|
58
|
+
}
|
|
59
|
+
if (determinationCoeff.value === 1) {
|
|
60
|
+
determinationCoeff = new NumberNode(0.99);
|
|
61
|
+
}
|
|
62
|
+
const identifiers = {
|
|
63
|
+
isJustified: determinationCoeff.value >= 0.9,
|
|
64
|
+
cloudPointsIdentifiers: cloudPoints.toIdentifiers(),
|
|
65
|
+
};
|
|
66
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
67
|
+
};
|
|
68
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
32
69
|
const question = {
|
|
33
|
-
answer:
|
|
34
|
-
instruction:
|
|
35
|
-
ggbOptions:
|
|
36
|
-
coords: ggb.getAdaptedCoords({ xMin, xMax, yMin, yMax }),
|
|
37
|
-
}),
|
|
70
|
+
answer: getAnswer(identifiers),
|
|
71
|
+
instruction: getInstruction(identifiers),
|
|
72
|
+
ggbOptions: getGGBOptions(identifiers),
|
|
38
73
|
keys: [],
|
|
39
74
|
answerFormat: "raw",
|
|
40
|
-
identifiers
|
|
41
|
-
isJustified: exercise.isJustified,
|
|
42
|
-
cloudPointsIdentifiers: cloudPoints.toIdentifiers(),
|
|
43
|
-
},
|
|
75
|
+
identifiers,
|
|
44
76
|
};
|
|
45
77
|
return question;
|
|
46
78
|
};
|
|
@@ -70,40 +102,17 @@ const generateProposition = (isJustified) => {
|
|
|
70
102
|
const isAnswerValid = (ans, { answer }) => {
|
|
71
103
|
return ans === answer;
|
|
72
104
|
};
|
|
73
|
-
const generateExercise = () => {
|
|
74
|
-
const flip = coinFlip();
|
|
75
|
-
const cloudPoints = flip
|
|
76
|
-
? CloudPointsConstructor.random(8)
|
|
77
|
-
: CloudPointsConstructor.randomLinear(8);
|
|
78
|
-
const coeff = cloudPoints.getCorrelationCoeff().value;
|
|
79
|
-
let determinationCoeff = new NumberNode(+(coeff * coeff).toFixed(2));
|
|
80
|
-
if (determinationCoeff.value === 0) {
|
|
81
|
-
determinationCoeff = new NumberNode(0.1);
|
|
82
|
-
}
|
|
83
|
-
if (determinationCoeff.value === 1) {
|
|
84
|
-
determinationCoeff = new NumberNode(0.99);
|
|
85
|
-
}
|
|
86
|
-
const correctAnswer = determinationCoeff.value >= 0.9
|
|
87
|
-
? `Un ajustement affine est justifié. Le coefficient de détermination vaut ${determinationCoeff.toTex()}`
|
|
88
|
-
: `Un ajustement affine n'est pas justifié. Le coefficient de détermination vaut ${determinationCoeff.toTex()}`;
|
|
89
|
-
return {
|
|
90
|
-
cloudPoints,
|
|
91
|
-
isJustified: determinationCoeff.value >= 0.9,
|
|
92
|
-
correctAnswer,
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
105
|
export const fineAdjustementExercise = {
|
|
96
106
|
id: "fineAdjustementExercise",
|
|
97
107
|
label: "Proposition d'ajustement affine d'un nuage de points",
|
|
98
|
-
levels: ["TermSpé"],
|
|
99
108
|
isSingleStep: true,
|
|
100
109
|
hasGeogebra: true,
|
|
101
110
|
answerType: "QCU",
|
|
102
|
-
sections: ["Statistiques"],
|
|
103
111
|
generator: (nb) => getDistinctQuestions(getFineAdjustementExerciseQuestion, nb),
|
|
104
112
|
qcmTimer: 60,
|
|
105
113
|
freeTimer: 60,
|
|
106
114
|
getPropositions,
|
|
107
115
|
isAnswerValid,
|
|
108
116
|
subject: "Mathématiques",
|
|
117
|
+
getQuestionFromIdentifiers,
|
|
109
118
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confidenceInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/sampling/confidenceInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"confidenceInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/sampling/confidenceInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AA+HF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAcpD,CAAC"}
|
|
@@ -102,6 +102,9 @@ const getConfidenceIntervalQuestion = (ops) => {
|
|
|
102
102
|
n,
|
|
103
103
|
wordingType: randint(1, 4),
|
|
104
104
|
};
|
|
105
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
106
|
+
};
|
|
107
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
105
108
|
const question = {
|
|
106
109
|
answer: getAnswer(identifiers),
|
|
107
110
|
instruction: getInstruction(identifiers),
|
|
@@ -124,9 +127,6 @@ export const confidenceInterval = {
|
|
|
124
127
|
getPropositions,
|
|
125
128
|
isAnswerValid,
|
|
126
129
|
subject: "Mathématiques",
|
|
127
|
-
|
|
128
|
-
getHint,
|
|
129
|
-
getCorrection,
|
|
130
|
-
getAnswer,
|
|
130
|
+
getQuestionFromIdentifiers,
|
|
131
131
|
hasHintAndCorrection: true,
|
|
132
132
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluctuationInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/sampling/fluctuationInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"fluctuationInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/sampling/fluctuationInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAuHF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAcrD,CAAC"}
|
|
@@ -99,6 +99,9 @@ const getFluctuationIntervalQuestion = (ops) => {
|
|
|
99
99
|
n,
|
|
100
100
|
wordingType: randint(1, 4),
|
|
101
101
|
};
|
|
102
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
103
|
+
};
|
|
104
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
102
105
|
const question = {
|
|
103
106
|
answer: getAnswer(identifiers),
|
|
104
107
|
instruction: getInstruction(identifiers),
|
|
@@ -121,9 +124,6 @@ export const fluctuationInterval = {
|
|
|
121
124
|
getPropositions,
|
|
122
125
|
isAnswerValid,
|
|
123
126
|
subject: "Mathématiques",
|
|
124
|
-
|
|
125
|
-
getHint,
|
|
126
|
-
getCorrection,
|
|
127
|
-
getAnswer,
|
|
127
|
+
getQuestionFromIdentifiers,
|
|
128
128
|
hasHintAndCorrection: true,
|
|
129
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isSamplingRepresentative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/sampling/isSamplingRepresentative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"isSamplingRepresentative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/sampling/isSamplingRepresentative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAiHF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAc1D,CAAC"}
|
|
@@ -49,7 +49,7 @@ $$
|
|
|
49
49
|
\\left[p-\\frac{1}{\\sqrt{n}}; p+\\frac{1}{\\sqrt{n}}\\right] \\approx \\left[${round(p - 1 / Math.sqrt(n), 2).frenchify()} ; ${round(p + 1 / Math.sqrt(n), 2).frenchify()} \\right]
|
|
50
50
|
$$
|
|
51
51
|
|
|
52
|
-
Puis
|
|
52
|
+
Puis on calcule la fréquence $f$ observée :
|
|
53
53
|
|
|
54
54
|
$$
|
|
55
55
|
f = \\frac{${k}}{${n}} \\approx ${round(k / n, 2).frenchify()}
|
|
@@ -83,6 +83,9 @@ const getIsSamplingRepresentativeQuestion = (ops) => {
|
|
|
83
83
|
isRepresentative,
|
|
84
84
|
wordingType: randint(1, 4),
|
|
85
85
|
};
|
|
86
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
87
|
+
};
|
|
88
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
86
89
|
const question = {
|
|
87
90
|
answer: getAnswer(identifiers),
|
|
88
91
|
instruction: getInstruction(identifiers),
|
|
@@ -104,10 +107,7 @@ export const isSamplingRepresentative = {
|
|
|
104
107
|
getPropositions,
|
|
105
108
|
isAnswerValid,
|
|
106
109
|
subject: "Mathématiques",
|
|
107
|
-
|
|
108
|
-
getHint,
|
|
109
|
-
getCorrection,
|
|
110
|
-
getAnswer,
|
|
110
|
+
getQuestionFromIdentifiers,
|
|
111
111
|
hasHintAndCorrection: true,
|
|
112
112
|
answerType: "QCU",
|
|
113
113
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometricFirstTermsGeneralSum.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAgHF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"geometricFirstTermsGeneralSum.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sequences/geometric/geometricFirstTermsGeneralSum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAgHF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,CAc/D,CAAC"}
|
|
@@ -46,7 +46,7 @@ const getHint = (identifiers) => {
|
|
|
46
46
|
- strictement croissante si $q>1$;
|
|
47
47
|
- strictement décroissante si $0<q<1$.
|
|
48
48
|
|
|
49
|
-
Puis
|
|
49
|
+
Puis multiplier $u$ par un nombre positif ne change pas son sens de variations, tandis que multiplier par un nombre negatif inverse le sens de variations.
|
|
50
50
|
`;
|
|
51
51
|
};
|
|
52
52
|
const getCorrection = (identifiers) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inequalityToInterval.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/inequalityToInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"inequalityToInterval.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/inequalityToInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAQrC,OAAO,EAGL,uBAAuB,EACxB,MAAM,uCAAuC,CAAC;AAK/C,KAAK,WAAW,GAAG;IAIjB,mBAAmB,EAAE,uBAAuB,CAAC;CAC9C,CAAC;AA6GF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
|
|
@@ -39,6 +39,9 @@ const getInequalityToIntervalQuestion = () => {
|
|
|
39
39
|
const identifiers = {
|
|
40
40
|
intervalIdentifiers: interval.toIdentifiers(),
|
|
41
41
|
};
|
|
42
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
43
|
+
};
|
|
44
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
42
45
|
const question = {
|
|
43
46
|
answer: getAnswer(identifiers),
|
|
44
47
|
instruction: getInstruction(identifiers),
|
|
@@ -84,9 +87,7 @@ export const inequalityToInterval = {
|
|
|
84
87
|
id: "inequalityToInterval",
|
|
85
88
|
connector: "=",
|
|
86
89
|
label: "Traduire une inégalité en intervalle",
|
|
87
|
-
levels: ["2ndPro", "2nde", "CAP", "1reESM"],
|
|
88
90
|
isSingleStep: true,
|
|
89
|
-
sections: ["Ensembles et intervalles"],
|
|
90
91
|
generator: (nb) => getDistinctQuestions(getInequalityToIntervalQuestion, nb),
|
|
91
92
|
qcmTimer: 60,
|
|
92
93
|
freeTimer: 60,
|
|
@@ -94,6 +95,5 @@ export const inequalityToInterval = {
|
|
|
94
95
|
isAnswerValid,
|
|
95
96
|
subject: "Mathématiques",
|
|
96
97
|
rebuildIdentifiers,
|
|
97
|
-
|
|
98
|
-
getInstruction,
|
|
98
|
+
getQuestionFromIdentifiers,
|
|
99
99
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intervalToInequality.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/intervalToInequality.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"intervalToInequality.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/intervalToInequality.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,OAAO,EAGL,uBAAuB,EACxB,MAAM,uCAAuC,CAAC;AAK/C,KAAK,WAAW,GAAG;IAIjB,mBAAmB,EAAE,uBAAuB,CAAC;CAC9C,CAAC;AA2FF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
|
|
@@ -37,6 +37,9 @@ const getIntervalToInequalityQuestion = () => {
|
|
|
37
37
|
const identifiers = {
|
|
38
38
|
intervalIdentifiers: interval.toIdentifiers(),
|
|
39
39
|
};
|
|
40
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
41
|
+
};
|
|
42
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
40
43
|
const question = {
|
|
41
44
|
answer: getAnswer(identifiers),
|
|
42
45
|
instruction: getInstruction(identifiers),
|
|
@@ -66,9 +69,7 @@ export const intervalToInequality = {
|
|
|
66
69
|
id: "intervalToInequality",
|
|
67
70
|
connector: "=",
|
|
68
71
|
label: "Traduire un intervalle en inégalité",
|
|
69
|
-
levels: ["2ndPro", "2nde", "CAP", "1reESM"],
|
|
70
72
|
isSingleStep: true,
|
|
71
|
-
sections: ["Ensembles et intervalles"],
|
|
72
73
|
generator: (nb) => getDistinctQuestions(getIntervalToInequalityQuestion, nb),
|
|
73
74
|
qcmTimer: 60,
|
|
74
75
|
freeTimer: 60,
|
|
@@ -76,6 +77,5 @@ export const intervalToInequality = {
|
|
|
76
77
|
isAnswerValid,
|
|
77
78
|
subject: "Mathématiques",
|
|
78
79
|
rebuildIdentifiers,
|
|
79
|
-
|
|
80
|
-
getInstruction,
|
|
80
|
+
getQuestionFromIdentifiers,
|
|
81
81
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intervalsIntersection.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/intervalsIntersection.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"intervalsIntersection.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/intervalsIntersection.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAYrC,OAAO,EAGL,uBAAuB,EAExB,MAAM,uCAAuC,CAAC;AAM/C,KAAK,WAAW,GAAG;IAOjB,eAAe,EAAE,uBAAuB,CAAC;IACzC,eAAe,EAAE,uBAAuB,CAAC;CAC1C,CAAC;AA0KF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAiBvD,CAAC"}
|
|
@@ -80,6 +80,9 @@ ${isDiscreteSetNode(inter) && inter.elements.length === 0
|
|
|
80
80
|
|
|
81
81
|
Ainsi, $I\\cap J = ${answer}$`;
|
|
82
82
|
};
|
|
83
|
+
const getHint = (identifiers) => {
|
|
84
|
+
return `Détermine l'ensemble des nombres qui appartiennent à la fois à $I$ et à $J$.`;
|
|
85
|
+
};
|
|
83
86
|
const getIntervalsIntersectionQuestion = () => {
|
|
84
87
|
const [int1, int2] = IntervalNodeConstructor.differentRandoms(2);
|
|
85
88
|
const inter = int1.intersection(int2);
|
|
@@ -88,6 +91,9 @@ const getIntervalsIntersectionQuestion = () => {
|
|
|
88
91
|
int1Identifiers: int1.toIdentifiers(),
|
|
89
92
|
int2Identifiers: int2.toIdentifiers(),
|
|
90
93
|
};
|
|
94
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
95
|
+
};
|
|
96
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
91
97
|
const question = {
|
|
92
98
|
answer: getAnswer(identifiers),
|
|
93
99
|
instruction: getInstruction(identifiers),
|
|
@@ -104,7 +110,7 @@ const getIntervalsIntersectionQuestion = () => {
|
|
|
104
110
|
],
|
|
105
111
|
answerFormat: "tex",
|
|
106
112
|
identifiers,
|
|
107
|
-
hint:
|
|
113
|
+
hint: getHint(identifiers),
|
|
108
114
|
correction: getCorrection(identifiers),
|
|
109
115
|
};
|
|
110
116
|
return question;
|
|
@@ -159,4 +165,5 @@ export const intervalsIntersection = {
|
|
|
159
165
|
subject: "Mathématiques",
|
|
160
166
|
hasHintAndCorrection: true,
|
|
161
167
|
rebuildIdentifiers,
|
|
168
|
+
getQuestionFromIdentifiers,
|
|
162
169
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intervalsUnion.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/intervalsUnion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"intervalsUnion.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/sets/intervals/intervalsUnion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EAGL,uBAAuB,EACxB,MAAM,uCAAuC,CAAC;AAK/C,KAAK,WAAW,GAAG;IAOjB,eAAe,EAAE,uBAAuB,CAAC;IACzC,eAAe,EAAE,uBAAuB,CAAC;CAC1C,CAAC;AAoHF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAehD,CAAC"}
|
|
@@ -64,6 +64,9 @@ const getIntervalsUnionQuestion = () => {
|
|
|
64
64
|
int1Identifiers: int1.toIdentifiers(),
|
|
65
65
|
int2Identifiers: int2.toIdentifiers(),
|
|
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),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaceCoordinatesInPrism.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AA8KF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"spaceCoordinatesInPrism.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/basis/spaceCoordinatesInPrism.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AA8KF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,CAazD,CAAC"}
|
|
@@ -161,11 +161,6 @@ export const spaceCoordinatesInPrism = {
|
|
|
161
161
|
getPropositions,
|
|
162
162
|
isAnswerValid,
|
|
163
163
|
subject: "Mathématiques",
|
|
164
|
-
// getHint,
|
|
165
|
-
// getCorrection,
|
|
166
|
-
getInstruction,
|
|
167
|
-
getAnswer,
|
|
168
|
-
getGGBOptions,
|
|
169
164
|
hasGeogebra: true,
|
|
170
165
|
getQuestionFromIdentifiers,
|
|
171
166
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/planes/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isPointOnCartesianPlane.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/planes/isPointOnCartesianPlane.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// import {
|
|
2
|
+
// Exercise,
|
|
3
|
+
// Proposition,
|
|
4
|
+
// QCMGenerator,
|
|
5
|
+
// Question,
|
|
6
|
+
// QuestionGenerator,
|
|
7
|
+
// VEA,
|
|
8
|
+
// addValidProp,
|
|
9
|
+
// shuffleProps,
|
|
10
|
+
// GetAnswer,
|
|
11
|
+
// GetHint,
|
|
12
|
+
// GetCorrection,
|
|
13
|
+
// GetInstruction,
|
|
14
|
+
// GetKeys,
|
|
15
|
+
// GetQuestionFromIdentifiers,
|
|
16
|
+
// } from "../../../../exercises/exercise.js";
|
|
17
|
+
// import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
18
|
+
// import {
|
|
19
|
+
// SpacePoint,
|
|
20
|
+
// SpacePointConstructor,
|
|
21
|
+
// } from "../../../../math/geometry/spacePoint.js";
|
|
22
|
+
// import {
|
|
23
|
+
// SpaceVector,
|
|
24
|
+
// SpaceVectorConstructor,
|
|
25
|
+
// } from "../../../../math/geometry/spaceVector.js";
|
|
26
|
+
// import { Plane } from "../../../../math/spaceGeometry/plane.js";
|
|
27
|
+
// import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
28
|
+
// import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
|
|
29
|
+
export {};
|
|
30
|
+
// type Identifiers = {
|
|
31
|
+
// a: number;
|
|
32
|
+
// b: number;
|
|
33
|
+
// c: number;
|
|
34
|
+
// d: number;
|
|
35
|
+
// x: number;
|
|
36
|
+
// y: number;
|
|
37
|
+
// z: number;
|
|
38
|
+
// };
|
|
39
|
+
// const getPropositions: QCMGenerator<Identifiers> = (n, { answer }) => {
|
|
40
|
+
// const propositions: Proposition[] = [];
|
|
41
|
+
// addValidProp(propositions, answer);
|
|
42
|
+
// while (propositions.length < n) {
|
|
43
|
+
// throw Error("QCM not implemented");
|
|
44
|
+
// }
|
|
45
|
+
// return shuffleProps(propositions, n);
|
|
46
|
+
// };
|
|
47
|
+
// const getAnswer: GetAnswer<Identifiers> = (identifiers) => {};
|
|
48
|
+
// const getInstruction: GetInstruction<Identifiers> = (identifiers) => {};
|
|
49
|
+
// const getHint: GetHint<Identifiers> = (identifiers) => {};
|
|
50
|
+
// const getCorrection: GetCorrection<Identifiers> = (identifiers) => {};
|
|
51
|
+
// const getKeys: GetKeys<Identifiers> = (identifiers) => {
|
|
52
|
+
// return [];
|
|
53
|
+
// };
|
|
54
|
+
// const isAnswerValid: VEA<Identifiers> = (ans, { answer }) => {
|
|
55
|
+
// try {
|
|
56
|
+
// throw Error("VEA not implemented");
|
|
57
|
+
// } catch (err) {
|
|
58
|
+
// return handleVEAError(err);
|
|
59
|
+
// }
|
|
60
|
+
// };
|
|
61
|
+
// const getIsPointOnCartesianPlaneQuestion: QuestionGenerator<Identifiers> = (
|
|
62
|
+
// ops,
|
|
63
|
+
// ) => {
|
|
64
|
+
// let point = SpacePointConstructor.random("A");
|
|
65
|
+
// const vec = SpaceVectorConstructor.random("u", false);
|
|
66
|
+
// const plane = new Plane(point, vec);
|
|
67
|
+
// const isOnPlane = coinFlip();
|
|
68
|
+
// if (!isOnPlane) {
|
|
69
|
+
// point = vec.getEndPoint(point);
|
|
70
|
+
// }
|
|
71
|
+
// const identifiers: Identifiers = {};
|
|
72
|
+
// return getQuestionFromIdentifiers(identifiers);
|
|
73
|
+
// };
|
|
74
|
+
// const getQuestionFromIdentifiers: GetQuestionFromIdentifiers<Identifiers> = (
|
|
75
|
+
// identifiers,
|
|
76
|
+
// ) => {
|
|
77
|
+
// return {
|
|
78
|
+
// answer: getAnswer(identifiers),
|
|
79
|
+
// instruction: getInstruction(identifiers),
|
|
80
|
+
// keys: getKeys(identifiers),
|
|
81
|
+
// answerFormat: "tex",
|
|
82
|
+
// identifiers,
|
|
83
|
+
// hint: getHint(identifiers),
|
|
84
|
+
// correction: getCorrection(identifiers),
|
|
85
|
+
// };
|
|
86
|
+
// };
|
|
87
|
+
// export const isPointOnCartesianPlane: Exercise<Identifiers> = {
|
|
88
|
+
// id: "isPointOnCartesianPlane",
|
|
89
|
+
// connector: "",
|
|
90
|
+
// label:
|
|
91
|
+
// "Déterminer si un point appartient à un plan d'équation cartésienne donnée",
|
|
92
|
+
// isSingleStep: true,
|
|
93
|
+
// generator: (nb, opts) =>
|
|
94
|
+
// getDistinctQuestions(() => getIsPointOnCartesianPlaneQuestion(opts), nb),
|
|
95
|
+
// qcmTimer: 60,
|
|
96
|
+
// freeTimer: 60,
|
|
97
|
+
// getPropositions,
|
|
98
|
+
// isAnswerValid,
|
|
99
|
+
// subject: "Mathématiques",
|
|
100
|
+
// getQuestionFromIdentifiers,
|
|
101
|
+
// answerType: "QCU",
|
|
102
|
+
// };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaceVectorCoordinatesFromPoints.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"spaceVectorCoordinatesFromPoints.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AA4GF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAelE,CAAC"}
|