// Numbas version: exam_results_page_options {"name": "Write the equation of the quadratic function graphed below.", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"css": "", "js": ""}, "rulesets": {}, "variable_groups": [], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "Write the equation of the quadratic function graphed below.", "variables": {"h": {"templateType": "anything", "group": "Ungrouped variables", "description": "

x-coordinate of the vertex

", "definition": "random(-10..10)", "name": "h"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "description": "

The leading coefficient of the quadratic function.

", "definition": "random(-1..1#0.5 except 0)", "name": "a"}, "defs": {"templateType": "anything", "group": "Ungrouped variables", "description": "

sent to the geogebra applet

", "definition": "[\n ['a',a],\n ['h',h],\n ['k',k]\n]", "name": "defs"}, "k": {"templateType": "anything", "group": "Ungrouped variables", "description": "

y-coordinate of the vertex

", "definition": "random(-10..10)", "name": "k"}}, "metadata": {"licence": "None specified", "description": "

Students will analyze the graph of a quadratic function, and then write the equation in either Standard Form or Vertex Form.

"}, "functions": {}, "advice": "

First, identify the vertex ( the maximum or minimum point on the graph).

\n

Then, note any stretching factor, as this will be the leading coefficient in your equation.

\n

You can first write the vertex form of the equation as:

\n

$y=a(x-h)^2+k$, where $a$ is the leading coefficient, and $(h,k)$ is the location of the vertex.

", "statement": "

Write the equation of the quadratic function graphed below?

\n

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

\n

\n

\n

", "extensions": ["geogebra"], "parts": [{"showPreview": true, "marks": 1, "vsetRange": [0, 1], "type": "jme", "variableReplacements": [], "scripts": {}, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingType": "absdiff", "vsetRangePoints": 5, "unitTests": [], "answer": "y={a}(x-{h})^2+{k}", "showCorrectAnswer": true, "prompt": "

The equation is:

", "showFeedbackIcon": true, "checkVariableNames": false, "customMarkingAlgorithm": "", "failureRate": 1, "extendBaseMarkingAlgorithm": true, "checkingAccuracy": 0.001}], "ungrouped_variables": ["a", "h", "k", "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/"}]}