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