math-exercises 1.4.3 → 1.4.4

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.
Files changed (83) hide show
  1. package/lib/exercises/calcul/addAndSub.d.ts.map +1 -1
  2. package/lib/exercises/calcul/addAndSub.js +2 -1
  3. package/lib/exercises/calcul/addAndSubWithoutRelatives.d.ts.map +1 -1
  4. package/lib/exercises/calcul/addAndSubWithoutRelatives.js +2 -1
  5. package/lib/exercises/calcul/arithmetics/primeNumbers.d.ts.map +1 -1
  6. package/lib/exercises/calcul/arithmetics/primeNumbers.js +2 -1
  7. package/lib/exercises/calcul/fractions/fractionAndIntegerDivision.js +2 -2
  8. package/lib/exercises/calcul/fractions/fractionAndIntegerProduct.js +2 -2
  9. package/lib/exercises/calcul/fractions/fractionAndIntegerSum.js +2 -2
  10. package/lib/exercises/calcul/fractions/fractionsDivision.js +2 -2
  11. package/lib/exercises/calcul/fractions/fractionsProduct.d.ts.map +1 -1
  12. package/lib/exercises/calcul/fractions/fractionsProduct.js +2 -1
  13. package/lib/exercises/calcul/fractions/fractionsSum.d.ts.map +1 -1
  14. package/lib/exercises/calcul/fractions/fractionsSum.js +2 -1
  15. package/lib/exercises/calcul/fractions/simplifyFraction.d.ts.map +1 -1
  16. package/lib/exercises/calcul/fractions/simplifyFraction.js +2 -1
  17. package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.d.ts.map +1 -1
  18. package/lib/exercises/calcul/mentalCaluls.ts/mentalAddAndSub.js +2 -1
  19. package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.d.ts.map +1 -1
  20. package/lib/exercises/calcul/mentalCaluls.ts/mentalDivisions.js +2 -1
  21. package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.d.ts.map +1 -1
  22. package/lib/exercises/calcul/mentalCaluls.ts/mentalMultiplications.js +2 -1
  23. package/lib/exercises/calcul/operations/operationsPriorities.d.ts.map +1 -1
  24. package/lib/exercises/calcul/operations/operationsPriorities.js +2 -1
  25. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.d.ts.map +1 -1
  26. package/lib/exercises/calcul/operations/operationsPrioritiesWithoutRelative.js +2 -1
  27. package/lib/exercises/calcul/rounding/rounding.js +5 -5
  28. package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.d.ts.map +1 -1
  29. package/lib/exercises/calculLitteral/distributivity/doubleDistributivity.js +2 -1
  30. package/lib/exercises/calculLitteral/distributivity/firstIdentity.d.ts.map +1 -1
  31. package/lib/exercises/calculLitteral/distributivity/firstIdentity.js +2 -1
  32. package/lib/exercises/calculLitteral/distributivity/secondIdentity.d.ts.map +1 -1
  33. package/lib/exercises/calculLitteral/distributivity/secondIdentity.js +2 -1
  34. package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.d.ts.map +1 -1
  35. package/lib/exercises/calculLitteral/distributivity/simpleDistributivity.js +2 -1
  36. package/lib/exercises/calculLitteral/distributivity/thirdIdentity.d.ts.map +1 -1
  37. package/lib/exercises/calculLitteral/distributivity/thirdIdentity.js +2 -1
  38. package/lib/exercises/calculLitteral/equation/equationType1Exercise.d.ts.map +1 -1
  39. package/lib/exercises/calculLitteral/equation/equationType1Exercise.js +3 -2
  40. package/lib/exercises/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
  41. package/lib/exercises/calculLitteral/equation/equationType2Exercise.js +2 -1
  42. package/lib/exercises/calculLitteral/equation/equationType3Exercise.d.ts.map +1 -1
  43. package/lib/exercises/calculLitteral/equation/equationType3Exercise.js +2 -1
  44. package/lib/exercises/calculLitteral/equation/equationType4Exercise.d.ts.map +1 -1
  45. package/lib/exercises/calculLitteral/equation/equationType4Exercise.js +2 -1
  46. package/lib/exercises/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
  47. package/lib/exercises/calculLitteral/equation/fractionEquation.js +2 -1
  48. package/lib/exercises/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
  49. package/lib/exercises/calculLitteral/equation/multiplicationEquation.js +2 -1
  50. package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
  51. package/lib/exercises/calculLitteral/factorisation/factoIdRmq1.js +2 -1
  52. package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
  53. package/lib/exercises/calculLitteral/factorisation/factoIdRmq2.js +2 -1
  54. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  55. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.js +2 -1
  56. package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
  57. package/lib/exercises/calculLitteral/factorisation/factoType1Exercise.js +2 -1
  58. package/lib/exercises/calculLitteral/simplifying/reduceExpression.d.ts.map +1 -1
  59. package/lib/exercises/calculLitteral/simplifying/reduceExpression.js +2 -1
  60. package/lib/exercises/limits/sequencePolynomProductLimit.js +1 -1
  61. package/lib/exercises/powers/powersDivision.d.ts.map +1 -1
  62. package/lib/exercises/powers/powersDivision.js +2 -1
  63. package/lib/exercises/powers/powersOfTenToDecimal.d.ts.map +1 -1
  64. package/lib/exercises/powers/powersOfTenToDecimal.js +2 -1
  65. package/lib/exercises/powers/powersPower.d.ts.map +1 -1
  66. package/lib/exercises/powers/powersPower.js +3 -2
  67. package/lib/exercises/powers/powersProduct.d.ts.map +1 -1
  68. package/lib/exercises/powers/powersProduct.js +3 -2
  69. package/lib/exercises/powers/scientificToDecimal.d.ts.map +1 -1
  70. package/lib/exercises/powers/scientificToDecimal.js +2 -1
  71. package/lib/exercises/sequences/arithmetic/arithmeticExplicitFormulaUsage.js +1 -1
  72. package/lib/exercises/sequences/arithmetic/arithmeticReasonUsage.js +1 -1
  73. package/lib/exercises/sequences/arithmetic/arithmeticRecurrenceFormulaUsage.js +1 -1
  74. package/lib/exercises/sequences/geometric/geometricExplicitFormulaUsage.js +1 -1
  75. package/lib/exercises/sequences/geometric/geometricReasonUsage.js +1 -1
  76. package/lib/exercises/sequences/geometric/geometricRecurrenceFormulaUsage.js +1 -1
  77. package/lib/exercises/squareRoots/simpifySquareRoot.d.ts.map +1 -1
  78. package/lib/exercises/squareRoots/simpifySquareRoot.js +2 -1
  79. package/lib/exercises/trigonometry/mainRemarkableValues.d.ts.map +1 -1
  80. package/lib/exercises/trigonometry/mainRemarkableValues.js +6 -4
  81. package/lib/exercises/trigonometry/remarkableValues.d.ts.map +1 -1
  82. package/lib/exercises/trigonometry/remarkableValues.js +6 -4
  83. 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,CAsDhD"}
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: 'Calculer :',
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,CAmEvD"}
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: 'Calculer :',
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,CA2E1C"}
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: 'Donner la décomposition en nombre premiers',
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: "Calculer et donner le résultat sous la forme d'une fraction irréductible.",
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: "Calculer et donner le résultat sous la forme d'une fraction irréductible.",
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: "Calculer et donner le résultat sous la forme d'une fraction irréductible.",
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: [],
@@ -9,7 +9,7 @@ const uuid_1 = require("uuid");
9
9
  exports.fractionsDivision = {
10
10
  id: 'fractionsDivision',
11
11
  connector: '=',
12
- instruction: "Calculer et donner le résultat sous la forme d'une fraction irréductible.",
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,CA8C9C"}
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: "Calculer et donner le résultat sous la forme d'une fraction irréductible.",
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,CAsD1C"}
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: "Calculer et donner le résultat sous la forme d'une fraction irréductible.",
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,CA2C9C"}
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: 'Simplifier :',
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,CAkE7C"}
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: 'Calculer.',
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,CA4F7C"}
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: 'Calculer.',
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,CAqEnD"}
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: 'Calculer.',
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,CAgI/C"}
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: 'Calculer :',
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,CAkQjE"}
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: 'Calculer :',
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: "Arrondir à l'unité :",
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: 'Arrondir au dixième :',
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: 'Arrondir au centième :',
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: 'Arrondir au millième :',
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,CAqE1D"}
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: 'Développer et réduire :',
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,CAsEnD"}
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: 'Développer et réduire :',
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,CAuEpD"}
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: 'Développer et réduire :',
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,CAwE1D"}
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: 'Développer et réduire :',
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,CAwEnD"}
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: 'Développer et réduire :',
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,CAoD3D"}
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: 'Résoudre : ',
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 = ${solution}`,
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,CAoD3D"}
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: 'Résoudre : ',
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,CAwD3D"}
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: 'Résoudre : ',
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,CA2D3D"}
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: 'Résoudre : ',
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,CAiE9C"}
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"}
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
12
12
  exports.fractionEquation = {
13
13
  id: 'fractionEquation',
14
14
  connector: '\\iff',
15
- instruction: 'Résoudre :',
15
+ instruction: '',
16
16
  label: 'Résoudre une équation quotient nul',
17
17
  levels: ['2nde', '1reESM', '1reSpé', '1reTech'],
18
18
  sections: ['Équations'],
@@ -65,6 +65,7 @@ function getFractionEquation() {
65
65
  return (0, shuffle_1.shuffle)(res);
66
66
  };
67
67
  const question = {
68
+ instruction: `Résoudre : $\\frac{${polynome1.toTex()}}{${polynome2.toTex()}} = 0$`,
68
69
  startStatement: `\\frac{${polynome1.toTex()}}{${polynome2.toTex()}} = 0`,
69
70
  answer,
70
71
  keys: ['x', 'S', 'equal', 'lbrace', 'rbrace', 'semicolon', 'ou', 'emptyset'],
@@ -1 +1 @@
1
- {"version":3,"file":"multiplicationEquation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/multiplicationEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,sBAAsB,EAAE,YAYpC,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,QAAQ,CAyEpD"}
1
+ {"version":3,"file":"multiplicationEquation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/equation/multiplicationEquation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,sBAAsB,EAAE,YAYpC,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,QAAQ,CA0EpD"}
@@ -12,7 +12,7 @@ const uuid_1 = require("uuid");
12
12
  exports.multiplicationEquation = {
13
13
  id: 'multiplicationEquation',
14
14
  connector: '\\iff',
15
- instruction: 'Résoudre :',
15
+ instruction: '',
16
16
  label: 'Résoudre une équation produit nul',
17
17
  levels: ['2nde', '1reESM', '1reSpé', '1reTech'],
18
18
  sections: ['Équations'],
@@ -68,6 +68,7 @@ function getMultiplicationEquation() {
68
68
  return (0, shuffle_1.shuffle)(res);
69
69
  };
70
70
  const question = {
71
+ instruction: `Résoudre : $(${polynome1.toTex()})(${polynome2.toTex()}) = 0$`,
71
72
  startStatement: `(${polynome1.toTex()})(${polynome2.toTex()}) = 0`,
72
73
  answer: `S=\\left\\{${(0, simplify_1.simplifyNode)(new fractionNode_1.FractionNode(new numberNode_1.NumberNode(-b), new numberNode_1.NumberNode(a))).toTex()};${(0, simplify_1.simplifyNode)(new fractionNode_1.FractionNode(new numberNode_1.NumberNode(-d), new numberNode_1.NumberNode(c))).toTex()}\\right\\}`,
73
74
  keys: ['x', 'S', 'equal', 'lbrace', 'rbrace', 'semicolon', 'ou'],
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq1.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAgB/E,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CA2DhD"}
1
+ {"version":3,"file":"factoIdRmq1.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAgB/E,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CA4DhD"}
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
14
14
  exports.factoIdRmq1 = {
15
15
  id: 'factoIdRmq1',
16
16
  connector: '=',
17
- instruction: 'Factoriser :',
17
+ instruction: '',
18
18
  isSingleStep: false,
19
19
  label: 'Factorisation du type $a^2 + 2ab + b^2$',
20
20
  levels: ['3ème', '2nde'],
@@ -61,6 +61,7 @@ function getFactoType1Question() {
61
61
  return (0, shuffle_1.shuffle)(res);
62
62
  };
63
63
  const question = {
64
+ instruction: `Factoriser : $${statementTree.toTex()}$`,
64
65
  startStatement: statementTree.toTex(),
65
66
  answer: answerTree.toTex(),
66
67
  keys: ['x'],
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAqEhD"}
1
+ {"version":3,"file":"factoIdRmq2.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAY/E,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAuEhD"}
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
14
14
  exports.factoIdRmq2 = {
15
15
  id: 'factoIdRmq2',
16
16
  connector: '=',
17
- instruction: 'Factoriser :',
17
+ instruction: '',
18
18
  isSingleStep: false,
19
19
  label: 'Factorisation du type $a^2 - 2ab + b^2$',
20
20
  levels: ['3ème', '2nde'],
@@ -69,6 +69,7 @@ function getFactoType1Question() {
69
69
  return (0, shuffle_1.shuffle)(res);
70
70
  };
71
71
  const question = {
72
+ instruction: `Factoriser : $${statementTree.toTex()}$`,
72
73
  startStatement: statementTree.toTex(),
73
74
  answer: answerTree.toTex(),
74
75
  keys: ['x'],
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CA2EhD"}
1
+ {"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAa/E,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CA6EhD"}
@@ -13,7 +13,7 @@ const uuid_1 = require("uuid");
13
13
  exports.factoIdRmq3 = {
14
14
  id: 'factoIdRmq3',
15
15
  connector: '=',
16
- instruction: 'Factoriser :',
16
+ instruction: '',
17
17
  isSingleStep: false,
18
18
  label: 'Factorisation du type $a^2 - b^2$',
19
19
  levels: ['3ème', '2nde'],
@@ -75,6 +75,7 @@ function getFactoType1Question() {
75
75
  return (0, shuffle_1.shuffle)(res);
76
76
  };
77
77
  const question = {
78
+ instruction: `Factoriser : $${statementTree.toTex()}$`,
78
79
  startStatement: statementTree.toTex(),
79
80
  answer: answerTree.toTex(),
80
81
  keys: ['x'],
@@ -1 +1 @@
1
- {"version":3,"file":"factoType1Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoType1Exercise.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,kBAAkB,EAAE,YAYhC,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAmGhD"}
1
+ {"version":3,"file":"factoType1Exercise.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoType1Exercise.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAU/E,eAAO,MAAM,kBAAkB,EAAE,YAYhC,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAqGhD"}
@@ -15,7 +15,7 @@ const uuid_1 = require("uuid");
15
15
  exports.factoType1Exercise = {
16
16
  id: 'facto1',
17
17
  connector: '=',
18
- instruction: 'Factoriser :',
18
+ instruction: '',
19
19
  isSingleStep: false,
20
20
  label: 'Factorisation du type $(ax+b)(cx+d) \\pm (ax+b)(ex+f)$',
21
21
  levels: ['3ème', '2nde'],
@@ -79,6 +79,7 @@ function getFactoType1Question() {
79
79
  return (0, shuffle_1.shuffle)(res);
80
80
  };
81
81
  const question = {
82
+ instruction: `Factoriser : $${statementTree.toTex()}$`,
82
83
  startStatement: statementTree.toTex(),
83
84
  answer: answerTree.toTex(),
84
85
  keys: ['x'],
@@ -1 +1 @@
1
- {"version":3,"file":"reduceExpression.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/simplifying/reduceExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAQ/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CAmI9C"}
1
+ {"version":3,"file":"reduceExpression.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/simplifying/reduceExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAQ/E,eAAO,MAAM,gBAAgB,EAAE,YAY9B,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CAoI9C"}
@@ -10,7 +10,7 @@ const uuid_1 = require("uuid");
10
10
  exports.reduceExpression = {
11
11
  id: 'reduceExpression',
12
12
  connector: '=',
13
- instruction: "Réduire l'expression suivante :",
13
+ instruction: '',
14
14
  isSingleStep: false,
15
15
  label: 'Réduire une expression',
16
16
  levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro'],
@@ -112,6 +112,7 @@ function getReduceExpression() {
112
112
  return (0, shuffle_1.shuffle)(res);
113
113
  };
114
114
  const question = {
115
+ instruction: `Réduire l'expression suivante : $${statement.toTex()}$`,
115
116
  startStatement: statement.toTex(),
116
117
  answer,
117
118
  keys: ['x'],
@@ -13,7 +13,7 @@ exports.sequencePolynomProductLimit = {
13
13
  id: 'sequencePolynomProductLimit',
14
14
  connector: '=',
15
15
  instruction: '',
16
- label: "Limite d'un produit de suites polynomiales)",
16
+ label: "Limite d'un produit de suites polynomiales",
17
17
  levels: ['TermSpé', 'MathComp'],
18
18
  isSingleStep: true,
19
19
  sections: ['Limites', 'Suites'],
@@ -1 +1 @@
1
- {"version":3,"file":"powersDivision.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersDivision.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,cAAc,EAAE,YAW5B,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,YAYjC,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,kBAAkB,GAAE,OAAe,GAAG,QAAQ,CAqDvF"}
1
+ {"version":3,"file":"powersDivision.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersDivision.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,cAAc,EAAE,YAW5B,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,YAYjC,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,kBAAkB,GAAE,OAAe,GAAG,QAAQ,CAsDvF"}
@@ -15,7 +15,7 @@ const uuid_1 = require("uuid");
15
15
  exports.powersDivision = {
16
16
  id: 'powersDivision',
17
17
  connector: '=',
18
- instruction: 'Calculer :',
18
+ instruction: '',
19
19
  label: 'Division de puissances',
20
20
  levels: ['4ème', '3ème', '2nde', '2ndPro', '1reESM', '1rePro', '1reSpé', '1reTech', 'TermPro', 'TermTech'],
21
21
  sections: ['Puissances'],
@@ -70,6 +70,7 @@ function getPowersDivisionQuestion(useOnlyPowersOfTen = false) {
70
70
  return (0, shuffle_1.shuffle)(res);
71
71
  };
72
72
  const question = {
73
+ instruction: `Calculer : $${statement.toTex()}$`,
73
74
  startStatement: statement.toTex(),
74
75
  answer: answerTree.toTex(),
75
76
  keys: [],
@@ -1 +1 @@
1
- {"version":3,"file":"powersOfTenToDecimal.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersOfTenToDecimal.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,oBAAoB,EAAE,YA0BlC,CAAC;AAEF,wBAAgB,+BAA+B,IAAI,QAAQ,CAiD1D"}
1
+ {"version":3,"file":"powersOfTenToDecimal.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersOfTenToDecimal.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,oBAAoB,EAAE,YA0BlC,CAAC;AAEF,wBAAgB,+BAA+B,IAAI,QAAQ,CAmD1D"}
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
14
14
  exports.powersOfTenToDecimal = {
15
15
  id: 'powersOfTenToDecimal',
16
16
  connector: '=',
17
- instruction: "Donner l'écriture décimale de :",
17
+ instruction: '',
18
18
  label: "Ecriture décimale d'une puissance de 10",
19
19
  levels: [
20
20
  '5ème',
@@ -71,6 +71,7 @@ function getPowersOfTenToDecimalQuestion() {
71
71
  return (0, shuffle_1.shuffle)(res);
72
72
  };
73
73
  const question = {
74
+ instruction: `Donner l'écriture décimale de : $${statement.toTex()}$`,
74
75
  startStatement: statement.toTex(),
75
76
  answer: answerTree.toTex(),
76
77
  keys: [],
@@ -1 +1 @@
1
- {"version":3,"file":"powersPower.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersPower.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAmC,MAAM,aAAa,CAAC;AAInG,eAAO,MAAM,gBAAgB,EAAE,YAW9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,kBAAkB,GAAE,OAAe,GAAG,QAAQ,CA0DpF"}
1
+ {"version":3,"file":"powersPower.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersPower.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAmC,MAAM,aAAa,CAAC;AAInG,eAAO,MAAM,gBAAgB,EAAE,YAW9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,YAYzB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,kBAAkB,GAAE,OAAe,GAAG,QAAQ,CA4DpF"}
@@ -14,7 +14,7 @@ const uuid_1 = require("uuid");
14
14
  exports.powersOfTenPower = {
15
15
  id: 'powersOfTenPower',
16
16
  connector: '=',
17
- instruction: 'Calculer :',
17
+ instruction: '',
18
18
  label: "Puissance d'une puissance de 10 ",
19
19
  levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1reESM', '1rePro', '1reSpé', '1reTech', 'TermPro', 'TermTech'],
20
20
  sections: ['Puissances'],
@@ -26,7 +26,7 @@ exports.powersOfTenPower = {
26
26
  exports.powersPower = {
27
27
  id: 'powersPower',
28
28
  connector: '=',
29
- instruction: 'Calculer :',
29
+ instruction: '',
30
30
  label: "Puissance d'une puissance",
31
31
  levels: ['4ème', '3ème', '2nde'],
32
32
  sections: ['Puissances'],
@@ -77,6 +77,7 @@ function getPowersPowerQuestion(useOnlyPowersOfTen = false) {
77
77
  return (0, exercise_1.shuffleProps)(res, n);
78
78
  };
79
79
  const question = {
80
+ instruction: `Calculer : $${statement.toTex()}$`,
80
81
  startStatement: statement.toTex(),
81
82
  answer: answerTree.toTex(),
82
83
  keys: [],
@@ -1 +1 @@
1
- {"version":3,"file":"powersProduct.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersProduct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,kBAAkB,EAAE,YAWhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,kBAAkB,GAAE,OAAe,GAAG,QAAQ,CAqDtF"}
1
+ {"version":3,"file":"powersProduct.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/powersProduct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,kBAAkB,EAAE,YAWhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,YAY3B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,kBAAkB,GAAE,OAAe,GAAG,QAAQ,CAuDtF"}
@@ -15,7 +15,7 @@ const uuid_1 = require("uuid");
15
15
  exports.powersOfTenProduct = {
16
16
  id: 'powersOfTenProduct',
17
17
  connector: '=',
18
- instruction: 'Calculer :',
18
+ instruction: '',
19
19
  label: 'Multiplication de puissances de 10',
20
20
  levels: ['4ème', '3ème', '2nde', 'CAP', '2ndPro', '1reESM', '1rePro', '1reSpé', '1reTech', 'TermPro', 'TermTech'],
21
21
  sections: ['Puissances'],
@@ -27,7 +27,7 @@ exports.powersOfTenProduct = {
27
27
  exports.powersProduct = {
28
28
  id: 'powersProduct',
29
29
  connector: '=',
30
- instruction: 'Calculer :',
30
+ instruction: '',
31
31
  label: 'Multiplication de puissances',
32
32
  levels: ['4ème', '3ème', '2nde'],
33
33
  sections: ['Puissances'],
@@ -70,6 +70,7 @@ function getPowersProductQuestion(useOnlyPowersOfTen = false) {
70
70
  return (0, shuffle_1.shuffle)(res);
71
71
  };
72
72
  const question = {
73
+ instruction: `Calculer : $${statement.toTex()}$`,
73
74
  startStatement: statement.toTex(),
74
75
  answer: answerTree.toTex(),
75
76
  keys: [],
@@ -1 +1 @@
1
- {"version":3,"file":"scientificToDecimal.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/scientificToDecimal.ts"],"names":[],"mappings":"AAAA;;MAEM;AASN,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,mBAAmB,EAAE,YA0BjC,CAAC;AAEF,wBAAgB,8BAA8B,IAAI,QAAQ,CAoDzD"}
1
+ {"version":3,"file":"scientificToDecimal.d.ts","sourceRoot":"","sources":["../../../src/exercises/powers/scientificToDecimal.ts"],"names":[],"mappings":"AAAA;;MAEM;AASN,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,mBAAmB,EAAE,YA0BjC,CAAC;AAEF,wBAAgB,8BAA8B,IAAI,QAAQ,CAsDzD"}
@@ -16,7 +16,7 @@ const uuid_1 = require("uuid");
16
16
  exports.scientificToDecimal = {
17
17
  id: 'scientificToDecimal',
18
18
  connector: '=',
19
- instruction: "Donner l'écriture décimale de :",
19
+ instruction: '',
20
20
  label: 'Ecriture décimale de $a\\times 10^x$',
21
21
  levels: [
22
22
  '5ème',
@@ -73,6 +73,7 @@ function getScientificToDecimalQuestion() {
73
73
  return (0, shuffle_1.shuffle)(res);
74
74
  };
75
75
  const question = {
76
+ instruction: `Donner l'écriture décimale de : $${statement.toTex()}$`,
76
77
  startStatement: statement.toTex(),
77
78
  answer: answerTree.toTex(),
78
79
  keys: [],
@@ -49,7 +49,7 @@ function getArithmeticExplicitFormulaUsage() {
49
49
  return (0, shuffle_1.shuffle)(res);
50
50
  };
51
51
  const question = {
52
- instruction: `$(u_n)$ est une suite arithmétique définie par $u_n = ${polynomial.toString()}$. Calculer :`,
52
+ instruction: `$(u_n)$ est une suite arithmétique définie par $u_n = ${polynomial.toString()}$. Calculer : $u_{${askedRank}}$`,
53
53
  startStatement: `u_{${askedRank}}`,
54
54
  answer: (firstValue + askedRank * reason).toString(),
55
55
  keys: ['r', 'n', 'u', 'underscore'],
@@ -48,7 +48,7 @@ function getArithmeticReasonUsage() {
48
48
  return (0, shuffle_1.shuffle)(res);
49
49
  };
50
50
  const question = {
51
- instruction: `$(u_n)$ est une suite arithmétique de raison $r = ${reason}$ et on sait que $u_{${startRank}} = ${startValue}$. Calculer : `,
51
+ instruction: `$(u_n)$ est une suite arithmétique de raison $r = ${reason}$ et on sait que $u_{${startRank}} = ${startValue}$. Calculer : $u_{${askedRank}}$`,
52
52
  startStatement: `u_{${askedRank}}`,
53
53
  answer: (startValue + reason).toString(),
54
54
  keys: ['r', 'n', 'u', 'underscore'],
@@ -48,7 +48,7 @@ function getArithmeticRecurrenceFormulaUsage() {
48
48
  return (0, shuffle_1.shuffle)(res);
49
49
  };
50
50
  const question = {
51
- instruction: `$(u_n)$ est une suite définie par $u_{n+1} = ${reason} + u_n$ et $u_{${firstRank}} = ${firstValue}$. Calculer :`,
51
+ instruction: `$(u_n)$ est une suite définie par $u_{n+1} = ${reason} + u_n$ et $u_{${firstRank}} = ${firstValue}$. Calculer : $u_{${askedRank}}$`,
52
52
  startStatement: `u_{${askedRank}}`,
53
53
  answer: (firstValue + reason).toString(),
54
54
  keys: ['r', 'n', 'u', 'underscore'],
@@ -54,7 +54,7 @@ function getGeometricExplicitFormulaUsage() {
54
54
  return (0, shuffle_1.shuffle)(res);
55
55
  };
56
56
  const question = {
57
- instruction: `$(u_n)$ est une suite géométrique définie par $u_n = ${formulaTex}$. Calculer :`,
57
+ instruction: `$(u_n)$ est une suite géométrique définie par $u_n = ${formulaTex}$. Calculer : $u_{${askedRank}}$`,
58
58
  startStatement: `u_{${askedRank}}`,
59
59
  answer: (firstValue * Math.pow(reason, askedRank)).toString(),
60
60
  keys: ['n', 'u', 'underscore'],
@@ -55,7 +55,7 @@ function getGeometricReasonUsage() {
55
55
  return (0, shuffle_1.shuffle)(res);
56
56
  };
57
57
  const question = {
58
- instruction: `$(u_n)$ est une suite géométrique de raison $q = ${reason}$ et on sait que $u_{${startRank}} = ${startValue}$. Calculer : `,
58
+ instruction: `$(u_n)$ est une suite géométrique de raison $q = ${reason}$ et on sait que $u_{${startRank}} = ${startValue}$. Calculer : $u_{${askedRank}}$`,
59
59
  startStatement: `u_{${askedRank}}`,
60
60
  answer: (startValue * reason).toString(),
61
61
  keys: ['q', 'n', 'u', 'underscore'],
@@ -55,7 +55,7 @@ function getGeometricRecurrenceFormulaUsage() {
55
55
  return (0, shuffle_1.shuffle)(res);
56
56
  };
57
57
  const question = {
58
- instruction: `$(u_n)$ est une suite définie par $u_{n+1} = ${reason}\\times u_n$ et $u_{${firstRank}} = ${firstValue}$. Calculer :`,
58
+ instruction: `$(u_n)$ est une suite définie par $u_{n+1} = ${reason}\\times u_n$ et $u_{${firstRank}} = ${firstValue}$. Calculer : $u_{${askedRank}}$`,
59
59
  startStatement: `u_{${askedRank}}`,
60
60
  answer: (firstValue * reason).toString(),
61
61
  keys: ['q', 'n', 'u', 'underscore'],
@@ -1 +1 @@
1
- {"version":3,"file":"simpifySquareRoot.d.ts","sourceRoot":"","sources":["../../../src/exercises/squareRoots/simpifySquareRoot.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,kBAAkB,EAAE,YAYhC,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAkDhD"}
1
+ {"version":3,"file":"simpifySquareRoot.d.ts","sourceRoot":"","sources":["../../../src/exercises/squareRoots/simpifySquareRoot.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,kBAAkB,EAAE,YAYhC,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,QAAQ,CAmDhD"}
@@ -8,7 +8,7 @@ const uuid_1 = require("uuid");
8
8
  exports.simplifySquareRoot = {
9
9
  id: 'simplifySqrt',
10
10
  connector: '=',
11
- instruction: 'Simplifier :',
11
+ instruction: '',
12
12
  label: 'Simplification de racines carrées',
13
13
  isSingleStep: false,
14
14
  levels: ['3ème', '2nde', '1reESM'],
@@ -52,6 +52,7 @@ function getSimplifySquareRoot() {
52
52
  return (0, shuffle_1.shuffle)(res);
53
53
  };
54
54
  const question = {
55
+ instruction: `Simplifier : $${squareRoot.toTree().toTex()}$`,
55
56
  startStatement: squareRoot.toTree().toTex(),
56
57
  answer: squareRoot.simplify().toTree().toTex(),
57
58
  keys: [],
@@ -1 +1 @@
1
- {"version":3,"file":"mainRemarkableValues.d.ts","sourceRoot":"","sources":["../../../src/exercises/trigonometry/mainRemarkableValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAmC,MAAM,aAAa,CAAC;AAInG,eAAO,MAAM,4BAA4B,EAAE,YAa1C,CAAC;AAEF,wBAAgB,uBAAuB,IAAI,QAAQ,CA8ClD"}
1
+ {"version":3,"file":"mainRemarkableValues.d.ts","sourceRoot":"","sources":["../../../src/exercises/trigonometry/mainRemarkableValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAmC,MAAM,aAAa,CAAC;AAInG,eAAO,MAAM,4BAA4B,EAAE,YAa1C,CAAC;AAEF,wBAAgB,uBAAuB,IAAI,QAAQ,CAiDlD"}
@@ -9,7 +9,7 @@ const uuid_1 = require("uuid");
9
9
  exports.mainRemarkableValuesExercise = {
10
10
  id: 'mainRemarkableValues',
11
11
  connector: '=',
12
- instruction: 'Donner la valeur exacte :',
12
+ instruction: '',
13
13
  label: 'Valeurs remarquables de $\\cos$ et $\\sin$ sur $[-\\pi, \\pi]$',
14
14
  levels: ['1reSpé', 'TermSpé', 'MathComp'],
15
15
  isSingleStep: true,
@@ -49,10 +49,12 @@ function getMainRemarkableValues() {
49
49
  });
50
50
  return (0, exercise_1.shuffleProps)(props, n);
51
51
  };
52
+ const statement = isCos
53
+ ? `\\cos\\left(${remarkableValue.angle.toTex()}\\right)`
54
+ : `\\sin\\left(${remarkableValue.angle.toTex()}\\right)`;
52
55
  const question = {
53
- startStatement: isCos
54
- ? `\\cos\\left(${remarkableValue.angle.toTex()}\\right)`
55
- : `\\sin\\left(${remarkableValue.angle.toTex()}\\right)`,
56
+ instruction: `Donner la valeur exacte de : $${statement}$`,
57
+ startStatement: statement,
56
58
  answer: answer,
57
59
  keys: ['pi', 'cos', 'sin'],
58
60
  answerFormat: 'tex',
@@ -1 +1 @@
1
- {"version":3,"file":"remarkableValues.d.ts","sourceRoot":"","sources":["../../../src/exercises/trigonometry/remarkableValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CAkD9C"}
1
+ {"version":3,"file":"remarkableValues.d.ts","sourceRoot":"","sources":["../../../src/exercises/trigonometry/remarkableValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIlE,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAC;AAEF,wBAAgB,mBAAmB,IAAI,QAAQ,CAoD9C"}
@@ -9,7 +9,7 @@ const uuid_1 = require("uuid");
9
9
  exports.remarkableValuesExercise = {
10
10
  id: 'remarkableValues',
11
11
  connector: '=',
12
- instruction: 'Donner la valeur exacte :',
12
+ instruction: '',
13
13
  label: 'Valeurs remarquables de $\\cos$ et $\\sin$',
14
14
  levels: ['1reSpé', 'TermSpé', 'MathComp'],
15
15
  isSingleStep: true,
@@ -55,10 +55,12 @@ function getRemarkableValues() {
55
55
  }
56
56
  return props;
57
57
  };
58
+ const statement = isCos
59
+ ? `\\cos\\left(${remarkableValue.angle.toTex()}\\right)`
60
+ : `\\sin\\left(${remarkableValue.angle.toTex()}\\right)`;
58
61
  const question = {
59
- startStatement: isCos
60
- ? `\\cos\\left(${remarkableValue.angle.toTex()}\\right)`
61
- : `\\sin\\left(${remarkableValue.angle.toTex()}\\right)`,
62
+ instruction: `Donner la valeur exacte de : $${statement}$`,
63
+ startStatement: statement,
62
64
  answer: answer,
63
65
  keys: ['pi', 'cos', 'sin'],
64
66
  answerFormat: 'tex',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-exercises",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Math exercises generator for middle school and high school",
5
5
  "main": "lib/index.js",
6
6
  "files": [