math-exercises 2.1.21 → 2.1.24
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 +1 -0
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.js +2 -2
- package/lib/exercises/math/functions/basics/index.d.ts +1 -0
- package/lib/exercises/math/functions/basics/index.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/index.js +1 -0
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts +8 -0
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.d.ts.map +1 -0
- package/lib/exercises/math/functions/basics/inverseImageFunctionTable.js +104 -0
- package/lib/exercises/math/geometry/index.d.ts +1 -0
- package/lib/exercises/math/geometry/index.d.ts.map +1 -1
- package/lib/exercises/math/geometry/index.js +1 -0
- package/lib/exercises/math/geometry/volumes/coneVolume.d.ts +8 -0
- package/lib/exercises/math/geometry/volumes/coneVolume.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/coneVolume.js +96 -0
- package/lib/exercises/math/geometry/volumes/index.d.ts +8 -0
- package/lib/exercises/math/geometry/volumes/index.d.ts.map +1 -0
- package/lib/exercises/{calcul/operations → math/geometry/volumes}/index.js +7 -2
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts +10 -0
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/parallelepipedVolume.js +129 -0
- package/lib/exercises/math/geometry/volumes/sphereVolume.d.ts +7 -0
- package/lib/exercises/math/geometry/volumes/sphereVolume.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/sphereVolume.js +86 -0
- package/lib/exercises/math/geometry/volumes/volumeOfCube.d.ts +7 -0
- package/lib/exercises/math/geometry/volumes/volumeOfCube.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/volumeOfCube.js +70 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts +12 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.js +143 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts +13 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.js +143 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts +13 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.d.ts.map +1 -0
- package/lib/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.js +134 -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/suites/index.d.ts +3 -0
- package/lib/exercises/math/suites/index.d.ts.map +1 -0
- package/lib/exercises/{calcul/rounding → math/suites}/index.js +2 -1
- package/lib/exercises/math/suites/sequenceEvaluation.d.ts +10 -0
- package/lib/exercises/math/suites/sequenceEvaluation.d.ts.map +1 -0
- package/lib/exercises/math/suites/sequenceEvaluation.js +143 -0
- package/lib/exercises/math/suites/sequencePlot.d.ts +9 -0
- package/lib/exercises/math/suites/sequencePlot.d.ts.map +1 -0
- package/lib/exercises/math/suites/sequencePlot.js +88 -0
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +2 -6
- package/lib/geogebra/geogebraConstructor.d.ts +5 -1
- package/lib/geogebra/geogebraConstructor.d.ts.map +1 -1
- package/lib/geogebra/geogebraConstructor.js +37 -13
- package/lib/index.d.ts +44 -0
- package/lib/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/exercises/calcul/addAndSub.d.ts +0 -7
- package/lib/exercises/calcul/addAndSub.d.ts.map +0 -1
- package/lib/exercises/calcul/addAndSub.js +0 -63
- package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts +0 -7
- package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts.map +0 -1
- package/lib/exercises/calcul/addAndSubWithoutRelatives.js +0 -73
- package/lib/exercises/calcul/arithmetics/commonDivisorsList.d.ts +0 -8
- package/lib/exercises/calcul/arithmetics/commonDivisorsList.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/commonDivisorsList.js +0 -64
- package/lib/exercises/calcul/arithmetics/divisorsList.d.ts +0 -7
- package/lib/exercises/calcul/arithmetics/divisorsList.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/divisorsList.js +0 -56
- package/lib/exercises/calcul/arithmetics/euclideanDivision.d.ts +0 -10
- package/lib/exercises/calcul/arithmetics/euclideanDivision.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/euclideanDivision.js +0 -60
- package/lib/exercises/calcul/arithmetics/index.d.ts +0 -7
- package/lib/exercises/calcul/arithmetics/index.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/index.js +0 -22
- package/lib/exercises/calcul/arithmetics/paritySumsAndProducts.d.ts +0 -7
- package/lib/exercises/calcul/arithmetics/paritySumsAndProducts.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/paritySumsAndProducts.js +0 -115
- package/lib/exercises/calcul/arithmetics/pgcdCalcul.d.ts +0 -8
- package/lib/exercises/calcul/arithmetics/pgcdCalcul.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/pgcdCalcul.js +0 -47
- package/lib/exercises/calcul/arithmetics/primeNumbers.d.ts +0 -7
- package/lib/exercises/calcul/arithmetics/primeNumbers.d.ts.map +0 -1
- package/lib/exercises/calcul/arithmetics/primeNumbers.js +0 -105
- package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.d.ts +0 -9
- package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.js +0 -77
- package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.d.ts +0 -8
- package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.js +0 -68
- package/lib/exercises/calcul/fractions/fractionAndIntegerSum.d.ts +0 -8
- package/lib/exercises/calcul/fractions/fractionAndIntegerSum.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionAndIntegerSum.js +0 -67
- package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.d.ts +0 -9
- package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.js +0 -157
- package/lib/exercises/calcul/fractions/fractionsDivision.d.ts +0 -8
- package/lib/exercises/calcul/fractions/fractionsDivision.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionsDivision.js +0 -62
- package/lib/exercises/calcul/fractions/fractionsProduct.d.ts +0 -8
- package/lib/exercises/calcul/fractions/fractionsProduct.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionsProduct.js +0 -60
- package/lib/exercises/calcul/fractions/fractionsSum.d.ts +0 -8
- package/lib/exercises/calcul/fractions/fractionsSum.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/fractionsSum.js +0 -60
- package/lib/exercises/calcul/fractions/index.d.ts +0 -10
- package/lib/exercises/calcul/fractions/index.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/index.js +0 -25
- package/lib/exercises/calcul/fractions/periodicWritingToFraction.d.ts +0 -9
- package/lib/exercises/calcul/fractions/periodicWritingToFraction.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/periodicWritingToFraction.js +0 -80
- package/lib/exercises/calcul/fractions/simplifyFraction.d.ts +0 -8
- package/lib/exercises/calcul/fractions/simplifyFraction.d.ts.map +0 -1
- package/lib/exercises/calcul/fractions/simplifyFraction.js +0 -52
- package/lib/exercises/calcul/index.d.ts +0 -9
- package/lib/exercises/calcul/index.d.ts.map +0 -1
- package/lib/exercises/calcul/index.js +0 -24
- package/lib/exercises/calcul/mentalCaluls/index.d.ts +0 -5
- package/lib/exercises/calcul/mentalCaluls/index.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls/index.js +0 -20
- package/lib/exercises/calcul/mentalCaluls/mentalAddAndSub.d.ts +0 -7
- package/lib/exercises/calcul/mentalCaluls/mentalAddAndSub.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls/mentalAddAndSub.js +0 -84
- package/lib/exercises/calcul/mentalCaluls/mentalDivisions.d.ts +0 -10
- package/lib/exercises/calcul/mentalCaluls/mentalDivisions.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls/mentalDivisions.js +0 -101
- package/lib/exercises/calcul/mentalCaluls/mentalMultiplications.d.ts +0 -7
- package/lib/exercises/calcul/mentalCaluls/mentalMultiplications.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls/mentalMultiplications.js +0 -84
- package/lib/exercises/calcul/mentalCaluls/mentalPercentage.d.ts +0 -9
- package/lib/exercises/calcul/mentalCaluls/mentalPercentage.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls/mentalPercentage.js +0 -140
- package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.d.ts +0 -9
- package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.js +0 -62
- package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.d.ts +0 -8
- package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.js +0 -81
- package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.d.ts +0 -8
- package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.js +0 -68
- package/lib/exercises/calcul/mentalCaluls.ts/mentalPercentage.d.ts +0 -9
- package/lib/exercises/calcul/mentalCaluls.ts/mentalPercentage.d.ts.map +0 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalPercentage.js +0 -122
- package/lib/exercises/calcul/operations/index.d.ts +0 -3
- package/lib/exercises/calcul/operations/index.d.ts.map +0 -1
- package/lib/exercises/calcul/operations/operationsPriorities.d.ts +0 -18
- package/lib/exercises/calcul/operations/operationsPriorities.d.ts.map +0 -1
- package/lib/exercises/calcul/operations/operationsPriorities.js +0 -121
- package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts +0 -19
- package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +0 -1
- package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.js +0 -202
- package/lib/exercises/calcul/proportionality/index.d.ts +0 -2
- package/lib/exercises/calcul/proportionality/index.d.ts.map +0 -1
- package/lib/exercises/calcul/proportionality/index.js +0 -17
- package/lib/exercises/calcul/proportionality/proportionalityTable.d.ts +0 -11
- package/lib/exercises/calcul/proportionality/proportionalityTable.d.ts.map +0 -1
- package/lib/exercises/calcul/proportionality/proportionalityTable.js +0 -72
- package/lib/exercises/calcul/rounding/index.d.ts +0 -2
- package/lib/exercises/calcul/rounding/index.d.ts.map +0 -1
- package/lib/exercises/calcul/rounding/rounding.d.ts +0 -22
- package/lib/exercises/calcul/rounding/rounding.d.ts.map +0 -1
- package/lib/exercises/calcul/rounding/rounding.js +0 -141
- package/lib/exercises/calculLitteral/distributivity/allIdentities.d.ts +0 -11
- package/lib/exercises/calculLitteral/distributivity/allIdentities.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/allIdentities.js +0 -72
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts +0 -8
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.js +0 -74
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts +0 -11
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.js +0 -70
- package/lib/exercises/calculLitteral/distributivity/index.d.ts +0 -7
- package/lib/exercises/calculLitteral/distributivity/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/index.js +0 -26
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts +0 -11
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.js +0 -72
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts +0 -9
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.js +0 -61
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts +0 -11
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.js +0 -67
- package/lib/exercises/calculLitteral/equation/equationSimpleSquare.d.ts +0 -7
- package/lib/exercises/calculLitteral/equation/equationSimpleSquare.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/equationSimpleSquare.js +0 -140
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts +0 -11
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.js +0 -60
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts +0 -11
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.js +0 -62
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts +0 -12
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.js +0 -64
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts +0 -13
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.js +0 -69
- package/lib/exercises/calculLitteral/equation/expEquation.d.ts +0 -8
- package/lib/exercises/calculLitteral/equation/expEquation.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/expEquation.js +0 -75
- package/lib/exercises/calculLitteral/equation/firstDegreeEquation.d.ts +0 -8
- package/lib/exercises/calculLitteral/equation/firstDegreeEquation.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/firstDegreeEquation.js +0 -58
- package/lib/exercises/calculLitteral/equation/fractionEquation.d.ts +0 -10
- package/lib/exercises/calculLitteral/equation/fractionEquation.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/fractionEquation.js +0 -82
- package/lib/exercises/calculLitteral/equation/index.d.ts +0 -9
- package/lib/exercises/calculLitteral/equation/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/index.js +0 -24
- package/lib/exercises/calculLitteral/equation/logEquation.d.ts +0 -8
- package/lib/exercises/calculLitteral/equation/logEquation.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/logEquation.js +0 -74
- package/lib/exercises/calculLitteral/equation/multiplicationEquation.d.ts +0 -10
- package/lib/exercises/calculLitteral/equation/multiplicationEquation.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/equation/multiplicationEquation.js +0 -78
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts +0 -8
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.js +0 -56
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts +0 -8
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.js +0 -58
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts +0 -8
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.js +0 -65
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts +0 -11
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.js +0 -91
- package/lib/exercises/calculLitteral/factorisation/index.d.ts +0 -5
- package/lib/exercises/calculLitteral/factorisation/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/factorisation/index.js +0 -20
- package/lib/exercises/calculLitteral/index.d.ts +0 -7
- package/lib/exercises/calculLitteral/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/index.js +0 -22
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType0.d.ts +0 -10
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType0.js +0 -64
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType1.d.ts +0 -10
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType1.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType1.js +0 -70
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType2.d.ts +0 -11
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType2.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType2.js +0 -73
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType3.d.ts +0 -13
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType3.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/inequations/firstDegreeInequationsType3.js +0 -82
- package/lib/exercises/calculLitteral/inequations/index.d.ts +0 -6
- package/lib/exercises/calculLitteral/inequations/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/inequations/index.js +0 -21
- package/lib/exercises/calculLitteral/inequations/squareFunctionInequation.d.ts +0 -9
- package/lib/exercises/calculLitteral/inequations/squareFunctionInequation.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/inequations/squareFunctionInequation.js +0 -65
- package/lib/exercises/calculLitteral/simplifying/distributeAndSimplify.d.ts +0 -14
- package/lib/exercises/calculLitteral/simplifying/distributeAndSimplify.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/simplifying/distributeAndSimplify.js +0 -67
- package/lib/exercises/calculLitteral/simplifying/evaluateExpression.d.ts +0 -10
- package/lib/exercises/calculLitteral/simplifying/evaluateExpression.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/simplifying/evaluateExpression.js +0 -63
- package/lib/exercises/calculLitteral/simplifying/expSimplifiying.d.ts +0 -10
- package/lib/exercises/calculLitteral/simplifying/expSimplifiying.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/simplifying/expSimplifiying.js +0 -116
- package/lib/exercises/calculLitteral/simplifying/index.d.ts +0 -4
- package/lib/exercises/calculLitteral/simplifying/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/simplifying/index.js +0 -19
- package/lib/exercises/calculLitteral/simplifying/logSimplifiying.d.ts +0 -9
- package/lib/exercises/calculLitteral/simplifying/logSimplifiying.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/simplifying/logSimplifiying.js +0 -77
- package/lib/exercises/calculLitteral/simplifying/reduceExpression.d.ts +0 -9
- package/lib/exercises/calculLitteral/simplifying/reduceExpression.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/simplifying/reduceExpression.js +0 -114
- package/lib/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts +0 -8
- package/lib/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.js +0 -56
- package/lib/exercises/calculLitteral/systems/basicSystemResolution.d.ts +0 -8
- package/lib/exercises/calculLitteral/systems/basicSystemResolution.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/systems/basicSystemResolution.js +0 -67
- package/lib/exercises/calculLitteral/systems/index.d.ts +0 -3
- package/lib/exercises/calculLitteral/systems/index.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/systems/index.js +0 -18
- package/lib/exercises/combinatory/anagrams.d.ts +0 -7
- package/lib/exercises/combinatory/anagrams.d.ts.map +0 -1
- package/lib/exercises/combinatory/anagrams.js +0 -161
- package/lib/exercises/combinatory/ballsCounting.d.ts +0 -10
- package/lib/exercises/combinatory/ballsCounting.d.ts.map +0 -1
- package/lib/exercises/combinatory/ballsCounting.js +0 -112
- package/lib/exercises/combinatory/diceCounting.d.ts +0 -10
- package/lib/exercises/combinatory/diceCounting.d.ts.map +0 -1
- package/lib/exercises/combinatory/diceCounting.js +0 -124
- package/lib/exercises/combinatory/index.d.ts +0 -4
- package/lib/exercises/combinatory/index.d.ts.map +0 -1
- package/lib/exercises/combinatory/index.js +0 -19
- package/lib/exercises/complex/addComplex.d.ts +0 -10
- package/lib/exercises/complex/addComplex.d.ts.map +0 -1
- package/lib/exercises/complex/addComplex.js +0 -64
- package/lib/exercises/complex/argumentFromAlgebraicComplex.d.ts +0 -8
- package/lib/exercises/complex/argumentFromAlgebraicComplex.d.ts.map +0 -1
- package/lib/exercises/complex/argumentFromAlgebraicComplex.js +0 -63
- package/lib/exercises/complex/conjugateComplex.ts.d.ts +0 -8
- package/lib/exercises/complex/conjugateComplex.ts.d.ts.map +0 -1
- package/lib/exercises/complex/conjugateComplex.ts.js +0 -54
- package/lib/exercises/complex/conjugateDivideComplex.d.ts +0 -8
- package/lib/exercises/complex/conjugateDivideComplex.d.ts.map +0 -1
- package/lib/exercises/complex/conjugateDivideComplex.js +0 -61
- package/lib/exercises/complex/conjugateMultiplyComplex.d.ts +0 -8
- package/lib/exercises/complex/conjugateMultiplyComplex.d.ts.map +0 -1
- package/lib/exercises/complex/conjugateMultiplyComplex.js +0 -61
- package/lib/exercises/complex/divideComplex.d.ts +0 -8
- package/lib/exercises/complex/divideComplex.d.ts.map +0 -1
- package/lib/exercises/complex/divideComplex.js +0 -58
- package/lib/exercises/complex/index.d.ts +0 -12
- package/lib/exercises/complex/index.d.ts.map +0 -1
- package/lib/exercises/complex/index.js +0 -28
- package/lib/exercises/complex/inverseComplex.d.ts +0 -8
- package/lib/exercises/complex/inverseComplex.d.ts.map +0 -1
- package/lib/exercises/complex/inverseComplex.js +0 -54
- package/lib/exercises/complex/linearCombinaisonComplex.d.ts +0 -10
- package/lib/exercises/complex/linearCombinaisonComplex.d.ts.map +0 -1
- package/lib/exercises/complex/linearCombinaisonComplex.js +0 -59
- package/lib/exercises/complex/moduloFromAlgebraicComplex.d.ts +0 -8
- package/lib/exercises/complex/moduloFromAlgebraicComplex.d.ts.map +0 -1
- package/lib/exercises/complex/moduloFromAlgebraicComplex.js +0 -55
- package/lib/exercises/complex/mutiplyComplex.d.ts +0 -8
- package/lib/exercises/complex/mutiplyComplex.d.ts.map +0 -1
- package/lib/exercises/complex/mutiplyComplex.js +0 -58
- package/lib/exercises/complex/reAndIm.d.ts +0 -9
- package/lib/exercises/complex/reAndIm.d.ts.map +0 -1
- package/lib/exercises/complex/reAndIm.js +0 -50
- package/lib/exercises/conversion/aeraConversion.d.ts +0 -9
- package/lib/exercises/conversion/aeraConversion.d.ts.map +0 -1
- package/lib/exercises/conversion/aeraConversion.js +0 -60
- package/lib/exercises/conversion/capacityConversion.d.ts +0 -9
- package/lib/exercises/conversion/capacityConversion.d.ts.map +0 -1
- package/lib/exercises/conversion/capacityConversion.js +0 -58
- package/lib/exercises/conversion/hoursToDecimal.d.ts +0 -8
- package/lib/exercises/conversion/hoursToDecimal.d.ts.map +0 -1
- package/lib/exercises/conversion/hoursToDecimal.js +0 -72
- package/lib/exercises/conversion/index.d.ts +0 -8
- package/lib/exercises/conversion/index.d.ts.map +0 -1
- package/lib/exercises/conversion/index.js +0 -23
- package/lib/exercises/conversion/lengthConversion.d.ts +0 -9
- package/lib/exercises/conversion/lengthConversion.d.ts.map +0 -1
- package/lib/exercises/conversion/lengthConversion.js +0 -58
- package/lib/exercises/conversion/massConversion.d.ts +0 -9
- package/lib/exercises/conversion/massConversion.d.ts.map +0 -1
- package/lib/exercises/conversion/massConversion.js +0 -60
- package/lib/exercises/conversion/volumeCapacityConversion.d.ts +0 -10
- package/lib/exercises/conversion/volumeCapacityConversion.d.ts.map +0 -1
- package/lib/exercises/conversion/volumeCapacityConversion.js +0 -74
- package/lib/exercises/conversion/volumeConversion.d.ts +0 -9
- package/lib/exercises/conversion/volumeConversion.d.ts.map +0 -1
- package/lib/exercises/conversion/volumeConversion.js +0 -60
- package/lib/exercises/derivation/derivative/constanteDerivative.d.ts +0 -10
- package/lib/exercises/derivation/derivative/constanteDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/constanteDerivative.js +0 -54
- package/lib/exercises/derivation/derivative/cosCompositionDerivation.d.ts +0 -8
- package/lib/exercises/derivation/derivative/cosCompositionDerivation.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/cosCompositionDerivation.js +0 -56
- package/lib/exercises/derivation/derivative/expDerivativeOne.d.ts +0 -8
- package/lib/exercises/derivation/derivative/expDerivativeOne.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/expDerivativeOne.js +0 -62
- package/lib/exercises/derivation/derivative/expDerivativeThree.d.ts +0 -8
- package/lib/exercises/derivation/derivative/expDerivativeThree.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/expDerivativeThree.js +0 -55
- package/lib/exercises/derivation/derivative/expDerivativeTwo.d.ts +0 -8
- package/lib/exercises/derivation/derivative/expDerivativeTwo.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/expDerivativeTwo.js +0 -57
- package/lib/exercises/derivation/derivative/firstDegreeDerivative.d.ts +0 -11
- package/lib/exercises/derivation/derivative/firstDegreeDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/firstDegreeDerivative.js +0 -52
- package/lib/exercises/derivation/derivative/index.d.ts +0 -22
- package/lib/exercises/derivation/derivative/index.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/index.js +0 -42
- package/lib/exercises/derivation/derivative/inverseFunctionDerivative.d.ts +0 -7
- package/lib/exercises/derivation/derivative/inverseFunctionDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/inverseFunctionDerivative.js +0 -55
- package/lib/exercises/derivation/derivative/lnDerivativeOne.d.ts +0 -8
- package/lib/exercises/derivation/derivative/lnDerivativeOne.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/lnDerivativeOne.js +0 -68
- package/lib/exercises/derivation/derivative/lnDerivativeThree.d.ts +0 -8
- package/lib/exercises/derivation/derivative/lnDerivativeThree.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/lnDerivativeThree.js +0 -83
- package/lib/exercises/derivation/derivative/lnDerivativeTwo.d.ts +0 -8
- package/lib/exercises/derivation/derivative/lnDerivativeTwo.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/lnDerivativeTwo.js +0 -60
- package/lib/exercises/derivation/derivative/powerCompositionDerivation.d.ts +0 -9
- package/lib/exercises/derivation/derivative/powerCompositionDerivation.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/powerCompositionDerivation.js +0 -61
- package/lib/exercises/derivation/derivative/powerFunctionDerivative.d.ts +0 -8
- package/lib/exercises/derivation/derivative/powerFunctionDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/powerFunctionDerivative.js +0 -71
- package/lib/exercises/derivation/derivative/productDerivative.d.ts +0 -8
- package/lib/exercises/derivation/derivative/productDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/productDerivative.js +0 -59
- package/lib/exercises/derivation/derivative/quotientDerivative.d.ts +0 -8
- package/lib/exercises/derivation/derivative/quotientDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/quotientDerivative.js +0 -84
- package/lib/exercises/derivation/derivative/rootFunctionDerivative.d.ts +0 -7
- package/lib/exercises/derivation/derivative/rootFunctionDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/rootFunctionDerivative.js +0 -78
- package/lib/exercises/derivation/derivative/secondDegreeDerivative.d.ts +0 -10
- package/lib/exercises/derivation/derivative/secondDegreeDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/secondDegreeDerivative.js +0 -76
- package/lib/exercises/derivation/derivative/sinCompositionDerivation.d.ts +0 -8
- package/lib/exercises/derivation/derivative/sinCompositionDerivation.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/sinCompositionDerivation.js +0 -57
- package/lib/exercises/derivation/derivative/sqrtCompositionDerivation.d.ts +0 -8
- package/lib/exercises/derivation/derivative/sqrtCompositionDerivation.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/sqrtCompositionDerivation.js +0 -61
- package/lib/exercises/derivation/derivative/thirdDegreeDerivative.d.ts +0 -10
- package/lib/exercises/derivation/derivative/thirdDegreeDerivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/thirdDegreeDerivative.js +0 -83
- package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.d.ts +0 -10
- package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.js +0 -122
- package/lib/exercises/derivation/derivative/usualderivative.d.ts +0 -11
- package/lib/exercises/derivation/derivative/usualderivative.d.ts.map +0 -1
- package/lib/exercises/derivation/derivative/usualderivative.js +0 -108
- package/lib/exercises/derivation/derivativeNumberCalcul.d.ts +0 -8
- package/lib/exercises/derivation/derivativeNumberCalcul.d.ts.map +0 -1
- package/lib/exercises/derivation/derivativeNumberCalcul.js +0 -48
- package/lib/exercises/derivation/derivativeNumberReading.d.ts +0 -8
- package/lib/exercises/derivation/derivativeNumberReading.d.ts.map +0 -1
- package/lib/exercises/derivation/derivativeNumberReading.js +0 -102
- package/lib/exercises/derivation/index.d.ts +0 -4
- package/lib/exercises/derivation/index.d.ts.map +0 -1
- package/lib/exercises/derivation/index.js +0 -19
- package/lib/exercises/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts +0 -10
- package/lib/exercises/equaDiff/equaDiffCheckSolutionFirstOrder.d.ts.map +0 -1
- package/lib/exercises/equaDiff/equaDiffCheckSolutionFirstOrder.js +0 -101
- package/lib/exercises/equaDiff/equaDiffCheckSolutionFirstOrderTrinom.d.ts +0 -1
- package/lib/exercises/equaDiff/equaDiffCheckSolutionFirstOrderTrinom.d.ts.map +0 -1
- package/lib/exercises/equaDiff/equaDiffCheckSolutionFirstOrderTrinom.js +0 -53
- package/lib/exercises/equaDiff/equaDiffGeneralForme.d.ts +0 -7
- package/lib/exercises/equaDiff/equaDiffGeneralForme.d.ts.map +0 -1
- package/lib/exercises/equaDiff/equaDiffGeneralForme.js +0 -58
- package/lib/exercises/equaDiff/equaDiffGeneralFormeWithIC.d.ts +0 -8
- package/lib/exercises/equaDiff/equaDiffGeneralFormeWithIC.d.ts.map +0 -1
- package/lib/exercises/equaDiff/equaDiffGeneralFormeWithIC.js +0 -68
- package/lib/exercises/equaDiff/index.d.ts +0 -4
- package/lib/exercises/equaDiff/index.d.ts.map +0 -1
- package/lib/exercises/equaDiff/index.js +0 -19
- package/lib/exercises/exercises.d.ts +0 -3
- package/lib/exercises/exercises.d.ts.map +0 -1
- package/lib/exercises/exercises.js +0 -473
- package/lib/exercises/functions/absolute/absoluteValueEquations.d.ts +0 -8
- package/lib/exercises/functions/absolute/absoluteValueEquations.d.ts.map +0 -1
- package/lib/exercises/functions/absolute/absoluteValueEquations.js +0 -74
- package/lib/exercises/functions/absolute/absoluteValueInequations.d.ts +0 -9
- package/lib/exercises/functions/absolute/absoluteValueInequations.d.ts.map +0 -1
- package/lib/exercises/functions/absolute/absoluteValueInequations.js +0 -73
- package/lib/exercises/functions/absolute/index.d.ts +0 -3
- package/lib/exercises/functions/absolute/index.d.ts.map +0 -1
- package/lib/exercises/functions/absolute/index.js +0 -18
- package/lib/exercises/functions/affines/affineExpressionReading.d.ts +0 -8
- package/lib/exercises/functions/affines/affineExpressionReading.d.ts.map +0 -1
- package/lib/exercises/functions/affines/affineExpressionReading.js +0 -97
- package/lib/exercises/functions/affines/index.d.ts +0 -7
- package/lib/exercises/functions/affines/index.d.ts.map +0 -1
- package/lib/exercises/functions/affines/index.js +0 -22
- package/lib/exercises/functions/affines/interceptReading.d.ts +0 -8
- package/lib/exercises/functions/affines/interceptReading.d.ts.map +0 -1
- package/lib/exercises/functions/affines/interceptReading.js +0 -68
- package/lib/exercises/functions/affines/leadingCoefficient.d.ts +0 -10
- package/lib/exercises/functions/affines/leadingCoefficient.d.ts.map +0 -1
- package/lib/exercises/functions/affines/leadingCoefficient.js +0 -79
- package/lib/exercises/functions/affines/leadingCoefficientCalculV1.d.ts +0 -10
- package/lib/exercises/functions/affines/leadingCoefficientCalculV1.d.ts.map +0 -1
- package/lib/exercises/functions/affines/leadingCoefficientCalculV1.js +0 -55
- package/lib/exercises/functions/affines/leadingCoefficientCalculV2.d.ts +0 -10
- package/lib/exercises/functions/affines/leadingCoefficientCalculV2.d.ts.map +0 -1
- package/lib/exercises/functions/affines/leadingCoefficientCalculV2.js +0 -54
- package/lib/exercises/functions/affines/signFunction.d.ts +0 -9
- package/lib/exercises/functions/affines/signFunction.d.ts.map +0 -1
- package/lib/exercises/functions/affines/signFunction.js +0 -84
- package/lib/exercises/functions/basics/graphicEquation.d.ts +0 -8
- package/lib/exercises/functions/basics/graphicEquation.d.ts.map +0 -1
- package/lib/exercises/functions/basics/graphicEquation.js +0 -113
- package/lib/exercises/functions/basics/graphicInequation.d.ts +0 -16
- package/lib/exercises/functions/basics/graphicInequation.d.ts.map +0 -1
- package/lib/exercises/functions/basics/graphicInequation.js +0 -153
- package/lib/exercises/functions/basics/imageFunction.d.ts +0 -10
- package/lib/exercises/functions/basics/imageFunction.d.ts.map +0 -1
- package/lib/exercises/functions/basics/imageFunction.js +0 -64
- package/lib/exercises/functions/basics/imageFunctionGeogebra.d.ts +0 -10
- package/lib/exercises/functions/basics/imageFunctionGeogebra.d.ts.map +0 -1
- package/lib/exercises/functions/basics/imageFunctionGeogebra.js +0 -86
- package/lib/exercises/functions/basics/index.d.ts +0 -9
- package/lib/exercises/functions/basics/index.d.ts.map +0 -1
- package/lib/exercises/functions/basics/index.js +0 -24
- package/lib/exercises/functions/basics/inverseImageFunction.d.ts +0 -8
- package/lib/exercises/functions/basics/inverseImageFunction.d.ts.map +0 -1
- package/lib/exercises/functions/basics/inverseImageFunction.js +0 -52
- package/lib/exercises/functions/basics/inverseImageFunctionGeogebra.d.ts +0 -11
- package/lib/exercises/functions/basics/inverseImageFunctionGeogebra.d.ts.map +0 -1
- package/lib/exercises/functions/basics/inverseImageFunctionGeogebra.js +0 -140
- package/lib/exercises/functions/basics/twoFunctionsEquation.d.ts +0 -9
- package/lib/exercises/functions/basics/twoFunctionsEquation.d.ts.map +0 -1
- package/lib/exercises/functions/basics/twoFunctionsEquation.js +0 -135
- package/lib/exercises/functions/basics/twoFunctionsInequation.d.ts +0 -17
- package/lib/exercises/functions/basics/twoFunctionsInequation.d.ts.map +0 -1
- package/lib/exercises/functions/basics/twoFunctionsInequation.js +0 -181
- package/lib/exercises/functions/cube/cubicEquation.d.ts +0 -7
- package/lib/exercises/functions/cube/cubicEquation.d.ts.map +0 -1
- package/lib/exercises/functions/cube/cubicEquation.js +0 -55
- package/lib/exercises/functions/cube/index.d.ts +0 -2
- package/lib/exercises/functions/cube/index.d.ts.map +0 -1
- package/lib/exercises/functions/cube/index.js +0 -17
- package/lib/exercises/functions/exponential/expEquation.d.ts +0 -9
- package/lib/exercises/functions/exponential/expEquation.d.ts.map +0 -1
- package/lib/exercises/functions/exponential/expEquation.js +0 -75
- package/lib/exercises/functions/exponential/expSimplifiying.d.ts +0 -10
- package/lib/exercises/functions/exponential/expSimplifiying.d.ts.map +0 -1
- package/lib/exercises/functions/exponential/expSimplifiying.js +0 -116
- package/lib/exercises/functions/exponential/index.d.ts +0 -3
- package/lib/exercises/functions/exponential/index.d.ts.map +0 -1
- package/lib/exercises/functions/exponential/index.js +0 -18
- package/lib/exercises/functions/index.d.ts +0 -11
- package/lib/exercises/functions/index.d.ts.map +0 -1
- package/lib/exercises/functions/index.js +0 -26
- package/lib/exercises/functions/logarithm/index.d.ts +0 -6
- package/lib/exercises/functions/logarithm/index.d.ts.map +0 -1
- package/lib/exercises/functions/logarithm/index.js +0 -21
- package/lib/exercises/functions/logarithm/log10PowerSimplifying.d.ts +0 -8
- package/lib/exercises/functions/logarithm/log10PowerSimplifying.d.ts.map +0 -1
- package/lib/exercises/functions/logarithm/log10PowerSimplifying.js +0 -54
- package/lib/exercises/functions/logarithm/log10Simplifying.d.ts +0 -11
- package/lib/exercises/functions/logarithm/log10Simplifying.d.ts.map +0 -1
- package/lib/exercises/functions/logarithm/log10Simplifying.js +0 -98
- package/lib/exercises/functions/logarithm/logEquation.d.ts +0 -9
- package/lib/exercises/functions/logarithm/logEquation.d.ts.map +0 -1
- package/lib/exercises/functions/logarithm/logEquation.js +0 -73
- package/lib/exercises/functions/logarithm/logPowerEquation.d.ts +0 -12
- package/lib/exercises/functions/logarithm/logPowerEquation.d.ts.map +0 -1
- package/lib/exercises/functions/logarithm/logPowerEquation.js +0 -103
- package/lib/exercises/functions/logarithm/logSimplifiying.d.ts +0 -9
- package/lib/exercises/functions/logarithm/logSimplifiying.d.ts.map +0 -1
- package/lib/exercises/functions/logarithm/logSimplifiying.js +0 -77
- package/lib/exercises/functions/parity/index.d.ts +0 -3
- package/lib/exercises/functions/parity/index.d.ts.map +0 -1
- package/lib/exercises/functions/parity/index.js +0 -18
- package/lib/exercises/functions/parity/parityFromAlgebra.d.ts +0 -8
- package/lib/exercises/functions/parity/parityFromAlgebra.d.ts.map +0 -1
- package/lib/exercises/functions/parity/parityFromAlgebra.js +0 -117
- package/lib/exercises/functions/parity/parityFromGraph.d.ts +0 -8
- package/lib/exercises/functions/parity/parityFromGraph.d.ts.map +0 -1
- package/lib/exercises/functions/parity/parityFromGraph.js +0 -128
- package/lib/exercises/functions/rationalFraction/index.d.ts +0 -2
- package/lib/exercises/functions/rationalFraction/index.d.ts.map +0 -1
- package/lib/exercises/functions/rationalFraction/index.js +0 -17
- package/lib/exercises/functions/rationalFraction/rationalFractionForbiddenValue.d.ts +0 -10
- package/lib/exercises/functions/rationalFraction/rationalFractionForbiddenValue.d.ts.map +0 -1
- package/lib/exercises/functions/rationalFraction/rationalFractionForbiddenValue.js +0 -64
- package/lib/exercises/functions/square/index.d.ts +0 -2
- package/lib/exercises/functions/square/index.d.ts.map +0 -1
- package/lib/exercises/functions/square/index.js +0 -17
- package/lib/exercises/functions/square/squareImageInterval.d.ts +0 -11
- package/lib/exercises/functions/square/squareImageInterval.d.ts.map +0 -1
- package/lib/exercises/functions/square/squareImageInterval.js +0 -109
- package/lib/exercises/functions/trinoms/alphaBetaFromDevForm.d.ts +0 -8
- package/lib/exercises/functions/trinoms/alphaBetaFromDevForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/alphaBetaFromDevForm.js +0 -51
- package/lib/exercises/functions/trinoms/alphaBetaInCanonicalForm.d.ts +0 -10
- package/lib/exercises/functions/trinoms/alphaBetaInCanonicalForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/alphaBetaInCanonicalForm.js +0 -66
- package/lib/exercises/functions/trinoms/canonicalFromDevForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/canonicalFromDevForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/canonicalFromDevForm.js +0 -50
- package/lib/exercises/functions/trinoms/deltaTrinom.d.ts +0 -9
- package/lib/exercises/functions/trinoms/deltaTrinom.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/deltaTrinom.js +0 -52
- package/lib/exercises/functions/trinoms/extremumFromCanonicalForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/extremumFromCanonicalForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/extremumFromCanonicalForm.js +0 -57
- package/lib/exercises/functions/trinoms/extremumTypeFromAlgebricForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/extremumTypeFromAlgebricForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/extremumTypeFromAlgebricForm.js +0 -43
- package/lib/exercises/functions/trinoms/factorizedFormFromRoots.d.ts +0 -8
- package/lib/exercises/functions/trinoms/factorizedFormFromRoots.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/factorizedFormFromRoots.js +0 -67
- package/lib/exercises/functions/trinoms/index.d.ts +0 -17
- package/lib/exercises/functions/trinoms/index.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/index.js +0 -32
- package/lib/exercises/functions/trinoms/niceRootsFromDevForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/niceRootsFromDevForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/niceRootsFromDevForm.js +0 -56
- package/lib/exercises/functions/trinoms/rootsFromDevForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/rootsFromDevForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/rootsFromDevForm.js +0 -56
- package/lib/exercises/functions/trinoms/rootsFromFactorizedForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/rootsFromFactorizedForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/rootsFromFactorizedForm.js +0 -70
- package/lib/exercises/functions/trinoms/rootsReading.d.ts +0 -9
- package/lib/exercises/functions/trinoms/rootsReading.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/rootsReading.js +0 -68
- package/lib/exercises/functions/trinoms/secondDegreeInequation.d.ts +0 -11
- package/lib/exercises/functions/trinoms/secondDegreeInequation.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/secondDegreeInequation.js +0 -99
- package/lib/exercises/functions/trinoms/summitAbscissFromDevForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/summitAbscissFromDevForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/summitAbscissFromDevForm.js +0 -54
- package/lib/exercises/functions/trinoms/summitAbscissFromRoots.d.ts +0 -9
- package/lib/exercises/functions/trinoms/summitAbscissFromRoots.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/summitAbscissFromRoots.js +0 -59
- package/lib/exercises/functions/trinoms/summitReading.d.ts +0 -9
- package/lib/exercises/functions/trinoms/summitReading.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/summitReading.js +0 -60
- package/lib/exercises/functions/trinoms/variationsFromAlgebricForm.d.ts +0 -9
- package/lib/exercises/functions/trinoms/variationsFromAlgebricForm.d.ts.map +0 -1
- package/lib/exercises/functions/trinoms/variationsFromAlgebricForm.js +0 -44
- package/lib/exercises/geometry/areas/circleArea.d.ts +0 -9
- package/lib/exercises/geometry/areas/circleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/circleArea.js +0 -52
- package/lib/exercises/geometry/areas/index.d.ts +0 -7
- package/lib/exercises/geometry/areas/index.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/index.js +0 -22
- package/lib/exercises/geometry/areas/rectangleArea.d.ts +0 -8
- package/lib/exercises/geometry/areas/rectangleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/rectangleArea.js +0 -46
- package/lib/exercises/geometry/areas/rightTriangleArea.d.ts +0 -7
- package/lib/exercises/geometry/areas/rightTriangleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/rightTriangleArea.js +0 -82
- package/lib/exercises/geometry/areas/squareArea.d.ts +0 -7
- package/lib/exercises/geometry/areas/squareArea.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/squareArea.js +0 -46
- package/lib/exercises/geometry/areas/triangleArea.d.ts +0 -5
- package/lib/exercises/geometry/areas/triangleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/triangleArea.js +0 -106
- package/lib/exercises/geometry/areas/triangleAreaV2.d.ts +0 -7
- package/lib/exercises/geometry/areas/triangleAreaV2.d.ts.map +0 -1
- package/lib/exercises/geometry/areas/triangleAreaV2.js +0 -71
- package/lib/exercises/geometry/cartesian/distanceBetweenTwoPoints.d.ts +0 -8
- package/lib/exercises/geometry/cartesian/distanceBetweenTwoPoints.d.ts.map +0 -1
- package/lib/exercises/geometry/cartesian/distanceBetweenTwoPoints.js +0 -95
- package/lib/exercises/geometry/cartesian/index.d.ts +0 -3
- package/lib/exercises/geometry/cartesian/index.d.ts.map +0 -1
- package/lib/exercises/geometry/cartesian/index.js +0 -18
- package/lib/exercises/geometry/cartesian/midpoint.d.ts +0 -8
- package/lib/exercises/geometry/cartesian/midpoint.d.ts.map +0 -1
- package/lib/exercises/geometry/cartesian/midpoint.js +0 -63
- package/lib/exercises/geometry/euclidean/circleArea.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/circleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/circleArea.js +0 -44
- package/lib/exercises/geometry/euclidean/circleCircumference.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/circleCircumference.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/circleCircumference.js +0 -44
- package/lib/exercises/geometry/euclidean/pythagore.d.ts +0 -11
- package/lib/exercises/geometry/euclidean/pythagore.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/pythagore.js +0 -51
- package/lib/exercises/geometry/euclidean/pythagoreCalcul.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/pythagoreCalcul.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/pythagoreCalcul.js +0 -77
- package/lib/exercises/geometry/euclidean/rectangleArea.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/rectangleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/rectangleArea.js +0 -40
- package/lib/exercises/geometry/euclidean/rectanglePerimeter.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/rectanglePerimeter.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/rectanglePerimeter.js +0 -40
- package/lib/exercises/geometry/euclidean/rightTriangleArea.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/rightTriangleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/rightTriangleArea.js +0 -53
- package/lib/exercises/geometry/euclidean/squareArea.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/squareArea.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/squareArea.js +0 -40
- package/lib/exercises/geometry/euclidean/squarePerimeter.d.ts +0 -9
- package/lib/exercises/geometry/euclidean/squarePerimeter.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/squarePerimeter.js +0 -40
- package/lib/exercises/geometry/euclidean/thales.d.ts +0 -9
- package/lib/exercises/geometry/euclidean/thales.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/thales.js +0 -95
- package/lib/exercises/geometry/euclidean/thalesCalcul.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/thalesCalcul.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/thalesCalcul.js +0 -118
- package/lib/exercises/geometry/euclidean/triangleArea.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/triangleArea.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/triangleArea.js +0 -66
- package/lib/exercises/geometry/euclidean/triangleAreaV2.d.ts +0 -9
- package/lib/exercises/geometry/euclidean/triangleAreaV2.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/triangleAreaV2.js +0 -61
- package/lib/exercises/geometry/euclidean/trianglePerimeter.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/trianglePerimeter.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/trianglePerimeter.js +0 -40
- package/lib/exercises/geometry/euclidean/trigonometry.d.ts +0 -11
- package/lib/exercises/geometry/euclidean/trigonometry.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/trigonometry.js +0 -78
- package/lib/exercises/geometry/euclidean/trigonometryAngleCalcul.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/trigonometryAngleCalcul.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/trigonometryAngleCalcul.js +0 -55
- package/lib/exercises/geometry/euclidean/trigonometrySideCalcul.d.ts +0 -8
- package/lib/exercises/geometry/euclidean/trigonometrySideCalcul.d.ts.map +0 -1
- package/lib/exercises/geometry/euclidean/trigonometrySideCalcul.js +0 -66
- package/lib/exercises/geometry/index.d.ts +0 -7
- package/lib/exercises/geometry/index.d.ts.map +0 -1
- package/lib/exercises/geometry/index.js +0 -22
- package/lib/exercises/geometry/perimeters/circleCircumference.d.ts +0 -9
- package/lib/exercises/geometry/perimeters/circleCircumference.d.ts.map +0 -1
- package/lib/exercises/geometry/perimeters/circleCircumference.js +0 -52
- package/lib/exercises/geometry/perimeters/index.d.ts +0 -5
- package/lib/exercises/geometry/perimeters/index.d.ts.map +0 -1
- package/lib/exercises/geometry/perimeters/index.js +0 -20
- package/lib/exercises/geometry/perimeters/rectanglePerimeter.d.ts +0 -8
- package/lib/exercises/geometry/perimeters/rectanglePerimeter.d.ts.map +0 -1
- package/lib/exercises/geometry/perimeters/rectanglePerimeter.js +0 -46
- package/lib/exercises/geometry/perimeters/squarePerimeter.d.ts +0 -7
- package/lib/exercises/geometry/perimeters/squarePerimeter.d.ts.map +0 -1
- package/lib/exercises/geometry/perimeters/squarePerimeter.js +0 -46
- package/lib/exercises/geometry/perimeters/trianglePerimeter.d.ts +0 -7
- package/lib/exercises/geometry/perimeters/trianglePerimeter.d.ts.map +0 -1
- package/lib/exercises/geometry/perimeters/trianglePerimeter.js +0 -46
- package/lib/exercises/geometry/pythagore/index.d.ts +0 -3
- package/lib/exercises/geometry/pythagore/index.d.ts.map +0 -1
- package/lib/exercises/geometry/pythagore/index.js +0 -18
- package/lib/exercises/geometry/pythagore/pythagore.d.ts +0 -9
- package/lib/exercises/geometry/pythagore/pythagore.d.ts.map +0 -1
- package/lib/exercises/geometry/pythagore/pythagore.js +0 -72
- package/lib/exercises/geometry/pythagore/pythagoreCalcul.d.ts +0 -8
- package/lib/exercises/geometry/pythagore/pythagoreCalcul.d.ts.map +0 -1
- package/lib/exercises/geometry/pythagore/pythagoreCalcul.js +0 -109
- package/lib/exercises/geometry/thales/index.d.ts +0 -3
- package/lib/exercises/geometry/thales/index.d.ts.map +0 -1
- package/lib/exercises/geometry/thales/index.js +0 -18
- package/lib/exercises/geometry/thales/thales.d.ts +0 -7
- package/lib/exercises/geometry/thales/thales.d.ts.map +0 -1
- package/lib/exercises/geometry/thales/thales.js +0 -135
- package/lib/exercises/geometry/thales/thalesCalcul.d.ts +0 -10
- package/lib/exercises/geometry/thales/thalesCalcul.d.ts.map +0 -1
- package/lib/exercises/geometry/thales/thalesCalcul.js +0 -150
- package/lib/exercises/geometry/vectors/alignementViaColinearity.d.ts +0 -12
- package/lib/exercises/geometry/vectors/alignementViaColinearity.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/alignementViaColinearity.js +0 -64
- package/lib/exercises/geometry/vectors/chasles.d.ts +0 -8
- package/lib/exercises/geometry/vectors/chasles.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/chasles.js +0 -63
- package/lib/exercises/geometry/vectors/colinearity.d.ts +0 -10
- package/lib/exercises/geometry/vectors/colinearity.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/colinearity.js +0 -59
- package/lib/exercises/geometry/vectors/coordinatesReading.d.ts +0 -10
- package/lib/exercises/geometry/vectors/coordinatesReading.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/coordinatesReading.js +0 -74
- package/lib/exercises/geometry/vectors/determinant.d.ts +0 -8
- package/lib/exercises/geometry/vectors/determinant.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/determinant.js +0 -54
- package/lib/exercises/geometry/vectors/equalCaracteristicFromGraph.d.ts +0 -9
- package/lib/exercises/geometry/vectors/equalCaracteristicFromGraph.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/equalCaracteristicFromGraph.js +0 -195
- package/lib/exercises/geometry/vectors/fourthParallelogramPoint.d.ts +0 -14
- package/lib/exercises/geometry/vectors/fourthParallelogramPoint.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/fourthParallelogramPoint.js +0 -65
- package/lib/exercises/geometry/vectors/index.d.ts +0 -13
- package/lib/exercises/geometry/vectors/index.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/index.js +0 -28
- package/lib/exercises/geometry/vectors/paralellismViaColinearity.d.ts +0 -14
- package/lib/exercises/geometry/vectors/paralellismViaColinearity.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/paralellismViaColinearity.js +0 -75
- package/lib/exercises/geometry/vectors/parallelogramViaEqualVectors.d.ts +0 -14
- package/lib/exercises/geometry/vectors/parallelogramViaEqualVectors.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/parallelogramViaEqualVectors.js +0 -67
- package/lib/exercises/geometry/vectors/scalarProductViaCoords.d.ts +0 -8
- package/lib/exercises/geometry/vectors/scalarProductViaCoords.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/scalarProductViaCoords.js +0 -52
- package/lib/exercises/geometry/vectors/scalarProductViaCos.d.ts +0 -9
- package/lib/exercises/geometry/vectors/scalarProductViaCos.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/scalarProductViaCos.js +0 -66
- package/lib/exercises/geometry/vectors/scalarProductViaNorms.d.ts +0 -1
- package/lib/exercises/geometry/vectors/scalarProductViaNorms.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/scalarProductViaNorms.js +0 -27
- package/lib/exercises/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts +0 -8
- package/lib/exercises/geometry/vectors/vectorCoordinatesFromTwoPoints.d.ts.map +0 -1
- package/lib/exercises/geometry/vectors/vectorCoordinatesFromTwoPoints.js +0 -52
- package/lib/exercises/index.d.ts +0 -20
- package/lib/exercises/index.d.ts.map +0 -1
- package/lib/exercises/index.js +0 -35
- package/lib/exercises/limits/index.d.ts +0 -11
- package/lib/exercises/limits/index.d.ts.map +0 -1
- package/lib/exercises/limits/index.js +0 -26
- package/lib/exercises/limits/limitReading.d.ts +0 -10
- package/lib/exercises/limits/limitReading.d.ts.map +0 -1
- package/lib/exercises/limits/limitReading.js +0 -120
- package/lib/exercises/limits/polynomLimit.d.ts +0 -8
- package/lib/exercises/limits/polynomLimit.d.ts.map +0 -1
- package/lib/exercises/limits/polynomLimit.js +0 -53
- package/lib/exercises/limits/polynomLimitNoFI.d.ts +0 -8
- package/lib/exercises/limits/polynomLimitNoFI.d.ts.map +0 -1
- package/lib/exercises/limits/polynomLimitNoFI.js +0 -53
- package/lib/exercises/limits/rationalFracForbiddenValueLimit.d.ts +0 -9
- package/lib/exercises/limits/rationalFracForbiddenValueLimit.d.ts.map +0 -1
- package/lib/exercises/limits/rationalFracForbiddenValueLimit.js +0 -69
- package/lib/exercises/limits/rationalFracLimit.d.ts +0 -9
- package/lib/exercises/limits/rationalFracLimit.d.ts.map +0 -1
- package/lib/exercises/limits/rationalFracLimit.js +0 -101
- package/lib/exercises/limits/sequenceGeometricLimit.d.ts +0 -8
- package/lib/exercises/limits/sequenceGeometricLimit.d.ts.map +0 -1
- package/lib/exercises/limits/sequenceGeometricLimit.js +0 -51
- package/lib/exercises/limits/sequencePolynomLimit.d.ts +0 -7
- package/lib/exercises/limits/sequencePolynomLimit.d.ts.map +0 -1
- package/lib/exercises/limits/sequencePolynomLimit.js +0 -52
- package/lib/exercises/limits/sequencePolynomNoFILimit.d.ts +0 -7
- package/lib/exercises/limits/sequencePolynomNoFILimit.d.ts.map +0 -1
- package/lib/exercises/limits/sequencePolynomNoFILimit.js +0 -52
- package/lib/exercises/limits/sequencePolynomProductLimit.d.ts +0 -8
- package/lib/exercises/limits/sequencePolynomProductLimit.d.ts.map +0 -1
- package/lib/exercises/limits/sequencePolynomProductLimit.js +0 -70
- package/lib/exercises/limits/sequenceRationalFracLimit.d.ts +0 -8
- package/lib/exercises/limits/sequenceRationalFracLimit.d.ts.map +0 -1
- package/lib/exercises/limits/sequenceRationalFracLimit.js +0 -100
- package/lib/exercises/limits/sequenceSimpleElementsSumLimit.d.ts +0 -9
- package/lib/exercises/limits/sequenceSimpleElementsSumLimit.d.ts.map +0 -1
- package/lib/exercises/limits/sequenceSimpleElementsSumLimit.js +0 -45
- package/lib/exercises/matrices/index.d.ts +0 -3
- package/lib/exercises/matrices/index.d.ts.map +0 -1
- package/lib/exercises/matrices/index.js +0 -19
- package/lib/exercises/matrices/matrixGeneralTerm.d.ts +0 -10
- package/lib/exercises/matrices/matrixGeneralTerm.d.ts.map +0 -1
- package/lib/exercises/matrices/matrixGeneralTerm.js +0 -57
- package/lib/exercises/matrices/matrixInversibilityDomain.d.ts +0 -10
- package/lib/exercises/matrices/matrixInversibilityDomain.d.ts.map +0 -1
- package/lib/exercises/matrices/matrixInversibilityDomain.js +0 -94
- package/lib/exercises/matrices/productCell.d.ts +0 -10
- package/lib/exercises/matrices/productCell.d.ts.map +0 -1
- package/lib/exercises/matrices/productCell.js +0 -57
- package/lib/exercises/percent/applyPercent.d.ts +0 -9
- package/lib/exercises/percent/applyPercent.d.ts.map +0 -1
- package/lib/exercises/percent/applyPercent.js +0 -78
- package/lib/exercises/percent/averageEvolutionRate.d.ts +0 -8
- package/lib/exercises/percent/averageEvolutionRate.d.ts.map +0 -1
- package/lib/exercises/percent/averageEvolutionRate.js +0 -54
- package/lib/exercises/percent/evolutionToCM.d.ts +0 -8
- package/lib/exercises/percent/evolutionToCM.d.ts.map +0 -1
- package/lib/exercises/percent/evolutionToCM.js +0 -64
- package/lib/exercises/percent/globalPercent.d.ts +0 -7
- package/lib/exercises/percent/globalPercent.d.ts.map +0 -1
- package/lib/exercises/percent/globalPercent.js +0 -71
- package/lib/exercises/percent/index.d.ts +0 -8
- package/lib/exercises/percent/index.d.ts.map +0 -1
- package/lib/exercises/percent/index.js +0 -23
- package/lib/exercises/percent/percentToDecimal.d.ts +0 -8
- package/lib/exercises/percent/percentToDecimal.d.ts.map +0 -1
- package/lib/exercises/percent/percentToDecimal.js +0 -69
- package/lib/exercises/percent/reciprocalPercentage.d.ts +0 -8
- package/lib/exercises/percent/reciprocalPercentage.d.ts.map +0 -1
- package/lib/exercises/percent/reciprocalPercentage.js +0 -61
- package/lib/exercises/percent/valuePercent.d.ts +0 -8
- package/lib/exercises/percent/valuePercent.d.ts.map +0 -1
- package/lib/exercises/percent/valuePercent.js +0 -45
- package/lib/exercises/powers/calculateNegativePower.d.ts +0 -8
- package/lib/exercises/powers/calculateNegativePower.d.ts.map +0 -1
- package/lib/exercises/powers/calculateNegativePower.js +0 -73
- package/lib/exercises/powers/calculatePower.d.ts +0 -8
- package/lib/exercises/powers/calculatePower.d.ts.map +0 -1
- package/lib/exercises/powers/calculatePower.js +0 -65
- package/lib/exercises/powers/decimalToScientific.d.ts +0 -7
- package/lib/exercises/powers/decimalToScientific.d.ts.map +0 -1
- package/lib/exercises/powers/decimalToScientific.js +0 -76
- package/lib/exercises/powers/index.d.ts +0 -10
- package/lib/exercises/powers/index.d.ts.map +0 -1
- package/lib/exercises/powers/index.js +0 -25
- package/lib/exercises/powers/powerDefinition.d.ts +0 -8
- package/lib/exercises/powers/powerDefinition.d.ts.map +0 -1
- package/lib/exercises/powers/powerDefinition.js +0 -55
- package/lib/exercises/powers/powersDivision.d.ts +0 -13
- package/lib/exercises/powers/powersDivision.d.ts.map +0 -1
- package/lib/exercises/powers/powersDivision.js +0 -87
- package/lib/exercises/powers/powersOfTenToDecimal.d.ts +0 -10
- package/lib/exercises/powers/powersOfTenToDecimal.d.ts.map +0 -1
- package/lib/exercises/powers/powersOfTenToDecimal.js +0 -72
- package/lib/exercises/powers/powersPower.d.ts +0 -13
- package/lib/exercises/powers/powersPower.d.ts.map +0 -1
- package/lib/exercises/powers/powersPower.js +0 -94
- package/lib/exercises/powers/powersProduct.d.ts +0 -13
- package/lib/exercises/powers/powersProduct.d.ts.map +0 -1
- package/lib/exercises/powers/powersProduct.js +0 -89
- package/lib/exercises/powers/scientificToDecimal.d.ts +0 -11
- package/lib/exercises/powers/scientificToDecimal.d.ts.map +0 -1
- package/lib/exercises/powers/scientificToDecimal.js +0 -72
- package/lib/exercises/primitive/constantPrimitive.d.ts +0 -10
- package/lib/exercises/primitive/constantPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/constantPrimitive.js +0 -56
- package/lib/exercises/primitive/expUPrimitive.d.ts +0 -10
- package/lib/exercises/primitive/expUPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/expUPrimitive.js +0 -76
- package/lib/exercises/primitive/exponentialPrimitive.d.ts +0 -10
- package/lib/exercises/primitive/exponentialPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/exponentialPrimitive.js +0 -72
- package/lib/exercises/primitive/index.d.ts +0 -9
- package/lib/exercises/primitive/index.d.ts.map +0 -1
- package/lib/exercises/primitive/index.js +0 -32
- package/lib/exercises/primitive/logarithmePrimitive.d.ts +0 -9
- package/lib/exercises/primitive/logarithmePrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/logarithmePrimitive.js +0 -79
- package/lib/exercises/primitive/polynomialPrimitive.d.ts +0 -10
- package/lib/exercises/primitive/polynomialPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/polynomialPrimitive.js +0 -60
- package/lib/exercises/primitive/sinCosPrimitive.d.ts +0 -11
- package/lib/exercises/primitive/sinCosPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/sinCosPrimitive.js +0 -79
- package/lib/exercises/primitive/sinUCosUPrimitive.d.ts +0 -11
- package/lib/exercises/primitive/sinUCosUPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitive/sinUCosUPrimitive.js +0 -85
- package/lib/exercises/primitive/usualPrimitives.d.ts +0 -11
- package/lib/exercises/primitive/usualPrimitives.d.ts.map +0 -1
- package/lib/exercises/primitive/usualPrimitives.js +0 -108
- package/lib/exercises/primitve/constantPrimitive.d.ts +0 -10
- package/lib/exercises/primitve/constantPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitve/constantPrimitive.js +0 -45
- package/lib/exercises/primitve/exponentialPrimitive.d.ts +0 -13
- package/lib/exercises/primitve/exponentialPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitve/exponentialPrimitive.js +0 -98
- package/lib/exercises/primitve/logarithmePrimitive.d.ts +0 -11
- package/lib/exercises/primitve/logarithmePrimitive.d.ts.map +0 -1
- package/lib/exercises/primitve/logarithmePrimitive.js +0 -62
- package/lib/exercises/primitve/polynomialPrimitive.d.ts +0 -11
- package/lib/exercises/primitve/polynomialPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitve/polynomialPrimitive.js +0 -75
- package/lib/exercises/primitve/sinCosPrimitive.d.ts +0 -13
- package/lib/exercises/primitve/sinCosPrimitive.d.ts.map +0 -1
- package/lib/exercises/primitve/sinCosPrimitive.js +0 -100
- package/lib/exercises/primitve/usualPrimitives.d.ts +0 -13
- package/lib/exercises/primitve/usualPrimitives.d.ts.map +0 -1
- package/lib/exercises/primitve/usualPrimitives.js +0 -75
- package/lib/exercises/probaStat/averageWithTable.d.ts +0 -8
- package/lib/exercises/probaStat/averageWithTable.d.ts.map +0 -1
- package/lib/exercises/probaStat/averageWithTable.js +0 -62
- package/lib/exercises/probaStat/ballsBasicProbas.d.ts +0 -8
- package/lib/exercises/probaStat/ballsBasicProbas.d.ts.map +0 -1
- package/lib/exercises/probaStat/ballsBasicProbas.js +0 -63
- package/lib/exercises/probaStat/cardBasicProbas.d.ts +0 -7
- package/lib/exercises/probaStat/cardBasicProbas.d.ts.map +0 -1
- package/lib/exercises/probaStat/cardBasicProbas.js +0 -104
- package/lib/exercises/probaStat/conditionalProbability.d.ts +0 -10
- package/lib/exercises/probaStat/conditionalProbability.d.ts.map +0 -1
- package/lib/exercises/probaStat/conditionalProbability.js +0 -91
- package/lib/exercises/probaStat/diceBasicProbas.d.ts +0 -9
- package/lib/exercises/probaStat/diceBasicProbas.d.ts.map +0 -1
- package/lib/exercises/probaStat/diceBasicProbas.js +0 -77
- package/lib/exercises/probaStat/independancy.d.ts +0 -9
- package/lib/exercises/probaStat/independancy.d.ts.map +0 -1
- package/lib/exercises/probaStat/independancy.js +0 -59
- package/lib/exercises/probaStat/index.d.ts +0 -12
- package/lib/exercises/probaStat/index.d.ts.map +0 -1
- package/lib/exercises/probaStat/index.js +0 -27
- package/lib/exercises/probaStat/issuesCountingForCards.d.ts +0 -7
- package/lib/exercises/probaStat/issuesCountingForCards.d.ts.map +0 -1
- package/lib/exercises/probaStat/issuesCountingForCards.js +0 -78
- package/lib/exercises/probaStat/marginalAndConditionalFrequency.d.ts +0 -12
- package/lib/exercises/probaStat/marginalAndConditionalFrequency.d.ts.map +0 -1
- package/lib/exercises/probaStat/marginalAndConditionalFrequency.js +0 -99
- package/lib/exercises/probaStat/median.d.ts +0 -9
- package/lib/exercises/probaStat/median.d.ts.map +0 -1
- package/lib/exercises/probaStat/median.js +0 -67
- package/lib/exercises/probaStat/medianList.d.ts +0 -9
- package/lib/exercises/probaStat/medianList.d.ts.map +0 -1
- package/lib/exercises/probaStat/medianList.js +0 -52
- package/lib/exercises/probaStat/probaFromTableNoContext.d.ts +0 -13
- package/lib/exercises/probaStat/probaFromTableNoContext.d.ts.map +0 -1
- package/lib/exercises/probaStat/probaFromTableNoContext.js +0 -115
- package/lib/exercises/probaStat/probaFromTableWithContext.d.ts +0 -13
- package/lib/exercises/probaStat/probaFromTableWithContext.d.ts.map +0 -1
- package/lib/exercises/probaStat/probaFromTableWithContext.js +0 -121
- package/lib/exercises/probaStat/probabilityTree.d.ts +0 -13
- package/lib/exercises/probaStat/probabilityTree.d.ts.map +0 -1
- package/lib/exercises/probaStat/probabilityTree.js +0 -145
- package/lib/exercises/probaStat/quartiles.d.ts +0 -9
- package/lib/exercises/probaStat/quartiles.d.ts.map +0 -1
- package/lib/exercises/probaStat/quartiles.js +0 -80
- package/lib/exercises/probaStat/quartilesList.d.ts +0 -9
- package/lib/exercises/probaStat/quartilesList.d.ts.map +0 -1
- package/lib/exercises/probaStat/quartilesList.js +0 -68
- package/lib/exercises/probaStat/stats1var/averageWithTable.d.ts +0 -8
- package/lib/exercises/probaStat/stats1var/averageWithTable.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/averageWithTable.js +0 -68
- package/lib/exercises/probaStat/stats1var/index.d.ts +0 -7
- package/lib/exercises/probaStat/stats1var/index.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/index.js +0 -22
- package/lib/exercises/probaStat/stats1var/marginalAndConditionalFrequency.d.ts +0 -11
- package/lib/exercises/probaStat/stats1var/marginalAndConditionalFrequency.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/marginalAndConditionalFrequency.js +0 -129
- package/lib/exercises/probaStat/stats1var/median.d.ts +0 -7
- package/lib/exercises/probaStat/stats1var/median.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/median.js +0 -71
- package/lib/exercises/probaStat/stats1var/medianList.d.ts +0 -7
- package/lib/exercises/probaStat/stats1var/medianList.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/medianList.js +0 -56
- package/lib/exercises/probaStat/stats1var/quartiles.d.ts +0 -9
- package/lib/exercises/probaStat/stats1var/quartiles.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/quartiles.js +0 -84
- package/lib/exercises/probaStat/stats1var/quartilesList.d.ts +0 -8
- package/lib/exercises/probaStat/stats1var/quartilesList.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats1var/quartilesList.js +0 -72
- package/lib/exercises/probaStat/stats2var/averagePoint.d.ts +0 -8
- package/lib/exercises/probaStat/stats2var/averagePoint.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats2var/averagePoint.js +0 -73
- package/lib/exercises/probaStat/stats2var/index.d.ts +0 -2
- package/lib/exercises/probaStat/stats2var/index.d.ts.map +0 -1
- package/lib/exercises/probaStat/stats2var/index.js +0 -17
- package/lib/exercises/python/index.d.ts +0 -1
- package/lib/exercises/python/index.d.ts.map +0 -1
- package/lib/exercises/python/index.js +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts +0 -9
- package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +0 -54
- package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts +0 -8
- package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticFindExplicitFormula.js +0 -57
- package/lib/exercises/sequences/arithmetic/arithmeticFindReason.d.ts +0 -9
- package/lib/exercises/sequences/arithmetic/arithmeticFindReason.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticFindReason.js +0 -48
- package/lib/exercises/sequences/arithmetic/arithmeticFirstTermsSum.d.ts +0 -10
- package/lib/exercises/sequences/arithmetic/arithmeticFirstTermsSum.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticFirstTermsSum.js +0 -50
- package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.d.ts +0 -9
- package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.js +0 -51
- package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts +0 -9
- package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +0 -51
- package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.d.ts +0 -9
- package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/arithmeticThresholdFind.js +0 -59
- package/lib/exercises/sequences/arithmetic/firstIntegersSum.d.ts +0 -7
- package/lib/exercises/sequences/arithmetic/firstIntegersSum.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/firstIntegersSum.js +0 -46
- package/lib/exercises/sequences/arithmetic/index.d.ts +0 -13
- package/lib/exercises/sequences/arithmetic/index.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/index.js +0 -28
- package/lib/exercises/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts +0 -8
- package/lib/exercises/sequences/arithmetic/recognizeArithmeticFromFirstTerms.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/recognizeArithmeticFromFirstTerms.js +0 -71
- package/lib/exercises/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts +0 -8
- package/lib/exercises/sequences/arithmetic/recognizeArithmeticFromGraph.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/recognizeArithmeticFromGraph.js +0 -88
- package/lib/exercises/sequences/arithmetic/recognizeReasonFromFirstTerms.d.ts +0 -8
- package/lib/exercises/sequences/arithmetic/recognizeReasonFromFirstTerms.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/recognizeReasonFromFirstTerms.js +0 -44
- package/lib/exercises/sequences/arithmetic/recognizeReasonFromGraph.d.ts +0 -8
- package/lib/exercises/sequences/arithmetic/recognizeReasonFromGraph.d.ts.map +0 -1
- package/lib/exercises/sequences/arithmetic/recognizeReasonFromGraph.js +0 -59
- package/lib/exercises/sequences/explicitFormulaUsage.d.ts +0 -8
- package/lib/exercises/sequences/explicitFormulaUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/explicitFormulaUsage.js +0 -50
- package/lib/exercises/sequences/genericSequenceVariations.d.ts +0 -7
- package/lib/exercises/sequences/genericSequenceVariations.d.ts.map +0 -1
- package/lib/exercises/sequences/genericSequenceVariations.js +0 -52
- package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.d.ts +0 -9
- package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.js +0 -56
- package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.d.ts +0 -8
- package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.js +0 -60
- package/lib/exercises/sequences/geometric/geometricFindReason.d.ts +0 -9
- package/lib/exercises/sequences/geometric/geometricFindReason.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/geometricFindReason.js +0 -51
- package/lib/exercises/sequences/geometric/geometricFirstTermsSum.d.ts +0 -8
- package/lib/exercises/sequences/geometric/geometricFirstTermsSum.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/geometricFirstTermsSum.js +0 -55
- package/lib/exercises/sequences/geometric/geometricReasonUsage.d.ts +0 -9
- package/lib/exercises/sequences/geometric/geometricReasonUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/geometricReasonUsage.js +0 -53
- package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts +0 -9
- package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.js +0 -54
- package/lib/exercises/sequences/geometric/index.d.ts +0 -7
- package/lib/exercises/sequences/geometric/index.d.ts.map +0 -1
- package/lib/exercises/sequences/geometric/index.js +0 -22
- package/lib/exercises/sequences/index.d.ts +0 -6
- package/lib/exercises/sequences/index.d.ts.map +0 -1
- package/lib/exercises/sequences/index.js +0 -21
- package/lib/exercises/sequences/recurrenceFormulaUsage.d.ts +0 -9
- package/lib/exercises/sequences/recurrenceFormulaUsage.d.ts.map +0 -1
- package/lib/exercises/sequences/recurrenceFormulaUsage.js +0 -55
- package/lib/exercises/sets/index.d.ts +0 -3
- package/lib/exercises/sets/index.d.ts.map +0 -1
- package/lib/exercises/sets/index.js +0 -18
- package/lib/exercises/sets/intervals/index.d.ts +0 -4
- package/lib/exercises/sets/intervals/index.d.ts.map +0 -1
- package/lib/exercises/sets/intervals/index.js +0 -19
- package/lib/exercises/sets/intervals/inequalityToInterval.d.ts +0 -11
- package/lib/exercises/sets/intervals/inequalityToInterval.d.ts.map +0 -1
- package/lib/exercises/sets/intervals/inequalityToInterval.js +0 -148
- package/lib/exercises/sets/intervals/intervalBelonging.d.ts +0 -1
- package/lib/exercises/sets/intervals/intervalBelonging.d.ts.map +0 -1
- package/lib/exercises/sets/intervals/intervalBelonging.js +0 -65
- package/lib/exercises/sets/intervals/intervalsIntersection.d.ts +0 -13
- package/lib/exercises/sets/intervals/intervalsIntersection.d.ts.map +0 -1
- package/lib/exercises/sets/intervals/intervalsIntersection.js +0 -63
- package/lib/exercises/sets/intervals/intervalsUnion.d.ts +0 -13
- package/lib/exercises/sets/intervals/intervalsUnion.d.ts.map +0 -1
- package/lib/exercises/sets/intervals/intervalsUnion.js +0 -55
- package/lib/exercises/sets/setBelonging.d.ts +0 -8
- package/lib/exercises/sets/setBelonging.d.ts.map +0 -1
- package/lib/exercises/sets/setBelonging.js +0 -84
- package/lib/exercises/squareRoots/index.d.ts +0 -6
- package/lib/exercises/squareRoots/index.d.ts.map +0 -1
- package/lib/exercises/squareRoots/index.js +0 -21
- package/lib/exercises/squareRoots/simpifySquareRoot.d.ts +0 -7
- package/lib/exercises/squareRoots/simpifySquareRoot.d.ts.map +0 -1
- package/lib/exercises/squareRoots/simpifySquareRoot.js +0 -54
- package/lib/exercises/squareRoots/squareRootEquation.d.ts +0 -7
- package/lib/exercises/squareRoots/squareRootEquation.d.ts.map +0 -1
- package/lib/exercises/squareRoots/squareRootEquation.js +0 -54
- package/lib/exercises/squareRoots/squareRootIdentities.d.ts +0 -11
- package/lib/exercises/squareRoots/squareRootIdentities.d.ts.map +0 -1
- package/lib/exercises/squareRoots/squareRootIdentities.js +0 -124
- package/lib/exercises/squareRoots/squareRootsDistributivity.d.ts +0 -10
- package/lib/exercises/squareRoots/squareRootsDistributivity.d.ts.map +0 -1
- package/lib/exercises/squareRoots/squareRootsDistributivity.js +0 -67
- package/lib/exercises/squareRoots/squareRootsSum.d.ts +0 -13
- package/lib/exercises/squareRoots/squareRootsSum.d.ts.map +0 -1
- package/lib/exercises/squareRoots/squareRootsSum.js +0 -80
- package/lib/exercises/trigonometry/associatePoint.d.ts +0 -7
- package/lib/exercises/trigonometry/associatePoint.d.ts.map +0 -1
- package/lib/exercises/trigonometry/associatePoint.js +0 -64
- package/lib/exercises/trigonometry/index.d.ts +0 -7
- package/lib/exercises/trigonometry/index.d.ts.map +0 -1
- package/lib/exercises/trigonometry/index.js +0 -22
- package/lib/exercises/trigonometry/mainRemarkableValues.d.ts +0 -8
- package/lib/exercises/trigonometry/mainRemarkableValues.d.ts.map +0 -1
- package/lib/exercises/trigonometry/mainRemarkableValues.js +0 -72
- package/lib/exercises/trigonometry/remarkableValues.d.ts +0 -8
- package/lib/exercises/trigonometry/remarkableValues.d.ts.map +0 -1
- package/lib/exercises/trigonometry/remarkableValues.js +0 -75
- package/lib/exercises/trigonometry/trigonometry.d.ts +0 -11
- package/lib/exercises/trigonometry/trigonometry.d.ts.map +0 -1
- package/lib/exercises/trigonometry/trigonometry.js +0 -119
- package/lib/exercises/trigonometry/trigonometryAngleCalcul.d.ts +0 -9
- package/lib/exercises/trigonometry/trigonometryAngleCalcul.d.ts.map +0 -1
- package/lib/exercises/trigonometry/trigonometryAngleCalcul.js +0 -78
- package/lib/exercises/trigonometry/trigonometrySideCalcul.d.ts +0 -10
- package/lib/exercises/trigonometry/trigonometrySideCalcul.d.ts.map +0 -1
- package/lib/exercises/trigonometry/trigonometrySideCalcul.js +0 -92
- package/lib/math/geometry/droite.d.ts +0 -20
- package/lib/math/geometry/droite.d.ts.map +0 -1
- package/lib/math/geometry/droite.js +0 -62
- package/lib/tree/nodes/expression/expressionNode.d.ts +0 -1
- package/lib/tree/nodes/expression/expressionNode.d.ts.map +0 -1
- package/lib/tree/nodes/expression/expressionNode.js +0 -1
- package/lib/tree/nodes/operators/equalNode.d.ts +0 -16
- package/lib/tree/nodes/operators/equalNode.d.ts.map +0 -1
- package/lib/tree/nodes/operators/equalNode.js +0 -39
- package/lib/tree/parsers/simplify.d.ts +0 -1
- package/lib/tree/parsers/simplify.d.ts.map +0 -1
- package/lib/tree/parsers/simplify.js +0 -99
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.volumeOfCube = void 0;
|
|
4
|
+
const exercise_1 = require("../../../../exercises/exercise");
|
|
5
|
+
const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
|
|
6
|
+
const geogebraConstructor_1 = require("../../../../geogebra/geogebraConstructor");
|
|
7
|
+
const randint_1 = require("../../../../math/utils/random/randint");
|
|
8
|
+
const powerNode_1 = require("../../../../tree/nodes/operators/powerNode");
|
|
9
|
+
const getVolumeOfCubeQuestion = () => {
|
|
10
|
+
const cubeSide = (0, randint_1.randint)(1, 21);
|
|
11
|
+
const commands = [
|
|
12
|
+
`A=Point({0,0,0})`,
|
|
13
|
+
`B=Point({0,0,${cubeSide}})`,
|
|
14
|
+
`C=Point({${cubeSide},0,${cubeSide}})`,
|
|
15
|
+
`ShowLabel(A,true)`,
|
|
16
|
+
`ShowLabel(B,true)`,
|
|
17
|
+
`ShowLabel(C,true)`,
|
|
18
|
+
`P=Cube(A,B,C)`,
|
|
19
|
+
];
|
|
20
|
+
const ggb = new geogebraConstructor_1.GeogebraConstructor(commands, {
|
|
21
|
+
is3D: true,
|
|
22
|
+
hideAxes: true,
|
|
23
|
+
hideGrid: true,
|
|
24
|
+
});
|
|
25
|
+
const question = {
|
|
26
|
+
answer: Math.pow(cubeSide, 3) + "",
|
|
27
|
+
instruction: `$ABCDEFGH$ est un cube d'arête $${cubeSide}$. Calculer son volume.`,
|
|
28
|
+
keys: [],
|
|
29
|
+
answerFormat: "tex",
|
|
30
|
+
commands: ggb.commands,
|
|
31
|
+
options: ggb.getOptions(),
|
|
32
|
+
coords: [0, cubeSide + 1, 0, cubeSide + 1, 0, cubeSide + 1],
|
|
33
|
+
identifiers: { cubeSide },
|
|
34
|
+
};
|
|
35
|
+
return question;
|
|
36
|
+
};
|
|
37
|
+
const getPropositions = (n, { answer, cubeSide }) => {
|
|
38
|
+
const propositions = [];
|
|
39
|
+
(0, exercise_1.addValidProp)(propositions, answer);
|
|
40
|
+
generatePropositions(cubeSide).forEach((value) => (0, exercise_1.tryToAddWrongProp)(propositions, value));
|
|
41
|
+
const correctAns = Math.pow(cubeSide, 3);
|
|
42
|
+
while (propositions.length < n) {
|
|
43
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, (0, randint_1.randint)(correctAns - 10, correctAns + 10, [correctAns]) + "");
|
|
44
|
+
}
|
|
45
|
+
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
46
|
+
};
|
|
47
|
+
const isAnswerValid = (ans, { answer, cubeSide }) => {
|
|
48
|
+
const powerNode = new powerNode_1.PowerNode(cubeSide.toTree(), (3).toTree());
|
|
49
|
+
return [answer, ...powerNode.toAllValidTexs()].includes(ans);
|
|
50
|
+
};
|
|
51
|
+
const generatePropositions = (cubeSide) => {
|
|
52
|
+
const firstProposition = Math.pow(cubeSide, 2) * 6;
|
|
53
|
+
const secondProposition = Math.pow(cubeSide, 2);
|
|
54
|
+
return [firstProposition + "", secondProposition + ""];
|
|
55
|
+
};
|
|
56
|
+
exports.volumeOfCube = {
|
|
57
|
+
id: "volumeOfCube",
|
|
58
|
+
label: "Calcul du volume d'un cube",
|
|
59
|
+
levels: ["2nde"],
|
|
60
|
+
isSingleStep: true,
|
|
61
|
+
sections: ["Géométrie euclidienne"],
|
|
62
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getVolumeOfCubeQuestion, nb, 15),
|
|
63
|
+
maxAllowedQuestions: 15,
|
|
64
|
+
qcmTimer: 60,
|
|
65
|
+
freeTimer: 60,
|
|
66
|
+
getPropositions,
|
|
67
|
+
isAnswerValid,
|
|
68
|
+
hasGeogebra: true,
|
|
69
|
+
subject: "Mathématiques",
|
|
70
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Exercise } from "../../../../exercises/exercise";
|
|
2
|
+
type Identifiers = {
|
|
3
|
+
h: number;
|
|
4
|
+
baseOfPyramid: Polygon;
|
|
5
|
+
};
|
|
6
|
+
type Polygon = {
|
|
7
|
+
type: string;
|
|
8
|
+
sideSizes: number[];
|
|
9
|
+
};
|
|
10
|
+
export declare const volumeOfPyramidWithSquareOrRectBase: Exercise<Identifiers>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=volumeOfPyramidWithSquareOrRectBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volumeOfPyramidWithSquareOrRectBase.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/volumes/volumeOfPyramidWithSquareOrRectBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAclC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAQF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AA0JF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,WAAW,CAcrE,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.volumeOfPyramidWithSquareOrRectBase = void 0;
|
|
4
|
+
const exercise_1 = require("../../../../exercises/exercise");
|
|
5
|
+
const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
|
|
6
|
+
const geogebraConstructor_1 = require("../../../../geogebra/geogebraConstructor");
|
|
7
|
+
const rational_1 = require("../../../../math/numbers/rationals/rational");
|
|
8
|
+
const randint_1 = require("../../../../math/utils/random/randint");
|
|
9
|
+
const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
|
|
10
|
+
const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
|
|
11
|
+
const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
|
|
12
|
+
const random_1 = require("../../../../utils/random");
|
|
13
|
+
const polygonTypes = ["Square", "Rectangular"];
|
|
14
|
+
const getVolumeOfPyramidWithSquareOrRectBaseQuestion = () => {
|
|
15
|
+
const exercise = generateExercise();
|
|
16
|
+
const baseOfPyramid = exercise.baseOfPyramid;
|
|
17
|
+
const commands = exercise.ggbCommands;
|
|
18
|
+
const ggb = new geogebraConstructor_1.GeogebraConstructor(commands, {
|
|
19
|
+
hideAxes: true,
|
|
20
|
+
hideGrid: true,
|
|
21
|
+
is3D: true,
|
|
22
|
+
});
|
|
23
|
+
const h = exercise.h;
|
|
24
|
+
const instruction = `$ABCDH$ est une pyramide à base ${getPolygonNameInFr(baseOfPyramid.type)} de hauteur $${h}$. Calculer son volume en sachant que : ${baseOfPyramid.type === "Square"
|
|
25
|
+
? `$AB=${baseOfPyramid.sideSizes[0]}$`
|
|
26
|
+
: `$AB=${baseOfPyramid.sideSizes[0]}$ et $BC=${baseOfPyramid.sideSizes[1]}$`}.`;
|
|
27
|
+
const volume = calculateVolume(baseOfPyramid.sideSizes, h).simplify();
|
|
28
|
+
const maxCoord = Math.max(baseOfPyramid.sideSizes[0], baseOfPyramid.sideSizes[1]);
|
|
29
|
+
const question = {
|
|
30
|
+
answer: volume.toTex(),
|
|
31
|
+
instruction: instruction,
|
|
32
|
+
keys: [],
|
|
33
|
+
answerFormat: "tex",
|
|
34
|
+
commands: ggb.commands,
|
|
35
|
+
coords: [-2, maxCoord + 1, -2, maxCoord + 1, -2, exercise.h + 1],
|
|
36
|
+
options: ggb.getOptions(),
|
|
37
|
+
identifiers: { h, baseOfPyramid },
|
|
38
|
+
};
|
|
39
|
+
return question;
|
|
40
|
+
};
|
|
41
|
+
const getPropositions = (n, { answer, h, baseOfPyramid }) => {
|
|
42
|
+
const propositions = [];
|
|
43
|
+
(0, exercise_1.addValidProp)(propositions, answer);
|
|
44
|
+
generatePropositions(baseOfPyramid, h).forEach((value) => (0, exercise_1.tryToAddWrongProp)(propositions, value));
|
|
45
|
+
const volume = calculateVolume(baseOfPyramid.sideSizes, h).simplify();
|
|
46
|
+
let random;
|
|
47
|
+
while (propositions.length < n) {
|
|
48
|
+
random = (0, numberNode_1.isNumberNode)(volume)
|
|
49
|
+
? (0, randint_1.randint)(volume.value - 5, volume.value + 5, [volume.value]).toTree()
|
|
50
|
+
: rational_1.RationalConstructor.randomIrreductible();
|
|
51
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, random.toTex());
|
|
52
|
+
}
|
|
53
|
+
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
54
|
+
};
|
|
55
|
+
const isAnswerValid = (ans, { baseOfPyramid, h }) => {
|
|
56
|
+
const volume = calculateVolume(baseOfPyramid.sideSizes, h);
|
|
57
|
+
return volume.simplify().toAllValidTexs().includes(ans);
|
|
58
|
+
};
|
|
59
|
+
const generatePropositions = (baseOfPyramid, h) => {
|
|
60
|
+
const firstProposition = h * baseOfPyramid.sideSizes[0] * baseOfPyramid.sideSizes[1] + "";
|
|
61
|
+
const secondProposition = new fractionNode_1.FractionNode(((baseOfPyramid.sideSizes[0] + baseOfPyramid.sideSizes[1]) *
|
|
62
|
+
2 *
|
|
63
|
+
h).toTree(), (3).toTree())
|
|
64
|
+
.simplify()
|
|
65
|
+
.toTex();
|
|
66
|
+
return [firstProposition, secondProposition];
|
|
67
|
+
};
|
|
68
|
+
const generateExercise = () => {
|
|
69
|
+
const h = (0, randint_1.randint)(1, 11);
|
|
70
|
+
const polygonType = (0, random_1.random)(polygonTypes);
|
|
71
|
+
const base = generatePolygonWithGgbCmnds(polygonType);
|
|
72
|
+
const ggbCommands = base.commands.concat([
|
|
73
|
+
`H=Point({${base.sideSizes[0] / 2},${base.sideSizes[1] / 2},${h}})`,
|
|
74
|
+
`SetFixed(H,true)`,
|
|
75
|
+
`ShowLabel(H,true)`,
|
|
76
|
+
`Pyra=Pyramid(Poly,H)`,
|
|
77
|
+
]);
|
|
78
|
+
return {
|
|
79
|
+
ggbCommands,
|
|
80
|
+
h,
|
|
81
|
+
baseOfPyramid: { sideSizes: base.sideSizes, type: polygonType },
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
const calculateVolume = (baseOfPyramidSides, h) => {
|
|
85
|
+
return new multiplyNode_1.MultiplyNode(new fractionNode_1.FractionNode((1).toTree(), (3).toTree()), (baseOfPyramidSides[0] * baseOfPyramidSides[1] * h).toTree());
|
|
86
|
+
};
|
|
87
|
+
const generatePolygonWithGgbCmnds = (polygonType) => {
|
|
88
|
+
let sideOne = 0;
|
|
89
|
+
let sideTwo = 0;
|
|
90
|
+
switch (polygonType) {
|
|
91
|
+
case "Square":
|
|
92
|
+
const randomSide = (0, randint_1.randint)(1, 10);
|
|
93
|
+
sideOne = randomSide;
|
|
94
|
+
sideTwo = randomSide;
|
|
95
|
+
break;
|
|
96
|
+
case "Rectangular":
|
|
97
|
+
sideOne = (0, randint_1.randint)(1, 11);
|
|
98
|
+
sideTwo = (0, randint_1.randint)(1, 11, [sideOne]);
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
commands: [
|
|
103
|
+
`A=Point({0,0,0})`,
|
|
104
|
+
`B=Point({${sideOne},0,0})`,
|
|
105
|
+
`C=Point({${sideOne},${sideTwo},0})`,
|
|
106
|
+
`D=Point({0,${sideTwo},0})`,
|
|
107
|
+
`ShowLabel(A,true)`,
|
|
108
|
+
`ShowLabel(B,true)`,
|
|
109
|
+
`ShowLabel(C,true)`,
|
|
110
|
+
`ShowLabel(D,true)`,
|
|
111
|
+
`SetFixed(A,true)`,
|
|
112
|
+
`SetFixed(B,true)`,
|
|
113
|
+
`SetFixed(C,true)`,
|
|
114
|
+
`SetFixed(D,true)`,
|
|
115
|
+
`Poly=Polygon(A,B,C,D)`,
|
|
116
|
+
],
|
|
117
|
+
sideSizes: [sideOne, sideTwo],
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
const getPolygonNameInFr = (polygonType) => {
|
|
121
|
+
switch (polygonType) {
|
|
122
|
+
case "Square":
|
|
123
|
+
return "carrée";
|
|
124
|
+
case "Rectangular":
|
|
125
|
+
return "rectangulaire";
|
|
126
|
+
default:
|
|
127
|
+
return "";
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
exports.volumeOfPyramidWithSquareOrRectBase = {
|
|
131
|
+
id: "volumeOfPyramidWithSquareOrRectBase",
|
|
132
|
+
label: "Calcul de volume d'une pyramide à base carrée ou rectangulaire",
|
|
133
|
+
levels: ["2nde"],
|
|
134
|
+
isSingleStep: true,
|
|
135
|
+
sections: ["Géométrie euclidienne"],
|
|
136
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getVolumeOfPyramidWithSquareOrRectBaseQuestion, nb),
|
|
137
|
+
qcmTimer: 60,
|
|
138
|
+
freeTimer: 60,
|
|
139
|
+
getPropositions,
|
|
140
|
+
isAnswerValid,
|
|
141
|
+
hasGeogebra: true,
|
|
142
|
+
subject: "Mathématiques",
|
|
143
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Exercise } from "../../../../exercises/exercise";
|
|
2
|
+
type Identifiers = {
|
|
3
|
+
h: number;
|
|
4
|
+
baseOfPyramidSides: TriangleSides;
|
|
5
|
+
};
|
|
6
|
+
type TriangleSides = {
|
|
7
|
+
ABSide: number;
|
|
8
|
+
ACSide: number;
|
|
9
|
+
BCSide: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const volumeOfPyramidWithTriangleBase: Exercise<Identifiers>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=volumeOfPyramidWithTriangleBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volumeOfPyramidWithTriangleBase.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,kBAAkB,EAAE,aAAa,CAAC;CACnC,CAAC;AASF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAiKF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,CAcjE,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.volumeOfPyramidWithTriangleBase = void 0;
|
|
4
|
+
const exercise_1 = require("../../../../exercises/exercise");
|
|
5
|
+
const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
|
|
6
|
+
const geogebraConstructor_1 = require("../../../../geogebra/geogebraConstructor");
|
|
7
|
+
const rational_1 = require("../../../../math/numbers/rationals/rational");
|
|
8
|
+
const randint_1 = require("../../../../math/utils/random/randint");
|
|
9
|
+
const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
|
|
10
|
+
const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
|
|
11
|
+
const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
|
|
12
|
+
const random_1 = require("../../../../utils/random");
|
|
13
|
+
const pythagoreTriplet = [
|
|
14
|
+
[5, 12, 13],
|
|
15
|
+
[8, 15, 17],
|
|
16
|
+
[7, 24, 25],
|
|
17
|
+
[20, 21, 29],
|
|
18
|
+
[12, 35, 37],
|
|
19
|
+
[9, 40, 41],
|
|
20
|
+
[28, 45, 53],
|
|
21
|
+
[11, 60, 61],
|
|
22
|
+
[16, 63, 65],
|
|
23
|
+
];
|
|
24
|
+
const getVolumeOfPyramidWithTriangleBaseQuestion = () => {
|
|
25
|
+
const exercise = generateExercise();
|
|
26
|
+
const commands = exercise.ggbCommands;
|
|
27
|
+
const baseOfPyramidSides = exercise.baseOfPyramidSides;
|
|
28
|
+
const volume = calculateVolume(baseOfPyramidSides, exercise.h);
|
|
29
|
+
const ggb = new geogebraConstructor_1.GeogebraConstructor(commands, {
|
|
30
|
+
hideAxes: true,
|
|
31
|
+
hideGrid: true,
|
|
32
|
+
is3D: true,
|
|
33
|
+
});
|
|
34
|
+
const maxCoord = Math.max(baseOfPyramidSides.ABSide, baseOfPyramidSides.ACSide);
|
|
35
|
+
const question = {
|
|
36
|
+
answer: volume.simplify().toTex(),
|
|
37
|
+
instruction: `$ABCH$ est une pyramide à base triangulaire de hauteur $${exercise.h}$. Le point $D$ est le pied de la hauteur issue de $C$ dans le triangle $ABC$.
|
|
38
|
+
Calculer le volume de la pyramide en sachant que $AB=${baseOfPyramidSides.ABSide}$ et $CD=${baseOfPyramidSides.ACSide}$.`,
|
|
39
|
+
keys: [],
|
|
40
|
+
answerFormat: "tex",
|
|
41
|
+
commands: ggb.commands,
|
|
42
|
+
options: ggb.getOptions(),
|
|
43
|
+
coords: [
|
|
44
|
+
exercise.originX,
|
|
45
|
+
maxCoord + 1,
|
|
46
|
+
-2,
|
|
47
|
+
maxCoord + 1,
|
|
48
|
+
-2,
|
|
49
|
+
exercise.h + 1,
|
|
50
|
+
],
|
|
51
|
+
identifiers: { h: exercise.h, baseOfPyramidSides },
|
|
52
|
+
};
|
|
53
|
+
return question;
|
|
54
|
+
};
|
|
55
|
+
const getPropositions = (n, { answer, baseOfPyramidSides, h }) => {
|
|
56
|
+
const propositions = [];
|
|
57
|
+
(0, exercise_1.addValidProp)(propositions, answer);
|
|
58
|
+
generatePropositions(baseOfPyramidSides, h).forEach((value) => (0, exercise_1.tryToAddWrongProp)(propositions, value));
|
|
59
|
+
const volume = calculateVolume(baseOfPyramidSides, h).simplify();
|
|
60
|
+
let random;
|
|
61
|
+
while (propositions.length < n) {
|
|
62
|
+
random = (0, numberNode_1.isNumberNode)(volume)
|
|
63
|
+
? (0, randint_1.randint)(volume.value - 5, volume.value + 5, [volume.value]).toTree()
|
|
64
|
+
: rational_1.RationalConstructor.randomIrreductible();
|
|
65
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, random.toTex());
|
|
66
|
+
}
|
|
67
|
+
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
68
|
+
};
|
|
69
|
+
const isAnswerValid = (ans, { h, baseOfPyramidSides }) => {
|
|
70
|
+
const volume = calculateVolume(baseOfPyramidSides, h);
|
|
71
|
+
return volume
|
|
72
|
+
.simplify()
|
|
73
|
+
.toAllValidTexs({ allowFractionToDecimal: true })
|
|
74
|
+
.includes(ans);
|
|
75
|
+
};
|
|
76
|
+
const generatePropositions = (baseOfPyramidSides, h) => {
|
|
77
|
+
const firstProposition = new fractionNode_1.FractionNode((baseOfPyramidSides.ABSide * baseOfPyramidSides.ACSide).toTree(), (3).toTree())
|
|
78
|
+
.simplify()
|
|
79
|
+
.toTex();
|
|
80
|
+
const secondProposition = new fractionNode_1.FractionNode((baseOfPyramidSides.ABSide * baseOfPyramidSides.ACSide * h).toTree(), (2).toTree())
|
|
81
|
+
.simplify()
|
|
82
|
+
.toTex();
|
|
83
|
+
return [firstProposition, secondProposition];
|
|
84
|
+
};
|
|
85
|
+
const calculateVolume = (sideSize, h) => {
|
|
86
|
+
return new fractionNode_1.FractionNode(new multiplyNode_1.MultiplyNode(new fractionNode_1.FractionNode((sideSize.ABSide * sideSize.ACSide).toTree(), (2).toTree()), h.toTree()), (3).toTree());
|
|
87
|
+
};
|
|
88
|
+
const generateExercise = () => {
|
|
89
|
+
const h = (0, randint_1.randint)(3, 21);
|
|
90
|
+
const triangle = generateTriangleWithGGBCommands();
|
|
91
|
+
const ggbCommands = triangle.commands.concat([
|
|
92
|
+
`H=Point({0,${triangle.sideSizes.ACSide / 4},${h}})`,
|
|
93
|
+
`D=Point({0,0,0})`,
|
|
94
|
+
`ShowLabel(D,true)`,
|
|
95
|
+
`ShowLabel(H,true)`,
|
|
96
|
+
`SetFixed(H,true)`,
|
|
97
|
+
`SetFixed(D,true)`,
|
|
98
|
+
`Pyra=Pyramid(Poly,H)`,
|
|
99
|
+
]);
|
|
100
|
+
return {
|
|
101
|
+
ggbCommands,
|
|
102
|
+
h,
|
|
103
|
+
baseOfPyramidSides: triangle.sideSizes,
|
|
104
|
+
originX: triangle.originX,
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
const generateTriangleWithGGBCommands = () => {
|
|
108
|
+
const rectTriangle = (0, random_1.random)(pythagoreTriplet);
|
|
109
|
+
const ABSide = rectTriangle[0];
|
|
110
|
+
const originX = (0, randint_1.randint)(-ABSide + 4, -2);
|
|
111
|
+
const ACSide = rectTriangle[1];
|
|
112
|
+
const BCSide = rectTriangle[2];
|
|
113
|
+
return {
|
|
114
|
+
commands: [
|
|
115
|
+
`A=Point({${originX},0,0})`,
|
|
116
|
+
`B=Point({${ABSide + originX},0,0})`,
|
|
117
|
+
`C=Point({0,${ACSide},0})`,
|
|
118
|
+
`ShowLabel(A,True)`,
|
|
119
|
+
`ShowLabel(B,True)`,
|
|
120
|
+
`ShowLabel(C,True)`,
|
|
121
|
+
`SetFixed(A,true)`,
|
|
122
|
+
`SetFixed(B,true)`,
|
|
123
|
+
`SetFixed(C,true)`,
|
|
124
|
+
`Poly=Polygon(A,B,C)`,
|
|
125
|
+
],
|
|
126
|
+
sideSizes: { ABSide, ACSide, BCSide },
|
|
127
|
+
originX,
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
exports.volumeOfPyramidWithTriangleBase = {
|
|
131
|
+
id: "volumeOfPyramidWithTriangleBase",
|
|
132
|
+
label: "Calcul de volume d'une pyramide à base triangulaire",
|
|
133
|
+
levels: ["2nde"],
|
|
134
|
+
isSingleStep: true,
|
|
135
|
+
sections: ["Géométrie euclidienne"],
|
|
136
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getVolumeOfPyramidWithTriangleBaseQuestion, nb),
|
|
137
|
+
qcmTimer: 60,
|
|
138
|
+
freeTimer: 60,
|
|
139
|
+
getPropositions,
|
|
140
|
+
isAnswerValid,
|
|
141
|
+
hasGeogebra: true,
|
|
142
|
+
subject: "Mathématiques",
|
|
143
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Exercise } from "../../../../exercises/exercise";
|
|
2
|
+
type Identifiers = {
|
|
3
|
+
h: number;
|
|
4
|
+
baseOfPyramidSides: TriangleSides;
|
|
5
|
+
};
|
|
6
|
+
type TriangleSides = {
|
|
7
|
+
ABSide: number;
|
|
8
|
+
ACSide: number;
|
|
9
|
+
BCSide: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const volumeOfPyramid: Exercise<Identifiers>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=volumeOfPyramidWithTriangleRectBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volumeOfPyramidWithTriangleRectBase.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/volumes/volumeOfPyramidWithTriangleRectBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,kBAAkB,EAAE,aAAa,CAAC;CACnC,CAAC;AAQF,KAAK,aAAa,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AA0JxE,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAejD,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.volumeOfPyramid = void 0;
|
|
4
|
+
const exercise_1 = require("../../../../exercises/exercise");
|
|
5
|
+
const getDistinctQuestions_1 = require("../../../../exercises/utils/getDistinctQuestions");
|
|
6
|
+
const geogebraConstructor_1 = require("../../../../geogebra/geogebraConstructor");
|
|
7
|
+
const rational_1 = require("../../../../math/numbers/rationals/rational");
|
|
8
|
+
const randint_1 = require("../../../../math/utils/random/randint");
|
|
9
|
+
const numberNode_1 = require("../../../../tree/nodes/numbers/numberNode");
|
|
10
|
+
const fractionNode_1 = require("../../../../tree/nodes/operators/fractionNode");
|
|
11
|
+
const multiplyNode_1 = require("../../../../tree/nodes/operators/multiplyNode");
|
|
12
|
+
const random_1 = require("../../../../utils/random");
|
|
13
|
+
const pythagoreTriplet = [
|
|
14
|
+
[3, 4, 5],
|
|
15
|
+
[5, 12, 13],
|
|
16
|
+
[8, 15, 17],
|
|
17
|
+
[7, 24, 25],
|
|
18
|
+
[20, 21, 29],
|
|
19
|
+
[12, 35, 37],
|
|
20
|
+
[9, 40, 41],
|
|
21
|
+
[28, 45, 53],
|
|
22
|
+
[11, 60, 61],
|
|
23
|
+
[16, 63, 65],
|
|
24
|
+
];
|
|
25
|
+
const getVolumeOfPyramidWithTriangleRectBase = () => {
|
|
26
|
+
const exercise = generateExercise();
|
|
27
|
+
const commands = exercise.commands;
|
|
28
|
+
const baseOfPyramidSides = exercise.baseOfPyramidSides;
|
|
29
|
+
const volume = calculateVolume(baseOfPyramidSides, exercise.h);
|
|
30
|
+
const ggb = new geogebraConstructor_1.GeogebraConstructor(commands, {
|
|
31
|
+
hideAxes: true,
|
|
32
|
+
hideGrid: true,
|
|
33
|
+
is3D: true,
|
|
34
|
+
});
|
|
35
|
+
const maxCoord = Math.max(baseOfPyramidSides.ABSide, baseOfPyramidSides.ACSide);
|
|
36
|
+
const question = {
|
|
37
|
+
answer: volume.simplify().toTex(),
|
|
38
|
+
instruction: `$ABCH$ est une pyramide à base triangulaire de hauteur $${exercise.h}$.
|
|
39
|
+
Calculer le volume de la pyramide en sachant que : $AB=${baseOfPyramidSides.ABSide}$, $AC=${baseOfPyramidSides.ACSide}$, $BC=${baseOfPyramidSides.BCSide}$ et $(AC)\\perp(AB)$.`,
|
|
40
|
+
keys: [],
|
|
41
|
+
answerFormat: "tex",
|
|
42
|
+
commands: ggb.commands,
|
|
43
|
+
options: ggb.getOptions(),
|
|
44
|
+
coords: [-2, maxCoord + 1, -2, maxCoord + 1, -2, exercise.h + 1],
|
|
45
|
+
identifiers: { h: exercise.h, baseOfPyramidSides },
|
|
46
|
+
};
|
|
47
|
+
return question;
|
|
48
|
+
};
|
|
49
|
+
const getPropositions = (n, { answer, baseOfPyramidSides, h }) => {
|
|
50
|
+
const propositions = [];
|
|
51
|
+
(0, exercise_1.addValidProp)(propositions, answer);
|
|
52
|
+
generatePropositions(baseOfPyramidSides, h).forEach((value) => (0, exercise_1.tryToAddWrongProp)(propositions, value));
|
|
53
|
+
const volume = calculateVolume(baseOfPyramidSides, h).simplify();
|
|
54
|
+
let random;
|
|
55
|
+
while (propositions.length < n) {
|
|
56
|
+
random = (0, numberNode_1.isNumberNode)(volume)
|
|
57
|
+
? (0, randint_1.randint)(volume.value - 5, volume.value + 5, [volume.value]).toTree()
|
|
58
|
+
: rational_1.RationalConstructor.randomIrreductible();
|
|
59
|
+
(0, exercise_1.tryToAddWrongProp)(propositions, random.toTex());
|
|
60
|
+
}
|
|
61
|
+
return (0, exercise_1.shuffleProps)(propositions, n);
|
|
62
|
+
};
|
|
63
|
+
const isAnswerValid = (ans, { h, baseOfPyramidSides }) => {
|
|
64
|
+
const volume = calculateVolume(baseOfPyramidSides, h);
|
|
65
|
+
return volume
|
|
66
|
+
.simplify()
|
|
67
|
+
.toAllValidTexs({ allowFractionToDecimal: true })
|
|
68
|
+
.includes(ans);
|
|
69
|
+
};
|
|
70
|
+
const generatePropositions = (baseOfPyramidSides, h) => {
|
|
71
|
+
const firstProposition = new fractionNode_1.FractionNode((baseOfPyramidSides.ABSide +
|
|
72
|
+
baseOfPyramidSides.ACSide +
|
|
73
|
+
baseOfPyramidSides.BCSide).toTree(), (3).toTree())
|
|
74
|
+
.simplify()
|
|
75
|
+
.toTex();
|
|
76
|
+
const secondProposition = new fractionNode_1.FractionNode((baseOfPyramidSides.ABSide * baseOfPyramidSides.ACSide).toTree(), (2).toTree())
|
|
77
|
+
.simplify()
|
|
78
|
+
.toTex();
|
|
79
|
+
return [firstProposition, secondProposition];
|
|
80
|
+
};
|
|
81
|
+
const generateExercise = () => {
|
|
82
|
+
const h = (0, randint_1.randint)(1, 11);
|
|
83
|
+
const base = generatePolygonWithGgbCmnds();
|
|
84
|
+
const commands = base.commands.concat([
|
|
85
|
+
`H=Point({${base.sideSizes.ABSide / 4},${base.sideSizes.ACSide / 4},${h}})`,
|
|
86
|
+
`SetFixed(H,true)`,
|
|
87
|
+
`ShowLabel(H,true)`,
|
|
88
|
+
`Pyra=Pyramid(Poly,H)`,
|
|
89
|
+
]);
|
|
90
|
+
return {
|
|
91
|
+
commands,
|
|
92
|
+
h,
|
|
93
|
+
baseOfPyramidSides: base.sideSizes,
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
const calculateVolume = (sideSize, h) => {
|
|
97
|
+
return new fractionNode_1.FractionNode(new multiplyNode_1.MultiplyNode(new fractionNode_1.FractionNode((sideSize.ABSide * sideSize.ACSide).toTree(), (2).toTree()), h.toTree()), (3).toTree());
|
|
98
|
+
};
|
|
99
|
+
const generatePolygonWithGgbCmnds = () => {
|
|
100
|
+
const values = (0, random_1.random)(pythagoreTriplet);
|
|
101
|
+
const ABSide = values[0];
|
|
102
|
+
const ACSide = values[1];
|
|
103
|
+
return {
|
|
104
|
+
commands: [
|
|
105
|
+
`A=Point({0,0,0})`,
|
|
106
|
+
`B=Point({${ABSide},0,0})`,
|
|
107
|
+
`C=Point({0,${ACSide},0})`,
|
|
108
|
+
`ang=Angle(C,A,B)`,
|
|
109
|
+
`ShowLabel(ang,false)`,
|
|
110
|
+
`ShowLabel(A,True)`,
|
|
111
|
+
`ShowLabel(B,True)`,
|
|
112
|
+
`ShowLabel(C,True)`,
|
|
113
|
+
`SetFixed(A,true)`,
|
|
114
|
+
`SetFixed(B,true)`,
|
|
115
|
+
`SetFixed(C,true)`,
|
|
116
|
+
`Poly=Polygon(A,B,C)`,
|
|
117
|
+
],
|
|
118
|
+
sideSizes: { ABSide, ACSide, BCSide: values[2] },
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
exports.volumeOfPyramid = {
|
|
122
|
+
id: "volumeOfPyramidWithTriangleRectBase",
|
|
123
|
+
label: "Calcul du volume d'une pyramide dont la base est un triangle rectangle",
|
|
124
|
+
levels: ["2nde"],
|
|
125
|
+
isSingleStep: true,
|
|
126
|
+
sections: ["Géométrie euclidienne"],
|
|
127
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getVolumeOfPyramidWithTriangleRectBase, nb),
|
|
128
|
+
qcmTimer: 60,
|
|
129
|
+
freeTimer: 60,
|
|
130
|
+
getPropositions,
|
|
131
|
+
isAnswerValid,
|
|
132
|
+
hasGeogebra: true,
|
|
133
|
+
subject: "Mathématiques",
|
|
134
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/math/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/math/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/suites/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./sequenceEvaluation"), exports);
|
|
18
|
+
__exportStar(require("./sequencePlot"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Exercise } from "../../../exercises/exercise";
|
|
2
|
+
type Identifiers = {
|
|
3
|
+
termeid: number;
|
|
4
|
+
affine: number[];
|
|
5
|
+
termeAdd: number;
|
|
6
|
+
termeMult: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const sequenceEvaluation: Exercise<Identifiers>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=sequenceEvaluation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sequenceEvaluation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/suites/sequenceEvaluation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAYlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAoLF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAapD,CAAC"}
|