// Numbas version: finer_feedback_settings {"name": "PreCal Given the Focus and Directrix write the Equation of Parabola Vertical", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "rulesets": {}, "functions": {}, "preamble": {"css": "", "js": ""}, "metadata": {"description": "", "licence": "All rights reserved"}, "parts": [{"scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "useCustomName": false, "type": "gapfill", "extendBaseMarkingAlgorithm": true, "unitTests": [], "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "customMarkingAlgorithm": "", "gaps": [{"scripts": {}, "showCorrectAnswer": true, "useCustomName": false, "answer": "{a[0]}/{a[1]}(x-{h})^2+{k}", "showPreview": true, "failureRate": 1, "variableReplacementStrategy": "originalfirst", "marks": 1, "adaptiveMarkingPenalty": 0, "checkVariableNames": false, "vsetRange": [0, 1], "variableReplacements": [], "vsetRangePoints": 5, "type": "jme", "checkingAccuracy": 0.001, "unitTests": [], "checkingType": "absdiff", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "customName": "", "valuegenerators": [{"name": "x", "value": ""}]}], "showFeedbackIcon": true, "marks": 0, "prompt": "
$y = $[[0]]
", "adaptiveMarkingPenalty": 0, "customName": ""}], "extensions": [], "name": "PreCal Given the Focus and Directrix write the Equation of Parabola Vertical", "statement": "GIVEN: A parabola with focus $(\\var{xFocus},\\var{yFocus})$ and directrix $y=\\var{directrix}$
\nFIND: The equation of the parabola in vertex form
", "advice": "", "tags": [], "ungrouped_variables": ["h", "k", "p", "directrix", "a", "xFocus", "yFocus"], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"yFocus": {"description": "", "name": "yFocus", "definition": "k+p", "group": "Ungrouped variables", "templateType": "anything"}, "h": {"description": "", "name": "h", "definition": "random(-10..10#0.1)", "group": "Ungrouped variables", "templateType": "anything"}, "k": {"description": "", "name": "k", "definition": "random(-10..10#0.1)", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"description": "", "name": "a", "definition": "rational_approximation(1/(4*p))", "group": "Ungrouped variables", "templateType": "anything"}, "directrix": {"description": "", "name": "directrix", "definition": "k-p", "group": "Ungrouped variables", "templateType": "anything"}, "xFocus": {"description": "", "name": "xFocus", "definition": "h", "group": "Ungrouped variables", "templateType": "anything"}, "p": {"description": "", "name": "p", "definition": "random(-10..10#0.05)", "group": "Ungrouped variables", "templateType": "anything"}}, "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/"}]}