// Numbas version: finer_feedback_settings {"name": "PreCal Given Vertex and Focus find equation of parabola in vertex form Horizontal", "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": ["h", "p", "k", "a", "xFocus", "yFocus"], "functions": {}, "name": "PreCal Given Vertex and Focus find equation of parabola in vertex form Horizontal", "advice": "", "metadata": {"licence": "All rights reserved", "description": ""}, "extensions": [], "variables": {"h": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "a": {"definition": "rational_approximation(1/(4*p))", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "p": {"definition": "random(-10..10 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "yFocus": {"definition": "k", "templateType": "anything", "group": "Ungrouped variables", "name": "yFocus", "description": ""}, "k": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "xFocus": {"definition": "h+p", "templateType": "anything", "group": "Ungrouped variables", "name": "xFocus", "description": ""}}, "parts": [{"customName": "", "unitTests": [], "gaps": [{"showFeedbackIcon": true, "type": "jme", "showPreview": true, "vsetRangePoints": 5, "variableReplacements": [], "checkVariableNames": false, "failureRate": 1, "customName": "", "answer": "{a[0]}/{a[1]}(y-{k})^2+{h}", "showCorrectAnswer": true, "unitTests": [], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "valuegenerators": [{"value": "", "name": "y"}], "useCustomName": false, "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0.001, "marks": 1, "scripts": {}}], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "prompt": "
$x = $[[0]]
", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "gapfill", "variableReplacements": [], "adaptiveMarkingPenalty": 0, "marks": 0, "scripts": {}, "showCorrectAnswer": true}], "statement": "GIVEN: A parabola with vertex $(\\var{h},\\var{k})$ and focus at $(\\var{xFocus},\\var{yFocus})$
\nFIND: The equation of the parabola in vertex form (enter your value of a as a fraction)
", "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/"}]}