math-exercises 2.0.42 → 2.0.43

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 (115) hide show
  1. package/lib/exercises/calcul/arithmetics/commonDivisorsList.d.ts +8 -0
  2. package/lib/exercises/calcul/arithmetics/commonDivisorsList.d.ts.map +1 -0
  3. package/lib/exercises/calcul/arithmetics/commonDivisorsList.js +64 -0
  4. package/lib/exercises/calcul/arithmetics/divisorsList.d.ts +7 -0
  5. package/lib/exercises/calcul/arithmetics/divisorsList.d.ts.map +1 -0
  6. package/lib/exercises/calcul/arithmetics/divisorsList.js +56 -0
  7. package/lib/exercises/calcul/arithmetics/index.d.ts +3 -0
  8. package/lib/exercises/calcul/arithmetics/index.d.ts.map +1 -1
  9. package/lib/exercises/calcul/arithmetics/index.js +3 -0
  10. package/lib/exercises/calcul/arithmetics/pgcdCalcul.d.ts +8 -0
  11. package/lib/exercises/calcul/arithmetics/pgcdCalcul.d.ts.map +1 -0
  12. package/lib/exercises/calcul/arithmetics/pgcdCalcul.js +47 -0
  13. package/lib/exercises/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  14. package/lib/exercises/calculLitteral/index.d.ts +1 -0
  15. package/lib/exercises/calculLitteral/index.d.ts.map +1 -1
  16. package/lib/exercises/calculLitteral/index.js +1 -0
  17. package/lib/exercises/calculLitteral/inequations/index.d.ts +1 -0
  18. package/lib/exercises/calculLitteral/inequations/index.d.ts.map +1 -1
  19. package/lib/exercises/calculLitteral/inequations/index.js +1 -0
  20. package/lib/exercises/calculLitteral/inequations/squareFunctionInequation.d.ts +9 -0
  21. package/lib/exercises/calculLitteral/inequations/squareFunctionInequation.d.ts.map +1 -0
  22. package/lib/exercises/calculLitteral/inequations/squareFunctionInequation.js +65 -0
  23. package/lib/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts +8 -0
  24. package/lib/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -0
  25. package/lib/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.js +56 -0
  26. package/lib/exercises/calculLitteral/systems/basicSystemResolution.d.ts +8 -0
  27. package/lib/exercises/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -0
  28. package/lib/exercises/calculLitteral/systems/basicSystemResolution.js +67 -0
  29. package/lib/exercises/calculLitteral/systems/index.d.ts +3 -0
  30. package/lib/exercises/calculLitteral/systems/index.d.ts.map +1 -0
  31. package/lib/exercises/calculLitteral/systems/index.js +18 -0
  32. package/lib/exercises/derivation/derivative/cosCompositionDerivation.d.ts +8 -0
  33. package/lib/exercises/derivation/derivative/cosCompositionDerivation.d.ts.map +1 -0
  34. package/lib/exercises/derivation/derivative/cosCompositionDerivation.js +56 -0
  35. package/lib/exercises/derivation/derivative/index.d.ts +4 -0
  36. package/lib/exercises/derivation/derivative/index.d.ts.map +1 -1
  37. package/lib/exercises/derivation/derivative/index.js +4 -0
  38. package/lib/exercises/derivation/derivative/powerCompositionDerivation.d.ts +9 -0
  39. package/lib/exercises/derivation/derivative/powerCompositionDerivation.d.ts.map +1 -0
  40. package/lib/exercises/derivation/derivative/powerCompositionDerivation.js +61 -0
  41. package/lib/exercises/derivation/derivative/sinCompositionDerivation.d.ts +8 -0
  42. package/lib/exercises/derivation/derivative/sinCompositionDerivation.d.ts.map +1 -0
  43. package/lib/exercises/derivation/derivative/sinCompositionDerivation.js +57 -0
  44. package/lib/exercises/derivation/derivative/sqrtCompositionDerivation.d.ts +8 -0
  45. package/lib/exercises/derivation/derivative/sqrtCompositionDerivation.d.ts.map +1 -0
  46. package/lib/exercises/derivation/derivative/sqrtCompositionDerivation.js +61 -0
  47. package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.d.ts.map +1 -1
  48. package/lib/exercises/derivation/derivative/thirdDegreeFunctionVariation.js +12 -11
  49. package/lib/exercises/exercise.d.ts +1 -1
  50. package/lib/exercises/exercise.d.ts.map +1 -1
  51. package/lib/exercises/functions/absolute/absoluteValueInequations.d.ts.map +1 -1
  52. package/lib/exercises/functions/absolute/absoluteValueInequations.js +6 -5
  53. package/lib/exercises/functions/affines/signFunction.d.ts.map +1 -1
  54. package/lib/exercises/functions/affines/signFunction.js +7 -6
  55. package/lib/exercises/functions/basics/graphicInequation.d.ts +1 -1
  56. package/lib/exercises/functions/basics/graphicInequation.d.ts.map +1 -1
  57. package/lib/exercises/functions/basics/graphicInequation.js +6 -5
  58. package/lib/exercises/functions/basics/index.d.ts +2 -0
  59. package/lib/exercises/functions/basics/index.d.ts.map +1 -1
  60. package/lib/exercises/functions/basics/index.js +2 -0
  61. package/lib/exercises/functions/basics/twoFunctionsEquation.d.ts +9 -0
  62. package/lib/exercises/functions/basics/twoFunctionsEquation.d.ts.map +1 -0
  63. package/lib/exercises/functions/basics/twoFunctionsEquation.js +135 -0
  64. package/lib/exercises/functions/basics/twoFunctionsInequation.d.ts +17 -0
  65. package/lib/exercises/functions/basics/twoFunctionsInequation.d.ts.map +1 -0
  66. package/lib/exercises/functions/basics/twoFunctionsInequation.js +181 -0
  67. package/lib/exercises/functions/index.d.ts +1 -0
  68. package/lib/exercises/functions/index.d.ts.map +1 -1
  69. package/lib/exercises/functions/index.js +1 -0
  70. package/lib/exercises/functions/square/index.d.ts +2 -0
  71. package/lib/exercises/functions/square/index.d.ts.map +1 -0
  72. package/lib/exercises/functions/square/index.js +17 -0
  73. package/lib/exercises/functions/square/squareImageInterval.d.ts +11 -0
  74. package/lib/exercises/functions/square/squareImageInterval.d.ts.map +1 -0
  75. package/lib/exercises/functions/square/squareImageInterval.js +109 -0
  76. package/lib/exercises/functions/trinoms/secondDegreeInequation.d.ts.map +1 -1
  77. package/lib/exercises/functions/trinoms/secondDegreeInequation.js +4 -3
  78. package/lib/exercises/matrices/matrixInversibilityDomain.d.ts.map +1 -1
  79. package/lib/exercises/matrices/matrixInversibilityDomain.js +3 -2
  80. package/lib/exercises/sets/intervals/inequalityToInterval.d.ts +1 -1
  81. package/lib/exercises/sets/intervals/inequalityToInterval.d.ts.map +1 -1
  82. package/lib/exercises/sets/intervals/intervalsIntersection.d.ts +1 -1
  83. package/lib/exercises/sets/intervals/intervalsIntersection.d.ts.map +1 -1
  84. package/lib/exercises/sets/intervals/intervalsUnion.d.ts +1 -1
  85. package/lib/exercises/sets/intervals/intervalsUnion.d.ts.map +1 -1
  86. package/lib/index.d.ts +55 -6
  87. package/lib/index.d.ts.map +1 -1
  88. package/lib/math/polynomials/affine.d.ts.map +1 -1
  89. package/lib/math/sets/intervals/intervals.d.ts +2 -1
  90. package/lib/math/sets/intervals/intervals.d.ts.map +1 -1
  91. package/lib/math/sets/intervals/intervals.js +14 -13
  92. package/lib/math/systems/system.d.ts +14 -0
  93. package/lib/math/systems/system.d.ts.map +1 -0
  94. package/lib/math/systems/system.js +71 -0
  95. package/lib/math/utils/arithmetic/isPrime.d.ts +2 -0
  96. package/lib/math/utils/arithmetic/isPrime.d.ts.map +1 -0
  97. package/lib/math/utils/arithmetic/isPrime.js +14 -0
  98. package/lib/server.d.ts.map +1 -1
  99. package/lib/server.js +0 -5
  100. package/lib/tree/nodes/inequations/inequationNode.d.ts.map +1 -1
  101. package/lib/tree/nodes/inequations/inequationNode.js +9 -8
  102. package/lib/tree/nodes/numbers/infiniteNode.d.ts +2 -0
  103. package/lib/tree/nodes/numbers/infiniteNode.d.ts.map +1 -1
  104. package/lib/tree/nodes/numbers/infiniteNode.js +6 -1
  105. package/lib/tree/nodes/operators/fractionNode.js +3 -3
  106. package/lib/tree/nodes/sets/closure.d.ts +13 -0
  107. package/lib/tree/nodes/sets/closure.d.ts.map +1 -0
  108. package/lib/tree/nodes/sets/closure.js +63 -0
  109. package/lib/tree/nodes/sets/intervalNode.d.ts +4 -7
  110. package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
  111. package/lib/tree/nodes/sets/intervalNode.js +29 -26
  112. package/lib/tree/nodes/sets/unionIntervalNode.d.ts +0 -6
  113. package/lib/tree/nodes/sets/unionIntervalNode.d.ts.map +1 -1
  114. package/lib/tree/nodes/sets/unionIntervalNode.js +4 -10
  115. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ b: number;
