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
|
@@ -59,6 +59,9 @@ const getSpaceVectorCoordinatesFromPointsQuestion = () => {
|
|
|
59
59
|
by: points[1].y.evaluate({}),
|
|
60
60
|
bz: points[1].z.evaluate({}),
|
|
61
61
|
};
|
|
62
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
63
|
+
};
|
|
64
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
62
65
|
const question = {
|
|
63
66
|
answer: getAnswer(identifiers),
|
|
64
67
|
instruction: getInstruction(identifiers),
|
|
@@ -93,8 +96,5 @@ export const spaceVectorCoordinatesFromPoints = {
|
|
|
93
96
|
isAnswerValid,
|
|
94
97
|
subject: "Mathématiques",
|
|
95
98
|
hasHintAndCorrection: true,
|
|
96
|
-
|
|
97
|
-
getInstruction,
|
|
98
|
-
getCorrection,
|
|
99
|
-
getHint,
|
|
99
|
+
getQuestionFromIdentifiers,
|
|
100
100
|
};
|
package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaceVectorLinearCombinationCoords.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"spaceVectorLinearCombinationCoords.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,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;AAiFF,eAAO,MAAM,kCAAkC,EAAE,QAAQ,CAAC,WAAW,CAcpE,CAAC"}
|
|
@@ -38,6 +38,9 @@ const getSpaceVectorLinearCombinationCoordsQuestion = () => {
|
|
|
38
38
|
vy: v.y.evaluate({}),
|
|
39
39
|
vz: v.z.evaluate({}),
|
|
40
40
|
};
|
|
41
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
42
|
+
};
|
|
43
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
41
44
|
const question = {
|
|
42
45
|
answer: getAnswer(identifiers),
|
|
43
46
|
instruction: getInstruction(identifiers),
|
|
@@ -69,6 +72,5 @@ export const spaceVectorLinearCombinationCoords = {
|
|
|
69
72
|
getPropositions,
|
|
70
73
|
isAnswerValid,
|
|
71
74
|
subject: "Mathématiques",
|
|
72
|
-
|
|
73
|
-
getInstruction,
|
|
75
|
+
getQuestionFromIdentifiers,
|
|
74
76
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaceVectorNormCalculation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"spaceVectorNormCalculation.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqGF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
|
|
@@ -45,6 +45,9 @@ const getSpaceVectorNormCalculationQuestion = () => {
|
|
|
45
45
|
y: u.y.evaluate({}),
|
|
46
46
|
z: u.z.evaluate({}),
|
|
47
47
|
};
|
|
48
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
49
|
+
};
|
|
50
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
48
51
|
const question = {
|
|
49
52
|
answer: getAnswer(identifiers),
|
|
50
53
|
instruction: getInstruction(identifiers),
|
|
@@ -76,9 +79,7 @@ const isAnswerValid = (ans, { x, y, z }) => {
|
|
|
76
79
|
export const spaceVectorNormCalculation = {
|
|
77
80
|
id: "spaceVectorNormCalculation",
|
|
78
81
|
label: "Calculer la norme d'un vecteur (dans l'espace)",
|
|
79
|
-
levels: ["2nde"],
|
|
80
82
|
isSingleStep: true,
|
|
81
|
-
sections: ["Vecteurs"],
|
|
82
83
|
generator: (nb) => getDistinctQuestions(getSpaceVectorNormCalculationQuestion, nb),
|
|
83
84
|
qcmTimer: 60,
|
|
84
85
|
freeTimer: 60,
|
|
@@ -86,8 +87,5 @@ export const spaceVectorNormCalculation = {
|
|
|
86
87
|
isAnswerValid,
|
|
87
88
|
subject: "Mathématiques",
|
|
88
89
|
hasHintAndCorrection: true,
|
|
89
|
-
|
|
90
|
-
getCorrection,
|
|
91
|
-
getAnswer,
|
|
92
|
-
getInstruction,
|
|
90
|
+
getQuestionFromIdentifiers,
|
|
93
91
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arcLength.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/arcLength.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"arcLength.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/arcLength.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,iBAAiB,EAAE,GAAG,GAAG,SAAS,CAAC;IACnC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AA2GF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,WAAW,CAc3C,CAAC"}
|
|
@@ -37,7 +37,7 @@ const getInstruction = (identifiers) => {
|
|
|
37
37
|
return `Soit $\\mathcal C$ un cercle de centre $O$ et de rayon $${identifiers.radius}$. Soient $A$ et $B$ deux points sur ce cercle. L'angle au centre $\\widehat{AOB}$ vaut $${identifiers.isThetaInDegree
|
|
38
38
|
? new DegreeNode(identifiers.thetaInDegree).toTex()
|
|
39
39
|
: NodeConstructor.fromIdentifiers(identifiers.thetaInRadNodeIds).toTex() +
|
|
40
|
-
"\\ \\
|
|
40
|
+
"\\ \\textrm{rad}"}$. Quelle est la longueur de l'arc de cercle $\\overset{\\Large \\frown}{AB}$ ?`;
|
|
41
41
|
};
|
|
42
42
|
const getKeys = (identifiers) => {
|
|
43
43
|
return ["pi"];
|
|
@@ -64,6 +64,9 @@ const getArcLengthQuestion = () => {
|
|
|
64
64
|
thetaInDegree,
|
|
65
65
|
thetaInRadNodeIds: thetaInRadNode?.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),
|
|
@@ -85,5 +88,5 @@ export const arcLength = {
|
|
|
85
88
|
getPropositions,
|
|
86
89
|
isAnswerValid,
|
|
87
90
|
subject: "Mathématiques",
|
|
88
|
-
|
|
91
|
+
getQuestionFromIdentifiers,
|
|
89
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicEquationCos.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/basicEquationCos.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"basicEquationCos.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/basicEquationCos.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAmFF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAelD,CAAC"}
|
|
@@ -61,6 +61,9 @@ const getBasicEquationCosQuestion = () => {
|
|
|
61
61
|
const value = random(mainPositiveTrigovalues);
|
|
62
62
|
const degree = value.degree;
|
|
63
63
|
const identifiers = { degree };
|
|
64
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
65
|
+
};
|
|
66
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
64
67
|
const question = {
|
|
65
68
|
answer: getAnswer(identifiers),
|
|
66
69
|
instruction: getInstruction(identifiers),
|
|
@@ -84,8 +87,6 @@ export const basicEquationCos = {
|
|
|
84
87
|
getPropositions,
|
|
85
88
|
isAnswerValid,
|
|
86
89
|
subject: "Mathématiques",
|
|
87
|
-
|
|
88
|
-
// getCorrection,
|
|
89
|
-
getAnswer,
|
|
90
|
+
getQuestionFromIdentifiers,
|
|
90
91
|
maxAllowedQuestions: 9,
|
|
91
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicEquationSin.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/basicEquationSin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"basicEquationSin.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/basicEquationSin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA+FF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAelD,CAAC"}
|
|
@@ -73,6 +73,9 @@ const getBasicEquationSinQuestion = () => {
|
|
|
73
73
|
const value = random(mainSinusValues);
|
|
74
74
|
const degree = value.degree;
|
|
75
75
|
const identifiers = { degree };
|
|
76
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
77
|
+
};
|
|
78
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
76
79
|
const question = {
|
|
77
80
|
answer: getAnswer(identifiers),
|
|
78
81
|
instruction: getInstruction(identifiers),
|
|
@@ -96,8 +99,6 @@ export const basicEquationSin = {
|
|
|
96
99
|
getPropositions,
|
|
97
100
|
isAnswerValid,
|
|
98
101
|
subject: "Mathématiques",
|
|
99
|
-
|
|
100
|
-
// getCorrection,
|
|
101
|
-
getAnswer,
|
|
102
|
+
getQuestionFromIdentifiers,
|
|
102
103
|
maxAllowedQuestions: 9,
|
|
103
104
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicTrigoSystemEquation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/basicTrigoSystemEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"basicTrigoSystemEquation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/basicTrigoSystemEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAgFF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAgB1D,CAAC"}
|
|
@@ -52,6 +52,9 @@ const getBasicTrigoSystemEquationQuestion = () => {
|
|
|
52
52
|
const identifiers = {
|
|
53
53
|
degree,
|
|
54
54
|
};
|
|
55
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
56
|
+
};
|
|
57
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
55
58
|
const question = {
|
|
56
59
|
answer: getAnswer(identifiers),
|
|
57
60
|
instruction: getInstruction(identifiers),
|
|
@@ -75,8 +78,6 @@ export const basicTrigoSystemEquation = {
|
|
|
75
78
|
getPropositions,
|
|
76
79
|
isAnswerValid,
|
|
77
80
|
subject: "Mathématiques",
|
|
78
|
-
|
|
79
|
-
// getCorrection,
|
|
80
|
-
getAnswer,
|
|
81
|
+
getQuestionFromIdentifiers,
|
|
81
82
|
maxAllowedQuestions: 15,
|
|
82
83
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculateCosSinAndTan.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/calculateCosSinAndTan.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AA6FF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"calculateCosSinAndTan.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/calculateCosSinAndTan.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AA6FF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAcvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"degreeToRadians.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/degreeToRadians.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"degreeToRadians.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/degreeToRadians.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAiBrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,GAAG,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AA8JF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAejD,CAAC"}
|
|
@@ -51,12 +51,12 @@ $$
|
|
|
51
51
|
`;
|
|
52
52
|
};
|
|
53
53
|
const getHint = (identifiers) => {
|
|
54
|
-
return `On sait que $\\pi \\ \\
|
|
54
|
+
return `On sait que $\\pi \\ \\textrm{rad}$ correspond à $180^\\circ$. Il suffit alors de faire un produit en croix.`;
|
|
55
55
|
};
|
|
56
56
|
const getCorrection = (identifiers) => {
|
|
57
57
|
const answer = getAnswer(identifiers);
|
|
58
58
|
const radNode = NodeConstructor.fromIdentifiers(identifiers.radianNodeIds);
|
|
59
|
-
return `On sait que $\\pi \\ \\
|
|
59
|
+
return `On sait que $\\pi \\ \\textrm{rad}$ correspond à $180^\\circ$.
|
|
60
60
|
|
|
61
61
|
${identifiers.isDegreeToRadian
|
|
62
62
|
? `Pour convertir $${identifiers.degree}^\\circ$ en radians, on fait donc un produit en croix :
|
|
@@ -65,7 +65,7 @@ $$
|
|
|
65
65
|
\\frac{${identifiers.degree}\\times \\pi}{180} = ${answer}
|
|
66
66
|
$$
|
|
67
67
|
`
|
|
68
|
-
: `Pour convertir $${radNode.toTex()}\\ \\
|
|
68
|
+
: `Pour convertir $${radNode.toTex()}\\ \\textrm{rad}$ en degrés, on fait donc un produit en croix :
|
|
69
69
|
|
|
70
70
|
$$
|
|
71
71
|
${radNode.toTex()}\\times \\frac{180}{\\pi} = ${answer}
|
|
@@ -123,6 +123,9 @@ const getIdentifiers = (prevIds) => {
|
|
|
123
123
|
};
|
|
124
124
|
const getDegreeToRadiansQuestion = () => {
|
|
125
125
|
const identifiers = getIdentifiers();
|
|
126
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
127
|
+
};
|
|
128
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
126
129
|
const question = {
|
|
127
130
|
answer: getAnswer(identifiers),
|
|
128
131
|
instruction: getInstruction(identifiers),
|
|
@@ -146,8 +149,6 @@ export const degreeToRadians = {
|
|
|
146
149
|
getPropositions,
|
|
147
150
|
isAnswerValid,
|
|
148
151
|
subject: "Mathématiques",
|
|
149
|
-
|
|
150
|
-
getCorrection,
|
|
151
|
-
getAnswer,
|
|
152
|
+
getQuestionFromIdentifiers,
|
|
152
153
|
hasHintAndCorrection: true,
|
|
153
154
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equationCosOnRandomInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/equationCosOnRandomInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"equationCosOnRandomInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/equationCosOnRandomInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAmBrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAkIF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
|
|
@@ -82,6 +82,9 @@ const getEquationCosOnRandomIntervalQuestion = () => {
|
|
|
82
82
|
const degree = value.degree;
|
|
83
83
|
const leftBoundPiMultiple = randint(-3, 4);
|
|
84
84
|
const identifiers = { degree, leftBoundPiMultiple };
|
|
85
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
86
|
+
};
|
|
87
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
85
88
|
const question = {
|
|
86
89
|
answer: getAnswer(identifiers),
|
|
87
90
|
instruction: getInstruction(identifiers),
|
|
@@ -104,7 +107,5 @@ export const equationCosOnRandomInterval = {
|
|
|
104
107
|
getPropositions,
|
|
105
108
|
isAnswerValid,
|
|
106
109
|
subject: "Mathématiques",
|
|
107
|
-
|
|
108
|
-
// getCorrection,
|
|
109
|
-
getAnswer,
|
|
110
|
+
getQuestionFromIdentifiers,
|
|
110
111
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equationSinOnRandomInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/equationSinOnRandomInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"equationSinOnRandomInterval.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/equationSinOnRandomInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAqBrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAkHF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAc7D,CAAC"}
|
|
@@ -73,6 +73,9 @@ const getEquationSinOnRandomIntervalQuestion = () => {
|
|
|
73
73
|
const degree = value.degree;
|
|
74
74
|
const leftBoundPiMultiple = randint(-3, 4);
|
|
75
75
|
const identifiers = { degree, leftBoundPiMultiple };
|
|
76
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
77
|
+
};
|
|
78
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
76
79
|
const question = {
|
|
77
80
|
answer: getAnswer(identifiers),
|
|
78
81
|
instruction: getInstruction(identifiers),
|
|
@@ -95,7 +98,5 @@ export const equationSinOnRandomInterval = {
|
|
|
95
98
|
getPropositions,
|
|
96
99
|
isAnswerValid,
|
|
97
100
|
subject: "Mathématiques",
|
|
98
|
-
|
|
99
|
-
// getCorrection,
|
|
100
|
-
getAnswer,
|
|
101
|
+
getQuestionFromIdentifiers,
|
|
101
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainAngleMeasure.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/mainAngleMeasure.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"mainAngleMeasure.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/mainAngleMeasure.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAmBT,MAAM,6BAA6B,CAAC;AAgBrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAiGF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAclD,CAAC"}
|
|
@@ -71,6 +71,9 @@ const getMainAngleMeasureQuestion = () => {
|
|
|
71
71
|
multipleOf2PiToAdd,
|
|
72
72
|
nodeIds: node.toIdentifiers(),
|
|
73
73
|
};
|
|
74
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
75
|
+
};
|
|
76
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
74
77
|
const question = {
|
|
75
78
|
answer: getAnswer(identifiers),
|
|
76
79
|
instruction: getInstruction(identifiers),
|
|
@@ -94,9 +97,5 @@ export const mainAngleMeasure = {
|
|
|
94
97
|
getPropositions,
|
|
95
98
|
isAnswerValid,
|
|
96
99
|
subject: "Mathématiques",
|
|
97
|
-
|
|
98
|
-
// getCorrection,
|
|
99
|
-
getAnswer,
|
|
100
|
-
getInstruction,
|
|
101
|
-
// hasHintAndCorrection: false,
|
|
100
|
+
getQuestionFromIdentifiers,
|
|
102
101
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainRemarkableValues.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/mainRemarkableValues.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"mainRemarkableValues.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/mainRemarkableValues.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,EAcT,MAAM,mBAAmB,CAAC;AAE3B,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAiGF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAe9D,CAAC"}
|
|
@@ -42,6 +42,9 @@ const getMainRemarkableValues = () => {
|
|
|
42
42
|
const isCos = coinFlip();
|
|
43
43
|
const valueIndex = randint(0, mainTrigoValues.length);
|
|
44
44
|
const identifiers = { valueIndex, isCos };
|
|
45
|
+
return getQuestionFromIdentifiers(identifiers);
|
|
46
|
+
};
|
|
47
|
+
const getQuestionFromIdentifiers = (identifiers) => {
|
|
45
48
|
const question = {
|
|
46
49
|
instruction: getInstruction(identifiers),
|
|
47
50
|
startStatement: getStartStatement(identifiers),
|
|
@@ -97,8 +100,6 @@ export const mainRemarkableValuesExercise = {
|
|
|
97
100
|
getPropositions,
|
|
98
101
|
isAnswerValid,
|
|
99
102
|
subject: "Mathématiques",
|
|
100
|
-
|
|
101
|
-
getAnswer,
|
|
102
|
-
getStartStatement,
|
|
103
|
+
getQuestionFromIdentifiers,
|
|
103
104
|
rebuildIdentifiers,
|
|
104
105
|
};
|
|
@@ -8,7 +8,7 @@ import { FractionNode } from "../../../tree/nodes/operators/fractionNode.js";
|
|
|
8
8
|
import { random } from "../../../utils/alea/random.js";
|
|
9
9
|
import { shuffle } from "../../../utils/alea/shuffle.js";
|
|
10
10
|
const getHint = (identifiers) => {
|
|
11
|
-
return `On peut utiliser
|
|
11
|
+
return `On peut utiliser :
|
|
12
12
|
|
|
13
13
|
$$
|
|
14
14
|
\\text{SOHCAHTOA}
|
|
@@ -46,7 +46,7 @@ const getCorrection = (identifiers) => {
|
|
|
46
46
|
[oppose, hypo],
|
|
47
47
|
[oppose, adjacent],
|
|
48
48
|
][randTrigo];
|
|
49
|
-
return `On utilise
|
|
49
|
+
return `On utilise :
|
|
50
50
|
|
|
51
51
|
$$
|
|
52
52
|
${formules[randTrigo]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigonometryAngleCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometryAngleCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAUnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AAqLF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"trigonometryAngleCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometryAngleCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAUnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AAqLF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,CAgBzD,CAAC"}
|
|
@@ -12,9 +12,10 @@ const getInstruction = (identifiers) => {
|
|
|
12
12
|
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
13
13
|
const triangle = RightTriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
14
14
|
const givenSides = triangle.sides.filter((s, i) => i !== hiddenSide);
|
|
15
|
-
|
|
15
|
+
const angle = triangle.angles[randAngle];
|
|
16
|
+
return `Le triangle $${triangle.name}$ rectangle en $${triangle.points[0].name}$ est tel que $${givenSides[0].toLengthTex()}\\ \\textrm{cm}$ et $${givenSides[1].toLengthTex()}\\ \\textrm{cm}$.
|
|
16
17
|
|
|
17
|
-
Calculer
|
|
18
|
+
Calculer l'angle $${angle.toTex()}$ à $1^\\circ$ près.`;
|
|
18
19
|
};
|
|
19
20
|
const getAnswer = (identifiers) => {
|
|
20
21
|
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
@@ -24,7 +25,7 @@ const getAnswer = (identifiers) => {
|
|
|
24
25
|
};
|
|
25
26
|
const getHint = (identifiers) => {
|
|
26
27
|
const { randAngle, hiddenSide, triangleIdentifiers } = identifiers;
|
|
27
|
-
return `On peut utiliser
|
|
28
|
+
return `On peut utiliser :
|
|
28
29
|
|
|
29
30
|
$$
|
|
30
31
|
\\text{SOHCAHTOA}
|
|
@@ -170,4 +171,5 @@ export const trigonometryAngleCalcul = {
|
|
|
170
171
|
subject: "Mathématiques",
|
|
171
172
|
getQuestionFromIdentifiers,
|
|
172
173
|
hasHintAndCorrection: true,
|
|
174
|
+
shouldHaveCalculator: true,
|
|
173
175
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigonometrySideCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometrySideCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;
|
|
1
|
+
{"version":3,"file":"trigonometrySideCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometrySideCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAEL,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,CAAC;AAmPF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAexD,CAAC"}
|
|
@@ -12,9 +12,9 @@ const getInstruction = (identifiers) => {
|
|
|
12
12
|
const { givenAngle, givenSide, sideAsked, triangleIdentifiers } = identifiers;
|
|
13
13
|
const triangle = TriangleConstructor.fromIdentifiers(triangleIdentifiers);
|
|
14
14
|
const angleValue = triangle.angles[givenAngle].evaluate().frenchify();
|
|
15
|
-
return `Le triangle $${triangle.name}$ rectangle en $${triangle.points[0].name}$ est tel que $${triangle.sides[givenSide].toLengthTex()}
|
|
15
|
+
return `Le triangle $${triangle.name}$ rectangle en $${triangle.points[0].name}$ est tel que $${triangle.sides[givenSide].toLengthTex()}\\ \\textrm{cm}$ et $${triangle.angles[givenAngle].toTex()} = ${angleValue}^\\circ$.
|
|
16
16
|
|
|
17
|
-
Calculer $${triangle.sides[sideAsked].toInsideName()}$ à $0,1
|
|
17
|
+
Calculer $${triangle.sides[sideAsked].toInsideName()}$ à $0,1 \\ \\textrm{cm}$ près.`;
|
|
18
18
|
};
|
|
19
19
|
const getAnswer = (identifiers) => {
|
|
20
20
|
const { givenAngle, givenSide, sideAsked, triangleIdentifiers } = identifiers;
|
|
@@ -74,10 +74,10 @@ const getPropositions = (n, { answer }) => {
|
|
|
74
74
|
return shuffle(propositions);
|
|
75
75
|
};
|
|
76
76
|
const getHint = (identifiers) => {
|
|
77
|
-
return `Identifie le côté opposé, le côté adjacent et l'hypoténuse du triangle. Puis
|
|
77
|
+
return `Identifie le côté opposé, le côté adjacent et l'hypoténuse du triangle. Puis utilise la bonne formule de trigonométrie, en te rappelant de :
|
|
78
78
|
|
|
79
79
|
$$
|
|
80
|
-
\\text{
|
|
80
|
+
\\text{SOHCAHTOA}
|
|
81
81
|
$$`;
|
|
82
82
|
};
|
|
83
83
|
const getCorrection = (identifiers) => {
|
|
@@ -196,12 +196,12 @@ $$
|
|
|
196
196
|
\\${fct.id}(${angleValue}) = \\frac{${sides[isDenumeratorAsked ? 1 : 0].insideTex}}{${sides[isDenumeratorAsked ? 0 : 1].insideTex}} = \\frac{${sides[isDenumeratorAsked ? 1 : 0].value}}{${sides[isDenumeratorAsked ? 0 : 1].value}}
|
|
197
197
|
$$
|
|
198
198
|
|
|
199
|
-
Ainsi
|
|
199
|
+
Ainsi
|
|
200
200
|
|
|
201
201
|
$$
|
|
202
202
|
${isDenumeratorAsked
|
|
203
203
|
? `${sides[0].insideTex} = \\frac{${sides[1].value}}{\\${fct.id}(${angleValue})}`
|
|
204
|
-
: `${sides[0].insideTex} = \\${fct.id}(${angleValue}) \\times ${sides[1].value}`} \\approx ${getAnswer(identifiers)}\\
|
|
204
|
+
: `${sides[0].insideTex} = \\${fct.id}(${angleValue}) \\times ${sides[1].value}`} \\approx ${getAnswer(identifiers)}\\ \\textrm{cm}
|
|
205
205
|
$$`;
|
|
206
206
|
};
|
|
207
207
|
const isAnswerValid = (ans, { answer }) => {
|
|
@@ -37,7 +37,7 @@ const getPropositions = (n, { answer, atomSymbol }) => {
|
|
|
37
37
|
return shuffleProps(propositions, n);
|
|
38
38
|
};
|
|
39
39
|
const isAnswerValid = (ans, { answer }) => {
|
|
40
|
-
return ans ===
|
|
40
|
+
return ans === answer;
|
|
41
41
|
};
|
|
42
42
|
export const atomicStructureOfNucleus = {
|
|
43
43
|
id: "atomicStructureOfNucleus",
|
package/lib/index.d.ts
CHANGED
|
@@ -141,6 +141,8 @@ declare const mathExercises: (Exercise<{
|
|
|
141
141
|
}, {}> | Exercise<{
|
|
142
142
|
nodeIds: any;
|
|
143
143
|
type: number;
|
|
144
|
+
}, {}> | Exercise<{
|
|
145
|
+
nb: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
|
|
144
146
|
}, {}> | Exercise<{
|
|
145
147
|
randQuation: number;
|
|
146
148
|
x1: string | number;
|
|
@@ -611,6 +613,17 @@ declare const mathExercises: (Exercise<{
|
|
|
611
613
|
yA: number;
|
|
612
614
|
yPrimeA: any;
|
|
613
615
|
trinomCoeffs: number[];
|
|
616
|
+
}, {}> | Exercise<{
|
|
617
|
+
a: number;
|
|
618
|
+
fa: number;
|
|
619
|
+
fprimea: number;
|
|
620
|
+
}, {}> | Exercise<{
|
|
621
|
+
A: number[];
|
|
622
|
+
B: number[];
|
|
623
|
+
coeffs: number[];
|
|
624
|
+
isAskingDerivative: boolean;
|
|
625
|
+
}, {}> | Exercise<{
|
|
626
|
+
trinomCoeffs: number[];
|
|
614
627
|
}, {}> | Exercise<{
|
|
615
628
|
a: number;
|
|
616
629
|
c: number;
|
|
@@ -1459,20 +1472,6 @@ declare const mathExercises: (Exercise<{
|
|
|
1459
1472
|
AjCoeff: number;
|
|
1460
1473
|
BiCoeff: number;
|
|
1461
1474
|
BjCoeff: number;
|
|
1462
|
-
}, {}> | Exercise<{
|
|
1463
|
-
randNbr: number;
|
|
1464
|
-
randPercent: number;
|
|
1465
|
-
isUp: boolean;
|
|
1466
|
-
}, {}> | Exercise<{
|
|
1467
|
-
rate: number;
|
|
1468
|
-
nbMois: number;
|
|
1469
|
-
}, {}> | Exercise<{
|
|
1470
|
-
evolution: number;
|
|
1471
|
-
}, {}> | Exercise<{
|
|
1472
|
-
evolutions: string[];
|
|
1473
|
-
}, {}> | Exercise<{
|
|
1474
|
-
randPercent: number;
|
|
1475
|
-
isUp: boolean;
|
|
1476
1475
|
}, {}> | Exercise<{
|
|
1477
1476
|
isPercentToDecimal: boolean;
|
|
1478
1477
|
nb: number;
|
|
@@ -1482,8 +1481,6 @@ declare const mathExercises: (Exercise<{
|
|
|
1482
1481
|
}, {}> | Exercise<{
|
|
1483
1482
|
total: number;
|
|
1484
1483
|
lefties: number;
|
|
1485
|
-
}, {}> | Exercise<{
|
|
1486
|
-
evolution: number;
|
|
1487
1484
|
}, {}> | Exercise<{
|
|
1488
1485
|
TVA: number;
|
|
1489
1486
|
ht: number;
|
|
@@ -1494,12 +1491,6 @@ declare const mathExercises: (Exercise<{
|
|
|
1494
1491
|
ttc: number;
|
|
1495
1492
|
ht: number;
|
|
1496
1493
|
tva: number;
|
|
1497
|
-
}, {}> | Exercise<{
|
|
1498
|
-
vd: number;
|
|
1499
|
-
vf: number;
|
|
1500
|
-
}, {}> | Exercise<{
|
|
1501
|
-
vf: number;
|
|
1502
|
-
percentRate: number;
|
|
1503
1494
|
}, {}> | Exercise<{
|
|
1504
1495
|
contextType: number;
|
|
1505
1496
|
total: number;
|
|
@@ -1508,6 +1499,31 @@ declare const mathExercises: (Exercise<{
|
|
|
1508
1499
|
subPopulationEffectif: number;
|
|
1509
1500
|
subPopulationPercent: number;
|
|
1510
1501
|
contextType: number;
|
|
1502
|
+
}, {}> | Exercise<{
|
|
1503
|
+
percent: number;
|
|
1504
|
+
target: "decimalToPercent" | "fractionToPercent" | "percentToDecimal" | "percentToFraction";
|
|
1505
|
+
}, {}> | Exercise<{
|
|
1506
|
+
randNbr: number;
|
|
1507
|
+
randPercent: number;
|
|
1508
|
+
isUp: boolean;
|
|
1509
|
+
}, {}> | Exercise<{
|
|
1510
|
+
rate: number;
|
|
1511
|
+
nbMois: number;
|
|
1512
|
+
}, {}> | Exercise<{
|
|
1513
|
+
evolution: number;
|
|
1514
|
+
}, {}> | Exercise<{
|
|
1515
|
+
evolutions: string[];
|
|
1516
|
+
}, {}> | Exercise<{
|
|
1517
|
+
randPercent: number;
|
|
1518
|
+
isUp: boolean;
|
|
1519
|
+
}, {}> | Exercise<{
|
|
1520
|
+
evolution: number;
|
|
1521
|
+
}, {}> | Exercise<{
|
|
1522
|
+
vd: number;
|
|
1523
|
+
vf: number;
|
|
1524
|
+
}, {}> | Exercise<{
|
|
1525
|
+
vf: number;
|
|
1526
|
+
percentRate: number;
|
|
1511
1527
|
}, {}> | Exercise<{
|
|
1512
1528
|
vd: number;
|
|
1513
1529
|
percentRate: number;
|
|
@@ -1517,9 +1533,12 @@ declare const mathExercises: (Exercise<{
|
|
|
1517
1533
|
evolution: number;
|
|
1518
1534
|
askingFinalPrice: boolean;
|
|
1519
1535
|
}, {}> | Exercise<{
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1536
|
+
initialCapital: number;
|
|
1537
|
+
rate: number;
|
|
1538
|
+
duration: number;
|
|
1539
|
+
}, {
|
|
1540
|
+
withFormula?: boolean;
|
|
1541
|
+
}> | Exercise<{
|
|
1523
1542
|
int: number;
|
|
1524
1543
|
power: number;
|
|
1525
1544
|
}, {}> | Exercise<{
|
|
@@ -1729,6 +1748,9 @@ declare const mathExercises: (Exercise<{
|
|
|
1729
1748
|
}, {
|
|
1730
1749
|
useFractions?: boolean;
|
|
1731
1750
|
}> | Exercise<{
|
|
1751
|
+
values: number[];
|
|
1752
|
+
target: number;
|
|
1753
|
+
}, {}> | Exercise<{
|
|
1732
1754
|
xValuesIds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers[];
|
|
1733
1755
|
yValuesIds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers[];
|
|
1734
1756
|
}, {}> | Exercise<{
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SpacePoint } from "../geometry/spacePoint.js";
|
|
2
|
+
import { SpaceVector } from "../geometry/spaceVector.js";
|
|
3
|
+
export declare class Plane {
|
|
4
|
+
normalVector: SpaceVector;
|
|
5
|
+
point: SpacePoint;
|
|
6
|
+
constructor(point: SpacePoint, normalVector: SpaceVector);
|
|
7
|
+
toCartesianEquation(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=plane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plane.d.ts","sourceRoot":"","sources":["../../../src/math/spaceGeometry/plane.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,qBAAa,KAAK;IAChB,YAAY,EAAE,WAAW,CAAC;IAC1B,KAAK,EAAE,UAAU,CAAC;gBACN,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW;IAKxD,mBAAmB;CAiBpB"}
|