math-exercises 2.2.3 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/exercises/exercise.d.ts +2 -1
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/calcul/digitDecimalRank.js +4 -4
- package/lib/exercises/math/calcul/digitRank.js +4 -4
- package/lib/exercises/math/calcul/digitRankNumber.d.ts +8 -0
- package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -0
- package/lib/exercises/math/calcul/digitRankNumber.js +57 -0
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +34 -0
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +17 -0
- package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsDivision.js +23 -0
- package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
- package/lib/exercises/math/calcul/fractions/fractionsProduct.js +15 -0
- package/lib/exercises/math/calcul/index.d.ts +1 -0
- package/lib/exercises/math/calcul/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/index.js +1 -0
- package/lib/exercises/math/calcul/proportionality/index.d.ts +2 -0
- package/lib/exercises/math/calcul/proportionality/index.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/index.js +2 -0
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts +9 -0
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts.map +1 -0
- package/lib/exercises/math/calcul/proportionality/scaleCalculation.js +90 -0
- package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts +9 -0
- package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts.map +1 -0
- package/lib/exercises/math/calcul/proportionality/scaleUsage.js +95 -0
- package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
- package/lib/exercises/math/calcul/rounding/rounding.js +18 -0
- package/lib/exercises/math/calculLitteral/distributivity/allIdentities.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/allIdentities.js +1 -0
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts +7 -0
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +60 -0
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.js +31 -1
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts +9 -0
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +86 -0
- package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.js +21 -2
- package/lib/exercises/math/calculLitteral/distributivity/index.d.ts +2 -0
- package/lib/exercises/math/calculLitteral/distributivity/index.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/index.js +2 -0
- package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.js +23 -2
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.js +17 -2
- package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.js +21 -2
- package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +26 -1
- package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.js +18 -2
- package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.js +19 -2
- package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.js +15 -2
- package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.js +20 -5
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +24 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +20 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +19 -3
- package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +24 -8
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +21 -2
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +24 -4
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +25 -5
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +19 -0
- package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +1 -0
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts +8 -0
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +77 -0
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts +8 -0
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -0
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +80 -0
- package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +2 -0
- package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/index.js +2 -0
- package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
- package/lib/exercises/math/conversion/lengthConversion.js +18 -4
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
- package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +1 -0
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts +10 -0
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -0
- package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +81 -0
- package/lib/exercises/math/functions/affines/index.d.ts +1 -0
- package/lib/exercises/math/functions/affines/index.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/index.js +1 -0
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
- package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +12 -2
- package/lib/exercises/math/functions/trinoms/index.d.ts +2 -0
- package/lib/exercises/math/functions/trinoms/index.d.ts.map +1 -1
- package/lib/exercises/math/functions/trinoms/index.js +2 -0
- package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.d.ts +5 -0
- package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.d.ts.map +1 -0
- package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.js +44 -0
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.d.ts +9 -0
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -0
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.js +134 -0
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.d.ts +7 -0
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.d.ts.map +1 -0
- package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.js +59 -0
- package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.d.ts.map +1 -1
- package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.js +1 -0
- package/lib/exercises/math/index.d.ts +1 -0
- package/lib/exercises/math/index.d.ts.map +1 -1
- package/lib/exercises/math/index.js +1 -0
- package/lib/exercises/math/percent/applyPercent.d.ts.map +1 -1
- package/lib/exercises/math/percent/applyPercent.js +20 -2
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts +11 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.js +49 -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/spaceGeometry/index.d.ts +2 -0
- package/lib/exercises/math/spaceGeometry/index.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/index.js +17 -0
- package/lib/exercises/math/spaceGeometry/vectors/index.d.ts +4 -0
- package/lib/exercises/math/spaceGeometry/vectors/index.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/vectors/index.js +19 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts +5 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +52 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts +5 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.js +62 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts +9 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -0
- package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +54 -0
- package/lib/exercises/math/squareRoots/squareRootIdentities.js +3 -3
- package/lib/exercises/math/suites/sequencePlot.d.ts.map +1 -1
- package/lib/exercises/math/suites/sequencePlot.js +1 -2
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +1 -0
- package/lib/exercises/pc/calibrationCurveOfSolution.d.ts.map +1 -1
- package/lib/exercises/pc/calibrationCurveOfSolution.js +2 -1
- package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.js +1 -1
- package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.js +3 -3
- package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.js +29 -4
- package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.js +6 -6
- package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +2 -1
- package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.js +1 -1
- package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.js +1 -1
- package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.d.ts +1 -1
- package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.js +1 -1
- package/lib/exercises/pc/chemicalElements/index.d.ts +1 -0
- package/lib/exercises/pc/chemicalElements/index.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalElements/index.js +1 -0
- package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts +11 -0
- package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -0
- package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +100 -0
- package/lib/exercises/pc/chemicalEquations.d.ts +1 -1
- package/lib/exercises/pc/chemicalEquations.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalEquations.js +1 -1
- package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +1 -0
- package/lib/exercises/pc/chemicalReactions/index.d.ts +2 -0
- package/lib/exercises/pc/chemicalReactions/index.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalReactions/index.js +2 -0
- package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.d.ts +5 -0
- package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.d.ts.map +1 -0
- package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.js +69 -0
- package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts +11 -0
- package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -0
- package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +181 -0
- package/lib/exercises/pc/chemicalReactionsProduct.d.ts +1 -1
- package/lib/exercises/pc/chemicalReactionsProduct.d.ts.map +1 -1
- package/lib/exercises/pc/chemicalReactionsProduct.js +1 -1
- package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
- package/lib/exercises/pc/dosage/beerLambertRandomValue.js +2 -1
- package/lib/exercises/pc/dosage/concentrationCalculation.d.ts +10 -0
- package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/dosage/concentrationCalculation.js +119 -0
- package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts +10 -0
- package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +117 -0
- package/lib/exercises/pc/dosage/index.d.ts +2 -0
- package/lib/exercises/pc/dosage/index.d.ts.map +1 -1
- package/lib/exercises/pc/dosage/index.js +2 -0
- package/lib/exercises/pc/electricity/calculateIntensity.d.ts +8 -0
- package/lib/exercises/pc/electricity/calculateIntensity.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/calculateIntensity.js +60 -0
- package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.d.ts +10 -0
- package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.js +105 -0
- package/lib/exercises/pc/electricity/calculateVoltage.d.ts +11 -0
- package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/calculateVoltage.js +144 -0
- package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts +9 -0
- package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +81 -0
- package/lib/exercises/pc/electricity/index.d.ts +7 -0
- package/lib/exercises/pc/electricity/index.d.ts.map +1 -1
- package/lib/exercises/pc/electricity/index.js +7 -0
- package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts +10 -0
- package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.js +110 -0
- package/lib/exercises/pc/electricity/ohmLaw.d.ts +11 -0
- package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/ohmLaw.js +123 -0
- package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts +5 -0
- package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts.map +1 -0
- package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.js +95 -0
- package/lib/exercises/pc/energy/calorificValue.d.ts +8 -0
- package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -0
- package/lib/exercises/pc/energy/calorificValue.js +78 -0
- package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts +8 -0
- package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts.map +1 -0
- package/lib/exercises/pc/energy/combustionTransferEnergy.js +78 -0
- package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts +11 -0
- package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -0
- package/lib/exercises/pc/energy/combustionTransferEnergy2.js +141 -0
- package/lib/exercises/pc/energy/efficencyOfConverter.d.ts +8 -0
- package/lib/exercises/pc/energy/efficencyOfConverter.d.ts.map +1 -0
- package/lib/exercises/pc/energy/efficencyOfConverter.js +84 -0
- package/lib/exercises/pc/energy/efficiencyCalculation.d.ts +10 -0
- package/lib/exercises/pc/energy/efficiencyCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/energy/efficiencyCalculation.js +122 -0
- package/lib/exercises/pc/energy/energyTransfer.d.ts +10 -0
- package/lib/exercises/pc/energy/energyTransfer.d.ts.map +1 -0
- package/lib/exercises/pc/energy/energyTransfer.js +67 -0
- package/lib/exercises/pc/energy/index.d.ts +9 -0
- package/lib/exercises/pc/energy/index.d.ts.map +1 -0
- package/lib/exercises/pc/energy/index.js +24 -0
- package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts +10 -0
- package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts.map +1 -0
- package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +168 -0
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts +11 -0
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +143 -0
- package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts +8 -0
- package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts.map +1 -0
- package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +102 -0
- package/lib/exercises/pc/forces/electroStaticForce.d.ts +13 -0
- package/lib/exercises/pc/forces/electroStaticForce.d.ts.map +1 -0
- package/lib/exercises/pc/forces/electroStaticForce.js +117 -0
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts +9 -0
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -0
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +132 -0
- package/lib/exercises/pc/forces/gravitationalAttractionValue.d.ts +1 -0
- package/lib/exercises/pc/forces/gravitationalAttractionValue.d.ts.map +1 -1
- package/lib/exercises/pc/forces/gravitationalAttractionValue.js +31 -27
- package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts +10 -0
- package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -0
- package/lib/exercises/pc/forces/gravitationalForcePlanets.js +118 -0
- package/lib/exercises/pc/forces/index.d.ts +5 -0
- package/lib/exercises/pc/forces/index.d.ts.map +1 -1
- package/lib/exercises/pc/forces/index.js +6 -0
- package/lib/exercises/pc/forces/massWeight.d.ts +9 -0
- package/lib/exercises/pc/forces/massWeight.d.ts.map +1 -0
- package/lib/exercises/pc/forces/massWeight.js +68 -0
- package/lib/exercises/pc/forces/pressureDifferenceCalculation.d.ts +1 -0
- package/lib/exercises/pc/forces/pressureDifferenceCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/forces/pressureDifferenceCalculation.js +106 -0
- package/lib/exercises/pc/formulaFromComposition.js +2 -2
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts +8 -0
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts.map +1 -0
- package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.js +72 -0
- package/lib/exercises/pc/index.d.ts +6 -0
- package/lib/exercises/pc/index.d.ts.map +1 -1
- package/lib/exercises/pc/index.js +6 -0
- package/lib/exercises/pc/molarQuantity.js +2 -2
- package/lib/exercises/pc/mole/index.d.ts +2 -0
- package/lib/exercises/pc/mole/index.d.ts.map +1 -1
- package/lib/exercises/pc/mole/index.js +2 -0
- package/lib/exercises/pc/mole/molarMass.js +1 -1
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts +9 -0
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts.map +1 -0
- package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.js +75 -0
- package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts +7 -0
- package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts.map +1 -0
- package/lib/exercises/pc/mole/moleculeCountFromMol.js +66 -0
- package/lib/exercises/pc/moleculeFormula.js +1 -1
- package/lib/exercises/pc/moleculeNomenclature.js +1 -1
- package/lib/exercises/pc/motion/averageSpeed.d.ts +12 -0
- package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -0
- package/lib/exercises/pc/motion/averageSpeed.js +122 -0
- package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts +10 -0
- package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -0
- package/lib/exercises/pc/motion/averageSpeedCalculation.js +146 -0
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts +7 -0
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts.map +1 -0
- package/lib/exercises/pc/motion/characteristicsOfVelocityVector.js +86 -0
- package/lib/exercises/pc/motion/index.d.ts +7 -0
- package/lib/exercises/pc/motion/index.d.ts.map +1 -0
- package/lib/exercises/pc/motion/index.js +22 -0
- package/lib/exercises/pc/motion/motionReference.d.ts +9 -0
- package/lib/exercises/pc/motion/motionReference.d.ts.map +1 -0
- package/lib/exercises/pc/motion/motionReference.js +168 -0
- package/lib/exercises/pc/motion/typeOfAcceleration.d.ts +5 -0
- package/lib/exercises/pc/motion/typeOfAcceleration.d.ts.map +1 -0
- package/lib/exercises/pc/motion/typeOfAcceleration.js +97 -0
- package/lib/exercises/pc/motion/typeOfMovement.d.ts +5 -0
- package/lib/exercises/pc/motion/typeOfMovement.d.ts.map +1 -0
- package/lib/exercises/pc/motion/typeOfMovement.js +111 -0
- package/lib/exercises/pc/orderOfMagnitude.d.ts +8 -0
- package/lib/exercises/pc/orderOfMagnitude.d.ts.map +1 -0
- package/lib/exercises/pc/orderOfMagnitude.js +68 -0
- package/lib/exercises/pc/pH.d.ts.map +1 -1
- package/lib/exercises/pc/pH.js +1 -0
- package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/potentialEnergy.js +17 -5
- package/lib/exercises/pc/power/calculatePowerOfLight.d.ts +8 -0
- package/lib/exercises/pc/power/calculatePowerOfLight.d.ts.map +1 -0
- package/lib/exercises/pc/power/calculatePowerOfLight.js +86 -0
- package/lib/exercises/pc/power/index.d.ts +2 -0
- package/lib/exercises/pc/power/index.d.ts.map +1 -0
- package/lib/exercises/pc/power/index.js +17 -0
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts +5 -0
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts.map +1 -0
- package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.js +117 -0
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts +9 -0
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts.map +1 -0
- package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.js +95 -0
- package/lib/exercises/pc/sound/index.d.ts +1 -0
- package/lib/exercises/pc/sound/index.d.ts.map +1 -1
- package/lib/exercises/pc/sound/index.js +1 -0
- package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
- package/lib/exercises/pc/spectral/spectralEnergy.js +1 -0
- package/lib/exercises/pc/waves/index.d.ts +1 -0
- package/lib/exercises/pc/waves/index.d.ts.map +1 -1
- package/lib/exercises/pc/waves/index.js +1 -0
- package/lib/exercises/pc/waves/lightDistanceConversion.d.ts +10 -0
- package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -0
- package/lib/exercises/pc/waves/lightDistanceConversion.js +161 -0
- package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
- package/lib/exercises/pc/waves/periodicWaveCelerity.js +1 -0
- package/lib/exercises/pc/weight/calculateWeight.d.ts +7 -0
- package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -0
- package/lib/exercises/pc/weight/calculateWeight.js +73 -0
- package/lib/exercises/pc/weight/index.d.ts +1 -0
- package/lib/exercises/pc/weight/index.d.ts.map +1 -1
- package/lib/exercises/pc/weight/index.js +1 -0
- package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
- package/lib/exercises/pc/weight/weightOnTheMoon.js +7 -6
- package/lib/exercises/utils/getAtoms.d.ts +1 -1
- package/lib/exercises/utils/getAtoms.d.ts.map +1 -1
- package/lib/exercises/utils/getAtoms.js +1 -1
- package/lib/index.d.ts +216 -75
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -0
- package/lib/math/geometry/spacePoint.d.ts +27 -0
- package/lib/math/geometry/spacePoint.d.ts.map +1 -0
- package/lib/math/geometry/spacePoint.js +80 -0
- package/lib/math/geometry/spaceVector.d.ts +28 -0
- package/lib/math/geometry/spaceVector.d.ts.map +1 -0
- package/lib/math/geometry/spaceVector.js +83 -0
- package/lib/math/numbers/decimals/decimal.d.ts +1 -0
- package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
- package/lib/math/numbers/decimals/decimal.js +8 -0
- package/lib/math/numbers/rationals/rational.d.ts +1 -0
- package/lib/math/numbers/rationals/rational.d.ts.map +1 -1
- package/lib/math/numbers/rationals/rational.js +4 -0
- package/lib/math/numbers/reals/extendedRingElement.d.ts +1 -2
- package/lib/math/numbers/reals/extendedRingElement.d.ts.map +1 -1
- package/lib/math/polynomials/affine.d.ts +4 -0
- package/lib/math/polynomials/affine.d.ts.map +1 -1
- package/lib/math/polynomials/affine.js +10 -0
- package/lib/math/polynomials/trinom.d.ts +2 -1
- package/lib/math/polynomials/trinom.d.ts.map +1 -1
- package/lib/math/polynomials/trinom.js +3 -0
- package/lib/pc/constants/atoms.d.ts +0 -1
- package/lib/pc/constants/atoms.d.ts.map +1 -1
- package/lib/pc/constants/atoms.js +2 -2
- package/lib/pc/constants/coulomb.d.ts +3 -0
- package/lib/pc/constants/coulomb.d.ts.map +1 -0
- package/lib/pc/constants/coulomb.js +13 -0
- package/lib/pc/constants/earth.d.ts +0 -1
- package/lib/pc/constants/earth.d.ts.map +1 -1
- package/lib/pc/constants/earth.js +4 -4
- package/lib/pc/constants/gravity.d.ts +1 -1
- package/lib/pc/constants/gravity.d.ts.map +1 -1
- package/lib/pc/constants/gravity.js +16 -7
- package/lib/pc/constants/mechanics/gravitational.d.ts +14 -0
- package/lib/pc/constants/mechanics/gravitational.d.ts.map +1 -0
- package/lib/pc/constants/mechanics/gravitational.js +37 -0
- package/lib/pc/constants/mechanics/planets.d.ts +15 -0
- package/lib/pc/constants/mechanics/planets.d.ts.map +1 -0
- package/lib/pc/constants/mechanics/planets.js +35 -0
- package/lib/pc/constants/mechanics/waves.d.ts +8 -0
- package/lib/pc/constants/mechanics/waves.d.ts.map +1 -0
- package/lib/pc/constants/mechanics/waves.js +8 -0
- package/lib/pc/constants/molecularChemistry/atomSymbols.d.ts +2 -0
- package/lib/pc/constants/molecularChemistry/atomSymbols.d.ts.map +1 -0
- package/lib/pc/constants/molecularChemistry/atomSymbols.js +2 -0
- package/lib/pc/constants/molecularChemistry/atome.d.ts +18 -0
- package/lib/pc/constants/molecularChemistry/atome.d.ts.map +1 -0
- package/lib/pc/constants/molecularChemistry/atome.js +174 -0
- package/lib/pc/constants/molecularChemistry/atoms.d.ts +9 -0
- package/lib/pc/constants/molecularChemistry/atoms.d.ts.map +1 -0
- package/lib/pc/constants/molecularChemistry/atoms.js +15 -0
- package/lib/pc/constants/molecularChemistry/molecule.d.ts +25 -0
- package/lib/pc/constants/molecularChemistry/molecule.d.ts.map +1 -0
- package/lib/pc/constants/molecularChemistry/molecule.js +579 -0
- package/lib/pc/constants/molecularChemistry/reaction.d.ts +27 -0
- package/lib/pc/constants/molecularChemistry/reaction.d.ts.map +1 -0
- package/lib/pc/constants/molecularChemistry/reaction.js +471 -0
- package/lib/pc/measure/measure.d.ts +16 -6
- package/lib/pc/measure/measure.d.ts.map +1 -1
- package/lib/pc/measure/measure.js +112 -16
- package/lib/pc/units/AmountOfSubstance.d.ts +17 -0
- package/lib/pc/units/AmountOfSubstance.d.ts.map +1 -0
- package/lib/pc/units/AmountOfSubstance.js +40 -0
- package/lib/pc/units/PressionUnit.d.ts +17 -0
- package/lib/pc/units/PressionUnit.d.ts.map +1 -0
- package/lib/pc/units/PressionUnit.js +32 -0
- package/lib/pc/units/distanceUnits.d.ts +16 -0
- package/lib/pc/units/distanceUnits.d.ts.map +1 -0
- package/lib/pc/units/distanceUnits.js +32 -0
- package/lib/pc/units/divideUnit.d.ts +13 -0
- package/lib/pc/units/divideUnit.d.ts.map +1 -0
- package/lib/pc/units/divideUnit.js +32 -0
- package/lib/pc/units/electricalChargeUnit.d.ts +17 -0
- package/lib/pc/units/electricalChargeUnit.d.ts.map +1 -0
- package/lib/pc/units/electricalChargeUnit.js +40 -0
- package/lib/pc/units/electricalResistanceUnit.d.ts +18 -0
- package/lib/pc/units/electricalResistanceUnit.d.ts.map +1 -0
- package/lib/pc/units/electricalResistanceUnit.js +32 -0
- package/lib/pc/units/electricalUnit.d.ts +18 -0
- package/lib/pc/units/electricalUnit.d.ts.map +1 -0
- package/lib/pc/units/electricalUnit.js +32 -0
- package/lib/pc/units/energyUnit.d.ts +16 -0
- package/lib/pc/units/energyUnit.d.ts.map +1 -0
- package/lib/pc/units/energyUnit.js +32 -0
- package/lib/pc/units/forceUnits.d.ts +16 -0
- package/lib/pc/units/forceUnits.d.ts.map +1 -0
- package/lib/pc/units/forceUnits.js +32 -0
- package/lib/pc/units/frequenceUnit.d.ts +17 -0
- package/lib/pc/units/frequenceUnit.d.ts.map +1 -0
- package/lib/pc/units/frequenceUnit.js +40 -0
- package/lib/pc/units/interfaces/baseTenUnit.d.ts +10 -0
- package/lib/pc/units/interfaces/baseTenUnit.d.ts.map +1 -0
- package/lib/pc/units/interfaces/baseTenUnit.js +16 -0
- package/lib/pc/units/interfaces/basicUnit.d.ts +13 -0
- package/lib/pc/units/interfaces/basicUnit.d.ts.map +1 -0
- package/lib/pc/units/interfaces/basicUnit.js +19 -0
- package/lib/pc/units/interfaces/unit.d.ts +13 -0
- package/lib/pc/units/interfaces/unit.d.ts.map +1 -0
- package/lib/pc/units/interfaces/unit.js +2 -0
- package/lib/pc/units/massUnits.d.ts +17 -0
- package/lib/pc/units/massUnits.d.ts.map +1 -0
- package/lib/pc/units/massUnits.js +32 -0
- package/lib/pc/units/mulitplyUnits.d.ts +13 -0
- package/lib/pc/units/mulitplyUnits.d.ts.map +1 -0
- package/lib/pc/units/mulitplyUnits.js +26 -0
- package/lib/pc/units/powerUnits.d.ts +14 -0
- package/lib/pc/units/powerUnits.d.ts.map +1 -0
- package/lib/pc/units/powerUnits.js +26 -0
- package/lib/pc/units/timeUnits.d.ts +13 -0
- package/lib/pc/units/timeUnits.d.ts.map +1 -0
- package/lib/pc/units/timeUnits.js +42 -0
- package/lib/pc/units/volumeUnit.d.ts +17 -0
- package/lib/pc/units/volumeUnit.d.ts.map +1 -0
- package/lib/pc/units/volumeUnit.js +32 -0
- package/lib/pc/units/wattUnit.d.ts +17 -0
- package/lib/pc/units/wattUnit.d.ts.map +1 -0
- package/lib/pc/units/wattUnit.js +32 -0
- package/lib/playground.d.ts +2 -0
- package/lib/playground.d.ts.map +1 -0
- package/lib/playground.js +19 -0
- package/lib/server.d.ts +3 -0
- package/lib/server.d.ts.map +1 -1
- package/lib/server.js +11 -5
- package/lib/tree/nodes/equations/equationSolutionNode.d.ts.map +1 -1
- package/lib/tree/nodes/equations/equationSolutionNode.js +8 -0
- package/lib/tree/nodes/node.d.ts +4 -0
- package/lib/tree/nodes/node.d.ts.map +1 -1
- package/lib/tree/nodes/operators/addNode.js +2 -2
- package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/multiplyNode.js +40 -12
- package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
- package/lib/tree/nodes/operators/powerNode.js +12 -0
- package/lib/utils/alignTex.d.ts +2 -0
- package/lib/utils/alignTex.d.ts.map +1 -0
- package/lib/utils/alignTex.js +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.spaceVectorNormCalculation = void 0;
|
|
4
|
+
const exercise_1 = require("../../../../exercises/exercise");
|
|
5
|
+
const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
|
|
6
|
+
const spaceVector_1 = require("../../../../math/geometry/spaceVector");
|
|
7
|
+
const real_1 = require("../../../../math/numbers/reals/real");
|
|
8
|
+
const sqrtNode_1 = require("../../../../tree/nodes/functions/sqrtNode");
|
|
9
|
+
const getSpaceVectorNormCalculationQuestion = () => {
|
|
10
|
+
const u = spaceVector_1.SpaceVectorConstructor.random("u", false);
|
|
11
|
+
const correctAnswer = u.getNorm();
|
|
12
|
+
const question = {
|
|
13
|
+
answer: correctAnswer.simplify().toTex(),
|
|
14
|
+
instruction: `Cacluler la norme du vecteur $${u.toTexWithCoords()}$`,
|
|
15
|
+
keys: [],
|
|
16
|
+
answerFormat: "tex",
|
|
17
|
+
identifiers: {
|
|
18
|
+
x: u.x.evaluate({}),
|
|
19
|
+
y: u.y.evaluate({}),
|
|
20
|
+
z: u.z.evaluate({}),
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
return question;
|
|
24
|
+
};
|
|
25
|
+
const getPropositions = (n, { answer, x, y, z }) => {
|
|
26
|
+
const propositions = [];
|
|
27
|
+
(0, exercise_1.addValidProp)(propositions, answer);
|
|
28
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, (x + y + z).toTree().toTex());
|
|
29
|
+
let sqrtRand;
|
|
30
|
+
while (propositions.length < n) {
|
|
31
|
+
sqrtRand = real_1.SquareRootConstructor.randomSimplifiable({});
|
|
32
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, sqrtRand.simplify().toTree().toTex());
|
|
33
|
+
}
|
|
34
|
+
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
35
|
+
};
|
|
36
|
+
const isAnswerValid = (ans, { x, y, z }) => {
|
|
37
|
+
const correctAnswer = new sqrtNode_1.SqrtNode((x ** 2 + y ** 2 + z ** 2).toTree());
|
|
38
|
+
return correctAnswer
|
|
39
|
+
.toAllValidTexs({ allowSimplifySqrt: true })
|
|
40
|
+
.includes(ans);
|
|
41
|
+
};
|
|
42
|
+
exports.spaceVectorNormCalculation = {
|
|
43
|
+
id: "spaceVectorNormCalculation",
|
|
44
|
+
label: "Calculer la norme d'un vecteur (dans l'espace)",
|
|
45
|
+
levels: ["2nde"],
|
|
46
|
+
isSingleStep: true,
|
|
47
|
+
sections: ["Vecteurs"],
|
|
48
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getSpaceVectorNormCalculationQuestion, nb),
|
|
49
|
+
qcmTimer: 60,
|
|
50
|
+
freeTimer: 60,
|
|
51
|
+
getPropositions,
|
|
52
|
+
isAnswerValid,
|
|
53
|
+
subject: "Mathématiques",
|
|
54
|
+
};
|
|
@@ -16,12 +16,12 @@ const shuffle_1 = require("../../../utils/shuffle");
|
|
|
16
16
|
const getAnswer = (type, firstTerm, secondTerm) => {
|
|
17
17
|
switch (type) {
|
|
18
18
|
case 1: //(a+b)^2
|
|
19
|
-
return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new addNode_1.AddNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify();
|
|
19
|
+
return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new addNode_1.AddNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify({ keepPowers: false });
|
|
20
20
|
case 2:
|
|
21
|
-
return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new substractNode_1.SubstractNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify();
|
|
21
|
+
return new addNode_1.AddNode(new powerNode_1.SquareNode(firstTerm), new substractNode_1.SubstractNode(new powerNode_1.SquareNode(secondTerm), new multiplyNode_1.MultiplyNode(new numberNode_1.NumberNode(2), new multiplyNode_1.MultiplyNode(firstTerm, secondTerm)))).simplify({ keepPowers: false });
|
|
22
22
|
case 3:
|
|
23
23
|
default:
|
|
24
|
-
return new substractNode_1.SubstractNode(new powerNode_1.SquareNode(firstTerm), new powerNode_1.SquareNode(secondTerm)).simplify();
|
|
24
|
+
return new substractNode_1.SubstractNode(new powerNode_1.SquareNode(firstTerm), new powerNode_1.SquareNode(secondTerm)).simplify({ keepPowers: false });
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
//(x sqrt(a) +- [y || y*sqrt(b)])^2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequencePlot.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/suites/sequencePlot.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;
|
|
1
|
+
{"version":3,"file":"sequencePlot.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/suites/sequencePlot.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAqFF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,WAAW,CAc9C,CAAC"}
|
|
@@ -41,10 +41,9 @@ const getSequencePlotQuestion = () => {
|
|
|
41
41
|
isXAxesNatural: true,
|
|
42
42
|
isGridSimple: true,
|
|
43
43
|
});
|
|
44
|
-
const sequenceType = isArithmetic ? "arithmétique" : "géométrique";
|
|
45
44
|
const question = {
|
|
46
45
|
answer: u_nValue.toString(),
|
|
47
|
-
instruction: `Ci-dessous est tracé un nuage de points représentant les valeurs d'une suite $
|
|
46
|
+
instruction: `Ci-dessous est tracé un nuage de points représentant les valeurs d'une suite $(u_n)$. Quelle est la valeur de $u_{${nValue}}$ ?`,
|
|
48
47
|
commands: ggb.commands,
|
|
49
48
|
options: ggb.getOptions(),
|
|
50
49
|
coords: ggb.getAdaptedCoords({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigonometrySideCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometrySideCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAuMF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"trigonometrySideCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/trigonometry/trigonometrySideCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAuMF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAgBxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calibrationCurveOfSolution.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/calibrationCurveOfSolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"calibrationCurveOfSolution.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/calibrationCurveOfSolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAUT,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.calibrationCurveOfSolution = void 0;
|
|
4
4
|
const getDistinctQuestions_1 = require("../../exercises/utils/getDistinctQuestions");
|
|
5
5
|
const randint_1 = require("../../math/utils/random/randint");
|
|
6
|
-
const molecule_1 = require("../../pc/molecularChemistry/molecule");
|
|
6
|
+
const molecule_1 = require("../../pc/constants/molecularChemistry/molecule");
|
|
7
7
|
const arrayEqual_1 = require("../../utils/arrayEqual");
|
|
8
8
|
const random_1 = require("../../utils/random");
|
|
9
9
|
const requiresApostropheBefore_1 = require("../../utils/requiresApostropheBefore");
|
|
@@ -89,4 +89,5 @@ exports.calibrationCurveOfSolution = {
|
|
|
89
89
|
isGGBAnswerValid,
|
|
90
90
|
answerType: "GGB",
|
|
91
91
|
subject: "Physique",
|
|
92
|
+
hasHintAndCorrection: true,
|
|
92
93
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
atomSymbol: AtomSymbols;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atomicStructureOfNucleus.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/atomicStructureOfNucleus.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"atomicStructureOfNucleus.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/atomicStructureOfNucleus.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,WAAW,GAAG;IAAE,UAAU,EAAE,WAAW,CAAA;CAAE,CAAC;AAoE/C,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAc1D,CAAC"}
|
|
@@ -5,7 +5,7 @@ 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 atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
8
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
9
9
|
const random_1 = require("../../../utils/random");
|
|
10
10
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
11
11
|
const getAtomicStructureOfNucleusQuestion = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
atomSymbol: AtomSymbols;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculateProtonsNumberFromMass.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"calculateProtonsNumberFromMass.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAQhF,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;CACzB,CAAC;AA+DF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAahE,CAAC"}
|
|
@@ -5,8 +5,8 @@ const coinFlip_1 = require("./../../../utils/coinFlip");
|
|
|
5
5
|
const exercise_1 = require("../../../exercises/exercise");
|
|
6
6
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
7
7
|
const round_1 = require("../../../math/utils/round");
|
|
8
|
-
const atoms_1 = require("../../../pc/constants/atoms");
|
|
9
|
-
const atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
8
|
+
const atoms_1 = require("../../../pc/constants/molecularChemistry/atoms");
|
|
9
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
10
10
|
const random_1 = require("../../../utils/random");
|
|
11
11
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
12
12
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
@@ -15,7 +15,7 @@ const getCalculateProtonsNumberFromMassQuestion = () => {
|
|
|
15
15
|
const atomNucleusMass = atoms_1.nucleonMass.value.times(atom.masseAtomique);
|
|
16
16
|
const instruction = `Le noyau d'un atome ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(atom.name) ? "d'" : "de "}${atom.name} a pour masse $m = ${atomNucleusMass.toTex({
|
|
17
17
|
scientific: 2,
|
|
18
|
-
})}
|
|
18
|
+
})}$ et possède $${(0, round_1.round)(atom.masseAtomique, 0) - atom.numeroAtomique}$ neutrons. Déterminer le nombre de protons de cet atome.`;
|
|
19
19
|
// const help = ` $m_{\\text{nucléon}} = ${nucleonMass.value.toTex({
|
|
20
20
|
// scientific: 2,
|
|
21
21
|
// })}\\ ${nucleonMass.unit}$`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculateVolumetricMass.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/calculateVolumetricMass.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"calculateVolumetricMass.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/calculateVolumetricMass.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG,EAAE,CAAC;AAoFtB,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,WAAW,CAczD,CAAC"}
|
|
@@ -6,36 +6,61 @@ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQues
|
|
|
6
6
|
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
|
+
const measure_1 = require("../../../pc/measure/measure");
|
|
10
|
+
const divideUnit_1 = require("../../../pc/units/divideUnit");
|
|
11
|
+
const massUnits_1 = require("../../../pc/units/massUnits");
|
|
12
|
+
const volumeUnit_1 = require("../../../pc/units/volumeUnit");
|
|
9
13
|
// m = t*v où t = concentration
|
|
10
14
|
const getCalculateVolumetricMassQuestion = () => {
|
|
11
15
|
const type = (0, randint_1.randint)(1, 4);
|
|
12
16
|
let m = 0;
|
|
13
17
|
let t = 0;
|
|
14
18
|
let v = 0;
|
|
19
|
+
let mMeasure;
|
|
20
|
+
let tMeasure;
|
|
21
|
+
let vMeasure;
|
|
15
22
|
let instruction = "";
|
|
16
23
|
let answer = "";
|
|
24
|
+
const tUnit = new divideUnit_1.DivideUnit(massUnits_1.MassUnit.g, volumeUnit_1.VolumeUnit.mL);
|
|
17
25
|
switch (type) {
|
|
18
26
|
case 1:
|
|
19
27
|
//find t
|
|
20
28
|
m = (0, randfloat_1.randfloat)(50, 400, 1);
|
|
21
29
|
v = (0, randfloat_1.randfloat)(50, 400, 1);
|
|
30
|
+
mMeasure = new measure_1.Measure(m, 0, massUnits_1.MassUnit.g);
|
|
31
|
+
vMeasure = new measure_1.Measure(v, 0, volumeUnit_1.VolumeUnit.mL);
|
|
22
32
|
answer = (0, round_1.round)(m / v, 1).frenchify();
|
|
23
|
-
instruction = `Un liquide de volume $${
|
|
33
|
+
instruction = `Un liquide de volume $${vMeasure.toTex({
|
|
34
|
+
notScientific: true,
|
|
35
|
+
})}$ a une masse de $${mMeasure.toTex({
|
|
36
|
+
notScientific: true,
|
|
37
|
+
})}$. Quel est la masse volumique de ce liquide, en $${tUnit.toTex()}$ ?`;
|
|
24
38
|
break;
|
|
25
39
|
case 2:
|
|
26
40
|
//find m
|
|
27
41
|
t = (0, randfloat_1.randfloat)(1, 20, 1);
|
|
28
42
|
v = (0, randfloat_1.randfloat)(50, 400, 1);
|
|
43
|
+
tMeasure = new measure_1.Measure(t, 0, tUnit);
|
|
44
|
+
vMeasure = new measure_1.Measure(v, 0, volumeUnit_1.VolumeUnit.mL);
|
|
29
45
|
answer = (0, round_1.round)(t * v, 1).frenchify();
|
|
30
|
-
instruction = `Un liquide de volume $${
|
|
46
|
+
instruction = `Un liquide de volume $${vMeasure.toTex({
|
|
47
|
+
notScientific: true,
|
|
48
|
+
})}$ a une masse volumique de $${tMeasure.toTex({
|
|
49
|
+
notScientific: true,
|
|
50
|
+
})}$. Quel est la masse de ce liquide, en $${massUnits_1.MassUnit.g.toTex()}$ ?`;
|
|
31
51
|
break;
|
|
32
52
|
case 3:
|
|
33
53
|
//find v
|
|
34
54
|
t = (0, randfloat_1.randfloat)(1, 20, 1);
|
|
35
55
|
m = (0, randfloat_1.randfloat)(50, 400, 1);
|
|
56
|
+
tMeasure = new measure_1.Measure(t, 0, tUnit);
|
|
57
|
+
mMeasure = new measure_1.Measure(m, 0, massUnits_1.MassUnit.g);
|
|
36
58
|
answer = (0, round_1.round)(m / t, 1).frenchify();
|
|
37
|
-
instruction = `Un liquide de masse $${
|
|
38
|
-
|
|
59
|
+
instruction = `Un liquide de masse $${mMeasure.toTex({
|
|
60
|
+
notScientific: true,
|
|
61
|
+
})}$ a une masse volumique de $${tMeasure.toTex({
|
|
62
|
+
notScientific: true,
|
|
63
|
+
})}$. Quel est le volume de ce liquide, en $${volumeUnit_1.VolumeUnit.mL.toTex()}$ ?`;
|
|
39
64
|
break;
|
|
40
65
|
}
|
|
41
66
|
//un lique de volume v a une masse volumique de t, calculer m
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
atomSymbol: AtomSymbols;
|
|
5
5
|
sampleMass: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findAtomEntitiesNumberFromMass.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"findAtomEntitiesNumberFromMass.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAOlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAMhF,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAuEF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAahE,CAAC"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.findAtomEntitiesNumberFromMass = void 0;
|
|
4
|
-
const frenchify_1 = require("../../../math/utils/latex/frenchify");
|
|
5
4
|
const exercise_1 = require("../../../exercises/exercise");
|
|
6
5
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
7
6
|
const randfloat_1 = require("../../../math/utils/random/randfloat");
|
|
8
7
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
9
8
|
const round_1 = require("../../../math/utils/round");
|
|
10
|
-
const atoms_1 = require("../../../pc/constants/atoms");
|
|
9
|
+
const atoms_1 = require("../../../pc/constants/molecularChemistry/atoms");
|
|
11
10
|
const measure_1 = require("../../../pc/measure/measure");
|
|
12
|
-
const atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
11
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
13
12
|
const random_1 = require("../../../utils/random");
|
|
14
13
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
14
|
+
const massUnits_1 = require("../../../pc/units/massUnits");
|
|
15
15
|
const getFindAtomEntitiesNumberFromMassQuestion = () => {
|
|
16
16
|
const atom = (0, random_1.random)(atome_1.atomes.slice(5, 30));
|
|
17
17
|
const sampleMass = (0, round_1.round)((0, randfloat_1.randfloat)(0.1, 2), 2);
|
|
18
|
-
const sampleMassMeasure = new measure_1.Measure(sampleMass, 0);
|
|
18
|
+
const sampleMassMeasure = new measure_1.Measure(sampleMass, 0, massUnits_1.MassUnit.kg);
|
|
19
19
|
const atomMass = atoms_1.nucleonMass.value.times(atom.masseAtomique).toSignificant(2);
|
|
20
20
|
const entitiesNumber = sampleMassMeasure.divide(atomMass).toSignificant(2);
|
|
21
21
|
console.log("entitiesNumber", entitiesNumber);
|
|
22
|
-
const instruction = `Un échantillon a une masse $m = ${
|
|
22
|
+
const instruction = `Un échantillon a une masse $m = ${sampleMassMeasure.toTex()}$ ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(atom.name) ? "d'" : "de "}${atom.name}. La masse d'un atome ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(atom.name) ? "d'" : "de "}${atom.name} est de $${atomMass.toTex({ scientific: 2 })}$.
|
|
23
23
|
Déterminer le nombre d'atomes ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(atom.name) ? "d'" : "de "}${atom.name} composant l'échantillon.`;
|
|
24
24
|
const question = {
|
|
25
25
|
answer: `${entitiesNumber.toSignificant(2).toTex()}`,
|
|
@@ -44,7 +44,7 @@ const getPropositions = (n, { answer, atomSymbol, sampleMass }) => {
|
|
|
44
44
|
while (propositions.length < n) {
|
|
45
45
|
const wrongPower = entitiesNumber
|
|
46
46
|
.times(new measure_1.Measure(1, (0, randint_1.randint)(-2, 2, [0])))
|
|
47
|
-
.toTex({ scientific: 0 });
|
|
47
|
+
.toTex({ scientific: 0, hideUnit: true });
|
|
48
48
|
(0, exercise_1.tryToAddWrongProp)(propositions, `${wrongPower}`);
|
|
49
49
|
}
|
|
50
50
|
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type AtomicStructureElement = "proton" | "neutron" | "electron";
|
|
4
4
|
type Identifiers = {
|
|
5
5
|
atomSymbol: AtomSymbols;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findAtomicStructureElement.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findAtomicStructureElement.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"findAtomicStructureElement.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findAtomicStructureElement.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,sBAAsB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAQhE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,aAAa,EAAE,sBAAsB,CAAC;CACvC,CAAC;AAoFF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
|
|
@@ -5,7 +5,7 @@ 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 atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
8
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
9
9
|
const random_1 = require("../../../utils/random");
|
|
10
10
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
11
11
|
const possibleElements = [
|
|
@@ -77,4 +77,5 @@ exports.findAtomicStructureElement = {
|
|
|
77
77
|
getPropositions,
|
|
78
78
|
isAnswerValid,
|
|
79
79
|
subject: "Chimie",
|
|
80
|
+
hasHintAndCorrection: true,
|
|
80
81
|
};
|
package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
atomSymbol: AtomSymbols;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findValenceElectronsNumberFromElectronicConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAKlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"findValenceElectronsNumberFromElectronicConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAKlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;CACzB,CAAC;AAyDF,eAAO,MAAM,qDAAqD,EAAE,QAAQ,CAAC,WAAW,CAoBrF,CAAC"}
|
package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.js
CHANGED
|
@@ -6,7 +6,7 @@ const getAtoms_1 = require("../../../exercises/utils/getAtoms");
|
|
|
6
6
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
7
7
|
const getElectronicConfigurationFromShells_1 = require("../../../exercises/utils/getElectronicConfigurationFromShells");
|
|
8
8
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
9
|
-
const atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
9
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
10
10
|
const random_1 = require("../../../utils/random");
|
|
11
11
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
12
12
|
const getFindValenceElectronsNumberFromElectronicConfigurationQuestion = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
atomSymbol: AtomSymbols;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findValenceElectronsNumberFromTable.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"findValenceElectronsNumberFromTable.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;CACzB,CAAC;AAwDF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,WAAW,CAkBrE,CAAC"}
|
|
@@ -5,7 +5,7 @@ const exercise_1 = require("../../../exercises/exercise");
|
|
|
5
5
|
const getAtoms_1 = require("../../../exercises/utils/getAtoms");
|
|
6
6
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
7
7
|
const randint_1 = require("../../../math/utils/random/randint");
|
|
8
|
-
const atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
8
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
9
9
|
const random_1 = require("../../../utils/random");
|
|
10
10
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
11
11
|
const getFindValenceElectronsNumberFromTableQuestion = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
-
import { AtomSymbols } from "../../../pc/molecularChemistry/atomSymbols";
|
|
2
|
+
import { AtomSymbols } from "../../../pc/constants/molecularChemistry/atomSymbols";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
atomSymbol: AtomSymbols;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identifyRightElectronicConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"identifyRightElectronicConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAKhF,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,WAAW,CAAC;CACzB,CAAC;AA8GF,eAAO,MAAM,oCAAoC,EAAE,QAAQ,CAAC,WAAW,CAmBtE,CAAC"}
|
|
@@ -5,7 +5,7 @@ const exercise_1 = require("../../../exercises/exercise");
|
|
|
5
5
|
const getAtoms_1 = require("../../../exercises/utils/getAtoms");
|
|
6
6
|
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
7
7
|
const getElectronicConfigurationFromShells_1 = require("../../../exercises/utils/getElectronicConfigurationFromShells");
|
|
8
|
-
const atome_1 = require("../../../pc/molecularChemistry/atome");
|
|
8
|
+
const atome_1 = require("../../../pc/constants/molecularChemistry/atome");
|
|
9
9
|
const random_1 = require("../../../utils/random");
|
|
10
10
|
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
11
11
|
const getIdentifyRightElectronicConfigurationQuestion = () => {
|
|
@@ -7,4 +7,5 @@ export * from "./calculateVolumetricMass";
|
|
|
7
7
|
export * from "./findValenceElectronsNumberFromElectronicConfiguration";
|
|
8
8
|
export * from "./identifyRightElectronicConfiguration";
|
|
9
9
|
export * from "./findAtomEntitiesNumberFromMass";
|
|
10
|
+
export * from "./massOrVolumeProportion";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/index.ts"],"names":[],"mappings":"AAEA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yDAAyD,CAAC;AACxE,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC"}
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./calculateVolumetricMass"), exports);
|
|
|
23
23
|
__exportStar(require("./findValenceElectronsNumberFromElectronicConfiguration"), exports);
|
|
24
24
|
__exportStar(require("./identifyRightElectronicConfiguration"), exports);
|
|
25
25
|
__exportStar(require("./findAtomEntitiesNumberFromMass"), exports);
|
|
26
|
+
__exportStar(require("./massOrVolumeProportion"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
+
type Identifiers = {
|
|
3
|
+
totalMass: number;
|
|
4
|
+
totalVolume: number;
|
|
5
|
+
elementMass: number;
|
|
6
|
+
elementVolume: number;
|
|
7
|
+
targetProportion: "massique" | "volumique";
|
|
8
|
+
};
|
|
9
|
+
export declare const MassOrVolumeProportionExercise: Exercise<Identifiers>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=massOrVolumeProportion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"massOrVolumeProportion.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalElements/massOrVolumeProportion.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAUlC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,UAAU,GAAG,WAAW,CAAC;CAC5C,CAAC;AAsIF,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,WAAW,CAehE,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MassOrVolumeProportionExercise = void 0;
|
|
4
|
+
const frenchify_1 = require("../../../math/utils/latex/frenchify");
|
|
5
|
+
const exercise_1 = require("../../../exercises/exercise");
|
|
6
|
+
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
7
|
+
const random_1 = require("../../../utils/random");
|
|
8
|
+
const molecule_1 = require("../../../pc/constants/molecularChemistry/molecule");
|
|
9
|
+
const randfloat_1 = require("../../../math/utils/random/randfloat");
|
|
10
|
+
const requiresApostropheBefore_1 = require("../../../utils/requiresApostropheBefore");
|
|
11
|
+
const coinFlip_1 = require("../../../utils/coinFlip");
|
|
12
|
+
const round_1 = require("../../../math/utils/round");
|
|
13
|
+
const getMassOrVolumeProportionQuestion = () => {
|
|
14
|
+
const molecule = (0, random_1.random)(molecule_1.molecules);
|
|
15
|
+
const elementName = molecule.name;
|
|
16
|
+
const totalMass = (0, randfloat_1.randfloat)(50, 500, 2); // Total mass in grams
|
|
17
|
+
const totalVolume = (0, randfloat_1.randfloat)(100, 1000, 2); // Total volume in milliliters
|
|
18
|
+
const elementMass = (0, randfloat_1.randfloat)(10, 50, 2); // Element mass in grams
|
|
19
|
+
const elementVolume = (0, randfloat_1.randfloat)(20, 100, 2); // Element volume in milliliters
|
|
20
|
+
const massProportion = elementMass / totalMass;
|
|
21
|
+
const volumeProportion = elementVolume / totalVolume;
|
|
22
|
+
const targetProportion = (0, coinFlip_1.coinFlip)() ? "massique" : "volumique";
|
|
23
|
+
const proportion = targetProportion === "massique" ? massProportion : volumeProportion;
|
|
24
|
+
const instruction = `Vous travaillez dans un laboratoire et vous avez préparé une solution contenant ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(elementName) ? "de l'" : "du "}${elementName}. Voici les données que vous avez mesurées : \n
|
|
25
|
+
- Masse totale de la solution : $${(0, frenchify_1.frenchify)(totalMass)}\\ g$, \n
|
|
26
|
+
- Volume total de la solution : $${(0, frenchify_1.frenchify)(totalVolume)}\\ mL$, \n
|
|
27
|
+
- Masse ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(elementName) ? "d'" : "de "}${elementName} dans la solution : $${(0, frenchify_1.frenchify)(elementMass)}\\ g$, \n
|
|
28
|
+
- Volume de ${elementName} dans la solution : $${(0, frenchify_1.frenchify)(elementVolume)}\\ mL$. \n
|
|
29
|
+
Calculez la proportion ${targetProportion} ${(0, requiresApostropheBefore_1.requiresApostropheBefore)(elementName) ? "d'" : "de "}${elementName} dans la solution.`;
|
|
30
|
+
const hint = `${targetProportion === "massique"
|
|
31
|
+
? `La proportion ${targetProportion} est donnée par le rapport entre la masse de l'élément et la masse totale de la solution.`
|
|
32
|
+
: `La proportion ${targetProportion} est donnée par le rapport entre le volume de l'élément et le volume totale de la solution.`}`;
|
|
33
|
+
const correction = `Pour calculer la proportion ${targetProportion}, on utilise la formule :
|
|
34
|
+
$${targetProportion === "massique"
|
|
35
|
+
? `\\text{Proportion massique} = \\frac{\\text{Masse de l'élément}}{\\text{Masse totale}} = \\frac{${elementMass
|
|
36
|
+
.toScientific(2)
|
|
37
|
+
.toTex()}}{${totalMass.toScientific(2).toTex()}} = ${(0, frenchify_1.frenchify)(proportion.toScientific(2).toTex())}`
|
|
38
|
+
: `\\text{Proportion volumique} = \\frac{\\text{Volume de l'élément}}{\\text{Volume total}} = \\frac{${elementVolume
|
|
39
|
+
.toScientific(2)
|
|
40
|
+
.toTex()}}{${totalVolume.toScientific(2).toTex()}} = ${(0, frenchify_1.frenchify)(proportion.toScientific(2).toTex())}`}$`;
|
|
41
|
+
const question = {
|
|
42
|
+
answer: proportion.toScientific(2).toTex(),
|
|
43
|
+
instruction,
|
|
44
|
+
hint,
|
|
45
|
+
correction,
|
|
46
|
+
keys: [],
|
|
47
|
+
answerFormat: "tex",
|
|
48
|
+
identifiers: {
|
|
49
|
+
totalMass,
|
|
50
|
+
totalVolume,
|
|
51
|
+
elementMass,
|
|
52
|
+
elementVolume,
|
|
53
|
+
targetProportion,
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
return question;
|
|
57
|
+
};
|
|
58
|
+
const getPropositions = (n, { answer, elementMass, elementVolume, totalMass, totalVolume, targetProportion, }) => {
|
|
59
|
+
const propositions = [];
|
|
60
|
+
(0, exercise_1.addValidProp)(propositions, answer);
|
|
61
|
+
const w1 = (elementMass / totalVolume).toScientific(2).toTex();
|
|
62
|
+
const w2 = (elementVolume / totalMass).toScientific(2).toTex();
|
|
63
|
+
const w3 = targetProportion === "massique"
|
|
64
|
+
? (elementMass * totalMass).toScientific(2).toTex()
|
|
65
|
+
: (elementVolume * totalVolume).toScientific(2).toTex();
|
|
66
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, w1);
|
|
67
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, w2);
|
|
68
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, w3);
|
|
69
|
+
while (propositions.length < n) {
|
|
70
|
+
const wrongProportion = (0, randfloat_1.randfloat)(0.01, 0.1, 2).toScientific(2).toTex();
|
|
71
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, wrongProportion);
|
|
72
|
+
}
|
|
73
|
+
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
74
|
+
};
|
|
75
|
+
const isAnswerValid = (ans, { answer, totalMass, totalVolume, elementMass, elementVolume, targetProportion, }) => {
|
|
76
|
+
const massProportion = elementMass / totalMass;
|
|
77
|
+
const volumeProportion = elementVolume / totalVolume;
|
|
78
|
+
const proportion = targetProportion === "massique" ? massProportion : volumeProportion;
|
|
79
|
+
const validAnswer1 = proportion.toScientific(2).toTex();
|
|
80
|
+
const validAnswer2 = (0, round_1.round)(proportion, 2).toTree().toTex();
|
|
81
|
+
const validAnswer3 = proportion.toScientific(3).toTex();
|
|
82
|
+
const validAnswer4 = proportion.toScientific(1).toTex();
|
|
83
|
+
let latexs = [];
|
|
84
|
+
latexs.push(validAnswer1, validAnswer2, validAnswer3, validAnswer4);
|
|
85
|
+
return latexs.includes(ans);
|
|
86
|
+
};
|
|
87
|
+
exports.MassOrVolumeProportionExercise = {
|
|
88
|
+
id: "massOrVolumeProportion",
|
|
89
|
+
label: "Calculer la proportion massique ou volumique d'un élément dans une solution",
|
|
90
|
+
levels: ["2nde"],
|
|
91
|
+
isSingleStep: true,
|
|
92
|
+
sections: ["Chimie des solutions"],
|
|
93
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getMassOrVolumeProportionQuestion, nb),
|
|
94
|
+
qcmTimer: 60,
|
|
95
|
+
freeTimer: 60,
|
|
96
|
+
getPropositions,
|
|
97
|
+
isAnswerValid,
|
|
98
|
+
subject: "Chimie",
|
|
99
|
+
hasHintAndCorrection: true,
|
|
100
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Exercise } from "../../exercises/exercise";
|
|
2
|
-
import { ReactionSpecies } from "../../pc/molecularChemistry/reaction";
|
|
2
|
+
import { ReactionSpecies } from "../../pc/constants/molecularChemistry/reaction";
|
|
3
3
|
type Identifiers = {
|
|
4
4
|
reactionArray: ReactionSpecies[];
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chemicalEquations.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/chemicalEquations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAGL,eAAe,EAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"chemicalEquations.d.ts","sourceRoot":"","sources":["../../../src/exercises/pc/chemicalEquations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAQT,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAGL,eAAe,EAChB,MAAM,gDAAgD,CAAC;AAGxD,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC;AAkCF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAanD,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.chemicalEquations = void 0;
|
|
4
4
|
const exercise_1 = require("../../exercises/exercise");
|
|
5
5
|
const getDistinctQuestions_1 = require("../../exercises/utils/getDistinctQuestions");
|
|
6
|
-
const reaction_1 = require("../../pc/molecularChemistry/reaction");
|
|
6
|
+
const reaction_1 = require("../../pc/constants/molecularChemistry/reaction");
|
|
7
7
|
const shuffle_1 = require("../../utils/shuffle");
|
|
8
8
|
const getChemicalEquations = () => {
|
|
9
9
|
const reaction = reaction_1.ReactionConstructor.randomReaction();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculateSynthesisEfficiency.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA6EF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"calculateSynthesisEfficiency.d.ts","sourceRoot":"","sources":["../../../../src/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAKlC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA6EF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,WAAW,CAc9D,CAAC"}
|
|
@@ -2,4 +2,6 @@ export * from "./calculateSynthesisEfficiency";
|
|
|
2
2
|
export * from "./calculateCombustionEnergy";
|
|
3
3
|
export * from "./identifyLimitingReagent";
|
|
4
4
|
export * from "./identifyStoichiometricMixture";
|
|
5
|
+
export * from "./stoichiometricReaction";
|
|
6
|
+
export * from "./titrationEquivalenceRelation";
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|