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

Match up equations with the corresponding lines on a graph.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

{geogebra_applet('WuavQqEG',[[\"m1\",m1],[\"m2\",m2],[\"m3\",m3],[\"c1\",c1],[\"c2\",c2],[\"c3\",c3],[\"c4\",c4],[\"c5\",c5],[\"f1\",f1],[\"d1\",d1],[\"a1\",a1],[\"b1\",b1]])}

\n

\n

", "advice": "

All but one of the straight lines above follow the general formula $y=mx+c$ where $m$ is a constant denoting the gradient of a line and $c$ is a constant denting the $y$-intercept of a line. 

\n

The gradient (given by $m$), indicates the slope of a straight line. Where this is positive, the $y$-coordinate along the line increases by $m$ for every increase in the value of $x$ by $1$. For example, $y=3x$ indicates that for every increase in the value of $x$ by $1$, the value of $y$ increases by $3$. Where there is no $m$ (i.e. $y=c$), the line is straight and horizontal as the value of $y$ has no dependence on the value of $x$.

\n

The $y$-intercept (given by $c$), indicates the point where the line passes through the $y$-axis. If the line equation has no $c$ (i.e. $y=mx$), the line has a $y$ intercept of $0$ (passing through the origin).

\n

We can use our knowledge of the slope of the line and the $y$-intercept to then judge which points on the graph correspond to which equations.

\n

A:

\n

$y=\\simplify{{m1}x+{c1}}$  gives us $m=\\var{m1}$ and $c=\\var{c1}$.

\n

B:

\n

$y=\\simplify{{m2}x+{c2}}$  gives us $m=\\var{m2}$ and $c=\\var{c2}$.

\n

C:

\n

$y=\\simplify{{m3}x+{c3}}$  gives us $m=\\var{m3}$ and $c=\\var{c3}$.

\n

D:

\n

$y=\\simplify{{c4}}$  gives us $m=0$ and $c=\\var{c1}$.

\n

E:

\n

$x=\\var{c5}$  is the exception to the $y=mx+c$ form of writing straight line equations. This equation gives a value for $x$ independent of the value of $y$ so a straight, vertical line is formed at the $x$-coordinate $\\var{c5}$.

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"c10": {"name": "c10", "group": "Point variables(removed)", "definition": "-30/m3", "description": "", "templateType": "anything", "can_override": false}, "m1": {"name": "m1", "group": "Gradient", "definition": "random(1..2#0.1)", "description": "", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "Point variables(removed)", "definition": "-40", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "intercept", "definition": "random(15..20)", "description": "", "templateType": "anything", "can_override": false}, "cfake": {"name": "cfake", "group": "intercept", "definition": "random(-8..-3)", "description": "", "templateType": "anything", "can_override": false}, "m2": {"name": "m2", "group": "Gradient", "definition": "m1", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "intercept", "definition": "random(-10..-5)", "description": "", "templateType": "anything", "can_override": false}, "m3": {"name": "m3", "group": "Gradient", "definition": "random(-2..-1#0.1)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Point variables(removed)", "definition": "30", "description": "", "templateType": "anything", "can_override": false}, "c3": {"name": "c3", "group": "intercept", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "c4": {"name": "c4", "group": "intercept", "definition": "random(3..6)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Point variables(removed)", "definition": "25", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Point variables(removed)", "definition": "60", "description": "", "templateType": "anything", "can_override": false}, "cpar": {"name": "cpar", "group": "intercept", "definition": "random(500..750)", "description": "", "templateType": "anything", "can_override": false}, "mfake": {"name": "mfake", "group": "Gradient", "definition": "random(-4..-1)", "description": "", "templateType": "anything", "can_override": false}, "c5": {"name": "c5", "group": "intercept", "definition": "random(14..17)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Gradient", "variables": ["m1", "m2", "m3", "mfake"]}, {"name": "intercept", "variables": ["c1", "c2", "c3", "c4", "c5", "cfake", "cpar"]}, {"name": "Point variables(removed)", "variables": ["a1", "b1", "c10", "d1", "f1"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "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": "

Bruk figuren ovenfor til å kople korrekt likning til korrekt graf.

\n

", "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["

$y=\\simplify{{m1}x+{c1}}$

", "

$y=\\simplify{{m2}x+{c2}}$

", "

$y=\\simplify{{m3}x+{c3}}$

", "

$y=\\var{c4}$

", "

$x=\\var{c5}$

", "

$y=\\simplify{{mfake}x+{cfake}}$

"], "matrix": [["1", 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0], [0, 0, "1", 0, 0, 0], [0, 0, 0, "1", 0, 0], [0, 0, 0, 0, "1", 0], [0, 0, 0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["

$A_0$

", "

$B_0$

", "

$C_0$

", "

$D_0$

", "

$E_0$

", "Ingen av disse "]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}]}], "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}