// Numbas version: finer_feedback_settings {"name": "Gjennomsnittlige VF", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Gjennomsnittlige VF", "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

En funksjon $f$ er gitt ved $f(x)=\\simplify{x^2+{b}*x+{c}}$. 

\n

{geogebra_applet('https://www.geogebra.org/m/j7qmetrb',defs)}

", "advice": "

Den gjennomsnittlige vekstfarten for $f$ når $x$ vokser fra $x=\\var{x1}$ til $x=\\var{x2}$ blir

\n

$\\dfrac{\\Delta y}{\\Delta x}=\\dfrac{f(\\var{x2}-f(\\var{x1})}{\\var{x2}-\\var{x1}}=\\dfrac{(\\var{x2}^2+\\var{b}\\cdot\\var{x2}+\\var{c})-(\\var{x1}^2+\\var{b}\\cdot\\var{x1}+\\var{c})}{\\var{x2-x1}}=\\dfrac{\\var{x2^2+b*x2+c}-\\var{x1^2+b*x1+c}}{\\var{x2-x1}}=\\dfrac{\\var{x2^2+b*x2+c-x1^2+b*x1+c}}{\\var{x2-x1}}=\\var{(x2^2+b*x2+c-x1^2+b*x1+c)/(x2-x1)}$

", "rulesets": {}, "extensions": ["geogebra"], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-5..5)", "description": "", "templateType": "anything"}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "random(2..3)", "description": "", "templateType": "anything"}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "random(4..6)", "description": "", "templateType": "anything"}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[['b',b],['c',c],['x1',x1],['x2',x2]]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["b", "c", "x1", "x2", "defs"], "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, "exploreObjective": null, "prompt": "

Finn den gjennomsnittlige vekstfarten til $f$ når $x$ vokser fra $x=\\var{x1}$ til $x=\\var{x2}$

\n

$\\dfrac{\\Delta y}{\\Delta x}=$

", "answer": "{((x2^2+b*x2+c)-(x1^2+b*x1+c))/(x2-x1)}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Elena Malyutina", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7213/"}]}]}], "contributors": [{"name": "Elena Malyutina", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7213/"}]}