// Numbas version: exam_results_page_options {"name": "Slope of a curve at a point", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "statement": "

Calculate the slope of the curve

\n

\\(f(x)=\\var{a}x^3-\\var{b}x^2+\\var{c}x+\\var{d}\\)

\n

at the point where \\(x=\\var{f}\\). 

", "tags": [], "ungrouped_variables": ["a", "b", "c", "d", "f"], "parts": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "prompt": "

Input your answer correct to one decimal place.

\n

\\(slope = \\) [[0]]

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "precisionMessage": "You have not given your answer to the correct precision.", "showPrecisionHint": false, "correctAnswerFraction": false, "minValue": "3*{a}*{f}^2-2*{b}*{f}+{c}", "precisionPartialCredit": 0, "type": "numberentry", "precisionType": "dp", "variableReplacements": [], "scripts": {}, "marks": 1, "unitTests": [], "precision": "1", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "mustBeReducedPC": 0, "strictPrecision": false, "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "maxValue": "3*{a}*{f}^2-2*{b}*{f}+{c}", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "mustBeReduced": false, "allowFractions": false}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "variableReplacements": [], "scripts": {}}], "functions": {}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Slope of a curve at a point

"}, "advice": "

\\(f(x)=\\var{a}x^3-\\var{b}x^2+\\var{c}x+\\var{d}\\)

\n

The equation for the slope of a curve is found by differentiating the function.

\n

\\(\\frac{df}{dx}=3*\\var{a}x^2-2*\\var{b}x+\\var{c}\\)

\n

To find the slope at a particular point we simply insert the x-coordinate value into this equation.

\n

Slope = \\(3*\\var{a}*\\var{f}^2-2*\\var{b}*\\var{f}+\\var{c}\\)

\n

Slope = \\(\\simplify{3*{a}*{f}^2-2*{b}*{f}+{c}}\\)

", "type": "question", "variables": {"c": {"group": "Ungrouped variables", "description": "", "definition": "random(5..12#1)", "name": "c", "templateType": "randrange"}, "f": {"group": "Ungrouped variables", "description": "", "definition": "random(0..4#1)", "name": "f", "templateType": "randrange"}, "b": {"group": "Ungrouped variables", "description": "", "definition": "random(2..10#1)", "name": "b", "templateType": "randrange"}, "a": {"group": "Ungrouped variables", "description": "", "definition": "random(2..6#1)", "name": "a", "templateType": "randrange"}, "d": {"group": "Ungrouped variables", "description": "", "definition": "random(10..20#1)", "name": "d", "templateType": "randrange"}}, "rulesets": {}, "extensions": [], "name": "Slope of a curve at a point", "variablesTest": {"condition": "", "maxRuns": 100}, "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}