// Numbas version: exam_results_page_options {"name": "identify the hyperbola 2", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "identify the hyperbola 2", "tags": [], "metadata": {"description": "

Students are given a hyperbolic graph and asked to select the correct equation from 4 choices.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Select the correct equation.

", "advice": "

The hyperbola has an asymptote at $\\var{c}$, so $c=\\var{c}$

\n

The hyperbola has a branch in the top {location} so $a$ must be {posneg}.

\n

Therefore the equation of the hyperbola is $y=\\frac{\\var{a}}{x} \\var{csgn} \\var{c}$.

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-5,-4,-3,-2,-1,1,2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3,-2,-1,1,2,3)", "description": "", "templateType": "anything", "can_override": false}, "negsgn": {"name": "negsgn", "group": "Ungrouped variables", "definition": "['-','','']", "description": "", "templateType": "anything", "can_override": false}, "defs1": {"name": "defs1", "group": "Ungrouped variables", "definition": "[\n ['a',a],['c',c]\n ]", "description": "", "templateType": "anything", "can_override": false}, "possgn": {"name": "possgn", "group": "Ungrouped variables", "definition": "['','','+']", "description": "", "templateType": "anything", "can_override": false}, "csgn": {"name": "csgn", "group": "Ungrouped variables", "definition": "possgn[sgn(c)+1]", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "c*(-1)", "description": "", "templateType": "anything", "can_override": false}, "c2sgn": {"name": "c2sgn", "group": "Ungrouped variables", "definition": "possgn[sgn(c2)+1]", "description": "", "templateType": "anything", "can_override": false}, "locationoptions": {"name": "locationoptions", "group": "Ungrouped variables", "definition": "['left','','right']", "description": "", "templateType": "anything", "can_override": false}, "location": {"name": "location", "group": "Ungrouped variables", "definition": "locationoptions[sgn(a)+1]", "description": "", "templateType": "anything", "can_override": false}, "posnegoptions": {"name": "posnegoptions", "group": "Ungrouped variables", "definition": "['negative','','positive']", "description": "", "templateType": "anything", "can_override": false}, "posneg": {"name": "posneg", "group": "Ungrouped variables", "definition": "posnegoptions[sgn(a)+1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "negsgn", "defs1", "possgn", "csgn", "c2", "c2sgn", "locationoptions", "location", "posnegoptions", "posneg"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Select the equation that represents this graph.

\n
{geogebra_applet('https://www.geogebra.org/m/rpahpr69',defs1)}
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$y=\\frac{\\var{a}}{x} \\var{csgn} \\var{c}$", "$y=\\frac{\\var{a*(-1)}}{x} \\var{csgn} \\var{c}$", "$y=\\frac{\\var{a}}{x} \\var{c2sgn} \\var{c2}$", "$y=\\frac{\\var{a*(-1)}}{x} \\var{c2sgn} \\var{c2}$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}