5
+ };
6
+ export declare const commonDivisorsList: MathExercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=commonDivisorsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commonDivisorsList.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/commonDivisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA2DF,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,WAAW,CAYxD,CAAC"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonDivisorsList = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const dividersOf_1 = require("../../../math/utils/arithmetic/dividersOf");
7
+ const gcd_1 = require("../../../math/utils/arithmetic/gcd");
8
+ const isPrime_1 = require("../../../math/utils/arithmetic/isPrime");
9
+ const randint_1 = require("../../../math/utils/random/randint");
10
+ const coinFlip_1 = require("../../../utils/coinFlip");
11
+ const doWhile_1 = require("../../../utils/doWhile");
12
+ const getCommonDivisorsListQuestion = () => {
13
+ const a = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(30, 150), (x) => (0, isPrime_1.isPrime)(x));
14
+ const b = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(30, 150), (x) => x === a || (0, gcd_1.gcd)(a, x) === 1);
15
+ const divisorsA = (0, dividersOf_1.dividersOf)(a);
16
+ const divisorsB = (0, dividersOf_1.dividersOf)(b);
17
+ const res = [];
18
+ divisorsA.forEach((n) => divisorsB.includes(n) && res.push(n));
19
+ res.sort((a, b) => a - b);
20
+ const answer = res.join(",");
21
+ const question = {
22
+ answer,
23
+ instruction: `Donner la liste des diviseurs communs à ${a} et ${b} (séparer les valeurs par des virgules).`,
24
+ keys: [],
25
+ answerFormat: "tex",
26
+ identifiers: { a, b },
27
+ };
28
+ return question;
29
+ };
30
+ const getPropositions = (n, { answer, a, b }) => {
31
+ const propositions = [];
32
+ (0, exercise_1.addValidProp)(propositions, answer);
33
+ const values = answer.split(",").map((v) => Number(v));
34
+ const max = Math.max(a, b);
35
+ while (propositions.length < n) {
36
+ const newValue = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(2, max), (x) => values.includes(max));
37
+ const copy = values.slice();
38
+ const willRemove = (0, coinFlip_1.coinFlip)();
39
+ willRemove
40
+ ? copy.splice((0, randint_1.randint)(0, values.length), 1)
41
+ : copy.splice(0, 0, newValue);
42
+ (0, exercise_1.tryToAddWrongProp)(propositions, willRemove ? copy.join(",") : copy.sort((a, b) => a - b).join(","));
43
+ }
44
+ return (0, exercise_1.shuffleProps)(propositions, n);
45
+ };
46
+ const isAnswerValid = (ans, { answer }) => {
47
+ let values = ans.split(",").map((v) => Number(v));
48
+ if (values.some((v) => isNaN(v)))
49
+ return false;
50
+ values.sort((a, b) => a - b);
51
+ return values.join(",") === answer;
52
+ };
53
+ exports.commonDivisorsList = {
54
+ id: "commonDivisorsList",
55
+ label: "Déterminer les diviseurs communs de deux nombres",
56
+ levels: ["2nde"],
57
+ isSingleStep: true,
58
+ sections: ["Arithmétique"],
59
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getCommonDivisorsListQuestion, nb),
60
+ qcmTimer: 60,
61
+ freeTimer: 60,
62
+ getPropositions,
63
+ isAnswerValid,
64
+ };
@@ -0,0 +1,7 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ };
5
+ export declare const divisorsList: MathExercise<Identifiers>;
6
+ export {};
7
+ //# sourceMappingURL=divisorsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"divisorsList.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/divisorsList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AA6CF,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,WAAW,CAWlD,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.divisorsList = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const dividersOf_1 = require("../../../math/utils/arithmetic/dividersOf");
7
+ const randint_1 = require("../../../math/utils/random/randint");
8
+ const coinFlip_1 = require("../../../utils/coinFlip");
9
+ const doWhile_1 = require("../../../utils/doWhile");
10
+ const getDivisorsListQuestion = () => {
11
+ const a = (0, randint_1.randint)(30, 90);
12
+ const divisors = (0, dividersOf_1.dividersOf)(a);
13
+ const answer = divisors.join(",");
14
+ const question = {
15
+ answer,
16
+ instruction: `Donner la liste des diviseurs de ${a} (séparer les valeurs par des virgules).`,
17
+ keys: [],
18
+ answerFormat: "tex",
19
+ identifiers: { a },
20
+ };
21
+ return question;
22
+ };
23
+ const getPropositions = (n, { answer }) => {
24
+ const propositions = [];
25
+ (0, exercise_1.addValidProp)(propositions, answer);
26
+ const values = answer.split(",").map((v) => Number(v));
27
+ while (propositions.length < n) {
28
+ const newValue = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(2, values[values.length - 1]), (x) => values.includes(x));
29
+ const copy = values.slice();
30
+ const willRemove = (0, coinFlip_1.coinFlip)();
31
+ willRemove
32
+ ? copy.splice((0, randint_1.randint)(0, values.length), 1)
33
+ : copy.splice(0, 0, newValue);
34
+ (0, exercise_1.tryToAddWrongProp)(propositions, willRemove ? copy.join(",") : copy.sort((a, b) => a - b).join(","));
35
+ }
36
+ return (0, exercise_1.shuffleProps)(propositions, n);
37
+ };
38
+ const isAnswerValid = (ans, { answer }) => {
39
+ let values = ans.split(",").map((v) => Number(v));
40
+ if (values.some((v) => isNaN(v)))
41
+ return false;
42
+ values.sort((a, b) => a - b);
43
+ return values.join(",") === answer;
44
+ };
45
+ exports.divisorsList = {
46
+ id: "divisorsList",
47
+ label: "Déterminer les diviseurs d'un nombre",
48
+ levels: ["2nde"],
49
+ isSingleStep: true,
50
+ sections: ["Arithmétique"],
51
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getDivisorsListQuestion, nb),
52
+ qcmTimer: 60,
53
+ freeTimer: 60,
54
+ getPropositions,
55
+ isAnswerValid,
56
+ };
@@ -1,4 +1,7 @@
1
1
  export * from "./euclideanDivision";
