// Numbas version: exam_results_page_options {"name": "Algebra: solving a (quadratic) function graphically", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Algebra: solving a (quadratic) function graphically", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

A (quadratic) function is skethed sketched. Three equations are given that can be solved using the graph. There is a chance there will only be one solution.

"}, "variables": {"a": {"name": "a", "group": "part a", "description": "", "templateType": "anything", "definition": "random(1..5)"}, "y": {"name": "y", "group": "part a", "description": "", "templateType": "anything", "definition": "[-b,-b+1,-b+4,-b+9]"}, "b": {"name": "b", "group": "part a", "description": "", "templateType": "anything", "definition": "random(1..3)"}, "x": {"name": "x", "group": "part a", "description": "", "templateType": "anything", "definition": "[ matrix([-a]),\n matrix([[-1-a],[1-a]]),\n matrix([[-2-a],[2-a]]),\n matrix([[-3-a],[3-a]])\n]"}, "rand": {"name": "rand", "group": "part a", "description": "", "templateType": "anything", "definition": "shuffle(0..3)"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "advice": "

See 5.3 and 5.5 for background on functions. See earlier lectures for meaning of equations and solving of equations.

", "parts": [{"extendBaseMarkingAlgorithm": true, "type": "gapfill", "showCorrectAnswer": true, "unitTests": [], "prompt": "

Below is the graph of the function \$h\$.

\n

{plot(a,b)}

\n

\n

Use the graph to solve the following equations. If there is more than one answer, increase the number of rows and enter the answers in ascending order.

\n

\n

\$h(a)=\\var{y[rand[0]]}\$

\n

[[0]]

\n

\n

\n

\$h(b)=\\var{y[rand[1]]}\$

\n

[[1]]

\n

\n

\n

\$h(c)=\\var{y[rand[2]]}\$

\n

[[2]]

\n