math-exercises 2.2.6 → 2.2.8
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/addAndSub.js +1 -1
- package/lib/exercises/math/calcul/addAndSubWithoutRelatives.js +1 -1
- package/lib/exercises/math/calcul/arithmetics/divisorsList.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/divisorsList.js +10 -7
- package/lib/exercises/math/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/primeNumbers.js +0 -1
- package/lib/exercises/math/calcul/digitDecimalRank.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitDecimalRank.js +2 -3
- package/lib/exercises/math/calcul/digitDecimalRankNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitDecimalRankNumber.js +2 -3
- package/lib/exercises/math/calcul/digitRank.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitRank.js +2 -3
- package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitRankNumber.js +2 -3
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +0 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +0 -1
- package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionToPercentToDecimal.js +0 -1
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts +10 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.d.ts.map +1 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsMultiplesDenominators.js +61 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts +10 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.d.ts.map +1 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsPrimeDenominators.js +56 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts +9 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.d.ts.map +1 -0
- package/lib/exercises/math/calcul/fractions/fractionsSumsSameDenominators.js +57 -0
- package/lib/exercises/math/calcul/fractions/index.d.ts +3 -0
- package/lib/exercises/math/calcul/fractions/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/index.js +3 -0
- package/lib/exercises/math/calcul/fractions/simplifyFraction.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/simplifyFraction.js +0 -1
- package/lib/exercises/math/calcul/mentalCaluls/index.d.ts +2 -0
- package/lib/exercises/math/calcul/mentalCaluls/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/index.js +2 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSub.js +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.d.ts +7 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.d.ts.map +1 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalAddAndSubNoRelative.js +71 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.d.ts.map +1 -1
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplications.js +25 -17
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.d.ts +7 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.d.ts.map +1 -0
- package/lib/exercises/math/calcul/mentalCaluls/mentalMultiplicationsNoRelative.js +93 -0
- package/lib/exercises/math/calcul/operations/expressionNature.d.ts +1 -0
- package/lib/exercises/math/calcul/operations/expressionNature.d.ts.map +1 -0
- package/lib/exercises/math/calcul/operations/expressionNature.js +81 -0
- package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +0 -1
- package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.js +0 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +0 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType3.js +0 -1
- package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/simplifying/reduceExpression.js +0 -1
- package/lib/exercises/math/complex/addComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/addComplex.js +0 -1
- package/lib/exercises/math/complex/conjugateComplex.ts.d.ts.map +1 -1
- package/lib/exercises/math/complex/conjugateComplex.ts.js +0 -1
- package/lib/exercises/math/complex/conjugateDivideComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/conjugateDivideComplex.js +0 -1
- package/lib/exercises/math/complex/inverseComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/inverseComplex.js +0 -1
- package/lib/exercises/math/complex/moduloFromAlgebraicComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/moduloFromAlgebraicComplex.js +0 -1
- package/lib/exercises/math/complex/mutiplyComplex.d.ts.map +1 -1
- package/lib/exercises/math/complex/mutiplyComplex.js +0 -1
- package/lib/exercises/math/conversion/aeraConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/aeraConversion.js +0 -2
- package/lib/exercises/math/conversion/capacityConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/capacityConversion.js +0 -1
- package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/lengthConversion.js +0 -2
- package/lib/exercises/math/conversion/massConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/massConversion.js +0 -2
- package/lib/exercises/math/conversion/volumeCapacityConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/volumeCapacityConversion.js +0 -2
- package/lib/exercises/math/conversion/volumeConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/volumeConversion.js +0 -2
- package/lib/exercises/math/derivation/derivative/expDerivativeOne.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/expDerivativeOne.js +0 -1
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/inverseFunctionDerivative.js +0 -1
- package/lib/exercises/math/derivation/derivative/lnDerivativeOne.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/lnDerivativeOne.js +0 -1
- package/lib/exercises/math/derivation/derivative/lnDerivativeThree.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/lnDerivativeThree.js +0 -1
- package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/powerCompositionDerivation.js +0 -2
- package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/powerFunctionDerivative.js +0 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/quotientDerivative.js +0 -1
- package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/rootFunctionDerivative.js +0 -1
- package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/secondDegreeDerivative.js +0 -1
- package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/thirdDegreeDerivative.js +0 -1
- package/lib/exercises/math/derivation/derivativeNumberReading.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivativeNumberReading.js +0 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +0 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralFormeWithIC.js +0 -1
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +0 -1
- package/lib/exercises/math/functions/basics/graphicInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/graphicInequation.js +12 -3
- package/lib/exercises/math/functions/cube/cubicEquation.js +0 -1
- package/lib/exercises/math/functions/exponential/expEquation.js +0 -1
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +3 -4
- package/lib/exercises/math/functions/trinoms/rootsFromFactorizedForm.js +0 -1
- package/lib/exercises/math/functions/trinoms/secondDegreeInequation.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/secondDegreeInequation.js +0 -1
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.js +1 -1
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.js +1 -1
- package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/summitAbscissFromRoots.js +0 -2
- package/lib/exercises/math/geometry/areas/triangleAreaV2.d.ts.map +1 -1
- package/lib/exercises/math/geometry/areas/triangleAreaV2.js +0 -1
- package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/distanceBetweenTwoPoints.js +0 -1
- package/lib/exercises/math/geometry/cartesian/midpoint.js +0 -1
- package/lib/exercises/math/geometry/cartesian/placeAPoint.d.ts +4 -1
- package/lib/exercises/math/geometry/cartesian/placeAPoint.d.ts.map +1 -1
- package/lib/exercises/math/geometry/cartesian/placeAPoint.js +1 -1
- package/lib/exercises/math/geometry/pythagore/pythagoreCalcul.js +0 -1
- package/lib/exercises/math/geometry/thales/thales.js +0 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.js +0 -1
- package/lib/exercises/math/geometry/vectors/alignementViaColinearity.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/alignementViaColinearity.js +0 -2
- package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/parallelogramViaEqualVectors.js +0 -2
- package/lib/exercises/math/percent/averageEvolutionRate.d.ts.map +1 -1
- package/lib/exercises/math/percent/averageEvolutionRate.js +16 -0
- package/lib/exercises/math/percent/cmToEvolution.d.ts +7 -0
- package/lib/exercises/math/percent/cmToEvolution.d.ts.map +1 -0
- package/lib/exercises/math/percent/cmToEvolution.js +70 -0
- package/lib/exercises/math/percent/evolutionToCM.d.ts +0 -1
- package/lib/exercises/math/percent/evolutionToCM.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutionToCM.js +20 -24
- package/lib/exercises/math/percent/findProportion.d.ts.map +1 -1
- package/lib/exercises/math/percent/findProportion.js +16 -1
- package/lib/exercises/math/percent/globalPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/globalPercent.js +14 -0
- package/lib/exercises/math/percent/index.d.ts +1 -0
- package/lib/exercises/math/percent/index.d.ts.map +1 -1
- package/lib/exercises/math/percent/index.js +1 -0
- package/lib/exercises/math/percent/isTableProportional.d.ts.map +1 -1
- package/lib/exercises/math/percent/isTableProportional.js +35 -33
- package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentToDecimal.js +14 -1
- package/lib/exercises/math/percent/reciprocalPercentage.d.ts.map +1 -1
- package/lib/exercises/math/percent/reciprocalPercentage.js +18 -0
- package/lib/exercises/math/percent/valuePercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/valuePercent.js +7 -0
- package/lib/exercises/math/powers/calculateNegativePower.js +0 -1
- package/lib/exercises/math/powers/decimalToScientific.d.ts.map +1 -1
- package/lib/exercises/math/powers/decimalToScientific.js +0 -1
- package/lib/exercises/math/powers/powersPower.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersPower.js +0 -1
- package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersProduct.js +22 -0
- package/lib/exercises/math/powers/scientificToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/powers/scientificToDecimal.js +0 -2
- package/lib/exercises/math/primitive/expUPrimitive.js +0 -1
- package/lib/exercises/math/primitive/exponentialPrimitive.js +0 -1
- package/lib/exercises/math/primitive/logarithmePrimitive.js +0 -1
- package/lib/exercises/math/primitive/polynomialPrimitive.js +0 -1
- package/lib/exercises/math/primitive/sinCosPrimitive.js +0 -1
- package/lib/exercises/math/primitive/sinUCosUPrimitive.js +0 -1
- package/lib/exercises/math/probaStat/cardBasicProbas.js +0 -1
- package/lib/exercises/math/probaStat/diceBasicProbas.js +0 -1
- package/lib/exercises/math/probaStat/expectedValueOfBinomialProba.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/expectedValueOfBinomialProba.js +14 -2
- package/lib/exercises/math/probaStat/probabilityTree.js +0 -1
- package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.js +13 -4
- package/lib/exercises/math/probaStat/varianceOfBinomialProba.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/varianceOfBinomialProba.js +21 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +15 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplicitFormula.js +17 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindExplictFormulaFirstTermRandom.js +0 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts +10 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.d.ts.map +1 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindTerm.js +48 -0
- package/lib/exercises/math/sequences/arithmetic/index.d.ts +1 -0
- package/lib/exercises/math/sequences/arithmetic/index.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/index.js +1 -0
- package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricExplicitFormulaUsage.js +14 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormula.js +15 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/geometricFindExplicitFormulaFirstTermRandom.js +0 -1
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts +10 -0
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.d.ts.map +1 -0
- package/lib/exercises/math/sequences/geometric/geometricFindTerm.js +48 -0
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts +8 -0
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.d.ts.map +1 -0
- package/lib/exercises/math/sequences/geometric/geometricRecognizeReasonFromFirstTerms.js +46 -0
- package/lib/exercises/math/sequences/geometric/index.d.ts +2 -0
- package/lib/exercises/math/sequences/geometric/index.d.ts.map +1 -1
- package/lib/exercises/math/sequences/geometric/index.js +2 -0
- package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts +2 -3
- package/lib/exercises/math/sets/intervals/inequalityToInterval.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/inequalityToInterval.js +23 -91
- package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts +10 -0
- package/lib/exercises/math/sets/intervals/intervalToInequality.d.ts.map +1 -0
- package/lib/exercises/math/sets/intervals/intervalToInequality.js +112 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +15 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -1
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +26 -1
- package/lib/exercises/math/squareRoots/squareRootsSum.d.ts.map +1 -1
- package/lib/exercises/math/squareRoots/squareRootsSum.js +0 -1
- package/lib/exercises/math/suites/sequenceEvaluation.js +1 -1
- package/lib/exercises/math/suites/sequencePlot.d.ts.map +1 -1
- package/lib/exercises/math/suites/sequencePlot.js +10 -3
- package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.js +0 -1
- package/lib/exercises/pc/energy/energyTransfer.d.ts.map +1 -1
- package/lib/exercises/pc/energy/energyTransfer.js +0 -1
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +0 -1
- package/lib/exercises/pc/mecanicalWaves/elongationReading.d.ts.map +1 -1
- package/lib/exercises/pc/mecanicalWaves/elongationReading.js +0 -1
- package/lib/index.d.ts +72 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -0
- package/lib/math/geometry/line.d.ts.map +1 -1
- package/lib/math/geometry/line.js +0 -2
- package/lib/math/geometry/spaceVector.d.ts +1 -0
- package/lib/math/geometry/spaceVector.d.ts.map +1 -1
- package/lib/math/geometry/spaceVector.js +3 -0
- package/lib/math/polynomials/trinom.js +2 -2
- package/lib/pc/constants/molecularChemistry/reaction.js +3 -1
- package/lib/playground.d.ts.map +1 -1
- package/lib/playground.js +2 -14
- package/lib/server.d.ts +1 -0
- package/lib/server.d.ts.map +1 -1
- package/lib/server.js +4 -1
- package/lib/tree/nodes/sets/closure.d.ts +2 -0
- package/lib/tree/nodes/sets/closure.d.ts.map +1 -1
- package/lib/tree/nodes/sets/closure.js +24 -0
- package/lib/tree/nodes/sets/intervalNode.d.ts +3 -0
- package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/intervalNode.js +13 -0
- package/lib/tree/parsers/latexParser.js +6 -6
- package/lib/utils/numberPrototype/toSeparatedThousands.d.ts +2 -0
- package/lib/utils/numberPrototype/toSeparatedThousands.d.ts.map +1 -0
- package/lib/utils/numberPrototype/toSeparatedThousands.js +12 -0
- package/package.json +1 -1
|
@@ -5,49 +5,44 @@ const exercise_1 = require("../../../exercises/exercise");
|
|
|
5
5
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
6
6
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
7
7
|
const round_1 = require("../../../math/utils/round");
|
|
8
|
-
const coinFlip_1 = require("../../../utils/coinFlip");
|
|
9
8
|
const getEvolutionToCmQuestion = () => {
|
|
10
|
-
const isFromEvolutionToCM = (0, coinFlip_1.coinFlip)();
|
|
11
9
|
const evolution = (0, randint_1.randint)(-99, 101, [0]);
|
|
12
10
|
const isHausse = evolution > 0;
|
|
13
11
|
const CM = ((0, round_1.round)(1 + evolution / 100, 2) + "").replaceAll(".", ",");
|
|
14
|
-
const answer =
|
|
15
|
-
? CM
|
|
16
|
-
: (isHausse ? "+" : "") + evolution + "\\%";
|
|
12
|
+
const answer = CM;
|
|
17
13
|
const question = {
|
|
18
14
|
answer: answer,
|
|
19
|
-
instruction:
|
|
20
|
-
? `Quel est le coefficient multiplicateur associé à une ${isHausse ? "hausse" : "baisse"} de $${isHausse ? evolution : evolution.toString().slice(1)}\\%$ ?`
|
|
21
|
-
: `Quelle est l'évolution en pourcentage associée à un coefficient multiplicateur de $${CM}$ ?`,
|
|
15
|
+
instruction: `Quel est le coefficient multiplicateur associé à une ${isHausse ? "hausse" : "baisse"} de $${isHausse ? evolution : evolution.toString().slice(1)}\\%$ ?`,
|
|
22
16
|
keys: ["percent"],
|
|
23
17
|
answerFormat: "tex",
|
|
24
|
-
identifiers: {
|
|
18
|
+
identifiers: { evolution },
|
|
19
|
+
hint: `Le coefficient multiplicateur associé à une ${isHausse ? "hausse" : "baisse"} de $t\\%$ est donné par $${isHausse ? "1+\\frac{t}{100}" : "1-\\frac{t}{100}"}$.
|
|
20
|
+
`,
|
|
21
|
+
correction: `Le coefficient multiplicateur associé à une ${isHausse ? "hausse" : "baisse"} de $t\\%$ est donné par $${isHausse ? "1+\\frac{t}{100}" : "1-\\frac{t}{100}"}$.
|
|
22
|
+
|
|
23
|
+
Ici, on a $t = ${Math.abs(evolution)}$\\%, donc le coefficient multiplicateur vaut :
|
|
24
|
+
|
|
25
|
+
$$
|
|
26
|
+
1${isHausse ? "+" : "-"}\\frac{${Math.abs(evolution)}}{100} = ${CM}
|
|
27
|
+
$$
|
|
28
|
+
|
|
29
|
+
`,
|
|
25
30
|
};
|
|
26
31
|
return question;
|
|
27
32
|
};
|
|
28
|
-
const getPropositions = (n, { answer,
|
|
33
|
+
const getPropositions = (n, { answer, evolution }) => {
|
|
29
34
|
const propositions = [];
|
|
30
35
|
(0, exercise_1.addValidProp)(propositions, answer);
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
(0, exercise_1.tryToAddWrongProp)(propositions, evolution + "");
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
(0, exercise_1.tryToAddWrongProp)(propositions, "+" + ((0, round_1.round)(1 + evolution / 100, 2) * 100 + "\\%").replaceAll(".", ","));
|
|
37
|
-
}
|
|
36
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, ((0, round_1.round)(evolution / 100, 2) + "").replaceAll(".", ","));
|
|
37
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, evolution + "");
|
|
38
38
|
while (propositions.length < n) {
|
|
39
|
-
const wrongAnswer =
|
|
40
|
-
? ((0, round_1.round)((0, randint_1.randint)(1, 200) / 100, 2) + "").replaceAll(".", ",")
|
|
41
|
-
: ((0, coinFlip_1.coinFlip)() ? "+" : "-") + (0, randint_1.randint)(1, 100) + "\\%";
|
|
39
|
+
const wrongAnswer = ((0, round_1.round)((0, randint_1.randint)(1, 200) / 100, 2) + "").replaceAll(".", ",");
|
|
42
40
|
(0, exercise_1.tryToAddWrongProp)(propositions, wrongAnswer);
|
|
43
41
|
}
|
|
44
42
|
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
45
43
|
};
|
|
46
44
|
const isAnswerValid = (ans, { answer }) => {
|
|
47
|
-
|
|
48
|
-
if (answer[0] === "+")
|
|
49
|
-
allowedTex.push(answer.slice(1));
|
|
50
|
-
return allowedTex.includes(ans);
|
|
45
|
+
return ans === answer;
|
|
51
46
|
};
|
|
52
47
|
exports.evolutionToCM = {
|
|
53
48
|
id: "evolutionToCM",
|
|
@@ -62,4 +57,5 @@ exports.evolutionToCM = {
|
|
|
62
57
|
getPropositions,
|
|
63
58
|
isAnswerValid,
|
|
64
59
|
subject: "Mathématiques",
|
|
60
|
+
hasHintAndCorrection: true,
|
|
65
61
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findProportion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/findProportion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;
|
|
1
|
+
{"version":3,"file":"findProportion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/findProportion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAsDF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,WAAW,CAehD,CAAC"}
|
|
@@ -7,7 +7,7 @@ const randfloat_1 = require("../../../math/utils/random/randfloat");
|
|
|
7
7
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
8
8
|
const round_1 = require("../../../math/utils/round");
|
|
9
9
|
const getFindProportionQuestion = () => {
|
|
10
|
-
const total = (0, randint_1.randint)(
|
|
10
|
+
const total = (0, randint_1.randint)(120, 200);
|
|
11
11
|
const lefties = (0, randint_1.randint)(30, 120);
|
|
12
12
|
const answer = (0, round_1.round)((lefties / total) * 100, 2).frenchify() + "\\%";
|
|
13
13
|
const question = {
|
|
@@ -16,6 +16,20 @@ const getFindProportionQuestion = () => {
|
|
|
16
16
|
keys: ["percent"],
|
|
17
17
|
answerFormat: "tex",
|
|
18
18
|
identifiers: { total, lefties },
|
|
19
|
+
hint: `La proportion de gauchers s'obtient par la formule :
|
|
20
|
+
|
|
21
|
+
$$
|
|
22
|
+
\\frac{\\text{nombre de gauchers}}{\\text{nombre d'élèves}}\\times 100
|
|
23
|
+
$$
|
|
24
|
+
|
|
25
|
+
`,
|
|
26
|
+
correction: `Le pourcentage de gauchers dans ce lycée est de :
|
|
27
|
+
|
|
28
|
+
$$
|
|
29
|
+
\\frac{${lefties}}{${total}}\\times 100 = ${answer}
|
|
30
|
+
$$
|
|
31
|
+
|
|
32
|
+
`,
|
|
19
33
|
};
|
|
20
34
|
return question;
|
|
21
35
|
};
|
|
@@ -45,4 +59,5 @@ exports.findProportion = {
|
|
|
45
59
|
getPropositions,
|
|
46
60
|
isAnswerValid,
|
|
47
61
|
subject: "Mathématiques",
|
|
62
|
+
hasHintAndCorrection: true,
|
|
48
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalPercent.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/globalPercent.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAMxB,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"globalPercent.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/globalPercent.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAMxB,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAuFF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAe/C,CAAC"}
|
|
@@ -34,6 +34,19 @@ const getGlobalPercentQuestion = () => {
|
|
|
34
34
|
keys: ["percent"],
|
|
35
35
|
answerFormat: "tex",
|
|
36
36
|
identifiers: { evolutions },
|
|
37
|
+
hint: "Transforme chaque taux d'évolution en coefficient multiplicateur, puis multiplie ces coefficients multiplicateurs entre eux pour obtenir le coefficient multiplicateur global. Transforme alors ce CM global en taux d'évolution.",
|
|
38
|
+
correction: `On transforme les taux d'évolution en coefficients multiplicateurs puis on les multiplie entre eux :
|
|
39
|
+
|
|
40
|
+
$${evolutions
|
|
41
|
+
.map((e) => (0, round_1.round)(1 + Number(e) / 100, 2).frenchify())
|
|
42
|
+
.join(" \\times ")} = ${(0, round_1.round)(evolutions.reduce((acc, curr) => acc * (0, round_1.round)(1 + Number(curr) / 100, 2), 1), 4).frenchify()}$
|
|
43
|
+
|
|
44
|
+
Enfin, on transforme ce CM global en taux d'évolution :
|
|
45
|
+
|
|
46
|
+
$(${(0, round_1.round)(evolutions.reduce((acc, curr) => acc * (0, round_1.round)(1 + Number(curr) / 100, 2), 1), 4).frenchify()} - 1)\\times 100 = ${answer.replace("\\%", "")}$
|
|
47
|
+
|
|
48
|
+
Le taux d'évolution global est donc de $${answer}$.
|
|
49
|
+
`,
|
|
37
50
|
};
|
|
38
51
|
return question;
|
|
39
52
|
};
|
|
@@ -69,4 +82,5 @@ exports.globalPercent = {
|
|
|
69
82
|
getPropositions,
|
|
70
83
|
isAnswerValid,
|
|
71
84
|
subject: "Mathématiques",
|
|
85
|
+
hasHintAndCorrection: true,
|
|
72
86
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./percentToDecimal"), exports);
|
|
|
23
23
|
__exportStar(require("./valuePercent"), exports);
|
|
24
24
|
__exportStar(require("./findProportion"), exports);
|
|
25
25
|
__exportStar(require("./isTableProportional"), exports);
|
|
26
|
+
__exportStar(require("./cmToEvolution"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isTableProportional.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/isTableProportional.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"isTableProportional.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/isTableProportional.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG,EAAE,CAAC;AA8DtB,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CAerD,CAAC"}
|
|
@@ -3,17 +3,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isTableProportional = void 0;
|
|
4
4
|
const exercise_1 = require("../../../exercises/exercise");
|
|
5
5
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
6
|
+
const randTupleInt_1 = require("../../../math/utils/random/randTupleInt");
|
|
6
7
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
7
8
|
const coinFlip_1 = require("../../../utils/coinFlip");
|
|
8
9
|
const getIsTableProportionalQuestion = () => {
|
|
9
|
-
const
|
|
10
|
+
const xValues = (0, randTupleInt_1.randTupleInt)(3, {
|
|
11
|
+
from: 1,
|
|
12
|
+
to: 15,
|
|
13
|
+
allDifferent: true,
|
|
14
|
+
}).sort((a, b) => a - b);
|
|
15
|
+
const isProportionnal = (0, coinFlip_1.coinFlip)();
|
|
16
|
+
const coeff = (0, randint_1.randint)(2, 6);
|
|
17
|
+
const yValues = isProportionnal
|
|
18
|
+
? xValues.map((value) => value * coeff)
|
|
19
|
+
: xValues.map((value) => value * (0, randint_1.randint)(2, 5));
|
|
10
20
|
const question = {
|
|
11
|
-
answer:
|
|
12
|
-
instruction: `On considère le tableau ci-dessous. Est-ce un tableau de proportionnalité
|
|
21
|
+
answer: isProportionnal ? "Oui" : "Non",
|
|
22
|
+
instruction: `On considère le tableau ci-dessous. Est-ce un tableau de proportionnalité
|
|
23
|
+
|${xValues.map((value) => `$${value}$`).join("|")}|
|
|
24
|
+
|-|-|-|
|
|
25
|
+
|${yValues.map((value) => `$${value}$`).join("|")}|
|
|
26
|
+
`,
|
|
13
27
|
keys: [],
|
|
14
28
|
answerFormat: "raw",
|
|
15
29
|
style: { tableHasNoHeader: true },
|
|
16
|
-
identifiers: {
|
|
30
|
+
identifiers: {
|
|
31
|
+
xValues,
|
|
32
|
+
yValues,
|
|
33
|
+
},
|
|
34
|
+
hint: "Pour passer de la ligne du haut à la ligne du bas, multiplie-t-on toujours par le même nombre ? Si oui, alors c'est un tableau de proportionnalité.",
|
|
35
|
+
correction: `On divise les nombres de la deuxième ligne par les nombres de la première ligne. Si on obtient toujours le même résultat, alors c'est un tableau de proportionnalité.
|
|
36
|
+
|
|
37
|
+
- $${yValues[0]}\\div ${xValues[0]} = ${yValues[0] / xValues[0]}$
|
|
38
|
+
|
|
39
|
+
- $${yValues[1]}\\div ${xValues[1]} = ${yValues[1] / xValues[1]}$
|
|
40
|
+
|
|
41
|
+
- $${yValues[2]}\\div ${xValues[2]} = ${yValues[2] / xValues[2]}$
|
|
42
|
+
|
|
43
|
+
${isProportionnal
|
|
44
|
+
? "Puisque tous les résultats sont égaux, c'est bien un tableau de proportionnalité."
|
|
45
|
+
: "Puisque les résultats ne sont pas tous égaux, ce n'est pas un tableau de proportionnalité."}
|
|
46
|
+
`,
|
|
17
47
|
};
|
|
18
48
|
return question;
|
|
19
49
|
};
|
|
@@ -28,35 +58,6 @@ const getPropositions = (n, { answer }) => {
|
|
|
28
58
|
const isAnswerValid = (ans, { answer }) => {
|
|
29
59
|
return ans === answer;
|
|
30
60
|
};
|
|
31
|
-
const generateTable = () => {
|
|
32
|
-
const xValues = [(0, randint_1.randint)(1, 11)];
|
|
33
|
-
while (xValues.length < 3) {
|
|
34
|
-
let lastNb = xValues[xValues.length - 1];
|
|
35
|
-
let random = (0, randint_1.randint)(lastNb, lastNb + 11, [...xValues]);
|
|
36
|
-
xValues.push(random);
|
|
37
|
-
}
|
|
38
|
-
const yValues = generateYValues(xValues);
|
|
39
|
-
return {
|
|
40
|
-
table: `
|
|
41
|
-
|${xValues.map((value) => `$${value}$`).join("|")}|
|
|
42
|
-
|-|-|-|
|
|
43
|
-
|${yValues.values.map((value) => `$${value}$`).join("|")}|
|
|
44
|
-
`,
|
|
45
|
-
coeff: yValues.coeff,
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
const generateYValues = (xValues) => {
|
|
49
|
-
const flip = (0, coinFlip_1.coinFlip)();
|
|
50
|
-
const coeff = (0, randint_1.randint)(2, 6);
|
|
51
|
-
return flip
|
|
52
|
-
? {
|
|
53
|
-
values: xValues.map((value) => value * (0, randint_1.randint)(2, 5)),
|
|
54
|
-
}
|
|
55
|
-
: {
|
|
56
|
-
values: xValues.map((value) => value * coeff),
|
|
57
|
-
coeff,
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
61
|
exports.isTableProportional = {
|
|
61
62
|
id: "isVTableProportional",
|
|
62
63
|
label: "Reconnaître un tableau de proportionnalité",
|
|
@@ -70,4 +71,5 @@ exports.isTableProportional = {
|
|
|
70
71
|
isAnswerValid,
|
|
71
72
|
answerType: "QCU",
|
|
72
73
|
subject: "Mathématiques",
|
|
74
|
+
hasHintAndCorrection: true,
|
|
73
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"percentToDecimal.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/percentToDecimal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;
|
|
1
|
+
{"version":3,"file":"percentToDecimal.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/percentToDecimal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAuFF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CAelD,CAAC"}
|
|
@@ -21,6 +21,19 @@ const getPercentToDecimalQuestion = () => {
|
|
|
21
21
|
keys: ["percent"],
|
|
22
22
|
answerFormat: "tex",
|
|
23
23
|
identifiers: { isPercentToDecimal, nb: nb.value },
|
|
24
|
+
hint: `${isPercentToDecimal
|
|
25
|
+
? `Pour écrire $x\\%$ en décimal, rappelle toi que $x\\% = \\frac{x}{100}$.`
|
|
26
|
+
: `Pour écrire un nombre $x$ en pourcentage, on multiplie $x$ par $100$.`}`,
|
|
27
|
+
correction: `${isPercentToDecimal
|
|
28
|
+
? `Le symbole $\\%$ signifie simplement "divisé par $100$".
|
|
29
|
+
|
|
30
|
+
On a donc $${(nb.value * 100).frenchify()}\\% = \\frac{${(nb.value * 100).frenchify()}}{100} = ${answer}$
|
|
31
|
+
`
|
|
32
|
+
: `Pour écrire un nombre sous la forme d'un pourcentage, il suffit de le multiplier par $100$.
|
|
33
|
+
|
|
34
|
+
On a donc $${nb.value.frenchify()} = ${answer}$.
|
|
35
|
+
|
|
36
|
+
En effet, on a bien $${answer} = \\frac{${answer.replace("\\%", "")}}{100} = ${nb.value.frenchify()}$.`}`,
|
|
24
37
|
};
|
|
25
38
|
return question;
|
|
26
39
|
};
|
|
@@ -29,7 +42,6 @@ const getPropositions = (n, { answer, isPercentToDecimal, nb }) => {
|
|
|
29
42
|
(0, exercise_1.addValidProp)(propositions, answer);
|
|
30
43
|
const dec = new decimal_1.Decimal(nb);
|
|
31
44
|
while (propositions.length < n) {
|
|
32
|
-
console.log("percent to decimal qcm");
|
|
33
45
|
if (isPercentToDecimal) {
|
|
34
46
|
(0, exercise_1.tryToAddWrongProp)(propositions, dec
|
|
35
47
|
.multiplyByPowerOfTen((0, randint_1.randint)(-4, 4, [0, 1]))
|
|
@@ -68,4 +80,5 @@ exports.percentToDecimal = {
|
|
|
68
80
|
getPropositions,
|
|
69
81
|
isAnswerValid,
|
|
70
82
|
subject: "Mathématiques",
|
|
83
|
+
hasHintAndCorrection: true,
|
|
71
84
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reciprocalPercentage.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/reciprocalPercentage.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAKxB,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"reciprocalPercentage.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/reciprocalPercentage.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAKxB,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAiFF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAetD,CAAC"}
|
|
@@ -18,12 +18,29 @@ const getReciprocalPercentageQuestion = () => {
|
|
|
18
18
|
const answer = `${(ans > 0
|
|
19
19
|
? "+" + (0, round_1.round)(ans, 2)
|
|
20
20
|
: "" + (0, round_1.round)(ans, 2)).replace(".", ",")}\\%`;
|
|
21
|
+
const cm = (0, round_1.round)(1 + (isUp ? randPercent / 100 : -randPercent / 100), 4);
|
|
22
|
+
const recipCm = (0, round_1.round)(1 / cm, 4);
|
|
21
23
|
const question = {
|
|
22
24
|
instruction,
|
|
23
25
|
answer,
|
|
24
26
|
keys: ["percent"],
|
|
25
27
|
answerFormat: "tex",
|
|
26
28
|
identifiers: { isUp, randPercent },
|
|
29
|
+
hint: `Calcule le coefficient multiplicateur associé à une ${isUp ? "hausse" : "baisse"} de $${randPercent}\\%$. Puis, calcule le coefficient multiplicateur réciproque : c'est l'inverse du coefficient multiplicateur. Il ne reste alors plus qu'à transformer le coefficient multiplicateur réciproque en taux d'évolution.`,
|
|
30
|
+
correction: `Le coefficient multiplicateur correspondant à une ${isUp ? "hausse" : "baisse"} de $${randPercent}\\%$ est :
|
|
31
|
+
|
|
32
|
+
$1${isUp ? "+" : "-"}\\frac{${randPercent}}{100} = ${cm.frenchify()}$
|
|
33
|
+
|
|
34
|
+
Le coefficient multiplicateur réciproque est l'inverse du coefficient multiplicateur :
|
|
35
|
+
|
|
36
|
+
$\\frac{1}{${cm.frenchify()}} = ${recipCm.frenchify()}$
|
|
37
|
+
|
|
38
|
+
On transforme ce coefficient multiplicateur en taux d'évolution :
|
|
39
|
+
|
|
40
|
+
$(${recipCm.frenchify()}-1)\\times 100 = ${(0, round_1.round)(ans, 2).frenchify()}$.
|
|
41
|
+
|
|
42
|
+
Ainsi, le taux d'évolution permettant de revenir au prix initial est de $${answer}$.
|
|
43
|
+
`,
|
|
27
44
|
};
|
|
28
45
|
return question;
|
|
29
46
|
};
|
|
@@ -59,4 +76,5 @@ exports.reciprocalPercentage = {
|
|
|
59
76
|
getPropositions,
|
|
60
77
|
isAnswerValid,
|
|
61
78
|
subject: "Mathématiques",
|
|
79
|
+
hasHintAndCorrection: true,
|
|
62
80
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valuePercent.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/valuePercent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;
|
|
1
|
+
{"version":3,"file":"valuePercent.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/percent/valuePercent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAyCF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAc9C,CAAC"}
|
|
@@ -16,6 +16,12 @@ const getValuePercentQuestion = () => {
|
|
|
16
16
|
keys: [],
|
|
17
17
|
answerFormat: "tex",
|
|
18
18
|
identifiers: { percent, nb },
|
|
19
|
+
hint: `Pour calculer $x\\%$ d'un nombre, on le multiplie par $\\frac{x}{100}$.`,
|
|
20
|
+
correction: `Pour calculer $${percent}\\%$ de $${nb}$, on multiplie $${nb}$ par $\\frac{${percent}}{100}$ :
|
|
21
|
+
|
|
22
|
+
$
|
|
23
|
+
${nb}\\times \\frac{${percent}}{100} = ${ans}
|
|
24
|
+
$`,
|
|
19
25
|
};
|
|
20
26
|
return question;
|
|
21
27
|
};
|
|
@@ -43,4 +49,5 @@ exports.valuePercent = {
|
|
|
43
49
|
getPropositions,
|
|
44
50
|
isAnswerValid,
|
|
45
51
|
subject: "Mathématiques",
|
|
52
|
+
hasHintAndCorrection: true,
|
|
46
53
|
};
|
|
@@ -55,7 +55,6 @@ const isAnswerValid = (ans, { int, power }) => {
|
|
|
55
55
|
.toTree({ allowFractionToDecimal: true });
|
|
56
56
|
const secondTree = new fractionNode_1.FractionNode(new numberNode_1.NumberNode(1), new power_1.Power(int, -power).simplify());
|
|
57
57
|
const texs = [...answerTree.toAllValidTexs(), ...secondTree.toAllValidTexs()];
|
|
58
|
-
console.log(texs);
|
|
59
58
|
return texs.includes(ans);
|
|
60
59
|
};
|
|
61
60
|
exports.calculateNegativePower = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decimalToScientific.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/decimalToScientific.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,QAAQ,EAST,MAAM,gBAAgB,CAAC;AAGxB,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;
|
|
1
|
+
{"version":3,"file":"decimalToScientific.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/decimalToScientific.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,QAAQ,EAST,MAAM,gBAAgB,CAAC;AAGxB,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAoDF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CA2BrD,CAAC"}
|
|
@@ -45,7 +45,6 @@ const getPropositions = (n, { answer, decimal }) => {
|
|
|
45
45
|
const isAnswerValid = (ans, { decimal }) => {
|
|
46
46
|
const answerTree = new decimal_1.Decimal(decimal).toScientificNotation();
|
|
47
47
|
const texs = answerTree.toAllValidTexs({ forbidPowerToProduct: true });
|
|
48
|
-
console.log(ans, texs);
|
|
49
48
|
return texs.includes(ans);
|
|
50
49
|
};
|
|
51
50
|
exports.decimalToScientific = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powersPower.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/powersPower.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EACL,QAAQ,EAST,MAAM,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;
|
|
1
|
+
{"version":3,"file":"powersPower.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/powersPower.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EACL,QAAQ,EAST,MAAM,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAwDF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,WAAW,CA6BlD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAiB7C,CAAC"}
|
|
@@ -37,7 +37,6 @@ const getPropositions = (n, { answer, a, b, c }) => {
|
|
|
37
37
|
(0, exercise_1.tryToAddWrongProp)(propositions, "-2");
|
|
38
38
|
}
|
|
39
39
|
while (propositions.length < n) {
|
|
40
|
-
console.log("heeeeeer", a, b, c);
|
|
41
40
|
const wrongExponent = b * c + (0, randint_1.randint)(-11, 11, [0]);
|
|
42
41
|
const wrongAnswerTree = new power_1.Power(a, wrongExponent).simplify();
|
|
43
42
|
const wrongAnswer = wrongAnswerTree.toTex();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powersProduct.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/powersProduct.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"powersProduct.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/powersProduct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,OAAO,EACL,QAAQ,EAQT,MAAM,gBAAgB,CAAC;AAIxB,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6EF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CA8BpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAkB/C,CAAC"}
|
|
@@ -7,8 +7,10 @@ exports.powersProduct = exports.powersOfTenProduct = void 0;
|
|
|
7
7
|
const power_1 = require("../../../math/numbers/integer/power");
|
|
8
8
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
9
9
|
const numberNode_1 = require("../../../tree/nodes/numbers/numberNode");
|
|
10
|
+
const addNode_1 = require("../../../tree/nodes/operators/addNode");
|
|
10
11
|
const multiplyNode_1 = require("../../../tree/nodes/operators/multiplyNode");
|
|
11
12
|
const powerNode_1 = require("../../../tree/nodes/operators/powerNode");
|
|
13
|
+
const alignTex_1 = require("../../../utils/alignTex");
|
|
12
14
|
const shuffle_1 = require("../../../utils/shuffle");
|
|
13
15
|
const exercise_1 = require("../../exercise");
|
|
14
16
|
const getDistinctQuestions_1 = require("../../utils/getDistinctQuestions");
|
|
@@ -26,6 +28,24 @@ const getPowersProductQuestion = (opts) => {
|
|
|
26
28
|
keys: [],
|
|
27
29
|
answerFormat: "tex",
|
|
28
30
|
identifiers: { a, b, c },
|
|
31
|
+
hint: `Utilise la propriété : ${opts?.useOnlyPowersOfTen
|
|
32
|
+
? `$10^n \\times 10^m = 10^{n+m}$`
|
|
33
|
+
: `$a^n \\times a^m = a^{n+m}$`}`,
|
|
34
|
+
correction: `On sait que ${opts?.useOnlyPowersOfTen
|
|
35
|
+
? `$10^n \\times 10^m = 10^{n+m}$`
|
|
36
|
+
: `$a^n \\times a^m = a^{n+m}$`}.
|
|
37
|
+
|
|
38
|
+
On a donc :
|
|
39
|
+
|
|
40
|
+
${(0, alignTex_1.alignTex)([
|
|
41
|
+
[
|
|
42
|
+
statmentTex,
|
|
43
|
+
"=",
|
|
44
|
+
new powerNode_1.PowerNode(a.toTree(), new addNode_1.AddNode(b.toTree(), c.toTree())).toTex(),
|
|
45
|
+
],
|
|
46
|
+
["", "=", answer],
|
|
47
|
+
])}
|
|
48
|
+
`,
|
|
29
49
|
};
|
|
30
50
|
return question;
|
|
31
51
|
};
|
|
@@ -74,6 +94,7 @@ exports.powersOfTenProduct = {
|
|
|
74
94
|
getPropositions,
|
|
75
95
|
isAnswerValid,
|
|
76
96
|
subject: "Mathématiques",
|
|
97
|
+
hasHintAndCorrection: true,
|
|
77
98
|
};
|
|
78
99
|
exports.powersProduct = {
|
|
79
100
|
id: "powersProduct",
|
|
@@ -88,4 +109,5 @@ exports.powersProduct = {
|
|
|
88
109
|
getPropositions,
|
|
89
110
|
isAnswerValid,
|
|
90
111
|
subject: "Mathématiques",
|
|
112
|
+
hasHintAndCorrection: true,
|
|
91
113
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scientificToDecimal.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/scientificToDecimal.ts"],"names":[],"mappings":"AAAA;;MAEM;AAYN,OAAO,EACL,QAAQ,EAST,MAAM,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;
|
|
1
|
+
{"version":3,"file":"scientificToDecimal.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/powers/scientificToDecimal.ts"],"names":[],"mappings":"AAAA;;MAEM;AAYN,OAAO,EACL,QAAQ,EAST,MAAM,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAiDF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,WAAW,CA2BrD,CAAC"}
|
|
@@ -14,7 +14,6 @@ const getDistinctQuestions_1 = require("../../utils/getDistinctQuestions");
|
|
|
14
14
|
const getScientificToDecimalQuestion = () => {
|
|
15
15
|
const decScientific = decimal_1.DecimalConstructor.randomScientific((0, randint_1.randint)(1, 4));
|
|
16
16
|
const tenPower = (0, randint_1.randint)(-5, 6, [0, 1]);
|
|
17
|
-
console.log("scien to dec q");
|
|
18
17
|
const answer = decScientific.multiplyByPowerOfTen(tenPower).toTree().toTex();
|
|
19
18
|
const statement = new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(decScientific.value), new powerNode_1.PowerNode(new numberNode_1.NumberNode(10), new numberNode_1.NumberNode(tenPower)));
|
|
20
19
|
const statementTex = statement.toTex();
|
|
@@ -34,7 +33,6 @@ const getPropositions = (n, { answer, tenPower, decimal }) => {
|
|
|
34
33
|
(0, exercise_1.addValidProp)(propositions, answer);
|
|
35
34
|
(0, exercise_1.tryToAddWrongProp)(propositions, decScientific.multiplyByPowerOfTen(-tenPower).toTree().toTex());
|
|
36
35
|
while (propositions.length < n) {
|
|
37
|
-
console.log("scien to dec qcm");
|
|
38
36
|
const wrongAnswerTree = decScientific
|
|
39
37
|
.multiplyByPowerOfTen((0, randint_1.randint)(-6, 6, [tenPower]))
|
|
40
38
|
.toTree();
|
|
@@ -57,7 +57,6 @@ const isExpUPrimitiveAnswerValid = (ans, { coeffs }) => {
|
|
|
57
57
|
const integratedFuction = new expNode_1.ExpNode(u.toTree({ forbidPowerToProduct: true }));
|
|
58
58
|
const answer = new addNode_1.AddNode(integratedFuction, new variableNode_1.VariableNode("C"));
|
|
59
59
|
const texs = answer.toAllValidTexs();
|
|
60
|
-
console.log(texs);
|
|
61
60
|
return texs.includes(ans);
|
|
62
61
|
};
|
|
63
62
|
exports.isExpUPrimitiveAnswerValid = isExpUPrimitiveAnswerValid;
|
|
@@ -53,7 +53,6 @@ const isExponentialPrimitiveAnswerValid = (ans, { a }) => {
|
|
|
53
53
|
const integratedFuction = new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(a), new expNode_1.ExpNode(new variableNode_1.VariableNode("x")));
|
|
54
54
|
const answer = new addNode_1.AddNode(integratedFuction, new variableNode_1.VariableNode("C"));
|
|
55
55
|
const texs = answer.toAllValidTexs();
|
|
56
|
-
console.log(texs);
|
|
57
56
|
return texs.includes(ans);
|
|
58
57
|
};
|
|
59
58
|
exports.isExponentialPrimitiveAnswerValid = isExponentialPrimitiveAnswerValid;
|
|
@@ -61,7 +61,6 @@ const isLogarithmePrimitiveAnswerValid = (ans, { coeffs }) => {
|
|
|
61
61
|
const integratedFuction = new logNode_1.LogNode(new absNode_1.AbsNode(uTree));
|
|
62
62
|
const answer = new addNode_1.AddNode(integratedFuction, new variableNode_1.VariableNode("C"));
|
|
63
63
|
const texs = answer.toAllValidTexs();
|
|
64
|
-
console.log(texs);
|
|
65
64
|
return texs.includes(ans);
|
|
66
65
|
};
|
|
67
66
|
exports.logarithmePrimitive = {
|
|
@@ -41,7 +41,6 @@ const isPolynomialPrimitiveAnswerValid = (ans, { coeffs }) => {
|
|
|
41
41
|
const polynomial = new polynomial_1.Polynomial(coeffs);
|
|
42
42
|
const integralPolynomial = polynomial.integrateToNode(opts);
|
|
43
43
|
const texs = integralPolynomial.toAllValidTexs(opts);
|
|
44
|
-
console.log(texs);
|
|
45
44
|
return texs.includes(ans);
|
|
46
45
|
};
|
|
47
46
|
exports.isPolynomialPrimitiveAnswerValid = isPolynomialPrimitiveAnswerValid;
|
|
@@ -60,7 +60,6 @@ const isSinCosPrimitiveAnswerValid = (ans, { isCos, a }) => {
|
|
|
60
60
|
: new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(-a), new cosNode_1.CosNode(new variableNode_1.VariableNode("x")));
|
|
61
61
|
const answer = new addNode_1.AddNode(integratedFuction, new variableNode_1.VariableNode("C"));
|
|
62
62
|
const texs = answer.toAllValidTexs();
|
|
63
|
-
console.log(texs);
|
|
64
63
|
return texs.includes(ans);
|
|
65
64
|
};
|
|
66
65
|
exports.isSinCosPrimitiveAnswerValid = isSinCosPrimitiveAnswerValid;
|
|
@@ -66,7 +66,6 @@ const isSinUCosUPrimitiveAnswerValid = (ans, { isCos, coeffs }) => {
|
|
|
66
66
|
: new oppositeNode_1.OppositeNode(new cosNode_1.CosNode(u.toTree({ forbidPowerToProduct: true })));
|
|
67
67
|
const answer = new addNode_1.AddNode(integratedFuction, new variableNode_1.VariableNode("C"));
|
|
68
68
|
const texs = answer.toAllValidTexs();
|
|
69
|
-
console.log(texs);
|
|
70
69
|
return texs.includes(ans);
|
|
71
70
|
};
|
|
72
71
|
exports.isSinUCosUPrimitiveAnswerValid = isSinUCosUPrimitiveAnswerValid;
|
|
@@ -59,7 +59,6 @@ const isAnswerValid = (ans, { isParityQuestion, isEvenQuestion, nbFaces }) => {
|
|
|
59
59
|
: new rational_1.Rational(Math.ceil(nbFaces / 2), nbFaces).simplify().toTree(opts)
|
|
60
60
|
: new fractionNode_1.FractionNode(new numberNode_1.NumberNode(1), new numberNode_1.NumberNode(nbFaces), opts);
|
|
61
61
|
const texs = answer.toAllValidTexs();
|
|
62
|
-
console.log(texs);
|
|
63
62
|
return texs.includes(ans);
|
|
64
63
|
};
|
|
65
64
|
exports.diceBasicProbas = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expectedValueOfBinomialProba.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/probaStat/expectedValueOfBinomialProba.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"expectedValueOfBinomialProba.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/probaStat/expectedValueOfBinomialProba.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAiFF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAc9D,CAAC"}
|
|
@@ -8,21 +8,32 @@ const randint_1 = require("../../../math/utils/random/randint");
|
|
|
8
8
|
const numberNode_1 = require("../../../tree/nodes/numbers/numberNode");
|
|
9
9
|
const multiplyNode_1 = require("../../../tree/nodes/operators/multiplyNode");
|
|
10
10
|
const substractNode_1 = require("../../../tree/nodes/operators/substractNode");
|
|
11
|
+
const alignTex_1 = require("../../../utils/alignTex");
|
|
11
12
|
const getExpectedValueOfBinomialProbaQuestion = () => {
|
|
12
13
|
const nX = (0, randint_1.randint)(1, 9);
|
|
13
14
|
const b = (0, randint_1.randint)(2, 11);
|
|
14
15
|
const a = (0, randint_1.randint)(1, b);
|
|
15
16
|
const p = new rational_1.Rational(a, b);
|
|
16
17
|
const node = getCorrectAnswer(nX, p);
|
|
18
|
+
const answer = node.toTex();
|
|
17
19
|
const question = {
|
|
18
|
-
answer
|
|
19
|
-
instruction: `Soit $X$ une variable aléatoire qui suit une loi binomiale de
|
|
20
|
+
answer,
|
|
21
|
+
instruction: `Soit $X$ une variable aléatoire qui suit une loi binomiale de paramètres $n=${nX}$ et $p=${p
|
|
20
22
|
.toTree()
|
|
21
23
|
.simplify()
|
|
22
24
|
.toTex()}$. Calculez l'espérance de $X$.`,
|
|
23
25
|
keys: [],
|
|
24
26
|
answerFormat: "tex",
|
|
25
27
|
identifiers: { nX, a, b },
|
|
28
|
+
hint: `L'espérance d'une variable aléatoire $X$ qui suit une loi binomiale de paramètres $n$ et $p$ est donnée par $E(X) = np$.`,
|
|
29
|
+
correction: `L'espérance d'une variable aléatoire $X$ qui suit une loi binomiale de paramètres $n$ et $p$ est donnée par $E(X) = np$.
|
|
30
|
+
|
|
31
|
+
Ici, on a donc :
|
|
32
|
+
|
|
33
|
+
${(0, alignTex_1.alignTex)([
|
|
34
|
+
["E(X)", "=", new multiplyNode_1.MultiplyNode(nX.toTree(), p.toTree()).toTex()],
|
|
35
|
+
["", "=", answer],
|
|
36
|
+
])}`,
|
|
26
37
|
};
|
|
27
38
|
return question;
|
|
28
39
|
};
|
|
@@ -74,4 +85,5 @@ exports.expectedValueOfBinomialProba = {
|
|
|
74
85
|
getPropositions,
|
|
75
86
|
isAnswerValid,
|
|
76
87
|
subject: "Mathématiques",
|
|
88
|
+
hasHintAndCorrection: true,
|
|
77
89
|
};
|
|
@@ -118,7 +118,6 @@ const getPropositions = (n, { answer, A, AC, AD, B, BC, BD, type }) => {
|
|
|
118
118
|
const isAnswerValid = (ans, { A, AC, AD, B, BC, BD, type }) => {
|
|
119
119
|
const answer = getAnswerNode({ type, A, AC, AD, B, BC, BD });
|
|
120
120
|
const texs = answer.toTree({ allowFractionToDecimal: true }).toAllValidTexs();
|
|
121
|
-
console.log(texs);
|
|
122
121
|
return texs.includes(ans);
|
|
123
122
|
};
|
|
124
123
|
exports.probabilityTree = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marginalAndConditionalFrequency.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,QAAQ,EAQT,MAAM,mBAAmB,CAAC;AAG3B,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;
|
|
1
|
+
{"version":3,"file":"marginalAndConditionalFrequency.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/marginalAndConditionalFrequency.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,QAAQ,EAQT,MAAM,mBAAmB,CAAC;AAG3B,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AA2IF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,CAcjE,CAAC"}
|