// Numbas version: exam_results_page_options {"name": "PreCal Write the equation of an ellipse from its graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"a": {"templateType": "anything", "name": "a", "definition": "random(2..9)", "description": "", "group": "Ungrouped variables"}, "a2": {"templateType": "anything", "name": "a2", "definition": "a*a", "description": "", "group": "Ungrouped variables"}, "choicek": {"templateType": "anything", "name": "choicek", "definition": "(1+signk)/2", "description": "", "group": "Ungrouped variables"}, "C": {"templateType": "anything", "name": "C", "definition": "vector(random(-5..5 except 0),random(-5..5 except 0))", "description": "", "group": "Ungrouped variables"}, "hVal": {"templateType": "anything", "name": "hVal", "definition": "abs(C[0])", "description": "", "group": "Ungrouped variables"}, "b2": {"templateType": "anything", "name": "b2", "definition": "b*b", "description": "", "group": "Ungrouped variables"}, "signk": {"templateType": "anything", "name": "signk", "definition": "sign(C[1])", "description": "", "group": "Ungrouped variables"}, "operator": {"templateType": "anything", "name": "operator", "definition": "[\"+\",\"-\"]", "description": "", "group": "Ungrouped variables"}, "kVal": {"templateType": "anything", "name": "kVal", "definition": "abs(C[1])", "description": "", "group": "Ungrouped variables"}, "b": {"templateType": "anything", "name": "b", "definition": "random(2..9 except a)", "description": "", "group": "Ungrouped variables"}, "signh": {"templateType": "anything", "name": "signh", "definition": "sign(C[0])", "description": "", "group": "Ungrouped variables"}, "choiceh": {"templateType": "anything", "name": "choiceh", "definition": "(1+signh)/2", "description": "", "group": "Ungrouped variables"}}, "tags": [], "statement": "

GIVEN:  The ellipse shown below.

\n

{geogebra_applet('https://www.geogebra.org/m/watryunh',[ ['a',a], ['b',b], ['C',C] ])}

", "extensions": ["geogebra"], "functions": {}, "ungrouped_variables": ["C", "a", "b", "a2", "b2", "signh", "signk", "hVal", "kVal", "operator", "choiceh", "choicek"], "variable_groups": [], "rulesets": {}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "name": "PreCal Write the equation of an ellipse from its graph", "parts": [{"type": "patternmatch", "answer": "(x{operator[{choiceh}]}{hVal})^2/{a2}+(y{operator[{choicek}]}{kVal})^2/{b2}=1", "customName": "", "adaptiveMarkingPenalty": 0, "extendBaseMarkingAlgorithm": true, "matchMode": "exact", "displayAnswer": "(x{operator[{choiceh}]}{hVal})^2/{a2}+(y{operator[{choicek}]}{kVal})^2/{b2}=1", "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": "", "variableReplacements": [], "scripts": {}, "showFeedbackIcon": true, "prompt": "

Write the standard form equation of this ellipse.

", "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true}], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "advice": "", "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/"}]}