math-exercises 1.3.9 → 1.3.11
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.
|
@@ -20,7 +20,7 @@ function getGeometricFindReason() {
|
|
|
20
20
|
const value1 = (0, randint_1.randint)(1, 10);
|
|
21
21
|
const value2 = reason * value1;
|
|
22
22
|
const question = {
|
|
23
|
-
instruction: `$(u_n)$ est une suite géométrique. On sait que $u_{${rank1}} = ${value1} et $u_{${rank2}} = ${value2}
|
|
23
|
+
instruction: `$(u_n)$ est une suite géométrique. On sait que $u_{${rank1}} = ${value1}$ et $u_{${rank2}} = ${value2}$. Quelle est la raison de $(u_n)$ ?`,
|
|
24
24
|
startStatement: 'q',
|
|
25
25
|
answer: reason.toString(),
|
|
26
26
|
};
|
|
@@ -19,7 +19,7 @@ function getGeometricRecurrenceFormulaUsage(options) {
|
|
|
19
19
|
const reason = (0, randint_1.randint)(2, 10);
|
|
20
20
|
const askedRank = firstRank + 1;
|
|
21
21
|
const question = {
|
|
22
|
-
instruction: `$(u_n)$ est une suite définie par $u_{n+1} = ${reason}\\times u_n$ et $u_{${firstRank}} = ${firstValue}
|
|
22
|
+
instruction: `$(u_n)$ est une suite définie par $u_{n+1} = ${reason}\\times u_n$ et $u_{${firstRank}} = ${firstValue}$. Calculer $u_{${askedRank}}$`,
|
|
23
23
|
startStatement: `u_{${askedRank}}`,
|
|
24
24
|
answer: (firstValue * reason).toString(),
|
|
25
25
|
};
|