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