2
2
  export * from "./paritySumsAndProducts";
3
3
  export * from "./primeNumbers";
4
+ export * from "./pgcdCalcul";
5
+ export * from "./divisorsList";
6
+ export * from "./commonDivisorsList";
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
@@ -17,3 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./euclideanDivision"), exports);
18
18
  __exportStar(require("./paritySumsAndProducts"), exports);
19
19
  __exportStar(require("./primeNumbers"), exports);
20
+ __exportStar(require("./pgcdCalcul"), exports);
21
+ __exportStar(require("./divisorsList"), exports);
22
+ __exportStar(require("./commonDivisorsList"), exports);
@@ -0,0 +1,8 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ type Identifiers = {
3
+ a: number;
4
+ b: number;
5
+ };
6
+ export declare const pgcdCalcul: MathExercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=pgcdCalcul.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pgcdCalcul.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calcul/arithmetics/pgcdCalcul.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqCF,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,WAAW,CAYhD,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pgcdCalcul = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const gcd_1 = require("../../../math/utils/arithmetic/gcd");
7
+ const isPrime_1 = require("../../../math/utils/arithmetic/isPrime");
8
+ const randint_1 = require("../../../math/utils/random/randint");
9
+ const doWhile_1 = require("../../../utils/doWhile");
10
+ const getPgcdCalculQuestion = () => {
11
+ const a = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(30, 150), (x) => (0, isPrime_1.isPrime)(x));
12
+ const b = (0, doWhile_1.doWhile)(() => (0, randint_1.randint)(30, 150), (x) => x === a || (0, gcd_1.gcd)(a, x) === 1);
13
+ const pgcd = (0, gcd_1.gcd)(a, b);
14
+ const question = {
15
+ answer: pgcd + "",
16
+ instruction: `Donner le PGCD de ${a} et ${b}`,
17
+ keys: [],
18
+ answerFormat: "tex",
19
+ identifiers: { a, b },
20
+ };
21
+ return question;
22
+ };
23
+ const getPropositions = (n, { answer }) => {
24
+ const propositions = [];
25
+ (0, exercise_1.addValidProp)(propositions, answer);
26
+ (0, exercise_1.tryToAddWrongProp)(propositions, "1");
27
+ while (propositions.length < n) {
28
+ (0, exercise_1.tryToAddWrongProp)(propositions, (0, randint_1.randint)(2, 11) + "");
29
+ }
30
+ return (0, exercise_1.shuffleProps)(propositions, n);
31
+ };
32
+ const isAnswerValid = (ans, { answer }) => {
33
+ return ans === answer;
34
+ };
35
+ exports.pgcdCalcul = {
36
+ id: "pgcdCalcul",
37
+ connector: "=",
38
+ label: "Calculer un PGCD",
39
+ levels: ["2nde", "1reSpé", "MathExp"],
40
+ isSingleStep: true,
41
+ sections: ["Arithmétique"],
42
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getPgcdCalculQuestion, nb),
43
+ qcmTimer: 60,
44
+ freeTimer: 60,
45
+ getPropositions,
46
+ isAnswerValid,
47
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AASlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAgFF,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,WAAW,CAYjD,CAAC"}
1
+ {"version":3,"file":"factoIdRmq3.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/factorisation/factoIdRmq3.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAgFF,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,WAAW,CAYjD,CAAC"}
@@ -3,4 +3,5 @@ export * from "./equation";
3
3
  export * from "./factorisation";
