math-exercises 3.0.105 → 3.0.107
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 -6
- package/lib/exercises/exercise.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.d.ts.map +1 -1
- package/lib/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.js +3 -4
- package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.d.ts.map +1 -1
- package/lib/exercises/math/calcul/ordering/decimalOrderingNoRelatives.js +0 -2
- package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.d.ts.map +1 -1
- package/lib/exercises/math/calcul/proportionality/proportionalityTableCoefficient.js +0 -2
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +0 -2
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/doubleDistri.js +0 -2
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/distributivity/simpleDistri.js +0 -2
- package/lib/exercises/math/calculLitteral/equation/equa1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa1.js +0 -2
- package/lib/exercises/math/calculLitteral/equation/equa2.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/equa2.js +0 -2
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +0 -2
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +0 -2
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.js +0 -2
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.js +0 -2
- package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/basicSystemResolution.js +0 -2
- package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.d.ts.map +1 -1
- package/lib/exercises/math/calculLitteral/systems/verifySystemSolution.js +0 -2
- package/lib/exercises/math/derivation/derivative/productDerivative.d.ts.map +1 -1
- package/lib/exercises/math/derivation/derivative/productDerivative.js +0 -2
- package/lib/exercises/math/derivation/derivative/trigo/cosSecondDegreeDerivative.js +1 -1
- package/lib/exercises/math/derivation/derivative/trigo/sinSecondDegreeDerivative.js +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustment.js +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/affineAdjustmentRsquared.js +5 -1
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts +1 -0
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/algebricExpressionOfAffine.js +6 -3
- package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.d.ts.map +1 -1
- package/lib/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.js +2 -1
- package/lib/exercises/math/functions/basics/countFunctionZeroes.js +1 -1
- package/lib/exercises/math/functions/basics/findZeroesProductQuotient.d.ts.map +1 -1
- package/lib/exercises/math/functions/basics/findZeroesProductQuotient.js +18 -3
- package/lib/exercises/math/functions/basics/graphicInequation.js +2 -2
- package/lib/exercises/math/functions/basics/graphicInequationAffine.js +1 -1
- package/lib/exercises/math/functions/basics/twoFunctionsInequation.js +1 -1
- package/lib/exercises/math/functions/integral/integralKCosinus.js +1 -1
- package/lib/exercises/math/functions/parity/parityFromAlgebra.js +1 -1
- package/lib/exercises/math/functions/sign/affineProductSignTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineProductSignTable.js +4 -2
- package/lib/exercises/math/functions/sign/affineProductSignTableThirdLine.js +1 -1
- package/lib/exercises/math/functions/sign/affineSignTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/sign/affineSignTable.js +3 -1
- package/lib/exercises/math/functions/sign/equationFromSignTable.js +2 -2
- package/lib/exercises/math/functions/sign/readSignTable.js +2 -2
- package/lib/exercises/math/functions/variations/compareImagesInVarTable.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/compareImagesInVarTable.js +8 -7
- package/lib/exercises/math/functions/variations/partialVarTableFromGraph.js +2 -2
- package/lib/exercises/math/functions/variations/readExtremaOnGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/readExtremaOnGraph.js +12 -6
- package/lib/exercises/math/functions/variations/readVarOnGraph.js +8 -8
- package/lib/exercises/math/functions/variations/varTableExtremaReading.js +6 -6
- package/lib/exercises/math/functions/variations/varTableFromGraph.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/varTableFromGraph.js +2 -7
- package/lib/exercises/math/functions/variations/varTableFromSentences.d.ts.map +1 -1
- package/lib/exercises/math/functions/variations/varTableFromSentences.js +3 -1
- package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.d.ts.map +1 -1
- package/lib/exercises/math/geometry/convexity/convexityTrinomialsGeo.js +0 -2
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.d.ts.map +1 -1
- package/lib/exercises/math/geometry/euclidianConstructions/buildMediatriceWithCompass.js +0 -2
- package/lib/exercises/math/geometry/optimisation/geometryExtremaReadingOnGraph.js +5 -5
- package/lib/exercises/math/geometry/optimisation/lengthIntervalOnPicture.js +1 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.d.ts.map +1 -1
- package/lib/exercises/math/geometry/thales/thalesCalcul.js +3 -2
- package/lib/exercises/math/geometry/triangles/traceMedianInTriangle.js +0 -2
- package/lib/exercises/math/geometry/volumes/volumeOfCube.d.ts.map +1 -1
- package/lib/exercises/math/geometry/volumes/volumeOfCube.js +0 -2
- package/lib/exercises/math/limits/polynomLimitNoFI.d.ts.map +1 -1
- package/lib/exercises/math/limits/polynomLimitNoFI.js +0 -2
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.d.ts.map +1 -1
- package/lib/exercises/math/percent/evolutions/findStartValueAfterEvolution.js +3 -2
- package/lib/exercises/math/percent/htToTTC.d.ts.map +1 -1
- package/lib/exercises/math/percent/htToTTC.js +0 -2
- package/lib/exercises/math/percent/percentToDecimal.d.ts.map +1 -1
- package/lib/exercises/math/percent/percentToDecimal.js +0 -2
- package/lib/exercises/math/percent/ttcToHT.d.ts.map +1 -1
- package/lib/exercises/math/percent/ttcToHT.js +0 -2
- package/lib/exercises/math/powers/powersProduct.d.ts.map +1 -1
- package/lib/exercises/math/powers/powersProduct.js +0 -2
- package/lib/exercises/math/primitive/exponentialPrimitive.d.ts.map +1 -1
- package/lib/exercises/math/primitive/exponentialPrimitive.js +0 -2
- package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/binomial/expectedValueOfBinomialProba.js +1 -3
- package/lib/exercises/math/probaStat/binomial/varianceOfBinomialProba.js +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageList.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageList.js +0 -2
- package/lib/exercises/math/probaStat/stats1var/averageWithTable.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/averageWithTable.js +0 -2
- package/lib/exercises/math/probaStat/stats1var/index.d.ts +2 -2
- package/lib/exercises/math/probaStat/stats1var/index.d.ts.map +1 -1
- package/lib/exercises/math/probaStat/stats1var/index.js +2 -2
- package/lib/exercises/math/probaStat/stats1var/medianWithList.d.ts +7 -0
- package/lib/exercises/math/probaStat/stats1var/medianWithList.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/stats1var/medianWithList.js +80 -0
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.d.ts +8 -0
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.d.ts.map +1 -0
- package/lib/exercises/math/probaStat/stats1var/medianWithTable.js +108 -0
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.d.ts.map +1 -1
- package/lib/exercises/math/sequences/arithmetic/arithmeticFindReason.js +9 -1
- package/lib/exercises/math/sets/intervals/intervalsIntersection.d.ts.map +1 -1
- package/lib/exercises/math/sets/intervals/intervalsIntersection.js +0 -2
- package/lib/exercises/math/sets/setBelonging.d.ts.map +1 -1
- package/lib/exercises/math/sets/setBelonging.js +0 -2
- package/lib/exercises/math/trigonometry/arcValue.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/arcValue.js +0 -2
- package/lib/exercises/math/trigonometry/remarkableValues.d.ts.map +1 -1
- package/lib/exercises/math/trigonometry/remarkableValues.js +0 -2
- package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +1 -1
- package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +1 -1
- package/lib/exercises/pc/dosage/beerLambertRandomValue.js +2 -2
- package/lib/exercises/pc/dosage/concentrationCalculation.js +3 -3
- package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +3 -3
- package/lib/exercises/pc/electricity/calculateVoltage.js +1 -1
- package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +2 -2
- package/lib/exercises/pc/electricity/ohmLaw.js +1 -1
- package/lib/exercises/pc/energy/calorificValue.js +1 -1
- package/lib/exercises/pc/energy/combustionTransferEnergy.js +1 -1
- package/lib/exercises/pc/energy/combustionTransferEnergy2.js +2 -2
- package/lib/exercises/pc/energy/efficiencyCalculation.js +3 -3
- package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +5 -5
- package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +1 -1
- package/lib/exercises/pc/forces/gravitationalForcePlanets.js +1 -1
- package/lib/exercises/pc/forces/pressureDifferenceCalculation.js +1 -3
- package/lib/exercises/pc/math/isolateVariables.d.ts.map +1 -1
- package/lib/exercises/pc/math/isolateVariables.js +0 -1
- package/lib/exercises/pc/mole/concentrationReading.d.ts.map +1 -1
- package/lib/exercises/pc/mole/concentrationReading.js +0 -1
- package/lib/exercises/pc/motion/averageSpeedCalculation.js +4 -4
- package/lib/exercises/pc/motion/recognizeFreeFall.js +0 -2
- package/lib/exercises/pc/orderOfMagnitude.js +1 -1
- package/lib/exercises/pc/power/calculatePowerOfLight.js +1 -1
- package/lib/exercises/pc/spectral/spectralEnergy.js +1 -1
- package/lib/exercises/pc/waves/lightDistanceConversion.js +4 -4
- package/lib/exercises/pc/waves/periodicWaveCelerity.js +3 -3
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/math/geometry/triangles/triangle.d.ts +2 -1
- package/lib/math/geometry/triangles/triangle.d.ts.map +1 -1
- package/lib/math/geometry/triangles/triangle.js +3 -1
- package/lib/math/utils/round.d.ts.map +1 -1
- package/lib/math/utils/round.js +4 -0
- package/lib/playground.d.ts.map +1 -1
- package/lib/playground.js +1 -3
- package/lib/tree/nodes/sets/intervalNode.d.ts +4 -0
- package/lib/tree/nodes/sets/intervalNode.d.ts.map +1 -1
- package/lib/tree/nodes/sets/intervalNode.js +12 -0
- package/package.json +1 -1
|
@@ -137,8 +137,6 @@ export interface Exercise<TIdentifiers = {}, TOptions = {}> {
|
|
|
137
137
|
label: string;
|
|
138
138
|
pdfOptions?: PDFOptions;
|
|
139
139
|
options?: GeneratorOption[];
|
|
140
|
-
sections?: (MathSection | PCSection)[];
|
|
141
|
-
levels?: MathLevel[];
|
|
142
140
|
connector?: "=" | "\\iff" | "\\approx";
|
|
143
141
|
generator: (n: number, opts?: TOptions) => Question<TIdentifiers, TOptions>[];
|
|
144
142
|
maxAllowedQuestions?: number;
|
|
@@ -156,7 +154,7 @@ export interface Exercise<TIdentifiers = {}, TOptions = {}> {
|
|
|
156
154
|
isAnswerTableValid?: TableVEA<TIdentifiers, TOptions>;
|
|
157
155
|
isGGBAnswerValid?: GGBVEA<TIdentifiers, TOptions>;
|
|
158
156
|
hasGeogebra?: boolean;
|
|
159
|
-
subject: "Mathématiques" | "Chimie" | "Physique";
|
|
157
|
+
subject: "Mathématiques" | "Chimie" | "Physique" | "Maths-Sciences";
|
|
160
158
|
hasHintAndCorrection?: boolean;
|
|
161
159
|
getInstruction?: GetInstruction<TIdentifiers, TOptions>;
|
|
162
160
|
getStartStatement?: GetStartStatement<TIdentifiers, TOptions>;
|
|
@@ -177,8 +175,5 @@ export interface Exercise<TIdentifiers = {}, TOptions = {}> {
|
|
|
177
175
|
};
|
|
178
176
|
getTests?: GetTests<TIdentifiers, TOptions>;
|
|
179
177
|
}
|
|
180
|
-
export type MathLevel = "6ème" | "5ème" | "4ème" | "3ème" | "2nde" | "1reTech" | "1reESM" | "1reSpé" | "TermSpé" | "TermTech" | "MathExp" | "MathComp" | "CAP" | "2ndPro" | "1rePro" | "TermPro";
|
|
181
|
-
export type MathSection = "Aires" | "Arithmétique" | "Calcul littéral" | "Calculs" | "Combinatoire et dénombrement" | "Conversions" | "Dérivation" | "Droites" | "Ensembles et intervalles" | "Équations" | "Équations différentielles" | "Exponentielle" | "Fonction cube" | "Fonction inverse" | "Fonctions" | "Fonctions affines" | "Fonctions de référence" | "Fractions" | "Géométrie cartésienne" | "Géométrie euclidienne" | "Inéquations" | "Intégration" | "Limites" | "Logarithme népérien" | "Logarithme décimal" | "Matrices" | "Nombres complexes" | "Périmètres" | "Pourcentages" | "Primitives" | "Probabilités" | "Produit scalaire" | "Proportionnalité" | "Python" | "Puissances" | "Python" | "Racines carrées" | "Second degré" | "Statistiques" | "Suites" | "Systèmes" | "Théorème de Pythagore" | "Théorème de Thalès" | "Trigonométrie" | "Valeur absolue" | "Vecteurs";
|
|
182
|
-
export type PCSection = "Réaction chimique" | "Chimie des solutions" | "Forces" | "Chimie organique" | "Mécanique" | "Lumière" | "Acide / Base" | "Constitution et transformations de la matière" | "Ondes" | "Son" | "Corps purs et mélanges" | "Fluides" | "Mol" | "Électricité" | "Mécanique gravitationnelle" | "Spectrophotométrie" | "Quantique" | "Thermodynamique" | "Énergie";
|
|
183
178
|
export {};
|
|
184
179
|
//# sourceMappingURL=exercise.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exercise.d.ts","sourceRoot":"","sources":["../../src/exercises/exercise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,eAAO,MAAM,SAAS,iBACN,WAAW,EAAE,KACxB,MAAM,WACA,MAAM,IAAI,SAQpB,CAAC;AACF,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAQtB,CAAC;AACF,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAQtB,CAAC;AACF,eAAO,MAAM,iBAAiB,UACrB,WAAW,EAAE,aACT,MAAM,WACT,KAAK,GAAG,KAAK,SAUtB,CAAC;AAEF,eAAO,MAAM,YAAY,UAChB,WAAW,EAAE,KACjB,MAAM,sBACW,MAAM,kBAQ3B,CAAC;AAEF,oBAAY,qBAAqB;IAC/B,UAAU,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AACD,oBAAY,mBAAmB;IAC7B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B;AACD,MAAM,MAAM,eAAe,CAAC,MAAM,GAAG,GAAG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AC,CAAC;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,SAAS,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAExD,YAAY,CAAC,EAAE,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACtD,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACpE,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAChE,0BAA0B,EAAE,0BAA0B,CACpD,YAAY,EACZ,QAAQ,CACT,CAAC;IACF,MAAM,CAAC,EAAE,cAAc,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAChD,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC;IAC1E,QAAQ,CAAC,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;CAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getParityBetweenTwoNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;
|
|
1
|
+
{"version":3,"file":"getParityBetweenTwoNumbers.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/arithmetics/getParityBetweenTwoNumbers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAyHF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAiB5D,CAAC"}
|
|
@@ -30,11 +30,10 @@ const getInstruction = (identifiers) => {
|
|
|
30
30
|
return `Combien y a-t-il de nombres ${isAskingParity ? "pairs" : "impairs"} entre $${a}$ et $${b}$ ?`;
|
|
31
31
|
};
|
|
32
32
|
const getHint = (identifiers) => {
|
|
33
|
-
return `
|
|
34
|
-
|
|
33
|
+
return `
|
|
35
34
|
- Un nombre est pair s'il est divisible par $2$ (il finit par $0$, $2$, $4$, $6$ ou $8$) ;
|
|
36
|
-
-
|
|
37
|
-
-
|
|
35
|
+
- un nombre est impair s'il n'est **pas** divisible par $2$ (il finit par $1$, $3$, $5$, $7$ ou $9$) ;
|
|
36
|
+
- seuls les nombres **strictement entre** les deux bornes sont à prendre en compte.`;
|
|
38
37
|
};
|
|
39
38
|
const getCorrection = (identifiers) => {
|
|
40
39
|
let { a, b, isAskingParity } = identifiers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decimalOrderingNoRelatives.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/ordering/decimalOrderingNoRelatives.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAmF1D,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"decimalOrderingNoRelatives.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/ordering/decimalOrderingNoRelatives.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAmF1D,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAc5D,CAAC"}
|
|
@@ -75,9 +75,7 @@ export const decimalOrderingNoRelatives = {
|
|
|
75
75
|
id: "decimalOrderingNoRelatives",
|
|
76
76
|
connector: "\\iff",
|
|
77
77
|
label: "Comparer des nombres décimaux (sans relatifs)",
|
|
78
|
-
levels: [],
|
|
79
78
|
isSingleStep: true,
|
|
80
|
-
sections: [],
|
|
81
79
|
generator: (nb) => getDistinctQuestions(getDecimalOrderingNoRelativesQuestion, nb),
|
|
82
80
|
qcmTimer: 60,
|
|
83
81
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proportionalityTableCoefficient.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/proportionalityTableCoefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAsFF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"proportionalityTableCoefficient.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calcul/proportionality/proportionalityTableCoefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAWrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAsFF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,CAejE,CAAC"}
|
|
@@ -79,9 +79,7 @@ export const proportionalityTableCoefficient = {
|
|
|
79
79
|
id: "proportionalityTableCoefficient",
|
|
80
80
|
connector: "=",
|
|
81
81
|
label: "Calculer un coefficient de proportionnalité à partir d'un tableau",
|
|
82
|
-
levels: ["6ème", "5ème", "4ème", "3ème", "CAP", "2ndPro", "1rePro"],
|
|
83
82
|
isSingleStep: false,
|
|
84
|
-
sections: ["Proportionnalité"],
|
|
85
83
|
generator: (nb) => getDistinctQuestions(getProportionalityTableCoefficient, nb),
|
|
86
84
|
qcmTimer: 60,
|
|
87
85
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalFormDevelopment.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAiGF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"canonicalFormDevelopment.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAiGF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,WAAW,CAkB1D,CAAC"}
|
|
@@ -86,9 +86,7 @@ export const canonicalFormDevelopment = {
|
|
|
86
86
|
id: "canonicalFormDevelopment",
|
|
87
87
|
connector: "=",
|
|
88
88
|
label: "Développer une forme canonique $a(x-\\alpha)^2 + \\beta$",
|
|
89
|
-
levels: [],
|
|
90
89
|
isSingleStep: true,
|
|
91
|
-
sections: [],
|
|
92
90
|
generator: (nb) => getDistinctQuestions(getCanonicalFormDevelopmentQuestion, nb),
|
|
93
91
|
qcmTimer: 60,
|
|
94
92
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doubleDistri.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/distributivity/doubleDistri.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAYrC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAgKF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"doubleDistri.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/distributivity/doubleDistri.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAYrC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAgKF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
|
|
@@ -140,8 +140,6 @@ export const doubleDistributivity = {
|
|
|
140
140
|
id: "doubleDistri",
|
|
141
141
|
connector: "=",
|
|
142
142
|
label: "Distributivité double",
|
|
143
|
-
levels: ["3ème", "2nde", "1reTech"],
|
|
144
|
-
sections: ["Calcul littéral"],
|
|
145
143
|
isSingleStep: false,
|
|
146
144
|
generator: (nb) => getDistinctQuestions(getDoubleDistributivityQuestion, nb),
|
|
147
145
|
qcmTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleDistri.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/distributivity/simpleDistri.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA+GF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"simpleDistri.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/distributivity/simpleDistri.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAarC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA+GF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAkBtD,CAAC"}
|
|
@@ -98,8 +98,6 @@ export const simpleDistributivity = {
|
|
|
98
98
|
id: "simpleDistri",
|
|
99
99
|
connector: "=",
|
|
100
100
|
label: "Distributivité simple",
|
|
101
|
-
levels: ["3ème", "2nde", "CAP", "2ndPro", "1reTech"],
|
|
102
|
-
sections: ["Calcul littéral"],
|
|
103
101
|
isSingleStep: false,
|
|
104
102
|
generator: (nb) => getDistinctQuestions(getSimpleDistributivityQuestion, nb),
|
|
105
103
|
qcmTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equa1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equa1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAcrC;;GAEG;AACH,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAwGF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"equa1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equa1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAcrC;;GAEG;AACH,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAwGF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAmBvD,CAAC"}
|
|
@@ -92,8 +92,6 @@ export const equationType1Exercise = {
|
|
|
92
92
|
id: "equa1",
|
|
93
93
|
connector: "\\iff",
|
|
94
94
|
label: "Résoudre une équation du type $x+a = b$",
|
|
95
|
-
levels: ["4ème", "3ème", "2nde", "CAP", "2ndPro", "1rePro", "1reTech"],
|
|
96
|
-
sections: ["Équations"],
|
|
97
95
|
isSingleStep: true,
|
|
98
96
|
generator: (nb) => getDistinctQuestions(getEquationType1ExerciseQuestion, nb),
|
|
99
97
|
getPropositions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equa2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equa2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAsBrC,OAAO,EAEL,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAM7C;;GAEG;AAGH,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,eAAe,CAAC;IACnB,CAAC,EAAE,eAAe,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AA0JF,KAAK,OAAO,GAAG;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAaF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"equa2.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/equa2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAsBrC,OAAO,EAEL,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAM7C;;GAEG;AAGH,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,eAAe,CAAC;IACnB,CAAC,EAAE,eAAe,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AA0JF,KAAK,OAAO,GAAG;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAaF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAqBhE,CAAC"}
|
|
@@ -143,8 +143,6 @@ export const equationType2Exercise = {
|
|
|
143
143
|
id: "equa2",
|
|
144
144
|
connector: "\\iff",
|
|
145
145
|
label: "Résoudre une équation du type $ax=b$",
|
|
146
|
-
levels: ["4ème", "3ème", "2nde", "CAP", "2ndPro", "1rePro", "1reTech"],
|
|
147
|
-
sections: ["Équations"],
|
|
148
146
|
isSingleStep: true,
|
|
149
147
|
generator: (nb, opts) => getDistinctQuestions(() => getEquationType2ExerciseQuestion(opts), nb),
|
|
150
148
|
qcmTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firstDegreeEquationIntType1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAYrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqHF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"firstDegreeEquationIntType1.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAYrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAqHF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAa7D,CAAC"}
|
|
@@ -95,9 +95,7 @@ const isAnswerValid = (ans, { answer, x }) => {
|
|
|
95
95
|
export const firstDegreeEquationIntType1 = {
|
|
96
96
|
id: "firstDegreeEquationIntType1",
|
|
97
97
|
label: "Résoudre une équation du type $ax = b$ (solution entière)",
|
|
98
|
-
levels: ["2nde"],
|
|
99
98
|
isSingleStep: true,
|
|
100
|
-
sections: ["Équations"],
|
|
101
99
|
generator: (nb) => getDistinctQuestions(getFirstDegreeEquationIntQuestion, nb),
|
|
102
100
|
qcmTimer: 60,
|
|
103
101
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factorizeCanonicalForm.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgJF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"factorizeCanonicalForm.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAerC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgJF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAcxD,CAAC"}
|
|
@@ -120,9 +120,7 @@ export const factorizeCanonicalForm = {
|
|
|
120
120
|
id: "factorizeCanonicalForm",
|
|
121
121
|
connector: "=",
|
|
122
122
|
label: "Factoriser une expression du type $(x-a)^2-b^2$ avec $b$ entier",
|
|
123
|
-
levels: [],
|
|
124
123
|
isSingleStep: true,
|
|
125
|
-
sections: [],
|
|
126
124
|
generator: (nb) => getDistinctQuestions(getFactorizeCanonicalFormQuestion, nb),
|
|
127
125
|
qcmTimer: 60,
|
|
128
126
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firstDegreeInequationsType0.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAgB9C,cAAc;AAEd,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAmKF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"firstDegreeInequationsType0.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/inequations/firstDegreeInequationsType0.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,gBAAgB,EAGjB,MAAM,sCAAsC,CAAC;AAgB9C,cAAc;AAEd,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAmKF,KAAK,OAAO,GAAG;IACb,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAetE,CAAC"}
|
|
@@ -124,9 +124,7 @@ export const firstDegreeInequationsType0 = {
|
|
|
124
124
|
id: "firstDegreeInequationsType0",
|
|
125
125
|
connector: "\\iff",
|
|
126
126
|
label: "Résoudre une inéquation du type $x+b<c$",
|
|
127
|
-
levels: ["3ème", "2ndPro", "2nde", "1reESM", "1rePro", "1reTech"],
|
|
128
127
|
isSingleStep: true,
|
|
129
|
-
sections: ["Inéquations"],
|
|
130
128
|
generator: (nb, opts) => getDistinctQuestions(() => getFirstDegreeInequationsQuestion(opts), nb),
|
|
131
129
|
qcmTimer: 60,
|
|
132
130
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicNiceValuesSystemResolution.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAKtE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,EAAE,EAAE,CAAC;CAIhC,CAAC;AAkGF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"basicNiceValuesSystemResolution.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/systems/basicNiceValuesSystemResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAKtE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,EAAE,EAAE,CAAC;CAIhC,CAAC;AAkGF,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CAAC,WAAW,CAejE,CAAC"}
|
|
@@ -91,9 +91,7 @@ export const basicNiceValuesSystemResolution = {
|
|
|
91
91
|
id: "basicNiceValuesSystemResolution",
|
|
92
92
|
connector: "=",
|
|
93
93
|
label: "Résoudre un système d'équations (solutions entières)",
|
|
94
|
-
levels: ["2nde", "1reSpé"],
|
|
95
94
|
isSingleStep: true,
|
|
96
|
-
sections: ["Systèmes"],
|
|
97
95
|
generator: (nb) => getDistinctQuestions(getBasicSystemResolutionQuestion, nb),
|
|
98
96
|
qcmTimer: 60,
|
|
99
97
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicSystemResolution.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/systems/basicSystemResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAMtE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,EAAE,EAAE,CAAC;CAIhC,CAAC;AAoGF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"basicSystemResolution.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/systems/basicSystemResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AASrC,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAMtE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,EAAE,EAAE,CAAC;CAIhC,CAAC;AAoGF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAevD,CAAC"}
|
|
@@ -93,9 +93,7 @@ export const basicSystemResolution = {
|
|
|
93
93
|
id: "basicSystemResolution",
|
|
94
94
|
connector: "=",
|
|
95
95
|
label: "Résoudre un système d'équations",
|
|
96
|
-
levels: ["2nde", "1reSpé"],
|
|
97
96
|
isSingleStep: true,
|
|
98
|
-
sections: ["Systèmes"],
|
|
99
97
|
generator: (nb) => getDistinctQuestions(getBasicSystemResolutionQuestion, nb),
|
|
100
98
|
qcmTimer: 60,
|
|
101
99
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifySystemSolution.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/systems/verifySystemSolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAGL,wBAAwB,EACzB,MAAM,qCAAqC,CAAC;AAK7C,KAAK,WAAW,GAAG;IAGjB,MAAM,EAAE,wBAAwB,CAAC;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgIF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"verifySystemSolution.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/systems/verifySystemSolution.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAGL,wBAAwB,EACzB,MAAM,qCAAqC,CAAC;AAK7C,KAAK,WAAW,GAAG;IAGjB,MAAM,EAAE,wBAAwB,CAAC;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAgIF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CActD,CAAC"}
|
|
@@ -112,9 +112,7 @@ const getPropositions = (n, { answer, ...identifiers }) => {
|
|
|
112
112
|
export const verifySystemSolution = {
|
|
113
113
|
id: "verifySystemSolution",
|
|
114
114
|
label: "Vérifier si un couple est solution d'un système d'équations",
|
|
115
|
-
levels: ["2nde", "1reSpé"],
|
|
116
115
|
isSingleStep: true,
|
|
117
|
-
sections: ["Systèmes"],
|
|
118
116
|
generator: (nb) => getDistinctQuestions(getVerifySystemSolutionQuestion, nb),
|
|
119
117
|
qcmTimer: 60,
|
|
120
118
|
freeTimer: 60,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productDerivative.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/productDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AA0FF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"productDerivative.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/derivation/derivative/productDerivative.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAWT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AA0FF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,WAAW,CAenD,CAAC"}
|
|
@@ -74,9 +74,7 @@ export const productDerivative = {
|
|
|
74
74
|
connector: "=",
|
|
75
75
|
getPropositions,
|
|
76
76
|
label: "Dérivée d'un produit de polynômes",
|
|
77
|
-
levels: ["1reSpé", "MathComp"],
|
|
78
77
|
isSingleStep: true,
|
|
79
|
-
sections: ["Dérivation"],
|
|
80
78
|
generator: (nb) => getDistinctQuestions(getProductDerivativeQuestion, nb),
|
|
81
79
|
qcmTimer: 60,
|
|
82
80
|
freeTimer: 60,
|
|
@@ -14,7 +14,7 @@ const getInstruction = (identifiers) => {
|
|
|
14
14
|
const { affinecoeffs } = identifiers;
|
|
15
15
|
const affine = AffineConstructor.fromCoeffs(affinecoeffs);
|
|
16
16
|
const func = new CosNode(affine.toTree().simplify({ forbidFactorize: true })).toTex();
|
|
17
|
-
return `
|
|
17
|
+
return `Calculer la dérivée seconde de la fonction $f$ définie par :
|
|
18
18
|
|
|
19
19
|
$$
|
|
20
20
|
f(x) = ${func}
|
|
@@ -20,7 +20,7 @@ const getInstruction = (identifiers) => {
|
|
|
20
20
|
const { affinecoeffs } = identifiers;
|
|
21
21
|
const affine = AffineConstructor.fromCoeffs(affinecoeffs);
|
|
22
22
|
const func = new SinNode(affine.toTree().simplify({ forbidFactorize: true })).toTex();
|
|
23
|
-
return `
|
|
23
|
+
return `Calculer la dérivée seconde de la fonction $f$ définie sur $\\mathbb{R}$ par :
|
|
24
24
|
|
|
25
25
|
$$
|
|
26
26
|
f(x) = ${func}
|
|
@@ -17,7 +17,7 @@ const getInstruction = ({ xValues, yValues }) => {
|
|
|
17
17
|
["$x$", ...xValues.map((n) => dollarize(n.frenchify()))],
|
|
18
18
|
["$y$", ...yValues.map((n) => dollarize(n.frenchify()))],
|
|
19
19
|
]);
|
|
20
|
-
return `On considère la série statistique ci-dessous.
|
|
20
|
+
return `On considère la série statistique ci-dessous. Déterminer l'équation de la droite d'ajustement obtenue par la méthode des moindres carrés.
|
|
21
21
|
|
|
22
22
|
${dataTable}
|
|
23
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affineAdjustmentRsquared.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/affines/affineAdjustmentRsquared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"affineAdjustmentRsquared.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/affines/affineAdjustmentRsquared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAaT,MAAM,6BAA6B,CAAC;AAkBrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AA+GF,eAAO,MAAM,gCAAgC,EAAE,QAAQ,CAAC,WAAW,CAalE,CAAC"}
|
|
@@ -15,7 +15,11 @@ const getInstruction = (identifiers) => {
|
|
|
15
15
|
["$x$", ...xValues.map((n) => dollarize(n.frenchify()))],
|
|
16
16
|
["$y$", ...yValues.map((n) => dollarize(n.frenchify()))],
|
|
17
17
|
]);
|
|
18
|
-
return `On considère la série statistique ci-dessous
|
|
18
|
+
return `On considère la série statistique ci-dessous :
|
|
19
|
+
|
|
20
|
+
${dataTable}
|
|
21
|
+
|
|
22
|
+
Déterminer la valeur du coefficient de détermination pour un ajustement affine de cette série.
|
|
19
23
|
`;
|
|
20
24
|
};
|
|
21
25
|
const getAnswer = (identifiers) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algebricExpressionOfAffine.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/affines/algebricExpressionOfAffine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"algebricExpressionOfAffine.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/affines/algebricExpressionOfAffine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AASrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AA8GF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,WAAW,CAa5D,CAAC"}
|
|
@@ -3,10 +3,13 @@ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQue
|
|
|
3
3
|
import { Affine, AffineConstructor } from "../../../../math/polynomials/affine.js";
|
|
4
4
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
5
5
|
import { polynomialParser } from "../../../../tree/parsers/polynomialParser.js";
|
|
6
|
+
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
6
7
|
import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
|
|
7
8
|
const getInstruction = (identifiers) => {
|
|
8
|
-
const { a, b } = identifiers;
|
|
9
|
-
|
|
9
|
+
const { a, b, isCoeffFirst } = identifiers;
|
|
10
|
+
const coeff = `le coefficient directeur vaut $${a}$`;
|
|
11
|
+
const ord = `l'ordonnée à l'origine vaut $${b}$`;
|
|
12
|
+
return `Soit une fonction affine $f$ dont ${isCoeffFirst ? coeff : ord} et ${isCoeffFirst ? ord : coeff}.
|
|
10
13
|
|
|
11
14
|
Écrire l'expression algébrique de $f(x)$.`;
|
|
12
15
|
};
|
|
@@ -45,7 +48,7 @@ const getAlgebricExpressionOfAffineQuestion = () => {
|
|
|
45
48
|
const f = AffineConstructor.random();
|
|
46
49
|
const a = f.a;
|
|
47
50
|
const b = f.b;
|
|
48
|
-
const identifiers = { a, b };
|
|
51
|
+
const identifiers = { a, b, isCoeffFirst: coinFlip() };
|
|
49
52
|
return getQuestionFromIdentifiers(identifiers);
|
|
50
53
|
};
|
|
51
54
|
const getQuestionFromIdentifiers = (identifiers) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leadingCoeffAndOriginOrdinate.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"leadingCoeffAndOriginOrdinate.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/affines/leadingCoeffAndOriginOrdinate.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAcT,MAAM,6BAA6B,CAAC;AAOrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AA+FF,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAAW,CAkB/D,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { addValidProp, shuffleProps, tryToAddWrongProp, } from "../../../../exercises/exercise.js";
|
|
2
2
|
import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQuestions.js";
|
|
3
|
+
import { numberVEA } from "../../../../exercises/vea/numberVEA.js";
|
|
3
4
|
import { Affine, AffineConstructor } from "../../../../math/polynomials/affine.js";
|
|
4
5
|
import { randint } from "../../../../math/utils/random/randint.js";
|
|
5
6
|
import { coinFlip } from "../../../../utils/alea/coinFlip.js";
|
|
@@ -75,7 +76,7 @@ const getPropositions = (n, { answer, a, b, isAskingA }) => {
|
|
|
75
76
|
return shuffleProps(propositions, n);
|
|
76
77
|
};
|
|
77
78
|
const isAnswerValid = (ans, { answer }) => {
|
|
78
|
-
return ans
|
|
79
|
+
return numberVEA(ans, answer);
|
|
79
80
|
};
|
|
80
81
|
export const leadingCoeffAndOriginOrdinate = {
|
|
81
82
|
id: "leadingCoeffAndOriginOrdinate",
|
|
@@ -58,7 +58,7 @@ const getHint = (identifiers) => {
|
|
|
58
58
|
default:
|
|
59
59
|
break;
|
|
60
60
|
}
|
|
61
|
-
return `
|
|
61
|
+
return `Combien de valeurs de $x$ ont pour image $0$ par $f$ ?`;
|
|
62
62
|
};
|
|
63
63
|
const getCorrection = (identifiers) => {
|
|
64
64
|
const { type, a, b, c, d } = identifiers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findZeroesProductQuotient.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/basics/findZeroesProductQuotient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAqCrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;
|
|
1
|
+
{"version":3,"file":"findZeroesProductQuotient.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/basics/findZeroesProductQuotient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAeT,MAAM,6BAA6B,CAAC;AAqCrC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AA6NF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAkB3D,CAAC"}
|
|
@@ -77,7 +77,13 @@ const getHint = (identifiers) => {
|
|
|
77
77
|
if (type === 1) {
|
|
78
78
|
return `Un quotient est nul lorsque son numérateur est nul, et son dénominateur non nul. Cherche donc les valeurs de $x$ qui rendent le numérateur nul, mais pas le dénominateur.`;
|
|
79
79
|
}
|
|
80
|
-
return `
|
|
80
|
+
return `Tu peux factoriser cette expression en utilisant l'identité remarquable :
|
|
81
|
+
|
|
82
|
+
$$
|
|
83
|
+
a^2 - b^2 = (a+b)(a-b)
|
|
84
|
+
$$
|
|
85
|
+
|
|
86
|
+
Puis, utilise le fait qu'un produit est nul si et seulement si au moins un des deux facteurs est nul.`;
|
|
81
87
|
};
|
|
82
88
|
const getCorrection = (identifiers) => {
|
|
83
89
|
const myFunc = buildFunc(identifiers);
|
|
@@ -124,11 +130,20 @@ $$
|
|
|
124
130
|
${answer}
|
|
125
131
|
$$`;
|
|
126
132
|
}
|
|
127
|
-
|
|
133
|
+
const sqrt = Math.sqrt(a);
|
|
134
|
+
return `On factorise en utilisant l'identité remarquable suivante :
|
|
135
|
+
|
|
136
|
+
$$
|
|
137
|
+
a^2 - b^2 = (a+b)(a-b)
|
|
138
|
+
$$
|
|
139
|
+
|
|
140
|
+
On a donc :
|
|
128
141
|
|
|
129
142
|
${alignTex([
|
|
130
143
|
["", buildFunc(identifiers).toTex() + "=0"],
|
|
131
|
-
["\\iff", `x^2
|
|
144
|
+
["\\iff", `x^2 - ${sqrt}^2 = 0`],
|
|
145
|
+
["\\iff", `\\left(x+${sqrt}\\right)\\left(x-${sqrt}\\right) = 0`],
|
|
146
|
+
["\\iff", `x=-${sqrt} \\text{ ou } x=${sqrt}`],
|
|
132
147
|
])}
|
|
133
148
|
|
|
134
149
|
Il y a donc deux solutions à cette équaton :
|
|
@@ -135,8 +135,8 @@ const getCorrection = (identifiers) => {
|
|
|
135
135
|
: "inférieure";
|
|
136
136
|
const word2 = isAskingSup
|
|
137
137
|
? isStrict
|
|
138
|
-
? "strictement au-
|
|
139
|
-
: "au-
|
|
138
|
+
? "strictement au-dessus"
|
|
139
|
+
: "au-dessus"
|
|
140
140
|
: isStrict
|
|
141
141
|
? "strictement en-dessous"
|
|
142
142
|
: "en-dessous";
|
|
@@ -48,7 +48,7 @@ const getInstruction = (identifiers) => {
|
|
|
48
48
|
const inequation = new InequationSymbol(inegalitySymbol);
|
|
49
49
|
const isStrict = inequation.isStrict;
|
|
50
50
|
const isAskingSup = inequation.isSup;
|
|
51
|
-
return `Ci-dessous est
|
|
51
|
+
return `Ci-dessous est tracée la courbe représentative d'une fonction $f$. Déterminer graphiquement les solutions de l'inéquation $f(x)${isAskingSup ? (isStrict ? ">" : "\\geq") : isStrict ? "<" : "\\leq"}${yValue}$`;
|
|
52
52
|
};
|
|
53
53
|
const getHint = (identifiers) => {
|
|
54
54
|
const { yValue, inegalitySymbol, a, b } = identifiers;
|
|
@@ -13,7 +13,7 @@ import { random } from "../../../../utils/alea/random.js";
|
|
|
13
13
|
import { unionIntervalParser } from "../../../../tree/parsers/unionIntervalParser.js";
|
|
14
14
|
import { handleVEAError } from "../../../../utils/errors/handleVEAError.js";
|
|
15
15
|
const getInstruction = (identifiers) => {
|
|
16
|
-
return `Déterminer graphiquement les solutions de l'inéquation $f(x) ${identifiers.ineqSymbol} g(x)$ où $f$ et $g$ sont les fonctions
|
|
16
|
+
return `Déterminer graphiquement les solutions de l'inéquation $f(x) ${identifiers.ineqSymbol} g(x)$ où $f$ et $g$ sont les fonctions dont les courbes représentatives sont données ci-dessous.`;
|
|
17
17
|
};
|
|
18
18
|
const getKeys = (identifiers) => {
|
|
19
19
|
return [
|
|
@@ -17,7 +17,7 @@ const getInstruction = (identifiers) => {
|
|
|
17
17
|
const upperBound = trigValues[upperBoundIndex];
|
|
18
18
|
const cosine = new MultiplyNode(k.toTree(), new CosNode(new VariableNode("x")));
|
|
19
19
|
const integral = new IntegralNode(cosine, lowerBound, upperBound, "x");
|
|
20
|
-
return `
|
|
20
|
+
return `Calculer la valeur de l'intégrale suivante :
|
|
21
21
|
|
|
22
22
|
$$
|
|
23
23
|
${integral.toTex()}
|
|
@@ -163,7 +163,7 @@ const getPropositions = (n, { answer }) => {
|
|
|
163
163
|
addValidProp(propositions, answer, "raw");
|
|
164
164
|
tryToAddWrongProp(propositions, "Paire", "raw");
|
|
165
165
|
tryToAddWrongProp(propositions, "Impaire", "raw");
|
|
166
|
-
tryToAddWrongProp(propositions, "Ni paire ni impaire", "raw");
|
|
166
|
+
tryToAddWrongProp(propositions, "Ni paire, ni impaire", "raw");
|
|
167
167
|
tryToAddWrongProp(propositions, "On ne peut pas savoir", "raw");
|
|
168
168
|
return shuffleProps(propositions, n);
|
|
169
169
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affineProductSignTable.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/sign/affineProductSignTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;CACvB,CAAC;
|
|
1
|
+
{"version":3,"file":"affineProductSignTable.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/sign/affineProductSignTable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAgBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;CACvB,CAAC;AAqNF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAiBxD,CAAC"}
|
|
@@ -56,7 +56,7 @@ const getInstruction = (identifiers) => {
|
|
|
56
56
|
const affine1 = AffineConstructor.fromCoeffs(identifiers.affine1Coeffs);
|
|
57
57
|
const affine2 = AffineConstructor.fromCoeffs(identifiers.affine2Coeffs);
|
|
58
58
|
const product = multiply(affine1.toTree(), affine2.toTree());
|
|
59
|
-
return `Compléter le tableau de signes suivant afin de déterminer le signe de la fonction $f$ définie par :
|
|
59
|
+
return `Compléter le tableau de signes suivant afin de déterminer le signe de la fonction $f$ définie sur $\\mathbb{R}$ par :
|
|
60
60
|
|
|
61
61
|
$$
|
|
62
62
|
f(x) = ${product.toTex()}
|
|
@@ -65,7 +65,9 @@ $$`;
|
|
|
65
65
|
const getHint = (identifiers) => {
|
|
66
66
|
const affine1 = AffineConstructor.fromCoeffs(identifiers.affine1Coeffs);
|
|
67
67
|
const affine2 = AffineConstructor.fromCoeffs(identifiers.affine2Coeffs);
|
|
68
|
-
return `
|
|
68
|
+
return `La fonction est définie sur $\\mathbb{R}$, donc les valeurs de $x$ vont de $-\\infty$ à $+\\infty$.
|
|
69
|
+
|
|
70
|
+
Résous ensuite les inéquations $${affine1.toTree().toTex()}>0$ et $${affine2
|
|
69
71
|
.toTree()
|
|
70
72
|
.toTex()}>0$.
|
|
71
73
|
|
|
@@ -53,7 +53,7 @@ const getInstruction = (identifiers) => {
|
|
|
53
53
|
const affine1 = AffineConstructor.fromCoeffs(identifiers.affine1Coeffs);
|
|
54
54
|
const affine2 = AffineConstructor.fromCoeffs(identifiers.affine2Coeffs);
|
|
55
55
|
const product = multiply(affine1.toTree(), affine2.toTree());
|
|
56
|
-
return `Compléter le tableau de signes suivant afin de déterminer le signe de la fonction $f$ définie par :
|
|
56
|
+
return `Compléter le tableau de signes suivant afin de déterminer le signe de la fonction $f$ définie sur $\\mathbb{R}$ par :
|
|
57
57
|
|
|
58
58
|
$$
|
|
59
59
|
f(x) = ${product.toTex()}
|