// Numbas version: exam_results_page_options {"name": "Stationary Points", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "c", "b", "r1", "r2", "an", "d", "ap", "xmin", "xmax"], "name": "Stationary Points", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

You will find advice for each task in the test.

", "rulesets": {"std": ["all", "fractionNumbers", "!noLeadingMinus", "!collectNumbers"]}, "parts": [{"stepsPenalty": 0, "prompt": "

$f(x)=\\simplify[all,!collectNumbers,!noleadingminus, fractionNumbers]{{a}x^3+{b}x^2-{c}x+{d}}$

\n

$f'(x)=$ [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

Use derivation rule $(x^n )'=n x^{n-1}$

\n

Use this link for more information.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "3*{a}x^2+2*{b}x-{c}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "

Determine where  $f'(x)$ has its maximum- and minimumpoint.

\n

Coordinate for maximumpoint: ( [[0]] , [[2]] )

\n

Coordinate for minimumpoint: ( [[1]] , [[3]] )

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

When vi derivate the function, we get $\\displaystyle f'(x)=\\simplify[std]{{3*a}x^2+{2*b}x-{c}}$.

\n

To find the stationary points, we have to solve  $\\displaystyle f'(x)=0$ for $x$, 

\n

$\\simplify[std]{{3*a}x^2+{2*b}x-{c}=0}$.

\n

This equation has two solutions; $x=\\var{r1}$ og $x=-\\var{r2}$. To classify the stationary points (maximumpoint, minimumpoint or saddle point) we make a sign table for the derivated function.

\n

To find out more, check out this movie:

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "xmin", "minValue": "xmin", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"allowFractions": true, "variableReplacements": [], "maxValue": "xmax", "minValue": "xmax", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"allowFractions": true, "variableReplacements": [], "maxValue": "a*xmin^3+b*xmin^2-c*xmin+d", "minValue": "a*xmin^3+b*xmin^2-c*xmin+d", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"allowFractions": true, "variableReplacements": [], "maxValue": "a*xmax^3+b*xmax^2-c*xmax+d", "minValue": "a*xmax^3+b*xmax^2-c*xmax+d", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Find the coordinates to the functions stationary points and determine if they are maximum points, minimum point og saddle points.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(-2..2 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "3*a*r1*r2", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "3*a*(r2-r1)/2", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "r1": {"definition": "random(1..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "r1", "description": ""}, "r2": {"definition": "random(0..1#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "r2", "description": ""}, "an": {"definition": "if(a<0,1,0)", "templateType": "anything", "group": "Ungrouped variables", "name": "an", "description": ""}, "ap": {"definition": "if(a<0,0,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "ap", "description": ""}, "xmax": {"definition": "an*r1-ap*r2", "templateType": "anything", "group": "Ungrouped variables", "name": "xmax", "description": ""}, "xmin": {"definition": "-an*r2+ap*r1", "templateType": "anything", "group": "Ungrouped variables", "name": "xmin", "description": ""}, "d": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}}, "metadata": {"description": "

Finding the stationary points of a cubic with two turning points

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Robert F\u00f8rland", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/827/"}]}]}], "contributors": [{"name": "Robert F\u00f8rland", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/827/"}]}