math-exercises 2.1.12 → 2.1.14

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.
@@ -46,7 +46,7 @@ const isAnswerValid = (ans, { a, b }) => {
46
46
  exports.firstDegreeEquation = {
47
47
  id: "firstDegreeEquation",
48
48
  connector: "=",
49
- label: "Résoudre une équation du premier degré du type $\\frac{a}{x} = b$",
49
+ label: "Résoudre une équation du type $\\frac{a}{x} = b$",
50
50
  levels: ["2nde", "1reESM", "1reSpé"],
51
51
  sections: ["Équations", "Fonction inverse", "Fonctions de référence"],
52
52
  isSingleStep: false,
@@ -5,6 +5,7 @@ export * from "./equationType3Exercise";
5
5
  export * from "./equationType4Exercise";
6
6
  export * from "./fractionEquation";
7
7
  export * from "./multiplicationEquation";
8
+ export * from "./firstDegreeEquation";
8
9
  export * from "./firstDegreeEquationIntType1";
9
10
  export * from "./firstDegreeEquationIntType2";
10
11
  export * from "./firstDegreeEquationIntType3";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/calculLitteral/equation/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC"}
@@ -21,6 +21,7 @@ __exportStar(require("./equationType3Exercise"), exports);
21
21
  __exportStar(require("./equationType4Exercise"), exports);
22
22
  __exportStar(require("./fractionEquation"), exports);
23
23
  __exportStar(require("./multiplicationEquation"), exports);
24
+ __exportStar(require("./firstDegreeEquation"), exports);
24
25
  __exportStar(require("./firstDegreeEquationIntType1"), exports);
25
26
  __exportStar(require("./firstDegreeEquationIntType2"), exports);
26
27
  __exportStar(require("./firstDegreeEquationIntType3"), exports);
@@ -66,7 +66,7 @@ const isAnswerValid = (ans, { answer, affinecoeffs }) => {
66
66
  };
67
67
  exports.cosSecondDegreeDerivative = {
68
68
  id: "cosSecondDegreeDerivative",
69
- label: "Dérivée seconde de cos(u)",
69
+ label: "Dérivée seconde de $\\cos(u)$",
70
70
  levels: ["TermSpé"],
71
71
  isSingleStep: true,
72
72
  sections: ["Dérivation"],
@@ -1 +1 @@
1
- {"version":3,"file":"convexityQuadrinomialsGeo.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAoBlC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AA0LF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAc3D,CAAC"}
1
+ {"version":3,"file":"convexityQuadrinomialsGeo.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/geometry/convexity/convexityQuadrinomialsGeo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAST,MAAM,0BAA0B,CAAC;AAoBlC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AA0LF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,WAAW,CAa3D,CAAC"}
@@ -122,7 +122,6 @@ exports.convexityQuadrinomialsGeo = {
122
122
  qcmTimer: 60,
123
123
  freeTimer: 60,
124
124
  getPropositions,
125
- answerType: "QCM",
126
125
  isAnswerValid,
127
126
  subject: "Mathématiques",
128
127
  };
package/lib/index.d.ts CHANGED
@@ -174,6 +174,9 @@ declare const mathExercises: (import("./exercises/exercise").Exercise<{
174
174
  b: number;
175
175
  c: number;
176
176
  d: number;
177
+ }> | import("./exercises/exercise").Exercise<{
178
+ a: number;
179
+ b: number;
177
180
  }> | import("./exercises/exercise").Exercise<{
178
181
  a: number;
179
182
  b: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,EAAE,MAAM,aAAa,CAAC;QAC5B,SAAS,EAAE,MAAM,MAAM,CAAC;QACxB,YAAY,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,aAAa,CAAC;KACpD;CACF;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BE;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA6B,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-exercises",
3
- "version": "2.1.12",
3
+ "version": "2.1.14",
4
4
  "description": "Math exercises generator for middle school and high school",
5
5
  "main": "lib/index.js",
6
6
  "files": [