math-exercises 3.0.186 → 3.0.187
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/math/derivation/tangent/derivativeReadingByManipulatingSecant.d.ts.map +1 -1
- package/lib/exercises/math/derivation/tangent/derivativeReadingByManipulatingSecant.js +0 -4
- package/lib/exercises/math/derivation/variations/findAbscissaOfExtremaFromFunctionExpression.d.ts.map +1 -1
- package/lib/exercises/math/derivation/variations/findAbscissaOfExtremaFromFunctionExpression.js +3 -22
- package/lib/exercises/math/functions/basics/inverseImageFunction.js +1 -1
- package/lib/exercises/math/functions/sign/affineSignTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineSignTable.js +1 -1
- package/package.json +1 -1
package/lib/exercises/math/derivation/tangent/derivativeReadingByManipulatingSecant.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derivativeReadingByManipulatingSecant.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/tangent/derivativeReadingByManipulatingSecant.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAiBT,MAAM,6BAA6B,CAAC;AAQrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AAa7C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B,CAAC;
|
|
1
|
+
{"version":3,"file":"derivativeReadingByManipulatingSecant.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/tangent/derivativeReadingByManipulatingSecant.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAiBT,MAAM,6BAA6B,CAAC;AAQrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AAa7C,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B,CAAC;AAoTF,KAAK,OAAO,GAAG;IACb,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,QAAQ,CAC1D,WAAW,EACX,OAAO,CAqBR,CAAC"}
|
|
@@ -37,10 +37,6 @@ const getAnswer = (identifiers) => {
|
|
|
37
37
|
};
|
|
38
38
|
const getHint = () => {
|
|
39
39
|
return `Le nombre dérivé de $f$ en $x$, aussi noté $f'(x)$, est le coefficient directeur la tangente à la courbe représentative de $f$ au point d'abscisse $x$.
|
|
40
|
-
|
|
41
|
-
Résoudre l'équation $f'(x) = k$,
|
|
42
|
-
c'est trouver toutes les abscisses $x$
|
|
43
|
-
pour lesquelles le coefficient directeur la tangente à la courbe représentative de $f$ vaut $k$.
|
|
44
40
|
|
|
45
41
|
La tangente au point $C$ est la droite que l'on obtient quand $A$ et $B$ sont infiniment proches de $C$, en restant tous deux distincts.
|
|
46
42
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findAbscissaOfExtremaFromFunctionExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/variations/findAbscissaOfExtremaFromFunctionExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAiBT,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AA4R7C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"findAbscissaOfExtremaFromFunctionExpression.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/variations/findAbscissaOfExtremaFromFunctionExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAiBT,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EAEL,eAAe,EAChB,MAAM,qCAAqC,CAAC;AA4R7C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA2LF,KAAK,OAAO,GAAG;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAyCF,eAAO,MAAM,2CAA2C,EAAE,QAAQ,CAChE,WAAW,EACX,OAAO,CAqBR,CAAC"}
|
package/lib/exercises/math/derivation/variations/findAbscissaOfExtremaFromFunctionExpression.js
CHANGED
|
@@ -282,29 +282,10 @@ const getAnswerNode = (identifiers) => {
|
|
|
282
282
|
const getAnswer = (identifiers) => {
|
|
283
283
|
return getAnswerNode(identifiers).toTex();
|
|
284
284
|
};
|
|
285
|
-
const getHint = (
|
|
286
|
-
|
|
287
|
-
const strHintDerivative = (() => {
|
|
288
|
-
switch (typeF) {
|
|
289
|
-
case "polynôme (degré $2$)":
|
|
290
|
-
return `Soient $a$, $b$ et $c$ trois réels. La dérivée de $x \\mapsto ax^2+bx+c$ est $x \\mapsto 2ax+b$.`;
|
|
291
|
-
case "polynôme (degré $3$)":
|
|
292
|
-
return `Soient $a$, $b$, $c$ et $d$ quatre réels. La dérivée de $x \\mapsto ax^3+bx^2+cx+d$ est $x \\mapsto 3ax^2+2bx+c$.`;
|
|
293
|
-
case "$\\frac{ax^2+bx+c}{dx+m}$":
|
|
294
|
-
return `Soient $a$, $b$, $c$, $d$ et $m$ cinq réels. La dérivée de $x \\mapsto \\frac{ax^2+bx+c}{dx+m}$ est $x \\mapsto \\frac{(2ax+b)(dx+m)-(ax^2+bx+c)d}{(dx+m)^2}$.`;
|
|
295
|
-
case "$\\frac{dx+m}{ax^2+bx+c}$":
|
|
296
|
-
return `Soient $a$, $b$, $c$, $d$ et $m$ cinq réels. La dérivée de $x \\mapsto \\frac{dx+m}{ax^2+bx+c}$ est $x \\mapsto \\frac{d(ax^2+bx+c)-(dx+m)(2ax+b)}{(ax^2+bx+c)^2}$.`;
|
|
297
|
-
default:
|
|
298
|
-
throw new Error("Unsupported typeF: " + typeF);
|
|
299
|
-
}
|
|
300
|
-
})();
|
|
301
|
-
return `Si $f$ est une fonction dérivable en $a$, alors l'équation de la tangente à la courbe de $f$ au point d'abscisse $a$ est donné par:
|
|
302
|
-
|
|
303
|
-
$$
|
|
304
|
-
y = f'(a)(x-a)+f(a)
|
|
305
|
-
$$
|
|
285
|
+
const getHint = () => {
|
|
286
|
+
return `Les abscisses des extremums locaux d'une fonction dérivable sont les valeurs $x$ telles que $f'(x)=0$ et $f'$ change de signe en $x$.
|
|
306
287
|
|
|
307
|
-
$
|
|
288
|
+
Calcule donc la fonction dérivée $f'$ de $f$. Puis, résous l'équation $f'(x) = 0$.
|
|
308
289
|
`;
|
|
309
290
|
};
|
|
310
291
|
const getCorrection = (identifiers) => {
|
|
@@ -105,7 +105,7 @@ export const inverseImageFunction = {
|
|
|
105
105
|
id: "inverseImageFunction",
|
|
106
106
|
connector: "\\iff",
|
|
107
107
|
getPropositions,
|
|
108
|
-
label: "Calculer des antécédents",
|
|
108
|
+
label: "Calculer des antécédents (fonctions affines)",
|
|
109
109
|
isSingleStep: true,
|
|
110
110
|
generator: (nb) => getDistinctQuestions(getInverseImageFunction, nb),
|
|
111
111
|
qcmTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affineSignTable.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/sign/affineSignTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;CACvB,CAAC;AAqGF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"affineSignTable.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/sign/affineSignTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAQrC,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;CACvB,CAAC;AAqGF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,WAAW,CAmBjD,CAAC"}
|
|
@@ -90,7 +90,7 @@ const getQuestionFromIdentifiers = (identifiers) => {
|
|
|
90
90
|
};
|
|
91
91
|
export const affineSignTable = {
|
|
92
92
|
id: "affineSignTable",
|
|
93
|
-
label: "Dresser le tableau de signes d'une fonction affine",
|
|
93
|
+
label: "Dresser le tableau de signes d'une fonction affine à partir de son expression algébrique",
|
|
94
94
|
isSingleStep: true,
|
|
95
95
|
generator: (nb, opts) => getDistinctQuestions(() => getTestSignTableQuestion(opts), nb),
|
|
96
96
|
qcmTimer: 60,
|