// Numbas version: finer_feedback_settings {"name": "Polynomial Graph 1", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Polynomial Graph 1", "tags": [], "metadata": {"description": "
This uses an embedded Geogebra graph of a cubic polynomial with random coefficients set by NUMBAS. Student has to decide what kind of map it represents and whether an inverse function exists.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Select the true statements about the following graph.
\n{geogebra_applet('https://ggbm.at/aXxv2ECN', defs, [])}
", "advice": "This is a function. The graph passes the vertical line test, because a vertical line would touch only one point on the curve. That means each input ($x$-axis, domain) goes to one output ($y$-axis, range).
\nThis is a many-to-one map. Some of the range values can be obtained from different domain values.
\nThis function does not have an inverse function. The graph fails the horizontal line test, because a horizontal line would make contact with more than one point on the curve.
", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-3..3#0.5)", "description": "", "templateType": "anything", "can_override": false}, "y2": {"name": "y2", "group": "Ungrouped variables", "definition": "n*((-b)^3)/3 + 0.5*(a+b)*(-b)^2+(a*b)*(-b)+c", "description": "y2
", "templateType": "anything", "can_override": false}, "D": {"name": "D", "group": "Ungrouped variables", "definition": "(a+b)^2 - 4*a*b*n", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-3..3#0.5)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',a],\n ['b',b],\n ['c',c],\n ['n',n]\n]", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3..3#0.5)", "description": "", "templateType": "anything", "can_override": false}, "y1": {"name": "y1", "group": "Ungrouped variables", "definition": "n*((-a)^3)/3 + 0.5*(a+b)*(-a)^2+(a*b)*(-a)+c", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "a<>b and abs(b-a)>1 and abs(y1)<10 and abs(y2)<10 and D>0", "maxRuns": "200"}, "ungrouped_variables": ["a", "b", "c", "defs", "D", "n", "y1", "y2"], "variable_groups": [], "functions": {"graph": {"parameters": [], "type": "html", "language": "jme", "definition": "geogebra_applet('https://ggbm.at/aXxv2ECN', defs, [])"}}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_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": "One-to-one map
", "Many-to-one map
", "One-to-many map
", "This graph is a function.
", "This graph is not a function.
", "Inverse function exists.
", "Inverse function does not exist.
"], "matrix": ["-1", "1", "-1", "1", "-1", "-1", "1"], "distractors": ["", "", "", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}]}]}], "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}]}