// Numbas version: exam_results_page_options {"name": "PreCal Write quadratic function in Vertex Form via Complete the Square", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "tags": [], "ungrouped_variables": ["A", "B", "C", "H", "K"], "functions": {}, "name": "PreCal Write quadratic function in Vertex Form via Complete the Square", "advice": "", "metadata": {"licence": "All rights reserved", "description": ""}, "extensions": [], "variables": {"K": {"definition": "rational_approximation(C-A*(B/2/A)^2)", "templateType": "anything", "group": "Ungrouped variables", "name": "K", "description": ""}, "C": {"definition": "random(-50..50 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "C", "description": ""}, "H": {"definition": "rational_approximation(-B/(2*A))", "templateType": "anything", "group": "Ungrouped variables", "name": "H", "description": ""}, "A": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "A", "description": ""}, "B": {"definition": "random(-20..20 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "B", "description": ""}}, "parts": [{"showFeedbackIcon": true, "type": "jme", "prompt": "

Write the quadratic function in vertex form by using the Complete the Square method.

\n

$f(x)=$

", "showPreview": true, "variableReplacements": [], "vsetRangePoints": 5, "failureRate": 1, "customName": "", "answer": "{A}*(x-{H[0]}/{H[1]})^2+{K[0]}/{K[1]}", "showCorrectAnswer": true, "unitTests": [], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "valuegenerators": [{"value": "", "name": "x"}], "useCustomName": false, "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0.001, "marks": 1, "scripts": {}, "checkVariableNames": false}, {"customName": "", "unitTests": [], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "prompt": "

What is the axis of symmetry for this function?

\n

Caution:  Your numerical portion of the answer must be entered as a fraction, so 3 is entered as 3/1

", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "patternmatch", "variableReplacements": [], "adaptiveMarkingPenalty": 0, "displayAnswer": "x={H[0]}/{H[1]}", "matchMode": "exact", "marks": 1, "scripts": {}, "answer": "x={H[0]}/{H[1]}", "showCorrectAnswer": true}, {"showFeedbackIcon": true, "type": "jme", "prompt": "

What is the coordinate for the vertex of this function?

\n

Your answer should be in the format: vector(h,k)

", "showPreview": true, "variableReplacements": [], "vsetRangePoints": 5, "failureRate": 1, "customName": "", "answer": "vector({H[0]}/{H[1]},{K[0]}/{K[1]})", "showCorrectAnswer": true, "unitTests": [], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "valuegenerators": [], "useCustomName": false, "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0.001, "marks": 1, "scripts": {}, "checkVariableNames": false}], "statement": "

GIVEN:  $f(x)=\\simplify{ {A}*x^2 + {B}*x +{C} }$

\n

\n

NOTE:  Each question part will require an answer written in fractional form.

", "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/"}]}