math-exercises 1.4.3 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/exercises/calcul/addAndSub.d.ts.map +1 -1
- package/lib/exercises/calcul/addAndSub.js +2 -1
- package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts.map +1 -1
- package/lib/exercises/calcul/addAndSubWithoutRelatives.js +2 -1
- package/lib/exercises/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
- package/lib/exercises/calcul/arithmetics/primeNumbers.js +2 -1
- package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.js +2 -2
- package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.js +2 -2
- package/lib/exercises/calcul/fractions/fractionAndIntegerSum.js +2 -2
- package/lib/exercises/calcul/fractions/fractionToPercentToDecimal.js +1 -1
- package/lib/exercises/calcul/fractions/fractionsDivision.js +2 -2
- package/lib/exercises/calcul/fractions/fractionsProduct.d.ts.map +1 -1
- package/lib/exercises/calcul/fractions/fractionsProduct.js +2 -1
- package/lib/exercises/calcul/fractions/fractionsSum.d.ts.map +1 -1
- package/lib/exercises/calcul/fractions/fractionsSum.js +2 -1
- package/lib/exercises/calcul/fractions/simplifyFraction.d.ts.map +1 -1
- package/lib/exercises/calcul/fractions/simplifyFraction.js +2 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.d.ts.map +1 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.js +2 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.d.ts.map +1 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.js +2 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.d.ts.map +1 -1
- package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.js +2 -1
- package/lib/exercises/calcul/operations/operationsPriorities.d.ts.map +1 -1
- package/lib/exercises/calcul/operations/operationsPriorities.js +2 -1
- package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
- package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.js +2 -1
- package/lib/exercises/calcul/rounding/rounding.js +5 -5
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.js +2 -1
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/distributivity/firstIdentity.js +2 -1
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/distributivity/secondIdentity.js +2 -1
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.js +2 -1
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/distributivity/thirdIdentity.js +2 -1
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/equation/equationType1Exercise.js +3 -2
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/equation/equationType2Exercise.js +2 -1
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/equation/equationType3Exercise.js +2 -1
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/equation/equationType4Exercise.js +2 -1
- package/lib/exercises/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/equation/fractionEquation.js +2 -1
- package/lib/exercises/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/equation/multiplicationEquation.js +2 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.js +2 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.js +2 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.js +2 -1
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.js +2 -1
- package/lib/exercises/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
- package/lib/exercises/calculLitteral/simplifying/reduceExpression.js +2 -1
- package/lib/exercises/exercise.d.ts +2 -2
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/exercises.d.ts +2 -1
- package/lib/exercises/exercises.d.ts.map +1 -1
- package/lib/exercises/exercises.js +16 -2
- package/lib/exercises/functions/affines/leadingCoefficient.d.ts.map +1 -1
- package/lib/exercises/functions/affines/leadingCoefficient.js +2 -1
- package/lib/exercises/geometry/euclidean/pythagore.d.ts.map +1 -1
- package/lib/exercises/geometry/euclidean/pythagore.js +2 -1
- package/lib/exercises/limits/polynomLimit.d.ts +4 -0
- package/lib/exercises/limits/polynomLimit.d.ts.map +1 -0
- package/lib/exercises/limits/polynomLimit.js +66 -0
- package/lib/exercises/limits/polynomLimitNoFI.d.ts +4 -0
- package/lib/exercises/limits/polynomLimitNoFI.d.ts.map +1 -0
- package/lib/exercises/limits/polynomLimitNoFI.js +67 -0
- package/lib/exercises/limits/rationalFracForbiddenValueLimit.d.ts +4 -0
- package/lib/exercises/limits/rationalFracForbiddenValueLimit.d.ts.map +1 -0
- package/lib/exercises/limits/rationalFracForbiddenValueLimit.js +82 -0
- package/lib/exercises/limits/rationalFracLimit.d.ts +4 -0
- package/lib/exercises/limits/rationalFracLimit.d.ts.map +1 -0
- package/lib/exercises/limits/rationalFracLimit.js +84 -0
- package/lib/exercises/limits/sequencePolynomProductLimit.js +1 -1
- package/lib/exercises/powers/calculateNegativePower.d.ts +4 -0
- package/lib/exercises/powers/calculateNegativePower.d.ts.map +1 -0
- package/lib/exercises/powers/calculateNegativePower.js +76 -0
- package/lib/exercises/powers/calculatePower.d.ts +4 -0
- package/lib/exercises/powers/calculatePower.d.ts.map +1 -0
- package/lib/exercises/powers/calculatePower.js +80 -0
- package/lib/exercises/powers/decimalToScientific.d.ts +4 -0
- package/lib/exercises/powers/decimalToScientific.d.ts.map +1 -0
- package/lib/exercises/powers/decimalToScientific.js +90 -0
- package/lib/exercises/powers/powerDefinition.d.ts +4 -0
- package/lib/exercises/powers/powerDefinition.d.ts.map +1 -0
- package/lib/exercises/powers/powerDefinition.js +69 -0
- package/lib/exercises/powers/powersDivision.d.ts.map +1 -1
- package/lib/exercises/powers/powersDivision.js +2 -1
- package/lib/exercises/powers/powersOfTenToDecimal.d.ts.map +1 -1
- package/lib/exercises/powers/powersOfTenToDecimal.js +2 -1
- package/lib/exercises/powers/powersPower.d.ts.map +1 -1
- package/lib/exercises/powers/powersPower.js +3 -2
- package/lib/exercises/powers/powersProduct.d.ts.map +1 -1
- package/lib/exercises/powers/powersProduct.js +3 -2
- package/lib/exercises/powers/scientificToDecimal.d.ts.map +1 -1
- package/lib/exercises/powers/scientificToDecimal.js +12 -12
- package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +1 -1
- package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.js +1 -1
- package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +1 -1
- package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.js +1 -1
- package/lib/exercises/sequences/geometric/geometricReasonUsage.js +1 -1
- package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.js +1 -1
- package/lib/exercises/squareRoots/simpifySquareRoot.d.ts.map +1 -1
- package/lib/exercises/squareRoots/simpifySquareRoot.js +2 -1
- package/lib/exercises/trigonometry/mainRemarkableValues.d.ts.map +1 -1
- package/lib/exercises/trigonometry/mainRemarkableValues.js +6 -4
- package/lib/exercises/trigonometry/remarkableValues.d.ts.map +1 -1
- package/lib/exercises/trigonometry/remarkableValues.js +6 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/math/numbers/decimals/decimal.d.ts +4 -1
- package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
- package/lib/math/numbers/decimals/decimal.js +45 -2
- package/lib/math/numbers/integer/integer.js +1 -1
- package/lib/math/numbers/rationals/rational.d.ts.map +1 -1
- package/lib/math/numbers/rationals/rational.js +5 -2
- package/lib/math/polynomials/polynomial.d.ts +1 -0
- package/lib/math/polynomials/polynomial.d.ts.map +1 -1
- package/lib/math/polynomials/polynomial.js +25 -0
- package/lib/utils/probaFlip.d.ts +2 -0
- package/lib/utils/probaFlip.d.ts.map +1 -0
- package/lib/utils/probaFlip.js +7 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addAndSub.d.ts","sourceRoot":"","sources":["../../../src/exercises/calcul/addAndSub.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,YAY/B,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"addAndSub.d.ts","sourceRoot":"","sources":["../../../src/exercises/calcul/addAndSub.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,YAY/B,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAuDhD"}
|
|
@@ -13,7 +13,7 @@ const uuid_1 = require("uuid");
|
|
|
13
13
|
exports.addAndSubExercise = {
|
|
14
14
|
id: 'addAndSub',
|
|
15
15
|
connector: '=',
|
|
16
|
-
instruction: '
|
|
16
|
+
instruction: '',
|
|
17
17
|
label: 'Additions et soustractions',
|
|
18
18
|
levels: ['6ème', '5ème'],
|
|
19
19
|
sections: ['Calculs'],
|
|
@@ -62,6 +62,7 @@ function getAddAndSubQuestions() {
|
|
|
62
62
|
return (0, shuffle_1.shuffle)(res);
|
|
63
63
|
};
|
|
64
64
|
const question = {
|
|
65
|
+
instruction: `Calculer : $${statementTree.toTex()}$`,
|
|
65
66
|
startStatement: statementTree.toTex(),
|
|
66
67
|
answer: answer + '',
|
|
67
68
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addAndSubWithoutRelatives.d.ts","sourceRoot":"","sources":["../../../src/exercises/calcul/addAndSubWithoutRelatives.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,YAYvC,CAAC;AAEF,wBAAgB,4BAA4B,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"addAndSubWithoutRelatives.d.ts","sourceRoot":"","sources":["../../../src/exercises/calcul/addAndSubWithoutRelatives.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,YAYvC,CAAC;AAEF,wBAAgB,4BAA4B,IAAI,QAAQ,CAoEvD"}
|
|
@@ -13,7 +13,7 @@ const uuid_1 = require("uuid");
|
|
|
13
13
|
exports.addAndSubWithoutRelatives = {
|
|
14
14
|
id: 'addAndSubWithoutRelatives',
|
|
15
15
|
connector: '=',
|
|
16
|
-
instruction: '
|
|
16
|
+
instruction: '',
|
|
17
17
|
label: 'Additions et soustractions sans les nombres relatifs',
|
|
18
18
|
levels: ['6ème', '5ème'],
|
|
19
19
|
sections: ['Calculs'],
|
|
@@ -71,6 +71,7 @@ function getAddAndSubWithoutRelatives() {
|
|
|
71
71
|
return (0, shuffle_1.shuffle)(propositions);
|
|
72
72
|
};
|
|
73
73
|
const question = {
|
|
74
|
+
instruction: `Calculer : $${statementTree.toTex()}$`,
|
|
74
75
|
startStatement: statementTree.toTex(),
|
|
75
76
|
answer: answer.toString(),
|
|
76
77
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primeNumbers.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/primeNumbers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAgB,MAAM,gBAAgB,CAAC;AAGnF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,YAY1B,CAAC;AAQF,wBAAgB,eAAe,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"primeNumbers.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/primeNumbers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAgB,MAAM,gBAAgB,CAAC;AAGnF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,YAY1B,CAAC;AAQF,wBAAgB,eAAe,IAAI,QAAQ,CA4E1C"}
|
|
@@ -11,7 +11,7 @@ const getDistinctQuestions_1 = require("../../utils/getDistinctQuestions");
|
|
|
11
11
|
exports.primeNumbers = {
|
|
12
12
|
id: 'primeNumbers',
|
|
13
13
|
connector: '=',
|
|
14
|
-
instruction: '
|
|
14
|
+
instruction: '',
|
|
15
15
|
label: 'Décomposition en nombres premiers',
|
|
16
16
|
levels: ['5ème', '4ème', '3ème', '2nde'],
|
|
17
17
|
sections: ['Arithmétique'],
|
|
@@ -81,6 +81,7 @@ function getPrimeNumbers() {
|
|
|
81
81
|
return (0, exercise_1.shuffleProps)(res, n);
|
|
82
82
|
};
|
|
83
83
|
const question = {
|
|
84
|
+
instruction: `Donner la décomposition en nombres premiers de : $${prod}$`,
|
|
84
85
|
startStatement: `${prod}`,
|
|
85
86
|
answer,
|
|
86
87
|
keys: [],
|
|
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
|
|
|
12
12
|
exports.fractionAndIntegerDivision = {
|
|
13
13
|
id: 'fractionAndIntegerDivision',
|
|
14
14
|
connector: '=',
|
|
15
|
-
instruction:
|
|
15
|
+
instruction: '',
|
|
16
16
|
label: "Division d'un entier et d'une fraction",
|
|
17
17
|
levels: ['4ème', '3ème', '2nde', '2ndPro', '1rePro', 'CAP'],
|
|
18
18
|
isSingleStep: false,
|
|
@@ -65,7 +65,7 @@ function getFractionAndIntegerDivision() {
|
|
|
65
65
|
return (0, exercise_1.shuffleProps)(res, n);
|
|
66
66
|
};
|
|
67
67
|
const question = {
|
|
68
|
-
instruction: '
|
|
68
|
+
instruction: `Calculer et donner le résultat sous la forme d'une fraction irréductible : $${statementTree.toTex()}$`,
|
|
69
69
|
startStatement: statementTree.toTex(),
|
|
70
70
|
answer: answerTree.toTex(),
|
|
71
71
|
keys: [],
|
|
@@ -11,7 +11,7 @@ const uuid_1 = require("uuid");
|
|
|
11
11
|
exports.fractionAndIntegerProduct = {
|
|
12
12
|
id: 'fractionAndIntegerProduct',
|
|
13
13
|
connector: '=',
|
|
14
|
-
instruction:
|
|
14
|
+
instruction: '',
|
|
15
15
|
label: "Produit d'un entier et d'une fraction",
|
|
16
16
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro'],
|
|
17
17
|
isSingleStep: false,
|
|
@@ -60,7 +60,7 @@ function getFractionAndIntegerProduct() {
|
|
|
60
60
|
return (0, shuffle_1.shuffle)(res);
|
|
61
61
|
};
|
|
62
62
|
const question = {
|
|
63
|
-
instruction: '
|
|
63
|
+
instruction: `Calculer et donner le résultat sous la forme d'une fraction irréductible : $${statementTree.toTex()}$`,
|
|
64
64
|
startStatement: statementTree.toTex(),
|
|
65
65
|
answer: answerTree.toTex(),
|
|
66
66
|
keys: [],
|
|
@@ -11,7 +11,7 @@ const uuid_1 = require("uuid");
|
|
|
11
11
|
exports.fractionAndIntegerSum = {
|
|
12
12
|
id: 'fractionAndIntegerSum',
|
|
13
13
|
connector: '=',
|
|
14
|
-
instruction:
|
|
14
|
+
instruction: '',
|
|
15
15
|
label: "Somme d'un entier et d'une fraction",
|
|
16
16
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro'],
|
|
17
17
|
isSingleStep: false,
|
|
@@ -68,7 +68,7 @@ function getFractionAndIntegerSum() {
|
|
|
68
68
|
return (0, shuffle_1.shuffle)(res);
|
|
69
69
|
};
|
|
70
70
|
const question = {
|
|
71
|
-
instruction: '
|
|
71
|
+
instruction: `Calculer et donner le résultat sous la forme d'une fraction irréductible : $${statementTree.toTex()}$`,
|
|
72
72
|
startStatement: statementTree.toTex(),
|
|
73
73
|
answer: answerTree.toTex(),
|
|
74
74
|
keys: [],
|
|
@@ -28,7 +28,7 @@ function getFractionToPercentToDecimal() {
|
|
|
28
28
|
const decimal = numerator / denominator;
|
|
29
29
|
const percent = (0, round_1.round)((numerator / denominator) * 100, 2);
|
|
30
30
|
const rand = (0, randint_1.randint)(1, 7);
|
|
31
|
-
let instruction;
|
|
31
|
+
let instruction = '';
|
|
32
32
|
let answer = '';
|
|
33
33
|
switch (rand) {
|
|
34
34
|
case 1: {
|
|
@@ -9,7 +9,7 @@ const uuid_1 = require("uuid");
|
|
|
9
9
|
exports.fractionsDivision = {
|
|
10
10
|
id: 'fractionsDivision',
|
|
11
11
|
connector: '=',
|
|
12
|
-
instruction:
|
|
12
|
+
instruction: '',
|
|
13
13
|
label: 'Divisions de fractions',
|
|
14
14
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro'],
|
|
15
15
|
sections: ['Fractions'],
|
|
@@ -57,7 +57,7 @@ function getFractionsDivision() {
|
|
|
57
57
|
return (0, shuffle_1.shuffle)(res);
|
|
58
58
|
};
|
|
59
59
|
const question = {
|
|
60
|
-
instruction: '
|
|
60
|
+
instruction: `Calculer et donner le résultat sous la forme d'une fraction irréductible : $${statementTree.toTex()}$`,
|
|
61
61
|
startStatement: statementTree.toTex(),
|
|
62
62
|
answer: answerTree.toTex(),
|
|
63
63
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fractionsProduct.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/fractions/fractionsProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAO/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"fractionsProduct.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/fractions/fractionsProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAO/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CA+C9C"}
|
|
@@ -9,7 +9,7 @@ const uuid_1 = require("uuid");
|
|
|
9
9
|
exports.fractionsProduct = {
|
|
10
10
|
id: 'fractionsProduct',
|
|
11
11
|
connector: '=',
|
|
12
|
-
instruction:
|
|
12
|
+
instruction: '',
|
|
13
13
|
label: 'Produits de fractions',
|
|
14
14
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro'],
|
|
15
15
|
sections: ['Fractions'],
|
|
@@ -51,6 +51,7 @@ function getFractionsProduct() {
|
|
|
51
51
|
return (0, shuffle_1.shuffle)(res);
|
|
52
52
|
};
|
|
53
53
|
const question = {
|
|
54
|
+
instruction: `Calculer et donner le résultat sous la forme d'une fraction irréductible : $${statementTree.toTex()}$`,
|
|
54
55
|
startStatement: statementTree.toTex(),
|
|
55
56
|
answer: answerTree.toTex(),
|
|
56
57
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fractionsSum.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/fractions/fractionsSum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAO/E,eAAO,MAAM,YAAY,EAAE,YAY1B,CAAC;AAEF,wBAAgB,eAAe,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"fractionsSum.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/fractions/fractionsSum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAO/E,eAAO,MAAM,YAAY,EAAE,YAY1B,CAAC;AAEF,wBAAgB,eAAe,IAAI,QAAQ,CAuD1C"}
|
|
@@ -9,7 +9,7 @@ const uuid_1 = require("uuid");
|
|
|
9
9
|
exports.fractionsSum = {
|
|
10
10
|
id: 'fractionsSum',
|
|
11
11
|
connector: '=',
|
|
12
|
-
instruction:
|
|
12
|
+
instruction: '',
|
|
13
13
|
label: 'Sommes de fractions',
|
|
14
14
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro'],
|
|
15
15
|
sections: ['Fractions'],
|
|
@@ -57,6 +57,7 @@ function getFractionsSum() {
|
|
|
57
57
|
return (0, shuffle_1.shuffle)(propositions);
|
|
58
58
|
};
|
|
59
59
|
const question = {
|
|
60
|
+
instruction: `Calculer et donner le résultat sous la forme d'une fraction irréductible : $${statementTree.toTex()}$`,
|
|
60
61
|
startStatement: statementTree.toTex(),
|
|
61
62
|
answer: answerTree.toTex(),
|
|
62
63
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simplifyFraction.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/fractions/simplifyFraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAM/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"simplifyFraction.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/fractions/simplifyFraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAM/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CA4C9C"}
|
|
@@ -8,7 +8,7 @@ const uuid_1 = require("uuid");
|
|
|
8
8
|
exports.simplifyFraction = {
|
|
9
9
|
id: 'simplifyFrac',
|
|
10
10
|
connector: '=',
|
|
11
|
-
instruction: '
|
|
11
|
+
instruction: '',
|
|
12
12
|
label: 'Simplification de fractions',
|
|
13
13
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro'],
|
|
14
14
|
sections: ['Fractions'],
|
|
@@ -46,6 +46,7 @@ function getSimplifyFraction() {
|
|
|
46
46
|
return (0, shuffle_1.shuffle)(propositions);
|
|
47
47
|
};
|
|
48
48
|
const question = {
|
|
49
|
+
instruction: `Simplifier : $${rational.toTree().toTex()}$`,
|
|
49
50
|
startStatement: rational.toTree().toTex(),
|
|
50
51
|
answer: rational.simplify().toTree().toTex(),
|
|
51
52
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mentalAddAndSub.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,eAAe,EAAE,YAY7B,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"mentalAddAndSub.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,eAAe,EAAE,YAY7B,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,QAAQ,CAmE7C"}
|
|
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
|
|
|
12
12
|
exports.mentalAddAndSub = {
|
|
13
13
|
id: 'mentalAddAndSub',
|
|
14
14
|
connector: '=',
|
|
15
|
-
instruction: '
|
|
15
|
+
instruction: '',
|
|
16
16
|
label: 'Effectuer mentalement des additions et des soustractions simples',
|
|
17
17
|
levels: ['6ème', '5ème', '4ème', '3ème', '2nde', '1reESM', 'CAP', '2ndPro', '1rePro'],
|
|
18
18
|
sections: ['Calculs'],
|
|
@@ -70,6 +70,7 @@ function getMentalAddAndSub() {
|
|
|
70
70
|
return (0, shuffle_1.shuffle)(res);
|
|
71
71
|
};
|
|
72
72
|
const question = {
|
|
73
|
+
instruction: `Calculer : $${statementTree.toTex()}$`,
|
|
73
74
|
startStatement: statementTree.toTex(),
|
|
74
75
|
answer: (0, round_1.round)(sum, 2) + '',
|
|
75
76
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mentalDivisions.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/mentalCaluls.ts/mentalDivisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,eAAe,EAAE,YAY7B,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"mentalDivisions.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/mentalCaluls.ts/mentalDivisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,eAAe,EAAE,YAY7B,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,QAAQ,CA6F7C"}
|
|
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
|
|
|
12
12
|
exports.mentalDivisions = {
|
|
13
13
|
id: 'mentalDivisions',
|
|
14
14
|
connector: '=',
|
|
15
|
-
instruction: '
|
|
15
|
+
instruction: '',
|
|
16
16
|
label: 'Effectuer mentalement des divisions simples',
|
|
17
17
|
levels: ['6ème', '5ème', '4ème', '3ème', '2nde', '1reESM', 'CAP', '2ndPro', '1rePro'],
|
|
18
18
|
sections: ['Calculs'],
|
|
@@ -87,6 +87,7 @@ function getMentalDivisions() {
|
|
|
87
87
|
return (0, shuffle_1.shuffle)(propositions);
|
|
88
88
|
};
|
|
89
89
|
const question = {
|
|
90
|
+
instruction: `Calculer : $${statementTree.toTex()}$`,
|
|
90
91
|
startStatement: statementTree.toTex(),
|
|
91
92
|
answer: (0, round_1.round)(answer, 2) + '',
|
|
92
93
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mentalMultiplications.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/mentalCaluls.ts/mentalMultiplications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,qBAAqB,EAAE,YAYnC,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"mentalMultiplications.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/mentalCaluls.ts/mentalMultiplications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,qBAAqB,EAAE,YAYnC,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,QAAQ,CAsEnD"}
|
|
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
|
|
|
12
12
|
exports.mentalMultiplications = {
|
|
13
13
|
id: 'mentalMultiplications',
|
|
14
14
|
connector: '=',
|
|
15
|
-
instruction: '
|
|
15
|
+
instruction: '',
|
|
16
16
|
label: 'Effectuer mentalement des multiplications simples',
|
|
17
17
|
levels: ['6ème', '5ème', '4ème', '3ème', '2nde', '1reESM', 'CAP', '2ndPro', '1rePro'],
|
|
18
18
|
sections: ['Calculs'],
|
|
@@ -71,6 +71,7 @@ function getMentalMultiplications() {
|
|
|
71
71
|
return (0, shuffle_1.shuffle)(propositions);
|
|
72
72
|
};
|
|
73
73
|
const question = {
|
|
74
|
+
instruction: `Calculer : $${statementTree.toTex()}$`,
|
|
74
75
|
startStatement: statementTree.toTex(),
|
|
75
76
|
answer: (0, round_1.round)(answer, 2) + '',
|
|
76
77
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operationsPriorities.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/operations/operationsPriorities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC;AAEF,wBAAgB,oBAAoB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"operationsPriorities.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/operations/operationsPriorities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC;AAEF,wBAAgB,oBAAoB,IAAI,QAAQ,CAiI/C"}
|
|
@@ -20,7 +20,7 @@ const uuid_1 = require("uuid");
|
|
|
20
20
|
exports.operationsPriorities = {
|
|
21
21
|
id: 'operationsPriorities',
|
|
22
22
|
connector: '=',
|
|
23
|
-
instruction: '
|
|
23
|
+
instruction: '',
|
|
24
24
|
label: 'Priorités opératoires',
|
|
25
25
|
levels: ['5ème', '4ème'],
|
|
26
26
|
sections: ['Calculs'],
|
|
@@ -119,6 +119,7 @@ function getPriorityQuestions() {
|
|
|
119
119
|
return (0, shuffle_1.shuffle)(propositions);
|
|
120
120
|
};
|
|
121
121
|
const question = {
|
|
122
|
+
instruction: `Calculer : $${startStatement}$`,
|
|
122
123
|
startStatement,
|
|
123
124
|
answer,
|
|
124
125
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operationsPrioritiesWithoutRelative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/operations/operationsPrioritiesWithoutRelative.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,mCAAmC,EAAE,YAYjD,CAAC;AAEF,wBAAgB,sCAAsC,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"operationsPrioritiesWithoutRelative.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/operations/operationsPrioritiesWithoutRelative.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,mCAAmC,EAAE,YAYjD,CAAC;AAEF,wBAAgB,sCAAsC,IAAI,QAAQ,CAmQjE"}
|
|
@@ -20,7 +20,7 @@ const uuid_1 = require("uuid");
|
|
|
20
20
|
exports.operationsPrioritiesWithoutRelative = {
|
|
21
21
|
id: 'operationsPrioritiesWithoutRelative',
|
|
22
22
|
connector: '=',
|
|
23
|
-
instruction: '
|
|
23
|
+
instruction: '',
|
|
24
24
|
label: 'Priorités opératoires sans les nombres relatifs',
|
|
25
25
|
levels: ['6ème', '5ème', '4ème'],
|
|
26
26
|
sections: ['Calculs'],
|
|
@@ -200,6 +200,7 @@ function getOperationsPrioritiesWithoutRelative() {
|
|
|
200
200
|
return (0, shuffle_1.shuffle)(propositions);
|
|
201
201
|
};
|
|
202
202
|
const question = {
|
|
203
|
+
instruction: `Calculer : $${startStatement}$`,
|
|
203
204
|
startStatement,
|
|
204
205
|
answer,
|
|
205
206
|
keys: [],
|
|
@@ -13,7 +13,7 @@ const uuid_1 = require("uuid");
|
|
|
13
13
|
exports.roundToUnit = {
|
|
14
14
|
id: 'roundToUnit',
|
|
15
15
|
connector: '\\approx',
|
|
16
|
-
instruction:
|
|
16
|
+
instruction: '',
|
|
17
17
|
label: "Arrondir à l'unité",
|
|
18
18
|
levels: ['6ème', '5ème', 'CAP', '2ndPro', '1rePro'],
|
|
19
19
|
sections: ['Calculs'],
|
|
@@ -29,7 +29,7 @@ exports.roundToUnit = {
|
|
|
29
29
|
exports.roundToDixieme = {
|
|
30
30
|
id: 'roundToDixieme',
|
|
31
31
|
connector: '\\approx',
|
|
32
|
-
instruction: '
|
|
32
|
+
instruction: '',
|
|
33
33
|
label: 'Arrondir au dixième',
|
|
34
34
|
levels: ['6ème', '5ème', 'CAP', '2ndPro', '1rePro'],
|
|
35
35
|
sections: ['Calculs'],
|
|
@@ -44,7 +44,7 @@ exports.roundToDixieme = {
|
|
|
44
44
|
exports.roundToCentieme = {
|
|
45
45
|
id: 'roundToCentieme',
|
|
46
46
|
connector: '\\approx',
|
|
47
|
-
instruction: '
|
|
47
|
+
instruction: '',
|
|
48
48
|
label: 'Arrondir au centième',
|
|
49
49
|
levels: ['6ème', '5ème', 'CAP', '2ndPro', '1rePro'],
|
|
50
50
|
sections: ['Calculs'],
|
|
@@ -59,7 +59,7 @@ exports.roundToCentieme = {
|
|
|
59
59
|
exports.roundToMillieme = {
|
|
60
60
|
id: 'roundToMillieme',
|
|
61
61
|
connector: '\\approx',
|
|
62
|
-
instruction: '
|
|
62
|
+
instruction: '',
|
|
63
63
|
label: 'Arrondir au millième',
|
|
64
64
|
levels: ['6ème', '5ème', 'CAP', '2ndPro', '1rePro'],
|
|
65
65
|
sections: ['Calculs'],
|
|
@@ -139,7 +139,7 @@ function getRoundQuestions(precisionAsked = 0) {
|
|
|
139
139
|
return (0, shuffle_1.shuffle)(res);
|
|
140
140
|
};
|
|
141
141
|
const question = {
|
|
142
|
-
instruction: instructions[precisionAsked]
|
|
142
|
+
instruction: `${instructions[precisionAsked]} ${dec.toTree().toTex()}`,
|
|
143
143
|
startStatement: dec.toTree().toTex(),
|
|
144
144
|
answer: dec.round(precisionAsked).toTree().toTex(),
|
|
145
145
|
keys: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doubleDistributivity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/doubleDistributivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC;AAEF,wBAAgB,+BAA+B,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"doubleDistributivity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/doubleDistributivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC;AAEF,wBAAgB,+BAA+B,IAAI,QAAQ,CAsE1D"}
|
|
@@ -13,7 +13,7 @@ const uuid_1 = require("uuid");
|
|
|
13
13
|
exports.doubleDistributivity = {
|
|
14
14
|
id: 'doubleDistri',
|
|
15
15
|
connector: '=',
|
|
16
|
-
instruction: '
|
|
16
|
+
instruction: '',
|
|
17
17
|
label: 'Distributivité double',
|
|
18
18
|
levels: ['3ème', '2nde', '1reTech'],
|
|
19
19
|
sections: ['Calcul littéral'],
|
|
@@ -74,6 +74,7 @@ function getDoubleDistributivityQuestion() {
|
|
|
74
74
|
return (0, shuffle_1.shuffle)(res);
|
|
75
75
|
};
|
|
76
76
|
return {
|
|
77
|
+
instruction: `Développer et réduire : $${statementTree.toTex()}$`,
|
|
77
78
|
startStatement: statementTree.toTex(),
|
|
78
79
|
answer: answerTree.toTex(),
|
|
79
80
|
keys: ['x'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firstIdentity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/firstIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"firstIdentity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/firstIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,QAAQ,CAuEnD"}
|
|
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
|
|
|
14
14
|
exports.firstIdentity = {
|
|
15
15
|
id: 'idRmq1',
|
|
16
16
|
connector: '=',
|
|
17
|
-
instruction: '
|
|
17
|
+
instruction: '',
|
|
18
18
|
label: 'Identité remarquable $(a+b)^2$',
|
|
19
19
|
levels: ['3ème', '2nde'],
|
|
20
20
|
sections: ['Calcul littéral'],
|
|
@@ -76,6 +76,7 @@ function getFirstIdentityQuestion() {
|
|
|
76
76
|
return (0, shuffle_1.shuffle)(res);
|
|
77
77
|
};
|
|
78
78
|
return {
|
|
79
|
+
instruction: `Développer et réduire : $${statementTree.toTex()}$`,
|
|
79
80
|
startStatement: statementTree.toTex(),
|
|
80
81
|
answer: answerTree.toTex(),
|
|
81
82
|
keys: ['x'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secondIdentity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/secondIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E,eAAO,MAAM,cAAc,EAAE,YAY5B,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"secondIdentity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/secondIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E,eAAO,MAAM,cAAc,EAAE,YAY5B,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,QAAQ,CAwEpD"}
|
|
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
|
|
|
14
14
|
exports.secondIdentity = {
|
|
15
15
|
id: 'idRmq2',
|
|
16
16
|
connector: '=',
|
|
17
|
-
instruction: '
|
|
17
|
+
instruction: '',
|
|
18
18
|
label: 'Identité remarquable $(a-b)^2$',
|
|
19
19
|
levels: ['3ème', '2nde'],
|
|
20
20
|
sections: ['Calcul littéral'],
|
|
@@ -77,6 +77,7 @@ function getSecondIdentityQuestion() {
|
|
|
77
77
|
return (0, shuffle_1.shuffle)(res);
|
|
78
78
|
};
|
|
79
79
|
return {
|
|
80
|
+
instruction: `Développer et réduire : $${statementTree.toTex()}$`,
|
|
80
81
|
startStatement: statementTree.toTex(),
|
|
81
82
|
answer: answerTree.toTex(),
|
|
82
83
|
keys: ['x'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleDistributivity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/simpleDistributivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC;AAEF,wBAAgB,+BAA+B,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"simpleDistributivity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/simpleDistributivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,oBAAoB,EAAE,YAYlC,CAAC;AAEF,wBAAgB,+BAA+B,IAAI,QAAQ,CAyE1D"}
|
|
@@ -13,7 +13,7 @@ const uuid_1 = require("uuid");
|
|
|
13
13
|
exports.simpleDistributivity = {
|
|
14
14
|
id: 'simpleDistri',
|
|
15
15
|
connector: '=',
|
|
16
|
-
instruction: '
|
|
16
|
+
instruction: '',
|
|
17
17
|
label: 'Distributivité simple',
|
|
18
18
|
levels: ['3ème', '2nde', 'CAP', '2ndPro', '1reTech'],
|
|
19
19
|
sections: ['Calcul littéral'],
|
|
@@ -76,6 +76,7 @@ function getSimpleDistributivityQuestion() {
|
|
|
76
76
|
return (0, shuffle_1.shuffle)(res);
|
|
77
77
|
};
|
|
78
78
|
return {
|
|
79
|
+
instruction: `Développer et réduire : $${statementTree.toTex()}$`,
|
|
79
80
|
startStatement: statementTree.toTex(),
|
|
80
81
|
answer: answerTree.toTex(),
|
|
81
82
|
keys: ['x'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thirdIdentity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/thirdIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"thirdIdentity.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/distributivity/thirdIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAW/E,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,QAAQ,CAyEnD"}
|
|
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
|
|
|
12
12
|
exports.thirdIdentity = {
|
|
13
13
|
id: 'idRmq3',
|
|
14
14
|
connector: '=',
|
|
15
|
-
instruction: '
|
|
15
|
+
instruction: '',
|
|
16
16
|
label: 'Identité remarquable $(a+b)(a-b)$',
|
|
17
17
|
levels: ['3ème', '2nde'],
|
|
18
18
|
sections: ['Calcul littéral'],
|
|
@@ -76,6 +76,7 @@ function getThirdIdentityQuestion() {
|
|
|
76
76
|
return (0, shuffle_1.shuffle)(res);
|
|
77
77
|
};
|
|
78
78
|
return {
|
|
79
|
+
instruction: `Développer et réduire : $${statementTree.toTex()}$`,
|
|
79
80
|
startStatement: statementTree.toTex(),
|
|
80
81
|
answer: answerTree.toTex(),
|
|
81
82
|
keys: ['x'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equationType1Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType1Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAYnC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"equationType1Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType1Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAYnC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,CAqD3D"}
|
|
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
|
|
|
14
14
|
exports.equationType1Exercise = {
|
|
15
15
|
id: 'equa1',
|
|
16
16
|
connector: '\\iff',
|
|
17
|
-
instruction: '
|
|
17
|
+
instruction: '',
|
|
18
18
|
label: 'Équations $x+a = b$',
|
|
19
19
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro', '1reTech'],
|
|
20
20
|
sections: ['Équations'],
|
|
@@ -62,8 +62,9 @@ function getEquationType1ExerciseQuestion() {
|
|
|
62
62
|
return (0, shuffle_1.shuffle)(res);
|
|
63
63
|
};
|
|
64
64
|
const question = {
|
|
65
|
+
instruction: `Résoudre : $${tree.toTex()}$`,
|
|
65
66
|
startStatement: tree.toTex(),
|
|
66
|
-
answer: `x
|
|
67
|
+
answer: `x=${solution}`,
|
|
67
68
|
keys: ['x', 'S', 'equal', 'lbrace', 'rbrace', 'semicolon', 'emptyset'],
|
|
68
69
|
getPropositions,
|
|
69
70
|
answerFormat: 'tex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equationType2Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType2Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAYnC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"equationType2Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType2Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAYnC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,CAqD3D"}
|
|
@@ -16,7 +16,7 @@ const uuid_1 = require("uuid");
|
|
|
16
16
|
exports.equationType2Exercise = {
|
|
17
17
|
id: 'equa2',
|
|
18
18
|
connector: '\\iff',
|
|
19
|
-
instruction: '
|
|
19
|
+
instruction: '',
|
|
20
20
|
label: 'Équations $ax=b$',
|
|
21
21
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro', '1reTech'],
|
|
22
22
|
sections: ['Équations'],
|
|
@@ -60,6 +60,7 @@ function getEquationType2ExerciseQuestion() {
|
|
|
60
60
|
return (0, shuffle_1.shuffle)(res);
|
|
61
61
|
};
|
|
62
62
|
const question = {
|
|
63
|
+
instruction: `Résoudre : $${tree.toTex()}$`,
|
|
63
64
|
startStatement: tree.toTex(),
|
|
64
65
|
answer: answer.toTex(),
|
|
65
66
|
keys: ['x', 'S', 'equal', 'lbrace', 'rbrace', 'semicolon', 'emptyset'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equationType3Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType3Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAanC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"equationType3Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType3Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAanC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,CAyD3D"}
|
|
@@ -18,7 +18,7 @@ const uuid_1 = require("uuid");
|
|
|
18
18
|
exports.equationType3Exercise = {
|
|
19
19
|
id: 'equa3',
|
|
20
20
|
connector: '\\iff',
|
|
21
|
-
instruction: '
|
|
21
|
+
instruction: '',
|
|
22
22
|
label: 'Équations $ax+b=c$',
|
|
23
23
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro', '1reTech'],
|
|
24
24
|
sections: ['Équations'],
|
|
@@ -64,6 +64,7 @@ function getEquationType3ExerciseQuestion() {
|
|
|
64
64
|
return (0, shuffle_1.shuffle)(res);
|
|
65
65
|
};
|
|
66
66
|
const question = {
|
|
67
|
+
instruction: `Résoudre : $${statementTree.toTex()}$`,
|
|
67
68
|
startStatement: statementTree.toTex(),
|
|
68
69
|
answer: answerTree.toTex(),
|
|
69
70
|
keys: ['x', 'S', 'equal', 'lbrace', 'rbrace', 'semicolon', 'emptyset'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equationType4Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType4Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAanC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"equationType4Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/equationType4Exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAanC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,QAAQ,CA4D3D"}
|
|
@@ -18,7 +18,7 @@ const uuid_1 = require("uuid");
|
|
|
18
18
|
exports.equationType4Exercise = {
|
|
19
19
|
id: 'equa4',
|
|
20
20
|
connector: '\\iff',
|
|
21
|
-
instruction: '
|
|
21
|
+
instruction: '',
|
|
22
22
|
label: 'Équations $ax+b=cx+d$',
|
|
23
23
|
levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1rePro', '1reTech'],
|
|
24
24
|
sections: ['Équations'],
|
|
@@ -66,6 +66,7 @@ function getEquationType4ExerciseQuestion() {
|
|
|
66
66
|
return (0, shuffle_1.shuffle)(res);
|
|
67
67
|
};
|
|
68
68
|
const question = {
|
|
69
|
+
instruction: `Résoudre : $${statementTree.toTex()}$`,
|
|
69
70
|
startStatement: statementTree.toTex(),
|
|
70
71
|
answer: answerTree.toTex(),
|
|
71
72
|
keys: ['x', 'S', 'equal', 'lbrace', 'rbrace', 'semicolon', 'emptyset'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fractionEquation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/fractionEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"fractionEquation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/fractionEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CAmE9C"}
|