// Numbas version: finer_feedback_settings {"name": "PreCal Given directrix x=p and vertex(0,0) write equation of parabola", "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": ["directrix", "p", "a"], "functions": {}, "name": "PreCal Given directrix x=p and vertex(0,0) write equation of parabola", "advice": "", "metadata": {"licence": "All rights reserved", "description": ""}, "extensions": [], "variables": {"directrix": {"definition": "random(-10..10 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "directrix", "description": ""}, "p": {"definition": "-directrix", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "a": {"definition": "rational_approximation(1/(4*p))", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "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^2", "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: Vertex at $(0,0)$ and directrix $ x = \\var{directrix} $
\nFIND: The equation of the parabola in standard form
", "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/"}]}