// Numbas version: finer_feedback_settings {"name": "PreCal Given directrix y=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": [{"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^2", "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 directrix y=p and vertex(0,0) write equation of parabola", "statement": "

GIVEN:  Vertex at $(0,0)$ and directrix $ y = \\var{directrix} $

\n

FIND:  The equation of the parabola in standard form

", "advice": "", "tags": [], "ungrouped_variables": ["directrix", "p", "a"], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"description": "", "name": "a", "definition": "rational_approximation(1/(4*p))", "group": "Ungrouped variables", "templateType": "anything"}, "directrix": {"description": "", "name": "directrix", "definition": "random(-10..10 except 0)", "group": "Ungrouped variables", "templateType": "anything"}, "p": {"description": "", "name": "p", "definition": "-directrix", "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/"}]}