4
4
  export * from "./inequations";
5
5
  export * from "./simplifying";
6
+ export * from "./systems";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/calculLitteral/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exercises/calculLitteral/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
@@ -19,3 +19,4 @@ __exportStar(require("./equation"), exports);
19
19
  __exportStar(require("./factorisation"), exports);
20
20
  __exportStar(require("./inequations"), exports);
21
21
  __exportStar(require("./simplifying"), exports);
22
+ __exportStar(require("./systems"), exports);
@@ -2,4 +2,5 @@ export * from "./firstDegreeInequationsType0";
2
2
  export * from "./firstDegreeInequationsType1";
3
3
  export * from "./firstDegreeInequationsType2";
4
4
  export * from "./firstDegreeInequationsType3";
5
+ export * from "./squareFunctionInequation";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/inequations/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/inequations/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC"}
@@ -18,3 +18,4 @@ __exportStar(require("./firstDegreeInequationsType0"), exports);
18
18
  __exportStar(require("./firstDegreeInequationsType1"), exports);
19
19
  __exportStar(require("./firstDegreeInequationsType2"), exports);
20
20
  __exportStar(require("./firstDegreeInequationsType3"), exports);
21
+ __exportStar(require("./squareFunctionInequation"), exports);
@@ -0,0 +1,9 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ import { InegalitySymbols } from "../../../math/inequations/inequation";
3
+ type Identifiers = {
4
+ k: number;
5
+ inequationSymbol: InegalitySymbols;
6
+ };
7
+ export declare const squareFunctionInequation: MathExercise<Identifiers>;
8
+ export {};
9
+ //# sourceMappingURL=squareFunctionInequation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"squareFunctionInequation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/inequations/squareFunctionInequation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,gBAAgB,EAGjB,MAAM,mCAAmC,CAAC;AAc3C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC;AAoEF,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,WAAW,CAY9D,CAAC"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.squareFunctionInequation = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const inequation_1 = require("../../../math/inequations/inequation");
7
+ const randint_1 = require("../../../math/utils/random/randint");
8
+ const oppositeNode_1 = require("../../../tree/nodes/functions/oppositeNode");
9
+ const sqrtNode_1 = require("../../../tree/nodes/functions/sqrtNode");
10
+ const inequationSolutionNode_1 = require("../../../tree/nodes/inequations/inequationSolutionNode");
11
+ const closure_1 = require("../../../tree/nodes/sets/closure");
12
+ const intervalNode_1 = require("../../../tree/nodes/sets/intervalNode");
13
+ const coinFlip_1 = require("../../../utils/coinFlip");
14
+ const getAnswer = (k, ineqSymbol) => {
15
+ const sqrt = Math.sqrt(k);
16
+ const sqrtTree = Math.floor(sqrt) === sqrt ? sqrt.toTree() : new sqrtNode_1.SqrtNode(k.toTree());
17
+ const inequationSymbol = new inequation_1.InequationSymbol(ineqSymbol);
18
+ const isStrict = inequationSymbol.isStrict;
19
+ const insideInterval = new intervalNode_1.IntervalNode(new oppositeNode_1.OppositeNode(sqrtTree), sqrtTree, isStrict ? closure_1.ClosureType.OO : closure_1.ClosureType.FF);
20
+ const set = inequationSymbol.isSup
21
+ ? insideInterval.toReversedClosure().toComplement()
22
+ : insideInterval;
23
+ const solution = new inequationSolutionNode_1.InequationSolutionNode(set);
24
+ return solution;
25
+ };
26
+ const getSquareFunctionInequationQuestion = () => {
27
+ const k = (0, coinFlip_1.coinFlip)() ? (0, randint_1.randint)(1, 11) ** 2 : (0, randint_1.randint)(1, 100);
28
+ const inequationSymbol = inequation_1.InequationSymbolConstructor.random();
29
+ const solution = getAnswer(k, inequationSymbol.symbol);
30
+ const question = {
31
+ answer: solution.toTex(),
32
+ instruction: `Résoudre l'inéquation suivante : $x^2 ${inequationSymbol.symbol} ${k}$`,
33
+ keys: ["S", "equal", "lbracket", "rbracket", "semicolon", "infty", "cup"],
34
+ answerFormat: "tex",
35
+ identifiers: { k, inequationSymbol: inequationSymbol.symbol },
36
+ };
37
+ return question;
38
+ };
39
+ const getPropositions = (n, { answer, k, inequationSymbol }) => {
40
+ const propositions = [];
41
+ (0, exercise_1.addValidProp)(propositions, answer);
42
+ (0, exercise_1.tryToAddWrongProp)(propositions, getAnswer(k ** 2, inequationSymbol).toTex());
43
+ (0, exercise_1.tryToAddWrongProp)(propositions, getAnswer(k, new inequation_1.InequationSymbol(inequationSymbol).reversed()).toTex());
44
+ while (propositions.length < n) {
45
+ (0, exercise_1.tryToAddWrongProp)(propositions, getAnswer((0, randint_1.randint)(1, 100), inequationSymbol).toTex());
46
+ }
47
+ return (0, exercise_1.shuffleProps)(propositions, n);
48
+ };
49
+ const isAnswerValid = (ans, { answer, k, inequationSymbol }) => {
50
+ const solution = getAnswer(k, inequationSymbol);
51
+ const texs = solution.toAllValidTexs();
52
+ return texs.includes(ans);
53
+ };
54
+ exports.squareFunctionInequation = {
55
+ id: "squareFunctionInequation",
56
+ label: "Résoudre une inéquation du type $x^2 < k$",
57
+ levels: ["2nde"],
58
+ isSingleStep: true,
59
+ sections: ["Fonctions de référence", "Inéquations"],
60
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getSquareFunctionInequationQuestion, nb),
61
+ qcmTimer: 60,
62
+ freeTimer: 60,
63
+ getPropositions,
64
+ isAnswerValid,
65
+ };
@@ -0,0 +1,8 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ type Identifiers = {
3
+ coeffs: number[][];
4
+ isXAsked: boolean;
5
+ };
6
+ export declare const basicNiceValuesSystemResolution: MathExercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=basicNiceValuesSystemResolution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"basicNiceValuesSystemResolution.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/systems/basicNiceValuesSystemResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAOlC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA8CF,eAAO,MAAM,+BAA+B,EAAE,YAAY,CAAC,WAAW,CAarE,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.basicNiceValuesSystemResolution = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const system_1 = require("../../../math/systems/system");
7
+ const randint_1 = require("../../../math/utils/random/randint");
8
+ const coinFlip_1 = require("../../../utils/coinFlip");
9
+ //{ a1x + b1y = c1 , a2x + b2y = c2}
10
+ const getBasicNiceValuesSystemResolutionQuestion = () => {
11
+ //need a1/b1 != a2/b2
12
+ const sys = system_1.SystemConstructor.niceValues();
13
+ const { x, y } = sys.solve();
14
+ const isXAsked = (0, coinFlip_1.coinFlip)();
15
+ const variable = isXAsked ? "x" : "y";
16
+ const answer = isXAsked ? x.toTex() : y.toTex();
17
+ const question = {
18
+ answer,
19
+ instruction: `Soit le système d'équations suivant :
20
+
21
+ $${sys.toTex()}$
22
+
23
+ Que vaut $${variable}$ ?`,
24
+ keys: [],
25
+ answerFormat: "tex",
26
+ identifiers: { coeffs: sys.coeffs, isXAsked },
27
+ };
28
+ return question;
29
+ };
30
+ const getPropositions = (n, { answer, coeffs, isXAsked }) => {
31
+ const propositions = [];
32
+ const sys = new system_1.System(coeffs);
33
+ const { x, y } = sys.solve();
34
+ (0, exercise_1.addValidProp)(propositions, answer);
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, isXAsked ? y.toTex() : x.toTex());
36
+ while (propositions.length < n) {
37
+ (0, exercise_1.tryToAddWrongProp)(propositions, (0, randint_1.randint)(-10, 11) + "");
38
+ }
39
+ return (0, exercise_1.shuffleProps)(propositions, n);
40
+ };
41
+ const isAnswerValid = (ans, { answer, coeffs, isXAsked }) => {
42
+ return ans === answer;
43
+ };
44
+ exports.basicNiceValuesSystemResolution = {
45
+ id: "basicNiceValuesSystemResolution",
46
+ connector: "=",
47
+ label: "Résoudre un système d'équations (solutions entières)",
48
+ levels: ["2nde", "1reSpé"],
49
+ isSingleStep: true,
50
+ sections: ["Systèmes"],
51
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getBasicNiceValuesSystemResolutionQuestion, nb),
52
+ qcmTimer: 60,
53
+ freeTimer: 60,
54
+ getPropositions,
55
+ isAnswerValid,
56
+ };
@@ -0,0 +1,8 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ type Identifiers = {
3
+ coeffs: number[][];
4
+ isXAsked: boolean;
5
+ };
6
+ export declare const basicSystemResolution: MathExercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=basicSystemResolution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"basicSystemResolution.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/systems/basicSystemResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAMlC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA0DF,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,WAAW,CAa3D,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.basicSystemResolution = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const rational_1 = require("../../../math/numbers/rationals/rational");
7
+ const system_1 = require("../../../math/systems/system");
8
+ const coinFlip_1 = require("../../../utils/coinFlip");
9
+ //{ a1x + b1y = c1 , a2x + b2y = c2}
10
+ const getBasicSystemResolutionQuestion = () => {
11
+ //need a1/b1 != a2/b2
12
+ const sys = system_1.SystemConstructor.random();
13
+ const { x, y } = sys.solve();
14
+ const isXAsked = (0, coinFlip_1.coinFlip)();
15
+ const variable = isXAsked ? "x" : "y";
16
+ const answer = isXAsked ? x.toTex() : y.toTex();
17
+ const question = {
18
+ answer,
19
+ instruction: `Soit le système d'équations suivant :
20
+
21
+ $${sys.toTex()}$
22
+
23
+ Que vaut $${variable}$ ?`,
24
+ keys: [],
25
+ answerFormat: "tex",
26
+ identifiers: { coeffs: sys.coeffs, isXAsked },
27
+ };
28
+ return question;
29
+ };
30
+ const getPropositions = (n, { answer, coeffs, isXAsked }) => {
31
+ const propositions = [];
32
+ const sys = new system_1.System(coeffs);
33
+ const { x, y } = sys.solve();
34
+ (0, exercise_1.addValidProp)(propositions, answer);
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, isXAsked ? y.toTex() : x.toTex());
36
+ while (propositions.length < n) {
37
+ (0, exercise_1.tryToAddWrongProp)(propositions, rational_1.RationalConstructor.randomIrreductible().toTree().toTex());
38
+ }
39
+ return (0, exercise_1.shuffleProps)(propositions, n);
40
+ };
41
+ const isAnswerValid = (ans, { answer, coeffs, isXAsked }) => {
42
+ const sys = new system_1.System(coeffs);
43
+ const { x, y } = sys.solve();
44
+ const texs = isXAsked
45
+ ? x.toAllValidTexs({
46
+ allowFractionToDecimal: true,
47
+ allowMinusAnywhereInFraction: true,
48
+ })
49
+ : y.toAllValidTexs({
50
+ allowFractionToDecimal: true,
51
+ allowMinusAnywhereInFraction: true,
52
+ });
53
+ return texs.includes(ans);
54
+ };
55
+ exports.basicSystemResolution = {
56
+ id: "basicSystemResolution",
57
+ connector: "=",
58
+ label: "Résoudre un système d'équations",
59
+ levels: ["2nde", "1reSpé"],
60
+ isSingleStep: true,
61
+ sections: ["Systèmes"],
62
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getBasicSystemResolutionQuestion, nb),
63
+ qcmTimer: 60,
64
+ freeTimer: 60,
65
+ getPropositions,
66
+ isAnswerValid,
67
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./basicSystemResolution";
2
+ export * from "./basicNiceValuesSystemResolution";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/calculLitteral/systems/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./basicSystemResolution"), exports);
18
+ __exportStar(require("./basicNiceValuesSystemResolution"), exports);
@@ -0,0 +1,8 @@
1
+ import { MathExercise } from "../../../exercises/exercise";
2
+ type Identifiers = {
3
+ affineA: number;
4
+ affineB: number;
5
+ };
6
+ export declare const cosCompositionDerivation: MathExercise<Identifiers>;
7
+ export {};
8
+ //# sourceMappingURL=cosCompositionDerivation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cosCompositionDerivation.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/cosCompositionDerivation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EASb,MAAM,0BAA0B,CAAC;AAWlC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA+DF,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,WAAW,CAa9D,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cosCompositionDerivation = void 0;
4
+ const exercise_1 = require("../../../exercises/exercise");
5
+ const getDistinctQuestions_1 = require("../../../exercises/utils/getDistinctQuestions");
6
+ const affine_1 = require("../../../math/polynomials/affine");
7
+ const cosNode_1 = require("../../../tree/nodes/functions/cosNode");
8
+ const oppositeNode_1 = require("../../../tree/nodes/functions/oppositeNode");
9
+ const sinNode_1 = require("../../../tree/nodes/functions/sinNode");
10
+ const multiplyNode_1 = require("../../../tree/nodes/operators/multiplyNode");
11
+ const getCosCompositionDerivationQuestion = () => {
12
+ const affine = affine_1.AffineConstructor.random(undefined, { excludes: [0] });
13
+ const fct = new cosNode_1.CosNode(affine.toTree());
14
+ const deriv = new multiplyNode_1.MultiplyNode((-affine.a).toTree(), new sinNode_1.SinNode(affine.toTree()));
15
+ const question = {
16
+ answer: deriv.toTex(),
17
+ instruction: `Déterminer la dérivée de la fonction $f(x) = ${fct.toTex()}$`,
18
+ keys: ["x", "sin", "cos", "tan"],
19
+ answerFormat: "tex",
20
+ identifiers: { affineA: affine.a, affineB: affine.b },
21
+ };
22
+ return question;
23
+ };
24
+ const getPropositions = (n, { answer, affineA, affineB }) => {
25
+ const propositions = [];
26
+ (0, exercise_1.addValidProp)(propositions, answer);
27
+ const affine = new affine_1.Affine(affineA, affineB);
28
+ const affineTree = affine.toTree();
29
+ const fct = new cosNode_1.CosNode(affineTree);
30
+ const sin = new sinNode_1.SinNode(affineTree);
31
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(affineA.toTree(), sin).toTex());
32
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode(affineA.toTree(), fct).toTex());
33
+ (0, exercise_1.tryToAddWrongProp)(propositions, new multiplyNode_1.MultiplyNode((-affineA).toTree(), fct).toTex());
34
+ (0, exercise_1.tryToAddWrongProp)(propositions, sin.toTex());
35
+ (0, exercise_1.tryToAddWrongProp)(propositions, new oppositeNode_1.OppositeNode(sin).toTex());
36
+ return (0, exercise_1.shuffleProps)(propositions, n);
37
+ };
38
+ const isAnswerValid = (ans, { answer, affineA, affineB }) => {
39
+ const affine = new affine_1.Affine(affineA, affineB);
40
+ const deriv = new multiplyNode_1.MultiplyNode((-affineA).toTree(), new sinNode_1.SinNode(affine.toTree()));
41
+ const texs = deriv.toAllValidTexs();
42
+ return texs.includes(ans);
43
+ };
44
+ exports.cosCompositionDerivation = {
45
+ id: "cosCompositionDerivation",
46
+ connector: "=",
47
+ label: "Dérivée de $\\cos(ax+b)$",
48
+ levels: ["1reSpé"],
49
+ isSingleStep: true,
50
+ sections: ["Dérivation"],
51
+ generator: (nb) => (0, getDistinctQuestions_1.getDistinctQuestions)(getCosCompositionDerivationQuestion, nb),
52
+ qcmTimer: 60,
53
+ freeTimer: 60,
54
+ getPropositions,
55
+ isAnswerValid,
56
+ };
@@ -15,4 +15,8 @@ export { secondDegreeDerivative } from "./secondDegreeDerivative";
15
15
  export { thirdDegreeDerivative } from "./thirdDegreeDerivative";
16
16
  export * from "./thirdDegreeFunctionVariation";
17
17
  export * from "./usualderivative";
18
+ export * from "./sqrtCompositionDerivation";
19
+ export * from "./cosCompositionDerivation";
20
+ export * from "./sinCompositionDerivation";
21
+ export * from "./powerCompositionDerivation";
18
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/exercises/derivation/derivative/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
@@ -36,3 +36,7 @@ var thirdDegreeDerivative_1 = require("./thirdDegreeDerivative");
36
36
  Object.defineProperty(exports, "thirdDegreeDerivative", { enumerable: true, get: function () { return thirdDegreeDerivative_1.thirdDegreeDerivative; } });
37
37
  __exportStar(require("./thirdDegreeFunctionVariation"), exports);
38
38
  __exportStar(require("./usualderivative"), exports);
39
+ __exportStar(require("./sqrtCompositionDerivation"), exports);
40
+ __exportStar(require("./cosCompositionDerivation"), exports);
41
+ __exportStar(require("./sinCompositionDerivation"), exports);
42
+ __exportStar(require("./powerCompositionDerivation"), exports);