// Numbas version: finer_feedback_settings {"name": "PreCal Given Vertex and Focus find equation of parabola in vertex form Vertical from GRAPH", "extensions": ["geogebra"], "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": ["h", "p", "k", "a", "xFocus", "yFocus", "V"], "functions": {}, "name": "PreCal Given Vertex and Focus find equation of parabola in vertex form Vertical from GRAPH", "advice": "", "metadata": {"licence": "All rights reserved", "description": ""}, "extensions": ["geogebra"], "variables": {"p": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "k": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "h": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "V": {"definition": "vector(h,k)", "templateType": "anything", "group": "Ungrouped variables", "name": "V", "description": ""}, "yFocus": {"definition": "k+p", "templateType": "anything", "group": "Ungrouped variables", "name": "yFocus", "description": ""}, "a": {"definition": "rational_approximation(1/(4*p))", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "xFocus": {"definition": "h", "templateType": "anything", "group": "Ungrouped variables", "name": "xFocus", "description": ""}}, "parts": [{"customName": "", "unitTests": [], "gaps": [{"showFeedbackIcon": true, "type": "jme", "showPreview": true, "vsetRangePoints": 5, "variableReplacements": [], "checkVariableNames": false, "failureRate": 1, "customName": "", "answer": "{a[0]}/{a[1]}(x-{h})^2+{k}", "showCorrectAnswer": true, "unitTests": [], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "valuegenerators": [{"value": "", "name": "x"}], "useCustomName": false, "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0.001, "marks": 1, "scripts": {}}], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "prompt": "
$y = $[[0]]
", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "type": "gapfill", "variableReplacements": [], "adaptiveMarkingPenalty": 0, "marks": 0, "scripts": {}, "showCorrectAnswer": true}], "statement": "GIVEN: {geogebra_applet('t8hqvu7b',[ ['V',v], ['p',p] ])}
\nFIND: The equation of the parabola in vertex form (enter your value of a as a fraction)
", "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/"}]}