math-exercises 1.3.11 → 1.3.13
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/README.md +73 -73
- package/lib/exercises/calcul/addAndSub.d.ts +6 -6
- package/lib/exercises/calcul/addAndSub.js +39 -39
- package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.d.ts +3 -3
- package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.js +35 -35
- package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.d.ts +3 -3
- package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.js +32 -32
- package/lib/exercises/calcul/fractions/fractionAndIntegerSum.d.ts +3 -3
- package/lib/exercises/calcul/fractions/fractionAndIntegerSum.js +32 -32
- package/lib/exercises/calcul/fractions/fractionsDivision.d.ts +3 -3
- package/lib/exercises/calcul/fractions/fractionsDivision.js +29 -29
- package/lib/exercises/calcul/fractions/fractionsProduct.d.ts +3 -3
- package/lib/exercises/calcul/fractions/fractionsProduct.js +28 -28
- package/lib/exercises/calcul/fractions/fractionsSum.d.ts +3 -3
- package/lib/exercises/calcul/fractions/fractionsSum.js +28 -28
- package/lib/exercises/calcul/fractions/simplifyFraction.d.ts +3 -3
- package/lib/exercises/calcul/fractions/simplifyFraction.js +24 -24
- package/lib/exercises/calcul/operations/operationsPriorities.d.ts +10 -10
- package/lib/exercises/calcul/operations/operationsPriorities.js +98 -98
- package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.js +111 -111
- package/lib/exercises/calcul/operationsPriorities.js +88 -88
- package/lib/exercises/calcul/rounding/rounding.d.ts +19 -19
- package/lib/exercises/calcul/rounding/rounding.js +85 -85
- package/lib/exercises/calculLitteral/distributivity/allIdentities.d.ts +3 -3
- package/lib/exercises/calculLitteral/distributivity/allIdentities.js +27 -27
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts +3 -3
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.js +30 -30
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts +3 -3
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.js +31 -31
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts +3 -3
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.js +32 -32
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts +3 -3
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.js +32 -32
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts +3 -3
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.js +31 -31
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts +6 -6
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.js +37 -37
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts +6 -6
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.js +40 -40
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts +6 -6
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.js +41 -41
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts +6 -6
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.js +43 -43
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts +4 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.js +32 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts +4 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.js +33 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts +4 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -0
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.js +32 -0
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts +6 -6
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.js +38 -38
- package/lib/exercises/derivation/derivative/affineDerivative.d.ts +4 -0
- package/lib/exercises/derivation/derivative/affineDerivative.d.ts.map +1 -0
- package/lib/exercises/derivation/derivative/affineDerivative.js +27 -0
- package/lib/exercises/derivation/derivative/secondDegreeDerivative.d.ts +1 -0
- package/lib/exercises/derivation/derivative/secondDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/derivation/derivative/secondDegreeDerivative.js +28 -0
- package/lib/exercises/derivation/derivative/thridDegreeDerivative.d.ts +1 -0
- package/lib/exercises/derivation/derivative/thridDegreeDerivative.d.ts.map +1 -0
- package/lib/exercises/derivation/derivative/thridDegreeDerivative.js +1 -0
- package/lib/exercises/exercise.d.ts +16 -16
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/exercise.js +7 -7
- package/lib/exercises/exercises.d.ts +1 -1
- package/lib/exercises/exercises.d.ts.map +1 -1
- package/lib/exercises/exercises.js +113 -107
- package/lib/exercises/geometry/cartesian/midpoint.d.ts +3 -3
- package/lib/exercises/geometry/cartesian/midpoint.js +29 -29
- package/lib/exercises/geometry/vectors/scalarProductViaCoords.d.ts +3 -3
- package/lib/exercises/geometry/vectors/scalarProductViaCoords.js +28 -28
- package/lib/exercises/geometry/vectors/scalarProductViaNorms.js +27 -27
- package/lib/exercises/powers/powersDivision.d.ts +7 -7
- package/lib/exercises/powers/powersDivision.js +44 -44
- package/lib/exercises/powers/powersOfTenToDecimal.d.ts +6 -6
- package/lib/exercises/powers/powersOfTenToDecimal.js +32 -32
- package/lib/exercises/powers/powersPower.d.ts +7 -7
- package/lib/exercises/powers/powersPower.js +43 -43
- package/lib/exercises/powers/powersProduct.d.ts +7 -7
- package/lib/exercises/powers/powersProduct.js +44 -44
- package/lib/exercises/powers/scientificToDecimal.d.ts +6 -6
- package/lib/exercises/powers/scientificToDecimal.js +37 -37
- package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.d.ts +3 -3
- package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.js +34 -34
- package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.d.ts +3 -3
- package/lib/exercises/sequences/geometric/geometricFindExplicitFormula.js +33 -33
- package/lib/exercises/sequences/geometric/geometricFindReason.d.ts +3 -3
- package/lib/exercises/sequences/geometric/geometricFindReason.js +29 -29
- package/lib/exercises/sequences/geometric/geometricReasonUsage.d.ts +3 -3
- package/lib/exercises/sequences/geometric/geometricReasonUsage.js +28 -28
- package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.d.ts +7 -7
- package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.js +28 -28
- package/lib/exercises/squareRoots/simpifySquareRoot.d.ts +3 -3
- package/lib/exercises/squareRoots/simpifySquareRoot.js +27 -27
- package/lib/exercises/trigonometry/mainRemarkableValues.d.ts +3 -3
- package/lib/exercises/trigonometry/mainRemarkableValues.js +28 -28
- package/lib/exercises/trigonometry/remarkableValues.d.ts +3 -3
- package/lib/exercises/trigonometry/remarkableValues.js +28 -28
- package/lib/exercises/utils/getDistinctQuestions.d.ts +2 -2
- package/lib/exercises/utils/getDistinctQuestions.js +15 -15
- package/lib/geometry/point.js +27 -27
- package/lib/geometry/vector.js +31 -31
- package/lib/index.d.ts +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +39 -6
- package/lib/math/geometry/point.d.ts +12 -12
- package/lib/math/geometry/point.js +27 -27
- package/lib/math/geometry/vector.d.ts +15 -15
- package/lib/math/geometry/vector.js +31 -31
- package/lib/math/numbers/decimals/decimal.d.ts +24 -24
- package/lib/math/numbers/decimals/decimal.js +140 -140
- package/lib/math/numbers/epsilon.d.ts +1 -1
- package/lib/math/numbers/epsilon.js +10 -10
- package/lib/math/numbers/integer/integer.d.ts +14 -14
- package/lib/math/numbers/integer/integer.js +68 -68
- package/lib/math/numbers/integer/power.d.ts +13 -13
- package/lib/math/numbers/integer/power.js +52 -52
- package/lib/math/numbers/nombre.d.ts +13 -13
- package/lib/math/numbers/nombre.js +10 -10
- package/lib/math/numbers/rationals/rational.d.ts +25 -25
- package/lib/math/numbers/rationals/rational.js +113 -113
- package/lib/math/numbers/reals/real.d.ts +9 -9
- package/lib/math/numbers/reals/real.js +16 -16
- package/lib/math/numbers/reals/squareRoot.d.ts +18 -18
- package/lib/math/numbers/reals/squareRoot.js +63 -63
- package/lib/math/polynomials/affine.d.ts +15 -15
- package/lib/math/polynomials/affine.js +42 -42
- package/lib/math/polynomials/polynomial.d.ts +25 -24
- package/lib/math/polynomials/polynomial.d.ts.map +1 -1
- package/lib/math/polynomials/polynomial.js +129 -125
- package/lib/math/sequences/arithmeticSequence.js +1 -1
- package/lib/math/sequences/geometricSequence.d.ts +3 -3
- package/lib/math/sequences/geometricSequence.js +8 -8
- package/lib/math/sequences/sequence.d.ts +22 -22
- package/lib/math/sequences/sequence.js +21 -21
- package/lib/math/sets/discreteSet.d.ts +10 -10
- package/lib/math/sets/discreteSet.js +28 -28
- package/lib/math/sets/emptySet.js +6 -6
- package/lib/math/sets/intervals/intervals.d.ts +26 -26
- package/lib/math/sets/intervals/intervals.js +104 -104
- package/lib/math/sets/mathSet.d.ts +7 -7
- package/lib/math/sets/mathSet.js +10 -10
- package/lib/math/sets/mathSetInterface.d.ts +5 -5
- package/lib/math/sets/mathSetInterface.js +2 -2
- package/lib/math/trigonometry/remarkableValue.d.ts +10 -10
- package/lib/math/trigonometry/remarkableValue.js +29 -29
- package/lib/math/trigonometry/remarkableValues.d.ts +2 -2
- package/lib/math/trigonometry/remarkableValues.js +51 -51
- package/lib/math/utils/arithmetic/coprimesOf.d.ts +1 -1
- package/lib/math/utils/arithmetic/coprimesOf.js +13 -13
- package/lib/math/utils/arithmetic/dividersOf.d.ts +1 -1
- package/lib/math/utils/arithmetic/dividersOf.js +12 -12
- package/lib/math/utils/arithmetic/gcd.d.ts +1 -1
- package/lib/math/utils/arithmetic/gcd.js +7 -7
- package/lib/math/utils/arithmetic/isSquare.d.ts +1 -1
- package/lib/math/utils/arithmetic/isSquare.js +7 -7
- package/lib/math/utils/arithmetic/lcd.d.ts +1 -1
- package/lib/math/utils/arithmetic/lcd.js +12 -12
- package/lib/math/utils/arithmetic/nonCoprimesOf.d.ts +1 -1
- package/lib/math/utils/arithmetic/nonCoprimesOf.js +13 -13
- package/lib/math/utils/arithmetic/nonDividersOf.d.ts +1 -1
- package/lib/math/utils/arithmetic/nonDividersOf.js +14 -14
- package/lib/math/utils/arithmetic/primeFactors.d.ts +5 -5
- package/lib/math/utils/arithmetic/primeFactors.js +22 -22
- package/lib/math/utils/decimals/decimalPartLengthOf.d.ts +1 -1
- package/lib/math/utils/decimals/decimalPartLengthOf.js +14 -14
- package/lib/math/utils/random/randTupleInt.d.ts +13 -13
- package/lib/math/utils/random/randTupleInt.js +30 -30
- package/lib/math/utils/random/randint.d.ts +4 -4
- package/lib/math/utils/random/randint.js +18 -18
- package/lib/math/utils/round.d.ts +1 -1
- package/lib/math/utils/round.js +8 -8
- package/lib/mathutils/arithmetic/coprimesOf.js +13 -13
- package/lib/mathutils/arithmetic/dividersOf.js +12 -12
- package/lib/mathutils/arithmetic/gcd.js +7 -7
- package/lib/mathutils/arithmetic/isSquare.js +7 -7
- package/lib/mathutils/arithmetic/lcd.js +12 -12
- package/lib/mathutils/arithmetic/nonCoprimesOf.js +13 -13
- package/lib/mathutils/arithmetic/nonDividersOf.js +14 -14
- package/lib/mathutils/arithmetic/primeFactors.js +22 -22
- package/lib/mathutils/decimals/decimalPartLengthOf.js +14 -14
- package/lib/mathutils/random/randTupleInt.js +30 -30
- package/lib/mathutils/random/randint.js +18 -18
- package/lib/mathutils/round.js +8 -8
- package/lib/numbers/decimals/decimal.js +140 -140
- package/lib/numbers/epsilon.js +10 -10
- package/lib/numbers/integer/integer.js +68 -68
- package/lib/numbers/integer/power.js +52 -52
- package/lib/numbers/nombre.js +10 -10
- package/lib/numbers/rationals/rational.js +113 -113
- package/lib/numbers/reals/real.js +16 -16
- package/lib/numbers/reals/squareRoot.js +63 -63
- package/lib/polynomials/affine.js +42 -42
- package/lib/polynomials/polynomial.js +125 -125
- package/lib/server.d.ts +2 -0
- package/lib/server.d.ts.map +1 -0
- package/lib/server.js +33 -0
- package/lib/sets/discreteSet.js +28 -28
- package/lib/sets/emptySet.js +6 -6
- package/lib/sets/intervals/intervals.js +108 -104
- package/lib/sets/intervals/union.js +1 -1
- package/lib/sets/mathSet.js +10 -10
- package/lib/sets/mathSetInterface.js +2 -2
- package/lib/tree/nodes/functions/cosNode.d.ts +9 -9
- package/lib/tree/nodes/functions/cosNode.js +21 -21
- package/lib/tree/nodes/functions/functionNode.d.ts +14 -14
- package/lib/tree/nodes/functions/functionNode.js +20 -20
- package/lib/tree/nodes/functions/oppositeNode.d.ts +7 -7
- package/lib/tree/nodes/functions/oppositeNode.js +26 -26
- package/lib/tree/nodes/functions/sinNode.js +1 -1
- package/lib/tree/nodes/functions/sqrtNode.d.ts +8 -8
- package/lib/tree/nodes/functions/sqrtNode.js +18 -18
- package/lib/tree/nodes/node.d.ts +12 -12
- package/lib/tree/nodes/node.js +11 -11
- package/lib/tree/nodes/numbers/constantNode.d.ts +9 -9
- package/lib/tree/nodes/numbers/constantNode.js +18 -18
- package/lib/tree/nodes/numbers/numberNode.d.ts +10 -10
- package/lib/tree/nodes/numbers/numberNode.js +19 -19
- package/lib/tree/nodes/numbers/piNode.d.ts +2 -2
- package/lib/tree/nodes/numbers/piNode.js +5 -5
- package/lib/tree/nodes/operators/addNode.d.ts +7 -7
- package/lib/tree/nodes/operators/addNode.js +19 -19
- package/lib/tree/nodes/operators/divideNode.d.ts +11 -11
- package/lib/tree/nodes/operators/divideNode.js +34 -34
- package/lib/tree/nodes/operators/equalNode.d.ts +7 -7
- package/lib/tree/nodes/operators/equalNode.js +16 -16
- package/lib/tree/nodes/operators/fractionNode.d.ts +11 -11
- package/lib/tree/nodes/operators/fractionNode.js +20 -20
- package/lib/tree/nodes/operators/multiplyNode.d.ts +7 -7
- package/lib/tree/nodes/operators/multiplyNode.js +43 -43
- package/lib/tree/nodes/operators/operatorNode.d.ts +21 -21
- package/lib/tree/nodes/operators/operatorNode.js +35 -35
- package/lib/tree/nodes/operators/powerNode.d.ts +7 -7
- package/lib/tree/nodes/operators/powerNode.js +33 -33
- package/lib/tree/nodes/operators/substractNode.d.ts +7 -7
- package/lib/tree/nodes/operators/substractNode.js +24 -24
- package/lib/tree/nodes/variables/variableNode.d.ts +8 -8
- package/lib/tree/nodes/variables/variableNode.js +19 -19
- package/lib/tree/parsers/derivateParser.js +62 -62
- package/lib/tree/parsers/latexParser.js +110 -110
- package/lib/tree/parsers/simplify.d.ts +2 -2
- package/lib/tree/parsers/simplify.js +52 -52
- package/lib/utils/arrayEqual.d.ts +1 -1
- package/lib/utils/arrayEqual.js +13 -13
- package/lib/utils/coin.js +7 -7
- package/lib/utils/coinFlip.d.ts +1 -1
- package/lib/utils/coinFlip.js +7 -7
- package/lib/utils/random.d.ts +1 -1
- package/lib/utils/random.js +7 -7
- package/lib/utils/shuffle.d.ts +1 -1
- package/lib/utils/shuffle.js +15 -15
- package/package.json +50 -45
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq.d.ts +0 -7
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq.d.ts.map +0 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq.js +0 -38
- package/lib/trigonometry/remarkableValue.js +0 -29
- package/lib/trigonometry/remarkableValues.js +0 -51
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFactoType1Question = exports.factoIdRmq1 = void 0;
|
|
4
|
+
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
5
|
+
const integer_1 = require("../../../math/numbers/integer/integer");
|
|
6
|
+
const affine_1 = require("../../../math/polynomials/affine");
|
|
7
|
+
const discreteSet_1 = require("../../../math/sets/discreteSet");
|
|
8
|
+
const intervals_1 = require("../../../math/sets/intervals/intervals");
|
|
9
|
+
const numberNode_1 = require("../../../tree/nodes/numbers/numberNode");
|
|
10
|
+
const powerNode_1 = require("../../../tree/nodes/operators/powerNode");
|
|
11
|
+
exports.factoIdRmq1 = {
|
|
12
|
+
id: 'factoIdRmq1',
|
|
13
|
+
connector: '=',
|
|
14
|
+
instruction: 'Factoriser :',
|
|
15
|
+
isSingleStep: false,
|
|
16
|
+
label: 'Factorisation du type $a^2 + 2ab + b^2$',
|
|
17
|
+
levels: ['3', '2'],
|
|
18
|
+
section: 'Calcul littéral',
|
|
19
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFactoType1Question, nb),
|
|
20
|
+
};
|
|
21
|
+
function getFactoType1Question() {
|
|
22
|
+
const interval = new intervals_1.Interval('[[1; 10]]').difference(new discreteSet_1.DiscreteSet([new integer_1.Integer(0)]));
|
|
23
|
+
const affine = affine_1.AffineConstructor.random(interval, interval);
|
|
24
|
+
const statementTree = affine.multiply(affine).toTree();
|
|
25
|
+
const answerTree = new powerNode_1.PowerNode(affine.toTree(), new numberNode_1.NumberNode(2));
|
|
26
|
+
const question = {
|
|
27
|
+
startStatement: statementTree.toTex(),
|
|
28
|
+
answer: answerTree.toTex(),
|
|
29
|
+
};
|
|
30
|
+
return question;
|
|
31
|
+
}
|
|
32
|
+
exports.getFactoType1Question = getFactoType1Question;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factoIdRmq2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAc9D,eAAO,MAAM,WAAW,EAAE,QASzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAYhD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFactoType1Question = exports.factoIdRmq2 = void 0;
|
|
4
|
+
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
5
|
+
const integer_1 = require("../../../math/numbers/integer/integer");
|
|
6
|
+
const affine_1 = require("../../../math/polynomials/affine");
|
|
7
|
+
const discreteSet_1 = require("../../../math/sets/discreteSet");
|
|
8
|
+
const intervals_1 = require("../../../math/sets/intervals/intervals");
|
|
9
|
+
const numberNode_1 = require("../../../tree/nodes/numbers/numberNode");
|
|
10
|
+
const powerNode_1 = require("../../../tree/nodes/operators/powerNode");
|
|
11
|
+
exports.factoIdRmq2 = {
|
|
12
|
+
id: 'factoIdRmq2',
|
|
13
|
+
connector: '=',
|
|
14
|
+
instruction: 'Factoriser :',
|
|
15
|
+
isSingleStep: false,
|
|
16
|
+
label: 'Factorisation du type $a^2 - 2ab + b^2$',
|
|
17
|
+
levels: ['3', '2'],
|
|
18
|
+
section: 'Calcul littéral',
|
|
19
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFactoType1Question, nb),
|
|
20
|
+
};
|
|
21
|
+
function getFactoType1Question() {
|
|
22
|
+
const intervalA = new intervals_1.Interval('[[0; 10]]').difference(new discreteSet_1.DiscreteSet([new integer_1.Integer(0)]));
|
|
23
|
+
const intervalB = new intervals_1.Interval('[[-10; 0]]').difference(new discreteSet_1.DiscreteSet([new integer_1.Integer(0)]));
|
|
24
|
+
const affine = affine_1.AffineConstructor.random(intervalA, intervalB);
|
|
25
|
+
const statementTree = affine.multiply(affine).toTree();
|
|
26
|
+
const answerTree = new powerNode_1.PowerNode(affine.toTree(), new numberNode_1.NumberNode(2));
|
|
27
|
+
const question = {
|
|
28
|
+
startStatement: statementTree.toTex(),
|
|
29
|
+
answer: answerTree.toTex(),
|
|
30
|
+
};
|
|
31
|
+
return question;
|
|
32
|
+
}
|
|
33
|
+
exports.getFactoType1Question = getFactoType1Question;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAc9D,eAAO,MAAM,WAAW,EAAE,QASzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAYhD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFactoType1Question = exports.factoIdRmq3 = void 0;
|
|
4
|
+
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
5
|
+
const integer_1 = require("../../../math/numbers/integer/integer");
|
|
6
|
+
const affine_1 = require("../../../math/polynomials/affine");
|
|
7
|
+
const discreteSet_1 = require("../../../math/sets/discreteSet");
|
|
8
|
+
const intervals_1 = require("../../../math/sets/intervals/intervals");
|
|
9
|
+
const multiplyNode_1 = require("../../../tree/nodes/operators/multiplyNode");
|
|
10
|
+
exports.factoIdRmq3 = {
|
|
11
|
+
id: 'factoIdRmq3',
|
|
12
|
+
connector: '=',
|
|
13
|
+
instruction: 'Factoriser :',
|
|
14
|
+
isSingleStep: false,
|
|
15
|
+
label: 'Factorisation du type $a^2 - b^2$',
|
|
16
|
+
levels: ['3', '2'],
|
|
17
|
+
section: 'Calcul littéral',
|
|
18
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFactoType1Question, nb),
|
|
19
|
+
};
|
|
20
|
+
function getFactoType1Question() {
|
|
21
|
+
const interval = new intervals_1.Interval('[[-10; 10]]').difference(new discreteSet_1.DiscreteSet([new integer_1.Integer(0)]));
|
|
22
|
+
const affine = affine_1.AffineConstructor.random(interval, interval);
|
|
23
|
+
const affine2 = new affine_1.Affine(affine.a, -affine.b);
|
|
24
|
+
const statementTree = affine.multiply(affine2).toTree();
|
|
25
|
+
const answerTree = new multiplyNode_1.MultiplyNode(affine.toTree(), affine2.toTree());
|
|
26
|
+
const question = {
|
|
27
|
+
startStatement: statementTree.toTex(),
|
|
28
|
+
answer: answerTree.toTex(),
|
|
29
|
+
};
|
|
30
|
+
return question;
|
|
31
|
+
}
|
|
32
|
+
exports.getFactoType1Question = getFactoType1Question;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* type (ax+b)(cx+d) ± (ax+b)(ex+f)
|
|
3
|
-
*/
|
|
4
|
-
import { Exercise, Question } from '../../../exercises/exercise';
|
|
5
|
-
export declare const factoType1Exercise: Exercise;
|
|
6
|
-
export declare function getFactoType1Question(): Question;
|
|
1
|
+
/**
|
|
2
|
+
* type (ax+b)(cx+d) ± (ax+b)(ex+f)
|
|
3
|
+
*/
|
|
4
|
+
import { Exercise, Question } from '../../../exercises/exercise';
|
|
5
|
+
export declare const factoType1Exercise: Exercise;
|
|
6
|
+
export declare function getFactoType1Question(): Question;
|
|
7
7
|
//# sourceMappingURL=factoType1Exercise.d.ts.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* type (ax+b)(cx+d) ± (ax+b)(ex+f)
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getFactoType1Question = exports.factoType1Exercise = void 0;
|
|
7
|
-
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
8
|
-
const affine_1 = require("../../../math/polynomials/affine");
|
|
9
|
-
const addNode_1 = require("../../../tree/nodes/operators/addNode");
|
|
10
|
-
const multiplyNode_1 = require("../../../tree/nodes/operators/multiplyNode");
|
|
11
|
-
const substractNode_1 = require("../../../tree/nodes/operators/substractNode");
|
|
12
|
-
const random_1 = require("../../../utils/random");
|
|
13
|
-
const shuffle_1 = require("../../../utils/shuffle");
|
|
14
|
-
exports.factoType1Exercise = {
|
|
15
|
-
id: 'facto1',
|
|
16
|
-
connector: '=',
|
|
17
|
-
instruction: 'Factoriser :',
|
|
18
|
-
isSingleStep: false,
|
|
19
|
-
label: 'Factorisation du type $(ax+b)(cx+d) \\pm (ax+b)(ex+f)$',
|
|
20
|
-
levels: ['3', '2'],
|
|
21
|
-
section: 'Calcul littéral',
|
|
22
|
-
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFactoType1Question, nb),
|
|
23
|
-
};
|
|
24
|
-
function getFactoType1Question() {
|
|
25
|
-
const affines = affine_1.AffineConstructor.differentRandoms(3);
|
|
26
|
-
const permut = [(0, shuffle_1.shuffle)([affines[0], affines[1]]), (0, shuffle_1.shuffle)([affines[0], affines[2]])];
|
|
27
|
-
const operation = (0, random_1.random)(['add', 'substract']);
|
|
28
|
-
const statementTree = operation === 'add'
|
|
29
|
-
? new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(permut[0][0].toTree(), permut[0][1].toTree()), new multiplyNode_1.MultiplyNode(permut[1][0].toTree(), permut[1][1].toTree()))
|
|
30
|
-
: new substractNode_1.SubstractNode(new multiplyNode_1.MultiplyNode(permut[0][0].toTree(), permut[0][1].toTree()), new multiplyNode_1.MultiplyNode(permut[1][0].toTree(), permut[1][1].toTree()));
|
|
31
|
-
const answerTree = new multiplyNode_1.MultiplyNode(affines[0].toTree(), affines[1].add(operation === 'add' ? affines[2] : affines[2].opposite()).toTree());
|
|
32
|
-
const question = {
|
|
33
|
-
startStatement: statementTree.toTex(),
|
|
34
|
-
answer: answerTree.toTex(),
|
|
35
|
-
};
|
|
36
|
-
return question;
|
|
37
|
-
}
|
|
38
|
-
exports.getFactoType1Question = getFactoType1Question;
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* type (ax+b)(cx+d) ± (ax+b)(ex+f)
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getFactoType1Question = exports.factoType1Exercise = void 0;
|
|
7
|
+
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
8
|
+
const affine_1 = require("../../../math/polynomials/affine");
|
|
9
|
+
const addNode_1 = require("../../../tree/nodes/operators/addNode");
|
|
10
|
+
const multiplyNode_1 = require("../../../tree/nodes/operators/multiplyNode");
|
|
11
|
+
const substractNode_1 = require("../../../tree/nodes/operators/substractNode");
|
|
12
|
+
const random_1 = require("../../../utils/random");
|
|
13
|
+
const shuffle_1 = require("../../../utils/shuffle");
|
|
14
|
+
exports.factoType1Exercise = {
|
|
15
|
+
id: 'facto1',
|
|
16
|
+
connector: '=',
|
|
17
|
+
instruction: 'Factoriser :',
|
|
18
|
+
isSingleStep: false,
|
|
19
|
+
label: 'Factorisation du type $(ax+b)(cx+d) \\pm (ax+b)(ex+f)$',
|
|
20
|
+
levels: ['3', '2'],
|
|
21
|
+
section: 'Calcul littéral',
|
|
22
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getFactoType1Question, nb),
|
|
23
|
+
};
|
|
24
|
+
function getFactoType1Question() {
|
|
25
|
+
const affines = affine_1.AffineConstructor.differentRandoms(3);
|
|
26
|
+
const permut = [(0, shuffle_1.shuffle)([affines[0], affines[1]]), (0, shuffle_1.shuffle)([affines[0], affines[2]])];
|
|
27
|
+
const operation = (0, random_1.random)(['add', 'substract']);
|
|
28
|
+
const statementTree = operation === 'add'
|
|
29
|
+
? new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(permut[0][0].toTree(), permut[0][1].toTree()), new multiplyNode_1.MultiplyNode(permut[1][0].toTree(), permut[1][1].toTree()))
|
|
30
|
+
: new substractNode_1.SubstractNode(new multiplyNode_1.MultiplyNode(permut[0][0].toTree(), permut[0][1].toTree()), new multiplyNode_1.MultiplyNode(permut[1][0].toTree(), permut[1][1].toTree()));
|
|
31
|
+
const answerTree = new multiplyNode_1.MultiplyNode(affines[0].toTree(), affines[1].add(operation === 'add' ? affines[2] : affines[2].opposite()).toTree());
|
|
32
|
+
const question = {
|
|
33
|
+
startStatement: statementTree.toTex(),
|
|
34
|
+
answer: answerTree.toTex(),
|
|
35
|
+
};
|
|
36
|
+
return question;
|
|
37
|
+
}
|
|
38
|
+
exports.getFactoType1Question = getFactoType1Question;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"affineDerivative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/affineDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAQ9D,eAAO,MAAM,gBAAgB,EAAE,QAS9B,CAAC;AAEF,wBAAgB,2BAA2B,IAAI,QAAQ,CAUtD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAffineDerivativeQuestion = exports.affineDerivative = void 0;
|
|
4
|
+
const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
|
|
5
|
+
const affine_1 = require("../../../math/polynomials/affine");
|
|
6
|
+
const randint_1 = require("../../../math/utils/random/randint");
|
|
7
|
+
exports.affineDerivative = {
|
|
8
|
+
id: 'affineDerivative',
|
|
9
|
+
connector: '=',
|
|
10
|
+
instruction: '',
|
|
11
|
+
isSingleStep: false,
|
|
12
|
+
label: "Calculer la dérivée d'une fonction affine",
|
|
13
|
+
levels: ['1, 0'],
|
|
14
|
+
section: 'Dérivation',
|
|
15
|
+
generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getAffineDerivativeQuestion, nb),
|
|
16
|
+
};
|
|
17
|
+
function getAffineDerivativeQuestion() {
|
|
18
|
+
const a = (0, randint_1.randint)(-20, 20, [0]);
|
|
19
|
+
const b = (0, randint_1.randint)(-20, 20);
|
|
20
|
+
const affine = new affine_1.Affine(a, b);
|
|
21
|
+
return {
|
|
22
|
+
instruction: `Soit $f(x) = ${affine.toTex()}$. Déterminer la fonction dérivée $f'$ de $f$.`,
|
|
23
|
+
startStatement: `f'(x)`,
|
|
24
|
+
answer: a.toString(),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.getAffineDerivativeQuestion = getAffineDerivativeQuestion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=secondDegreeDerivative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secondDegreeDerivative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/secondDegreeDerivative.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import { Exercise, Question } from '../../../exercises/exercise';
|
|
3
|
+
// import { getDistinctQuestions } from '../../../exercises/utils/getDistinctQuestions';
|
|
4
|
+
// import { Vector } from '../../../math/geometry/vector';
|
|
5
|
+
// import { Affine, AffineConstructor } from '../../../math/polynomials/affine';
|
|
6
|
+
// import { Polynomial } from '../../../math/polynomials/polynomial';
|
|
7
|
+
// import { randint } from '../../../math/utils/random/randint';
|
|
8
|
+
// import { distinctRandTupleInt } from '../../../math/utils/random/randTupleInt';
|
|
9
|
+
// import { NumberNode } from '../../../tree/nodes/numbers/numberNode';
|
|
10
|
+
// export const secondDegreeDerivative: Exercise = {
|
|
11
|
+
// id: 'secondDegreeDerivative',
|
|
12
|
+
// connector: '=',
|
|
13
|
+
// instruction: '',
|
|
14
|
+
// isSingleStep: false,
|
|
15
|
+
// label: "Calculer la dérivée d'une fonction du second degré",
|
|
16
|
+
// levels: ['1, 0'],
|
|
17
|
+
// section: 'Dérivation',
|
|
18
|
+
// generator: (nb: number) => getDistinctQuestions(getSecondDegreeDerivativeQuestion, nb),
|
|
19
|
+
// };
|
|
20
|
+
// export function getSecondDegreeDerivativeQuestion(): Question {
|
|
21
|
+
// const polynom = new Polynomial([randint(-20, 20, [0]), randint(-20, 20), randint(-20, 20)]);
|
|
22
|
+
// const answer = polynom.derivate();
|
|
23
|
+
// return {
|
|
24
|
+
// instruction: `Soit $f(x) = ${polynom.toTex()}$. Déterminer la fonction dérivée $f'$ de $f$.`,
|
|
25
|
+
// startStatement: `$f'(x)$`,
|
|
26
|
+
// answer: a.toString(),
|
|
27
|
+
// };
|
|
28
|
+
// }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=thridDegreeDerivative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thridDegreeDerivative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/thridDegreeDerivative.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export type GeneratorOptions = {};
|
|
2
|
-
export interface Question {
|
|
3
|
-
instruction?: string;
|
|
4
|
-
startStatement?: string;
|
|
5
|
-
answer: string;
|
|
6
|
-
}
|
|
7
|
-
export interface Exercise {
|
|
8
|
-
id: string;
|
|
9
|
-
instruction: string;
|
|
10
|
-
isSingleStep: boolean;
|
|
11
|
-
label: string;
|
|
12
|
-
section: string;
|
|
13
|
-
levels: string[];
|
|
14
|
-
connector: string;
|
|
15
|
-
generator(nb: number, options
|
|
16
|
-
}
|
|
1
|
+
export type GeneratorOptions = {};
|
|
2
|
+
export interface Question {
|
|
3
|
+
instruction?: string;
|
|
4
|
+
startStatement?: string;
|
|
5
|
+
answer: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Exercise {
|
|
8
|
+
id: string;
|
|
9
|
+
instruction: string;
|
|
10
|
+
isSingleStep: boolean;
|
|
11
|
+
label: string;
|
|
12
|
+
section: string;
|
|
13
|
+
levels: string[];
|
|
14
|
+
connector: string;
|
|
15
|
+
generator(nb: number, options?: GeneratorOptions): Question[];
|
|
16
|
+
}
|
|
17
17
|
//# sourceMappingURL=exercise.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,QAAQ,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,QAAQ,EAAE,CAAC;CAC/D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// export enum Connector {
|
|
3
|
-
// equal = "=",
|
|
4
|
-
// equiv = "\\iff",
|
|
5
|
-
// implies = "\\Rightarrow",
|
|
6
|
-
// }
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
// export enum Connector {
|
|
3
|
+
// equal = "=",
|
|
4
|
+
// equiv = "\\iff",
|
|
5
|
+
// implies = "\\Rightarrow",
|
|
6
|
+
// }
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const exercises: import("./exercise").Exercise[];
|
|
1
|
+
export declare const exercises: import("./exercise").Exercise[];
|
|
2
2
|
//# sourceMappingURL=exercises.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exercises.d.ts","sourceRoot":"","sources":["../../src/exercises/exercises.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exercises.d.ts","sourceRoot":"","sources":["../../src/exercises/exercises.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,SAAS,iCAgFrB,CAAC"}
|
|
@@ -1,107 +1,113 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.exercises = void 0;
|
|
4
|
-
const addAndSub_1 = require("./calcul/addAndSub");
|
|
5
|
-
const fractionAndIntegerDivision_1 = require("./calcul/fractions/fractionAndIntegerDivision");
|
|
6
|
-
const fractionAndIntegerProduct_1 = require("./calcul/fractions/fractionAndIntegerProduct");
|
|
7
|
-
const fractionAndIntegerSum_1 = require("./calcul/fractions/fractionAndIntegerSum");
|
|
8
|
-
const fractionsDivision_1 = require("./calcul/fractions/fractionsDivision");
|
|
9
|
-
const fractionsProduct_1 = require("./calcul/fractions/fractionsProduct");
|
|
10
|
-
const fractionsSum_1 = require("./calcul/fractions/fractionsSum");
|
|
11
|
-
const simplifyFraction_1 = require("./calcul/fractions/simplifyFraction");
|
|
12
|
-
const operationsPriorities_1 = require("./calcul/operations/operationsPriorities");
|
|
13
|
-
const rounding_1 = require("./calcul/rounding/rounding");
|
|
14
|
-
const allIdentities_1 = require("./calculLitteral/distributivity/allIdentities");
|
|
15
|
-
const doubleDistributivity_1 = require("./calculLitteral/distributivity/doubleDistributivity");
|
|
16
|
-
const firstIdentity_1 = require("./calculLitteral/distributivity/firstIdentity");
|
|
17
|
-
const secondIdentity_1 = require("./calculLitteral/distributivity/secondIdentity");
|
|
18
|
-
const simpleDistributivity_1 = require("./calculLitteral/distributivity/simpleDistributivity");
|
|
19
|
-
const thirdIdentity_1 = require("./calculLitteral/distributivity/thirdIdentity");
|
|
20
|
-
const equationType1Exercise_1 = require("./calculLitteral/equation/equationType1Exercise");
|
|
21
|
-
const equationType2Exercise_1 = require("./calculLitteral/equation/equationType2Exercise");
|
|
22
|
-
const equationType3Exercise_1 = require("./calculLitteral/equation/equationType3Exercise");
|
|
23
|
-
const equationType4Exercise_1 = require("./calculLitteral/equation/equationType4Exercise");
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.exercises = void 0;
|
|
4
|
+
const addAndSub_1 = require("./calcul/addAndSub");
|
|
5
|
+
const fractionAndIntegerDivision_1 = require("./calcul/fractions/fractionAndIntegerDivision");
|
|
6
|
+
const fractionAndIntegerProduct_1 = require("./calcul/fractions/fractionAndIntegerProduct");
|
|
7
|
+
const fractionAndIntegerSum_1 = require("./calcul/fractions/fractionAndIntegerSum");
|
|
8
|
+
const fractionsDivision_1 = require("./calcul/fractions/fractionsDivision");
|
|
9
|
+
const fractionsProduct_1 = require("./calcul/fractions/fractionsProduct");
|
|
10
|
+
const fractionsSum_1 = require("./calcul/fractions/fractionsSum");
|
|
11
|
+
const simplifyFraction_1 = require("./calcul/fractions/simplifyFraction");
|
|
12
|
+
const operationsPriorities_1 = require("./calcul/operations/operationsPriorities");
|
|
13
|
+
const rounding_1 = require("./calcul/rounding/rounding");
|
|
14
|
+
const allIdentities_1 = require("./calculLitteral/distributivity/allIdentities");
|
|
15
|
+
const doubleDistributivity_1 = require("./calculLitteral/distributivity/doubleDistributivity");
|
|
16
|
+
const firstIdentity_1 = require("./calculLitteral/distributivity/firstIdentity");
|
|
17
|
+
const secondIdentity_1 = require("./calculLitteral/distributivity/secondIdentity");
|
|
18
|
+
const simpleDistributivity_1 = require("./calculLitteral/distributivity/simpleDistributivity");
|
|
19
|
+
const thirdIdentity_1 = require("./calculLitteral/distributivity/thirdIdentity");
|
|
20
|
+
const equationType1Exercise_1 = require("./calculLitteral/equation/equationType1Exercise");
|
|
21
|
+
const equationType2Exercise_1 = require("./calculLitteral/equation/equationType2Exercise");
|
|
22
|
+
const equationType3Exercise_1 = require("./calculLitteral/equation/equationType3Exercise");
|
|
23
|
+
const equationType4Exercise_1 = require("./calculLitteral/equation/equationType4Exercise");
|
|
24
|
+
const factoIdRmq1_1 = require("./calculLitteral/factorisation/factoIdRmq1");
|
|
25
|
+
const factoIdRmq2_1 = require("./calculLitteral/factorisation/factoIdRmq2");
|
|
26
|
+
const factoIdRmq3_1 = require("./calculLitteral/factorisation/factoIdRmq3");
|
|
27
|
+
const factoType1Exercise_1 = require("./calculLitteral/factorisation/factoType1Exercise");
|
|
28
|
+
const midpoint_1 = require("./geometry/cartesian/midpoint");
|
|
29
|
+
const scalarProductViaCoords_1 = require("./geometry/vectors/scalarProductViaCoords");
|
|
30
|
+
const powersDivision_1 = require("./powers/powersDivision");
|
|
31
|
+
const powersOfTenToDecimal_1 = require("./powers/powersOfTenToDecimal");
|
|
32
|
+
const powersPower_1 = require("./powers/powersPower");
|
|
33
|
+
const powersProduct_1 = require("./powers/powersProduct");
|
|
34
|
+
const scientificToDecimal_1 = require("./powers/scientificToDecimal");
|
|
35
|
+
const geometricExplicitFormulaUsage_1 = require("./sequences/geometric/geometricExplicitFormulaUsage");
|
|
36
|
+
const geometricFindExplicitFormula_1 = require("./sequences/geometric/geometricFindExplicitFormula");
|
|
37
|
+
const geometricFindReason_1 = require("./sequences/geometric/geometricFindReason");
|
|
38
|
+
const geometricReasonUsage_1 = require("./sequences/geometric/geometricReasonUsage");
|
|
39
|
+
const geometricRecurrenceFormulaUsage_1 = require("./sequences/geometric/geometricRecurrenceFormulaUsage");
|
|
40
|
+
const simpifySquareRoot_1 = require("./squareRoots/simpifySquareRoot");
|
|
41
|
+
exports.exercises = [
|
|
42
|
+
/**
|
|
43
|
+
* calcul litteral
|
|
44
|
+
*/
|
|
45
|
+
factoType1Exercise_1.factoType1Exercise,
|
|
46
|
+
factoIdRmq1_1.factoIdRmq1,
|
|
47
|
+
factoIdRmq2_1.factoIdRmq2,
|
|
48
|
+
factoIdRmq3_1.factoIdRmq3,
|
|
49
|
+
simpleDistributivity_1.simpleDistributivity,
|
|
50
|
+
doubleDistributivity_1.doubleDistributivity,
|
|
51
|
+
firstIdentity_1.firstIdentity,
|
|
52
|
+
secondIdentity_1.secondIdentity,
|
|
53
|
+
thirdIdentity_1.thirdIdentity,
|
|
54
|
+
allIdentities_1.allIdentities,
|
|
55
|
+
equationType1Exercise_1.equationType1Exercise,
|
|
56
|
+
equationType2Exercise_1.equationType2Exercise,
|
|
57
|
+
equationType3Exercise_1.equationType3Exercise,
|
|
58
|
+
equationType4Exercise_1.equationType4Exercise,
|
|
59
|
+
/**
|
|
60
|
+
* square roots
|
|
61
|
+
*/
|
|
62
|
+
simpifySquareRoot_1.simplifySquareRoot,
|
|
63
|
+
/**
|
|
64
|
+
* fractions
|
|
65
|
+
*/
|
|
66
|
+
fractionAndIntegerDivision_1.fractionAndIntegerDivision,
|
|
67
|
+
fractionAndIntegerProduct_1.fractionAndIntegerProduct,
|
|
68
|
+
fractionAndIntegerSum_1.fractionAndIntegerSum,
|
|
69
|
+
fractionsDivision_1.fractionsDivision,
|
|
70
|
+
fractionsProduct_1.fractionsProduct,
|
|
71
|
+
fractionsSum_1.fractionsSum,
|
|
72
|
+
simplifyFraction_1.simplifyFraction,
|
|
73
|
+
/**
|
|
74
|
+
* calcul
|
|
75
|
+
*/
|
|
76
|
+
operationsPriorities_1.operationsPriorities,
|
|
77
|
+
addAndSub_1.addAndSubExercise,
|
|
78
|
+
/**
|
|
79
|
+
* rounding
|
|
80
|
+
*/
|
|
81
|
+
rounding_1.roundToCentieme,
|
|
82
|
+
rounding_1.roundToDixieme,
|
|
83
|
+
rounding_1.roundToMillieme,
|
|
84
|
+
rounding_1.roundToUnit,
|
|
85
|
+
rounding_1.allRoundings,
|
|
86
|
+
/**
|
|
87
|
+
* geometry
|
|
88
|
+
*/
|
|
89
|
+
midpoint_1.midpoint,
|
|
90
|
+
/**
|
|
91
|
+
* vectors
|
|
92
|
+
*/
|
|
93
|
+
scalarProductViaCoords_1.scalarProductViaCoords,
|
|
94
|
+
/**
|
|
95
|
+
* puissances
|
|
96
|
+
*/
|
|
97
|
+
powersDivision_1.powersDivision,
|
|
98
|
+
powersPower_1.powersPower,
|
|
99
|
+
powersProduct_1.powersProduct,
|
|
100
|
+
powersDivision_1.powersOfTenDivision,
|
|
101
|
+
powersPower_1.powersOfTenPower,
|
|
102
|
+
powersProduct_1.powersOfTenProduct,
|
|
103
|
+
scientificToDecimal_1.scientificToDecimal,
|
|
104
|
+
powersOfTenToDecimal_1.powersOfTenToDecimal,
|
|
105
|
+
/**
|
|
106
|
+
* suites
|
|
107
|
+
*/
|
|
108
|
+
geometricExplicitFormulaUsage_1.geometricExplicitFormulaUsage,
|
|
109
|
+
geometricFindReason_1.geometricFindReason,
|
|
110
|
+
geometricFindExplicitFormula_1.geometricFindExplicitFormula,
|
|
111
|
+
geometricReasonUsage_1.geometricReasonUsage,
|
|
112
|
+
geometricRecurrenceFormulaUsage_1.geometricRecurrenceFormulaUsage,
|
|
113
|
+
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Exercise, Question } from '../../../exercises/exercise';
|
|
2
|
-
export declare const midpoint: Exercise;
|
|
3
|
-
export declare function getMidpointQuestion(): Question;
|
|
1
|
+
import { Exercise, Question } from '../../../exercises/exercise';
|
|
2
|
+
export declare const midpoint: Exercise;
|
|
3
|
+
export declare function getMidpointQuestion(): Question;
|
|
4
4
|
//# sourceMappingURL=midpoint.d.ts.map
|