// Numbas version: exam_results_page_options {"name": "Differentiation: estimate a rate of change - NO CALCULUS REQUIRED", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Differentiation: estimate a rate of change - NO CALCULUS REQUIRED", "tags": [], "metadata": {"description": "

Using geogebra to draw lines tangent to a curve and calculate their gradient.

", "licence": "None specified"}, "statement": "

Place the straight line so it is tangent to the curve at $x = \\var{px}$

\n

You can zoom and pan the image if you wish

", "advice": "

The rate of change of a function is described by the gradient of the function at a point.

\n

We can estimate the gradient of the function at a point by drawing a tangent line and calculating the gradient of the function.  

\n

Remember the formula for gradient is \"rise over run\", i.e.

\n

gradient $= \\frac{x_2 - x_1}{y_2 - y_1}$
$= \\frac{\\var{bx} - \\var{ax}}{\\var{by} - \\var{ay}} = \\var{precround((bx-ax)/(by-ay),2)} \\text{ to 2dp}$

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-4..4 #0.5)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-4..4 #0.5)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "uod": {"name": "uod", "group": "Ungrouped variables", "definition": "if(a=1,\"upwards\",\"downwards\")", "description": "", "templateType": "anything", "can_override": false}, "pon": {"name": "pon", "group": "Ungrouped variables", "definition": "if(a=1,\"positive\",\"negative\")", "description": "", "templateType": "anything", "can_override": false}, "ax": {"name": "ax", "group": "Ungrouped variables", "definition": "random(0..1)", "description": "", "templateType": "anything", "can_override": false}, "bx": {"name": "bx", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "ay": {"name": "ay", "group": "Ungrouped variables", "definition": "random(0..1)", "description": "", "templateType": "anything", "can_override": false}, "by": {"name": "by", "group": "Ungrouped variables", "definition": "random(3..4)\n", "description": "", "templateType": "anything", "can_override": false}, "rate_quad": {"name": "rate_quad", "group": "Ungrouped variables", "definition": "(a)*(2*px - b - c)", "description": "", "templateType": "anything", "can_override": false}, "px": {"name": "px", "group": "Ungrouped variables", "definition": "random(b-1..c+1)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-1..1 #0.1)", "description": "", "templateType": "anything", "can_override": false}, "type": {"name": "type", "group": "Ungrouped variables", "definition": "random(1,2)", "description": "", "templateType": "anything", "can_override": false}, "app": {"name": "app", "group": "Ungrouped variables", "definition": "geogebra_applet(\n app_type,\n [\n a: [\n definition: a,\n label_visible: false\n ],\n \n b: [\n definition: b,\n label_visible: false\n ],\n c : [\n definition: c,\n label_visible: false\n ],\n d: [\n definition: d,\n label_visible: false\n ],\n wy: [\n definition: ay,\n label_visible: false\n ], \n wx: [\n definition: ax,\n label_visible: false\n ],\n zy: [\n definition: by,\n label_visible: false\n ], \n zx: [\n definition: bx,\n label_visible: false\n ] \n])", "description": "", "templateType": "anything", "can_override": false}, "rate": {"name": "rate", "group": "Ungrouped variables", "definition": "if(type=1,rate_exp,rate_quad)", "description": "", "templateType": "anything", "can_override": false}, "rate_exp": {"name": "rate_exp", "group": "Ungrouped variables", "definition": "(a)*d*exp(d*px)", "description": "", "templateType": "anything", "can_override": false}, "app_type": {"name": "app_type", "group": "Ungrouped variables", "definition": "if(type=1,'https://www.geogebra.org/geometry/wdeq3e5e','https://www.geogebra.org/geometry/zkmvuzux')", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "abs(b-c)<6 & 0.5< abs(rate)<8 ", "maxRuns": 100}, "ungrouped_variables": ["b", "c", "a", "uod", "pon", "ax", "bx", "ay", "by", "rate_quad", "px", "d", "type", "app", "rate", "rate_exp", "app_type"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "extension", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "wx:\n value(app,\"wx\")\n\nwy:\n value(app,\"wy\")\n\nzx:\n value(app,\"zx\")\n\nzy:\n value(app,\"zy\")\n\nmark:\n correctif(0.7*rate<(wy-zy)/(wx-zx)<1.4*rate)\n\ninterpreted_answer:\n (wy-zy)/(wx-zx)\n", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

{app}

"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "rate", "part": "p0", "must_go_first": true}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": "1", "exploreObjective": null, "prompt": "

Estimate the rate of change of the function at the point $x = \\var{px}$

", "minValue": "0.7*rate", "maxValue": "1.3*rate", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}