// Numbas version: finer_feedback_settings {"name": "Additions simples (ok)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Additions simples (ok)", "tags": [], "metadata": {"description": "

Dérivées d'additions et soustractions

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Calcule les dérivées suivantes.

\n

Multiplication : ...*...  [ex 2*3]
Puissance : ...^(...)   [ex x^(-3)]
Division : ... / ...   [ex 3/2]
racine carrée : sqrt(...)   [ex sqrt(x)]
racine cubique : ...^(1/3) [ ex x^(1/3) ]

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"r": {"name": "r", "group": "Ungrouped variables", "definition": "repeat(random(2..9),20)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "repeat(random(expression(\"sin(x)\"),expression(\"cos(x)\")),20) ", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "repeat(random(2..5),20)", "description": "", "templateType": "anything", "can_override": false}, "t'": {"name": "t'", "group": "Ungrouped variables", "definition": "map(diff(t[i], \"x\"), i, 0..len(t)-1)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "repeat(random(6..11),20)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["r", "t", "a", "t'", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

$\\left(\\var{a[0]}x+\\var{b[0]}\\right)'$

", "stepsPenalty": 0.6, "showStepsLabel": "Indices", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

L'opération principale est une addition.
Utilise la formule $(f+g)'=f'+g'$

"}, {"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Pour le premier terme, l'opération principale est une multiplication (par un nombre).
Utilise la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)

Pour le deuxième terme, c'est un nombre. Utilise la formule $(k)'=0$ (pour $k\\in\\mathbb{R}$)

"}], "answer": "{a[0]}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "valuegenerators": [], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

$\\left(\\dfrac{x^{\\var{r[0]}}}{\\var{a[1]}}+\\var{a[2]}\\var{t[0]}\\right)'$

", "stepsPenalty": 0.6, "showStepsLabel": "Indices", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

L'opération principale est une addition.
Utilise la formule $(f+g)'=f'+g'$

Le premier terme est de la forme $\\frac{x}{a}$.
(Méthode naïve : c'est une division, donc appliquer la formule $\\left(\\frac{f}{g}\\right)'=\\frac{f'g-fg'}{g^2}$)
Méthode conseillée : réécrire $\\frac{x}{a}$ comme $\\frac{1}{a}\\cdot x$ et appliquer la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)
Il reste $(x^\\var{r[0]})'$. Utilise la formule des puissances $(x^r)'=r\\cdot x^{r-1}$

Le deuxième terme est une multiplication par un nombre.
Utilise la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)
Il reste ensuite $(\\var{t[0]})'=\\var{t'[0]}$

"}], "answer": "{r[0]}/{a[1]}x^({r[0]}-1)+{a[2]}*{t'[0]}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

$\\left(\\var{a[3]}x^\\var{r[1]}+\\var{a[4]}\\sqrt{x}\\right)'$

", "stepsPenalty": 0.6, "showStepsLabel": "Indices", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

L'opération principale est une addition.
Utilise la formule $(f+g)'=f'+g'$

Pour le premier terme, l'opération principale est une multiplication par un nombre.
Applique la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)
Il reste $(x^\\var{r[0]})'$. Utilise la formule des puissances $(x^r)'=r\\cdot x^{r-1}$

Le deuxième terme est une multiplication par un nombre.
Utilise la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)
Il reste $(\\sqrt{x})'=\\frac{1}{2\\sqrt{x}}$

"}], "answer": "{a[3]}*{r[1]}*x^({r[1]}-1)+{a[4]}/(2*sqrt(x))", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

$\\left(\\dfrac{\\var{t[1]}}{\\var{a[6]}}+\\var{a[5]}x^\\var{r[2]}\\right)'$

", "stepsPenalty": 0.6, "showStepsLabel": "Indices", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

L'opération principale est une addition.
Utilise la formule $(f+g)'=f'+g'$

Pour le premier terme, l'opération principale est une multiplication par un nombre.
Applique la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)
Il reste $(x^\\var{r[0]})'$. Utilise la formule des puissances $(x^r)'=r\\cdot x^{r-1}$

Le deuxième terme est une multiplication par un nombre.
Utilise la formule $(k\\cdot f)'=k\\cdot f'$ (pour $k\\in\\mathbb{R}$)
Il reste $(\\sqrt{x})'=\\frac{1}{2\\sqrt{x}}$

"}], "answer": "{t'[1]}/{a[6]}+{a[5]}*{r[2]}*x^({r[2]}-1)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "Robin Lecocq", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38160/"}], "resources": []}]}], "contributors": [{"name": "Robin Lecocq", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38160/"}]}