math-exercises 3.0.184 → 3.0.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/exercises/exercise.d.ts +1 -0
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/index.d.ts +2 -0
- package/lib/exercises/math/derivation/derivative/exp/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/exp/index.js +2 -0
- package/lib/exercises/math/derivation/derivative/index.d.ts +3 -0
- package/lib/exercises/math/derivation/derivative/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/index.js +3 -0
- package/lib/exercises/math/derivation/derivativeNumber/index.d.ts +2 -0
- package/lib/exercises/math/derivation/derivativeNumber/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivativeNumber/index.js +2 -0
- package/lib/exercises/math/derivation/index.d.ts +1 -0
- package/lib/exercises/math/derivation/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/index.js +1 -0
- package/lib/exercises/math/derivation/tangent/index.d.ts +9 -0
- package/lib/exercises/math/derivation/tangent/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/index.js +9 -0
- package/lib/exercises/math/derivation/variations/index.d.ts +8 -0
- package/lib/exercises/math/derivation/variations/index.d.ts.map +1 -1
- package/lib/exercises/math/derivation/variations/index.js +8 -0
- package/lib/exercises/math/derivation/variations/signVarTable3dDegree.d.ts +10 -0
- package/lib/exercises/math/derivation/variations/signVarTable3dDegree.d.ts.map +1 -1
- package/lib/exercises/math/derivation/variations/signVarTable3dDegree.js +235 -231
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.d.ts.map +1 -1
- package/lib/exercises/math/functions/exponential/algebraic/approxExpAPlusB.js +91 -38
- package/lib/exercises/math/probaStat/trees/index.d.ts +1 -1
- package/lib/exercises/math/probaStat/trees/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/trees/index.js +1 -3
- package/lib/exercises/math/probaStat/trees/probabilityTree.d.ts +9 -3
- package/lib/exercises/math/probaStat/trees/probabilityTree.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/trees/probabilityTree.js +419 -45
- package/lib/exercises/math/python/index.d.ts +1 -0
- package/lib/exercises/math/python/index.d.ts.map +1 -1
- package/lib/exercises/math/python/index.js +1 -0
- package/lib/exercises/math/python/list/index.d.ts +11 -0
- package/lib/exercises/math/python/list/index.d.ts.map +1 -0
- package/lib/exercises/math/python/list/index.js +10 -0
- package/lib/exercises/math/python/list/pyListAppend.d.ts +29 -0
- package/lib/exercises/math/python/list/pyListAppend.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListAppend.js +280 -0
- package/lib/exercises/math/python/list/pyListCreateListByComprehension.d.ts +11 -0
- package/lib/exercises/math/python/list/pyListCreateListByComprehension.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListCreateListByComprehension.js +231 -0
- package/lib/exercises/math/python/list/pyListCreateListInstructionCompletion.d.ts +9 -0
- package/lib/exercises/math/python/list/pyListCreateListInstructionCompletion.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListCreateListInstructionCompletion.js +232 -0
- package/lib/exercises/math/python/list/pyListElemAtIndex.d.ts +9 -0
- package/lib/exercises/math/python/list/pyListElemAtIndex.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListElemAtIndex.js +292 -0
- package/lib/exercises/math/python/list/pyListMutationMix.d.ts +29 -0
- package/lib/exercises/math/python/list/pyListMutationMix.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListMutationMix.js +455 -0
- package/lib/exercises/math/python/list/pyListRemove.d.ts +29 -0
- package/lib/exercises/math/python/list/pyListRemove.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListRemove.js +375 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndex.d.ts +29 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndex.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndex.js +331 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndexInstructionCompletion.d.ts +9 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndexInstructionCompletion.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndexInstructionCompletion.js +346 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndexWaterfall.d.ts +29 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndexWaterfall.d.ts.map +1 -0
- package/lib/exercises/math/python/list/pyListSetElemAtIndexWaterfall.js +394 -0
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindRankFromSituation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindRankFromSituation.js +3 -3
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindThresholdFromSituation.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/situations/arithmeticFindThresholdFromSituation.js +2 -2
- package/lib/exercises/math/sequences/arithmetic/situations/index.d.ts +2 -0
- package/lib/exercises/math/sequences/arithmetic/situations/index.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/situations/index.js +2 -2
- package/lib/geogebra/geogebraConstructor.d.ts +1 -0
- package/lib/geogebra/geogebraConstructor.d.ts.map +1 -1
- package/lib/geogebra/geogebraConstructor.js +3 -0
- package/lib/index.d.ts +293 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/math/geometry/line.js +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticSituations.d.ts +2 -0
- package/lib/math/utils/sequences/situations/seqArithmeticSituations.d.ts.map +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticSituations.js +150 -128
- package/lib/math/utils/sequences/situations/seqArithmeticUtils.d.ts +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticUtils.d.ts.map +1 -1
- package/lib/math/utils/sequences/situations/seqArithmeticUtils.js +4 -1
- package/lib/tests/questionTest.d.ts.map +1 -1
- package/lib/tests/questionTest.js +1 -0
- package/lib/tree/nodes/functions/sqrtNode.d.ts +1 -1
- package/lib/tree/nodes/functions/sqrtNode.d.ts.map +1 -1
- package/lib/tree/nodes/functions/sqrtNode.js +5 -3
- package/package.json +1 -1
|
@@ -1,231 +1,235 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
1
|
+
import { GeneratorOptionTarget, GeneratorOptionType, } from "../../../../exercises/exercise.js";
|
|
2
|
+
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
|
+
import { varSignTableVEA } from "../../../../exercises/vea/varSignTableVEA.js";
|
|
4
|
+
import { Trinom, TrinomConstructor } from "../../../../math/polynomials/trinom.js";
|
|
5
|
+
import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
|
|
6
|
+
const getAnswerTable = (identifiers, opts) => {
|
|
7
|
+
const { a, b, c } = identifiers;
|
|
8
|
+
const trinom = new Trinom(a, b, c);
|
|
9
|
+
const poly = trinom.integrateToNode({}, true);
|
|
10
|
+
const roots = trinom.getRootsNode();
|
|
11
|
+
const imgs = opts?.doNotAskImages
|
|
12
|
+
? ["\\ ", "\\ "]
|
|
13
|
+
: roots.map((r) => poly
|
|
14
|
+
.toDetailedEvaluation({
|
|
15
|
+
x: r,
|
|
16
|
+
})
|
|
17
|
+
.simplify({
|
|
18
|
+
calculatePowers: true,
|
|
19
|
+
})
|
|
20
|
+
.toTex());
|
|
21
|
+
return [
|
|
22
|
+
[
|
|
23
|
+
"$x$",
|
|
24
|
+
"-\\infty",
|
|
25
|
+
"\\ ",
|
|
26
|
+
roots[0].toTex(),
|
|
27
|
+
"\\ ",
|
|
28
|
+
roots[1].toTex(),
|
|
29
|
+
"\\ ",
|
|
30
|
+
"+\\infty",
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
"$f'(x)$",
|
|
34
|
+
"\\ ",
|
|
35
|
+
a > 0 ? "+" : "-",
|
|
36
|
+
"0",
|
|
37
|
+
a > 0 ? "-" : "+",
|
|
38
|
+
"0",
|
|
39
|
+
a > 0 ? "+" : "-",
|
|
40
|
+
"\\ ",
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"$\\ $",
|
|
44
|
+
"\\ ",
|
|
45
|
+
"\\ ",
|
|
46
|
+
a > 0 ? imgs[0] : "\\ ",
|
|
47
|
+
"\\ ",
|
|
48
|
+
a < 0 ? imgs[1] : "\\ ",
|
|
49
|
+
"\\ ",
|
|
50
|
+
"\\ ",
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
"$f(x)$",
|
|
54
|
+
"\\ ",
|
|
55
|
+
a > 0 ? "\\nearrow" : "\\searrow",
|
|
56
|
+
"\\ ",
|
|
57
|
+
a > 0 ? "\\searrow" : "\\nearrow",
|
|
58
|
+
"\\ ",
|
|
59
|
+
a > 0 ? "\\nearrow" : "\\searrow",
|
|
60
|
+
"\\ ",
|
|
61
|
+
],
|
|
62
|
+
[
|
|
63
|
+
"$\\ $",
|
|
64
|
+
"\\ ",
|
|
65
|
+
"\\ ",
|
|
66
|
+
a < 0 ? imgs[0] : "\\ ",
|
|
67
|
+
"\\ ",
|
|
68
|
+
a > 0 ? imgs[1] : "\\ ",
|
|
69
|
+
"\\ ",
|
|
70
|
+
"\\ ",
|
|
71
|
+
],
|
|
72
|
+
];
|
|
73
|
+
};
|
|
74
|
+
const getInstruction = (identifiers) => {
|
|
75
|
+
const { a, b, c } = identifiers;
|
|
76
|
+
const trinom = new Trinom(a, b, c);
|
|
77
|
+
const poly = trinom.integrateToNode({}, true);
|
|
78
|
+
return `Soit $f$ la fonction définie sur $\\mathbb{R}$ par :
|
|
79
|
+
|
|
80
|
+
$$
|
|
81
|
+
f(x) = ${poly.toTex()}
|
|
82
|
+
$$
|
|
83
|
+
|
|
84
|
+
Dresser le tableau de signes de $f'$ et de variations de $f$.
|
|
85
|
+
|
|
86
|
+
`;
|
|
87
|
+
};
|
|
88
|
+
const getHint = () => {
|
|
89
|
+
return `Commence par déterminer la fonction dérivée $f'$ de $f$. Puis, étudie le signe de $f'$ en résolvant l'inéquation $f'(x)\\geq 0$.
|
|
90
|
+
|
|
91
|
+
Enfin, sers-toi de la propriété suivante :
|
|
92
|
+
|
|
93
|
+
- si $f'$ est positive sur un intervalle $I$, alors $f$ est croissante sur $I$;
|
|
94
|
+
- si $f'$ est négative sur un intervalle $I$, alors $f$ est décroissante sur $I$.`;
|
|
95
|
+
};
|
|
96
|
+
const getCorrection = (identifiers, opts) => {
|
|
97
|
+
const { a, b, c } = identifiers;
|
|
98
|
+
const trinom = new Trinom(a, b, c);
|
|
99
|
+
const poly = trinom.integrateToNode({}, true);
|
|
100
|
+
const delta = trinom.getDeltaNode();
|
|
101
|
+
const roots = trinom.getRootsNode();
|
|
102
|
+
const imgs = opts?.doNotAskImages
|
|
103
|
+
? ["\\ ", "\\ "]
|
|
104
|
+
: roots.map((r) => poly
|
|
105
|
+
.toDetailedEvaluation({
|
|
106
|
+
x: r,
|
|
107
|
+
})
|
|
108
|
+
.simplify({
|
|
109
|
+
calculatePowers: true,
|
|
110
|
+
})
|
|
111
|
+
.toTex());
|
|
112
|
+
const signWords = a > 0 ? ["positive", "négative"] : ["négative", "positive"];
|
|
113
|
+
const varWords = a > 0 ? ["croissante", "décroissante"] : ["décroissante", "croissante"];
|
|
114
|
+
return `On calcule $f'$ :
|
|
115
|
+
|
|
116
|
+
$$
|
|
117
|
+
f'(x) = ${poly
|
|
118
|
+
.derivative()
|
|
119
|
+
.simplify({
|
|
120
|
+
forbidFactorize: true,
|
|
121
|
+
})
|
|
122
|
+
.toTex()}
|
|
123
|
+
$$
|
|
124
|
+
|
|
125
|
+
On détermine ensuite le signe de $f'(x)$. Pour cela, on remarque que $f'$ est un polynôme du second degré. Pour étudier son signe, on détermine donc ses racines, puis on utilise le fait qu'un polynôme du second degré est du signe de son coefficient $a$, sauf entre ses racines.
|
|
126
|
+
|
|
127
|
+
Ici, on a $\\Delta = ${delta.toTex()}$, donc $f'$ a $2$ racines :
|
|
128
|
+
|
|
129
|
+
$$
|
|
130
|
+
x_1 = ${roots[0].toTex()}
|
|
131
|
+
$$
|
|
132
|
+
|
|
133
|
+
et
|
|
134
|
+
|
|
135
|
+
$$
|
|
136
|
+
x_2 = ${roots[1].toTex()}
|
|
137
|
+
$$
|
|
138
|
+
|
|
139
|
+
On en déduit que $f'$ est ${signWords[0]} sur $]-\\infty; ${roots[0].toTex()}]$, puis ${signWords[1]} sur $[${roots[0].toTex()}; ${roots[1].toTex()}]$, puis ${signWords[0]} sur $[${roots[1].toTex()}; +\\infty[$.
|
|
140
|
+
|
|
141
|
+
$f$ est donc ${varWords[0]} sur $]-\\infty; ${roots[0].toTex()}]$, puis ${varWords[1]} sur $[${roots[0].toTex()}; ${roots[1].toTex()}]$, puis ${varWords[0]} sur $[${roots[1].toTex()}; +\\infty[$.
|
|
142
|
+
|
|
143
|
+
${opts?.doNotAskImages
|
|
144
|
+
? ""
|
|
145
|
+
: `Il ne reste plus qu'à calculer les images par $f$ de $${roots[0].toTex()}$ et de $${roots[1].toTex()}$ :
|
|
146
|
+
|
|
147
|
+
$$
|
|
148
|
+
f(${roots[0].toTex()}) = ${poly
|
|
149
|
+
.toDetailedEvaluation({ x: roots[0] })
|
|
150
|
+
.toTex()} = ${imgs[0]}
|
|
151
|
+
$$
|
|
152
|
+
|
|
153
|
+
et
|
|
154
|
+
|
|
155
|
+
$$
|
|
156
|
+
f(${roots[1].toTex()}) = ${poly
|
|
157
|
+
.toDetailedEvaluation({ x: roots[1] })
|
|
158
|
+
.toTex()} = ${imgs[1]}
|
|
159
|
+
$$`}
|
|
160
|
+
`;
|
|
161
|
+
};
|
|
162
|
+
const getKeys = () => {
|
|
163
|
+
return ["infty"];
|
|
164
|
+
};
|
|
165
|
+
const isAnswerTableValid = (ans, { answerTable }) => {
|
|
166
|
+
try {
|
|
167
|
+
return varSignTableVEA(ans, answerTable);
|
|
168
|
+
}
|
|
169
|
+
catch (err) {
|
|
170
|
+
return handleVEAError(err);
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
const getSignVarTableTrinomQuestion = (opts) => {
|
|
174
|
+
const trinom = TrinomConstructor.randomNiceRoots();
|
|
175
|
+
const identifiers = {
|
|
176
|
+
a: trinom.a,
|
|
177
|
+
b: trinom.b,
|
|
178
|
+
c: trinom.c,
|
|
179
|
+
};
|
|
180
|
+
return getQuestionFromIdentifiers(identifiers, opts);
|
|
181
|
+
};
|
|
182
|
+
const getQuestionFromIdentifiers = (identifiers, opts) => {
|
|
183
|
+
return {
|
|
184
|
+
answerTable: getAnswerTable(identifiers, opts),
|
|
185
|
+
instruction: getInstruction(identifiers, opts),
|
|
186
|
+
keys: getKeys(identifiers, opts),
|
|
187
|
+
answerFormat: "tex",
|
|
188
|
+
identifiers,
|
|
189
|
+
hint: getHint(identifiers, opts),
|
|
190
|
+
correction: getCorrection(identifiers, opts),
|
|
191
|
+
initTable: [
|
|
192
|
+
["$x$", "", "\\ ", "", "\\ ", "", "\\ ", ""],
|
|
193
|
+
["$f'(x)$", "\\ ", "", "", "", "", "", "\\ "],
|
|
194
|
+
["$\\ $", "\\ ", "\\ ", "\\ ", "\\ ", "\\ ", "\\ ", "\\ "],
|
|
195
|
+
[
|
|
196
|
+
"$f(x)$",
|
|
197
|
+
"\\ ",
|
|
198
|
+
"",
|
|
199
|
+
opts?.doNotAskImages ? "\\ " : "",
|
|
200
|
+
"",
|
|
201
|
+
opts?.doNotAskImages ? "\\ " : "",
|
|
202
|
+
"",
|
|
203
|
+
"\\ ",
|
|
204
|
+
],
|
|
205
|
+
["$\\ $", "\\ ", "\\ ", "\\ ", "\\ ", "\\ ", "\\ ", "\\ "],
|
|
206
|
+
],
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
const options = [
|
|
210
|
+
{
|
|
211
|
+
id: "doNotAskImages",
|
|
212
|
+
label: "Ne pas demander de calculer les images dans la ligne des variations",
|
|
213
|
+
target: GeneratorOptionTarget.answer,
|
|
214
|
+
type: GeneratorOptionType.checkbox,
|
|
215
|
+
defaultValue: false,
|
|
216
|
+
},
|
|
217
|
+
];
|
|
218
|
+
export const signVarTable3dDegree = {
|
|
219
|
+
id: "signVarTable3dDegree",
|
|
220
|
+
label: "Dresser le tableau de signes de $f'$ et de variations de $f$ pour une fonction polynôme de degré trois",
|
|
221
|
+
isSingleStep: true,
|
|
222
|
+
generator: (nb, opts) => getDistinctQuestions(() => getSignVarTableTrinomQuestion(opts), nb),
|
|
223
|
+
qcmTimer: 60,
|
|
224
|
+
freeTimer: 60,
|
|
225
|
+
isAnswerTableValid,
|
|
226
|
+
subject: "Mathématiques",
|
|
227
|
+
getInstruction,
|
|
228
|
+
getHint,
|
|
229
|
+
getCorrection,
|
|
230
|
+
getAnswerTable,
|
|
231
|
+
getQuestionFromIdentifiers,
|
|
232
|
+
hasHintAndCorrection: true,
|
|
233
|
+
answerType: "signVarTable",
|
|
234
|
+
options,
|
|
235
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approxExpAPlusB.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/functions/exponential/algebraic/approxExpAPlusB.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"approxExpAPlusB.d.ts","sourceRoot":"","sources":["../../../../../../src/exercises/math/functions/exponential/algebraic/approxExpAPlusB.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AAa7C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,eAAe,CAAC;IAC1B,WAAW,EAAE,eAAe,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA8cF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAmBjD,CAAC"}
|