// Numbas version: exam_results_page_options {"name": "Find the axis of symmetry of a quadratic equation from a graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "

First, locate the vertex (h,k) of the quadratic function.

\n

Then, your axis of symmetry is written as the equation of the vertical line at the x-coordinate of the vertex, e.g. x=h.

", "statement": "

Write the equation for the axis of symmetry of the given graph.

\n

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

", "variable_groups": [], "extensions": ["geogebra"], "metadata": {"licence": "None specified", "description": "

Students will locate and write the equation for the axis of symmetry of a quardatic function from graph.

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "variables": {"defs": {"group": "Ungrouped variables", "templateType": "anything", "definition": "[\n ['a', a],\n ['h', h],\n ['k', k]\n]", "name": "defs", "description": ""}, "k": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-10..10)", "name": "k", "description": ""}, "vertex": {"group": "Ungrouped variables", "templateType": "anything", "definition": "vector(h,k)", "name": "vertex", "description": ""}, "a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-3..3#0.1)", "name": "a", "description": ""}, "h": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-10..10)", "name": "h", "description": ""}}, "name": "Find the axis of symmetry of a quadratic equation from a graph", "parts": [{"checkingType": "absdiff", "showCorrectAnswer": true, "checkingAccuracy": 0.001, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "type": "jme", "answer": "x={h}", "variableReplacements": [], "scripts": {}, "marks": 1, "unitTests": [], "prompt": "

The axis of symmetry is:

", "showPreview": true, "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "customMarkingAlgorithm": "", "expectedVariableNames": [], "vsetRangePoints": 5, "failureRate": 1}], "functions": {}, "tags": [], "rulesets": {}, "ungrouped_variables": ["a", "h", "k", "vertex", "defs"], "type": "question", "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}]}], "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}